From feab3917b734e7dbc63efd19579fff52a38e4811 Mon Sep 17 00:00:00 2001 From: mateuswetah Date: Thu, 4 Aug 2022 17:36:08 -0300 Subject: [PATCH] Latest updates pre first release. --- android/app/src/main/res/values/strings.xml | 2 +- ios/App/App/capacitor.config.json | 6 + ios/App/App/config.xml | 11 + ios/App/App/public/assets/icon/favicon.png | Bin 0 -> 930 bytes ios/App/App/public/assets/icon/icon.png | Bin 0 -> 23794 bytes ios/App/App/public/assets/shapes.svg | 1 + ios/App/App/public/cordova.js | 1689 +++++++++++++++++ ios/App/App/public/cordova_plugins.js | 20 + ios/App/App/public/css/app.908e70a8.css | 1 + ios/App/App/public/img/logo.c406a55a.png | Bin 0 -> 11817 bytes .../App/public/img/logo_square.e3a150ee.png | Bin 0 -> 42971 bytes ios/App/App/public/index.html | 1 + ios/App/App/public/js/168.c83a23ff.js | 5 + ios/App/App/public/js/168.c83a23ff.js.map | 1 + ios/App/App/public/js/338.fff3ebb3.js | 6 + ios/App/App/public/js/338.fff3ebb3.js.map | 1 + ios/App/App/public/js/544.94817512.js | 6 + ios/App/App/public/js/544.94817512.js.map | 1 + ios/App/App/public/js/576.a82798ee.js | 14 + ios/App/App/public/js/576.a82798ee.js.map | 1 + ios/App/App/public/js/753.17d4d392.js | 6 + ios/App/App/public/js/753.17d4d392.js.map | 1 + ios/App/App/public/js/775.c55644c6.js | 6 + ios/App/App/public/js/775.c55644c6.js.map | 1 + ios/App/App/public/js/78.51f18a44.js | 6 + ios/App/App/public/js/78.51f18a44.js.map | 1 + ios/App/App/public/js/880.e288775e.js | 14 + ios/App/App/public/js/880.e288775e.js.map | 1 + ios/App/App/public/js/961.2fab5ec9.js | 2 + ios/App/App/public/js/961.2fab5ec9.js.map | 1 + ios/App/App/public/js/990.cdf4956e.js | 6 + ios/App/App/public/js/990.cdf4956e.js.map | 1 + ios/App/App/public/js/app.ba3e8dbe.js | 2 + ios/App/App/public/js/app.ba3e8dbe.js.map | 1 + .../App/public/js/chunk-vendors.bd229e35.js | 206 ++ .../public/js/chunk-vendors.bd229e35.js.map | 1 + .../www/inappbrowser.js | 121 ++ .../CordovaPlugins.podspec | 16 + .../CordovaPluginsResources.podspec | 11 + .../CordovaPluginsStatic.podspec | 16 + .../resources/.gitkeep | 1 + .../sources/.gitkeep | 1 + .../CDVInAppBrowserNavigationController.h | 27 + .../CDVInAppBrowserNavigationController.m | 63 + .../CDVInAppBrowserOptions.h | 50 + .../CDVInAppBrowserOptions.m | 90 + .../CDVWKInAppBrowser.h | 80 + .../CDVWKInAppBrowser.m | 1291 +++++++++++++ .../CDVWKInAppBrowserUIDelegate.h | 32 + .../CDVWKInAppBrowserUIDelegate.m | 127 ++ src/pages/LoginPage.vue | 4 +- src/store/storeTainacan.ts | 11 +- 52 files changed, 3955 insertions(+), 8 deletions(-) create mode 100644 ios/App/App/capacitor.config.json create mode 100644 ios/App/App/config.xml create mode 100644 ios/App/App/public/assets/icon/favicon.png create mode 100644 ios/App/App/public/assets/icon/icon.png create mode 100644 ios/App/App/public/assets/shapes.svg create mode 100644 ios/App/App/public/cordova.js create mode 100644 ios/App/App/public/cordova_plugins.js create mode 100644 ios/App/App/public/css/app.908e70a8.css create mode 100644 ios/App/App/public/img/logo.c406a55a.png create mode 100644 ios/App/App/public/img/logo_square.e3a150ee.png create mode 100644 ios/App/App/public/index.html create mode 100644 ios/App/App/public/js/168.c83a23ff.js create mode 100644 ios/App/App/public/js/168.c83a23ff.js.map create mode 100644 ios/App/App/public/js/338.fff3ebb3.js create mode 100644 ios/App/App/public/js/338.fff3ebb3.js.map create mode 100644 ios/App/App/public/js/544.94817512.js create mode 100644 ios/App/App/public/js/544.94817512.js.map create mode 100644 ios/App/App/public/js/576.a82798ee.js create mode 100644 ios/App/App/public/js/576.a82798ee.js.map create mode 100644 ios/App/App/public/js/753.17d4d392.js create mode 100644 ios/App/App/public/js/753.17d4d392.js.map create mode 100644 ios/App/App/public/js/775.c55644c6.js create mode 100644 ios/App/App/public/js/775.c55644c6.js.map create mode 100644 ios/App/App/public/js/78.51f18a44.js create mode 100644 ios/App/App/public/js/78.51f18a44.js.map create mode 100644 ios/App/App/public/js/880.e288775e.js create mode 100644 ios/App/App/public/js/880.e288775e.js.map create mode 100644 ios/App/App/public/js/961.2fab5ec9.js create mode 100644 ios/App/App/public/js/961.2fab5ec9.js.map create mode 100644 ios/App/App/public/js/990.cdf4956e.js create mode 100644 ios/App/App/public/js/990.cdf4956e.js.map create mode 100644 ios/App/App/public/js/app.ba3e8dbe.js create mode 100644 ios/App/App/public/js/app.ba3e8dbe.js.map create mode 100644 ios/App/App/public/js/chunk-vendors.bd229e35.js create mode 100644 ios/App/App/public/js/chunk-vendors.bd229e35.js.map create mode 100644 ios/App/App/public/plugins/cordova-plugin-inappbrowser/www/inappbrowser.js create mode 100644 ios/capacitor-cordova-ios-plugins/CordovaPlugins.podspec create mode 100644 ios/capacitor-cordova-ios-plugins/CordovaPluginsResources.podspec create mode 100644 ios/capacitor-cordova-ios-plugins/CordovaPluginsStatic.podspec create mode 100644 ios/capacitor-cordova-ios-plugins/resources/.gitkeep create mode 100644 ios/capacitor-cordova-ios-plugins/sources/.gitkeep create mode 100644 ios/capacitor-cordova-ios-plugins/sources/CordovaPluginInappbrowser/CDVInAppBrowserNavigationController.h create mode 100644 ios/capacitor-cordova-ios-plugins/sources/CordovaPluginInappbrowser/CDVInAppBrowserNavigationController.m create mode 100644 ios/capacitor-cordova-ios-plugins/sources/CordovaPluginInappbrowser/CDVInAppBrowserOptions.h create mode 100644 ios/capacitor-cordova-ios-plugins/sources/CordovaPluginInappbrowser/CDVInAppBrowserOptions.m create mode 100644 ios/capacitor-cordova-ios-plugins/sources/CordovaPluginInappbrowser/CDVWKInAppBrowser.h create mode 100644 ios/capacitor-cordova-ios-plugins/sources/CordovaPluginInappbrowser/CDVWKInAppBrowser.m create mode 100644 ios/capacitor-cordova-ios-plugins/sources/CordovaPluginInappbrowser/CDVWKInAppBrowserUIDelegate.h create mode 100644 ios/capacitor-cordova-ios-plugins/sources/CordovaPluginInappbrowser/CDVWKInAppBrowserUIDelegate.m diff --git a/android/app/src/main/res/values/strings.xml b/android/app/src/main/res/values/strings.xml index edd1da5..d945243 100644 --- a/android/app/src/main/res/values/strings.xml +++ b/android/app/src/main/res/values/strings.xml @@ -1,6 +1,6 @@ - tainacan-mobile + Tainacan tainacan-mobile org.tainacan.mobileapp org.tainacan.mobileapp diff --git a/ios/App/App/capacitor.config.json b/ios/App/App/capacitor.config.json new file mode 100644 index 0000000..c943f0c --- /dev/null +++ b/ios/App/App/capacitor.config.json @@ -0,0 +1,6 @@ +{ + "appId": "org.tainacan.mobileapp", + "appName": "Tainacan", + "webDir": "dist", + "bundledWebRuntime": false +} diff --git a/ios/App/App/config.xml b/ios/App/App/config.xml new file mode 100644 index 0000000..13ab0ec --- /dev/null +++ b/ios/App/App/config.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/ios/App/App/public/assets/icon/favicon.png b/ios/App/App/public/assets/icon/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..51888a7bbdb59f04c29c548523eb2638c1c954f5 GIT binary patch literal 930 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I3?%1nZ+ru!x&nMcT-^(N+`Ik{1{5}NM-k9f zx+Ot=!3-}y{#<)Uok@}X^0T)Mjw~(h@l#Ir^NC7r=_#0-8E$a3RKVL~nc3p~*UxA# z4bjg_XJBBO<>}%W5^;EK_{&+V40u?Vtzk_Oy;*YMVqw~ozwz&rPG6d~>D#mR`SK=; zww9K@s-5|}%Dy=+ak|}>#qwwKGH>ZO4~|`P_r2LJy1RYqyXB`=?Mw?@F8Z!h{rcpz z^y94Mdt1KFIr?nR|NE2g?N}2vO^d(4;=OB>WP0Plul!REN;cgwUAJuA?C`^98NGCJ zuf=eS_OHmETd)0azdLJ6Z^FIm6*YNHw|4%lGf`stp1;dK$1sNYdj7ec{*dYEN(RM7|LFZWoy#R9733Kz`kee` zcsH&1+JCz2|7qRT%bgpNU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@?C4mOxBWw1U!xSX&?nA%~J?S>q z`Drs@DX0i_&|vma{EMU$voU!m&T=**gzTsG{7#s6e&UYCe1T0nO4x^oj_W}xAZfJ- zi*13eG}V_CK!$q)_MML#!af0~3v~3jrAa#k}puLda%RcUZ zS-@CPF!SM|`L1Bw=QrASiWbjR(Y&+2yAy?KgG~WWm`yAA-@oy`EwnL=Xj@zSVFHKJ zppEeSILSZlV`%l_ diff --git a/ios/App/App/public/cordova.js b/ios/App/App/public/cordova.js new file mode 100644 index 0000000..3c42fca --- /dev/null +++ b/ios/App/App/public/cordova.js @@ -0,0 +1,1689 @@ +// Platform: Capacitor +/* + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +*/ +(function () { + var PLATFORM_VERSION_BUILD_LABEL = '1.0.0'; + // file: src/scripts/require.js + + /* jshint -W079 */ + /* jshint -W020 */ + + var require; + var define; + + (function () { + var modules = {}; + // Stack of moduleIds currently being built. + var requireStack = []; + // Map of module ID -> index into requireStack of modules currently being built. + var inProgressModules = {}; + var SEPARATOR = '.'; + + function build(module) { + var factory = module.factory; + var localRequire = function (id) { + var resultantId = id; + // Its a relative path, so lop off the last portion and add the id (minus "./") + if (id.charAt(0) === '.') { + resultantId = + module.id.slice(0, module.id.lastIndexOf(SEPARATOR)) + + SEPARATOR + + id.slice(2); + } + return require(resultantId); + }; + module.exports = {}; + delete module.factory; + factory(localRequire, module.exports, module); + return module.exports; + } + + require = function (id) { + if (!modules[id]) { + throw 'module ' + id + ' not found'; + } else if (id in inProgressModules) { + var cycle = + requireStack.slice(inProgressModules[id]).join('->') + '->' + id; + throw 'Cycle in require graph: ' + cycle; + } + if (modules[id].factory) { + try { + inProgressModules[id] = requireStack.length; + requireStack.push(id); + return build(modules[id]); + } finally { + delete inProgressModules[id]; + requireStack.pop(); + } + } + return modules[id].exports; + }; + + define = function (id, factory) { + if (modules[id]) { + throw 'module ' + id + ' already defined'; + } + + modules[id] = { + id: id, + factory: factory, + }; + }; + + define.remove = function (id) { + delete modules[id]; + }; + + define.moduleMap = modules; + })(); + + // Export for use in node + if (typeof module === 'object' && typeof require === 'function') { + module.exports.require = require; + module.exports.define = define; + } + + // file: src/cordova.js + define('cordova', function (require, exports, module) { + var channel = require('cordova/channel'); + var platform = require('cordova/platform'); + + /** + * Intercept calls to addEventListener + removeEventListener and handle deviceready, + * resume, and pause events. + */ + var m_document_addEventListener = document.addEventListener; + var m_document_removeEventListener = document.removeEventListener; + var m_window_addEventListener = window.addEventListener; + var m_window_removeEventListener = window.removeEventListener; + + /** + * Houses custom event handlers to intercept on document + window event listeners. + */ + var documentEventHandlers = {}; + var windowEventHandlers = {}; + + document.addEventListener = function (evt, handler, capture) { + var e = evt.toLowerCase(); + if (typeof documentEventHandlers[e] !== 'undefined') { + documentEventHandlers[e].subscribe(handler); + } else { + m_document_addEventListener.call(document, evt, handler, capture); + } + }; + + window.addEventListener = function (evt, handler, capture) { + var e = evt.toLowerCase(); + if (typeof windowEventHandlers[e] !== 'undefined') { + windowEventHandlers[e].subscribe(handler); + } else { + m_window_addEventListener.call(window, evt, handler, capture); + } + }; + + document.removeEventListener = function (evt, handler, capture) { + var e = evt.toLowerCase(); + // If unsubscribing from an event that is handled by a plugin + if (typeof documentEventHandlers[e] !== 'undefined') { + documentEventHandlers[e].unsubscribe(handler); + } else { + m_document_removeEventListener.call(document, evt, handler, capture); + } + }; + + window.removeEventListener = function (evt, handler, capture) { + var e = evt.toLowerCase(); + // If unsubscribing from an event that is handled by a plugin + if (typeof windowEventHandlers[e] !== 'undefined') { + windowEventHandlers[e].unsubscribe(handler); + } else { + m_window_removeEventListener.call(window, evt, handler, capture); + } + }; + + /* eslint-disable no-undef */ + var cordova = { + define: define, + require: require, + version: PLATFORM_VERSION_BUILD_LABEL, + platformVersion: PLATFORM_VERSION_BUILD_LABEL, + platformId: platform.id, + + /* eslint-enable no-undef */ + + /** + * Methods to add/remove your own addEventListener hijacking on document + window. + */ + addWindowEventHandler: function (event) { + return (windowEventHandlers[event] = channel.create(event)); + }, + addStickyDocumentEventHandler: function (event) { + return (documentEventHandlers[event] = channel.createSticky(event)); + }, + addDocumentEventHandler: function (event) { + return (documentEventHandlers[event] = channel.create(event)); + }, + removeWindowEventHandler: function (event) { + delete windowEventHandlers[event]; + }, + removeDocumentEventHandler: function (event) { + delete documentEventHandlers[event]; + }, + /** + * Retrieve original event handlers that were replaced by Cordova + * + * @return object + */ + getOriginalHandlers: function () { + return { + document: { + addEventListener: m_document_addEventListener, + removeEventListener: m_document_removeEventListener, + }, + window: { + addEventListener: m_window_addEventListener, + removeEventListener: m_window_removeEventListener, + }, + }; + }, + /** + * Method to fire event from native code + * bNoDetach is required for events which cause an exception which needs to be caught in native code + */ + fireDocumentEvent: function (type, data, bNoDetach) { + var evt = Capacitor.createEvent(type, data); + if (typeof documentEventHandlers[type] !== 'undefined') { + if (bNoDetach) { + documentEventHandlers[type].fire(evt); + } else { + setTimeout(function () { + // Fire deviceready on listeners that were registered before cordova.js was loaded. + if (type === 'deviceready') { + document.dispatchEvent(evt); + } + documentEventHandlers[type].fire(evt); + }, 0); + } + } else { + document.dispatchEvent(evt); + } + }, + fireWindowEvent: function (type, data) { + var evt = Capacitor.createEvent(type, data); + if (typeof windowEventHandlers[type] !== 'undefined') { + setTimeout(function () { + windowEventHandlers[type].fire(evt); + }, 0); + } else { + window.dispatchEvent(evt); + } + }, + + /** + * Plugin callback mechanism. + */ + // Randomize the starting callbackId to avoid collisions after refreshing or navigating. + // This way, it's very unlikely that any new callback would get the same callbackId as an old callback. + callbackId: Math.floor(Math.random() * 2000000000), + callbacks: {}, + callbackStatus: { + NO_RESULT: 0, + OK: 1, + CLASS_NOT_FOUND_EXCEPTION: 2, + ILLEGAL_ACCESS_EXCEPTION: 3, + INSTANTIATION_EXCEPTION: 4, + MALFORMED_URL_EXCEPTION: 5, + IO_EXCEPTION: 6, + INVALID_ACTION: 7, + JSON_EXCEPTION: 8, + ERROR: 9, + }, + + /** + * Called by native code when returning successful result from an action. + */ + callbackSuccess: function (callbackId, args) { + cordova.callbackFromNative( + callbackId, + true, + args.status, + [args.message], + args.keepCallback, + ); + }, + + /** + * Called by native code when returning error result from an action. + */ + callbackError: function (callbackId, args) { + // TODO: Deprecate callbackSuccess and callbackError in favour of callbackFromNative. + // Derive success from status. + cordova.callbackFromNative( + callbackId, + false, + args.status, + [args.message], + args.keepCallback, + ); + }, + + /** + * Called by native code when returning the result from an action. + */ + callbackFromNative: function ( + callbackId, + isSuccess, + status, + args, + keepCallback, + ) { + try { + var callback = cordova.callbacks[callbackId]; + if (callback) { + if (isSuccess && status === cordova.callbackStatus.OK) { + callback.success && callback.success.apply(null, args); + } else if (!isSuccess) { + callback.fail && callback.fail.apply(null, args); + } + /* + else + Note, this case is intentionally not caught. + this can happen if isSuccess is true, but callbackStatus is NO_RESULT + which is used to remove a callback from the list without calling the callbacks + typically keepCallback is false in this case + */ + // Clear callback if not expecting any more results + if (!keepCallback) { + delete cordova.callbacks[callbackId]; + } + } + } catch (err) { + var msg = + 'Error in ' + + (isSuccess ? 'Success' : 'Error') + + ' callbackId: ' + + callbackId + + ' : ' + + err; + console && console.log && console.log(msg); + cordova.fireWindowEvent('cordovacallbackerror', { message: msg }); + throw err; + } + }, + addConstructor: function (func) { + channel.onCordovaReady.subscribe(function () { + try { + func(); + } catch (e) { + console.log('Failed to run constructor: ' + e); + } + }); + }, + }; + + module.exports = cordova; + }); + + // file: src/common/argscheck.js + define('cordova/argscheck', function (require, exports, module) { + var utils = require('cordova/utils'); + + var moduleExports = module.exports; + + var typeMap = { + A: 'Array', + D: 'Date', + N: 'Number', + S: 'String', + F: 'Function', + O: 'Object', + }; + + function extractParamName(callee, argIndex) { + return /.*?\((.*?)\)/.exec(callee)[1].split(', ')[argIndex]; + } + + function checkArgs(spec, functionName, args, opt_callee) { + if (!moduleExports.enableChecks) { + return; + } + var errMsg = null; + var typeName; + for (var i = 0; i < spec.length; ++i) { + var c = spec.charAt(i); + var cUpper = c.toUpperCase(); + var arg = args[i]; + // Asterix means allow anything. + if (c === '*') { + continue; + } + typeName = utils.typeName(arg); + if ((arg === null || arg === undefined) && c === cUpper) { + continue; + } + if (typeName !== typeMap[cUpper]) { + errMsg = 'Expected ' + typeMap[cUpper]; + break; + } + } + if (errMsg) { + errMsg += ', but got ' + typeName + '.'; + errMsg = + 'Wrong type for parameter "' + + extractParamName(opt_callee || args.callee, i) + + '" of ' + + functionName + + ': ' + + errMsg; + // Don't log when running unit tests. + if (typeof jasmine === 'undefined') { + console.error(errMsg); + } + throw TypeError(errMsg); + } + } + + function getValue(value, defaultValue) { + return value === undefined ? defaultValue : value; + } + + moduleExports.checkArgs = checkArgs; + moduleExports.getValue = getValue; + moduleExports.enableChecks = true; + }); + + // file: src/common/base64.js + define('cordova/base64', function (require, exports, module) { + var base64 = exports; + + base64.fromArrayBuffer = function (arrayBuffer) { + var array = new Uint8Array(arrayBuffer); + return uint8ToBase64(array); + }; + + base64.toArrayBuffer = function (str) { + var decodedStr = + typeof atob !== 'undefined' + ? atob(str) + : Buffer.from(str, 'base64').toString('binary'); // eslint-disable-line no-undef + var arrayBuffer = new ArrayBuffer(decodedStr.length); + var array = new Uint8Array(arrayBuffer); + for (var i = 0, len = decodedStr.length; i < len; i++) { + array[i] = decodedStr.charCodeAt(i); + } + return arrayBuffer; + }; + + // ------------------------------------------------------------------------------ + + /* This code is based on the performance tests at http://jsperf.com/b64tests + * This 12-bit-at-a-time algorithm was the best performing version on all + * platforms tested. + */ + + var b64_6bit = + 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; + var b64_12bit; + + var b64_12bitTable = function () { + b64_12bit = []; + for (var i = 0; i < 64; i++) { + for (var j = 0; j < 64; j++) { + b64_12bit[i * 64 + j] = b64_6bit[i] + b64_6bit[j]; + } + } + b64_12bitTable = function () { + return b64_12bit; + }; + return b64_12bit; + }; + + function uint8ToBase64(rawData) { + var numBytes = rawData.byteLength; + var output = ''; + var segment; + var table = b64_12bitTable(); + for (var i = 0; i < numBytes - 2; i += 3) { + segment = (rawData[i] << 16) + (rawData[i + 1] << 8) + rawData[i + 2]; + output += table[segment >> 12]; + output += table[segment & 0xfff]; + } + if (numBytes - i === 2) { + segment = (rawData[i] << 16) + (rawData[i + 1] << 8); + output += table[segment >> 12]; + output += b64_6bit[(segment & 0xfff) >> 6]; + output += '='; + } else if (numBytes - i === 1) { + segment = rawData[i] << 16; + output += table[segment >> 12]; + output += '=='; + } + return output; + } + }); + + // file: src/common/builder.js + define('cordova/builder', function (require, exports, module) { + var utils = require('cordova/utils'); + + function each(objects, func, context) { + for (var prop in objects) { + if (objects.hasOwnProperty(prop)) { + func.apply(context, [objects[prop], prop]); + } + } + } + + function clobber(obj, key, value) { + exports.replaceHookForTesting(obj, key); + var needsProperty = false; + try { + obj[key] = value; + } catch (e) { + needsProperty = true; + } + // Getters can only be overridden by getters. + if (needsProperty || obj[key] !== value) { + utils.defineGetter(obj, key, function () { + return value; + }); + } + } + + function assignOrWrapInDeprecateGetter(obj, key, value, message) { + if (message) { + utils.defineGetter(obj, key, function () { + console.log(message); + delete obj[key]; + clobber(obj, key, value); + return value; + }); + } else { + clobber(obj, key, value); + } + } + + function include(parent, objects, clobber, merge) { + each(objects, function (obj, key) { + try { + var result = obj.path ? require(obj.path) : {}; + + if (clobber) { + // Clobber if it doesn't exist. + if (typeof parent[key] === 'undefined') { + assignOrWrapInDeprecateGetter( + parent, + key, + result, + obj.deprecated, + ); + } else if (typeof obj.path !== 'undefined') { + // If merging, merge properties onto parent, otherwise, clobber. + if (merge) { + recursiveMerge(parent[key], result); + } else { + assignOrWrapInDeprecateGetter( + parent, + key, + result, + obj.deprecated, + ); + } + } + result = parent[key]; + } else { + // Overwrite if not currently defined. + if (typeof parent[key] === 'undefined') { + assignOrWrapInDeprecateGetter( + parent, + key, + result, + obj.deprecated, + ); + } else { + // Set result to what already exists, so we can build children into it if they exist. + result = parent[key]; + } + } + + if (obj.children) { + include(result, obj.children, clobber, merge); + } + } catch (e) { + utils.alert( + 'Exception building Cordova JS globals: ' + + e + + ' for key "' + + key + + '"', + ); + } + }); + } + + /** + * Merge properties from one object onto another recursively. Properties from + * the src object will overwrite existing target property. + * + * @param target Object to merge properties into. + * @param src Object to merge properties from. + */ + function recursiveMerge(target, src) { + for (var prop in src) { + if (src.hasOwnProperty(prop)) { + if (target.prototype && target.prototype.constructor === target) { + // If the target object is a constructor override off prototype. + clobber(target.prototype, prop, src[prop]); + } else { + if ( + typeof src[prop] === 'object' && + typeof target[prop] === 'object' + ) { + recursiveMerge(target[prop], src[prop]); + } else { + clobber(target, prop, src[prop]); + } + } + } + } + } + + exports.buildIntoButDoNotClobber = function (objects, target) { + include(target, objects, false, false); + }; + exports.buildIntoAndClobber = function (objects, target) { + include(target, objects, true, false); + }; + exports.buildIntoAndMerge = function (objects, target) { + include(target, objects, true, true); + }; + exports.recursiveMerge = recursiveMerge; + exports.assignOrWrapInDeprecateGetter = assignOrWrapInDeprecateGetter; + exports.replaceHookForTesting = function () {}; + }); + + // file: src/common/channel.js + define('cordova/channel', function (require, exports, module) { + var utils = require('cordova/utils'); + var nextGuid = 1; + + /** + * Custom pub-sub "channel" that can have functions subscribed to it + * This object is used to define and control firing of events for + * cordova initialization, as well as for custom events thereafter. + * + * The order of events during page load and Cordova startup is as follows: + * + * onDOMContentLoaded* Internal event that is received when the web page is loaded and parsed. + * onNativeReady* Internal event that indicates the Cordova native side is ready. + * onCordovaReady* Internal event fired when all Cordova JavaScript objects have been created. + * onDeviceReady* User event fired to indicate that Cordova is ready + * onResume User event fired to indicate a start/resume lifecycle event + * onPause User event fired to indicate a pause lifecycle event + * + * The events marked with an * are sticky. Once they have fired, they will stay in the fired state. + * All listeners that subscribe after the event is fired will be executed right away. + * + * The only Cordova events that user code should register for are: + * deviceready Cordova native code is initialized and Cordova APIs can be called from JavaScript + * pause App has moved to background + * resume App has returned to foreground + * + * Listeners can be registered as: + * document.addEventListener("deviceready", myDeviceReadyListener, false); + * document.addEventListener("resume", myResumeListener, false); + * document.addEventListener("pause", myPauseListener, false); + * + * The DOM lifecycle events should be used for saving and restoring state + * window.onload + * window.onunload + * + */ + + /** + * Channel + * @constructor + * @param type String the channel name + */ + var Channel = function (type, sticky) { + this.type = type; + // Map of guid -> function. + this.handlers = {}; + // 0 = Non-sticky, 1 = Sticky non-fired, 2 = Sticky fired. + this.state = sticky ? 1 : 0; + // Used in sticky mode to remember args passed to fire(). + this.fireArgs = null; + // Used by onHasSubscribersChange to know if there are any listeners. + this.numHandlers = 0; + // Function that is called when the first listener is subscribed, or when + // the last listener is unsubscribed. + this.onHasSubscribersChange = null; + }; + var channel = { + /** + * Calls the provided function only after all of the channels specified + * have been fired. All channels must be sticky channels. + */ + join: function (h, c) { + var len = c.length; + var i = len; + var f = function () { + if (!--i) h(); + }; + for (var j = 0; j < len; j++) { + if (c[j].state === 0) { + throw Error('Can only use join with sticky channels.'); + } + c[j].subscribe(f); + } + if (!len) h(); + }, + /* eslint-disable no-return-assign */ + create: function (type) { + return (channel[type] = new Channel(type, false)); + }, + createSticky: function (type) { + return (channel[type] = new Channel(type, true)); + }, + /* eslint-enable no-return-assign */ + /** + * cordova Channels that must fire before "deviceready" is fired. + */ + deviceReadyChannelsArray: [], + deviceReadyChannelsMap: {}, + + /** + * Indicate that a feature needs to be initialized before it is ready to be used. + * This holds up Cordova's "deviceready" event until the feature has been initialized + * and Cordova.initComplete(feature) is called. + * + * @param feature {String} The unique feature name + */ + waitForInitialization: function (feature) { + if (feature) { + var c = channel[feature] || this.createSticky(feature); + this.deviceReadyChannelsMap[feature] = c; + this.deviceReadyChannelsArray.push(c); + } + }, + + /** + * Indicate that initialization code has completed and the feature is ready to be used. + * + * @param feature {String} The unique feature name + */ + initializationComplete: function (feature) { + var c = this.deviceReadyChannelsMap[feature]; + if (c) { + c.fire(); + } + }, + }; + + function checkSubscriptionArgument(argument) { + if ( + typeof argument !== 'function' && + typeof argument.handleEvent !== 'function' + ) { + throw new Error( + 'Must provide a function or an EventListener object ' + + 'implementing the handleEvent interface.', + ); + } + } + + /** + * Subscribes the given function to the channel. Any time that + * Channel.fire is called so too will the function. + * Optionally specify an execution context for the function + * and a guid that can be used to stop subscribing to the channel. + * Returns the guid. + */ + Channel.prototype.subscribe = function ( + eventListenerOrFunction, + eventListener, + ) { + checkSubscriptionArgument(eventListenerOrFunction); + var handleEvent, guid; + + if ( + eventListenerOrFunction && + typeof eventListenerOrFunction === 'object' + ) { + // Received an EventListener object implementing the handleEvent interface + handleEvent = eventListenerOrFunction.handleEvent; + eventListener = eventListenerOrFunction; + } else { + // Received a function to handle event + handleEvent = eventListenerOrFunction; + } + + if (this.state === 2) { + handleEvent.apply(eventListener || this, this.fireArgs); + return; + } + + guid = eventListenerOrFunction.observer_guid; + if (typeof eventListener === 'object') { + handleEvent = utils.close(eventListener, handleEvent); + } + + if (!guid) { + // First time any channel has seen this subscriber + guid = '' + nextGuid++; + } + handleEvent.observer_guid = guid; + eventListenerOrFunction.observer_guid = guid; + + // Don't add the same handler more than once. + if (!this.handlers[guid]) { + this.handlers[guid] = handleEvent; + this.numHandlers++; + if (this.numHandlers === 1) { + this.onHasSubscribersChange && this.onHasSubscribersChange(); + } + } + }; + + /** + * Unsubscribes the function with the given guid from the channel. + */ + Channel.prototype.unsubscribe = function (eventListenerOrFunction) { + checkSubscriptionArgument(eventListenerOrFunction); + var handleEvent, guid, handler; + + if ( + eventListenerOrFunction && + typeof eventListenerOrFunction === 'object' + ) { + // Received an EventListener object implementing the handleEvent interface + handleEvent = eventListenerOrFunction.handleEvent; + } else { + // Received a function to handle event + handleEvent = eventListenerOrFunction; + } + + guid = handleEvent.observer_guid; + handler = this.handlers[guid]; + if (handler) { + delete this.handlers[guid]; + this.numHandlers--; + if (this.numHandlers === 0) { + this.onHasSubscribersChange && this.onHasSubscribersChange(); + } + } + }; + + /** + * Calls all functions subscribed to this channel. + */ + Channel.prototype.fire = function (e) { + var fail = false; // eslint-disable-line no-unused-vars + var fireArgs = Array.prototype.slice.call(arguments); + // Apply stickiness. + if (this.state === 1) { + this.state = 2; + this.fireArgs = fireArgs; + } + if (this.numHandlers) { + // Copy the values first so that it is safe to modify it from within + // callbacks. + var toCall = []; + for (var item in this.handlers) { + toCall.push(this.handlers[item]); + } + for (var i = 0; i < toCall.length; ++i) { + toCall[i].apply(this, fireArgs); + } + if (this.state === 2 && this.numHandlers) { + this.numHandlers = 0; + this.handlers = {}; + this.onHasSubscribersChange && this.onHasSubscribersChange(); + } + } + }; + + // defining them here so they are ready super fast! + // DOM event that is received when the web page is loaded and parsed. + channel.createSticky('onDOMContentLoaded'); + + // Event to indicate the Cordova native side is ready. + channel.createSticky('onNativeReady'); + + // Event to indicate that all Cordova JavaScript objects have been created + // and it's time to run plugin constructors. + channel.createSticky('onCordovaReady'); + + // Event to indicate that all automatically loaded JS plugins are loaded and ready. + // FIXME remove this + channel.createSticky('onPluginsReady'); + + // Event to indicate that Cordova is ready + channel.createSticky('onDeviceReady'); + + // Event to indicate a resume lifecycle event + channel.create('onResume'); + + // Event to indicate a pause lifecycle event + channel.create('onPause'); + + // Channels that must fire before "deviceready" is fired. + channel.waitForInitialization('onCordovaReady'); + channel.waitForInitialization('onDOMContentLoaded'); + + module.exports = channel; + }); + + define('cordova/exec', function (require, exports, module) { + /*global require, module, atob, document */ + + /** + * Creates a gap bridge iframe used to notify the native code about queued + * commands. + */ + var cordova = require('cordova'), + utils = require('cordova/utils'), + base64 = require('cordova/base64'), + execIframe, + commandQueue = [], // Contains pending JS->Native messages. + isInContextOfEvalJs = 0, + failSafeTimerId = 0; + + function massageArgsJsToNative(args) { + if (window.androidBridge) { + for (var i = 0; i < args.length; i++) { + if (utils.typeName(args[i]) == 'ArrayBuffer') { + args[i] = base64.fromArrayBuffer(args[i]); + } + } + return args; + } else { + if (!args || utils.typeName(args) !== 'Array') { + return args; + } + var ret = []; + args.forEach(function (arg, i) { + if (utils.typeName(arg) === 'ArrayBuffer') { + ret.push({ + CDVType: 'ArrayBuffer', + data: base64.fromArrayBuffer(arg), + }); + } else { + ret.push(arg); + } + }); + return ret; + } + } + + function massageMessageNativeToJs(message) { + if (message.CDVType === 'ArrayBuffer') { + var stringToArrayBuffer = function (str) { + var ret = new Uint8Array(str.length); + for (var i = 0; i < str.length; i++) { + ret[i] = str.charCodeAt(i); + } + return ret.buffer; + }; + var base64ToArrayBuffer = function (b64) { + return stringToArrayBuffer(atob(b64)); // eslint-disable-line no-undef + }; + message = base64ToArrayBuffer(message.data); + } + return message; + } + + function convertMessageToArgsNativeToJs(message) { + var args = []; + if (!message || !message.hasOwnProperty('CDVType')) { + args.push(message); + } else if (message.CDVType === 'MultiPart') { + message.messages.forEach(function (e) { + args.push(massageMessageNativeToJs(e)); + }); + } else { + args.push(massageMessageNativeToJs(message)); + } + return args; + } + + var capacitorExec = function () { + // detect change in bridge, if there is a change, we forward to new bridge + + var successCallback, failCallback, service, action, actionArgs; + var callbackId = null; + if (typeof arguments[0] !== 'string') { + // FORMAT ONE + successCallback = arguments[0]; + failCallback = arguments[1]; + service = arguments[2]; + action = arguments[3]; + actionArgs = arguments[4]; + + // Since we need to maintain backwards compatibility, we have to pass + // an invalid callbackId even if no callback was provided since plugins + // will be expecting it. The Cordova.exec() implementation allocates + // an invalid callbackId and passes it even if no callbacks were given. + callbackId = 'INVALID'; + } else { + throw new Error( + 'The old format of this exec call has been removed (deprecated since 2.1). Change to: ' + // eslint-disable-line + "cordova.exec(null, null, 'Service', 'action', [ arg1, arg2 ]);", + ); + } + + // If actionArgs is not provided, default to an empty array + actionArgs = actionArgs || []; + + // Register the callbacks and add the callbackId to the positional + // arguments if given. + if (successCallback || failCallback) { + callbackId = service + cordova.callbackId++; + cordova.callbacks[callbackId] = { + success: successCallback, + fail: failCallback, + }; + } + + // Properly encode ArrayBuffer action arguments + actionArgs = massageArgsJsToNative(actionArgs); + actionArgs = JSON.parse(JSON.stringify(actionArgs)); + var command = { + type: 'cordova', + callbackId: callbackId, + service: service, + action: action, + actionArgs: actionArgs, + }; + if (window.androidBridge) { + window.androidBridge.postMessage(JSON.stringify(command)); + } else if ( + window.webkit && + window.webkit.messageHandlers && + window.webkit.messageHandlers.bridge + ) { + window.webkit.messageHandlers.bridge.postMessage(command); + } + }; + + // CB-10530 + function proxyChanged() { + var cexec = cordovaExec(); + + return ( + execProxy !== cexec && capacitorExec !== cexec // proxy objects are different // proxy object is not the current capacitorExec + ); + } + + // CB-10106 + function handleBridgeChange() { + if (proxyChanged()) { + var commandString = commandQueue.shift(); + while (commandString) { + var command = JSON.parse(commandString); + var callbackId = command[0]; + var service = command[1]; + var action = command[2]; + var actionArgs = command[3]; + var callbacks = cordova.callbacks[callbackId] || {}; + + execProxy( + callbacks.success, + callbacks.fail, + service, + action, + actionArgs, + ); + + commandString = commandQueue.shift(); + } + return true; + } + + return false; + } + + function pokeNative() { + // CB-5488 - Don't attempt to create iframe before document.body is available. + if (!document.body) { + setTimeout(pokeNative); + return; + } + + // Check if they've removed it from the DOM, and put it back if so. + if (execIframe && execIframe.contentWindow) { + execIframe.contentWindow.location = 'gap://ready'; + } else { + execIframe = document.createElement('iframe'); + execIframe.style.display = 'none'; + execIframe.src = 'gap://ready'; + document.body.appendChild(execIframe); + } + // Use a timer to protect against iframe being unloaded during the poke (CB-7735). + // This makes the bridge ~ 7% slower, but works around the poke getting lost + // when the iframe is removed from the DOM. + // An onunload listener could be used in the case where the iframe has just been + // created, but since unload events fire only once, it doesn't work in the normal + // case of iframe reuse (where unload will have already fired due to the attempted + // navigation of the page). + failSafeTimerId = setTimeout(function () { + if (commandQueue.length) { + // CB-10106 - flush the queue on bridge change + if (!handleBridgeChange()) { + pokeNative(); + } + } + }, 50); // Making this > 0 improves performance (marginally) in the normal case (where it doesn't fire). + } + + capacitorExec.nativeFetchMessages = function () { + // Stop listing for window detatch once native side confirms poke. + if (failSafeTimerId) { + clearTimeout(failSafeTimerId); + failSafeTimerId = 0; + } + // Each entry in commandQueue is a JSON string already. + if (!commandQueue.length) { + return ''; + } + var json = '[' + commandQueue.join(',') + ']'; + commandQueue.length = 0; + return json; + }; + + capacitorExec.nativeCallback = function ( + callbackId, + status, + message, + keepCallback, + debug, + ) { + var success = status === 0 || status === 1; + var args = convertMessageToArgsNativeToJs(message); + Promise.resolve().then(function () { + cordova.callbackFromNative( + callbackId, + success, + status, + args, + keepCallback, + ); // eslint-disable-line + }); + }; + + // for backwards compatibility + capacitorExec.nativeEvalAndFetch = function (func) { + try { + func(); + } catch (e) { + console.log(e); + } + }; + + // Proxy the exec for bridge changes. See CB-10106 + function cordovaExec() { + var cexec = require('cordova/exec'); + var cexec_valid = + typeof cexec.nativeFetchMessages === 'function' && + typeof cexec.nativeEvalAndFetch === 'function' && + typeof cexec.nativeCallback === 'function'; + return cexec_valid && execProxy !== cexec ? cexec : capacitorExec; + } + function execProxy() { + cordovaExec().apply(null, arguments); + } + + execProxy.nativeFetchMessages = function () { + return cordovaExec().nativeFetchMessages.apply(null, arguments); + }; + + execProxy.nativeEvalAndFetch = function () { + return cordovaExec().nativeEvalAndFetch.apply(null, arguments); + }; + + execProxy.nativeCallback = function () { + return cordovaExec().nativeCallback.apply(null, arguments); + }; + + module.exports = execProxy; + }); + + // file: src/common/exec/proxy.js + define('cordova/exec/proxy', function (require, exports, module) { + // internal map of proxy function + var CommandProxyMap = {}; + + module.exports = { + // example: cordova.commandProxy.add("Accelerometer",{getCurrentAcceleration: function(successCallback, errorCallback, options) {...},...); + add: function (id, proxyObj) { + console.log('adding proxy for ' + id); + CommandProxyMap[id] = proxyObj; + return proxyObj; + }, + + // cordova.commandProxy.remove("Accelerometer"); + remove: function (id) { + var proxy = CommandProxyMap[id]; + delete CommandProxyMap[id]; + CommandProxyMap[id] = null; + return proxy; + }, + + get: function (service, action) { + return CommandProxyMap[service] + ? CommandProxyMap[service][action] + : null; + }, + }; + }); + + // file: src/common/init.js + define('cordova/init', function (require, exports, module) { + var channel = require('cordova/channel'); + var cordova = require('cordova'); + var modulemapper = require('cordova/modulemapper'); + var platform = require('cordova/platform'); + var pluginloader = require('cordova/pluginloader'); + var utils = require('cordova/utils'); + + var platformInitChannelsArray = [ + channel.onNativeReady, + channel.onPluginsReady, + ]; + + function logUnfiredChannels(arr) { + for (var i = 0; i < arr.length; ++i) { + if (arr[i].state !== 2) { + console.log('Channel not fired: ' + arr[i].type); + } + } + } + + window.setTimeout(function () { + if (channel.onDeviceReady.state !== 2) { + console.log('deviceready has not fired after 5 seconds.'); + logUnfiredChannels(platformInitChannelsArray); + logUnfiredChannels(channel.deviceReadyChannelsArray); + } + }, 5000); + + // Replace navigator before any modules are required(), to ensure it happens as soon as possible. + // We replace it so that properties that can't be clobbered can instead be overridden. + function replaceNavigator(origNavigator) { + var CordovaNavigator = function () {}; + CordovaNavigator.prototype = origNavigator; + var newNavigator = new CordovaNavigator(); + // This work-around really only applies to new APIs that are newer than Function.bind. + // Without it, APIs such as getGamepads() break. + if (CordovaNavigator.bind) { + for (var key in origNavigator) { + if (typeof origNavigator[key] === 'function') { + newNavigator[key] = origNavigator[key].bind(origNavigator); + } else { + (function (k) { + utils.defineGetterSetter(newNavigator, key, function () { + return origNavigator[k]; + }); + })(key); + } + } + } + return newNavigator; + } + + if (window.navigator) { + window.navigator = replaceNavigator(window.navigator); + } + + // Register pause, resume and deviceready channels as events on document. + channel.onPause = cordova.addDocumentEventHandler('pause'); + channel.onResume = cordova.addDocumentEventHandler('resume'); + channel.onActivated = cordova.addDocumentEventHandler('activated'); + channel.onDeviceReady = + cordova.addStickyDocumentEventHandler('deviceready'); + + // Listen for DOMContentLoaded and notify our channel subscribers. + if ( + document.readyState === 'complete' || + document.readyState === 'interactive' + ) { + channel.onDOMContentLoaded.fire(); + } else { + document.addEventListener( + 'DOMContentLoaded', + function () { + channel.onDOMContentLoaded.fire(); + }, + false, + ); + } + + // _nativeReady is global variable that the native side can set + // to signify that the native code is ready. It is a global since + // it may be called before any cordova JS is ready. + if (window._nativeReady) { + channel.onNativeReady.fire(); + } + + modulemapper.clobbers('cordova', 'cordova'); + modulemapper.clobbers('cordova/exec', 'cordova.exec'); + modulemapper.clobbers('cordova/exec', 'Cordova.exec'); + + // Call the platform-specific initialization. + platform.bootstrap && platform.bootstrap(); + + // Wrap in a setTimeout to support the use-case of having plugin JS appended to cordova.js. + // The delay allows the attached modules to be defined before the plugin loader looks for them. + setTimeout(function () { + pluginloader.load(function () { + channel.onPluginsReady.fire(); + }); + }, 0); + + /** + * Create all cordova objects once native side is ready. + */ + channel.join(function () { + modulemapper.mapModules(window); + + platform.initialize && platform.initialize(); + + // Fire event to notify that all objects are created + channel.onCordovaReady.fire(); + + // Fire onDeviceReady event once page has fully loaded, all + // constructors have run and cordova info has been received from native + // side. + channel.join(function () { + require('cordova').fireDocumentEvent('deviceready'); + }, channel.deviceReadyChannelsArray); + }, platformInitChannelsArray); + }); + + // file: src/common/modulemapper.js + define('cordova/modulemapper', function (require, exports, module) { + var builder = require('cordova/builder'); + var moduleMap = define.moduleMap; // eslint-disable-line no-undef + var symbolList; + var deprecationMap; + + exports.reset = function () { + symbolList = []; + deprecationMap = {}; + }; + + function addEntry( + strategy, + moduleName, + symbolPath, + opt_deprecationMessage, + ) { + if (!(moduleName in moduleMap)) { + throw new Error('Module ' + moduleName + ' does not exist.'); + } + symbolList.push(strategy, moduleName, symbolPath); + if (opt_deprecationMessage) { + deprecationMap[symbolPath] = opt_deprecationMessage; + } + } + + // Note: Android 2.3 does have Function.bind(). + exports.clobbers = function ( + moduleName, + symbolPath, + opt_deprecationMessage, + ) { + addEntry('c', moduleName, symbolPath, opt_deprecationMessage); + }; + + exports.merges = function (moduleName, symbolPath, opt_deprecationMessage) { + addEntry('m', moduleName, symbolPath, opt_deprecationMessage); + }; + + exports.defaults = function ( + moduleName, + symbolPath, + opt_deprecationMessage, + ) { + addEntry('d', moduleName, symbolPath, opt_deprecationMessage); + }; + + exports.runs = function (moduleName) { + addEntry('r', moduleName, null); + }; + + function prepareNamespace(symbolPath, context) { + if (!symbolPath) { + return context; + } + var parts = symbolPath.split('.'); + var cur = context; + for (var i = 0, part; (part = parts[i]); ++i) { + // eslint-disable-line no-cond-assign + cur = cur[part] = cur[part] || {}; + } + return cur; + } + + exports.mapModules = function (context) { + var origSymbols = {}; + context.CDV_origSymbols = origSymbols; + for (var i = 0, len = symbolList.length; i < len; i += 3) { + var strategy = symbolList[i]; + var moduleName = symbolList[i + 1]; + var module = require(moduleName); + // + if (strategy === 'r') { + continue; + } + var symbolPath = symbolList[i + 2]; + var lastDot = symbolPath.lastIndexOf('.'); + var namespace = symbolPath.substr(0, lastDot); + var lastName = symbolPath.substr(lastDot + 1); + + var deprecationMsg = + symbolPath in deprecationMap + ? 'Access made to deprecated symbol: ' + + symbolPath + + '. ' + + deprecationMsg + : null; + var parentObj = prepareNamespace(namespace, context); + var target = parentObj[lastName]; + + if (strategy === 'm' && target) { + builder.recursiveMerge(target, module); + } else if ((strategy === 'd' && !target) || strategy !== 'd') { + if (!(symbolPath in origSymbols)) { + origSymbols[symbolPath] = target; + } + builder.assignOrWrapInDeprecateGetter( + parentObj, + lastName, + module, + deprecationMsg, + ); + } + } + }; + + exports.getOriginalSymbol = function (context, symbolPath) { + var origSymbols = context.CDV_origSymbols; + if (origSymbols && symbolPath in origSymbols) { + return origSymbols[symbolPath]; + } + var parts = symbolPath.split('.'); + var obj = context; + for (var i = 0; i < parts.length; ++i) { + obj = obj && obj[parts[i]]; + } + return obj; + }; + + exports.reset(); + }); + + define('cordova/platform', function (require, exports, module) { + module.exports = { + id: Capacitor.platform, + bootstrap: function () { + require('cordova/channel').onNativeReady.fire(); + }, + }; + }); + + // file: src/common/pluginloader.js + define('cordova/pluginloader', function (require, exports, module) { + var modulemapper = require('cordova/modulemapper'); + + function onScriptLoadingComplete(moduleList, finishPluginLoading) { + console.log('onscript loading complete'); + // Loop through all the plugins and then through their clobbers and merges. + for (var i = 0, module; (module = moduleList[i]); i++) { + // eslint-disable-line no-cond-assign + if (module.clobbers && module.clobbers.length) { + for (var j = 0; j < module.clobbers.length; j++) { + modulemapper.clobbers(module.id, module.clobbers[j]); + } + } + + if (module.merges && module.merges.length) { + for (var k = 0; k < module.merges.length; k++) { + modulemapper.merges(module.id, module.merges[k]); + } + } + + // Finally, if runs is truthy we want to simply require() the module. + if (module.runs) { + modulemapper.runs(module.id); + } + } + + finishPluginLoading(); + } + + // Tries to load all plugins' js-modules. + // This is an async process, but onDeviceReady is blocked on onPluginsReady. + // onPluginsReady is fired when there are no plugins to load, or they are all done. + exports.load = function (callback) { + var moduleList = require('cordova/plugin_list'); + onScriptLoadingComplete(moduleList, callback); + }; + }); + + // file: src/common/urlutil.js + define('cordova/urlutil', function (require, exports, module) { + /** + * For already absolute URLs, returns what is passed in. + * For relative URLs, converts them to absolute ones. + */ + exports.makeAbsolute = function makeAbsolute(url) { + var anchorEl = document.createElement('a'); + anchorEl.href = url; + return anchorEl.href; + }; + }); + + // file: src/common/utils.js + define('cordova/utils', function (require, exports, module) { + var utils = exports; + + /** + * Defines a property getter / setter for obj[key]. + */ + utils.defineGetterSetter = function (obj, key, getFunc, opt_setFunc) { + if (Object.defineProperty) { + var desc = { + get: getFunc, + configurable: true, + }; + if (opt_setFunc) { + desc.set = opt_setFunc; + } + Object.defineProperty(obj, key, desc); + } else { + obj.__defineGetter__(key, getFunc); + if (opt_setFunc) { + obj.__defineSetter__(key, opt_setFunc); + } + } + }; + + /** + * Defines a property getter for obj[key]. + */ + utils.defineGetter = utils.defineGetterSetter; + + utils.arrayIndexOf = function (a, item) { + if (a.indexOf) { + return a.indexOf(item); + } + var len = a.length; + for (var i = 0; i < len; ++i) { + if (a[i] === item) { + return i; + } + } + return -1; + }; + + /** + * Returns whether the item was found in the array. + */ + utils.arrayRemove = function (a, item) { + var index = utils.arrayIndexOf(a, item); + if (index !== -1) { + a.splice(index, 1); + } + return index !== -1; + }; + + utils.typeName = function (val) { + return Object.prototype.toString.call(val).slice(8, -1); + }; + + /** + * Returns an indication of whether the argument is an array or not + */ + utils.isArray = + Array.isArray || + function (a) { + return utils.typeName(a) === 'Array'; + }; + + /** + * Returns an indication of whether the argument is a Date or not + */ + utils.isDate = function (d) { + return d instanceof Date; + }; + + /** + * Does a deep clone of the object. + */ + utils.clone = function (obj) { + if ( + !obj || + typeof obj === 'function' || + utils.isDate(obj) || + typeof obj !== 'object' + ) { + return obj; + } + + var retVal, i; + + if (utils.isArray(obj)) { + retVal = []; + for (i = 0; i < obj.length; ++i) { + retVal.push(utils.clone(obj[i])); + } + return retVal; + } + + retVal = {}; + for (i in obj) { + // https://issues.apache.org/jira/browse/CB-11522 'unknown' type may be returned in + // custom protocol activation case on Windows Phone 8.1 causing "No such interface supported" exception + // on cloning. + if ( + (!(i in retVal) || retVal[i] !== obj[i]) && + typeof obj[i] !== 'undefined' && + typeof obj[i] !== 'unknown' + ) { + // eslint-disable-line valid-typeof + retVal[i] = utils.clone(obj[i]); + } + } + return retVal; + }; + + /** + * Returns a wrapped version of the function + */ + utils.close = function (context, func, params) { + return function () { + var args = params || arguments; + return func.apply(context, args); + }; + }; + + // ------------------------------------------------------------------------------ + function UUIDcreatePart(length) { + var uuidpart = ''; + for (var i = 0; i < length; i++) { + var uuidchar = parseInt(Math.random() * 256, 10).toString(16); + if (uuidchar.length === 1) { + uuidchar = '0' + uuidchar; + } + uuidpart += uuidchar; + } + return uuidpart; + } + + /** + * Create a UUID + */ + utils.createUUID = function () { + return ( + UUIDcreatePart(4) + + '-' + + UUIDcreatePart(2) + + '-' + + UUIDcreatePart(2) + + '-' + + UUIDcreatePart(2) + + '-' + + UUIDcreatePart(6) + ); + }; + + /** + * Extends a child object from a parent object using classical inheritance + * pattern. + */ + utils.extend = (function () { + // proxy used to establish prototype chain + var F = function () {}; + // extend Child from Parent + return function (Child, Parent) { + F.prototype = Parent.prototype; + Child.prototype = new F(); + Child.__super__ = Parent.prototype; + Child.prototype.constructor = Child; + }; + })(); + + /** + * Alerts a message in any available way: alert or console.log. + */ + utils.alert = function (msg) { + if (window.alert) { + window.alert(msg); + } else if (console && console.log) { + console.log(msg); + } + }; + }); + + window.cordova = require('cordova'); + // file: src/scripts/bootstrap.js + + require('cordova/init'); +})(); diff --git a/ios/App/App/public/cordova_plugins.js b/ios/App/App/public/cordova_plugins.js new file mode 100644 index 0000000..6d91343 --- /dev/null +++ b/ios/App/App/public/cordova_plugins.js @@ -0,0 +1,20 @@ + + cordova.define('cordova/plugin_list', function(require, exports, module) { + module.exports = [ + { + "id": "cordova-plugin-inappbrowser.inappbrowser", + "file": "plugins/cordova-plugin-inappbrowser/www/inappbrowser.js", + "pluginId": "cordova-plugin-inappbrowser", + "clobbers": [ + "cordova.InAppBrowser.open" + ] + } + ]; + module.exports.metadata = + // TOP OF METADATA + { + "cordova-plugin-inappbrowser": "5.0.0" + }; + // BOTTOM OF METADATA + }); + \ No newline at end of file diff --git a/ios/App/App/public/css/app.908e70a8.css b/ios/App/App/public/css/app.908e70a8.css new file mode 100644 index 0000000..d3a3279 --- /dev/null +++ b/ios/App/App/public/css/app.908e70a8.css @@ -0,0 +1 @@ +.header__tainacan-logo{max-width:65%;height:42px}ion-img.header__tainacan-logo::part(image){width:auto}.collection-list-item{--border-color:var(--ion-color-step-900,#e6e6e6)}.collection-list-item ion-img{--border-radius:4px}.items-list-container{--ion-grid-column-padding:0px;padding:12px}.items-list-container ion-card{box-shadow:none;margin:4px}.items-list-container ion-card-header{padding:12px}.items-list-container ion-card-title{font-size:.875rem;font-weight:400}.login-form-content{--ion-background-color:var(--ion-color-step-950,#f2f2f2)}.login-form-content form{display:flex;flex-direction:column;width:100%}.login-form-content form ion-button{margin-left:auto}.login-form-content ion-row{height:100%}.login-form-content__tainacan-logo{max-width:250px;padding:2rem;margin:.5rem auto}.add-items-button{text-transform:capitalize;position:fixed;bottom:16px;right:16px;height:50px;--padding-start:20px;--padding-bottom:10px;--padding-top:10px;--padding-end:20px;--border-radius:16px}ion-spinner,ion-spinner[data-v-5ba64bfe]{margin-top:2rem}html.ios{--ion-default-font:-apple-system,BlinkMacSystemFont,"Helvetica Neue","Roboto",sans-serif}html.md{--ion-default-font:"Roboto","Helvetica Neue",sans-serif}html{--ion-font-family:var(--ion-default-font)}body{background:var(--ion-background-color)}body.backdrop-no-scroll{overflow:hidden}html.ios ion-modal ion-footer ion-toolbar:first-of-type,html.ios ion-modal.modal-card ion-header ion-toolbar:first-of-type,html.ios ion-modal.modal-sheet ion-header ion-toolbar:first-of-type{padding-top:6px}html.ios ion-modal.modal-card ion-header ion-toolbar:last-of-type,html.ios ion-modal.modal-sheet ion-header ion-toolbar:last-of-type{padding-bottom:6px}html.ios ion-modal ion-toolbar{padding-right:calc(var(--ion-safe-area-right) + 8px);padding-left:calc(var(--ion-safe-area-left) + 8px)}@media screen and (min-width:768px){html.ios ion-modal.modal-card:first-of-type{--backdrop-opacity:0.18}}ion-modal.modal-default:not(.overlay-hidden)~ion-modal.modal-default{--backdrop-opacity:0;--box-shadow:none}html.ios ion-modal.modal-card .ion-page{border-top-left-radius:var(--border-radius)}.ion-color-primary{--ion-color-base:var(--ion-color-primary,#3880ff)!important;--ion-color-base-rgb:var(--ion-color-primary-rgb,56,128,255)!important;--ion-color-contrast:var(--ion-color-primary-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-primary-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-primary-shade,#3171e0)!important;--ion-color-tint:var(--ion-color-primary-tint,#4c8dff)!important}.ion-color-secondary{--ion-color-base:var(--ion-color-secondary,#3dc2ff)!important;--ion-color-base-rgb:var(--ion-color-secondary-rgb,61,194,255)!important;--ion-color-contrast:var(--ion-color-secondary-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-secondary-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-secondary-shade,#36abe0)!important;--ion-color-tint:var(--ion-color-secondary-tint,#50c8ff)!important}.ion-color-tertiary{--ion-color-base:var(--ion-color-tertiary,#5260ff)!important;--ion-color-base-rgb:var(--ion-color-tertiary-rgb,82,96,255)!important;--ion-color-contrast:var(--ion-color-tertiary-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-tertiary-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-tertiary-shade,#4854e0)!important;--ion-color-tint:var(--ion-color-tertiary-tint,#6370ff)!important}.ion-color-success{--ion-color-base:var(--ion-color-success,#2dd36f)!important;--ion-color-base-rgb:var(--ion-color-success-rgb,45,211,111)!important;--ion-color-contrast:var(--ion-color-success-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-success-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-success-shade,#28ba62)!important;--ion-color-tint:var(--ion-color-success-tint,#42d77d)!important}.ion-color-warning{--ion-color-base:var(--ion-color-warning,#ffc409)!important;--ion-color-base-rgb:var(--ion-color-warning-rgb,255,196,9)!important;--ion-color-contrast:var(--ion-color-warning-contrast,#000)!important;--ion-color-contrast-rgb:var(--ion-color-warning-contrast-rgb,0,0,0)!important;--ion-color-shade:var(--ion-color-warning-shade,#e0ac08)!important;--ion-color-tint:var(--ion-color-warning-tint,#ffca22)!important}.ion-color-danger{--ion-color-base:var(--ion-color-danger,#eb445a)!important;--ion-color-base-rgb:var(--ion-color-danger-rgb,235,68,90)!important;--ion-color-contrast:var(--ion-color-danger-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-danger-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-danger-shade,#cf3c4f)!important;--ion-color-tint:var(--ion-color-danger-tint,#ed576b)!important}.ion-color-light{--ion-color-base:var(--ion-color-light,#f4f5f8)!important;--ion-color-base-rgb:var(--ion-color-light-rgb,244,245,248)!important;--ion-color-contrast:var(--ion-color-light-contrast,#000)!important;--ion-color-contrast-rgb:var(--ion-color-light-contrast-rgb,0,0,0)!important;--ion-color-shade:var(--ion-color-light-shade,#d7d8da)!important;--ion-color-tint:var(--ion-color-light-tint,#f5f6f9)!important}.ion-color-medium{--ion-color-base:var(--ion-color-medium,#92949c)!important;--ion-color-base-rgb:var(--ion-color-medium-rgb,146,148,156)!important;--ion-color-contrast:var(--ion-color-medium-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-medium-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-medium-shade,#808289)!important;--ion-color-tint:var(--ion-color-medium-tint,#9d9fa6)!important}.ion-color-dark{--ion-color-base:var(--ion-color-dark,#222428)!important;--ion-color-base-rgb:var(--ion-color-dark-rgb,34,36,40)!important;--ion-color-contrast:var(--ion-color-dark-contrast,#fff)!important;--ion-color-contrast-rgb:var(--ion-color-dark-contrast-rgb,255,255,255)!important;--ion-color-shade:var(--ion-color-dark-shade,#1e2023)!important;--ion-color-tint:var(--ion-color-dark-tint,#383a3e)!important}.ion-page{left:0;right:0;top:0;bottom:0;display:flex;position:absolute;flex-direction:column;justify-content:space-between;contain:layout size style;overflow:hidden;z-index:0}.split-pane-visible>.ion-page.split-pane-main{position:relative}.ion-page-hidden,[hidden],ion-action-sheet-controller,ion-alert-controller,ion-loading-controller,ion-menu-controller,ion-modal-controller,ion-nav-controller,ion-picker-controller,ion-popover-controller,ion-route,ion-route-redirect,ion-router,ion-select-option,ion-toast-controller{display:none!important}.ion-page-invisible{opacity:0}.can-go-back>ion-header ion-back-button{display:block}html.plt-ios.plt-hybrid,html.plt-ios.plt-pwa{--ion-statusbar-padding:20px}@supports (padding-top:20px){html{--ion-safe-area-top:var(--ion-statusbar-padding)}}@supports (padding-top:constant(safe-area-inset-top)){html{--ion-safe-area-top:constant(safe-area-inset-top);--ion-safe-area-bottom:constant(safe-area-inset-bottom);--ion-safe-area-left:constant(safe-area-inset-left);--ion-safe-area-right:constant(safe-area-inset-right)}}@supports (padding-top:env(safe-area-inset-top)){html{--ion-safe-area-top:env(safe-area-inset-top);--ion-safe-area-bottom:env(safe-area-inset-bottom);--ion-safe-area-left:env(safe-area-inset-left);--ion-safe-area-right:env(safe-area-inset-right)}}ion-card-header.ion-color .ion-inherit-color,ion-card.ion-color .ion-inherit-color{color:inherit}.menu-content{transform:translateZ(0)}.menu-content-open{cursor:pointer;touch-action:manipulation;pointer-events:none}.ios .menu-content-reveal{box-shadow:-8px 0 42px rgba(0,0,0,.08)}[dir=rtl].ios .menu-content-reveal{box-shadow:8px 0 42px rgba(0,0,0,.08)}.md .menu-content-push,.md .menu-content-reveal{box-shadow:4px 0 16px rgba(0,0,0,.18)}ion-accordion-group.accordion-group-expand-inset>ion-accordion:first-of-type{border-top-left-radius:8px;border-top-right-radius:8px}ion-accordion-group.accordion-group-expand-inset>ion-accordion:last-of-type{border-bottom-left-radius:8px;border-bottom-right-radius:8px}ion-accordion-group>ion-accordion:last-of-type ion-item[slot=header]{--border-width:0px}ion-accordion.accordion-animated>[slot=header] .ion-accordion-toggle-icon{transition:transform .3s cubic-bezier(.25,.8,.5,1)}@media (prefers-reduced-motion:reduce){ion-accordion .ion-accordion-toggle-icon{transition:none!important}}ion-accordion.accordion-expanded>[slot=header] .ion-accordion-toggle-icon,ion-accordion.accordion-expanding>[slot=header] .ion-accordion-toggle-icon{transform:rotate(180deg)}ion-accordion-group.accordion-group-expand-inset.md>ion-accordion.accordion-previous ion-item[slot=header]{--border-width:0px;--inner-border-width:0px}ion-accordion-group.accordion-group-expand-inset.md>ion-accordion.accordion-expanded:first-of-type,ion-accordion-group.accordion-group-expand-inset.md>ion-accordion.accordion-expanding:first-of-type{margin-top:0}ion-input input::-webkit-date-and-time-value{text-align:start}audio,canvas,progress,video{vertical-align:baseline}audio:not([controls]){display:none;height:0}b,strong{font-weight:700}img{max-width:100%;border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:1px;border-width:0;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}input,label,select,textarea{font-family:inherit;line-height:normal}textarea{overflow:auto;height:auto;font:inherit;color:inherit}textarea::-moz-placeholder{padding-left:2px}textarea::placeholder{padding-left:2px}form,input,optgroup,select{margin:0;font:inherit;color:inherit}html input[type=button],input[type=reset],input[type=submit]{cursor:pointer;-webkit-appearance:button}.ion-tappable,[tappable],[tappable] div,[tappable] ion-icon,[tappable] ion-label,[tappable] span,a,a div,a ion-icon,a ion-label,a span,button,button div,button ion-icon,button ion-label,button span,input,textarea{touch-action:manipulation}a ion-label,button ion-label{pointer-events:none}button{border:0;border-radius:0;font-family:inherit;font-style:inherit;font-variant:inherit;line-height:1;text-transform:none;-webkit-appearance:button}[tappable],button{cursor:pointer}a[disabled],button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input[type=checkbox],input[type=radio]{padding:0;box-sizing:border-box}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}*{box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}html{width:100%;height:100%;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}html:not(.hydrated) body{display:none}html.ion-ce body{display:block}html.plt-pwa{height:100vh}body{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;position:fixed;width:100%;max-width:100%;height:100%;max-height:100%;transform:translateZ(0);text-rendering:optimizeLegibility;overflow:hidden;touch-action:manipulation;-webkit-user-drag:none;-ms-content-zooming:none;word-wrap:break-word;overscroll-behavior-y:none;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none}html{font-family:var(--ion-font-family)}a{background-color:transparent;color:var(--ion-color-primary,#3880ff)}h1,h2,h3,h4,h5,h6{margin-top:16px;margin-bottom:10px;font-weight:500;line-height:1.2}h1{margin-top:20px;font-size:26px}h2{margin-top:18px;font-size:24px}h3{font-size:22px}h4{font-size:20px}h5{font-size:18px}h6{font-size:16px}small,sub,sup{font-size:75%}sub,sup{position:relative;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}.ion-no-padding{--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.ion-padding{--padding-start:var(--ion-padding,16px);--padding-end:var(--ion-padding,16px);--padding-top:var(--ion-padding,16px);--padding-bottom:var(--ion-padding,16px);padding-left:var(--ion-padding,16px);padding-right:var(--ion-padding,16px);padding-top:var(--ion-padding,16px);padding-bottom:var(--ion-padding,16px)}@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.ion-padding{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-padding,16px);padding-inline-start:var(--ion-padding,16px);-webkit-padding-end:var(--ion-padding,16px);padding-inline-end:var(--ion-padding,16px)}}.ion-padding-top{--padding-top:var(--ion-padding,16px);padding-top:var(--ion-padding,16px)}.ion-padding-start{--padding-start:var(--ion-padding,16px);padding-left:var(--ion-padding,16px)}@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.ion-padding-start{padding-left:unset;-webkit-padding-start:var(--ion-padding,16px);padding-inline-start:var(--ion-padding,16px)}}.ion-padding-end{--padding-end:var(--ion-padding,16px);padding-right:var(--ion-padding,16px)}@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.ion-padding-end{padding-right:unset;-webkit-padding-end:var(--ion-padding,16px);padding-inline-end:var(--ion-padding,16px)}}.ion-padding-bottom{--padding-bottom:var(--ion-padding,16px);padding-bottom:var(--ion-padding,16px)}.ion-padding-vertical{--padding-top:var(--ion-padding,16px);--padding-bottom:var(--ion-padding,16px);padding-top:var(--ion-padding,16px);padding-bottom:var(--ion-padding,16px)}.ion-padding-horizontal{--padding-start:var(--ion-padding,16px);--padding-end:var(--ion-padding,16px);padding-left:var(--ion-padding,16px);padding-right:var(--ion-padding,16px)}@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.ion-padding-horizontal{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-padding,16px);padding-inline-start:var(--ion-padding,16px);-webkit-padding-end:var(--ion-padding,16px);padding-inline-end:var(--ion-padding,16px)}}.ion-no-margin{--margin-start:0;--margin-end:0;--margin-top:0;--margin-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.ion-margin{--margin-start:var(--ion-margin,16px);--margin-end:var(--ion-margin,16px);--margin-top:var(--ion-margin,16px);--margin-bottom:var(--ion-margin,16px);margin-left:var(--ion-margin,16px);margin-right:var(--ion-margin,16px);margin-top:var(--ion-margin,16px);margin-bottom:var(--ion-margin,16px)}@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.ion-margin{margin-left:unset;margin-right:unset;-webkit-margin-start:var(--ion-margin,16px);margin-inline-start:var(--ion-margin,16px);-webkit-margin-end:var(--ion-margin,16px);margin-inline-end:var(--ion-margin,16px)}}.ion-margin-top{--margin-top:var(--ion-margin,16px);margin-top:var(--ion-margin,16px)}.ion-margin-start{--margin-start:var(--ion-margin,16px);margin-left:var(--ion-margin,16px)}@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.ion-margin-start{margin-left:unset;-webkit-margin-start:var(--ion-margin,16px);margin-inline-start:var(--ion-margin,16px)}}.ion-margin-end{--margin-end:var(--ion-margin,16px);margin-right:var(--ion-margin,16px)}@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.ion-margin-end{margin-right:unset;-webkit-margin-end:var(--ion-margin,16px);margin-inline-end:var(--ion-margin,16px)}}.ion-margin-bottom{--margin-bottom:var(--ion-margin,16px);margin-bottom:var(--ion-margin,16px)}.ion-margin-vertical{--margin-top:var(--ion-margin,16px);--margin-bottom:var(--ion-margin,16px);margin-top:var(--ion-margin,16px);margin-bottom:var(--ion-margin,16px)}.ion-margin-horizontal{--margin-start:var(--ion-margin,16px);--margin-end:var(--ion-margin,16px);margin-left:var(--ion-margin,16px);margin-right:var(--ion-margin,16px)}@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){.ion-margin-horizontal{margin-left:unset;margin-right:unset;-webkit-margin-start:var(--ion-margin,16px);margin-inline-start:var(--ion-margin,16px);-webkit-margin-end:var(--ion-margin,16px);margin-inline-end:var(--ion-margin,16px)}}.ion-float-left{float:left!important}.ion-float-right{float:right!important}.ion-float-start{float:left!important}:host-context([dir=rtl]) .ion-float-start,[dir=rtl] .ion-float-start{float:right!important}.ion-float-end{float:right!important}:host-context([dir=rtl]) .ion-float-end,[dir=rtl] .ion-float-end{float:left!important}@media (min-width:576px){.ion-float-sm-left{float:left!important}.ion-float-sm-right{float:right!important}.ion-float-sm-start{float:left!important}:host-context([dir=rtl]) .ion-float-sm-start,[dir=rtl] .ion-float-sm-start{float:right!important}.ion-float-sm-end{float:right!important}:host-context([dir=rtl]) .ion-float-sm-end,[dir=rtl] .ion-float-sm-end{float:left!important}}@media (min-width:768px){.ion-float-md-left{float:left!important}.ion-float-md-right{float:right!important}.ion-float-md-start{float:left!important}:host-context([dir=rtl]) .ion-float-md-start,[dir=rtl] .ion-float-md-start{float:right!important}.ion-float-md-end{float:right!important}:host-context([dir=rtl]) .ion-float-md-end,[dir=rtl] .ion-float-md-end{float:left!important}}@media (min-width:992px){.ion-float-lg-left{float:left!important}.ion-float-lg-right{float:right!important}.ion-float-lg-start{float:left!important}:host-context([dir=rtl]) .ion-float-lg-start,[dir=rtl] .ion-float-lg-start{float:right!important}.ion-float-lg-end{float:right!important}:host-context([dir=rtl]) .ion-float-lg-end,[dir=rtl] .ion-float-lg-end{float:left!important}}@media (min-width:1200px){.ion-float-xl-left{float:left!important}.ion-float-xl-right{float:right!important}.ion-float-xl-start{float:left!important}:host-context([dir=rtl]) .ion-float-xl-start,[dir=rtl] .ion-float-xl-start{float:right!important}.ion-float-xl-end{float:right!important}:host-context([dir=rtl]) .ion-float-xl-end,[dir=rtl] .ion-float-xl-end{float:left!important}}.ion-text-center{text-align:center!important}.ion-text-justify{text-align:justify!important}.ion-text-start{text-align:start!important}.ion-text-end{text-align:end!important}.ion-text-left{text-align:left!important}.ion-text-right{text-align:right!important}.ion-text-nowrap{white-space:nowrap!important}.ion-text-wrap{white-space:normal!important}@media (min-width:576px){.ion-text-sm-center{text-align:center!important}.ion-text-sm-justify{text-align:justify!important}.ion-text-sm-start{text-align:start!important}.ion-text-sm-end{text-align:end!important}.ion-text-sm-left{text-align:left!important}.ion-text-sm-right{text-align:right!important}.ion-text-sm-nowrap{white-space:nowrap!important}.ion-text-sm-wrap{white-space:normal!important}}@media (min-width:768px){.ion-text-md-center{text-align:center!important}.ion-text-md-justify{text-align:justify!important}.ion-text-md-start{text-align:start!important}.ion-text-md-end{text-align:end!important}.ion-text-md-left{text-align:left!important}.ion-text-md-right{text-align:right!important}.ion-text-md-nowrap{white-space:nowrap!important}.ion-text-md-wrap{white-space:normal!important}}@media (min-width:992px){.ion-text-lg-center{text-align:center!important}.ion-text-lg-justify{text-align:justify!important}.ion-text-lg-start{text-align:start!important}.ion-text-lg-end{text-align:end!important}.ion-text-lg-left{text-align:left!important}.ion-text-lg-right{text-align:right!important}.ion-text-lg-nowrap{white-space:nowrap!important}.ion-text-lg-wrap{white-space:normal!important}}@media (min-width:1200px){.ion-text-xl-center{text-align:center!important}.ion-text-xl-justify{text-align:justify!important}.ion-text-xl-start{text-align:start!important}.ion-text-xl-end{text-align:end!important}.ion-text-xl-left{text-align:left!important}.ion-text-xl-right{text-align:right!important}.ion-text-xl-nowrap{white-space:nowrap!important}.ion-text-xl-wrap{white-space:normal!important}}.ion-text-uppercase{text-transform:uppercase!important}.ion-text-lowercase{text-transform:lowercase!important}.ion-text-capitalize{text-transform:capitalize!important}@media (min-width:576px){.ion-text-sm-uppercase{text-transform:uppercase!important}.ion-text-sm-lowercase{text-transform:lowercase!important}.ion-text-sm-capitalize{text-transform:capitalize!important}}@media (min-width:768px){.ion-text-md-uppercase{text-transform:uppercase!important}.ion-text-md-lowercase{text-transform:lowercase!important}.ion-text-md-capitalize{text-transform:capitalize!important}}@media (min-width:992px){.ion-text-lg-uppercase{text-transform:uppercase!important}.ion-text-lg-lowercase{text-transform:lowercase!important}.ion-text-lg-capitalize{text-transform:capitalize!important}}@media (min-width:1200px){.ion-text-xl-uppercase{text-transform:uppercase!important}.ion-text-xl-lowercase{text-transform:lowercase!important}.ion-text-xl-capitalize{text-transform:capitalize!important}}.ion-align-self-start{align-self:flex-start!important}.ion-align-self-end{align-self:flex-end!important}.ion-align-self-center{align-self:center!important}.ion-align-self-stretch{align-self:stretch!important}.ion-align-self-baseline{align-self:baseline!important}.ion-align-self-auto{align-self:auto!important}.ion-wrap{flex-wrap:wrap!important}.ion-nowrap{flex-wrap:nowrap!important}.ion-wrap-reverse{flex-wrap:wrap-reverse!important}.ion-justify-content-start{justify-content:flex-start!important}.ion-justify-content-center{justify-content:center!important}.ion-justify-content-end{justify-content:flex-end!important}.ion-justify-content-around{justify-content:space-around!important}.ion-justify-content-between{justify-content:space-between!important}.ion-justify-content-evenly{justify-content:space-evenly!important}.ion-align-items-start{align-items:flex-start!important}.ion-align-items-center{align-items:center!important}.ion-align-items-end{align-items:flex-end!important}.ion-align-items-stretch{align-items:stretch!important}.ion-align-items-baseline{align-items:baseline!important}.ion-hide,.ion-hide-down,.ion-hide-up{display:none!important}@media (min-width:576px){.ion-hide-sm-up{display:none!important}}@media (max-width:575.98px){.ion-hide-sm-down{display:none!important}}@media (min-width:768px){.ion-hide-md-up{display:none!important}}@media (max-width:767.98px){.ion-hide-md-down{display:none!important}}@media (min-width:992px){.ion-hide-lg-up{display:none!important}}@media (max-width:991.98px){.ion-hide-lg-down{display:none!important}}@media (min-width:1200px){.ion-hide-xl-up{display:none!important}}@media (max-width:1199.98px){.ion-hide-xl-down{display:none!important}}:root{--ion-background-color:#f6f6f6;--ion-color-primary:#298596;--ion-color-primary-rgb:41,133,150;--ion-color-primary-contrast:#fff;--ion-color-primary-contrast-rgb:255,255,255;--ion-color-primary-shade:#247584;--ion-color-primary-tint:#3e91a1;--ion-color-secondary:#4ea2ad;--ion-color-secondary-rgb:78,162,173;--ion-color-secondary-contrast:#000;--ion-color-secondary-contrast-rgb:0,0,0;--ion-color-secondary-shade:#458f98;--ion-color-secondary-tint:#60abb5;--ion-color-tertiary:#76c6cc;--ion-color-tertiary-rgb:118,198,204;--ion-color-tertiary-contrast:#000;--ion-color-tertiary-contrast-rgb:0,0,0;--ion-color-tertiary-shade:#68aeb4;--ion-color-tertiary-tint:#84ccd1;--ion-color-success:#2dd36f;--ion-color-success-rgb:45,211,111;--ion-color-success-contrast:#000;--ion-color-success-contrast-rgb:0,0,0;--ion-color-success-shade:#28ba62;--ion-color-success-tint:#42d77d;--ion-color-warning:#ffc409;--ion-color-warning-rgb:255,196,9;--ion-color-warning-contrast:#000;--ion-color-warning-contrast-rgb:0,0,0;--ion-color-warning-shade:#e0ac08;--ion-color-warning-tint:#ffca22;--ion-color-danger:#eb445a;--ion-color-danger-rgb:235,68,90;--ion-color-danger-contrast:#fff;--ion-color-danger-contrast-rgb:255,255,255;--ion-color-danger-shade:#cf3c4f;--ion-color-danger-tint:#ed576b;--ion-color-medium:#92949c;--ion-color-medium-rgb:146,148,156;--ion-color-medium-contrast:#000;--ion-color-medium-contrast-rgb:0,0,0;--ion-color-medium-shade:#808289;--ion-color-medium-tint:#9d9fa6;--ion-color-light:#f4f5f8;--ion-color-light-rgb:244,245,248;--ion-color-light-contrast:#000;--ion-color-light-contrast-rgb:0,0,0;--ion-color-light-shade:#d7d8da;--ion-color-light-tint:#f5f6f9}ion-spinner{display:block;margin:auto}ion-card{background:#fff;border-radius:0}.collection-list-item{--ion-item-background:#fff}.results-not-found{text-align:center}.searchbar-input{border-radius:30px!important;box-shadow:none!important;--background:#efefef}.header-md:after{display:none} \ No newline at end of file diff --git a/ios/App/App/public/img/logo.c406a55a.png b/ios/App/App/public/img/logo.c406a55a.png new file mode 100644 index 0000000000000000000000000000000000000000..c4d992668e3927aa6bee80cef43fec867e3b8f07 GIT binary patch literal 11817 zcmc(_^;;C*|NlQM3ohx>2-2;9bm!6?f`AC9AV`ChbVwtmC`f~Jmn;$sD4{e0(kw`K z=d!z>eZJm*!}t2m4|C02*O}{_^EmgJxu3`57H6ohK}O6#3;+O`mZqvP0Dy3pKm>#k zcNWU?`0obn1=BKt;Eo`OT`cb2Ccwnp+xUeatH&F6dqq06qtDr0IYzPs6)hP4ww)UvE5--^=6qb+oGs1F3>^z=to*E^z}s9(#87P*Yf4H0D(A~7 z1_M#<$&kI=kobl2&%I(D%068h%8@?Imfj={uaYw91(1&Gkm~fxD?gNi8(Y9u{ z@AFOxDgeMP(tcPE4nNYY#rS)1b1pl)AUfgfBf^EHKErsqOxouBS7riaN{hI7na$rKUqJu~le(UPxohTrAzIcP2K>@Qz z{fw?5!r&$Q9G(y^(g5%>e7^Zbtg4?3zf_R3B99MYw4*oYg z9|H1LFB`|-B-LaGB=QkUXu<_~K?*G8M!Zbz8)H9Ut43>!8&YJr3}~0pr$>H*uJ==9 z1GqjCDn5}jwAQ{3EO;rRR;AA#p@6=#Ac1?7`NvDWYv0UhPzj5)$8vjXW~Oe!6fx|! zsnP1ODHL|qYJbVs&^y1xk{4TxA0{8^N&n-2ktloG;By&b^*AuPbsovW9#Iv7FDNTZ zgk8*i^F-!#S%ioCc8Q)@FBdlmDz5lL$;At>)p3vM-;Y52ROin~iG|}UJq~a5_rWZ>eRGIMq52pL{q`v4*$lm{0<*5hQdlu_5N%bUdK7d$E;P zY`pX0fEQ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`h|8Sr#~P2Q%4-IY6#L*XldIEs-4IEY0SgJ z=3Knv07KRmCh}j53UA1ux3(}51U?WT6|wdoj!RF{nM&Zcb64gJKg9 xo`QsN$iTLxk6Z8n33YMf|4#|!y~z_SUgr+XIglk%9ap9VwAA!fYhceK{vRcEpv(XO literal 0 HcmV?d00001 diff --git a/ios/App/App/public/img/logo_square.e3a150ee.png b/ios/App/App/public/img/logo_square.e3a150ee.png new file mode 100644 index 0000000000000000000000000000000000000000..210adc0319abca0eb7e2504891732afb2783a308 GIT binary patch literal 42971 zcmXtAcRbbq_rEq-S7!Fe3L%--c16mTz4yrG+Iw9x3n6=!Ei0~!vdRt#;gXSL@BMq} z^Zotd(c{5uo^xL3JkRr-cd;63O2oHlZ$Tgs;>XHxEeHgQ5d5&>d z2A&YeeYTq)4BrwN1o-70FGYPXZC6__9}5o~h>wrYeFqmOPb&*IoBOUFc5k*MX(141 z$YZ#ij&JtgIlt^2@1U#e4bMDJ+X3r{NCs^A{<~~XsGxFVA9NJo9ZhAa+^(Hy3f^=y znsS|dG~-&~+}L=Z@4g~4xj@tR5}bEU1uD>?!AQuLr!?<5Up;*wWH%hVwYh(FDQ6s- zJot22eEYn8W%%PA=-7+fWaInYLTfOKTG?)6NS9>ia72U<%j$E8 zoxA`k?k0pDQXjI|Jc6B!tAU|`lZ=PP>c`lDP(XxOYn32GbP;U2%NiUj@nS2(SQXVB zwckc%c*)4f#`bA8A%$EgU)dsrW+nb=kr`W*V}y!C-NmS7>Qs}(B^s2q zuM?ug#j2=5S;7lqkVs?}v=37_r$+LDSpCN#WA@|~0ezBw4~U8HQNJwxGUPc%?KC9l zqtlw;SQVC@?xjxLcrPp zRg!}eIGyH&JFmvl&*|AWnTrhzzdQY^@O3fu!|ZAp?5U_8`D3iH5bSCUA!dTa~`h0Tp>W+@#J21%b#Fm343ggtcRJFaK9EEzzpa8}t^wr6xxVvsA z+9bNq6ZXR()(ru_?e+vt${Y7$jr4fMEB_nzxlXnm-u>J+aE<>(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OOWhGVP(NX?C+zH?$x;)4$HAp>D13$FM~xM#w=+t4 zxNICCxu^)LDQA@WjJQvp6@wPV-J3w`N06l!Qe4!A!hJ7=-@X^joOID{B@Y}csQ1VO zP?_4J8Es73{qIrdo-w5eTr=vtCnpsut)WbIYC4oBBAiCW7mA#A*Ku!DoViLiY~U3@ z{TNOqq_(?%9rf8fD@+nI4fFhT-e5}r5hFrE`}&n=96$arA_25`H*q6%{U*;IQ`f1X zrHExOpapD=xb4=J=C3WqC$r88LEsY=;@C5VVbjxx5YJPK+?2UKVp2$e>-TIfDZPA}c^=S^TW0z@MY`0MPznd8 z`A={(IbI2Np#UTtwr2W=MD-;z!R9BDRyom#&B=-C2Rdg$4dDJ2cd@L$P$(e1;(G6{94`vjr@i$l?C4SpPLf|njVg`EAgog=S}YK+LGAa2kcVv ztDy)_&g%nU_a9Vsa#~HM;!Ir}+GmZDj`3^f(Cl%>Q$w#op)f{9nQFE)g-M7SIfdVi z0e|6oPA7(0_M*Z?{_wo)^-O;_9=Bie4g3)}dII!oZ(N4v!zN__AXB3u_(DHRShVqC zh32}A(_a0@{6-fSf{(*%x@Sq4VIUL^Onw-cfsTA5D%#vu*|H9&{h`3(#`57P;8mDT zNU$g-A40L&t0VTj-TkYpEKpzxN%&}sQ$}auFe<+S@`2CbJ73OL~Gy z%*$0RS175uuKhpIQs7C3-Lg#UdM%MnWE79`V63g6^Wew$0Yv!8$3f^lovoRYNQFP7 z#JLswPhW2e0=xdxtt1yg;8W6_((Mhm^}qF(il2c(FQJ*K_5G8cF%R`U7;vdXfoC~D z>FNW?{@6XK>@nbz9~m~c@>pCu#*}WWhb9+F3Ionic App

\ No newline at end of file diff --git a/ios/App/App/public/js/168.c83a23ff.js b/ios/App/App/public/js/168.c83a23ff.js new file mode 100644 index 0000000..fdb8b60 --- /dev/null +++ b/ios/App/App/public/js/168.c83a23ff.js @@ -0,0 +1,5 @@ +"use strict";(self["webpackChunktainacan_mobile"]=self["webpackChunktainacan_mobile"]||[]).push([[168],{3168:function(e,t,n){n.r(t),n.d(t,{startTapClick:function(){return i}});var o=n(6587); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */const i=e=>{let t,n,i,v=10*-u,f=0;const p=e.getBoolean("animated",!0)&&e.getBoolean("rippleEffect",!0),m=new WeakMap,h=e=>{v=(0,o.u)(e),T(e)},L=e=>{v=(0,o.u)(e),g(e)},w=e=>{const t=(0,o.u)(e)-u;v{const t=(0,o.u)(e)-u;v{g(e)},k=()=>{clearTimeout(i),i=void 0,t&&(y(!1),t=void 0)},T=e=>{t||R(s(e),e)},g=e=>{R(void 0,e)},R=(e,n)=>{if(e&&e===t)return;clearTimeout(i),i=void 0;const{x:s,y:c}=(0,o.q)(n);if(t){if(m.has(t))throw new Error("internal error");t.classList.contains(r)||C(t,s,c),y(!0)}if(e){const t=m.get(e);t&&(clearTimeout(t),m.delete(e));const n=a(e)?0:d;e.classList.remove(r),i=setTimeout((()=>{C(e,s,c),i=void 0}),n)}t=e},C=(e,t,o)=>{f=Date.now(),e.classList.add(r);const i=p&&c(e);i&&i.addRipple&&(q(),n=i.addRipple(t,o))},q=()=>{void 0!==n&&(n.then((e=>e())),n=void 0)},y=e=>{q();const n=t;if(!n)return;const o=l-Date.now()+f;if(e&&o>0&&!a(n)){const e=setTimeout((()=>{n.classList.remove(r),m.delete(n)}),l);m.set(n,e)}else n.classList.remove(r)},S=document;S.addEventListener("ionGestureCaptured",k),S.addEventListener("touchstart",h,!0),S.addEventListener("touchcancel",L,!0),S.addEventListener("touchend",L,!0),S.addEventListener("pointercancel",k,!0),S.addEventListener("mousedown",w,!0),S.addEventListener("mouseup",E,!0),S.addEventListener("contextmenu",b,!0)},s=e=>{if(!e.composedPath)return e.target.closest(".ion-activatable");{const t=e.composedPath();for(let e=0;ee.classList.contains("ion-activatable-instant"),c=e=>{if(e.shadowRoot){const t=e.shadowRoot.querySelector("ion-ripple-effect");if(t)return t}return e.querySelector("ion-ripple-effect")},r="ion-activated",d=200,l=200,u=2500}}]); +//# sourceMappingURL=168.c83a23ff.js.map \ No newline at end of file diff --git a/ios/App/App/public/js/168.c83a23ff.js.map b/ios/App/App/public/js/168.c83a23ff.js.map new file mode 100644 index 0000000..03dab8f --- /dev/null +++ b/ios/App/App/public/js/168.c83a23ff.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/168.c83a23ff.js","mappings":";;;GAKA,MAAMA,EAAiBC,IACrB,IAEIC,EACAC,EACAC,EAJAC,EAA0B,IAAbC,EACbC,EAAgB,EAIpB,MAAMC,EAAkBP,EAAOQ,WAAW,YAAY,IAASR,EAAOQ,WAAW,gBAAgB,GAC3FC,EAAc,IAAIC,QAElBC,EAAgBC,IACpBR,GAAY,OAAIQ,GAChBC,EAAYD,IAERE,EAAcF,IAClBR,GAAY,OAAIQ,GAChBG,EAAUH,IAENI,EAAeJ,IACnB,MAAMK,GAAI,OAAIL,GAAMP,EAChBD,EAAYa,GACdJ,EAAYD,IAGVM,EAAaN,IACjB,MAAMK,GAAI,OAAIL,GAAMP,EAChBD,EAAYa,GACdF,EAAUH,IAGRO,EAAiBP,IACrBG,EAAUH,IAENQ,EAAe,KACnBC,aAAalB,GACbA,OAAcmB,EACVrB,IACFsB,GAAgB,GAChBtB,OAAiBqB,IAGfT,EAAeD,IACfX,GAGJuB,EAAoBC,EAAqBb,GAAKA,IAE1CG,EAAaH,IACjBY,OAAoBF,EAAWV,IAE3BY,EAAsB,CAACE,EAAId,KAE/B,GAAIc,GAAMA,IAAOzB,EACf,OAEFoB,aAAalB,GACbA,OAAcmB,EACd,MAAM,EAAEK,EAAC,EAAEC,IAAM,OAAahB,GAE9B,GAAIX,EAAgB,CAClB,GAAIQ,EAAYoB,IAAI5B,GAClB,MAAM,IAAI6B,MAAM,kBAEb7B,EAAe8B,UAAUC,SAASC,IACrCC,EAAajC,EAAgB0B,EAAGC,GAElCL,GAAgB,GAGlB,GAAIG,EAAI,CACN,MAAMS,EAAU1B,EAAY2B,IAAIV,GAC5BS,IACFd,aAAac,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AII,EAAI,EAAGA,EAAID,EAAKE,OAAS,EAAGD,IAAK,CACxC,MAAMrC,EAAKoC,EAAKC,GAChB,KAAMrC,aAAcuC,aAAevC,EAAGK,UAAUC,SAAS,mBACvD,OAAON,KAQTa,EAAab,GACVA,EAAGK,UAAUC,SAAS,2BAEzBe,EAAmBrB,IACvB,GAAIA,EAAGwC,WAAY,CACjB,MAAMC,EAASzC,EAAGwC,WAAWE,cAAc,qBAC3C,GAAID,EACF,OAAOA,EAGX,OAAOzC,EAAG0C,cAAc,sBAEpBnC,EAAY,gBACZO,EAAuB,IACvBc,EAAqB,IACrBjD,EAAa","sources":["webpack://tainacan-mobile/./node_modules/@ionic/core/components/tap-click.js"],"sourcesContent":["/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { u as now, q as pointerCoord } from './helpers.js';\n\nconst startTapClick = (config) => {\n let lastTouch = -MOUSE_WAIT * 10;\n let lastActivated = 0;\n let activatableEle;\n let activeRipple;\n let activeDefer;\n const useRippleEffect = config.getBoolean('animated', true) && config.getBoolean('rippleEffect', true);\n const clearDefers = new WeakMap();\n // Touch Events\n const onTouchStart = (ev) => {\n lastTouch = now(ev);\n pointerDown(ev);\n };\n const onTouchEnd = (ev) => {\n lastTouch = now(ev);\n pointerUp(ev);\n };\n const onMouseDown = (ev) => {\n const t = now(ev) - MOUSE_WAIT;\n if (lastTouch < t) {\n pointerDown(ev);\n }\n };\n const onMouseUp = (ev) => {\n const t = now(ev) - MOUSE_WAIT;\n if (lastTouch < t) {\n pointerUp(ev);\n }\n };\n const onContextMenu = (ev) => {\n pointerUp(ev);\n };\n const cancelActive = () => {\n clearTimeout(activeDefer);\n activeDefer = undefined;\n if (activatableEle) {\n removeActivated(false);\n activatableEle = undefined;\n }\n };\n const pointerDown = (ev) => {\n if (activatableEle) {\n return;\n }\n setActivatedElement(getActivatableTarget(ev), ev);\n };\n const pointerUp = (ev) => {\n setActivatedElement(undefined, ev);\n };\n const setActivatedElement = (el, ev) => {\n // do nothing\n if (el && el === activatableEle) {\n return;\n }\n clearTimeout(activeDefer);\n activeDefer = undefined;\n const { x, y } = pointerCoord(ev);\n // deactivate selected\n if (activatableEle) {\n if (clearDefers.has(activatableEle)) {\n throw new Error('internal error');\n }\n if (!activatableEle.classList.contains(ACTIVATED)) {\n addActivated(activatableEle, x, y);\n }\n removeActivated(true);\n }\n // activate\n if (el) {\n const deferId = clearDefers.get(el);\n if (deferId) {\n clearTimeout(deferId);\n clearDefers.delete(el);\n }\n const delay = isInstant(el) ? 0 : ADD_ACTIVATED_DEFERS;\n el.classList.remove(ACTIVATED);\n activeDefer = setTimeout(() => {\n addActivated(el, x, y);\n activeDefer = undefined;\n }, delay);\n }\n activatableEle = el;\n };\n const addActivated = (el, x, y) => {\n lastActivated = Date.now();\n el.classList.add(ACTIVATED);\n const rippleEffect = useRippleEffect && getRippleEffect(el);\n // eslint-disable-next-line @typescript-eslint/prefer-optional-chain\n if (rippleEffect && rippleEffect.addRipple) {\n removeRipple();\n activeRipple = rippleEffect.addRipple(x, y);\n }\n };\n const removeRipple = () => {\n if (activeRipple !== undefined) {\n activeRipple.then((remove) => remove());\n activeRipple = undefined;\n }\n };\n const removeActivated = (smooth) => {\n removeRipple();\n const active = activatableEle;\n if (!active) {\n return;\n }\n const time = CLEAR_STATE_DEFERS - Date.now() + lastActivated;\n if (smooth && time > 0 && !isInstant(active)) {\n const deferId = setTimeout(() => {\n active.classList.remove(ACTIVATED);\n clearDefers.delete(active);\n }, CLEAR_STATE_DEFERS);\n clearDefers.set(active, deferId);\n }\n else {\n active.classList.remove(ACTIVATED);\n }\n };\n const doc = document;\n doc.addEventListener('ionGestureCaptured', cancelActive);\n doc.addEventListener('touchstart', onTouchStart, true);\n doc.addEventListener('touchcancel', onTouchEnd, true);\n doc.addEventListener('touchend', onTouchEnd, true);\n /**\n * Tap click effects such as the ripple effect should\n * not happen when scrolling. For example, if a user scrolls\n * the page but also happens to do a touchstart on a button\n * as part of the scroll, the ripple effect should not\n * be dispatched. The ripple effect should only happen\n * if the button is activated and the page is not scrolling.\n *\n * pointercancel is dispatched on a gesture when scrolling\n * starts, so this lets us avoid having to listen for\n * ion-content's scroll events.\n */\n doc.addEventListener('pointercancel', cancelActive, true);\n doc.addEventListener('mousedown', onMouseDown, true);\n doc.addEventListener('mouseup', onMouseUp, true);\n doc.addEventListener('contextmenu', onContextMenu, true);\n};\nconst getActivatableTarget = (ev) => {\n if (ev.composedPath) {\n /**\n * composedPath returns EventTarget[]. However,\n * objects other than Element can be targets too.\n * For example, AudioContext can be a target. In this\n * case, we know that the event is a UIEvent so we\n * can assume that the path will contain either Element\n * or ShadowRoot.\n */\n const path = ev.composedPath();\n for (let i = 0; i < path.length - 2; i++) {\n const el = path[i];\n if (!(el instanceof ShadowRoot) && el.classList.contains('ion-activatable')) {\n return el;\n }\n }\n }\n else {\n return ev.target.closest('.ion-activatable');\n }\n};\nconst isInstant = (el) => {\n return el.classList.contains('ion-activatable-instant');\n};\nconst getRippleEffect = (el) => {\n if (el.shadowRoot) {\n const ripple = el.shadowRoot.querySelector('ion-ripple-effect');\n if (ripple) {\n return ripple;\n }\n }\n return el.querySelector('ion-ripple-effect');\n};\nconst ACTIVATED = 'ion-activated';\nconst ADD_ACTIVATED_DEFERS = 200;\nconst CLEAR_STATE_DEFERS = 200;\nconst MOUSE_WAIT = 2500;\n\nexport { startTapClick };\n"],"names":["startTapClick","config","activatableEle","activeRipple","activeDefer","lastTouch","MOUSE_WAIT","lastActivated","useRippleEffect","getBoolean","clearDefers","WeakMap","onTouchStart","ev","pointerDown","onTouchEnd","pointerUp","onMouseDown","t","onMouseUp","onContextMenu","cancelActive","clearTimeout","undefined","removeActivated","setActivatedElement","getActivatableTarget","el","x","y","has","Error","classList","contains","ACTIVATED","addActivated","deferId","get","delete","delay","isInstant","ADD_ACTIVATED_DEFERS","remove","setTimeout","Date","now","add","rippleEffect","getRippleEffect","addRipple","removeRipple","then","smooth","active","time","CLEAR_STATE_DEFERS","set","doc","document","addEventListener","composedPath","target","closest","path","i","length","ShadowRoot","shadowRoot","ripple","querySelector"],"sourceRoot":""} \ No newline at end of file diff --git a/ios/App/App/public/js/338.fff3ebb3.js b/ios/App/App/public/js/338.fff3ebb3.js new file mode 100644 index 0000000..3b477e7 --- /dev/null +++ b/ios/App/App/public/js/338.fff3ebb3.js @@ -0,0 +1,6 @@ +"use strict";(self["webpackChunktainacan_mobile"]=self["webpackChunktainacan_mobile"]||[]).push([[338],{6338:function(e,t,o){o.r(t),o.d(t,{iosTransitionAnimation:function(){return p},shadow:function(){return s}});var n=o(5980),r=o(5026); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const a=540,l=e=>document.querySelector(`${e}.ion-cloned-element`),s=e=>e.shadowRoot||e,i=e=>{const t="ION-TABS"===e.tagName?e:e.querySelector("ion-tabs"),o="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=t){const e=t.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=e?e.querySelector(o):null}return e.querySelector(o)},c=(e,t)=>{const o="ION-TABS"===e.tagName?e:e.querySelector("ion-tabs");let n=[];if(null!=o){const e=o.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=e&&(n=e.querySelectorAll("ion-buttons"))}else n=e.querySelectorAll("ion-buttons");for(const r of n){const e=r.closest("ion-header"),o=e&&!e.classList.contains("header-collapse-condense-inactive"),n=r.querySelector("ion-back-button"),a=r.classList.contains("buttons-collapse"),l="start"===r.slot||""===r.slot;if(null!==n&&l&&(a&&o&&t||!a))return n}return null},d=(e,t,o,n,r)=>{const a=c(n,o),l=i(r),s=i(n),d=c(r,o),p=null!==a&&null!==l&&!o,y=null!==s&&null!==d&&o;if(p){const n=l.getBoundingClientRect(),r=a.getBoundingClientRect();m(e,t,o,l,n,r),f(e,t,o,a,n,r)}else if(y){const n=s.getBoundingClientRect(),r=d.getBoundingClientRect();m(e,t,o,s,n,r),f(e,t,o,d,n,r)}return{forward:p,backward:y}},f=(e,t,o,r,a,i)=>{const c=t?`calc(100% - ${i.right+4}px)`:i.left-4+"px",d=t?"7px":"-7px",f=t?"-4px":"4px",m=t?"-4px":"4px",p=t?"right":"left",y=t?"left":"right",u=[{offset:0,opacity:0,transform:`translate3d(${d}, ${a.top-40}px, 0) scale(2.1)`},{offset:1,opacity:1,transform:`translate3d(${f}, ${i.top-46}px, 0) scale(1)`}],b=[{offset:0,opacity:1,transform:`translate3d(${f}, ${i.top-46}px, 0) scale(1)`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${d}, ${a.top-40}px, 0) scale(2.1)`}],S=o?b:u,$=[{offset:0,opacity:0,transform:`translate3d(${m}, ${i.top-41}px, 0) scale(0.6)`},{offset:1,opacity:1,transform:`translate3d(${m}, ${i.top-46}px, 0) scale(1)`}],g=[{offset:0,opacity:1,transform:`translate3d(${m}, ${i.top-46}px, 0) scale(1)`},{offset:.2,opacity:0,transform:`translate3d(${m}, ${i.top-41}px, 0) scale(0.6)`},{offset:1,opacity:0,transform:`translate3d(${m}, ${i.top-41}px, 0) scale(0.6)`}],T=o?g:$,h=(0,n.c)(),x=(0,n.c)(),q=l("ion-back-button"),X=s(q).querySelector(".button-text"),A=s(q).querySelector("ion-icon");q.text=r.text,q.mode=r.mode,q.icon=r.icon,q.color=r.color,q.disabled=r.disabled,q.style.setProperty("display","block"),q.style.setProperty("position","fixed"),x.addElement(A),h.addElement(X),h.beforeStyles({"transform-origin":`${p} center`}).beforeAddWrite((()=>{r.style.setProperty("display","none"),q.style.setProperty(p,c)})).afterAddWrite((()=>{r.style.setProperty("display",""),q.style.setProperty("display","none"),q.style.removeProperty(p)})).keyframes(S),x.beforeStyles({"transform-origin":`${y} center`}).keyframes(T),e.addAnimation([h,x])},m=(e,t,o,r,a,s)=>{const i=t?`calc(100% - ${a.right}px)`:`${a.left}px`,c=t?"-18px":"18px",d=t?"right":"left",f=[{offset:0,opacity:0,transform:`translate3d(${c}, ${s.top-4}px, 0) scale(0.49)`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0, ${a.top-2}px, 0) scale(1)`}],m=[{offset:0,opacity:.99,transform:`translate3d(0, ${a.top-2}px, 0) scale(1)`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${c}, ${s.top-4}px, 0) scale(0.5)`}],p=o?f:m,y=l("ion-title"),u=(0,n.c)();y.innerText=r.innerText,y.size=r.size,y.color=r.color,u.addElement(y),u.beforeStyles({"transform-origin":`${d} center`,height:"46px",display:"",position:"relative",[d]:i}).beforeAddWrite((()=>{r.style.setProperty("display","none")})).afterAddWrite((()=>{r.style.setProperty("display",""),y.style.setProperty("display","none")})).keyframes(p),e.addAnimation(u)},p=(e,t)=>{try{const o="cubic-bezier(0.32,0.72,0,1)",l="opacity",i="transform",c="0%",f=.8,m="rtl"===e.ownerDocument.dir,p=m?"-99.5%":"99.5%",y=m?"33%":"-33%",u=t.enteringEl,b=t.leavingEl,S="back"===t.direction,$=u.querySelector(":scope > ion-content"),g=u.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),T=u.querySelectorAll(":scope > ion-header > ion-toolbar"),h=(0,n.c)(),x=(0,n.c)();if(h.addElement(u).duration(t.duration||a).easing(t.easing||o).fill("both").beforeRemoveClass("ion-page-invisible"),b&&e){const t=(0,n.c)();t.addElement(e),h.addAnimation(t)}if($||0!==T.length||0!==g.length?(x.addElement($),x.addElement(g)):x.addElement(u.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),h.addAnimation(x),S?x.beforeClearStyles([l]).fromTo("transform",`translateX(${y})`,`translateX(${c})`).fromTo(l,f,1):x.beforeClearStyles([l]).fromTo("transform",`translateX(${p})`,`translateX(${c})`),$){const e=s($).querySelector(".transition-effect");if(e){const t=e.querySelector(".transition-cover"),o=e.querySelector(".transition-shadow"),r=(0,n.c)(),a=(0,n.c)(),s=(0,n.c)();r.addElement(e).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),a.addElement(t).beforeClearStyles([l]).fromTo(l,0,.1),s.addElement(o).beforeClearStyles([l]).fromTo(l,.03,.7),r.addAnimation([a,s]),x.addAnimation([r])}}const q=u.querySelector("ion-header.header-collapse-condense"),{forward:X,backward:A}=d(h,m,S,u,b);if(T.forEach((e=>{const t=(0,n.c)();t.addElement(e),h.addAnimation(t);const o=(0,n.c)();o.addElement(e.querySelector("ion-title"));const r=(0,n.c)(),a=Array.from(e.querySelectorAll("ion-buttons,[menuToggle]")),i=e.closest("ion-header"),d=null===i||void 0===i?void 0:i.classList.contains("header-collapse-condense-inactive");let f;f=S?a.filter((e=>{const t=e.classList.contains("buttons-collapse");return t&&!d||!t})):a.filter((e=>!e.classList.contains("buttons-collapse"))),r.addElement(f);const u=(0,n.c)();u.addElement(e.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const b=(0,n.c)();b.addElement(s(e).querySelector(".toolbar-background"));const $=(0,n.c)(),g=e.querySelector("ion-back-button");if(g&&$.addElement(g),t.addAnimation([o,r,u,b,$]),r.fromTo(l,.01,1),u.fromTo(l,.01,1),S)d||o.fromTo("transform",`translateX(${y})`,`translateX(${c})`).fromTo(l,.01,1),u.fromTo("transform",`translateX(${y})`,`translateX(${c})`),$.fromTo(l,.01,1);else{q||o.fromTo("transform",`translateX(${p})`,`translateX(${c})`).fromTo(l,.01,1),u.fromTo("transform",`translateX(${p})`,`translateX(${c})`),b.beforeClearStyles([l,"transform"]);const e=null===i||void 0===i?void 0:i.translucent;if(e?b.fromTo("transform",m?"translateX(-100%)":"translateX(100%)","translateX(0px)"):b.fromTo(l,.01,"var(--opacity)"),X||$.fromTo(l,.01,1),g&&!X){const e=(0,n.c)();e.addElement(s(g).querySelector(".button-text")).fromTo("transform",m?"translateX(-100px)":"translateX(100px)","translateX(0px)"),t.addAnimation(e)}}})),b){const e=(0,n.c)(),t=b.querySelector(":scope > ion-content"),o=b.querySelectorAll(":scope > ion-header > ion-toolbar"),a=b.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(t||0!==o.length||0!==a.length?(e.addElement(t),e.addElement(a)):e.addElement(b.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),h.addAnimation(e),S){e.beforeClearStyles([l]).fromTo("transform",`translateX(${c})`,m?"translateX(-100%)":"translateX(100%)");const t=(0,r.g)(b);h.afterAddWrite((()=>{"normal"===h.getDirection()&&t.style.setProperty("display","none")}))}else e.fromTo("transform",`translateX(${c})`,`translateX(${y})`).fromTo(l,1,f);if(t){const o=s(t).querySelector(".transition-effect");if(o){const t=o.querySelector(".transition-cover"),r=o.querySelector(".transition-shadow"),a=(0,n.c)(),s=(0,n.c)(),i=(0,n.c)();a.addElement(o).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),s.addElement(t).beforeClearStyles([l]).fromTo(l,.1,0),i.addElement(r).beforeClearStyles([l]).fromTo(l,.7,.03),a.addAnimation([s,i]),e.addAnimation([a])}}o.forEach((e=>{const t=(0,n.c)();t.addElement(e);const o=(0,n.c)();o.addElement(e.querySelector("ion-title"));const r=(0,n.c)(),a=e.querySelectorAll("ion-buttons,[menuToggle]"),d=e.closest("ion-header"),f=null===d||void 0===d?void 0:d.classList.contains("header-collapse-condense-inactive"),p=Array.from(a).filter((e=>{const t=e.classList.contains("buttons-collapse");return t&&!f||!t}));r.addElement(p);const u=(0,n.c)(),b=e.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");b.length>0&&u.addElement(b);const $=(0,n.c)();$.addElement(s(e).querySelector(".toolbar-background"));const g=(0,n.c)(),T=e.querySelector("ion-back-button");if(T&&g.addElement(T),t.addAnimation([o,r,u,g,$]),h.addAnimation(t),g.fromTo(l,.99,0),r.fromTo(l,.99,0),u.fromTo(l,.99,0),S){f||o.fromTo("transform",`translateX(${c})`,m?"translateX(-100%)":"translateX(100%)").fromTo(l,.99,0),u.fromTo("transform",`translateX(${c})`,m?"translateX(-100%)":"translateX(100%)"),$.beforeClearStyles([l,"transform"]);const e=null===d||void 0===d?void 0:d.translucent;if(e?$.fromTo("transform","translateX(0px)",m?"translateX(-100%)":"translateX(100%)"):$.fromTo(l,"var(--opacity)",0),T&&!A){const e=(0,n.c)();e.addElement(s(T).querySelector(".button-text")).fromTo("transform",`translateX(${c})`,`translateX(${(m?-124:124)+"px"})`),t.addAnimation(e)}}else f||o.fromTo("transform",`translateX(${c})`,`translateX(${y})`).fromTo(l,.99,0).afterClearStyles([i,l]),u.fromTo("transform",`translateX(${c})`,`translateX(${y})`).afterClearStyles([i,l]),g.afterClearStyles([l]),o.afterClearStyles([l]),r.afterClearStyles([l])}))}return h}catch(o){throw o}}}}]); +//# sourceMappingURL=338.fff3ebb3.js.map \ No newline at end of file diff --git a/ios/App/App/public/js/338.fff3ebb3.js.map b/ios/App/App/public/js/338.fff3ebb3.js.map new file mode 100644 index 0000000..0401cff --- /dev/null +++ b/ios/App/App/public/js/338.fff3ebb3.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/338.fff3ebb3.js","mappings":";;;;AAMA,MAAMA,EAAW,IACXC,EAAoBC,GACjBC,SAASC,cAAc,GAAGF,wBAE7BG,EAAUC,GACPA,EAAGC,YAAcD,EAEpBE,EAAiBC,IACrB,MAAMC,EAAyB,aAAlBD,EAAMP,QAAyBO,EAAQA,EAAML,cAAc,YAClEO,EAAQ,uFACd,GAAY,MAARD,EAAc,CAChB,MAAME,EAAYF,EAAKN,cAAc,6DACrC,OAAoB,MAAbQ,EAAoBA,EAAUR,cAAcO,GAAS,KAE9D,OAAOF,EAAML,cAAcO,IAEvBE,EAAgB,CAACJ,EAAOK,KAC5B,MAAMJ,EAAyB,aAAlBD,EAAMP,QAAyBO,EAAQA,EAAML,cAAc,YACxE,IAAIW,EAAc,GAClB,GAAY,MAARL,EAAc,CAChB,MAAME,EAAYF,EAAKN,cAAc,6DACpB,MAAbQ,IACFG,EAAcH,EAAUI,iBAAiB,qBAI3CD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EAAQ,oBAAsB,oBAC/F8D,EAAiB9C,kBAAkB,CAACpB,EAAS,cAG7C,MAAM4C,EAAqC,OAAjBpI,QAA0C,IAAjBA,OAA0B,EAASA,EAAaqI,YAOnG,GANKD,EAIHsB,EAAiB7C,OAAO,YAAa,kBAAmBjB,EAAQ,oBAAsB,oBAHtF8D,EAAiB7C,OAAOrB,EAAS,iBAAkB,GAKjD3D,IAAiBD,EAAU,CAC7B,MAAM+H,GAAqB,IAAAxG,KAC3BwG,EACG5F,WAAW5E,EAAO0C,GAAc3C,cAAc,iBAC9C2H,OAAO,YAAa,cAAcnB,KAAW,eAAeE,GAAS,IAAM,KAAO,SACrFyD,EAAehF,aAAasF,SAKzB9B,GACHyB,EACGzC,OAAO,YAAa,cAAcnB,KAAW,cAAcM,MAC3Da,OAAOrB,EAAS,IAAM,GACtBoE,iBAAiB,CAACnE,EAAWD,IAElCgE,EACG3C,OAAO,YAAa,cAAcnB,KAAW,cAAcM,MAC3D4D,iBAAiB,CAACnE,EAAWD,IAChCvE,EAAkB2I,iBAAiB,CAACpE,IACpC8D,EAAaM,iBAAiB,CAACpE,IAC/B+D,EAAsBK,iBAAiB,CAACpE,OAI9C,OAAO9E,EAET,MAAOmJ,GACL,MAAMA","sources":["webpack://tainacan-mobile/./node_modules/@ionic/core/components/ios.transition.js"],"sourcesContent":["/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { c as createAnimation } from './animation.js';\nimport { g as getIonPageElement } from './index4.js';\n\nconst DURATION = 540;\nconst getClonedElement = (tagName) => {\n return document.querySelector(`${tagName}.ion-cloned-element`);\n};\nconst shadow = (el) => {\n return el.shadowRoot || el;\n};\nconst getLargeTitle = (refEl) => {\n const tabs = refEl.tagName === 'ION-TABS' ? refEl : refEl.querySelector('ion-tabs');\n const query = 'ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large';\n if (tabs != null) {\n const activeTab = tabs.querySelector('ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)');\n return activeTab != null ? activeTab.querySelector(query) : null;\n }\n return refEl.querySelector(query);\n};\nconst getBackButton = (refEl, backDirection) => {\n const tabs = refEl.tagName === 'ION-TABS' ? refEl : refEl.querySelector('ion-tabs');\n let buttonsList = [];\n if (tabs != null) {\n const activeTab = tabs.querySelector('ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)');\n if (activeTab != null) {\n buttonsList = activeTab.querySelectorAll('ion-buttons');\n }\n }\n else {\n buttonsList = refEl.querySelectorAll('ion-buttons');\n }\n for (const buttons of buttonsList) {\n const parentHeader = buttons.closest('ion-header');\n const activeHeader = parentHeader && !parentHeader.classList.contains('header-collapse-condense-inactive');\n const backButton = buttons.querySelector('ion-back-button');\n const buttonsCollapse = buttons.classList.contains('buttons-collapse');\n const startSlot = buttons.slot === 'start' || buttons.slot === '';\n if (backButton !== null && startSlot && ((buttonsCollapse && activeHeader && backDirection) || !buttonsCollapse)) {\n return backButton;\n }\n }\n return null;\n};\nconst createLargeTitleTransition = (rootAnimation, rtl, backDirection, enteringEl, leavingEl) => {\n const enteringBackButton = getBackButton(enteringEl, backDirection);\n const leavingLargeTitle = getLargeTitle(leavingEl);\n const enteringLargeTitle = getLargeTitle(enteringEl);\n const leavingBackButton = getBackButton(leavingEl, backDirection);\n const shouldAnimationForward = enteringBackButton !== null && leavingLargeTitle !== null && !backDirection;\n const shouldAnimationBackward = enteringLargeTitle !== null && leavingBackButton !== null && backDirection;\n if (shouldAnimationForward) {\n const leavingLargeTitleBox = leavingLargeTitle.getBoundingClientRect();\n const enteringBackButtonBox = enteringBackButton.getBoundingClientRect();\n animateLargeTitle(rootAnimation, rtl, backDirection, leavingLargeTitle, leavingLargeTitleBox, enteringBackButtonBox);\n animateBackButton(rootAnimation, rtl, backDirection, enteringBackButton, leavingLargeTitleBox, enteringBackButtonBox);\n }\n else if (shouldAnimationBackward) {\n const enteringLargeTitleBox = enteringLargeTitle.getBoundingClientRect();\n const leavingBackButtonBox = leavingBackButton.getBoundingClientRect();\n animateLargeTitle(rootAnimation, rtl, backDirection, enteringLargeTitle, enteringLargeTitleBox, leavingBackButtonBox);\n animateBackButton(rootAnimation, rtl, backDirection, leavingBackButton, enteringLargeTitleBox, leavingBackButtonBox);\n }\n return {\n forward: shouldAnimationForward,\n backward: shouldAnimationBackward,\n };\n};\nconst animateBackButton = (rootAnimation, rtl, backDirection, backButtonEl, largeTitleBox, backButtonBox) => {\n const BACK_BUTTON_START_OFFSET = rtl ? `calc(100% - ${backButtonBox.right + 4}px)` : `${backButtonBox.left - 4}px`;\n const START_TEXT_TRANSLATE = rtl ? '7px' : '-7px';\n const END_TEXT_TRANSLATE = rtl ? '-4px' : '4px';\n const ICON_TRANSLATE = rtl ? '-4px' : '4px';\n const TEXT_ORIGIN_X = rtl ? 'right' : 'left';\n const ICON_ORIGIN_X = rtl ? 'left' : 'right';\n const FORWARD_TEXT_KEYFRAMES = [\n {\n offset: 0,\n opacity: 0,\n transform: `translate3d(${START_TEXT_TRANSLATE}, ${largeTitleBox.top - 40}px, 0) scale(2.1)`,\n },\n { offset: 1, opacity: 1, transform: `translate3d(${END_TEXT_TRANSLATE}, ${backButtonBox.top - 46}px, 0) scale(1)` },\n ];\n const BACKWARD_TEXT_KEYFRAMES = [\n { offset: 0, opacity: 1, transform: `translate3d(${END_TEXT_TRANSLATE}, ${backButtonBox.top - 46}px, 0) scale(1)` },\n { offset: 0.6, opacity: 0 },\n {\n offset: 1,\n opacity: 0,\n transform: `translate3d(${START_TEXT_TRANSLATE}, ${largeTitleBox.top - 40}px, 0) scale(2.1)`,\n },\n ];\n const TEXT_KEYFRAMES = backDirection ? BACKWARD_TEXT_KEYFRAMES : FORWARD_TEXT_KEYFRAMES;\n const FORWARD_ICON_KEYFRAMES = [\n { offset: 0, opacity: 0, transform: `translate3d(${ICON_TRANSLATE}, ${backButtonBox.top - 41}px, 0) scale(0.6)` },\n { offset: 1, opacity: 1, transform: `translate3d(${ICON_TRANSLATE}, ${backButtonBox.top - 46}px, 0) scale(1)` },\n ];\n const BACKWARD_ICON_KEYFRAMES = [\n { offset: 0, opacity: 1, transform: `translate3d(${ICON_TRANSLATE}, ${backButtonBox.top - 46}px, 0) scale(1)` },\n { offset: 0.2, opacity: 0, transform: `translate3d(${ICON_TRANSLATE}, ${backButtonBox.top - 41}px, 0) scale(0.6)` },\n { offset: 1, opacity: 0, transform: `translate3d(${ICON_TRANSLATE}, ${backButtonBox.top - 41}px, 0) scale(0.6)` },\n ];\n const ICON_KEYFRAMES = backDirection ? BACKWARD_ICON_KEYFRAMES : FORWARD_ICON_KEYFRAMES;\n const enteringBackButtonTextAnimation = createAnimation();\n const enteringBackButtonIconAnimation = createAnimation();\n const clonedBackButtonEl = getClonedElement('ion-back-button');\n const backButtonTextEl = shadow(clonedBackButtonEl).querySelector('.button-text');\n const backButtonIconEl = shadow(clonedBackButtonEl).querySelector('ion-icon');\n clonedBackButtonEl.text = backButtonEl.text;\n clonedBackButtonEl.mode = backButtonEl.mode;\n clonedBackButtonEl.icon = backButtonEl.icon;\n clonedBackButtonEl.color = backButtonEl.color;\n clonedBackButtonEl.disabled = backButtonEl.disabled;\n clonedBackButtonEl.style.setProperty('display', 'block');\n clonedBackButtonEl.style.setProperty('position', 'fixed');\n enteringBackButtonIconAnimation.addElement(backButtonIconEl);\n enteringBackButtonTextAnimation.addElement(backButtonTextEl);\n enteringBackButtonTextAnimation\n .beforeStyles({\n 'transform-origin': `${TEXT_ORIGIN_X} center`,\n })\n .beforeAddWrite(() => {\n backButtonEl.style.setProperty('display', 'none');\n clonedBackButtonEl.style.setProperty(TEXT_ORIGIN_X, BACK_BUTTON_START_OFFSET);\n })\n .afterAddWrite(() => {\n backButtonEl.style.setProperty('display', '');\n clonedBackButtonEl.style.setProperty('display', 'none');\n clonedBackButtonEl.style.removeProperty(TEXT_ORIGIN_X);\n })\n .keyframes(TEXT_KEYFRAMES);\n enteringBackButtonIconAnimation\n .beforeStyles({\n 'transform-origin': `${ICON_ORIGIN_X} center`,\n })\n .keyframes(ICON_KEYFRAMES);\n rootAnimation.addAnimation([enteringBackButtonTextAnimation, enteringBackButtonIconAnimation]);\n};\nconst animateLargeTitle = (rootAnimation, rtl, backDirection, largeTitleEl, largeTitleBox, backButtonBox) => {\n const TITLE_START_OFFSET = rtl ? `calc(100% - ${largeTitleBox.right}px)` : `${largeTitleBox.left}px`;\n const START_TRANSLATE = rtl ? '-18px' : '18px';\n const ORIGIN_X = rtl ? 'right' : 'left';\n const BACKWARDS_KEYFRAMES = [\n { offset: 0, opacity: 0, transform: `translate3d(${START_TRANSLATE}, ${backButtonBox.top - 4}px, 0) scale(0.49)` },\n { offset: 0.1, opacity: 0 },\n { offset: 1, opacity: 1, transform: `translate3d(0, ${largeTitleBox.top - 2}px, 0) scale(1)` },\n ];\n const FORWARDS_KEYFRAMES = [\n { offset: 0, opacity: 0.99, transform: `translate3d(0, ${largeTitleBox.top - 2}px, 0) scale(1)` },\n { offset: 0.6, opacity: 0 },\n { offset: 1, opacity: 0, transform: `translate3d(${START_TRANSLATE}, ${backButtonBox.top - 4}px, 0) scale(0.5)` },\n ];\n const KEYFRAMES = backDirection ? BACKWARDS_KEYFRAMES : FORWARDS_KEYFRAMES;\n const clonedTitleEl = getClonedElement('ion-title');\n const clonedLargeTitleAnimation = createAnimation();\n clonedTitleEl.innerText = largeTitleEl.innerText;\n clonedTitleEl.size = largeTitleEl.size;\n clonedTitleEl.color = largeTitleEl.color;\n clonedLargeTitleAnimation.addElement(clonedTitleEl);\n clonedLargeTitleAnimation\n .beforeStyles({\n 'transform-origin': `${ORIGIN_X} center`,\n height: '46px',\n display: '',\n position: 'relative',\n [ORIGIN_X]: TITLE_START_OFFSET,\n })\n .beforeAddWrite(() => {\n largeTitleEl.style.setProperty('display', 'none');\n })\n .afterAddWrite(() => {\n largeTitleEl.style.setProperty('display', '');\n clonedTitleEl.style.setProperty('display', 'none');\n })\n .keyframes(KEYFRAMES);\n rootAnimation.addAnimation(clonedLargeTitleAnimation);\n};\nconst iosTransitionAnimation = (navEl, opts) => {\n try {\n const EASING = 'cubic-bezier(0.32,0.72,0,1)';\n const OPACITY = 'opacity';\n const TRANSFORM = 'transform';\n const CENTER = '0%';\n const OFF_OPACITY = 0.8;\n const isRTL = navEl.ownerDocument.dir === 'rtl';\n const OFF_RIGHT = isRTL ? '-99.5%' : '99.5%';\n const OFF_LEFT = isRTL ? '33%' : '-33%';\n const enteringEl = opts.enteringEl;\n const leavingEl = opts.leavingEl;\n const backDirection = opts.direction === 'back';\n const contentEl = enteringEl.querySelector(':scope > ion-content');\n const headerEls = enteringEl.querySelectorAll(':scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *');\n const enteringToolBarEls = enteringEl.querySelectorAll(':scope > ion-header > ion-toolbar');\n const rootAnimation = createAnimation();\n const enteringContentAnimation = createAnimation();\n rootAnimation\n .addElement(enteringEl)\n .duration(opts.duration || DURATION)\n .easing(opts.easing || EASING)\n .fill('both')\n .beforeRemoveClass('ion-page-invisible');\n if (leavingEl && navEl) {\n const navDecorAnimation = createAnimation();\n navDecorAnimation.addElement(navEl);\n rootAnimation.addAnimation(navDecorAnimation);\n }\n if (!contentEl && enteringToolBarEls.length === 0 && headerEls.length === 0) {\n enteringContentAnimation.addElement(enteringEl.querySelector(':scope > .ion-page, :scope > ion-nav, :scope > ion-tabs')); // REVIEW\n }\n else {\n enteringContentAnimation.addElement(contentEl); // REVIEW\n enteringContentAnimation.addElement(headerEls);\n }\n rootAnimation.addAnimation(enteringContentAnimation);\n if (backDirection) {\n enteringContentAnimation\n .beforeClearStyles([OPACITY])\n .fromTo('transform', `translateX(${OFF_LEFT})`, `translateX(${CENTER})`)\n .fromTo(OPACITY, OFF_OPACITY, 1);\n }\n else {\n // entering content, forward direction\n enteringContentAnimation\n .beforeClearStyles([OPACITY])\n .fromTo('transform', `translateX(${OFF_RIGHT})`, `translateX(${CENTER})`);\n }\n if (contentEl) {\n const enteringTransitionEffectEl = shadow(contentEl).querySelector('.transition-effect');\n if (enteringTransitionEffectEl) {\n const enteringTransitionCoverEl = enteringTransitionEffectEl.querySelector('.transition-cover');\n const enteringTransitionShadowEl = enteringTransitionEffectEl.querySelector('.transition-shadow');\n const enteringTransitionEffect = createAnimation();\n const enteringTransitionCover = createAnimation();\n const enteringTransitionShadow = createAnimation();\n enteringTransitionEffect\n .addElement(enteringTransitionEffectEl)\n .beforeStyles({ opacity: '1', display: 'block' })\n .afterStyles({ opacity: '', display: '' });\n enteringTransitionCover\n .addElement(enteringTransitionCoverEl) // REVIEW\n .beforeClearStyles([OPACITY])\n .fromTo(OPACITY, 0, 0.1);\n enteringTransitionShadow\n .addElement(enteringTransitionShadowEl) // REVIEW\n .beforeClearStyles([OPACITY])\n .fromTo(OPACITY, 0.03, 0.7);\n enteringTransitionEffect.addAnimation([enteringTransitionCover, enteringTransitionShadow]);\n enteringContentAnimation.addAnimation([enteringTransitionEffect]);\n }\n }\n const enteringContentHasLargeTitle = enteringEl.querySelector('ion-header.header-collapse-condense');\n const { forward, backward } = createLargeTitleTransition(rootAnimation, isRTL, backDirection, enteringEl, leavingEl);\n enteringToolBarEls.forEach((enteringToolBarEl) => {\n const enteringToolBar = createAnimation();\n enteringToolBar.addElement(enteringToolBarEl);\n rootAnimation.addAnimation(enteringToolBar);\n const enteringTitle = createAnimation();\n enteringTitle.addElement(enteringToolBarEl.querySelector('ion-title')); // REVIEW\n const enteringToolBarButtons = createAnimation();\n const buttons = Array.from(enteringToolBarEl.querySelectorAll('ion-buttons,[menuToggle]'));\n const parentHeader = enteringToolBarEl.closest('ion-header');\n const inactiveHeader = parentHeader === null || parentHeader === void 0 ? void 0 : parentHeader.classList.contains('header-collapse-condense-inactive');\n let buttonsToAnimate;\n if (backDirection) {\n buttonsToAnimate = buttons.filter((button) => {\n const isCollapseButton = button.classList.contains('buttons-collapse');\n return (isCollapseButton && !inactiveHeader) || !isCollapseButton;\n });\n }\n else {\n buttonsToAnimate = buttons.filter((button) => !button.classList.contains('buttons-collapse'));\n }\n enteringToolBarButtons.addElement(buttonsToAnimate);\n const enteringToolBarItems = createAnimation();\n enteringToolBarItems.addElement(enteringToolBarEl.querySelectorAll(':scope > *:not(ion-title):not(ion-buttons):not([menuToggle])'));\n const enteringToolBarBg = createAnimation();\n enteringToolBarBg.addElement(shadow(enteringToolBarEl).querySelector('.toolbar-background')); // REVIEW\n const enteringBackButton = createAnimation();\n const backButtonEl = enteringToolBarEl.querySelector('ion-back-button');\n if (backButtonEl) {\n enteringBackButton.addElement(backButtonEl);\n }\n enteringToolBar.addAnimation([\n enteringTitle,\n enteringToolBarButtons,\n enteringToolBarItems,\n enteringToolBarBg,\n enteringBackButton,\n ]);\n enteringToolBarButtons.fromTo(OPACITY, 0.01, 1);\n enteringToolBarItems.fromTo(OPACITY, 0.01, 1);\n if (backDirection) {\n if (!inactiveHeader) {\n enteringTitle\n .fromTo('transform', `translateX(${OFF_LEFT})`, `translateX(${CENTER})`)\n .fromTo(OPACITY, 0.01, 1);\n }\n enteringToolBarItems.fromTo('transform', `translateX(${OFF_LEFT})`, `translateX(${CENTER})`);\n // back direction, entering page has a back button\n enteringBackButton.fromTo(OPACITY, 0.01, 1);\n }\n else {\n // entering toolbar, forward direction\n if (!enteringContentHasLargeTitle) {\n enteringTitle\n .fromTo('transform', `translateX(${OFF_RIGHT})`, `translateX(${CENTER})`)\n .fromTo(OPACITY, 0.01, 1);\n }\n enteringToolBarItems.fromTo('transform', `translateX(${OFF_RIGHT})`, `translateX(${CENTER})`);\n enteringToolBarBg.beforeClearStyles([OPACITY, 'transform']);\n const translucentHeader = parentHeader === null || parentHeader === void 0 ? void 0 : parentHeader.translucent;\n if (!translucentHeader) {\n enteringToolBarBg.fromTo(OPACITY, 0.01, 'var(--opacity)');\n }\n else {\n enteringToolBarBg.fromTo('transform', isRTL ? 'translateX(-100%)' : 'translateX(100%)', 'translateX(0px)');\n }\n // forward direction, entering page has a back button\n if (!forward) {\n enteringBackButton.fromTo(OPACITY, 0.01, 1);\n }\n if (backButtonEl && !forward) {\n const enteringBackBtnText = createAnimation();\n enteringBackBtnText\n .addElement(shadow(backButtonEl).querySelector('.button-text')) // REVIEW\n .fromTo(`transform`, isRTL ? 'translateX(-100px)' : 'translateX(100px)', 'translateX(0px)');\n enteringToolBar.addAnimation(enteringBackBtnText);\n }\n }\n });\n // setup leaving view\n if (leavingEl) {\n const leavingContent = createAnimation();\n const leavingContentEl = leavingEl.querySelector(':scope > ion-content');\n const leavingToolBarEls = leavingEl.querySelectorAll(':scope > ion-header > ion-toolbar');\n const leavingHeaderEls = leavingEl.querySelectorAll(':scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *');\n if (!leavingContentEl && leavingToolBarEls.length === 0 && leavingHeaderEls.length === 0) {\n leavingContent.addElement(leavingEl.querySelector(':scope > .ion-page, :scope > ion-nav, :scope > ion-tabs')); // REVIEW\n }\n else {\n leavingContent.addElement(leavingContentEl); // REVIEW\n leavingContent.addElement(leavingHeaderEls);\n }\n rootAnimation.addAnimation(leavingContent);\n if (backDirection) {\n // leaving content, back direction\n leavingContent\n .beforeClearStyles([OPACITY])\n .fromTo('transform', `translateX(${CENTER})`, isRTL ? 'translateX(-100%)' : 'translateX(100%)');\n const leavingPage = getIonPageElement(leavingEl);\n rootAnimation.afterAddWrite(() => {\n if (rootAnimation.getDirection() === 'normal') {\n leavingPage.style.setProperty('display', 'none');\n }\n });\n }\n else {\n // leaving content, forward direction\n leavingContent\n .fromTo('transform', `translateX(${CENTER})`, `translateX(${OFF_LEFT})`)\n .fromTo(OPACITY, 1, OFF_OPACITY);\n }\n if (leavingContentEl) {\n const leavingTransitionEffectEl = shadow(leavingContentEl).querySelector('.transition-effect');\n if (leavingTransitionEffectEl) {\n const leavingTransitionCoverEl = leavingTransitionEffectEl.querySelector('.transition-cover');\n const leavingTransitionShadowEl = leavingTransitionEffectEl.querySelector('.transition-shadow');\n const leavingTransitionEffect = createAnimation();\n const leavingTransitionCover = createAnimation();\n const leavingTransitionShadow = createAnimation();\n leavingTransitionEffect\n .addElement(leavingTransitionEffectEl)\n .beforeStyles({ opacity: '1', display: 'block' })\n .afterStyles({ opacity: '', display: '' });\n leavingTransitionCover\n .addElement(leavingTransitionCoverEl) // REVIEW\n .beforeClearStyles([OPACITY])\n .fromTo(OPACITY, 0.1, 0);\n leavingTransitionShadow\n .addElement(leavingTransitionShadowEl) // REVIEW\n .beforeClearStyles([OPACITY])\n .fromTo(OPACITY, 0.7, 0.03);\n leavingTransitionEffect.addAnimation([leavingTransitionCover, leavingTransitionShadow]);\n leavingContent.addAnimation([leavingTransitionEffect]);\n }\n }\n leavingToolBarEls.forEach((leavingToolBarEl) => {\n const leavingToolBar = createAnimation();\n leavingToolBar.addElement(leavingToolBarEl);\n const leavingTitle = createAnimation();\n leavingTitle.addElement(leavingToolBarEl.querySelector('ion-title')); // REVIEW\n const leavingToolBarButtons = createAnimation();\n const buttons = leavingToolBarEl.querySelectorAll('ion-buttons,[menuToggle]');\n const parentHeader = leavingToolBarEl.closest('ion-header');\n const inactiveHeader = parentHeader === null || parentHeader === void 0 ? void 0 : parentHeader.classList.contains('header-collapse-condense-inactive');\n const buttonsToAnimate = Array.from(buttons).filter((button) => {\n const isCollapseButton = button.classList.contains('buttons-collapse');\n return (isCollapseButton && !inactiveHeader) || !isCollapseButton;\n });\n leavingToolBarButtons.addElement(buttonsToAnimate);\n const leavingToolBarItems = createAnimation();\n const leavingToolBarItemEls = leavingToolBarEl.querySelectorAll(':scope > *:not(ion-title):not(ion-buttons):not([menuToggle])');\n if (leavingToolBarItemEls.length > 0) {\n leavingToolBarItems.addElement(leavingToolBarItemEls);\n }\n const leavingToolBarBg = createAnimation();\n leavingToolBarBg.addElement(shadow(leavingToolBarEl).querySelector('.toolbar-background')); // REVIEW\n const leavingBackButton = createAnimation();\n const backButtonEl = leavingToolBarEl.querySelector('ion-back-button');\n if (backButtonEl) {\n leavingBackButton.addElement(backButtonEl);\n }\n leavingToolBar.addAnimation([\n leavingTitle,\n leavingToolBarButtons,\n leavingToolBarItems,\n leavingBackButton,\n leavingToolBarBg,\n ]);\n rootAnimation.addAnimation(leavingToolBar);\n // fade out leaving toolbar items\n leavingBackButton.fromTo(OPACITY, 0.99, 0);\n leavingToolBarButtons.fromTo(OPACITY, 0.99, 0);\n leavingToolBarItems.fromTo(OPACITY, 0.99, 0);\n if (backDirection) {\n if (!inactiveHeader) {\n // leaving toolbar, back direction\n leavingTitle\n .fromTo('transform', `translateX(${CENTER})`, isRTL ? 'translateX(-100%)' : 'translateX(100%)')\n .fromTo(OPACITY, 0.99, 0);\n }\n leavingToolBarItems.fromTo('transform', `translateX(${CENTER})`, isRTL ? 'translateX(-100%)' : 'translateX(100%)');\n leavingToolBarBg.beforeClearStyles([OPACITY, 'transform']);\n // leaving toolbar, back direction, and there's no entering toolbar\n // should just slide out, no fading out\n const translucentHeader = parentHeader === null || parentHeader === void 0 ? void 0 : parentHeader.translucent;\n if (!translucentHeader) {\n leavingToolBarBg.fromTo(OPACITY, 'var(--opacity)', 0);\n }\n else {\n leavingToolBarBg.fromTo('transform', 'translateX(0px)', isRTL ? 'translateX(-100%)' : 'translateX(100%)');\n }\n if (backButtonEl && !backward) {\n const leavingBackBtnText = createAnimation();\n leavingBackBtnText\n .addElement(shadow(backButtonEl).querySelector('.button-text')) // REVIEW\n .fromTo('transform', `translateX(${CENTER})`, `translateX(${(isRTL ? -124 : 124) + 'px'})`);\n leavingToolBar.addAnimation(leavingBackBtnText);\n }\n }\n else {\n // leaving toolbar, forward direction\n if (!inactiveHeader) {\n leavingTitle\n .fromTo('transform', `translateX(${CENTER})`, `translateX(${OFF_LEFT})`)\n .fromTo(OPACITY, 0.99, 0)\n .afterClearStyles([TRANSFORM, OPACITY]);\n }\n leavingToolBarItems\n .fromTo('transform', `translateX(${CENTER})`, `translateX(${OFF_LEFT})`)\n .afterClearStyles([TRANSFORM, OPACITY]);\n leavingBackButton.afterClearStyles([OPACITY]);\n leavingTitle.afterClearStyles([OPACITY]);\n leavingToolBarButtons.afterClearStyles([OPACITY]);\n }\n });\n }\n return rootAnimation;\n }\n catch (err) {\n throw err;\n }\n};\n\nexport { iosTransitionAnimation, shadow };\n"],"names":["DURATION","getClonedElement","tagName","document","querySelector","shadow","el","shadowRoot","getLargeTitle","refEl","tabs","query","activeTab","getBackButton","backDirection","buttonsList","querySelectorAll","buttons","parentHeader","closest","activeHeader","classList","contains","backButton","buttonsCollapse","startSlot","slot","createLargeTitleTransition","rootAnimation","rtl","enteringEl","leavingEl","enteringBackButton","leavingLargeTitle","enteringLargeTitle","leavingBackButton","shouldAnimationForward","shouldAnimationBackward","leavingLargeTitleBox","getBoundingClientRect","enteringBackButtonBox","animateLargeTitle","animateBackButton","enteringLargeTitleBox","leavingBackButtonBox","forward","backward","backButtonEl","largeTitleBox","backButtonBox","BACK_BUTTON_START_OFFSET","right","left","START_TEXT_TRANSLATE","END_TEXT_TRANSLATE","ICON_TRANSLATE","TEXT_ORIGIN_X","ICON_ORIGIN_X","FORWARD_TEXT_KEYFRAMES","offset","opacity","transform","top","BACKWARD_TEXT_KEYFRAMES","TEXT_KEYFRAMES","FORWARD_ICON_KEYFRAMES","BACKWARD_ICON_KEYFRAMES","ICON_KEYFRAMES","enteringBackButtonTextAnimation","c","enteringBackButtonIconAnimation","clonedBackButtonEl","backButtonTextEl","backButtonIconEl","text","mode","icon","color","disabled","style","setProperty","addElement","beforeStyles","beforeAddWrite","afterAddWrite","removeProperty","keyframes","addAnimation","largeTitleEl","TITLE_START_OFFSET","START_TRANSLATE","ORIGIN_X","BACKWARDS_KEYFRAMES","FORWARDS_KEYFRAMES","KEYFRAMES","clonedTitleEl","clonedLargeTitleAnimation","innerText","size","height","display","position","iosTransitionAnimation","navEl","opts","EASING","OPACITY","TRANSFORM","CENTER","OFF_OPACITY","isRTL","ownerDocument","dir","OFF_RIGHT","OFF_LEFT","direction","contentEl","headerEls","enteringToolBarEls","enteringContentAnimation","duration","easing","fill","beforeRemoveClass","navDecorAnimation","length","beforeClearStyles","fromTo","enteringTransitionEffectEl","enteringTransitionCoverEl","enteringTransitionShadowEl","enteringTransitionEffect","enteringTransitionCover","enteringTransitionShadow","afterStyles","enteringContentHasLargeTitle","forEach","enteringToolBarEl","enteringToolBar","enteringTitle","enteringToolBarButtons","Array","from","inactiveHeader","buttonsToAnimate","filter","button","isCollapseButton","enteringToolBarItems","enteringToolBarBg","translucentHeader","translucent","enteringBackBtnText","leavingContent","leavingContentEl","leavingToolBarEls","leavingHeaderEls","leavingPage","g","getDirection","leavingTransitionEffectEl","leavingTransitionCoverEl","leavingTransitionShadowEl","leavingTransitionEffect","leavingTransitionCover","leavingTransitionShadow","leavingToolBarEl","leavingToolBar","leavingTitle","leavingToolBarButtons","leavingToolBarItems","leavingToolBarItemEls","leavingToolBarBg","leavingBackBtnText","afterClearStyles","err"],"sourceRoot":""} \ No newline at end of file diff --git a/ios/App/App/public/js/544.94817512.js b/ios/App/App/public/js/544.94817512.js new file mode 100644 index 0000000..101c1ec --- /dev/null +++ b/ios/App/App/public/js/544.94817512.js @@ -0,0 +1,6 @@ +"use strict";(self["webpackChunktainacan_mobile"]=self["webpackChunktainacan_mobile"]||[]).push([[544],{8544:function(e,t,o){o.r(t),o.d(t,{startFocusVisible:function(){return c}}); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const n="ion-focused",s="ion-focusable",r=["Tab","ArrowDown","Space","Escape"," ","Shift","Enter","ArrowLeft","ArrowRight","ArrowUp","Home","End"],c=e=>{let t=[],o=!0;const c=e?e.shadowRoot:document,i=e||document.body,a=e=>{t.forEach((e=>e.classList.remove(n))),e.forEach((e=>e.classList.add(n))),t=e},d=()=>{o=!1,a([])},u=e=>{o=r.includes(e.key),o||a([])},v=e=>{if(o&&e.composedPath){const t=e.composedPath().filter((e=>!!e.classList&&e.classList.contains(s)));a(t)}},f=()=>{c.activeElement===i&&a([])};c.addEventListener("keydown",u),c.addEventListener("focusin",v),c.addEventListener("focusout",f),c.addEventListener("touchstart",d),c.addEventListener("mousedown",d);const m=()=>{c.removeEventListener("keydown",u),c.removeEventListener("focusin",v),c.removeEventListener("focusout",f),c.removeEventListener("touchstart",d),c.removeEventListener("mousedown",d)};return{destroy:m,setFocus:a}}}}]); +//# sourceMappingURL=544.94817512.js.map \ No newline at end of file diff --git a/ios/App/App/public/js/544.94817512.js.map b/ios/App/App/public/js/544.94817512.js.map new file mode 100644 index 0000000..0fb2bd4 --- /dev/null +++ b/ios/App/App/public/js/544.94817512.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/544.94817512.js","mappings":";;;;AAGA,MAAMA,EAAc,cACdC,EAAgB,gBAChBC,EAAa,CACjB,MACA,YACA,QACA,SACA,IACA,QACA,QACA,YACA,aACA,UACA,OACA,OAEIC,EAAqBC,IACzB,IAAIC,EAAe,GACfC,GAAe,EACnB,MAAMC,EAAMH,EAASA,EAAOI,WAAaC,SACnCC,EAAON,GAAkBK,SAASE,KAClCC,EAAYC,IAChBR,EAAaS,SAASC,GAAOA,EAAGC,UAAUC,OAAOjB,KACjDa,EAASC,SAASC,GAAOA,EAAGC,UAAUE,IAAIlB,KAC1CK,EAAeQ,GAEXM,EAAc,KAClBb,GAAe,EACfM,EAAS,KAELQ,EAAaC,IACjBf,EAAeJ,EAAWoB,SAASD,EAAGE,KACjCjB,GACHM,EAAS,KAGPY,EAAaH,IACjB,GAAIf,GAAgBe,EAAGI,aAAc,CACnC,MAAMC,EAAUL,EAAGI,eAAeE,QAAQZ,KACpCA,EAAGC,WACED,EAAGC,UAAUY,SAAS3B,KAIjCW,EAASc,KAGPG,EAAa,KACbtB,EAAIuB,gBAAkBpB,GACxBE,EAAS,KAGbL,EAAIwB,iBAAiB,UAAWX,GAChCb,EAAIwB,iBAAiB,UAAWP,GAChCjB,EAAIwB,iBAAiB,WAAYF,GACjCtB,EAAIwB,iBAAiB,aAAcZ,GACnCZ,EAAIwB,iBAAiB,YAAaZ,GAClC,MAAMa,EAAU,KACdzB,EAAI0B,oBAAoB,UAAWb,GACnCb,EAAI0B,oBAAoB,UAAWT,GACnCjB,EAAI0B,oBAAoB,WAAYJ,GACpCtB,EAAI0B,oBAAoB,aAAcd,GACtCZ,EAAI0B,oBAAoB,YAAad,IAEvC,MAAO,CACLa,QAAAA,EACApB,SAAAA","sources":["webpack://tainacan-mobile/./node_modules/@ionic/core/components/focus-visible.js"],"sourcesContent":["/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nconst ION_FOCUSED = 'ion-focused';\nconst ION_FOCUSABLE = 'ion-focusable';\nconst FOCUS_KEYS = [\n 'Tab',\n 'ArrowDown',\n 'Space',\n 'Escape',\n ' ',\n 'Shift',\n 'Enter',\n 'ArrowLeft',\n 'ArrowRight',\n 'ArrowUp',\n 'Home',\n 'End',\n];\nconst startFocusVisible = (rootEl) => {\n let currentFocus = [];\n let keyboardMode = true;\n const ref = rootEl ? rootEl.shadowRoot : document;\n const root = rootEl ? rootEl : document.body;\n const setFocus = (elements) => {\n currentFocus.forEach((el) => el.classList.remove(ION_FOCUSED));\n elements.forEach((el) => el.classList.add(ION_FOCUSED));\n currentFocus = elements;\n };\n const pointerDown = () => {\n keyboardMode = false;\n setFocus([]);\n };\n const onKeydown = (ev) => {\n keyboardMode = FOCUS_KEYS.includes(ev.key);\n if (!keyboardMode) {\n setFocus([]);\n }\n };\n const onFocusin = (ev) => {\n if (keyboardMode && ev.composedPath) {\n const toFocus = ev.composedPath().filter((el) => {\n if (el.classList) {\n return el.classList.contains(ION_FOCUSABLE);\n }\n return false;\n });\n setFocus(toFocus);\n }\n };\n const onFocusout = () => {\n if (ref.activeElement === root) {\n setFocus([]);\n }\n };\n ref.addEventListener('keydown', onKeydown);\n ref.addEventListener('focusin', onFocusin);\n ref.addEventListener('focusout', onFocusout);\n ref.addEventListener('touchstart', pointerDown);\n ref.addEventListener('mousedown', pointerDown);\n const destroy = () => {\n ref.removeEventListener('keydown', onKeydown);\n ref.removeEventListener('focusin', onFocusin);\n ref.removeEventListener('focusout', onFocusout);\n ref.removeEventListener('touchstart', pointerDown);\n ref.removeEventListener('mousedown', pointerDown);\n };\n return {\n destroy,\n setFocus,\n };\n};\n\nexport { startFocusVisible };\n"],"names":["ION_FOCUSED","ION_FOCUSABLE","FOCUS_KEYS","startFocusVisible","rootEl","currentFocus","keyboardMode","ref","shadowRoot","document","root","body","setFocus","elements","forEach","el","classList","remove","add","pointerDown","onKeydown","ev","includes","key","onFocusin","composedPath","toFocus","filter","contains","onFocusout","activeElement","addEventListener","destroy","removeEventListener"],"sourceRoot":""} \ No newline at end of file diff --git a/ios/App/App/public/js/576.a82798ee.js b/ios/App/App/public/js/576.a82798ee.js new file mode 100644 index 0000000..d4cec6e --- /dev/null +++ b/ios/App/App/public/js/576.a82798ee.js @@ -0,0 +1,14 @@ +"use strict";(self["webpackChunktainacan_mobile"]=self["webpackChunktainacan_mobile"]||[]).push([[576],{576:function(e,t,s){s.r(t),s.d(t,{scopeCss:function(){return P}}); +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + * + * This file is a port of shadowCSS from webcomponents.js to TypeScript. + * https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js + * https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts + */ +const r=e=>{const t=[];let s=0;e=e.replace(/(\[[^\]]*\])/g,((e,r)=>{const c=`__ph-${s}__`;return t.push(r),s++,c}));const r=e.replace(/(:nth-[-\w]+)(\([^)]+\))/g,((e,r,c)=>{const n=`__ph-${s}__`;return t.push(c),s++,r+n})),c={content:r,placeholders:t};return c},c=(e,t)=>t.replace(/__ph-(\d+)__/g,((t,s)=>e[+s])),n="-shadowcsshost",o="-shadowcssslotted",l="-shadowcsscontext",i=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",a=new RegExp("("+n+i,"gim"),p=new RegExp("("+l+i,"gim"),h=new RegExp("("+o+i,"gim"),u=n+"-no-combinator",g=/-shadowcsshost-no-combinator([^\s]*)/,d=[/::shadow/g,/::content/g],m="([>\\s~+[.,{:][\\s\\S]*)?$",f=/-shadowcsshost/gim,$=/:host/gim,x=/::slotted/gim,_=/:host-context/gim,w=/\/\*\s*[\s\S]*?\*\//g,b=e=>e.replace(w,""),S=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,W=e=>e.match(S)||[],k=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,O=/([{}])/g,j=/(^.*?[^\\])??((:+)(.*)|$)/,E="{",R="}",C="%BLOCK%",T=(e,t)=>{const s=L(e);let r=0;return s.escapedString.replace(k,((...e)=>{const c=e[2];let n="",o=e[4],l="";o&&o.startsWith("{"+C)&&(n=s.blocks[r++],o=o.substring(C.length+1),l="{");const i={selector:c,content:n},a=t(i);return`${e[1]}${a.selector}${e[3]}${l}${a.content}${o}`}))},L=e=>{const t=e.split(O),s=[],r=[];let c=0,n=[];for(let l=0;l0?n.push(e):(n.length>0&&(r.push(n.join("")),s.push(C),n=[]),s.push(e)),e===E&&c++}n.length>0&&(r.push(n.join("")),s.push(C));const o={escapedString:s.join(""),blocks:r};return o},B=e=>(e=e.replace(_,l).replace($,n).replace(x,o),e),I=(e,t,s)=>e.replace(t,((...e)=>{if(e[2]){const t=e[2].split(","),r=[];for(let c=0;ce+t.replace(n,"")+s,M=e=>I(e,a,K),U=(e,t,s)=>t.indexOf(n)>-1?K(e,t,s):e+t+s+", "+t+" "+e+s,q=(e,t)=>{const s="."+t+" > ",r=[];return e=e.replace(h,((...e)=>{if(e[2]){const t=e[2].trim(),c=e[3],n=s+t+c;let o="";for(let s=e[4]-1;s>=0;s--){const t=e[5][s];if("}"===t||","===t)break;o=t+o}const l=o+n,i=`${o.trimRight()}${n.trim()}`;if(l.trim()!==i.trim()){const e=`${i}, ${l}`;r.push({orgSelector:l,updatedSelector:e})}return n}return u+e[3]})),{selectors:r,cssText:e}},v=e=>I(e,p,U),y=e=>d.reduce(((e,t)=>e.replace(t," ")),e),z=e=>{const t=/\[/g,s=/\]/g;return e=e.replace(t,"\\[").replace(s,"\\]"),new RegExp("^("+e+")"+m,"m")},A=(e,t)=>{const s=z(t);return!s.test(e)},D=(e,t)=>e.replace(j,((e,s="",r,c="",n="")=>s+t+c+n)),F=(e,t,s)=>{if(f.lastIndex=0,f.test(e)){const t=`.${s}`;return e.replace(g,((e,s)=>D(s,t))).replace(f,t+" ")}return t+" "+e},G=(e,t,s)=>{const n=/\[is=([^\]]*)\]/g;t=t.replace(n,((e,...t)=>t[0]));const o="."+t,l=e=>{let r=e.trim();if(!r)return"";if(e.indexOf(u)>-1)r=F(e,t,s);else{const t=e.replace(f,"");t.length>0&&(r=D(t,o))}return r},i=r(e);e=i.content;let a,p="",h=0;const g=/( |>|\+|~(?!=))\s*/g,d=e.indexOf(u)>-1;let m=!d;while(null!==(a=g.exec(e))){const t=a[1],s=e.slice(h,a.index).trim();m=m||s.indexOf(u)>-1;const r=m?l(s):s;p+=`${r} ${t} `,h=g.lastIndex}const $=e.substring(h);return m=m||$.indexOf(u)>-1,p+=m?l($):$,c(i.placeholders,p)},H=(e,t,s,r)=>e.split(",").map((e=>r&&e.indexOf("."+r)>-1?e.trim():A(e,t)?G(e,t,s).trim():e.trim())).join(", "),J=(e,t,s,r,c)=>T(e,(e=>{let c=e.selector,n=e.content;"@"!==e.selector[0]?c=H(e.selector,t,s,r):(e.selector.startsWith("@media")||e.selector.startsWith("@supports")||e.selector.startsWith("@page")||e.selector.startsWith("@document"))&&(n=J(e.content,t,s,r));const o={selector:c.replace(/\s{2,}/g," ").trim(),content:n};return o})),N=(e,t,s,r,c)=>{e=B(e),e=M(e),e=v(e);const n=q(e,r);return e=n.cssText,e=y(e),t&&(e=J(e,t,s,r)),e=e.replace(/-shadowcsshost-no-combinator/g,`.${s}`),e=e.replace(/>\s*\*\s+([^{, ]+)/gm," $1 "),{cssText:e.trim(),slottedSelectors:n.selectors}},P=(e,t,s)=>{const r=t+"-h",c=t+"-s",n=W(e);e=b(e);const o=[];if(s){const t=e=>{const t=`/*!@___${o.length}___*/`,s=`/*!@${e.selector}*/`;return o.push({placeholder:t,comment:s}),e.selector=t+e.selector,e};e=T(e,(e=>"@"!==e.selector[0]?t(e):e.selector.startsWith("@media")||e.selector.startsWith("@supports")||e.selector.startsWith("@page")||e.selector.startsWith("@document")?(e.content=T(e.content,t),e):e))}const l=N(e,t,r,c);return e=[l.cssText,...n].join("\n"),s&&o.forEach((({placeholder:t,comment:s})=>{e=e.replace(t,s)})),l.slottedSelectors.forEach((t=>{e=e.replace(t.orgSelector,t.updatedSelector)})),e}}}]); +//# sourceMappingURL=576.a82798ee.js.map \ No newline at end of file diff --git a/ios/App/App/public/js/576.a82798ee.js.map b/ios/App/App/public/js/576.a82798ee.js.map new file mode 100644 index 0000000..8cfee7f --- /dev/null +++ b/ios/App/App/public/js/576.a82798ee.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/576.a82798ee.js","mappings":";;;;;;;;;;;;AAcA,MAAMA,EAAgBC,IAClB,MAAMC,EAAe,GACrB,IAAIC,EAAQ,EAGZF,EAAWA,EAASG,QAAQ,iBAAiB,CAACC,EAAGC,KAC7C,MAAMC,EAAY,QAAQJ,MAG1B,OAFAD,EAAaM,KAAKF,GAClBH,IACOI,KAIX,MAAME,EAAUR,EAASG,QAAQ,6BAA6B,CAACC,EAAGK,EAAQC,KACtE,MAAMJ,EAAY,QAAQJ,MAG1B,OAFAD,EAAaM,KAAKG,GAClBR,IACOO,EAASH,KAEdK,EAAK,CACPH,QAAAA,EACAP,aAAAA,GAEJ,OAAOU,GAELC,EAAsB,CAACX,EAAcO,IAChCA,EAAQL,QAAQ,iBAAiB,CAACC,EAAGF,IAAUD,GAAcC,KAElEW,EAAgB,iBAChBC,EAAmB,oBAEnBC,EAAuB,oBACvBC,EAAe,kDACfC,EAAkB,IAAIC,OAAO,IAAML,EAAgBG,EAAc,OACjEG,EAAyB,IAAID,OAAO,IAAMH,EAAuBC,EAAc,OAC/EI,EAAq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R,EAAyB,CACzB,MAAMS,EAA4B1F,IAC9B,MAAM2F,EAAc,UAAUF,EAAa3F,cACrC8F,EAAU,OAAO5F,EAAKvD,aAG5B,OAFAgJ,EAAazI,KAAK,CAAE2I,YAAAA,EAAaC,QAAAA,IACjC5F,EAAKvD,SAAWkJ,EAAc3F,EAAKvD,SAC5BuD,GAEXa,EAAU3B,EAAa2B,GAAUb,GACJ,MAArBA,EAAKvD,SAAS,GACPiJ,EAAyB1F,GAE3BA,EAAKvD,SAASkD,WAAW,WAC9BK,EAAKvD,SAASkD,WAAW,cACzBK,EAAKvD,SAASkD,WAAW,UACzBK,EAAKvD,SAASkD,WAAW,cACzBK,EAAK/C,QAAUiC,EAAac,EAAK/C,QAASyI,GACnC1F,GAEJA,IAGf,MAAM6F,EAASX,EAAarE,EAASsE,EAASC,EAAazD,GAU3D,OATAd,EAAU,CAACgF,EAAOhF,WAAY2E,GAAkB/E,KAAK,MACjDwE,GACAQ,EAAaK,SAAQ,EAAGH,YAAAA,EAAaC,QAAAA,MACjC/E,EAAUA,EAAQjE,QAAQ+I,EAAaC,MAG/CC,EAAOP,iBAAiBQ,SAAS/D,IAC7BlB,EAAUA,EAAQjE,QAAQmF,EAAgBG,YAAaH,EAAgBM,oBAEpExB","sources":["webpack://tainacan-mobile/./node_modules/@stencil/core/internal/client/shadow-css.js"],"sourcesContent":["/*\n Stencil Client Platform v2.17.0 | MIT Licensed | https://stenciljs.com\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n *\n * This file is a port of shadowCSS from webcomponents.js to TypeScript.\n * https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js\n * https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts\n */\nconst safeSelector = (selector) => {\n const placeholders = [];\n let index = 0;\n // Replaces attribute selectors with placeholders.\n // The WS in [attr=\"va lue\"] would otherwise be interpreted as a selector separator.\n selector = selector.replace(/(\\[[^\\]]*\\])/g, (_, keep) => {\n const replaceBy = `__ph-${index}__`;\n placeholders.push(keep);\n index++;\n return replaceBy;\n });\n // Replaces the expression in `:nth-child(2n + 1)` with a placeholder.\n // WS and \"+\" would otherwise be interpreted as selector separators.\n const content = selector.replace(/(:nth-[-\\w]+)(\\([^)]+\\))/g, (_, pseudo, exp) => {\n const replaceBy = `__ph-${index}__`;\n placeholders.push(exp);\n index++;\n return pseudo + replaceBy;\n });\n const ss = {\n content,\n placeholders,\n };\n return ss;\n};\nconst restoreSafeSelector = (placeholders, content) => {\n return content.replace(/__ph-(\\d+)__/g, (_, index) => placeholders[+index]);\n};\nconst _polyfillHost = '-shadowcsshost';\nconst _polyfillSlotted = '-shadowcssslotted';\n// note: :host-context pre-processed to -shadowcsshostcontext.\nconst _polyfillHostContext = '-shadowcsscontext';\nconst _parenSuffix = ')(?:\\\\((' + '(?:\\\\([^)(]*\\\\)|[^)(]*)+?' + ')\\\\))?([^,{]*)';\nconst _cssColonHostRe = new RegExp('(' + _polyfillHost + _parenSuffix, 'gim');\nconst _cssColonHostContextRe = new RegExp('(' + _polyfillHostContext + _parenSuffix, 'gim');\nconst _cssColonSlottedRe = new RegExp('(' + _polyfillSlotted + _parenSuffix, 'gim');\nconst _polyfillHostNoCombinator = _polyfillHost + '-no-combinator';\nconst _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\\s]*)/;\nconst _shadowDOMSelectorsRe = [/::shadow/g, /::content/g];\nconst _selectorReSuffix = '([>\\\\s~+[.,{:][\\\\s\\\\S]*)?$';\nconst _polyfillHostRe = /-shadowcsshost/gim;\nconst _colonHostRe = /:host/gim;\nconst _colonSlottedRe = /::slotted/gim;\nconst _colonHostContextRe = /:host-context/gim;\nconst _commentRe = /\\/\\*\\s*[\\s\\S]*?\\*\\//g;\nconst stripComments = (input) => {\n return input.replace(_commentRe, '');\n};\nconst _commentWithHashRe = /\\/\\*\\s*#\\s*source(Mapping)?URL=[\\s\\S]+?\\*\\//g;\nconst extractCommentsWithHash = (input) => {\n return input.match(_commentWithHashRe) || [];\n};\nconst _ruleRe = /(\\s*)([^;\\{\\}]+?)(\\s*)((?:{%BLOCK%}?\\s*;?)|(?:\\s*;))/g;\nconst _curlyRe = /([{}])/g;\nconst _selectorPartsRe = /(^.*?[^\\\\])??((:+)(.*)|$)/;\nconst OPEN_CURLY = '{';\nconst CLOSE_CURLY = '}';\nconst BLOCK_PLACEHOLDER = '%BLOCK%';\nconst processRules = (input, ruleCallback) => {\n const inputWithEscapedBlocks = escapeBlocks(input);\n let nextBlockIndex = 0;\n return inputWithEscapedBlocks.escapedString.replace(_ruleRe, (...m) => {\n const selector = m[2];\n let content = '';\n let suffix = m[4];\n let contentPrefix = '';\n if (suffix && suffix.startsWith('{' + BLOCK_PLACEHOLDER)) {\n content = inputWithEscapedBlocks.blocks[nextBlockIndex++];\n suffix = suffix.substring(BLOCK_PLACEHOLDER.length + 1);\n contentPrefix = '{';\n }\n const cssRule = {\n selector,\n content,\n };\n const rule = ruleCallback(cssRule);\n return `${m[1]}${rule.selector}${m[3]}${contentPrefix}${rule.content}${suffix}`;\n });\n};\nconst escapeBlocks = (input) => {\n const inputParts = input.split(_curlyRe);\n const resultParts = [];\n const escapedBlocks = [];\n let bracketCount = 0;\n let currentBlockParts = [];\n for (let partIndex = 0; partIndex < inputParts.length; partIndex++) {\n const part = inputParts[partIndex];\n if (part === CLOSE_CURLY) {\n bracketCount--;\n }\n if (bracketCount > 0) {\n currentBlockParts.push(part);\n }\n else {\n if (currentBlockParts.length > 0) {\n escapedBlocks.push(currentBlockParts.join(''));\n resultParts.push(BLOCK_PLACEHOLDER);\n currentBlockParts = [];\n }\n resultParts.push(part);\n }\n if (part === OPEN_CURLY) {\n bracketCount++;\n }\n }\n if (currentBlockParts.length > 0) {\n escapedBlocks.push(currentBlockParts.join(''));\n resultParts.push(BLOCK_PLACEHOLDER);\n }\n const strEscapedBlocks = {\n escapedString: resultParts.join(''),\n blocks: escapedBlocks,\n };\n return strEscapedBlocks;\n};\nconst insertPolyfillHostInCssText = (selector) => {\n selector = selector\n .replace(_colonHostContextRe, _polyfillHostContext)\n .replace(_colonHostRe, _polyfillHost)\n .replace(_colonSlottedRe, _polyfillSlotted);\n return selector;\n};\nconst convertColonRule = (cssText, regExp, partReplacer) => {\n // m[1] = :host(-context), m[2] = contents of (), m[3] rest of rule\n return cssText.replace(regExp, (...m) => {\n if (m[2]) {\n const parts = m[2].split(',');\n const r = [];\n for (let i = 0; i < parts.length; i++) {\n const p = parts[i].trim();\n if (!p)\n break;\n r.push(partReplacer(_polyfillHostNoCombinator, p, m[3]));\n }\n return r.join(',');\n }\n else {\n return _polyfillHostNoCombinator + m[3];\n }\n });\n};\nconst colonHostPartReplacer = (host, part, suffix) => {\n return host + part.replace(_polyfillHost, '') + suffix;\n};\nconst convertColonHost = (cssText) => {\n return convertColonRule(cssText, _cssColonHostRe, colonHostPartReplacer);\n};\nconst colonHostContextPartReplacer = (host, part, suffix) => {\n if (part.indexOf(_polyfillHost) > -1) {\n return colonHostPartReplacer(host, part, suffix);\n }\n else {\n return host + part + suffix + ', ' + part + ' ' + host + suffix;\n }\n};\nconst convertColonSlotted = (cssText, slotScopeId) => {\n const slotClass = '.' + slotScopeId + ' > ';\n const selectors = [];\n cssText = cssText.replace(_cssColonSlottedRe, (...m) => {\n if (m[2]) {\n const compound = m[2].trim();\n const suffix = m[3];\n const slottedSelector = slotClass + compound + suffix;\n let prefixSelector = '';\n for (let i = m[4] - 1; i >= 0; i--) {\n const char = m[5][i];\n if (char === '}' || char === ',') {\n break;\n }\n prefixSelector = char + prefixSelector;\n }\n const orgSelector = prefixSelector + slottedSelector;\n const addedSelector = `${prefixSelector.trimRight()}${slottedSelector.trim()}`;\n if (orgSelector.trim() !== addedSelector.trim()) {\n const updatedSelector = `${addedSelector}, ${orgSelector}`;\n selectors.push({\n orgSelector,\n updatedSelector,\n });\n }\n return slottedSelector;\n }\n else {\n return _polyfillHostNoCombinator + m[3];\n }\n });\n return {\n selectors,\n cssText,\n };\n};\nconst convertColonHostContext = (cssText) => {\n return convertColonRule(cssText, _cssColonHostContextRe, colonHostContextPartReplacer);\n};\nconst convertShadowDOMSelectors = (cssText) => {\n return _shadowDOMSelectorsRe.reduce((result, pattern) => result.replace(pattern, ' '), cssText);\n};\nconst makeScopeMatcher = (scopeSelector) => {\n const lre = /\\[/g;\n const rre = /\\]/g;\n scopeSelector = scopeSelector.replace(lre, '\\\\[').replace(rre, '\\\\]');\n return new RegExp('^(' + scopeSelector + ')' + _selectorReSuffix, 'm');\n};\nconst selectorNeedsScoping = (selector, scopeSelector) => {\n const re = makeScopeMatcher(scopeSelector);\n return !re.test(selector);\n};\nconst injectScopingSelector = (selector, scopingSelector) => {\n return selector.replace(_selectorPartsRe, (_, before = '', _colonGroup, colon = '', after = '') => {\n return before + scopingSelector + colon + after;\n });\n};\nconst applySimpleSelectorScope = (selector, scopeSelector, hostSelector) => {\n // In Android browser, the lastIndex is not reset when the regex is used in String.replace()\n _polyfillHostRe.lastIndex = 0;\n if (_polyfillHostRe.test(selector)) {\n const replaceBy = `.${hostSelector}`;\n return selector\n .replace(_polyfillHostNoCombinatorRe, (_, selector) => injectScopingSelector(selector, replaceBy))\n .replace(_polyfillHostRe, replaceBy + ' ');\n }\n return scopeSelector + ' ' + selector;\n};\nconst applyStrictSelectorScope = (selector, scopeSelector, hostSelector) => {\n const isRe = /\\[is=([^\\]]*)\\]/g;\n scopeSelector = scopeSelector.replace(isRe, (_, ...parts) => parts[0]);\n const className = '.' + scopeSelector;\n const _scopeSelectorPart = (p) => {\n let scopedP = p.trim();\n if (!scopedP) {\n return '';\n }\n if (p.indexOf(_polyfillHostNoCombinator) > -1) {\n scopedP = applySimpleSelectorScope(p, scopeSelector, hostSelector);\n }\n else {\n // remove :host since it should be unnecessary\n const t = p.replace(_polyfillHostRe, '');\n if (t.length > 0) {\n scopedP = injectScopingSelector(t, className);\n }\n }\n return scopedP;\n };\n const safeContent = safeSelector(selector);\n selector = safeContent.content;\n let scopedSelector = '';\n let startIndex = 0;\n let res;\n const sep = /( |>|\\+|~(?!=))\\s*/g;\n // If a selector appears before :host it should not be shimmed as it\n // matches on ancestor elements and not on elements in the host's shadow\n // `:host-context(div)` is transformed to\n // `-shadowcsshost-no-combinatordiv, div -shadowcsshost-no-combinator`\n // the `div` is not part of the component in the 2nd selectors and should not be scoped.\n // Historically `component-tag:host` was matching the component so we also want to preserve\n // this behavior to avoid breaking legacy apps (it should not match).\n // The behavior should be:\n // - `tag:host` -> `tag[h]` (this is to avoid breaking legacy apps, should not match anything)\n // - `tag :host` -> `tag [h]` (`tag` is not scoped because it's considered part of a\n // `:host-context(tag)`)\n const hasHost = selector.indexOf(_polyfillHostNoCombinator) > -1;\n // Only scope parts after the first `-shadowcsshost-no-combinator` when it is present\n let shouldScope = !hasHost;\n while ((res = sep.exec(selector)) !== null) {\n const separator = res[1];\n const part = selector.slice(startIndex, res.index).trim();\n shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1;\n const scopedPart = shouldScope ? _scopeSelectorPart(part) : part;\n scopedSelector += `${scopedPart} ${separator} `;\n startIndex = sep.lastIndex;\n }\n const part = selector.substring(startIndex);\n shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1;\n scopedSelector += shouldScope ? _scopeSelectorPart(part) : part;\n // replace the placeholders with their original values\n return restoreSafeSelector(safeContent.placeholders, scopedSelector);\n};\nconst scopeSelector = (selector, scopeSelectorText, hostSelector, slotSelector) => {\n return selector\n .split(',')\n .map((shallowPart) => {\n if (slotSelector && shallowPart.indexOf('.' + slotSelector) > -1) {\n return shallowPart.trim();\n }\n if (selectorNeedsScoping(shallowPart, scopeSelectorText)) {\n return applyStrictSelectorScope(shallowPart, scopeSelectorText, hostSelector).trim();\n }\n else {\n return shallowPart.trim();\n }\n })\n .join(', ');\n};\nconst scopeSelectors = (cssText, scopeSelectorText, hostSelector, slotSelector, commentOriginalSelector) => {\n return processRules(cssText, (rule) => {\n let selector = rule.selector;\n let content = rule.content;\n if (rule.selector[0] !== '@') {\n selector = scopeSelector(rule.selector, scopeSelectorText, hostSelector, slotSelector);\n }\n else if (rule.selector.startsWith('@media') ||\n rule.selector.startsWith('@supports') ||\n rule.selector.startsWith('@page') ||\n rule.selector.startsWith('@document')) {\n content = scopeSelectors(rule.content, scopeSelectorText, hostSelector, slotSelector);\n }\n const cssRule = {\n selector: selector.replace(/\\s{2,}/g, ' ').trim(),\n content,\n };\n return cssRule;\n });\n};\nconst scopeCssText = (cssText, scopeId, hostScopeId, slotScopeId, commentOriginalSelector) => {\n cssText = insertPolyfillHostInCssText(cssText);\n cssText = convertColonHost(cssText);\n cssText = convertColonHostContext(cssText);\n const slotted = convertColonSlotted(cssText, slotScopeId);\n cssText = slotted.cssText;\n cssText = convertShadowDOMSelectors(cssText);\n if (scopeId) {\n cssText = scopeSelectors(cssText, scopeId, hostScopeId, slotScopeId);\n }\n cssText = cssText.replace(/-shadowcsshost-no-combinator/g, `.${hostScopeId}`);\n cssText = cssText.replace(/>\\s*\\*\\s+([^{, ]+)/gm, ' $1 ');\n return {\n cssText: cssText.trim(),\n slottedSelectors: slotted.selectors,\n };\n};\nconst scopeCss = (cssText, scopeId, commentOriginalSelector) => {\n const hostScopeId = scopeId + '-h';\n const slotScopeId = scopeId + '-s';\n const commentsWithHash = extractCommentsWithHash(cssText);\n cssText = stripComments(cssText);\n const orgSelectors = [];\n if (commentOriginalSelector) {\n const processCommentedSelector = (rule) => {\n const placeholder = `/*!@___${orgSelectors.length}___*/`;\n const comment = `/*!@${rule.selector}*/`;\n orgSelectors.push({ placeholder, comment });\n rule.selector = placeholder + rule.selector;\n return rule;\n };\n cssText = processRules(cssText, (rule) => {\n if (rule.selector[0] !== '@') {\n return processCommentedSelector(rule);\n }\n else if (rule.selector.startsWith('@media') ||\n rule.selector.startsWith('@supports') ||\n rule.selector.startsWith('@page') ||\n rule.selector.startsWith('@document')) {\n rule.content = processRules(rule.content, processCommentedSelector);\n return rule;\n }\n return rule;\n });\n }\n const scoped = scopeCssText(cssText, scopeId, hostScopeId, slotScopeId);\n cssText = [scoped.cssText, ...commentsWithHash].join('\\n');\n if (commentOriginalSelector) {\n orgSelectors.forEach(({ placeholder, comment }) => {\n cssText = cssText.replace(placeholder, comment);\n });\n }\n scoped.slottedSelectors.forEach((slottedSelector) => {\n cssText = cssText.replace(slottedSelector.orgSelector, slottedSelector.updatedSelector);\n });\n return cssText;\n};\n\nexport { scopeCss };\n"],"names":["safeSelector","selector","placeholders","index","replace","_","keep","replaceBy","push","content","pseudo","exp","ss","restoreSafeSelector","_polyfillHost","_polyfillSlotted","_polyfillHostContext","_parenSuffix","_cssColonHostRe","RegExp","_cssColonHostContextRe","_cssColonSlottedRe","_polyfillHostNoCombinator","_polyfillHostNoCombinatorRe","_shadowDOMSelectorsRe","_selectorReSuffix","_polyfillHostRe","_colonHostRe","_colonSlottedRe","_colonHostContextRe","_commentRe","stripComments","input","_commentWithHashRe","extractCommentsWithHash","match","_ruleRe","_curlyRe","_selectorPartsRe","OPEN_CURLY","CLOSE_CURLY","BLOCK_PLACEHOLDER","processRules","ruleCallback","inputWithEscapedBlocks","escapeBlocks","nextBlockIndex","escapedString","m","suffix","contentPrefix","startsWith","blocks","substring","length","cssRule","rule","inputParts","split","resultParts","escapedBlocks","bracketCount","currentBlockParts","partIndex","part","join","strEscapedBlocks","insertPolyfillHostInCssText","convertColonRule","cssText","regExp","partReplacer","parts","r","i","p","trim","colonHostPartReplacer","host","convertColonHost","colonHostContextPartReplacer","indexOf","convertColonSlotted","slotScopeId","slotClass","selectors","compound","slottedSelector","prefixSelector","char","orgSelector","addedSelector","trimRight","updatedSelector","convertColonHostContext","convertShadowDOMSelectors","reduce","result","pattern","makeScopeMatcher","scopeSelector","lre","rre","selectorNeedsScoping","re","test","injectScopingSelector","scopingSelector","before","_colonGroup","colon","after","applySimpleSelectorScope","hostSelector","lastIndex","applyStrictSelectorScope","isRe","className","_scopeSelectorPart","scopedP","t","safeContent","res","scopedSelector","startIndex","sep","hasHost","shouldScope","exec","separator","slice","scopedPart","scopeSelectorText","slotSelector","map","shallowPart","scopeSelectors","commentOriginalSelector","scopeCssText","scopeId","hostScopeId","slotted","slottedSelectors","scopeCss","commentsWithHash","orgSelectors","processCommentedSelector","placeholder","comment","scoped","forEach"],"sourceRoot":""} \ No newline at end of file diff --git a/ios/App/App/public/js/753.17d4d392.js b/ios/App/App/public/js/753.17d4d392.js new file mode 100644 index 0000000..c471bae --- /dev/null +++ b/ios/App/App/public/js/753.17d4d392.js @@ -0,0 +1,6 @@ +"use strict";(self["webpackChunktainacan_mobile"]=self["webpackChunktainacan_mobile"]||[]).push([[753],{4753:function(n,e,t){t.r(e),t.d(e,{mdTransitionAnimation:function(){return o}});var i=t(5980),a=t(5026); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const o=(n,e)=>{const t="40px",o="0px",r="back"===e.direction,s=e.enteringEl,c=e.leavingEl,l=(0,a.g)(s),d=l.querySelector("ion-toolbar"),m=(0,i.c)();if(m.addElement(l).fill("both").beforeRemoveClass("ion-page-invisible"),r?m.duration(e.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):m.duration(e.duration||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform",`translateY(${t})`,`translateY(${o})`).fromTo("opacity",.01,1),d){const n=(0,i.c)();n.addElement(d),m.addAnimation(n)}if(c&&r){m.duration(e.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const n=(0,i.c)();n.addElement((0,a.g)(c)).onFinish((e=>{1===e&&n.elements.length>0&&n.elements[0].style.setProperty("display","none")})).fromTo("transform",`translateY(${o})`,`translateY(${t})`).fromTo("opacity",1,0),m.addAnimation(n)}return m}}}]); +//# sourceMappingURL=753.17d4d392.js.map \ No newline at end of file diff --git a/ios/App/App/public/js/753.17d4d392.js.map b/ios/App/App/public/js/753.17d4d392.js.map new file mode 100644 index 0000000..500c65b --- /dev/null +++ b/ios/App/App/public/js/753.17d4d392.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/753.17d4d392.js","mappings":";;;;AAMA,MAAMA,EAAwB,CAACC,EAAGC,KAChC,MAAMC,EAAa,OACbC,EAAS,MACTC,EAAmC,SAAnBH,EAAKI,UACrBC,EAAaL,EAAKK,WAClBC,EAAYN,EAAKM,UACjBC,GAAiB,IAAAC,GAAkBH,GACnCI,EAAqBF,EAAeG,cAAc,eAClDC,GAAiB,IAAAC,KAcvB,GAbAD,EAAeE,WAAWN,GAAgBO,KAAK,QAAQC,kBAAkB,sBAErEZ,EACFQ,EAAeK,SAAShB,EAAKgB,UAAY,KAAKC,OAAO,oCAGrDN,EACGK,SAAShB,EAAKgB,UAAY,KAC1BC,OAAO,kCACPC,OAAO,YAAa,cAAcjB,KAAe,cAAcC,MAC/DgB,OAAO,UAAW,IAAM,GAGzBT,EAAoB,CACtB,MAAMU,GAAkB,IAAAP,KACxBO,EAAgBN,WAAWJ,GAC3BE,EAAeS,aAAaD,GAG9B,GAAIb,GAAaH,EAAe,CAE9BQ,EAAeK,SAAShB,EAAKgB,UAAY,KAAKC,OAAO,oCACrD,MAAMI,GAAc,IAAAT,KACpBS,EACGR,YAAW,IAAAL,GAAkBF,IAC7BgB,UAAUC,IACS,IAAhBA,GAAqBF,EAAYG,SAASC,OAAS,GACrDJ,EAAYG,SAAS,GAAGE,MAAMC,YAAY,UAAW,WAGtDT,OAAO,YAAa,cAAchB,KAAW,cAAcD,MAC3DiB,OAAO,UAAW,EAAG,GACxBP,EAAeS,aAAaC,GAE9B,OAAOV","sources":["webpack://tainacan-mobile/./node_modules/@ionic/core/components/md.transition.js"],"sourcesContent":["/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { c as createAnimation } from './animation.js';\nimport { g as getIonPageElement } from './index4.js';\n\nconst mdTransitionAnimation = (_, opts) => {\n const OFF_BOTTOM = '40px';\n const CENTER = '0px';\n const backDirection = opts.direction === 'back';\n const enteringEl = opts.enteringEl;\n const leavingEl = opts.leavingEl;\n const ionPageElement = getIonPageElement(enteringEl);\n const enteringToolbarEle = ionPageElement.querySelector('ion-toolbar');\n const rootTransition = createAnimation();\n rootTransition.addElement(ionPageElement).fill('both').beforeRemoveClass('ion-page-invisible');\n // animate the component itself\n if (backDirection) {\n rootTransition.duration(opts.duration || 200).easing('cubic-bezier(0.47,0,0.745,0.715)');\n }\n else {\n rootTransition\n .duration(opts.duration || 280)\n .easing('cubic-bezier(0.36,0.66,0.04,1)')\n .fromTo('transform', `translateY(${OFF_BOTTOM})`, `translateY(${CENTER})`)\n .fromTo('opacity', 0.01, 1);\n }\n // Animate toolbar if it's there\n if (enteringToolbarEle) {\n const enteringToolBar = createAnimation();\n enteringToolBar.addElement(enteringToolbarEle);\n rootTransition.addAnimation(enteringToolBar);\n }\n // setup leaving view\n if (leavingEl && backDirection) {\n // leaving content\n rootTransition.duration(opts.duration || 200).easing('cubic-bezier(0.47,0,0.745,0.715)');\n const leavingPage = createAnimation();\n leavingPage\n .addElement(getIonPageElement(leavingEl))\n .onFinish((currentStep) => {\n if (currentStep === 1 && leavingPage.elements.length > 0) {\n leavingPage.elements[0].style.setProperty('display', 'none');\n }\n })\n .fromTo('transform', `translateY(${CENTER})`, `translateY(${OFF_BOTTOM})`)\n .fromTo('opacity', 1, 0);\n rootTransition.addAnimation(leavingPage);\n }\n return rootTransition;\n};\n\nexport { mdTransitionAnimation };\n"],"names":["mdTransitionAnimation","_","opts","OFF_BOTTOM","CENTER","backDirection","direction","enteringEl","leavingEl","ionPageElement","g","enteringToolbarEle","querySelector","rootTransition","c","addElement","fill","beforeRemoveClass","duration","easing","fromTo","enteringToolBar","addAnimation","leavingPage","onFinish","currentStep","elements","length","style","setProperty"],"sourceRoot":""} \ No newline at end of file diff --git a/ios/App/App/public/js/775.c55644c6.js b/ios/App/App/public/js/775.c55644c6.js new file mode 100644 index 0000000..bb715f1 --- /dev/null +++ b/ios/App/App/public/js/775.c55644c6.js @@ -0,0 +1,6 @@ +"use strict";(self["webpackChunktainacan_mobile"]=self["webpackChunktainacan_mobile"]||[]).push([[775],{8775:function(e,t,n){n.r(t),n.d(t,{startInputShims:function(){return D}});var o=n(8487),r=n(6587); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const i=new WeakMap,a=(e,t,n,o=0)=>{i.has(e)!==n&&(n?l(e,t,o):d(e,t))},s=e=>e===e.getRootNode().activeElement,l=(e,t,n)=>{const o=t.parentNode,r=t.cloneNode(!1);r.classList.add("cloned-input"),r.tabIndex=-1,o.appendChild(r),i.set(e,r);const a=e.ownerDocument,s="rtl"===a.dir?9999:-9999;e.style.pointerEvents="none",t.style.transform=`translate3d(${s}px,${n}px,0) scale(0)`},d=(e,t)=>{const n=i.get(e);n&&(i.delete(e),n.remove()),e.style.pointerEvents="",t.style.transform=""},c=(e,t,n)=>{if(!n||!t)return()=>{};const o=n=>{s(t)&&a(e,t,n)},i=()=>a(e,t,!1),l=()=>o(!0),d=()=>o(!1);return(0,r.a)(n,"ionScrollStart",l),(0,r.a)(n,"ionScrollEnd",d),t.addEventListener("blur",i),()=>{(0,r.b)(n,"ionScrollStart",l),(0,r.b)(n,"ionScrollEnd",d),t.addEventListener("ionBlur",i)}},u="input, textarea, [no-blur], [contenteditable]",m=()=>{let e=!0,t=!1;const n=document,o=()=>{t=!0},i=()=>{e=!0},a=o=>{if(t)return void(t=!1);const r=n.activeElement;if(!r)return;if(r.matches(u))return;const i=o.target;i!==r&&(i.matches(u)||i.closest(u)||(e=!1,setTimeout((()=>{e||r.blur()}),50)))};return(0,r.a)(n,"ionScrollStart",o),n.addEventListener("focusin",i,!0),n.addEventListener("touchend",a,!1),()=>{(0,r.b)(n,"ionScrollStart",o,!0),n.removeEventListener("focusin",i,!0),n.removeEventListener("touchend",a,!1)}},f=.3,v=(e,t,n)=>{const o=e.closest("ion-item,[ion-item]")||e;return p(o.getBoundingClientRect(),t.getBoundingClientRect(),n,e.ownerDocument.defaultView.innerHeight)},p=(e,t,n,o)=>{const r=e.top,i=e.bottom,a=t.top,s=Math.min(t.bottom,o-n),l=a+15,d=.75*s,c=d-i,u=l-r,m=Math.round(c<0?-c:u>0?-u:0),v=Math.min(m,r-a),p=Math.abs(v),h=p/f,w=Math.min(400,Math.max(150,h));return{scrollAmount:v,scrollDuration:w,scrollPadding:n,inputSafeY:4-(r-l)}},h=(e,t,n,o,i)=>{let a;const l=e=>{a=(0,r.q)(e)},d=l=>{if(!a)return;const d=(0,r.q)(l);E(6,a,d)||s(t)||w(e,t,n,o,i)};return e.addEventListener("touchstart",l,!0),e.addEventListener("touchend",d,!0),()=>{e.removeEventListener("touchstart",l,!0),e.removeEventListener("touchend",d,!0)}},w=async(e,t,n,i,s)=>{if(!n&&!i)return;const l=v(e,n||i,s);if(n&&Math.abs(l.scrollAmount)<4)t.focus();else if(a(e,t,!0,l.inputSafeY),t.focus(),(0,r.r)((()=>e.click())),"undefined"!==typeof window){let r;const i=async()=>{void 0!==r&&clearTimeout(r),window.removeEventListener("ionKeyboardDidShow",s),window.removeEventListener("ionKeyboardDidShow",i),n&&await(0,o.c)(n,0,l.scrollAmount,l.scrollDuration),a(e,t,!1,l.inputSafeY),t.focus()},s=()=>{window.removeEventListener("ionKeyboardDidShow",s),window.addEventListener("ionKeyboardDidShow",i)};if(n){const e=await(0,o.g)(n),a=e.scrollHeight-e.clientHeight;if(l.scrollAmount>a-e.scrollTop)return"password"===t.type?(l.scrollAmount+=50,window.addEventListener("ionKeyboardDidShow",s)):window.addEventListener("ionKeyboardDidShow",i),void(r=setTimeout(i,1e3))}i()}},E=(e,t,n)=>{if(t&&n){const o=t.x-n.x,r=t.y-n.y,i=o*o+r*r;return i>e*e}return!1},g="$ionPaddingTimer",y=e=>{const t=document,n=t=>{b(t.target,e)},o=e=>{b(e.target,0)};return t.addEventListener("focusin",n),t.addEventListener("focusout",o),()=>{t.removeEventListener("focusin",n),t.removeEventListener("focusout",o)}},b=(e,t)=>{var n,r;if("INPUT"!==e.tagName)return;if(e.parentElement&&"ION-INPUT"===e.parentElement.tagName)return;if("ION-SEARCHBAR"===(null===(r=null===(n=e.parentElement)||void 0===n?void 0:n.parentElement)||void 0===r?void 0:r.tagName))return;const i=(0,o.a)(e);if(null===i)return;const a=i[g];a&&clearTimeout(a),t>0?i.style.setProperty("--keyboard-offset",`${t}px`):i[g]=setTimeout((()=>{i.style.setProperty("--keyboard-offset","0px")}),120)},S=!0,L=!0,D=e=>{const t=document,n=e.getNumber("keyboardHeight",290),i=e.getBoolean("scrollAssist",!0),a=e.getBoolean("hideCaretOnScroll",!0),s=e.getBoolean("inputBlurring",!0),l=e.getBoolean("scrollPadding",!0),d=Array.from(t.querySelectorAll("ion-input, ion-textarea")),u=new WeakMap,f=new WeakMap,v=async e=>{await new Promise((t=>(0,r.c)(e,t)));const t=e.shadowRoot||e,s=t.querySelector("input")||t.querySelector("textarea"),l=(0,o.a)(e),d=l?null:e.closest("ion-footer");if(s){if(l&&a&&!u.has(e)){const t=c(e,s,l);u.set(e,t)}if((l||d)&&i&&!f.has(e)){const t=h(e,s,l,d,n);f.set(e,t)}}},p=e=>{if(a){const t=u.get(e);t&&t(),u.delete(e)}if(i){const t=f.get(e);t&&t(),f.delete(e)}};s&&S&&m(),l&&L&&y(n);for(const o of d)v(o);t.addEventListener("ionInputDidLoad",(e=>{v(e.detail)})),t.addEventListener("ionInputDidUnload",(e=>{p(e.detail)}))}}}]); +//# sourceMappingURL=775.c55644c6.js.map \ No newline at end of file diff --git a/ios/App/App/public/js/775.c55644c6.js.map b/ios/App/App/public/js/775.c55644c6.js.map new file mode 100644 index 0000000..b134ccb --- /dev/null +++ b/ios/App/App/public/js/775.c55644c6.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/775.c55644c6.js","mappings":";;;;AAMA,MAAMA,EAAW,IAAIC,QACfC,EAAgB,CAACC,EAAaC,EAASC,EAAgBC,EAAiB,KACxEN,EAASO,IAAIJ,KAAiBE,IAG9BA,EACFG,EAASL,EAAaC,EAASE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,EAAoB/D,GAKtB,IAAK,MAAMpD,KAASqI,EAClBM,EAAc3I,GAEhBY,EAAImB,iBAAiB,mBAAqBS,IACxCmG,EAAcnG,EAAG6G,WAEnBzI,EAAImB,iBAAiB,qBAAuBS,IAC1C2G,EAAgB3G,EAAG6G","sources":["webpack://tainacan-mobile/./node_modules/@ionic/core/components/input-shims.js"],"sourcesContent":["/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { g as getScrollElement, c as scrollByPoint, a as findClosestIonContent } from './index8.js';\nimport { a as addEventListener, b as removeEventListener, r as raf, q as pointerCoord, c as componentOnReady } from './helpers.js';\n\nconst cloneMap = new WeakMap();\nconst relocateInput = (componentEl, inputEl, shouldRelocate, inputRelativeY = 0) => {\n if (cloneMap.has(componentEl) === shouldRelocate) {\n return;\n }\n if (shouldRelocate) {\n addClone(componentEl, inputEl, inputRelativeY);\n }\n else {\n removeClone(componentEl, inputEl);\n }\n};\nconst isFocused = (input) => {\n return input === input.getRootNode().activeElement;\n};\nconst addClone = (componentEl, inputEl, inputRelativeY) => {\n // this allows for the actual input to receive the focus from\n // the user's touch event, but before it receives focus, it\n // moves the actual input to a location that will not screw\n // up the app's layout, and does not allow the native browser\n // to attempt to scroll the input into place (messing up headers/footers)\n // the cloned input fills the area of where native input should be\n // while the native input fakes out the browser by relocating itself\n // before it receives the actual focus event\n // We hide the focused input (with the visible caret) invisible by making it scale(0),\n const parentEl = inputEl.parentNode;\n // DOM WRITES\n const clonedEl = inputEl.cloneNode(false);\n clonedEl.classList.add('cloned-input');\n clonedEl.tabIndex = -1;\n parentEl.appendChild(clonedEl);\n cloneMap.set(componentEl, clonedEl);\n const doc = componentEl.ownerDocument;\n const tx = doc.dir === 'rtl' ? 9999 : -9999;\n componentEl.style.pointerEvents = 'none';\n inputEl.style.transform = `translate3d(${tx}px,${inputRelativeY}px,0) scale(0)`;\n};\nconst removeClone = (componentEl, inputEl) => {\n const clone = cloneMap.get(componentEl);\n if (clone) {\n cloneMap.delete(componentEl);\n clone.remove();\n }\n componentEl.style.pointerEvents = '';\n inputEl.style.transform = '';\n};\n\nconst enableHideCaretOnScroll = (componentEl, inputEl, scrollEl) => {\n if (!scrollEl || !inputEl) {\n return () => {\n return;\n };\n }\n const scrollHideCaret = (shouldHideCaret) => {\n if (isFocused(inputEl)) {\n relocateInput(componentEl, inputEl, shouldHideCaret);\n }\n };\n const onBlur = () => relocateInput(componentEl, inputEl, false);\n const hideCaret = () => scrollHideCaret(true);\n const showCaret = () => scrollHideCaret(false);\n addEventListener(scrollEl, 'ionScrollStart', hideCaret);\n addEventListener(scrollEl, 'ionScrollEnd', showCaret);\n inputEl.addEventListener('blur', onBlur);\n return () => {\n removeEventListener(scrollEl, 'ionScrollStart', hideCaret);\n removeEventListener(scrollEl, 'ionScrollEnd', showCaret);\n inputEl.addEventListener('ionBlur', onBlur);\n };\n};\n\nconst SKIP_SELECTOR = 'input, textarea, [no-blur], [contenteditable]';\nconst enableInputBlurring = () => {\n let focused = true;\n let didScroll = false;\n const doc = document;\n const onScroll = () => {\n didScroll = true;\n };\n const onFocusin = () => {\n focused = true;\n };\n const onTouchend = (ev) => {\n // if app did scroll return early\n if (didScroll) {\n didScroll = false;\n return;\n }\n const active = doc.activeElement;\n if (!active) {\n return;\n }\n // only blur if the active element is a text-input or a textarea\n if (active.matches(SKIP_SELECTOR)) {\n return;\n }\n // if the selected target is the active element, do not blur\n const tapped = ev.target;\n if (tapped === active) {\n return;\n }\n if (tapped.matches(SKIP_SELECTOR) || tapped.closest(SKIP_SELECTOR)) {\n return;\n }\n focused = false;\n // TODO: find a better way, why 50ms?\n setTimeout(() => {\n if (!focused) {\n active.blur();\n }\n }, 50);\n };\n addEventListener(doc, 'ionScrollStart', onScroll);\n doc.addEventListener('focusin', onFocusin, true);\n doc.addEventListener('touchend', onTouchend, false);\n return () => {\n removeEventListener(doc, 'ionScrollStart', onScroll, true);\n doc.removeEventListener('focusin', onFocusin, true);\n doc.removeEventListener('touchend', onTouchend, false);\n };\n};\n\nconst SCROLL_ASSIST_SPEED = 0.3;\nconst getScrollData = (componentEl, contentEl, keyboardHeight) => {\n const itemEl = componentEl.closest('ion-item,[ion-item]') || componentEl;\n return calcScrollData(itemEl.getBoundingClientRect(), contentEl.getBoundingClientRect(), keyboardHeight, componentEl.ownerDocument.defaultView.innerHeight);\n};\nconst calcScrollData = (inputRect, contentRect, keyboardHeight, platformHeight) => {\n // compute input's Y values relative to the body\n const inputTop = inputRect.top;\n const inputBottom = inputRect.bottom;\n // compute visible area\n const visibleAreaTop = contentRect.top;\n const visibleAreaBottom = Math.min(contentRect.bottom, platformHeight - keyboardHeight);\n // compute safe area\n const safeAreaTop = visibleAreaTop + 15;\n const safeAreaBottom = visibleAreaBottom * 0.75;\n // figure out if each edge of the input is within the safe area\n const distanceToBottom = safeAreaBottom - inputBottom;\n const distanceToTop = safeAreaTop - inputTop;\n // desiredScrollAmount is the negated distance to the safe area according to our calculations.\n const desiredScrollAmount = Math.round(distanceToBottom < 0 ? -distanceToBottom : distanceToTop > 0 ? -distanceToTop : 0);\n // our calculations make some assumptions that aren't always true, like the keyboard being closed when an input\n // gets focus, so make sure we don't scroll the input above the visible area\n const scrollAmount = Math.min(desiredScrollAmount, inputTop - visibleAreaTop);\n const distance = Math.abs(scrollAmount);\n const duration = distance / SCROLL_ASSIST_SPEED;\n const scrollDuration = Math.min(400, Math.max(150, duration));\n return {\n scrollAmount,\n scrollDuration,\n scrollPadding: keyboardHeight,\n inputSafeY: -(inputTop - safeAreaTop) + 4,\n };\n};\n\nconst enableScrollAssist = (componentEl, inputEl, contentEl, footerEl, keyboardHeight) => {\n let coord;\n const touchStart = (ev) => {\n coord = pointerCoord(ev);\n };\n const touchEnd = (ev) => {\n // input cover touchend/mouseup\n if (!coord) {\n return;\n }\n // get where the touchend/mouseup ended\n const endCoord = pointerCoord(ev);\n // focus this input if the pointer hasn't moved XX pixels\n // and the input doesn't already have focus\n if (!hasPointerMoved(6, coord, endCoord) && !isFocused(inputEl)) {\n // begin the input focus process\n jsSetFocus(componentEl, inputEl, contentEl, footerEl, keyboardHeight);\n }\n };\n componentEl.addEventListener('touchstart', touchStart, true);\n componentEl.addEventListener('touchend', touchEnd, true);\n return () => {\n componentEl.removeEventListener('touchstart', touchStart, true);\n componentEl.removeEventListener('touchend', touchEnd, true);\n };\n};\nconst jsSetFocus = async (componentEl, inputEl, contentEl, footerEl, keyboardHeight) => {\n if (!contentEl && !footerEl) {\n return;\n }\n const scrollData = getScrollData(componentEl, (contentEl || footerEl), keyboardHeight);\n if (contentEl && Math.abs(scrollData.scrollAmount) < 4) {\n // the text input is in a safe position that doesn't\n // require it to be scrolled into view, just set focus now\n inputEl.focus();\n return;\n }\n // temporarily move the focus to the focus holder so the browser\n // doesn't freak out while it's trying to get the input in place\n // at this point the native text input still does not have focus\n relocateInput(componentEl, inputEl, true, scrollData.inputSafeY);\n inputEl.focus();\n /**\n * Relocating/Focusing input causes the\n * click event to be cancelled, so\n * manually fire one here.\n */\n raf(() => componentEl.click());\n if (typeof window !== 'undefined') {\n let scrollContentTimeout;\n const scrollContent = async () => {\n // clean up listeners and timeouts\n if (scrollContentTimeout !== undefined) {\n clearTimeout(scrollContentTimeout);\n }\n window.removeEventListener('ionKeyboardDidShow', doubleKeyboardEventListener);\n window.removeEventListener('ionKeyboardDidShow', scrollContent);\n // scroll the input into place\n if (contentEl) {\n await scrollByPoint(contentEl, 0, scrollData.scrollAmount, scrollData.scrollDuration);\n }\n // the scroll view is in the correct position now\n // give the native text input focus\n relocateInput(componentEl, inputEl, false, scrollData.inputSafeY);\n // ensure this is the focused input\n inputEl.focus();\n };\n const doubleKeyboardEventListener = () => {\n window.removeEventListener('ionKeyboardDidShow', doubleKeyboardEventListener);\n window.addEventListener('ionKeyboardDidShow', scrollContent);\n };\n if (contentEl) {\n const scrollEl = await getScrollElement(contentEl);\n /**\n * scrollData will only consider the amount we need\n * to scroll in order to properly bring the input\n * into view. It will not consider the amount\n * we can scroll in the content element.\n * As a result, scrollData may request a greater\n * scroll position than is currently available\n * in the DOM. If this is the case, we need to\n * wait for the webview to resize/the keyboard\n * to show in order for additional scroll\n * bandwidth to become available.\n */\n const totalScrollAmount = scrollEl.scrollHeight - scrollEl.clientHeight;\n if (scrollData.scrollAmount > totalScrollAmount - scrollEl.scrollTop) {\n /**\n * On iOS devices, the system will show a \"Passwords\" bar above the keyboard\n * after the initial keyboard is shown. This prevents the webview from resizing\n * until the \"Passwords\" bar is shown, so we need to wait for that to happen first.\n */\n if (inputEl.type === 'password') {\n // Add 50px to account for the \"Passwords\" bar\n scrollData.scrollAmount += 50;\n window.addEventListener('ionKeyboardDidShow', doubleKeyboardEventListener);\n }\n else {\n window.addEventListener('ionKeyboardDidShow', scrollContent);\n }\n /**\n * This should only fire in 2 instances:\n * 1. The app is very slow.\n * 2. The app is running in a browser on an old OS\n * that does not support Ionic Keyboard Events\n */\n scrollContentTimeout = setTimeout(scrollContent, 1000);\n return;\n }\n }\n scrollContent();\n }\n};\nconst hasPointerMoved = (threshold, startCoord, endCoord) => {\n if (startCoord && endCoord) {\n const deltaX = startCoord.x - endCoord.x;\n const deltaY = startCoord.y - endCoord.y;\n const distance = deltaX * deltaX + deltaY * deltaY;\n return distance > threshold * threshold;\n }\n return false;\n};\n\nconst PADDING_TIMER_KEY = '$ionPaddingTimer';\nconst enableScrollPadding = (keyboardHeight) => {\n const doc = document;\n const onFocusin = (ev) => {\n setScrollPadding(ev.target, keyboardHeight);\n };\n const onFocusout = (ev) => {\n setScrollPadding(ev.target, 0);\n };\n doc.addEventListener('focusin', onFocusin);\n doc.addEventListener('focusout', onFocusout);\n return () => {\n doc.removeEventListener('focusin', onFocusin);\n doc.removeEventListener('focusout', onFocusout);\n };\n};\nconst setScrollPadding = (input, keyboardHeight) => {\n var _a, _b;\n if (input.tagName !== 'INPUT') {\n return;\n }\n if (input.parentElement && input.parentElement.tagName === 'ION-INPUT') {\n return;\n }\n if (((_b = (_a = input.parentElement) === null || _a === void 0 ? void 0 : _a.parentElement) === null || _b === void 0 ? void 0 : _b.tagName) === 'ION-SEARCHBAR') {\n return;\n }\n const el = findClosestIonContent(input);\n if (el === null) {\n return;\n }\n const timer = el[PADDING_TIMER_KEY];\n if (timer) {\n clearTimeout(timer);\n }\n if (keyboardHeight > 0) {\n el.style.setProperty('--keyboard-offset', `${keyboardHeight}px`);\n }\n else {\n el[PADDING_TIMER_KEY] = setTimeout(() => {\n el.style.setProperty('--keyboard-offset', '0px');\n }, 120);\n }\n};\n\nconst INPUT_BLURRING = true;\nconst SCROLL_PADDING = true;\nconst startInputShims = (config) => {\n const doc = document;\n const keyboardHeight = config.getNumber('keyboardHeight', 290);\n const scrollAssist = config.getBoolean('scrollAssist', true);\n const hideCaret = config.getBoolean('hideCaretOnScroll', true);\n const inputBlurring = config.getBoolean('inputBlurring', true);\n const scrollPadding = config.getBoolean('scrollPadding', true);\n const inputs = Array.from(doc.querySelectorAll('ion-input, ion-textarea'));\n const hideCaretMap = new WeakMap();\n const scrollAssistMap = new WeakMap();\n const registerInput = async (componentEl) => {\n await new Promise((resolve) => componentOnReady(componentEl, resolve));\n const inputRoot = componentEl.shadowRoot || componentEl;\n const inputEl = inputRoot.querySelector('input') || inputRoot.querySelector('textarea');\n const scrollEl = findClosestIonContent(componentEl);\n const footerEl = !scrollEl ? componentEl.closest('ion-footer') : null;\n if (!inputEl) {\n return;\n }\n if (!!scrollEl && hideCaret && !hideCaretMap.has(componentEl)) {\n const rmFn = enableHideCaretOnScroll(componentEl, inputEl, scrollEl);\n hideCaretMap.set(componentEl, rmFn);\n }\n if ((!!scrollEl || !!footerEl) && scrollAssist && !scrollAssistMap.has(componentEl)) {\n const rmFn = enableScrollAssist(componentEl, inputEl, scrollEl, footerEl, keyboardHeight);\n scrollAssistMap.set(componentEl, rmFn);\n }\n };\n const unregisterInput = (componentEl) => {\n if (hideCaret) {\n const fn = hideCaretMap.get(componentEl);\n if (fn) {\n fn();\n }\n hideCaretMap.delete(componentEl);\n }\n if (scrollAssist) {\n const fn = scrollAssistMap.get(componentEl);\n if (fn) {\n fn();\n }\n scrollAssistMap.delete(componentEl);\n }\n };\n if (inputBlurring && INPUT_BLURRING) {\n enableInputBlurring();\n }\n if (scrollPadding && SCROLL_PADDING) {\n enableScrollPadding(keyboardHeight);\n }\n // Input might be already loaded in the DOM before ion-device-hacks did.\n // At this point we need to look for all of the inputs not registered yet\n // and register them.\n for (const input of inputs) {\n registerInput(input);\n }\n doc.addEventListener('ionInputDidLoad', ((ev) => {\n registerInput(ev.detail);\n }));\n doc.addEventListener('ionInputDidUnload', ((ev) => {\n unregisterInput(ev.detail);\n }));\n};\n\nexport { startInputShims };\n"],"names":["cloneMap","WeakMap","relocateInput","componentEl","inputEl","shouldRelocate","inputRelativeY","has","addClone","removeClone","isFocused","input","getRootNode","activeElement","parentEl","parentNode","clonedEl","cloneNode","classList","add","tabIndex","appendChild","set","doc","ownerDocument","tx","dir","style","pointerEvents","transform","clone","get","delete","remove","enableHideCaretOnScroll","scrollEl","scrollHideCaret","shouldHideCaret","onBlur","hideCaret","showCaret","a","addEventListener","SKIP_SELECTOR","enableInputBlurring","focused","didScroll","document","onScroll","onFocusin","onTouchend","ev","active","matches","tapped","target","closest","setTimeout","blur","removeEventListener","SCROLL_ASSIST_SPEED","getScrollData","contentEl","keyboardHeight","itemEl","calcScrollData","getBoundingClientRect","defaultView","innerHeight","inputRect","contentRect","platformHeight","inputTop","top","inputBottom","bottom","visibleAreaTop","visibleAreaBottom","Math","min","safeAreaTop","safeAreaBottom","distanceToBottom","distanceToTop","desiredScrollAmount","round","scrollAmount","distance","abs","duration","scrollDuration","max","scrollPadding","inputSafeY","enableScrollAssist","footerEl","coord","touchStart","touchEnd","endCoord","hasPointerMoved","jsSetFocus","async","scrollData","focus","r","click","window","scrollContentTimeout","scrollContent","undefined","clearTimeout","doubleKeyboardEventListener","g","totalScrollAmount","scrollHeight","clientHeight","scrollTop","type","threshold","startCoord","deltaX","x","deltaY","y","PADDING_TIMER_KEY","enableScrollPadding","setScrollPadding","onFocusout","_a","_b","tagName","parentElement","el","timer","setProperty","INPUT_BLURRING","SCROLL_PADDING","startInputShims","config","getNumber","scrollAssist","getBoolean","inputBlurring","inputs","Array","from","querySelectorAll","hideCaretMap","scrollAssistMap","registerInput","Promise","resolve","c","inputRoot","shadowRoot","querySelector","rmFn","unregisterInput","fn","detail"],"sourceRoot":""} \ No newline at end of file diff --git a/ios/App/App/public/js/78.51f18a44.js b/ios/App/App/public/js/78.51f18a44.js new file mode 100644 index 0000000..828cf79 --- /dev/null +++ b/ios/App/App/public/js/78.51f18a44.js @@ -0,0 +1,6 @@ +"use strict";(self["webpackChunktainacan_mobile"]=self["webpackChunktainacan_mobile"]||[]).push([[78],{6078:function(e,t,n){n.r(t),n.d(t,{startStatusTap:function(){return a}});var o=n(65),r=n(8487),s=n(6587); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const a=()=>{const e=window;e.addEventListener("statusTap",(()=>{(0,o.wj)((()=>{const t=e.innerWidth,n=e.innerHeight,a=document.elementFromPoint(t/2,n/2);if(!a)return;const i=(0,r.a)(a);i&&new Promise((e=>(0,s.c)(i,e))).then((()=>{(0,o.Iu)((async()=>{i.style.setProperty("--overflow","hidden"),await(0,r.s)(i,300),i.style.removeProperty("--overflow")}))}))}))}))}}}]); +//# sourceMappingURL=78.51f18a44.js.map \ No newline at end of file diff --git a/ios/App/App/public/js/78.51f18a44.js.map b/ios/App/App/public/js/78.51f18a44.js.map new file mode 100644 index 0000000..69b8e70 --- /dev/null +++ b/ios/App/App/public/js/78.51f18a44.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/78.51f18a44.js","mappings":";;;;AAOA,MAAMA,EAAiB,KACrB,MAAMC,EAAMC,OACZD,EAAIE,iBAAiB,aAAa,MAChC,SAAS,KACP,MAAMC,EAAQH,EAAII,WACZC,EAASL,EAAIM,YACbC,EAAKC,SAASC,iBAAiBN,EAAQ,EAAGE,EAAS,GACzD,IAAKE,EACH,OAEF,MAAMG,GAAY,OAAsBH,GACpCG,GACF,IAAIC,SAASC,IAAY,IAAAC,GAAiBH,EAAWE,KAAUE,MAAK,MAClE,SAAUC,UAQRL,EAAUM,MAAMC,YAAY,aAAc,gBACpC,IAAAC,GAAYR,EAAW,KAC7BA,EAAUM,MAAMG,eAAe","sources":["webpack://tainacan-mobile/./node_modules/@ionic/core/components/status-tap.js"],"sourcesContent":["/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { readTask, writeTask } from '@stencil/core/internal/client';\nimport { a as findClosestIonContent, s as scrollToTop } from './index8.js';\nimport { c as componentOnReady } from './helpers.js';\n\nconst startStatusTap = () => {\n const win = window;\n win.addEventListener('statusTap', () => {\n readTask(() => {\n const width = win.innerWidth;\n const height = win.innerHeight;\n const el = document.elementFromPoint(width / 2, height / 2);\n if (!el) {\n return;\n }\n const contentEl = findClosestIonContent(el);\n if (contentEl) {\n new Promise((resolve) => componentOnReady(contentEl, resolve)).then(() => {\n writeTask(async () => {\n /**\n * If scrolling and user taps status bar,\n * only calling scrollToTop is not enough\n * as engines like WebKit will jump the\n * scroll position back down and complete\n * any in-progress momentum scrolling.\n */\n contentEl.style.setProperty('--overflow', 'hidden');\n await scrollToTop(contentEl, 300);\n contentEl.style.removeProperty('--overflow');\n });\n });\n }\n });\n });\n};\n\nexport { startStatusTap };\n"],"names":["startStatusTap","win","window","addEventListener","width","innerWidth","height","innerHeight","el","document","elementFromPoint","contentEl","Promise","resolve","c","then","async","style","setProperty","s","removeProperty"],"sourceRoot":""} \ No newline at end of file diff --git a/ios/App/App/public/js/880.e288775e.js b/ios/App/App/public/js/880.e288775e.js new file mode 100644 index 0000000..83daa84 --- /dev/null +++ b/ios/App/App/public/js/880.e288775e.js @@ -0,0 +1,14 @@ +"use strict";(self["webpackChunktainacan_mobile"]=self["webpackChunktainacan_mobile"]||[]).push([[880],{5880:function(e,t,s){s.r(t),s.d(t,{scopeCss:function(){return P}}); +/** + * @license + * Copyright Google Inc. All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://angular.io/license + * + * This file is a port of shadowCSS from webcomponents.js to TypeScript. + * https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js + * https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts + */ +const r=e=>{const t=[];let s=0;e=e.replace(/(\[[^\]]*\])/g,((e,r)=>{const c=`__ph-${s}__`;return t.push(r),s++,c}));const r=e.replace(/(:nth-[-\w]+)(\([^)]+\))/g,((e,r,c)=>{const n=`__ph-${s}__`;return t.push(c),s++,r+n})),c={content:r,placeholders:t};return c},c=(e,t)=>t.replace(/__ph-(\d+)__/g,((t,s)=>e[+s])),n="-shadowcsshost",o="-shadowcssslotted",l="-shadowcsscontext",i=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",a=new RegExp("("+n+i,"gim"),p=new RegExp("("+l+i,"gim"),h=new RegExp("("+o+i,"gim"),u=n+"-no-combinator",g=/-shadowcsshost-no-combinator([^\s]*)/,d=[/::shadow/g,/::content/g],m="([>\\s~+[.,{:][\\s\\S]*)?$",f=/-shadowcsshost/gim,$=/:host/gim,x=/::slotted/gim,_=/:host-context/gim,w=/\/\*\s*[\s\S]*?\*\//g,b=e=>e.replace(w,""),S=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,W=e=>e.match(S)||[],k=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,O=/([{}])/g,j=/(^.*?[^\\])??((:+)(.*)|$)/,E="{",R="}",C="%BLOCK%",T=(e,t)=>{const s=L(e);let r=0;return s.escapedString.replace(k,((...e)=>{const c=e[2];let n="",o=e[4],l="";o&&o.startsWith("{"+C)&&(n=s.blocks[r++],o=o.substring(C.length+1),l="{");const i={selector:c,content:n},a=t(i);return`${e[1]}${a.selector}${e[3]}${l}${a.content}${o}`}))},L=e=>{const t=e.split(O),s=[],r=[];let c=0,n=[];for(let l=0;l0?n.push(e):(n.length>0&&(r.push(n.join("")),s.push(C),n=[]),s.push(e)),e===E&&c++}n.length>0&&(r.push(n.join("")),s.push(C));const o={escapedString:s.join(""),blocks:r};return o},B=e=>(e=e.replace(_,l).replace($,n).replace(x,o),e),I=(e,t,s)=>e.replace(t,((...e)=>{if(e[2]){const t=e[2].split(","),r=[];for(let c=0;ce+t.replace(n,"")+s,M=e=>I(e,a,K),U=(e,t,s)=>t.indexOf(n)>-1?K(e,t,s):e+t+s+", "+t+" "+e+s,q=(e,t)=>{const s="."+t+" > ",r=[];return e=e.replace(h,((...e)=>{if(e[2]){const t=e[2].trim(),c=e[3],n=s+t+c;let o="";for(let s=e[4]-1;s>=0;s--){const t=e[5][s];if("}"===t||","===t)break;o=t+o}const l=o+n,i=`${o.trimRight()}${n.trim()}`;if(l.trim()!==i.trim()){const e=`${i}, ${l}`;r.push({orgSelector:l,updatedSelector:e})}return n}return u+e[3]})),{selectors:r,cssText:e}},v=e=>I(e,p,U),y=e=>d.reduce(((e,t)=>e.replace(t," ")),e),z=e=>{const t=/\[/g,s=/\]/g;return e=e.replace(t,"\\[").replace(s,"\\]"),new RegExp("^("+e+")"+m,"m")},A=(e,t)=>{const s=z(t);return!s.test(e)},D=(e,t)=>e.replace(j,((e,s="",r,c="",n="")=>s+t+c+n)),F=(e,t,s)=>{if(f.lastIndex=0,f.test(e)){const t=`.${s}`;return e.replace(g,((e,s)=>D(s,t))).replace(f,t+" ")}return t+" "+e},G=(e,t,s)=>{const n=/\[is=([^\]]*)\]/g;t=t.replace(n,((e,...t)=>t[0]));const o="."+t,l=e=>{let r=e.trim();if(!r)return"";if(e.indexOf(u)>-1)r=F(e,t,s);else{const t=e.replace(f,"");t.length>0&&(r=D(t,o))}return r},i=r(e);e=i.content;let a,p="",h=0;const g=/( |>|\+|~(?!=))\s*/g,d=e.indexOf(u)>-1;let m=!d;while(null!==(a=g.exec(e))){const t=a[1],s=e.slice(h,a.index).trim();m=m||s.indexOf(u)>-1;const r=m?l(s):s;p+=`${r} ${t} `,h=g.lastIndex}const $=e.substring(h);return m=m||$.indexOf(u)>-1,p+=m?l($):$,c(i.placeholders,p)},H=(e,t,s,r)=>e.split(",").map((e=>r&&e.indexOf("."+r)>-1?e.trim():A(e,t)?G(e,t,s).trim():e.trim())).join(", "),J=(e,t,s,r,c)=>T(e,(e=>{let c=e.selector,n=e.content;"@"!==e.selector[0]?c=H(e.selector,t,s,r):(e.selector.startsWith("@media")||e.selector.startsWith("@supports")||e.selector.startsWith("@page")||e.selector.startsWith("@document"))&&(n=J(e.content,t,s,r));const o={selector:c.replace(/\s{2,}/g," ").trim(),content:n};return o})),N=(e,t,s,r,c)=>{e=B(e),e=M(e),e=v(e);const n=q(e,r);return e=n.cssText,e=y(e),t&&(e=J(e,t,s,r)),e=e.replace(/-shadowcsshost-no-combinator/g,`.${s}`),e=e.replace(/>\s*\*\s+([^{, ]+)/gm," $1 "),{cssText:e.trim(),slottedSelectors:n.selectors}},P=(e,t,s)=>{const r=t+"-h",c=t+"-s",n=W(e);e=b(e);const o=[];if(s){const t=e=>{const t=`/*!@___${o.length}___*/`,s=`/*!@${e.selector}*/`;return o.push({placeholder:t,comment:s}),e.selector=t+e.selector,e};e=T(e,(e=>"@"!==e.selector[0]?t(e):e.selector.startsWith("@media")||e.selector.startsWith("@supports")||e.selector.startsWith("@page")||e.selector.startsWith("@document")?(e.content=T(e.content,t),e):e))}const l=N(e,t,r,c);return e=[l.cssText,...n].join("\n"),s&&o.forEach((({placeholder:t,comment:s})=>{e=e.replace(t,s)})),l.slottedSelectors.forEach((t=>{e=e.replace(t.orgSelector,t.updatedSelector)})),e}}}]); +//# sourceMappingURL=880.e288775e.js.map \ No newline at end of file diff --git a/ios/App/App/public/js/880.e288775e.js.map b/ios/App/App/public/js/880.e288775e.js.map new file mode 100644 index 0000000..fd9782a --- /dev/null +++ b/ios/App/App/public/js/880.e288775e.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/880.e288775e.js","m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,GACAQ,EAAaK,SAAQ,EAAGH,YAAAA,EAAaC,QAAAA,MACjC/E,EAAUA,EAAQjE,QAAQ+I,EAAaC,MAG/CC,EAAOP,iBAAiBQ,SAAS/D,IAC7BlB,EAAUA,EAAQjE,QAAQmF,EAAgBG,YAAaH,EAAgBM,oBAEpExB","sources":["webpack://tainacan-mobile/./node_modules/ionicons/node_modules/@stencil/core/internal/client/shadow-css.js"],"sourcesContent":["/*\n Stencil Client Platform v2.16.1 | MIT Licensed | https://stenciljs.com\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n *\n * This file is a port of shadowCSS from webcomponents.js to TypeScript.\n * https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js\n * https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts\n */\nconst safeSelector = (selector) => {\n const placeholders = [];\n let index = 0;\n // Replaces attribute selectors with placeholders.\n // The WS in [attr=\"va lue\"] would otherwise be interpreted as a selector separator.\n selector = selector.replace(/(\\[[^\\]]*\\])/g, (_, keep) => {\n const replaceBy = `__ph-${index}__`;\n placeholders.push(keep);\n index++;\n return replaceBy;\n });\n // Replaces the expression in `:nth-child(2n + 1)` with a placeholder.\n // WS and \"+\" would otherwise be interpreted as selector separators.\n const content = selector.replace(/(:nth-[-\\w]+)(\\([^)]+\\))/g, (_, pseudo, exp) => {\n const replaceBy = `__ph-${index}__`;\n placeholders.push(exp);\n index++;\n return pseudo + replaceBy;\n });\n const ss = {\n content,\n placeholders,\n };\n return ss;\n};\nconst restoreSafeSelector = (placeholders, content) => {\n return content.replace(/__ph-(\\d+)__/g, (_, index) => placeholders[+index]);\n};\nconst _polyfillHost = '-shadowcsshost';\nconst _polyfillSlotted = '-shadowcssslotted';\n// note: :host-context pre-processed to -shadowcsshostcontext.\nconst _polyfillHostContext = '-shadowcsscontext';\nconst _parenSuffix = ')(?:\\\\((' + '(?:\\\\([^)(]*\\\\)|[^)(]*)+?' + ')\\\\))?([^,{]*)';\nconst _cssColonHostRe = new RegExp('(' + _polyfillHost + _parenSuffix, 'gim');\nconst _cssColonHostContextRe = new RegExp('(' + _polyfillHostContext + _parenSuffix, 'gim');\nconst _cssColonSlottedRe = new RegExp('(' + _polyfillSlotted + _parenSuffix, 'gim');\nconst _polyfillHostNoCombinator = _polyfillHost + '-no-combinator';\nconst _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\\s]*)/;\nconst _shadowDOMSelectorsRe = [/::shadow/g, /::content/g];\nconst _selectorReSuffix = '([>\\\\s~+[.,{:][\\\\s\\\\S]*)?$';\nconst _polyfillHostRe = /-shadowcsshost/gim;\nconst _colonHostRe = /:host/gim;\nconst _colonSlottedRe = /::slotted/gim;\nconst _colonHostContextRe = /:host-context/gim;\nconst _commentRe = /\\/\\*\\s*[\\s\\S]*?\\*\\//g;\nconst stripComments = (input) => {\n return input.replace(_commentRe, '');\n};\nconst _commentWithHashRe = /\\/\\*\\s*#\\s*source(Mapping)?URL=[\\s\\S]+?\\*\\//g;\nconst extractCommentsWithHash = (input) => {\n return input.match(_commentWithHashRe) || [];\n};\nconst _ruleRe = /(\\s*)([^;\\{\\}]+?)(\\s*)((?:{%BLOCK%}?\\s*;?)|(?:\\s*;))/g;\nconst _curlyRe = /([{}])/g;\nconst _selectorPartsRe = /(^.*?[^\\\\])??((:+)(.*)|$)/;\nconst OPEN_CURLY = '{';\nconst CLOSE_CURLY = '}';\nconst BLOCK_PLACEHOLDER = '%BLOCK%';\nconst processRules = (input, ruleCallback) => {\n const inputWithEscapedBlocks = escapeBlocks(input);\n let nextBlockIndex = 0;\n return inputWithEscapedBlocks.escapedString.replace(_ruleRe, (...m) => {\n const selector = m[2];\n let content = '';\n let suffix = m[4];\n let contentPrefix = '';\n if (suffix && suffix.startsWith('{' + BLOCK_PLACEHOLDER)) {\n content = inputWithEscapedBlocks.blocks[nextBlockIndex++];\n suffix = suffix.substring(BLOCK_PLACEHOLDER.length + 1);\n contentPrefix = '{';\n }\n const cssRule = {\n selector,\n content,\n };\n const rule = ruleCallback(cssRule);\n return `${m[1]}${rule.selector}${m[3]}${contentPrefix}${rule.content}${suffix}`;\n });\n};\nconst escapeBlocks = (input) => {\n const inputParts = input.split(_curlyRe);\n const resultParts = [];\n const escapedBlocks = [];\n let bracketCount = 0;\n let currentBlockParts = [];\n for (let partIndex = 0; partIndex < inputParts.length; partIndex++) {\n const part = inputParts[partIndex];\n if (part === CLOSE_CURLY) {\n bracketCount--;\n }\n if (bracketCount > 0) {\n currentBlockParts.push(part);\n }\n else {\n if (currentBlockParts.length > 0) {\n escapedBlocks.push(currentBlockParts.join(''));\n resultParts.push(BLOCK_PLACEHOLDER);\n currentBlockParts = [];\n }\n resultParts.push(part);\n }\n if (part === OPEN_CURLY) {\n bracketCount++;\n }\n }\n if (currentBlockParts.length > 0) {\n escapedBlocks.push(currentBlockParts.join(''));\n resultParts.push(BLOCK_PLACEHOLDER);\n }\n const strEscapedBlocks = {\n escapedString: resultParts.join(''),\n blocks: escapedBlocks,\n };\n return strEscapedBlocks;\n};\nconst insertPolyfillHostInCssText = (selector) => {\n selector = selector\n .replace(_colonHostContextRe, _polyfillHostContext)\n .replace(_colonHostRe, _polyfillHost)\n .replace(_colonSlottedRe, _polyfillSlotted);\n return selector;\n};\nconst convertColonRule = (cssText, regExp, partReplacer) => {\n // m[1] = :host(-context), m[2] = contents of (), m[3] rest of rule\n return cssText.replace(regExp, (...m) => {\n if (m[2]) {\n const parts = m[2].split(',');\n const r = [];\n for (let i = 0; i < parts.length; i++) {\n const p = parts[i].trim();\n if (!p)\n break;\n r.push(partReplacer(_polyfillHostNoCombinator, p, m[3]));\n }\n return r.join(',');\n }\n else {\n return _polyfillHostNoCombinator + m[3];\n }\n });\n};\nconst colonHostPartReplacer = (host, part, suffix) => {\n return host + part.replace(_polyfillHost, '') + suffix;\n};\nconst convertColonHost = (cssText) => {\n return convertColonRule(cssText, _cssColonHostRe, colonHostPartReplacer);\n};\nconst colonHostContextPartReplacer = (host, part, suffix) => {\n if (part.indexOf(_polyfillHost) > -1) {\n return colonHostPartReplacer(host, part, suffix);\n }\n else {\n return host + part + suffix + ', ' + part + ' ' + host + suffix;\n }\n};\nconst convertColonSlotted = (cssText, slotScopeId) => {\n const slotClass = '.' + slotScopeId + ' > ';\n const selectors = [];\n cssText = cssText.replace(_cssColonSlottedRe, (...m) => {\n if (m[2]) {\n const compound = m[2].trim();\n const suffix = m[3];\n const slottedSelector = slotClass + compound + suffix;\n let prefixSelector = '';\n for (let i = m[4] - 1; i >= 0; i--) {\n const char = m[5][i];\n if (char === '}' || char === ',') {\n break;\n }\n prefixSelector = char + prefixSelector;\n }\n const orgSelector = prefixSelector + slottedSelector;\n const addedSelector = `${prefixSelector.trimRight()}${slottedSelector.trim()}`;\n if (orgSelector.trim() !== addedSelector.trim()) {\n const updatedSelector = `${addedSelector}, ${orgSelector}`;\n selectors.push({\n orgSelector,\n updatedSelector,\n });\n }\n return slottedSelector;\n }\n else {\n return _polyfillHostNoCombinator + m[3];\n }\n });\n return {\n selectors,\n cssText,\n };\n};\nconst convertColonHostContext = (cssText) => {\n return convertColonRule(cssText, _cssColonHostContextRe, colonHostContextPartReplacer);\n};\nconst convertShadowDOMSelectors = (cssText) => {\n return _shadowDOMSelectorsRe.reduce((result, pattern) => result.replace(pattern, ' '), cssText);\n};\nconst makeScopeMatcher = (scopeSelector) => {\n const lre = /\\[/g;\n const rre = /\\]/g;\n scopeSelector = scopeSelector.replace(lre, '\\\\[').replace(rre, '\\\\]');\n return new RegExp('^(' + scopeSelector + ')' + _selectorReSuffix, 'm');\n};\nconst selectorNeedsScoping = (selector, scopeSelector) => {\n const re = makeScopeMatcher(scopeSelector);\n return !re.test(selector);\n};\nconst injectScopingSelector = (selector, scopingSelector) => {\n return selector.replace(_selectorPartsRe, (_, before = '', _colonGroup, colon = '', after = '') => {\n return before + scopingSelector + colon + after;\n });\n};\nconst applySimpleSelectorScope = (selector, scopeSelector, hostSelector) => {\n // In Android browser, the lastIndex is not reset when the regex is used in String.replace()\n _polyfillHostRe.lastIndex = 0;\n if (_polyfillHostRe.test(selector)) {\n const replaceBy = `.${hostSelector}`;\n return selector\n .replace(_polyfillHostNoCombinatorRe, (_, selector) => injectScopingSelector(selector, replaceBy))\n .replace(_polyfillHostRe, replaceBy + ' ');\n }\n return scopeSelector + ' ' + selector;\n};\nconst applyStrictSelectorScope = (selector, scopeSelector, hostSelector) => {\n const isRe = /\\[is=([^\\]]*)\\]/g;\n scopeSelector = scopeSelector.replace(isRe, (_, ...parts) => parts[0]);\n const className = '.' + scopeSelector;\n const _scopeSelectorPart = (p) => {\n let scopedP = p.trim();\n if (!scopedP) {\n return '';\n }\n if (p.indexOf(_polyfillHostNoCombinator) > -1) {\n scopedP = applySimpleSelectorScope(p, scopeSelector, hostSelector);\n }\n else {\n // remove :host since it should be unnecessary\n const t = p.replace(_polyfillHostRe, '');\n if (t.length > 0) {\n scopedP = injectScopingSelector(t, className);\n }\n }\n return scopedP;\n };\n const safeContent = safeSelector(selector);\n selector = safeContent.content;\n let scopedSelector = '';\n let startIndex = 0;\n let res;\n const sep = /( |>|\\+|~(?!=))\\s*/g;\n // If a selector appears before :host it should not be shimmed as it\n // matches on ancestor elements and not on elements in the host's shadow\n // `:host-context(div)` is transformed to\n // `-shadowcsshost-no-combinatordiv, div -shadowcsshost-no-combinator`\n // the `div` is not part of the component in the 2nd selectors and should not be scoped.\n // Historically `component-tag:host` was matching the component so we also want to preserve\n // this behavior to avoid breaking legacy apps (it should not match).\n // The behavior should be:\n // - `tag:host` -> `tag[h]` (this is to avoid breaking legacy apps, should not match anything)\n // - `tag :host` -> `tag [h]` (`tag` is not scoped because it's considered part of a\n // `:host-context(tag)`)\n const hasHost = selector.indexOf(_polyfillHostNoCombinator) > -1;\n // Only scope parts after the first `-shadowcsshost-no-combinator` when it is present\n let shouldScope = !hasHost;\n while ((res = sep.exec(selector)) !== null) {\n const separator = res[1];\n const part = selector.slice(startIndex, res.index).trim();\n shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1;\n const scopedPart = shouldScope ? _scopeSelectorPart(part) : part;\n scopedSelector += `${scopedPart} ${separator} `;\n startIndex = sep.lastIndex;\n }\n const part = selector.substring(startIndex);\n shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1;\n scopedSelector += shouldScope ? _scopeSelectorPart(part) : part;\n // replace the placeholders with their original values\n return restoreSafeSelector(safeContent.placeholders, scopedSelector);\n};\nconst scopeSelector = (selector, scopeSelectorText, hostSelector, slotSelector) => {\n return selector\n .split(',')\n .map((shallowPart) => {\n if (slotSelector && shallowPart.indexOf('.' + slotSelector) > -1) {\n return shallowPart.trim();\n }\n if (selectorNeedsScoping(shallowPart, scopeSelectorText)) {\n return applyStrictSelectorScope(shallowPart, scopeSelectorText, hostSelector).trim();\n }\n else {\n return shallowPart.trim();\n }\n })\n .join(', ');\n};\nconst scopeSelectors = (cssText, scopeSelectorText, hostSelector, slotSelector, commentOriginalSelector) => {\n return processRules(cssText, (rule) => {\n let selector = rule.selector;\n let content = rule.content;\n if (rule.selector[0] !== '@') {\n selector = scopeSelector(rule.selector, scopeSelectorText, hostSelector, slotSelector);\n }\n else if (rule.selector.startsWith('@media') ||\n rule.selector.startsWith('@supports') ||\n rule.selector.startsWith('@page') ||\n rule.selector.startsWith('@document')) {\n content = scopeSelectors(rule.content, scopeSelectorText, hostSelector, slotSelector);\n }\n const cssRule = {\n selector: selector.replace(/\\s{2,}/g, ' ').trim(),\n content,\n };\n return cssRule;\n });\n};\nconst scopeCssText = (cssText, scopeId, hostScopeId, slotScopeId, commentOriginalSelector) => {\n cssText = insertPolyfillHostInCssText(cssText);\n cssText = convertColonHost(cssText);\n cssText = convertColonHostContext(cssText);\n const slotted = convertColonSlotted(cssText, slotScopeId);\n cssText = slotted.cssText;\n cssText = convertShadowDOMSelectors(cssText);\n if (scopeId) {\n cssText = scopeSelectors(cssText, scopeId, hostScopeId, slotScopeId);\n }\n cssText = cssText.replace(/-shadowcsshost-no-combinator/g, `.${hostScopeId}`);\n cssText = cssText.replace(/>\\s*\\*\\s+([^{, ]+)/gm, ' $1 ');\n return {\n cssText: cssText.trim(),\n slottedSelectors: slotted.selectors,\n };\n};\nconst scopeCss = (cssText, scopeId, commentOriginalSelector) => {\n const hostScopeId = scopeId + '-h';\n const slotScopeId = scopeId + '-s';\n const commentsWithHash = extractCommentsWithHash(cssText);\n cssText = stripComments(cssText);\n const orgSelectors = [];\n if (commentOriginalSelector) {\n const processCommentedSelector = (rule) => {\n const placeholder = `/*!@___${orgSelectors.length}___*/`;\n const comment = `/*!@${rule.selector}*/`;\n orgSelectors.push({ placeholder, comment });\n rule.selector = placeholder + rule.selector;\n return rule;\n };\n cssText = processRules(cssText, (rule) => {\n if (rule.selector[0] !== '@') {\n return processCommentedSelector(rule);\n }\n else if (rule.selector.startsWith('@media') ||\n rule.selector.startsWith('@supports') ||\n rule.selector.startsWith('@page') ||\n rule.selector.startsWith('@document')) {\n rule.content = processRules(rule.content, processCommentedSelector);\n return rule;\n }\n return rule;\n });\n }\n const scoped = scopeCssText(cssText, scopeId, hostScopeId, slotScopeId);\n cssText = [scoped.cssText, ...commentsWithHash].join('\\n');\n if (commentOriginalSelector) {\n orgSelectors.forEach(({ placeholder, comment }) => {\n cssText = cssText.replace(placeholder, comment);\n });\n }\n scoped.slottedSelectors.forEach((slottedSelector) => {\n cssText = cssText.replace(slottedSelector.orgSelector, slottedSelector.updatedSelector);\n });\n return cssText;\n};\n\nexport { scopeCss };\n"],"names":["safeSelector","selector","placeholders","index","replace","_","keep","replaceBy","push","content","pseudo","exp","ss","restoreSafeSelector","_polyfillHost","_polyfillSlotted","_polyfillHostContext","_parenSuffix","_cssColonHostRe","RegExp","_cssColonHostContextRe","_cssColonSlottedRe","_polyfillHostNoCombinator","_polyfillHostNoCombinatorRe","_shadowDOMSelectorsRe","_selectorReSuffix","_polyfillHostRe","_colonHostRe","_colonSlottedRe","_colonHostContextRe","_commentRe","stripComments","input","_commentWithHashRe","extractCommentsWithHash","match","_ruleRe","_curlyRe","_selectorPartsRe","OPEN_CURLY","CLOSE_CURLY","BLOCK_PLACEHOLDER","processRules","ruleCallback","inputWithEscapedBlocks","escapeBlocks","nextBlockIndex","escapedString","m","suffix","contentPrefix","startsWith","blocks","substring","length","cssRule","rule","inputParts","split","resultParts","escapedBlocks","bracketCount","currentBlockParts","partIndex","part","join","strEscapedBlocks","insertPolyfillHostInCssText","convertColonRule","cssText","regExp","partReplacer","parts","r","i","p","trim","colonHostPartReplacer","host","convertColonHost","colonHostContextPartReplacer","indexOf","convertColonSlotted","slotScopeId","slotClass","selectors","compound","slottedSelector","prefixSelector","char","orgSelector","addedSelector","trimRight","updatedSelector","convertColonHostContext","convertShadowDOMSelectors","reduce","result","pattern","makeScopeMatcher","scopeSelector","lre","rre","selectorNeedsScoping","re","test","injectScopingSelector","scopingSelector","before","_colonGroup","colon","after","applySimpleSelectorScope","hostSelector","lastIndex","applyStrictSelectorScope","isRe","className","_scopeSelectorPart","scopedP","t","safeContent","res","scopedSelector","startIndex","sep","hasHost","shouldScope","exec","separator","slice","scopedPart","scopeSelectorText","slotSelector","map","shallowPart","scopeSelectors","commentOriginalSelector","scopeCssText","scopeId","hostScopeId","slotted","slottedSelectors","scopeCss","commentsWithHash","orgSelectors","processCommentedSelector","placeholder","comment","scoped","forEach"],"sourceRoot":""} \ No newline at end of file diff --git a/ios/App/App/public/js/961.2fab5ec9.js b/ios/App/App/public/js/961.2fab5ec9.js new file mode 100644 index 0000000..eb1e385 --- /dev/null +++ b/ios/App/App/public/js/961.2fab5ec9.js @@ -0,0 +1,2 @@ +"use strict";(self["webpackChunktainacan_mobile"]=self["webpackChunktainacan_mobile"]||[]).push([[961],{7961:function(e,t,i){i.r(t),i.d(t,{DeviceWeb:function(){return o}});var n=i(9895);class o extends n.Uw{async getId(){return{uuid:this.getUid()}}async getInfo(){if("undefined"===typeof navigator||!navigator.userAgent)throw this.unavailable("Device API not available in this browser");const e=navigator.userAgent,t=this.parseUa(e);return{model:t.model,platform:"web",operatingSystem:t.operatingSystem,osVersion:t.osVersion,manufacturer:navigator.vendor,isVirtual:!1,webViewVersion:t.browserVersion}}async getBatteryInfo(){if("undefined"===typeof navigator||!navigator.getBattery)throw this.unavailable("Device API not available in this browser");let e={};try{e=await navigator.getBattery()}catch(t){}return{batteryLevel:e.level,isCharging:e.charging}}async getLanguageCode(){return{value:navigator.language}}parseUa(e){const t={},i=e.indexOf("(")+1;let n=e.indexOf(") AppleWebKit");-1!==e.indexOf(") Gecko")&&(n=e.indexOf(") Gecko"));const o=e.substring(i,n);if(-1!==e.indexOf("Android")){const e=o.replace("; wv","").split("; ").pop();e&&(t.model=e.split(" Build")[0]),t.osVersion=o.split("; ")[1]}else if(t.model=o.split("; ")[0],"undefined"!==typeof navigator&&navigator.oscpu)t.osVersion=navigator.oscpu;else if(-1!==e.indexOf("Windows"))t.osVersion=o;else{const e=o.split("; ").pop();if(e){const i=e.replace(" like Mac OS X","").split(" ");t.osVersion=i[i.length-1].replace(/_/g,".")}}/android/i.test(e)?t.operatingSystem="android":/iPad|iPhone|iPod/.test(e)&&!window.MSStream?t.operatingSystem="ios":/Win/.test(e)?t.operatingSystem="windows":/Mac/i.test(e)?t.operatingSystem="mac":t.operatingSystem="unknown";const r=!!window.InstallTrigger,s=!!window.ApplePaySession,a=!!window.chrome,l=/Edg/.test(e),d=/FxiOS/.test(e),c=/CriOS/.test(e),g=/EdgiOS/.test(e);if(s||a&&!l||d||c||g){let i;i=d?"FxiOS":c?"CriOS":g?"EdgiOS":s?"Version":"Chrome";const n=e.split(" ");for(const e of n)if(e.includes(i)){const i=e.split("/")[1];t.browserVersion=i}}else if(r||l){const i=e.split("").reverse().join(""),n=i.split("/")[0],o=n.split("").reverse().join("");t.browserVersion=o}return t}getUid(){if("undefined"!==typeof window){let e=window.localStorage.getItem("_capuid");return e||(e=this.uuid4(),window.localStorage.setItem("_capuid",e),e)}return this.uuid4()}uuid4(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){const t=16*Math.random()|0,i="x"===e?t:3&t|8;return i.toString(16)}))}}}}]); +//# sourceMappingURL=961.2fab5ec9.js.map \ No newline at end of file diff --git a/ios/App/App/public/js/961.2fab5ec9.js.map b/ios/App/App/public/js/961.2fab5ec9.js.map new file mode 100644 index 0000000..c85f6e2 --- /dev/null +++ b/ios/App/App/public/js/961.2fab5ec9.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/961.2fab5ec9.js","mappings":"0LACO,MAAMA,UAAkB,KAC3BC,cACI,MAAO,CACHC,KAAMC,KAAKC,UAGnBH,gBACI,GAAyB,qBAAdI,YAA8BA,UAAUC,UAC/C,MAAMH,KAAKI,YAAY,4CAE3B,MAAMC,EAAKH,UAAUC,UACfG,EAAWN,KAAKO,QAAQF,GAC9B,MAAO,CACHG,MAAOF,EAASE,MAChBC,SAAU,MACVC,gBAAiBJ,EAASI,gBAC1BC,UAAWL,EAASK,UACpBC,aAAcV,UAAUW,OACxBC,WAAW,EACXC,eAAgBT,EAASU,gBAGjClB,uBACI,GAAyB,qBAAdI,YAA8BA,UAAUe,WAC/C,MAAMjB,KAAKI,YAAY,4CAE3B,IAAIc,EAAU,GACd,IACIA,QAAgBhB,UAAUe,aAE9B,MAAOE,IAGP,MAAO,CACHC,aAAcF,EAAQG,MACtBC,WAAYJ,EAAQK,UAG5BzB,wBACI,MAAO,CACH0B,MAAOtB,UAAUuB,UAGzBlB,QAAQF,GACJ,MAAMC,EAAW,GACXoB,EAAQrB,EAAGsB,QAAQ,KAAO,EAChC,IAAIC,EAAMvB,EAAGsB,QAAQ,kBACU,IAA3BtB,EAAGsB,QAAQ,aACXC,EAAMvB,EAAGsB,QAAQ,YAErB,MAAME,EAASxB,EAAGyB,UAAUJ,EAAOE,GACnC,IAA+B,IAA3BvB,EAAGsB,QAAQ,WAAmB,CAC9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GAAaM,EAAQ,CAC1B,MAAMS,EAAYnD,EAAG4B,MAAM,IAAIwB,UAAUC,KAAK,IACxCC,EAAiBH,EAAUvB,MAAM,KAAK,GACtCsB,EAAUI,EAAe1B,MAAM,IAAIwB,UAAUC,KAAK,IACxDpD,EAASU,eAAiBuC,EAE9B,OAAOjD,EAEXL,SACI,GAAsB,qBAAXsC,OAAwB,CAC/B,IAAIqB,EAAMrB,OAAOsB,aAAaC,QAAQ,WACtC,OAAIF,IAGJA,EAAM5D,KAAK+D,QACXxB,OAAOsB,aAAaG,QAAQ,UAAWJ,GAChCA,GAEX,OAAO5D,KAAK+D,QAEhBA,QACI,MAAO,uCAAuC/B,QAAQ,SAAS,SAAUiC,GACrE,MAAMC,EAAqB,GAAhBC,KAAKC,SAAiB,EAAGC,EAAU,MAANJ,EAAYC,EAAS,EAAJA,EAAW,EACpE,OAAOG,EAAEC,SAAS","sources":["webpack://tainacan-mobile/./node_modules/@capacitor/device/dist/esm/web.js"],"sourcesContent":["import { WebPlugin } from '@capacitor/core';\nexport class DeviceWeb extends WebPlugin {\n async getId() {\n return {\n uuid: this.getUid(),\n };\n }\n async getInfo() {\n if (typeof navigator === 'undefined' || !navigator.userAgent) {\n throw this.unavailable('Device API not available in this browser');\n }\n const ua = navigator.userAgent;\n const uaFields = this.parseUa(ua);\n return {\n model: uaFields.model,\n platform: 'web',\n operatingSystem: uaFields.operatingSystem,\n osVersion: uaFields.osVersion,\n manufacturer: navigator.vendor,\n isVirtual: false,\n webViewVersion: uaFields.browserVersion,\n };\n }\n async getBatteryInfo() {\n if (typeof navigator === 'undefined' || !navigator.getBattery) {\n throw this.unavailable('Device API not available in this browser');\n }\n let battery = {};\n try {\n battery = await navigator.getBattery();\n }\n catch (e) {\n // Let it fail, we don't care\n }\n return {\n batteryLevel: battery.level,\n isCharging: battery.charging,\n };\n }\n async getLanguageCode() {\n return {\n value: navigator.language,\n };\n }\n parseUa(ua) {\n const uaFields = {};\n const start = ua.indexOf('(') + 1;\n let end = ua.indexOf(') AppleWebKit');\n if (ua.indexOf(') Gecko') !== -1) {\n end = ua.indexOf(') Gecko');\n }\n const fields = ua.substring(start, end);\n if (ua.indexOf('Android') !== -1) {\n const tmpFields = fields.replace('; wv', '').split('; ').pop();\n if (tmpFields) {\n uaFields.model = tmpFields.split(' Build')[0];\n }\n uaFields.osVersion = fields.split('; ')[1];\n }\n else {\n uaFields.model = fields.split('; ')[0];\n if (typeof navigator !== 'undefined' && navigator.oscpu) {\n uaFields.osVersion = navigator.oscpu;\n }\n else {\n if (ua.indexOf('Windows') !== -1) {\n uaFields.osVersion = fields;\n }\n else {\n const tmpFields = fields.split('; ').pop();\n if (tmpFields) {\n const lastParts = tmpFields\n .replace(' like Mac OS X', '')\n .split(' ');\n uaFields.osVersion = lastParts[lastParts.length - 1].replace(/_/g, '.');\n }\n }\n }\n }\n if (/android/i.test(ua)) {\n uaFields.operatingSystem = 'android';\n }\n else if (/iPad|iPhone|iPod/.test(ua) && !window.MSStream) {\n uaFields.operatingSystem = 'ios';\n }\n else if (/Win/.test(ua)) {\n uaFields.operatingSystem = 'windows';\n }\n else if (/Mac/i.test(ua)) {\n uaFields.operatingSystem = 'mac';\n }\n else {\n uaFields.operatingSystem = 'unknown';\n }\n // Check for browsers based on non-standard javascript apis, only not user agent\n const isFirefox = !!window.InstallTrigger;\n const isSafari = !!window.ApplePaySession;\n const isChrome = !!window.chrome;\n const isEdge = /Edg/.test(ua);\n const isFirefoxIOS = /FxiOS/.test(ua);\n const isChromeIOS = /CriOS/.test(ua);\n const isEdgeIOS = /EdgiOS/.test(ua);\n // FF and Edge User Agents both end with \"/MAJOR.MINOR\"\n if (isSafari ||\n (isChrome && !isEdge) ||\n isFirefoxIOS ||\n isChromeIOS ||\n isEdgeIOS) {\n // Safari version comes as \"... Version/MAJOR.MINOR ...\"\n // Chrome version comes as \"... Chrome/MAJOR.MINOR ...\"\n // FirefoxIOS version comes as \"... FxiOS/MAJOR.MINOR ...\"\n // ChromeIOS version comes as \"... CriOS/MAJOR.MINOR ...\"\n let searchWord;\n if (isFirefoxIOS) {\n searchWord = 'FxiOS';\n }\n else if (isChromeIOS) {\n searchWord = 'CriOS';\n }\n else if (isEdgeIOS) {\n searchWord = 'EdgiOS';\n }\n else if (isSafari) {\n searchWord = 'Version';\n }\n else {\n searchWord = 'Chrome';\n }\n const words = ua.split(' ');\n for (const word of words) {\n if (word.includes(searchWord)) {\n const version = word.split('/')[1];\n uaFields.browserVersion = version;\n }\n }\n }\n else if (isFirefox || isEdge) {\n const reverseUA = ua.split('').reverse().join('');\n const reverseVersion = reverseUA.split('/')[0];\n const version = reverseVersion.split('').reverse().join('');\n uaFields.browserVersion = version;\n }\n return uaFields;\n }\n getUid() {\n if (typeof window !== 'undefined') {\n let uid = window.localStorage.getItem('_capuid');\n if (uid) {\n return uid;\n }\n uid = this.uuid4();\n window.localStorage.setItem('_capuid', uid);\n return uid;\n }\n return this.uuid4();\n }\n uuid4() {\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {\n const r = (Math.random() * 16) | 0, v = c === 'x' ? r : (r & 0x3) | 0x8;\n return v.toString(16);\n });\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["DeviceWeb","async","uuid","this","getUid","navigator","userAgent","unavailable","ua","uaFields","parseUa","model","platform","operatingSystem","osVersion","manufacturer","vendor","isVirtual","webViewVersion","browserVersion","getBattery","battery","e","batteryLevel","level","isCharging","charging","value","language","start","indexOf","end","fields","substring","tmpFields","replace","split","pop","oscpu","lastParts","length","test","window","MSStream","isFirefox","InstallTrigger","isSafari","ApplePaySession","isChrome","chrome","isEdge","isFirefoxIOS","isChromeIOS","isEdgeIOS","searchWord","words","word","includes","version","reverseUA","reverse","join","reverseVersion","uid","localStorage","getItem","uuid4","setItem","c","r","Math","random","v","toString"],"sourceRoot":""} \ No newline at end of file diff --git a/ios/App/App/public/js/990.cdf4956e.js b/ios/App/App/public/js/990.cdf4956e.js new file mode 100644 index 0000000..8f5e84d --- /dev/null +++ b/ios/App/App/public/js/990.cdf4956e.js @@ -0,0 +1,6 @@ +"use strict";(self["webpackChunktainacan_mobile"]=self["webpackChunktainacan_mobile"]||[]).push([[990],{8990:function(t,e,n){n.r(e),n.d(e,{createSwipeBackGesture:function(){return c}});var r=n(6587),a=n(545),i=n(6515); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const c=(t,e,n,c,o)=>{const s=t.ownerDocument.defaultView,u=(0,a.i)(t),l=t=>{const e=50,{startX:n}=t;return u?n>=s.innerWidth-e:n<=e},h=t=>u?-t.deltaX:t.deltaX,d=t=>u?-t.velocityX:t.velocityX,b=t=>l(t)&&e(),f=t=>{const e=h(t),n=e/s.innerWidth;c(n)},k=t=>{const e=h(t),n=s.innerWidth,a=e/n,i=d(t),c=n/2,u=i>=0&&(i>.2||e>c),l=u?1-a:a,b=l*n;let f=0;if(b>5){const t=b/Math.abs(i);f=Math.min(t,540)}o(u,a<=0?.01:(0,r.j)(0,a,.9999),f)};return(0,i.createGesture)({el:t,gestureName:"goback-swipe",gesturePriority:40,threshold:10,canStart:b,onStart:n,onMove:f,onEnd:k})}}}]); +//# sourceMappingURL=990.cdf4956e.js.map \ No newline at end of file diff --git a/ios/App/App/public/js/990.cdf4956e.js.map b/ios/App/App/public/js/990.cdf4956e.js.map new file mode 100644 index 0000000..914efaf --- /dev/null +++ b/ios/App/App/public/js/990.cdf4956e.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/990.cdf4956e.js","mappings":";;;;AAOA,MAAMA,EAAyB,CAACC,EAAIC,EAAiBC,EAAgBC,EAAeC,KAClF,MAAMC,EAAML,EAAGM,cAAcC,YACvBC,GAAM,IAAAC,GAAMT,GAMZU,EAAYC,IAChB,MAAMC,EAAY,IACZ,OAAEC,GAAWF,EACnB,OAAIH,EACKK,GAAUR,EAAIS,WAAaF,EAE7BC,GAAUD,GAEbG,EAAaJ,GACVH,GAAOG,EAAOK,OAASL,EAAOK,OAEjCC,EAAgBN,GACbH,GAAOG,EAAOO,UAAYP,EAAOO,UAEpCC,EAAYR,GACTD,EAASC,IAAWV,IAEvBmB,EAAUT,IAEd,MAAMU,EAAQN,EAAUJ,GAClBW,EAAYD,EAAQhB,EAAIS,WAC9BX,EAAcmB,IAEVC,EAASZ,IAEb,MAAMU,EAAQN,EAAUJ,GAClBa,EAAQnB,EAAIS,WACZQ,EAAYD,EAAQG,EACpBC,EAAWR,EAAaN,GACxBe,EAAIF,EAAQ,EACZG,EAAiBF,GAAY,IAAMA,EAAW,IAAOJ,EAAQK,GAC7DE,EAAUD,EAAiB,EAAIL,EAAYA,EAC3CO,EAAkBD,EAAUJ,EAClC,IAAIM,EAAU,EACd,GAAID,EAAkB,EAAG,CACvB,MAAME,EAAMF,EAAkBG,KAAKC,IAAIR,GACvCK,EAAUE,KAAKE,IAAIH,EAAK,KAO1B3B,EAAauB,EAAgBL,GAAa,EAAI,KAAO,OAAM,EAAGA,EAAW,OAASQ,IAEpF,OAAO,IAAAK,eAAc,CACnBnC,GAAAA,EACAoC,YAAa,eACbC,gBAAiB,GACjBzB,UAAW,GACXO,SAAAA,EACAmB,QAASpC,EACTkB,OAAAA,EACAG,MAAAA","sources":["webpack://tainacan-mobile/./node_modules/@ionic/core/components/swipe-back.js"],"sourcesContent":["/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { j as clamp } from './helpers.js';\nimport { i as isRTL } from './dir.js';\nimport { createGesture } from './index2.js';\n\nconst createSwipeBackGesture = (el, canStartHandler, onStartHandler, onMoveHandler, onEndHandler) => {\n const win = el.ownerDocument.defaultView;\n const rtl = isRTL(el);\n /**\n * Determine if a gesture is near the edge\n * of the screen. If true, then the swipe\n * to go back gesture should proceed.\n */\n const isAtEdge = (detail) => {\n const threshold = 50;\n const { startX } = detail;\n if (rtl) {\n return startX >= win.innerWidth - threshold;\n }\n return startX <= threshold;\n };\n const getDeltaX = (detail) => {\n return rtl ? -detail.deltaX : detail.deltaX;\n };\n const getVelocityX = (detail) => {\n return rtl ? -detail.velocityX : detail.velocityX;\n };\n const canStart = (detail) => {\n return isAtEdge(detail) && canStartHandler();\n };\n const onMove = (detail) => {\n // set the transition animation's progress\n const delta = getDeltaX(detail);\n const stepValue = delta / win.innerWidth;\n onMoveHandler(stepValue);\n };\n const onEnd = (detail) => {\n // the swipe back gesture has ended\n const delta = getDeltaX(detail);\n const width = win.innerWidth;\n const stepValue = delta / width;\n const velocity = getVelocityX(detail);\n const z = width / 2.0;\n const shouldComplete = velocity >= 0 && (velocity > 0.2 || delta > z);\n const missing = shouldComplete ? 1 - stepValue : stepValue;\n const missingDistance = missing * width;\n let realDur = 0;\n if (missingDistance > 5) {\n const dur = missingDistance / Math.abs(velocity);\n realDur = Math.min(dur, 540);\n }\n /**\n * TODO: stepValue can sometimes return negative values\n * or values greater than 1 which should not be possible.\n * Need to investigate more to find where the issue is.\n */\n onEndHandler(shouldComplete, stepValue <= 0 ? 0.01 : clamp(0, stepValue, 0.9999), realDur);\n };\n return createGesture({\n el,\n gestureName: 'goback-swipe',\n gesturePriority: 40,\n threshold: 10,\n canStart,\n onStart: onStartHandler,\n onMove,\n onEnd,\n });\n};\n\nexport { createSwipeBackGesture };\n"],"names":["createSwipeBackGesture","el","canStartHandler","onStartHandler","onMoveHandler","onEndHandler","win","ownerDocument","defaultView","rtl","i","isAtEdge","detail","threshold","startX","innerWidth","getDeltaX","deltaX","getVelocityX","velocityX","canStart","onMove","delta","stepValue","onEnd","width","velocity","z","shouldComplete","missing","missingDistance","realDur","dur","Math","abs","min","createGesture","gestureName","gesturePriority","onStart"],"sourceRoot":""} \ No newline at end of file diff --git a/ios/App/App/public/js/app.ba3e8dbe.js b/ios/App/App/public/js/app.ba3e8dbe.js new file mode 100644 index 0000000..fea9500 --- /dev/null +++ b/ios/App/App/public/js/app.ba3e8dbe.js @@ -0,0 +1,2 @@ +(function(){var e={1993:function(e){function t(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}t.keys=function(){return[]},t.resolve=t,t.id=1993,e.exports=t},1875:function(e){function t(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}t.keys=function(){return[]},t.resolve=t,t.id=1875,e.exports=t},6210:function(e,t,o){"use strict";var n=o(9963),i=o(6252);function a(e,t,o,n,a,l){const s=(0,i.up)("ion-router-outlet"),r=(0,i.up)("ion-app");return(0,i.wg)(),(0,i.j4)(r,null,{default:(0,i.w5)((()=>[(0,i.Wm)(s)])),_:1})}o(6699);var l=o(9747),s=o(2406),r=(0,i.aZ)({name:"App",components:{IonApp:l.dr,IonRouterOutlet:l.jP},mounted(){const e=s.A;e.getLanguageCode().then((e=>{if(e.value.includes("-")){const t=e.value.split("-")[0];this.$i18n.locale=t}else this.$i18n.locale=e.value}))}}),c=o(3744);const u=(0,c.Z)(r,[["render",a]]);var d=u,p=o(3577);function m(e,t,o,n,a,l){const s=(0,i.up)("ion-back-button"),r=(0,i.up)("ion-buttons"),c=(0,i.up)("ion-img"),u=(0,i.up)("ion-icon"),d=(0,i.up)("ion-button"),m=(0,i.up)("ion-toolbar"),h=(0,i.up)("ion-title"),_=(0,i.up)("ion-header"),g=(0,i.up)("ion-content"),f=(0,i.up)("ion-toast"),w=(0,i.up)("ion-page");return(0,i.wg)(),(0,i.j4)(w,null,{default:(0,i.w5)((()=>[(0,i.Wm)(_,{collapse:"fade"},{default:(0,i.w5)((()=>[(0,i.Wm)(m,null,{default:(0,i.w5)((()=>[(0,i.Wm)(r,{slot:"start"},{default:(0,i.w5)((()=>[(0,i.Wm)(s,{"default-href":o.pageDefaultBackLink},null,8,["default-href"])])),_:1}),(0,i.Wm)(c,{src:n.tainacanLogo,class:"header__tainacan-logo"},null,8,["src"]),(0,i.Wm)(r,{slot:"end"},{default:(0,i.w5)((()=>[(0,i.Wm)(d,{onClick:l.logOff,"aria-label":"Sair"},{default:(0,i.w5)((()=>[(0,i.Wm)(u,{slot:"icon-only",icon:n.logOutOutline},null,8,["icon"])])),_:1},8,["onClick"])])),_:1})])),_:1}),o.pageTitle?((0,i.wg)(),(0,i.j4)(m,{key:0},{default:(0,i.w5)((()=>[(0,i.Wm)(h,null,{default:(0,i.w5)((()=>[(0,i.Uk)((0,p.zw)(o.pageTitle),1)])),_:1})])),_:1})):(0,i.kq)("",!0)])),_:1}),(0,i.Wm)(g,{fullscreen:"true"},{default:(0,i.w5)((()=>[(0,i.WI)(e.$slots,"default")])),_:3}),(0,i.Wm)(f,{"is-open":n.tainacanStore.errorStatus,message:e.$t(n.tainacanStore.errorMessage),duration:4e3,onDidDismiss:t[0]||(t[0]=t=>e.setOpen(!1)),color:"danger"},null,8,["is-open","message"])])),_:3})}var h=o(8903),_=o(8262),g=o(9669),f=o.n(g),w=o(3978),b=o(339);const I=new w.K,y=(0,_.Q_)("wp",{state(){return{userIsLoggedIn:!1,userSiteUrl:"",userLogin:"",userToken:"",authorizationURL:"",inAppBrowser:b.v}},actions:{async login(e,t,o){try{this.userIsLoggedIn=!0,this.userSiteUrl=e,this.userLogin=t,this.userToken=o,await I.set("userIsLoggedIn",!0),await I.set("userSiteUrl",e),await I.set("userLogin",t),await I.set("userToken",o)}catch(n){return this.userIsLoggedIn=!1,this.userSiteUrl="",this.userToken="",this.userLogin="",delete this.inAppBrowser,n}},async logoff(){try{this.userIsLoggedIn=!1,this.userSiteUrl="",this.userToken="",this.userToken="",delete this.inAppBrowser,await I.set("userIsLoggedIn",!1),await I.set("userSiteUrl",""),await I.set("userToken","")}catch(e){return this.userIsLoggedIn=!1,this.userSiteUrl="",this.userToken="",this.userToken="",delete this.inAppBrowser,e}},async fetchApplicationAuthorization(e){try{const t=e+"?rest_route=/",o=await f().get(t);if(!(o.data&&o.data.authentication&&o.data.authentication["application-passwords"]&&o.data.authentication["application-passwords"].endpoints&&o.data.authentication["application-passwords"].endpoints.authorization))return!1;this.authorizationURL=o.data.authentication["application-passwords"].endpoints.authorization}catch(t){return t}},async checkUserLogin(){await I.create(),this.userIsLoggedIn=await I.get("userIsLoggedIn"),this.userSiteUrl=await I.get("userSiteUrl"),this.userLogin=await I.get("userLogin"),this.userToken=await I.get("userToken")},createInAppBrowser(e="",t="location=no,fullscreen=no,zoom=no,hardwareback=yes"){let o=this.userSiteUrl+"/wp-admin/admin.php"+e;!this.userIsLoggedIn&&this.authorizationURL&&(o=this.authorizationURL+"?app_name=TainacanMobileApp&success_url="+o);const n=b.i.create(o,"_blank",t);this.inAppBrowser=n},openInAppBrowser(e){this.inAppBrowser&&this.inAppBrowser.executeScript||this.createInAppBrowser(e,"hidden=yes,location=no,fullscreen=no,zoom=no,hardwareback=yes");const t=`\n try {\n window.history.replaceState(\n null,\n null,\n '${this.userSiteUrl}/wp-admin/admin.php?page=tainacan_mobile_app'\n );\n window.history.pushState(\n null,\n null,\n '${this.userSiteUrl}/wp-admin/admin.php${e}'\n );\n window.history.go(0);\n } catch(err){\n //console.log('catch', err);\n }`;this.inAppBrowser.executeScript({code:t}),this.inAppBrowser.show()},hideInAppBrowser(){this.inAppBrowser&&this.inAppBrowser.hide&&this.inAppBrowser.hide()},listenEventInAppBrowser(e){this.inAppBrowser.on("message").subscribe(e),this.inAppBrowser.on("exit").subscribe((()=>{delete this.inAppBrowser})),this.inAppBrowser.on("loadstop").subscribe((e=>{if(e.url&&"string"==typeof e.url&&e.url.split("?")&&e.url.split("?").length>=2){const t=e.url.split("?")[1];t.indexOf("tainacan_mobile_app")>=0&&this.inAppBrowser.hide()}}))}}});o(2801);const A=(0,_.Q_)("tainacan",{state(){return{homeCollections:[],totalHomeCollections:0,homeItems:[],totalHomeItems:0,collections:[],totalCollections:0,collectionItems:[],totalCollectionItems:0,nextItemsByCollectionPage:1,items:[],nextItemsPage:1,totalItems:0,errorMessage:"",errorStatus:!1}},actions:{async fetchCollections(e){try{const t=y();let o=`${t.userSiteUrl}/wp-json/tainacan/v2/collections?`;const n=t.userLogin&&t.userToken?"Basic "+btoa(t.userLogin+":"+t.userToken):null;e&&e.perPage&&(o+="&perpage="+e.perPage),e&&e.orderBy&&(o+="&orderby="+e.orderBy);const i=await f().get(o,n?{headers:{authorization:n}}:{});this.collections=i.data,this.totalCollections=i.headers["x-wp-total"]}catch(t){return this.collections=[],this.totalCollections=0,this.errorMessage="error_label_fetch_collections",this.errorStatus=!0,t}},async fetchHomeCollections(){try{const e=y(),t=`${e.userSiteUrl}/wp-json/tainacan/v2/collections?perpage=4&orderby=modified`,o=e.userLogin&&e.userToken?"Basic "+btoa(e.userLogin+":"+e.userToken):null,n=await f().get(t,o?{headers:{authorization:o}}:{});this.homeCollections=n.data,this.totalHomeCollections=n.headers["x-wp-total"]}catch(e){return this.homeCollections=[],this.totalHomeCollections=0,this.errorMessage="error_label_fetch_collections",this.errorStatus=!0,e}},async fetchItemsByCollection(e,t){try{const o=y();let n=`${o.userSiteUrl}/wp-json/tainacan/v2/collection/${e}/items?context=edit&fetch_only=id,title,thumbnail`;const i=o.userLogin&&o.userToken?"Basic "+btoa(o.userLogin+":"+o.userToken):null;t&&t.perPage?n+="&perpage="+t.perPage:n+="&perpage=12",t&&t.orderBy?n+="&orderby="+t.orderBy:n+="&orderby=modified",t&&t.search&&""!==t.search&&(n+="&search="+t.search),t.reset&&(this.collectionItems=[],this.nextItemsByCollectionPage=1),n+="&paged="+this.nextItemsByCollectionPage;const a=await f().get(n,i?{headers:{authorization:i}}:{});this.collectionItems.push(...a.data.items),this.totalCollectionItems=a.headers["x-wp-total"],this.totalCollectionItems&&"0"!==this.totalCollectionItems&&this.nextItemsByCollectionPage++}catch(o){return this.collectionItems=[],this.totalCollectionItems=0,this.nextItemsByCollectionPage=1,this.errorMessage="error_label_fetch_items_collections",this.errorStatus=!0,!1}},async fetchHomeItems(){try{const e=y(),t=`${e.userSiteUrl}/wp-json/tainacan/v2/items?context=edit&fetch_only=id,title,thumbnail&perpage=12&orderby=modified`,o=e.userLogin&&e.userToken?"Basic "+btoa(e.userLogin+":"+e.userToken):null,n=await f().get(t,o?{headers:{authorization:o}}:{});this.homeItems=n.data.items,this.totalHomeItems=n.headers["x-wp-total"]}catch(e){return this.homeItems=[],this.totalHomeItems=0,this.errorMessage="error_label_fetch_items_collections",this.errorStatus=!0,e}},async fetchItems(e){try{const t=y();let o=`${t.userSiteUrl}/wp-json/tainacan/v2/items?context=edit&fetch_only=id,title,thumbnail`;const n=t.userLogin&&t.userToken?"Basic "+btoa(t.userLogin+":"+t.userToken):null;e&&e.perPage&&(o+="&perpage="+e.perPage),e&&e.orderBy&&(o+="&orderby="+e.orderBy),e&&e.search&&""!==e.search&&(o+="&search="+e.search),e.reset&&(this.items=[],this.nextItemsPage=1),o+="&paged="+this.nextItemsPage;const i=await f().get(o,n?{headers:{authorization:n}}:{});this.items.push(...i.data.items),this.totalItems=i.headers["x-wp-total"],this.totalItems&&"0"!==this.totalItems&&this.nextItemsPage++}catch(t){return this.items=[],this.totalItems=0,this.nextItemsPage=1,this.errorMessage="error_label_fetch_items",this.errorStatus=!0,t}},async deleteItem(e){try{const t=y(),o=`${t.userSiteUrl}/wp-json/tainacan/v2/items/${e}`,n=t.userLogin&&t.userToken?"Basic "+btoa(t.userLogin+":"+t.userToken):null,i=await f()["delete"](o,n?{headers:{authorization:n}}:{});if(i.data&&i.data.id){const e=this.items.indexOf((e=>e.id==i.data.id));e>=0&&this.items.splice(e,1);const t=this.homeItems.indexOf((e=>e.id==i.data.id));t>=0&&this.items.splice(t,1);const o=this.collectionItems.indexOf((e=>e.id==i.data.id));o>=0&&this.items.splice(o,1)}}catch(t){return this.errorMessage="error_delete_item",this.errorStatus=!0,t}}}});var S={props:["pageTitle","pageDefaultBackLink"],components:{IonPage:l._i,IonHeader:l.Gu,IonToolbar:l.sr,IonTitle:l.wd,IonContent:l.W2,IonIcon:l.gu,IonButton:l.YG,IonBackButton:l.oU,IonButtons:l.Sm,IonImg:l.Xz,IonToast:l.Px},setup(){const e=(0,i.Fl)((()=>o(6949)));let t=y(),n=A();return{tainacanLogo:e,wpStore:t,logOutOutline:h.euS,tainacanStore:n}},methods:{async logOff(){await this.wpStore.logoff(),this.$router.go()}}};const v=(0,c.Z)(S,[["render",m]]);var k=v;const C={key:0},L={key:1},B={key:2},U={key:0};function W(e,t,o,n,a,l){const s=(0,i.up)("ion-img"),r=(0,i.up)("ion-thumbnail"),c=(0,i.up)("ion-icon"),u=(0,i.up)("ion-label"),d=(0,i.up)("ion-radio"),m=(0,i.up)("ion-item");return(0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.collections,(t=>((0,i.wg)(),(0,i.j4)(m,{class:"collection-list-item",key:t.id,onClick:o=>e.isInSelectionMode?"":e.goToCollectionPage(t)},{default:(0,i.w5)((()=>[(0,i.Wm)(r,{slot:"start"},{default:(0,i.w5)((()=>[(0,i.Wm)(s,{src:t.thumbnail&&t.thumbnail.thumbnail&&t.thumbnail.thumbnail[0]?t.thumbnail.thumbnail[0]:e.thumbnailPlaceholder,alt:t.name?t.name:e.$("label_collection_without_name")},null,8,["src","alt"])])),_:2},1024),(0,i.Wm)(u,null,{default:(0,i.w5)((()=>[(0,i._)("h2",null,[(0,i.Uk)((0,p.zw)(t.name?t.name:e.$t("label_collection_without_name"))+"  ",1),"private"===t.status?((0,i.wg)(),(0,i.iD)("span",C,[(0,i.Wm)(c,{icon:e.lockClosedOutline},null,8,["icon"])])):"draft"===t.status?((0,i.wg)(),(0,i.iD)("span",L,[(0,i.Wm)(c,{icon:e.readerOutline},null,8,["icon"])])):"trash"===t.status?((0,i.wg)(),(0,i.iD)("span",B,[(0,i.Wm)(c,{icon:e.trashOutline},null,8,["icon"])])):(0,i.kq)("",!0)]),t.total_items?((0,i.wg)(),(0,i.iD)("p",U,(0,p.zw)(e.$t("total_of_published_items",[t.total_items.publish])),1)):(0,i.kq)("",!0)])),_:2},1024),e.isInSelectionMode?((0,i.wg)(),(0,i.j4)(d,{key:0,slot:"end",value:t.id},null,8,["value"])):(0,i.kq)("",!0)])),_:2},1032,["onClick"])))),128)}var T=o(2119),x=(0,i.aZ)({props:["collections","isSelectionMode"],components:{IonItem:l.Ie,IonImg:l.Xz,IonThumbnail:l.Bs,IonLabel:l.Q$,IonIcon:l.gu,IonRadio:l.B7},setup(e){const t=(0,i.Fl)((()=>e.isSelectionMode)),n=(0,i.Fl)((()=>o(6445))),a=(0,T.tv)(),l=e=>{a.push({name:"collection",params:{id:e.id}})};return{thumbnailPlaceholder:n,lockClosedOutline:h.hkI,readerOutline:h.$1v,trashOutline:h.gtu,goToCollectionPage:l,isInSelectionMode:t}}});const H=(0,c.Z)(x,[["render",W]]);var j=H;function O(e,t,o,n,a,l){const s=(0,i.up)("ion-img"),r=(0,i.up)("ion-card-title"),c=(0,i.up)("ion-card-header"),u=(0,i.up)("ion-card"),d=(0,i.up)("ion-col"),m=(0,i.up)("ion-row");return(0,i.wg)(),(0,i.j4)(m,{class:"items-list-container"},{default:(0,i.w5)((()=>[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.items,(t=>((0,i.wg)(),(0,i.j4)(d,{size:"4",key:t.id},{default:(0,i.w5)((()=>[(0,i.Wm)(u,{onClick:o=>e.openActionSheet(t),button:"",color:"light"},{default:(0,i.w5)((()=>[(0,i.Wm)(s,{src:t.thumbnail&&t.thumbnail["tainacan-medium"]&&t.thumbnail["tainacan-medium"][0]?t.thumbnail["tainacan-medium"][0]:e.thumbnailPlaceholder,alt:t.thumbnail_alt?t.thumbnail_alt:t.title?t.title:"Imagem de item sem título"},null,8,["src","alt"]),(0,i.Wm)(c,null,{default:(0,i.w5)((()=>[(0,i.Wm)(r,null,{default:(0,i.w5)((()=>[(0,i.Uk)((0,p.zw)(t.title?t.title:e.$t("label_item_without_title")),1)])),_:2},1024)])),_:2},1024)])),_:2},1032,["onClick"])])),_:2},1024)))),128))])),_:1})}var P=o(2262),R=(0,i.aZ)({props:["items"],components:{IonCardHeader:l.Zi,IonRow:l.Nd,IonCol:l.wI,IonCard:l.PM,IonImg:l.Xz,IonCardTitle:l.Dq},setup(){const e=y(),t=A(),n=(0,i.Fl)((()=>o(6445))),a=(0,P.iH)({header:"",button1:"",button2:"",cancel:""}),s=e=>a.value=e,r=async e=>{const t=e;if(t.current_user_can_edit||t.current_user_can_delete){let e=[];t.current_user_can_edit&&e.push({text:a.value.button1,icon:h.rI1,data:"edit-item",handler:()=>{u(t)}}),t.current_user_can_delete&&e.push({text:a.value.button2,icon:h.UQi,data:"delete-item",handler:()=>{c(t)}}),e.push({text:a.value.cancel,role:"cancel"});let o={header:a.value.header,cssClass:"item-creation-action-sheet",buttons:e};const n=await l.BO.create(o);await n.present()}},c=function(e){t.deleteItem(e.id)},u=function(t){e.openInAppBrowser("?page=tainacan_admin&mobileAppMode=true#/collections/"+t.collection_id+"/items/"+t.id+"/edit"),e.listenEventInAppBrowser((t=>{t&&t.data&&"item_updated"===t.data.type&&t.data.item&&"auto-draft"!==t.data.item.status&&e.hideInAppBrowser()}))};return{thumbnailPlaceholder:n,wpStore:e,openItemEdition:u,setActionSheetLabels:s,openActionSheet:r}},async created(){this.setActionSheetLabels({header:this.$t("label_item_actions"),button1:this.$t("label_option_edit_item"),button2:this.$t("label_option_delete_item"),cancel:this.$t("label_cancel")})}});const D=(0,c.Z)(R,[["render",O]]);var z=D,M=o(1089);function Q(e,t,o,n,a,l){const s=(0,i.up)("ion-refresher-content"),r=(0,i.up)("ion-refresher"),c=(0,i.up)("ion-loading"),u=(0,i.up)("ion-list-header"),d=(0,i.up)("collections-list"),m=(0,i.up)("ion-list"),h=(0,i.up)("ion-icon"),_=(0,i.up)("ion-button"),g=(0,i.up)("items-list"),f=(0,i.up)("base-layout");return(0,i.wg)(),(0,i.j4)(f,null,{default:(0,i.w5)((()=>[(0,i.Wm)(r,{slot:"fixed",onIonRefresh:t[0]||(t[0]=e=>n.doRefresh(e))},{default:(0,i.w5)((()=>[(0,i.Wm)(s)])),_:1}),(0,i.Wm)(c,{"is-open":n.isLoading,message:e.$t("label_loading")},null,8,["is-open","message"]),(0,i.Wm)(m,null,{default:(0,i.w5)((()=>[(0,i.Wm)(u,null,{default:(0,i.w5)((()=>[(0,i.Uk)((0,p.zw)(e.$t("label_last_modified_collections")),1)])),_:1}),(0,i.Wm)(d,{collections:n.tainacanStore.homeCollections},null,8,["collections"])])),_:1}),n.tainacanStore.homeCollections.length[(0,i.Uk)((0,p.zw)(e.$t("label_view_all_collections",[n.tainacanStore.totalHomeCollections]))+" ",1),(0,i.Wm)(h,{slot:"end",icon:n.arrowForwardOutline},null,8,["icon"])])),_:1})):(0,i.kq)("",!0),(0,i.Wm)(m,null,{default:(0,i.w5)((()=>[(0,i.Wm)(u,null,{default:(0,i.w5)((()=>[(0,i.Uk)((0,p.zw)(e.$t("label_last_modified_items")),1)])),_:1}),(0,i.Wm)(g,{items:n.tainacanStore.homeItems},null,8,["items"]),n.tainacanStore.homeItems.length[(0,i.Uk)((0,p.zw)(e.$t("label_view_all_items",[n.tainacanStore.totalHomeItems]))+" ",1),(0,i.Wm)(h,{slot:"end",icon:n.arrowForwardOutline},null,8,["icon"])])),_:1})):(0,i.kq)("",!0)])),_:1})])),_:1})}var F={components:{IonIcon:l.gu,CollectionsList:j,ItemsList:z,BaseLayout:k,IonList:l.q_,IonListHeader:l.yh,IonButton:l.YG,IonLoading:l.wh,IonRefresher:l.nJ,IonRefresherContent:l.Wo},setup(){const e=(0,P.iH)(!1),t=t=>e.value=t,o=async()=>{await i.fetchHomeCollections(),await i.fetchHomeItems()},n=async e=>{await o(),e&&e.target&&e.target.complete()};let i=A();return{arrowForwardOutline:h.QzP,tainacanStore:i,isLoading:e,setIsLoading:t,loadCollectionsAndItems:o,doRefresh:n}},async created(){this.setIsLoading(!0),await this.loadCollectionsAndItems(),this.setIsLoading(!1)}};const E=(0,c.Z)(F,[["render",Q]]);var V=E;const N=(0,i._)("br",null,null,-1),Y=(0,i.Uk)(" Testes sem login ");function q(e,t,o,a,l,s){const r=(0,i.up)("ion-img"),c=(0,i.up)("ion-label"),u=(0,i.up)("ion-input"),d=(0,i.up)("ion-item"),m=(0,i.up)("ion-list"),h=(0,i.up)("ion-icon"),_=(0,i.up)("ion-button"),g=(0,i.up)("ion-col"),f=(0,i.up)("ion-row"),w=(0,i.up)("app-password-modal"),b=(0,i.up)("ion-content"),I=(0,i.up)("ion-page");return(0,i.wg)(),(0,i.j4)(I,null,{default:(0,i.w5)((()=>[(0,i.Wm)(b,{class:"login-form-content",fullscreen:""},{default:(0,i.w5)((()=>[(0,i.Wm)(f,{class:"ion-align-items-center ion-justify-content-center"},{default:(0,i.w5)((()=>[(0,i.Wm)(g,null,{default:(0,i.w5)((()=>[(0,i.Wm)(r,{class:"login-form-content__tainacan-logo",alt:"Logo Tainacan",src:a.image},null,8,["src"]),(0,i._)("form",{onSubmit:t[1]||(t[1]=(0,n.iM)(((...e)=>s.openLoginForm&&s.openLoginForm(...e)),["prevent"]))},[(0,i.Wm)(m,{class:"ion-no-margin",inset:""},{default:(0,i.w5)((()=>[(0,i.Wm)(d,null,{default:(0,i.w5)((()=>[(0,i.Wm)(c,{position:"floating"},{default:(0,i.w5)((()=>[(0,i.Uk)((0,p.zw)(e.$t("label_site_url")),1)])),_:1}),(0,i.Wm)(u,{placeholder:e.$t("placeholder_site_url"),autofocus:"true",id:"siteUrl",type:"url",name:"siteUrl",modelValue:l.siteUrl,"onUpdate:modelValue":t[0]||(t[0]=e=>l.siteUrl=e),modelModifiers:{trim:!0},required:"true",autocomplete:"url",enterkeyhint:"next"},null,8,["placeholder","modelValue"])])),_:1})])),_:1}),N,(0,i.Wm)(_,{type:"submit",fill:"clear"},{default:(0,i.w5)((()=>[(0,i.Uk)((0,p.zw)(e.$t("label_access_archive"))+" ",1),(0,i.Wm)(h,{slot:"end",icon:a.arrowForwardOutline},null,8,["icon"])])),_:1}),(0,i.Wm)(_,{onClick:s.fakeLogin,color:"danger",fill:"clear"},{default:(0,i.w5)((()=>[Y,(0,i.Wm)(h,{slot:"end",icon:a.arrowForwardOutline},null,8,["icon"])])),_:1},8,["onClick"])],32)])),_:1})])),_:1}),(0,i.Wm)(w)])),_:1})])),_:1})}const X=(0,i._)("h1",null,"Application Passwords",-1),Z=(0,i._)("p",null,[(0,i._)("em",null,"Application passwords"),(0,i.Uk)(" are a safe way to peform operations without using your actual website password. To generate one, you must: "),(0,i._)("ol",null,[(0,i._)("li",null,[(0,i.Uk)("Open a web browser and login do your website traditional login page (usually "),(0,i._)("em",null,'"https://your-website.com.br/wp-admin"'),(0,i.Uk)(").")]),(0,i._)("li",null,"Go to your profile page by clicking on your picture in the upper right corner."),(0,i._)("li",null,'Scroll down to the "Application passwords" section. There should be a text input labelled "New name to the application password".'),(0,i._)("li",null,'Fill in the text input with any value to identify this password (you can have multiple), for example: "Tainacan Mobile".'),(0,i._)("li",null,'Click on the "Add new application password" button.')])],-1),J=(0,i._)("p",null,"With this steps completed, you will receive a code, that may look like this:",-1),$=(0,i._)("pre",null,[(0,i._)("code",null,"vlOh CdaH UqWw YV7X beou 6MFY")],-1),K=(0,i._)("p",null,[(0,i.Uk)("Copy this code and "),(0,i._)("strong",null,"keep it safe somewhere"),(0,i.Uk)(". You won't be able to access it later. Finally, paste it on this app login screen.")],-1),G=(0,i._)("p",null,"While it should be kept logged in, if you ever loose your access to the app, you can revogate the previous passwords and generate new ones in the same screen.",-1);function ee(e,t,o,n,a,l){const s=(0,i.up)("ion-content"),r=(0,i.up)("ion-modal");return(0,i.wg)(),(0,i.j4)(r,{ref:"modal",trigger:"open-explanation-modal","initial-breakpoint":.9,breakpoints:[0,.5,.75,1]},{default:(0,i.w5)((()=>[(0,i.Wm)(s,{style:{"font-size":"0.9375rem",opacity:"0.85"},class:"ion-padding"},{default:(0,i.w5)((()=>[X,Z,J,$,K,G])),_:1})])),_:1},8,["initial-breakpoint","breakpoints"])}var te={components:{IonModal:l.ki,IonContent:l.W2},setup(){return{}}};const oe=(0,c.Z)(te,[["render",ee]]);var ne=oe,ie={props:["pageTitle","pageDefaultBackLink"],components:{IonIcon:l.gu,IonImg:l.Xz,IonPage:l._i,IonList:l.q_,IonItem:l.Ie,IonButton:l.YG,IonInput:l.pK,IonLabel:l.Q$,IonRow:l.Nd,IonCol:l.wI,IonContent:l.W2,AppPasswordModal:ne},data(){return{siteUrl:""}},setup(){const e=(0,i.Fl)((()=>o(9980)));let t=A(),n=y();return{image:e,tainacanStore:t,wpStore:n,arrowForwardOutline:h.QzP}},methods:{async openLoginForm(){this.wpStore.userSiteUrl=this.siteUrl,await this.wpStore.fetchApplicationAuthorization(this.siteUrl),this.wpStore.authorizationURL&&(this.wpStore.createInAppBrowser("?page=tainacan_mobile_app"),this.wpStore.inAppBrowser.on("loadstop").subscribe(this.handleBrowserLoadStop))},async handleBrowserLoadStop(e){if(e.url&&"string"==typeof e.url&&e.url.split("?")&&e.url.split("?").length>=2){const t=new URLSearchParams(e.url.split("?")[1]);if("tainacan_mobile_app"===t.get("page")){const e=t.get("user_login");let o=t.get("password");"string"==typeof o&&o.indexOf("#")>=0&&(o=o.split("#")[0]),e&&o&&(await this.wpStore.login(this.siteUrl,e,o),this.$router.push("/home")),this.wpStore.inAppBrowser.hide()}}},fakeLogin(){this.wpStore.login("https://rcteste.tainacan.org","",""),this.$router.push("/home")}}};const ae=(0,c.Z)(ie,[["render",q]]);var le=ae;const se={key:1,class:"results-not-found"};function re(e,t,o,n,a,l){const s=(0,i.up)("ion-refresher-content"),r=(0,i.up)("ion-refresher"),c=(0,i.up)("ion-searchbar"),u=(0,i.up)("ion-toolbar"),d=(0,i.up)("ion-loading"),m=(0,i.up)("ion-spinner"),h=(0,i.up)("items-list"),_=(0,i.up)("ion-infinite-scroll-content"),g=(0,i.up)("ion-infinite-scroll"),f=(0,i.up)("ion-icon"),w=(0,i.up)("ion-button"),b=(0,i.up)("base-layout");return(0,i.wg)(),(0,i.j4)(b,{"page-title":e.$t("label_collection_items_list"),"page-default-back-link":"/collections"},{default:(0,i.w5)((()=>[(0,i.Wm)(r,{slot:"fixed",onIonRefresh:t[0]||(t[0]=t=>e.doRefresh(t))},{default:(0,i.w5)((()=>[(0,i.Wm)(s)])),_:1}),(0,i.Wm)(u,null,{default:(0,i.w5)((()=>[(0,i.Wm)(c,{debounce:"500",placeholder:e.$t("label_search"),onIonChange:t[1]||(t[1]=t=>e.handleSearch(t))},null,8,["placeholder"])])),_:1}),(0,i.Wm)(d,{"is-open":e.isLoading,message:e.$t("label_loading")},null,8,["is-open","message"]),e.isSearching?((0,i.wg)(),(0,i.j4)(m,{key:0})):(0,i.kq)("",!0),e.isLoading||e.isSearching||e.tainacanStore.totalCollectionItems&&"0"!=e.tainacanStore.totalCollectionItems?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",se,[(0,i._)("span",null,(0,p.zw)(e.$t("label_no_results_found")),1)])),(0,i.Wm)(h,{items:e.tainacanStore.collectionItems},null,8,["items"]),(0,i.Wm)(g,{ref:"infiniteScroll",threshold:"5%",onIonInfinite:e.loadItemsByCollection},{default:(0,i.w5)((()=>[(0,i.Wm)(_)])),_:1},8,["onIonInfinite"]),(0,i.Wm)(w,{class:"add-items-button",color:"primary",onClick:t[2]||(t[2]=t=>e.openActionSheet())},{default:(0,i.w5)((()=>[(0,i.Wm)(f,{icon:e.add},null,8,["icon"]),(0,i.Uk)("  "+(0,p.zw)(e.$t("label_add_items")),1)])),_:1})])),_:1},8,["page-title"])}var ce=(0,i.aZ)({components:{BaseLayout:k,ItemsList:z,IonLoading:l.wh,IonRefresher:l.nJ,IonRefresherContent:l.Wo,IonIcon:l.gu,IonButton:l.YG,IonInfiniteScroll:l.ju,IonToolbar:l.sr,IonSearchbar:l.VI,IonSpinner:l.PQ,IonInfiniteScrollContent:l.MB},props:{id:String},setup(e){const t=(0,P.iH)(!1),o=(0,P.iH)(!1),n=(0,P.iH)(),i=(0,P.iH)(),a=e=>t.value=e,s=e=>o.value=e,r=e=>n.value=e,c=async(t,o)=>{await w.fetchItemsByCollection(e.id+"",{perPage:"12",orderBy:"modified",reset:o,search:n.value});let a=w.totalCollectionItems&&0!==w.totalCollectionItems;t&&t.target&&t.target.complete(),a||(i.value.$el.disabled=!0)},u=async()=>{await c(null,!0)},d=async e=>{let t=e&&e.detail&&e.detail.value;r(t),s(!0),""!==t?await c(null,!0):await u(),s(!1)},p=async e=>{await c({},!0),e&&e.target&&(e.target.complete(),i.value.$el.disabled=!1)},m=y(),_=(0,P.iH)({header:"",button1:"",button2:"",button3:"",cancel:""}),g=e=>_.value=e,f=async()=>{const t=await l.BO.create({header:_.value.header,cssClass:"item-creation-action-sheet",buttons:[{text:_.value.button3,icon:h.Pf6,data:"single item",handler:()=>{m.openInAppBrowser("?page=tainacan_admin&mobileAppMode=true#/collections/"+e.id+"/items/new"),m.listenEventInAppBrowser((e=>{e&&e.data&&"item_updated"===e.data.type&&e.data.item&&"auto-draft"!==e.data.item.status&&(m.hideInAppBrowser(),c({},!0))}))}},{text:_.value.cancel,role:"cancel"}]});await t.present()};let w=A();return{isLoading:t,isSearching:o,tainacanStore:w,wpStore:m,setIsLoading:a,loadItemsByCollection:c,doRefresh:p,openActionSheet:f,add:h.IHx,actionSheetLabels:_,setActionSheetLabels:g,infiniteScroll:i,handleSearch:d}},async created(){this.setActionSheetLabels({header:this.$t("info_create_items"),button1:this.$t("label_option_multiple_items"),button2:this.$t("label_option_multiple_attachments"),button3:this.$t("label_option_single_item"),cancel:this.$t("label_cancel")}),this.setIsLoading(!0),await this.loadItemsByCollection({},!0),this.setIsLoading(!1)}});const ue=(0,c.Z)(ce,[["render",re]]);var de=ue;function pe(e,t,o,n,a,l){const s=(0,i.up)("ion-loading"),r=(0,i.up)("ion-refresher-content"),c=(0,i.up)("ion-refresher"),u=(0,i.up)("collections-list"),d=(0,i.up)("ion-list"),p=(0,i.up)("base-layout");return(0,i.wg)(),(0,i.j4)(p,{"page-title":e.$t("label_collections_list"),"page-default-back-link":"/"},{default:(0,i.w5)((()=>[(0,i.Wm)(s,{"is-open":n.isLoading,message:e.$t("label_loading")},null,8,["is-open","message"]),(0,i.Wm)(c,{slot:"fixed",onIonRefresh:t[0]||(t[0]=e=>n.doRefresh(e))},{default:(0,i.w5)((()=>[(0,i.Wm)(r)])),_:1}),(0,i.Wm)(d,null,{default:(0,i.w5)((()=>[(0,i.Wm)(u,{collections:n.tainacanStore.collections,"is-selection-mode":!1},null,8,["collections"])])),_:1})])),_:1},8,["page-title"])}var me={components:{CollectionsList:j,BaseLayout:k,IonLoading:l.wh,IonList:l.q_,IonRefresher:l.nJ,IonRefresherContent:l.Wo},setup(){const e=(0,P.iH)(!1),t=t=>e.value=t,o=async()=>{await i.fetchCollections({perPage:"24",orderBy:"modified"})},n=async e=>{await o(),e&&e.target&&e.target.complete()};let i=A();return{tainacanStore:i,isLoading:e,setIsLoading:t,doRefresh:n,loadCollections:o}},async created(){this.setIsLoading(!0),await this.loadCollections(),this.setIsLoading(!1)}};const he=(0,c.Z)(me,[["render",pe]]);var _e=he;const ge={key:1,class:"results-not-found"};function fe(e,t,o,n,a,l){const s=(0,i.up)("ion-loading"),r=(0,i.up)("ion-searchbar"),c=(0,i.up)("ion-toolbar"),u=(0,i.up)("ion-refresher-content"),d=(0,i.up)("ion-refresher"),m=(0,i.up)("ion-spinner"),h=(0,i.up)("items-list"),_=(0,i.up)("ion-infinite-scroll-content"),g=(0,i.up)("ion-infinite-scroll"),f=(0,i.up)("base-layout");return(0,i.wg)(),(0,i.j4)(f,{"page-title":e.$t("label_items_list"),"page-default-back-link":"/collections"},{default:(0,i.w5)((()=>[(0,i.Wm)(s,{"is-open":n.isLoading,message:e.$t("label_loading")},null,8,["is-open","message"]),(0,i.Wm)(c,null,{default:(0,i.w5)((()=>[(0,i.Wm)(r,{debounce:"500",placeholder:e.$t("label_search"),onIonChange:t[0]||(t[0]=e=>n.handleSearch(e))},null,8,["placeholder"])])),_:1}),(0,i.Wm)(d,{slot:"fixed",onIonRefresh:t[1]||(t[1]=e=>n.doRefresh(e))},{default:(0,i.w5)((()=>[(0,i.Wm)(u)])),_:1}),n.isSearching?((0,i.wg)(),(0,i.j4)(m,{key:0})):(0,i.kq)("",!0),n.isLoading||n.isSearching||n.tainacanStore.totalItems&&"0"!=n.tainacanStore.totalItems?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",ge,[(0,i._)("span",null,(0,p.zw)(e.$t("label_no_results_found")),1)])),(0,i.Wm)(h,{items:n.tainacanStore.items},null,8,["items"]),(0,i.Wm)(g,{ref:"infiniteScroll",threshold:"5%",onIonInfinite:n.loadItems},{default:(0,i.w5)((()=>[(0,i.Wm)(_)])),_:1},8,["onIonInfinite"])])),_:1},8,["page-title"])}var we={components:{IonLoading:l.wh,ItemsList:z,BaseLayout:k,IonRefresher:l.nJ,IonRefresherContent:l.Wo,IonInfiniteScroll:l.ju,IonToolbar:l.sr,IonSearchbar:l.VI,IonSpinner:l.PQ,IonInfiniteScrollContent:l.MB},setup(){const e=(0,P.iH)(!1),t=(0,P.iH)(!1),o=(0,P.iH)(),n=t=>e.value=t,i=e=>t.value=e,a=e=>o.value=e,l=(0,P.iH)(),s=async(e,t)=>{await d.fetchItems({perPage:"12",orderBy:"modified",reset:t,search:o.value});let n=d.totalItems&&0!==d.totalItems;e&&e.target&&e.target.complete(),n||(l.value.$el.disabled=!0)},r=async()=>{await s(null,!0)},c=async e=>{let t=e&&e.detail&&e.detail.value;a(t),i(!0),""!==t?(await s(null,!0),i(!1)):await r(),i(!1)},u=async e=>{await s({},!0),e&&e.target&&(e.target.complete(),l.value.$el.disabled=!1)};let d=A();return{isLoading:e,isSearching:t,setIsLoading:n,tainacanStore:d,doRefresh:u,loadItems:s,infiniteScroll:l,handleSearch:c}},async created(){this.setIsLoading(!0),await this.loadItems(),this.setIsLoading(!1)}};const be=(0,c.Z)(we,[["render",fe],["__scopeId","data-v-5ba64bfe"]]);var Ie=be;const ye=[{path:"/",redirect:"/home"},{path:"/home",component:V,name:"home"},{path:"/login",component:le,name:"login"},{path:"/collections/:id",component:de,name:"collection",props:!0},{path:"/collections",component:_e,name:"collections"},{path:"/items",component:Ie,name:"items"}],Ae=(0,M.p7)({history:(0,M.PO)("/"),routes:ye});Ae.beforeEach((async(e,t,o)=>{const n=y();await n.checkUserLogin(),"login"===e.name||n.userIsLoggedIn?o():o({name:"login"})}));var Se=Ae,ve=(o(8851),o(1292),o(1633),o(1045),o(6187),o(2299),o(3423),o(4687),o(9147),o(6250),o(3324));const ke={en:{collections:"Collections",label_view_all_collections:"View all {0} collections",items:"Items",label_view_all_items:"View all {0} items",label_loading:"Loading...",label_items_list:"Items list",label_collections_list:"Collections list",label_collection_items_list:"Collection items list",collection:"Collection",label_site_url:"Archive site URL",placeholder_site_url:"https://my-tainacan-archive.com",label_user_name:"User name",placeholder_user_name:"your user name",label_user_password:"User application password",placeholder_user_password:"your application password here",label_access_archive:"Access archive",label_item_without_title:"Item without title",label_collection_without_name:"Collection without name",total_of_published_items:"Total of {0} published items",label_last_modified_collections:"Last modified collections",label_last_modified_items:"Last modified itens",label_add_items:"Add items",info_create_items:"Create new items in this collection",label_option_multiple_items:"Multiple items from file selection",label_option_multiple_attachments:"Single item with document and attachments from file selection",label_option_single_item:"Single empty item",label_cancel:"Cancel",label_search:"Search",label_no_results_found:"No results found",info_application_password:"This password is not the same of your WordPress admin.",label_learn_more_here:"Learn more here",label_item_actions:"Item actions",label_option_edit_item:"Edit item",label_option_delete_item:"Send item to trash",error_label_fetch_collections:"Collections loading error",error_label_fetch_items_collections:"Items collections loading error",error_label_fetch_items:"Items loading error",error_delete_item:"Error while deleting item"},pt:{collections:"Coleções",label_view_all_collections:"Ver todas as {0} coleções",items:"Itens",label_view_all_items:"Ver todos os {0} itens",label_loading:"Carregando...",label_items_list:"Lista de itens",label_collections_list:"Lista de coleções",label_collection_items_list:"Lista de itens da coleção",collection:"Coleção",label_site_url:"URL do Site do Acervo",placeholder_site_url:"https://meu-acervo-tainacan.com",label_user_name:"Nome de usuário",placeholder_user_name:"seu nome de usuário aqui",label_user_password:"Senha do usuário da aplicação",placeholder_user_password:"sua senha de usuário da aplicação aqui",label_access_archive:"Acessar acervo",label_item_without_title:"Item sem título",label_collection_without_name:"Coleção sem nome",total_of_published_items:"Total de {0} itens públicos",label_last_modified_collections:"Coleções alteradas recentemente",label_last_modified_items:"Itens alterados recentemente",label_add_items:"Adicionar itens",info_create_items:"Crie novos itens nesta coleção",label_option_multiple_items:"Vários itens a partir de uma seleção de arquivos",label_option_multiple_attachments:"Um item com documento e anexos provenientes de ums seleção de aquivos",label_option_single_item:"Um item vazio",label_cancel:"Cancelar",label_search:"Buscar",label_no_results_found:"Nenhum resultado encontrado",info_application_password:"Esta senha não é a mesma do seu painel admin do WordPress.",label_learn_more_here:"Saiba mais aqui.",label_item_actions:"Ações para o item",label_option_edit_item:"Editar item",label_option_delete_item:"Enviar item para lixeira",error_label_fetch_collections:"Erro no carregamento das coleções",error_label_fetch_items_collections:"Erro no carregamento dos itens da coleção",error_label_fetch_items:"Erro no carregamento dos itens",error_delete_item:"Erro ao tentar remover item"}},Ce=(0,ve.o)({locale:"en",fallbackLocale:"en",messages:ke}),Le=(0,n.ri)(d).use(l.oX).use(Se).use((0,_.WB)()).use(Ce);Le.component("base-layout",k),Le.component("base-collectionlist",j),Le.component("base-itemlist",z),Se.isReady().then((()=>{Le.mount("#app")}))},6949:function(e,t,o){"use strict";e.exports=o.p+"img/logo.c406a55a.png"},9980:function(e,t,o){"use strict";e.exports=o.p+"img/logo_square.e3a150ee.png"},6445:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAHEHpUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHjarVdtksMqDvzPKfYIICQEx5H5qHo32ONvCzuZSSYzmXm1cSU4GINQS90izP/+s8J/8CGJNbBoLa2UiA83bmS4qfH8tP2bIu/f/aHbs/TYH+4PCF0ZbT7/ql3jDf3y8cJ9nuOxP9R6X+mcKN0n3p/sK/v9+Gwk+unsT3xN1OZ5U1rVz6Ye10T9GrhNub78sb398f/hoUPhpSFYKBPNnHLcv/W0IJ9f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tGOavRFNBa4AAAGDaUNDUElDQyBwcm9maWxlAAB4nH2RPUjDQBzFX1OlIpUOZhBxyFCdLIhfOGoVilAh1AqtOphc+gVNGpIUF0fBteDgx2LVwcVZVwdXQRD8AHFydFJ0kRL/lxRaxHpw3I939x537wChXma63TUG6IZjpRJxKZNdlUKvCCMCEVMQFGabc7KcRMfxdY8AX+9iPKvzuT9Hn5azGRCQiGeZaTnEG8TTm47JeZ9YZEVFIz4nHrXogsSPXFd9fuNc8FjgmaKVTs0Ti8RSoY3VNmZFSyeeJI5qukH5QsZnjfMWZ71cZc178heGc8bKMtdpDiGBRSxBhgQVVZRQhoMYrQYpNlK0H+/gH/T8MrlUcpXAyLGACnQonh/8D353a+cnxv2kcBzofnHdj2EgtAs0aq77fey6jRMg+AxcGS1/pQ7MfJJea2nRIyCyDVxctzR1D7jcAQaeTMVSPClIU8jngfcz+qYs0H8L9K75vTX3cfoApKmr5A1wcAiMFCh7vcO7e9p7+/dMs78faWFyo+T2bHcAAAAYUExURdXV1dDQ0M3Nzdzc3NjY2NDQ0Ovr69PT0/3gchwAAAABYktHRACIBR1IAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH5AwPFDUdBoqroAAAAMZJREFUKM9t0EEKwyAQBdAUe4DYBrLWExQ+mHXQmxRcBxrw+lVjdMT5y5c/cXTSWtJoreQyDSjlPKVPJC/FYErCbl4wuGAvSOYttgF/AGReqeEcDQ/5TqjbcMzWo0COFASXy7DbjKr+MOWDitVgKq624TejJj3A+wtPDKhW14ZhIsoQ83Suw1Cwlj3Foqbi6XJKsUfX4eFuNQxazyE7Tk4PtUiWD+30fHeK9/od3hctSO4ZqwTb8xEEg5ZDMAgGLYMCIx5dEX8OPbO5edULYwAAAABJRU5ErkJggg=="}},t={};function o(n){var i=t[n];if(void 0!==i)return i.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,o),a.exports}o.m=e,function(){var e=[];o.O=function(t,n,i,a){if(!n){var l=1/0;for(u=0;u=a)&&Object.keys(o.O).every((function(e){return o.O[e](n[r])}))?n.splice(r--,1):(s=!1,a0&&e[u-1][2]>a;u--)e[u]=e[u-1];e[u]=[n,i,a]}}(),function(){o.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return o.d(t,{a:t}),t}}(),function(){o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}}(),function(){o.f={},o.e=function(e){return Promise.all(Object.keys(o.f).reduce((function(t,n){return o.f[n](e,t),t}),[]))}}(),function(){o.u=function(e){return"js/"+e+"."+{78:"51f18a44",168:"c83a23ff",338:"fff3ebb3",544:"94817512",576:"a82798ee",753:"17d4d392",775:"c55644c6",880:"e288775e",961:"2fab5ec9",990:"cdf4956e"}[e]+".js"}}(),function(){o.miniCssF=function(e){}}(),function(){o.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="tainacan-mobile:";o.l=function(n,i,a,l){if(e[n])e[n].push(i);else{var s,r;if(void 0!==a)for(var c=document.getElementsByTagName("script"),u=0;u [\n _createVNode(_component_ion_router_outlet)\n ]),\n _: 1\n }))\n}","\nimport { IonApp, IonRouterOutlet } from \"@ionic/vue\";\nimport { defineComponent } from \"vue\";\nimport { Device, DevicePlugin } from \"@capacitor/device\";\n\nexport default defineComponent({\n name: \"App\",\n components: {\n IonApp,\n IonRouterOutlet,\n },\n mounted() {\n const device: DevicePlugin = Device;\n device.getLanguageCode().then((res) => {\n if (res.value.includes(\"-\")) {\n const language = res.value.split(\"-\")[0];\n this.$i18n.locale = language;\n } else {\n this.$i18n.locale = res.value;\n }\n });\n },\n});\n","import { render } from \"./App.vue?vue&type=template&id=0acec4fa&ts=true\"\nimport script from \"./App.vue?vue&type=script&lang=ts\"\nexport * from \"./App.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/home/mateus/tainacan-mobile/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ion_back_button = _resolveComponent(\"ion-back-button\")!\n const _component_ion_buttons = _resolveComponent(\"ion-buttons\")!\n const _component_ion_img = _resolveComponent(\"ion-img\")!\n const _component_ion_icon = _resolveComponent(\"ion-icon\")!\n const _component_ion_button = _resolveComponent(\"ion-button\")!\n const _component_ion_toolbar = _resolveComponent(\"ion-toolbar\")!\n const _component_ion_title = _resolveComponent(\"ion-title\")!\n const _component_ion_header = _resolveComponent(\"ion-header\")!\n const _component_ion_content = _resolveComponent(\"ion-content\")!\n const _component_ion_toast = _resolveComponent(\"ion-toast\")!\n const _component_ion_page = _resolveComponent(\"ion-page\")!\n\n return (_openBlock(), _createBlock(_component_ion_page, null, {\n default: _withCtx(() => [\n _createVNode(_component_ion_header, { collapse: \"fade\" }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_toolbar, null, {\n default: _withCtx(() => [\n _createVNode(_component_ion_buttons, { slot: \"start\" }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_back_button, { \"default-href\": $props.pageDefaultBackLink }, null, 8, [\"default-href\"])\n ]),\n _: 1\n }),\n _createVNode(_component_ion_img, {\n src: $setup.tainacanLogo,\n class: \"header__tainacan-logo\"\n }, null, 8, [\"src\"]),\n _createVNode(_component_ion_buttons, { slot: \"end\" }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_button, {\n onClick: $options.logOff,\n \"aria-label\": \"Sair\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_icon, {\n slot: \"icon-only\",\n icon: $setup.logOutOutline\n }, null, 8, [\"icon\"])\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n ($props.pageTitle)\n ? (_openBlock(), _createBlock(_component_ion_toolbar, { key: 0 }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_title, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString($props.pageTitle), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createVNode(_component_ion_content, { fullscreen: \"true\" }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }),\n _createVNode(_component_ion_toast, {\n \"is-open\": $setup.tainacanStore.errorStatus,\n message: _ctx.$t($setup.tainacanStore.errorMessage),\n duration: 4000,\n onDidDismiss: _cache[0] || (_cache[0] = ($event: any) => (_ctx.setOpen(false))),\n color: \"danger\"\n }, null, 8, [\"is-open\", \"message\"])\n ]),\n _: 3\n }))\n}","import { defineStore } from \"pinia\";\nimport axios from \"axios\";\nimport { Storage } from \"@ionic/storage\";\nimport {\n InAppBrowser,\n InAppBrowserObject,\n} from \"@awesome-cordova-plugins/in-app-browser/index\";\n\nconst store = new Storage();\n\nconst useWpStore = defineStore(\"wp\", {\n state() {\n return {\n userIsLoggedIn: false,\n userSiteUrl: \"\",\n userLogin: \"\",\n userToken: \"\",\n authorizationURL: \"\",\n inAppBrowser: InAppBrowserObject,\n };\n },\n\n actions: {\n async login(userSiteUrl: string, userLogin: string, userToken: string) {\n try {\n this.userIsLoggedIn = true;\n this.userSiteUrl = userSiteUrl;\n this.userLogin = userLogin;\n this.userToken = userToken;\n await store.set(\"userIsLoggedIn\", true);\n await store.set(\"userSiteUrl\", userSiteUrl);\n await store.set(\"userLogin\", userLogin);\n await store.set(\"userToken\", userToken);\n } catch (err) {\n this.userIsLoggedIn = false;\n this.userSiteUrl = \"\";\n this.userToken = \"\";\n this.userLogin = \"\";\n delete this.inAppBrowser;\n //console.error(\"Erro no login:\", err);\n return err;\n }\n },\n async logoff() {\n try {\n this.userIsLoggedIn = false;\n this.userSiteUrl = \"\";\n this.userToken = \"\";\n this.userToken = \"\";\n delete this.inAppBrowser;\n await store.set(\"userIsLoggedIn\", false);\n await store.set(\"userSiteUrl\", \"\");\n await store.set(\"userToken\", \"\");\n } catch (err) {\n this.userIsLoggedIn = false;\n this.userSiteUrl = \"\";\n this.userToken = \"\";\n this.userToken = \"\";\n delete this.inAppBrowser;\n //console.error(\"Erro no logoff:\", err);\n return err;\n }\n },\n async fetchApplicationAuthorization(siteUrl: string) {\n try {\n const endpoint = siteUrl + \"?rest_route=/\";\n const response = await axios.get(endpoint);\n\n if (\n response.data &&\n response.data.authentication &&\n response.data.authentication[\"application-passwords\"] &&\n response.data.authentication[\"application-passwords\"].endpoints &&\n response.data.authentication[\"application-passwords\"].endpoints\n .authorization\n )\n this.authorizationURL =\n response.data.authentication[\n \"application-passwords\"\n ].endpoints.authorization;\n else return false;\n } catch (err) {\n //console.error(\"Error trying to fetch application authorization\");\n return err;\n }\n },\n async checkUserLogin() {\n await store.create();\n this.userIsLoggedIn = await store.get(\"userIsLoggedIn\");\n this.userSiteUrl = await store.get(\"userSiteUrl\");\n this.userLogin = await store.get(\"userLogin\");\n this.userToken = await store.get(\"userToken\");\n },\n createInAppBrowser(url = '',extraParams = 'location=no,fullscreen=no,zoom=no,hardwareback=yes') {\n let tainacanAdminUrl = this.userSiteUrl + \"/wp-admin/admin.php\" + url;\n if (!this.userIsLoggedIn && this.authorizationURL) \n tainacanAdminUrl = this.authorizationURL + \"?app_name=TainacanMobileApp&success_url=\" + tainacanAdminUrl;\n \n const anInAppBrowser = InAppBrowser.create(tainacanAdminUrl, '_blank', extraParams);\n this.inAppBrowser = anInAppBrowser;\n },\n openInAppBrowser(url: string) {\n\n if (!this.inAppBrowser || !this.inAppBrowser.executeScript)\n this.createInAppBrowser(url, 'hidden=yes,location=no,fullscreen=no,zoom=no,hardwareback=yes');\n\n const urlRedirectionScript = `\n try {\n window.history.replaceState(\n null,\n null,\n '${this.userSiteUrl}/wp-admin/admin.php?page=tainacan_mobile_app'\n );\n window.history.pushState(\n null,\n null,\n '${this.userSiteUrl}/wp-admin/admin.php${url}'\n );\n window.history.go(0);\n } catch(err){\n //console.log('catch', err);\n }`;\n this.inAppBrowser.executeScript({ code: urlRedirectionScript });\n \n this.inAppBrowser.show();\n },\n hideInAppBrowser() {\n if (this.inAppBrowser && this.inAppBrowser.hide)\n this.inAppBrowser.hide();\n },\n listenEventInAppBrowser(event: any) {\n this.inAppBrowser.on('message').subscribe(event);\n this.inAppBrowser.on('exit').subscribe(() => {\n delete this.inAppBrowser;\n });\n this.inAppBrowser.on(\"loadstop\").subscribe((event: any) => {\n if (\n event.url &&\n typeof event.url == \"string\" &&\n event.url.split(\"?\") &&\n event.url.split(\"?\").length >= 2\n ) {\n const params = event.url.split(\"?\")[1];\n if ( params.indexOf(\"tainacan_mobile_app\") >= 0)\n this.inAppBrowser.hide(); \n }\n });\n }\n },\n});\nexport { useWpStore };\n","import axios from \"axios\";\nimport { defineStore } from \"pinia\";\nimport { useWpStore } from \"./storeWp\";\n\nconst useTainacanStore = defineStore(\"tainacan\", {\n state() {\n return {\n homeCollections: [],\n totalHomeCollections: 0,\n homeItems: [],\n totalHomeItems: 0,\n collections: [],\n totalCollections: 0,\n collectionItems: [],\n totalCollectionItems: 0,\n nextItemsByCollectionPage: 1,\n items: [],\n nextItemsPage: 1,\n totalItems: 0,\n errorMessage: \"\",\n errorStatus: false\n };\n },\n\n actions: {\n async fetchCollections(params: { perPage: string, orderBy: string }) {\n try {\n const wpStore = useWpStore();\n\n let endpoint = `${wpStore.userSiteUrl}/wp-json/tainacan/v2/collections?`;\n const authorization = (wpStore.userLogin && wpStore.userToken) ? ('Basic ' + btoa(wpStore.userLogin + ':' + wpStore.userToken)) : null;\n\n if (params && params.perPage)\n endpoint += '&perpage=' + params.perPage;\n \n if (params && params.orderBy)\n endpoint += '&orderby=' + params.orderBy;\n\n const response = await axios.get(endpoint, authorization ? {\n headers: {\n authorization: authorization\n }\n } : {});\n\n this.collections = response.data;\n this.totalCollections = response.headers['x-wp-total'];\n\n } catch (err) {\n this.collections = [];\n this.totalCollections = 0;\n this.errorMessage = \"error_label_fetch_collections\";\n this.errorStatus = true;\n // console.error(\"Collections loading error: \", err);\n return err;\n }\n },\n\n async fetchHomeCollections() {\n try {\n const wpStore = useWpStore();\n\n const endpoint = `${wpStore.userSiteUrl}/wp-json/tainacan/v2/collections?perpage=4&orderby=modified`;\n const authorization = (wpStore.userLogin && wpStore.userToken) ? ('Basic ' + btoa(wpStore.userLogin + ':' + wpStore.userToken)) : null;\n\n const response = await axios.get(endpoint, authorization ? {\n headers: {\n authorization: authorization\n }\n } : {});\n\n this.homeCollections = response.data;\n this.totalHomeCollections = response.headers['x-wp-total'];\n\n } catch (err) {\n this.homeCollections = [];\n this.totalHomeCollections = 0;\n this.errorMessage = \"error_label_fetch_collections\";\n this.errorStatus = true;\n //console.error(\"Home collections loading error: \", err);\n return err;\n }\n },\n\n async fetchItemsByCollection(collectionId: string, params: { perPage: string, orderBy: string, reset?: boolean, search?: string }) {\n try {\n const wpStore = useWpStore();\n\n let endpoint = `${wpStore.userSiteUrl}/wp-json/tainacan/v2/collection/${collectionId}/items?context=edit&fetch_only=id,title,thumbnail`;\n const authorization = (wpStore.userLogin && wpStore.userToken) ? ('Basic ' + btoa(wpStore.userLogin + ':' + wpStore.userToken)) : null;\n\n if (params && params.perPage)\n endpoint += '&perpage=' + params.perPage;\n else\n endpoint += '&perpage=12';\n \n if (params && params.orderBy)\n endpoint += '&orderby=' + params.orderBy;\n else\n endpoint += '&orderby=modified';\n\n if (params && params.search && params.search !== '')\n endpoint += '&search=' + params.search\n \n if (params.reset) {\n this.collectionItems = [];\n this.nextItemsByCollectionPage = 1;\n }\n\n endpoint += '&paged=' + this.nextItemsByCollectionPage;\n \n const response = await axios.get(endpoint, authorization ? {\n headers: {\n authorization: authorization\n }\n } : {});\n\n this.collectionItems.push(...response.data.items);\n this.totalCollectionItems = response.headers['x-wp-total'];\n\n if (this.totalCollectionItems && this.totalCollectionItems !== \"0\") {\n this.nextItemsByCollectionPage++;\n } \n\n } catch (err) {\n this.collectionItems = [];\n this.totalCollectionItems = 0;\n this.nextItemsByCollectionPage = 1;\n this.errorMessage = \"error_label_fetch_items_collections\";\n this.errorStatus = true;\n //console.error(\"Items collections loading error: \", err);\n return false;\n }\n },\n\n async fetchHomeItems() {\n try {\n const wpStore = useWpStore();\n const endpoint = `${wpStore.userSiteUrl}/wp-json/tainacan/v2/items?context=edit&fetch_only=id,title,thumbnail&perpage=12&orderby=modified`;\n const authorization = (wpStore.userLogin && wpStore.userToken) ? ('Basic ' + btoa(wpStore.userLogin + ':' + wpStore.userToken)) : null;\n\n const response = await axios.get(endpoint, authorization ? {\n headers: {\n authorization: authorization\n }\n } : {});\n\n this.homeItems = response.data.items;\n this.totalHomeItems = response.headers['x-wp-total'];\n \n } catch (err) {\n this.homeItems = [];\n this.totalHomeItems = 0;\n this.errorMessage = \"error_label_fetch_items_collections\";\n this.errorStatus = true;\n //console.error(\"Items collections loading error: \", err);\n return err;\n }\n },\n\n async fetchItems(params: { perPage: string, orderBy: string, reset?: boolean, search?: string }) {\n try {\n const wpStore = useWpStore();\n \n let endpoint = `${wpStore.userSiteUrl}/wp-json/tainacan/v2/items?context=edit&fetch_only=id,title,thumbnail`;\n const authorization = (wpStore.userLogin && wpStore.userToken) ? ('Basic ' + btoa(wpStore.userLogin + ':' + wpStore.userToken)) : null;\n\n if (params && params.perPage)\n endpoint += '&perpage=' + params.perPage;\n\n if (params && params.orderBy)\n endpoint += '&orderby=' + params.orderBy;\n\n if (params && params.search && params.search !== '')\n endpoint += '&search=' + params.search\n \n if (params.reset) {\n this.items = [];\n this.nextItemsPage = 1;\n }\n\n endpoint += '&paged=' + this.nextItemsPage;\n\n const response = await axios.get(endpoint, authorization ? {\n headers: {\n authorization: authorization\n }\n } : {});\n \n this.items.push(...response.data.items);\n this.totalItems = response.headers['x-wp-total'];\n\n if (this.totalItems && this.totalItems !== \"0\") {\n this.nextItemsPage++;\n } \n\n } catch (err) {\n this.items = [];\n this.totalItems = 0;\n this.nextItemsPage = 1;\n this.errorMessage = \"error_label_fetch_items\";\n this.errorStatus = true;\n //console.error(\"Items loading error: \", err);\n return err;\n }\n },\n\n async deleteItem(itemId: string|number) {\n try {\n const wpStore = useWpStore();\n \n const endpoint = `${wpStore.userSiteUrl}/wp-json/tainacan/v2/items/${itemId}`;\n const authorization = (wpStore.userLogin && wpStore.userToken) ? ('Basic ' + btoa(wpStore.userLogin + ':' + wpStore.userToken)) : null;\n\n const response = await axios.delete(endpoint, authorization ? {\n headers: {\n authorization: authorization\n }\n } : {});\n \n if (response.data && response.data.id) {\n const existingItemIndex = this.items.indexOf((anItem: any) => anItem.id == response.data.id);\n if (existingItemIndex >= 0)\n this.items.splice(existingItemIndex, 1);\n\n const existingHomeItemIndex = this.homeItems.indexOf((anItem: any) => anItem.id == response.data.id);\n if (existingHomeItemIndex >= 0)\n this.items.splice(existingHomeItemIndex, 1);\n\n const existingCollectionItemIndex = this.collectionItems.indexOf((anItem: any) => anItem.id == response.data.id);\n if (existingCollectionItemIndex >= 0)\n this.items.splice(existingCollectionItemIndex, 1);\n }\n\n } catch (err) {\n //console.error(\"Erro ao deletar item:\", err);\n this.errorMessage = \"error_delete_item\";\n this.errorStatus = true;\n\n return err;\n }\n }\n },\n});\nexport { useTainacanStore };","\nimport { logOutOutline } from \"ionicons/icons\";\nimport { \n useWpStore\n} from '../../store/storeWp';\n\nimport {\n IonPage,\n IonHeader,\n IonToolbar,\n IonTitle,\n IonContent,\n IonIcon,\n IonBackButton,\n IonButton,\n IonButtons,\n IonImg,\n IonToast\n} from '@ionic/vue';\nimport { computed } from 'vue';\nimport { useTainacanStore } from '@/store/storeTainacan';\n\nexport default {\n props: ['pageTitle', 'pageDefaultBackLink'],\n components: {\n IonPage,\n IonHeader,\n IonToolbar,\n IonTitle,\n IonContent,\n IonIcon,\n IonButton,\n IonBackButton,\n IonButtons,\n IonImg,\n IonToast\n },\n setup(){\n const tainacanLogo = computed (() => require('../../assets/logo.png'))\n let wpStore = useWpStore();\n let tainacanStore = useTainacanStore();\n\n return {\n tainacanLogo,\n wpStore,\n logOutOutline,\n tainacanStore\n } \n },\n methods: {\n async logOff(){\n await this.wpStore.logoff();\n this.$router.go();\n }\n }\n}\n","import { render } from \"./BaseLayout.vue?vue&type=template&id=ca314930&ts=true\"\nimport script from \"./BaseLayout.vue?vue&type=script&lang=ts\"\nexport * from \"./BaseLayout.vue?vue&type=script&lang=ts\"\n\nimport \"./BaseLayout.vue?vue&type=style&index=0&id=ca314930&lang=css\"\n\nimport exportComponent from \"/home/mateus/tainacan-mobile/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, toDisplayString as _toDisplayString, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, createElementVNode as _createElementVNode, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = { key: 1 }\nconst _hoisted_3 = { key: 2 }\nconst _hoisted_4 = { key: 0 }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ion_img = _resolveComponent(\"ion-img\")!\n const _component_ion_thumbnail = _resolveComponent(\"ion-thumbnail\")!\n const _component_ion_icon = _resolveComponent(\"ion-icon\")!\n const _component_ion_label = _resolveComponent(\"ion-label\")!\n const _component_ion_radio = _resolveComponent(\"ion-radio\")!\n const _component_ion_item = _resolveComponent(\"ion-item\")!\n\n return (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.collections, (collection) => {\n return (_openBlock(), _createBlock(_component_ion_item, {\n class: \"collection-list-item\",\n key: collection.id,\n onClick: ($event: any) => (!_ctx.isInSelectionMode ? _ctx.goToCollectionPage(collection) : '')\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_thumbnail, { slot: \"start\" }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_img, {\n src: (collection.thumbnail && collection.thumbnail.thumbnail && collection.thumbnail.thumbnail[0]) ? collection.thumbnail.thumbnail[0] : _ctx.thumbnailPlaceholder,\n alt: collection.name ? collection.name : _ctx.$('label_collection_without_name')\n }, null, 8, [\"src\", \"alt\"])\n ]),\n _: 2\n }, 1024),\n _createVNode(_component_ion_label, null, {\n default: _withCtx(() => [\n _createElementVNode(\"h2\", null, [\n _createTextVNode(_toDisplayString(collection.name ? collection.name : _ctx.$t('label_collection_without_name')) + \"  \", 1),\n (collection.status === 'private')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_1, [\n _createVNode(_component_ion_icon, { icon: _ctx.lockClosedOutline }, null, 8, [\"icon\"])\n ]))\n : (collection.status === 'draft')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_2, [\n _createVNode(_component_ion_icon, { icon: _ctx.readerOutline }, null, 8, [\"icon\"])\n ]))\n : (collection.status === 'trash')\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_3, [\n _createVNode(_component_ion_icon, { icon: _ctx.trashOutline }, null, 8, [\"icon\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n (collection.total_items)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_4, _toDisplayString(_ctx.$t('total_of_published_items', [collection.total_items.publish])), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1024),\n (_ctx.isInSelectionMode)\n ? (_openBlock(), _createBlock(_component_ion_radio, {\n key: 0,\n slot: \"end\",\n value: collection.id\n }, null, 8, [\"value\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1032, [\"onClick\"]))\n }), 128))\n}","\nimport {\n IonItem,\n IonImg,\n IonThumbnail,\n IonLabel,\n IonIcon,\n IonRadio\n} from '@ionic/vue';\nimport { useRouter } from \"vue-router\";\nimport { lockClosedOutline, readerOutline, trashOutline } from 'ionicons/icons';\nimport { computed, defineComponent } from 'vue';\n\nexport default defineComponent({\n props: [\n \"collections\",\n \"isSelectionMode\"\n ],\n components: {\n IonItem,\n IonImg,\n IonThumbnail,\n IonLabel,\n IonIcon,\n IonRadio\n },\n setup(props) {\n const isInSelectionMode = computed(() => props.isSelectionMode);\n const thumbnailPlaceholder = computed (() => require('../../assets/placeholder_square_small.png'))\n const router = useRouter();\n const goToCollectionPage = (collection: any) => {\n router.push({\n name: 'collection',\n params: {\n id: collection.id\n },\n });\n }\n return {\n thumbnailPlaceholder,\n lockClosedOutline,\n readerOutline,\n trashOutline,\n goToCollectionPage,\n isInSelectionMode\n }\n },\n})\n","import { render } from \"./CollectionsList.vue?vue&type=template&id=cb174d0e&ts=true\"\nimport script from \"./CollectionsList.vue?vue&type=script&lang=ts\"\nexport * from \"./CollectionsList.vue?vue&type=script&lang=ts\"\n\nimport \"./CollectionsList.vue?vue&type=style&index=0&id=cb174d0e&lang=css\"\n\nimport exportComponent from \"/home/mateus/tainacan-mobile/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createBlock as _createBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ion_img = _resolveComponent(\"ion-img\")!\n const _component_ion_card_title = _resolveComponent(\"ion-card-title\")!\n const _component_ion_card_header = _resolveComponent(\"ion-card-header\")!\n const _component_ion_card = _resolveComponent(\"ion-card\")!\n const _component_ion_col = _resolveComponent(\"ion-col\")!\n const _component_ion_row = _resolveComponent(\"ion-row\")!\n\n return (_openBlock(), _createBlock(_component_ion_row, { class: \"items-list-container\" }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.items, (item) => {\n return (_openBlock(), _createBlock(_component_ion_col, {\n size: \"4\",\n key: item.id\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_card, {\n onClick: ($event: any) => (_ctx.openActionSheet(item)),\n button: \"\",\n color: \"light\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_img, {\n src: (item.thumbnail && item.thumbnail['tainacan-medium'] && item.thumbnail['tainacan-medium'][0]) ? item.thumbnail['tainacan-medium'][0] : _ctx.thumbnailPlaceholder,\n alt: (item.thumbnail_alt ? item.thumbnail_alt : (item.title ? item.title : 'Imagem de item sem título'))\n }, null, 8, [\"src\", \"alt\"]),\n _createVNode(_component_ion_card_header, null, {\n default: _withCtx(() => [\n _createVNode(_component_ion_card_title, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(item.title ? item.title : _ctx.$t('label_item_without_title')), 1)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1024)\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ]),\n _: 2\n }, 1024))\n }), 128))\n ]),\n _: 1\n }))\n}","\nimport {\n IonCardHeader,\n IonRow,\n IonCol,\n IonCard,\n IonImg,\n IonCardTitle,\n actionSheetController,\n ActionSheetButton\n} from '@ionic/vue';\nimport { pencil, trashBin } from \"ionicons/icons\";\nimport { computed, ref, defineComponent } from 'vue';\nimport { useWpStore } from '@/store/storeWp';\nimport { useTainacanStore } from '@/store/storeTainacan';\nimport { InAppBrowserEvent } from '@awesome-cordova-plugins/in-app-browser';\n\nexport default defineComponent({\n props: [\n \"items\"\n ],\n components: {\n IonCardHeader,\n IonRow,\n IonCol,\n IonCard,\n IonImg,\n IonCardTitle\n },\n setup() {\n const wpStore = useWpStore();\n const tainacanStore = useTainacanStore();\n const thumbnailPlaceholder = computed (() => require('../../assets/placeholder_square_small.png'));\n \n const actionSheetLabels = ref({\n header: '',\n button1: '',\n button2: '',\n cancel: ''\n });\n const setActionSheetLabels = (newLabels: any) => actionSheetLabels.value = newLabels;\n const openActionSheet = async (event: any) => {\n const item = event;\n \n if (item.current_user_can_edit || item.current_user_can_delete) {\n\n let actionSheetButtons: ActionSheetButton[] = [];\n\n if (item.current_user_can_edit)\n actionSheetButtons.push({\n text: actionSheetLabels.value.button1,\n icon: pencil,\n data: 'edit-item', \n handler: () => {\n openItemEdition(item);\n },\n });\n\n if (item.current_user_can_delete)\n actionSheetButtons.push({\n text: actionSheetLabels.value.button2,\n icon: trashBin,\n data: 'delete-item', \n handler: () => {\n deleteItem(item);\n }\n });\n\n actionSheetButtons.push({\n text: actionSheetLabels.value.cancel,\n role: 'cancel'\n });\n\n let actionSheetOptions = {\n header: actionSheetLabels.value.header,\n cssClass: 'item-creation-action-sheet',\n buttons: actionSheetButtons\n };\n\n const actionSheet = await actionSheetController.create(actionSheetOptions);\n await actionSheet.present();\n }\n }\n const deleteItem = function(item: any) {\n tainacanStore.deleteItem(item.id);\n }\n const openItemEdition = function(item: any) {\n wpStore.openInAppBrowser('?page=tainacan_admin&mobileAppMode=true#/collections/' + item.collection_id + '/items/' + item.id + '/edit');\n wpStore.listenEventInAppBrowser((event: InAppBrowserEvent) => {\n if (event &&\n event.data &&\n event.data.type === 'item_updated' &&\n event.data.item &&\n event.data.item.status !== 'auto-draft'\n ) {\n wpStore.hideInAppBrowser();\n }\n });\n }\n \n return { thumbnailPlaceholder, wpStore, openItemEdition, setActionSheetLabels, openActionSheet }\n },\n async created() {\n this.setActionSheetLabels({\n header: this.$t('label_item_actions'),\n button1: this.$t('label_option_edit_item'),\n button2: this.$t('label_option_delete_item'),\n cancel: this.$t('label_cancel')\n });\n }\n});\n","import { render } from \"./ItemsList.vue?vue&type=template&id=9ba821d8&ts=true\"\nimport script from \"./ItemsList.vue?vue&type=script&lang=ts\"\nexport * from \"./ItemsList.vue?vue&type=script&lang=ts\"\n\nimport \"./ItemsList.vue?vue&type=style&index=0&id=9ba821d8&lang=css\"\n\nimport exportComponent from \"/home/mateus/tainacan-mobile/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ion_refresher_content = _resolveComponent(\"ion-refresher-content\")!\n const _component_ion_refresher = _resolveComponent(\"ion-refresher\")!\n const _component_ion_loading = _resolveComponent(\"ion-loading\")!\n const _component_ion_list_header = _resolveComponent(\"ion-list-header\")!\n const _component_collections_list = _resolveComponent(\"collections-list\")!\n const _component_ion_list = _resolveComponent(\"ion-list\")!\n const _component_ion_icon = _resolveComponent(\"ion-icon\")!\n const _component_ion_button = _resolveComponent(\"ion-button\")!\n const _component_items_list = _resolveComponent(\"items-list\")!\n const _component_base_layout = _resolveComponent(\"base-layout\")!\n\n return (_openBlock(), _createBlock(_component_base_layout, null, {\n default: _withCtx(() => [\n _createVNode(_component_ion_refresher, {\n slot: \"fixed\",\n onIonRefresh: _cache[0] || (_cache[0] = ($event: any) => ($setup.doRefresh($event)))\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_refresher_content)\n ]),\n _: 1\n }),\n _createVNode(_component_ion_loading, {\n \"is-open\": $setup.isLoading,\n message: _ctx.$t('label_loading')\n }, null, 8, [\"is-open\", \"message\"]),\n _createVNode(_component_ion_list, null, {\n default: _withCtx(() => [\n _createVNode(_component_ion_list_header, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t('label_last_modified_collections')), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_collections_list, {\n collections: $setup.tainacanStore.homeCollections\n }, null, 8, [\"collections\"])\n ]),\n _: 1\n }),\n ($setup.tainacanStore.homeCollections.length < $setup.tainacanStore.totalHomeCollections)\n ? (_openBlock(), _createBlock(_component_ion_button, {\n key: 0,\n fill: \"clear\",\n size: \"small\",\n routerLink: \"/collections\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t('label_view_all_collections', [$setup.tainacanStore.totalHomeCollections])) + \" \", 1),\n _createVNode(_component_ion_icon, {\n slot: \"end\",\n icon: $setup.arrowForwardOutline\n }, null, 8, [\"icon\"])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_ion_list, null, {\n default: _withCtx(() => [\n _createVNode(_component_ion_list_header, null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t('label_last_modified_items')), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_items_list, {\n items: $setup.tainacanStore.homeItems\n }, null, 8, [\"items\"]),\n ($setup.tainacanStore.homeItems.length < $setup.tainacanStore.totalHomeItems)\n ? (_openBlock(), _createBlock(_component_ion_button, {\n key: 0,\n fill: \"clear\",\n size: \"small\",\n routerLink: \"/items\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t('label_view_all_items', [$setup.tainacanStore.totalHomeItems])) + \" \", 1),\n _createVNode(_component_ion_icon, {\n slot: \"end\",\n icon: $setup.arrowForwardOutline\n }, null, 8, [\"icon\"])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n}","\nimport {\n useTainacanStore\n} from '../store/storeTainacan';\nimport { ref } from 'vue';\n\nimport CollectionsList from '@/components/lists/CollectionsList.vue';\nimport ItemsList from '@/components/lists/ItemsList.vue';\nimport BaseLayout from '@/components/base/BaseLayout.vue';\nimport { arrowForwardOutline } from \"ionicons/icons\";\nimport {\n IonIcon,\n IonButton,\n IonLoading,\n IonList,\n IonListHeader,\n IonRefresher,\n IonRefresherContent\n} from '@ionic/vue';\n\nexport default {\n components: {\n IonIcon,\n CollectionsList,\n ItemsList,\n BaseLayout,\n IonList,\n IonListHeader,\n IonButton,\n IonLoading,\n IonRefresher,\n IonRefresherContent\n },\n setup() {\n const isLoading = ref(false);\n const setIsLoading = (state: boolean) => isLoading.value = state;\n const loadCollectionsAndItems = async () => {\n await tainacanStore.fetchHomeCollections();\n await tainacanStore.fetchHomeItems();\n }\n const doRefresh = async (event: any) => {\n await loadCollectionsAndItems();\n if (event && event.target)\n event.target.complete();\n }\n\n let tainacanStore = useTainacanStore();\n\n return {\n arrowForwardOutline,\n tainacanStore,\n isLoading,\n setIsLoading,\n loadCollectionsAndItems,\n doRefresh\n }\n },\n async created() {\n this.setIsLoading(true);\n await this.loadCollectionsAndItems();\n this.setIsLoading(false);\n }\n}\n\n","import { render } from \"./HomePage.vue?vue&type=template&id=34221c58&ts=true\"\nimport script from \"./HomePage.vue?vue&type=script&lang=ts\"\nexport * from \"./HomePage.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/home/mateus/tainacan-mobile/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createElementVNode as _createElementVNode, withModifiers as _withModifiers, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"br\", null, null, -1)\nconst _hoisted_2 = /*#__PURE__*/_createTextVNode(\" Testes sem login \")\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ion_img = _resolveComponent(\"ion-img\")!\n const _component_ion_label = _resolveComponent(\"ion-label\")!\n const _component_ion_input = _resolveComponent(\"ion-input\")!\n const _component_ion_item = _resolveComponent(\"ion-item\")!\n const _component_ion_list = _resolveComponent(\"ion-list\")!\n const _component_ion_icon = _resolveComponent(\"ion-icon\")!\n const _component_ion_button = _resolveComponent(\"ion-button\")!\n const _component_ion_col = _resolveComponent(\"ion-col\")!\n const _component_ion_row = _resolveComponent(\"ion-row\")!\n const _component_app_password_modal = _resolveComponent(\"app-password-modal\")!\n const _component_ion_content = _resolveComponent(\"ion-content\")!\n const _component_ion_page = _resolveComponent(\"ion-page\")!\n\n return (_openBlock(), _createBlock(_component_ion_page, null, {\n default: _withCtx(() => [\n _createVNode(_component_ion_content, {\n class: \"login-form-content\",\n fullscreen: \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_row, { class: \"ion-align-items-center ion-justify-content-center\" }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_col, null, {\n default: _withCtx(() => [\n _createVNode(_component_ion_img, {\n class: \"login-form-content__tainacan-logo\",\n alt: \"Logo Tainacan\",\n src: $setup.image\n }, null, 8, [\"src\"]),\n _createElementVNode(\"form\", {\n onSubmit: _cache[1] || (_cache[1] = _withModifiers(\n//@ts-ignore\n(...args) => ($options.openLoginForm && $options.openLoginForm(...args)), [\"prevent\"]))\n }, [\n _createVNode(_component_ion_list, {\n class: \"ion-no-margin\",\n inset: \"\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_item, null, {\n default: _withCtx(() => [\n _createVNode(_component_ion_label, { position: \"floating\" }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"label_site_url\")), 1)\n ]),\n _: 1\n }),\n _createVNode(_component_ion_input, {\n placeholder: _ctx.$t('placeholder_site_url'),\n autofocus: \"true\",\n id: \"siteUrl\",\n type: \"url\",\n name: \"siteUrl\",\n modelValue: $data.siteUrl,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => (($data.siteUrl) = $event)),\n modelModifiers: { trim: true },\n required: \"true\",\n autocomplete: \"url\",\n enterkeyhint: \"next\"\n }, null, 8, [\"placeholder\", \"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _hoisted_1,\n _createVNode(_component_ion_button, {\n type: \"submit\",\n fill: \"clear\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"label_access_archive\")) + \" \", 1),\n _createVNode(_component_ion_icon, {\n slot: \"end\",\n icon: $setup.arrowForwardOutline\n }, null, 8, [\"icon\"])\n ]),\n _: 1\n }),\n _createVNode(_component_ion_button, {\n onClick: $options.fakeLogin,\n color: \"danger\",\n fill: \"clear\"\n }, {\n default: _withCtx(() => [\n _hoisted_2,\n _createVNode(_component_ion_icon, {\n slot: \"end\",\n icon: $setup.arrowForwardOutline\n }, null, 8, [\"icon\"])\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ], 32)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_app_password_modal)\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n}","import { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"h1\", null, \"Application Passwords\", -1)\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"p\", null, [\n /*#__PURE__*/_createElementVNode(\"em\", null, \"Application passwords\"),\n /*#__PURE__*/_createTextVNode(\" are a safe way to peform operations without using your actual website password. To generate one, you must: \"),\n /*#__PURE__*/_createElementVNode(\"ol\", null, [\n /*#__PURE__*/_createElementVNode(\"li\", null, [\n /*#__PURE__*/_createTextVNode(\"Open a web browser and login do your website traditional login page (usually \"),\n /*#__PURE__*/_createElementVNode(\"em\", null, \"\\\"https://your-website.com.br/wp-admin\\\"\"),\n /*#__PURE__*/_createTextVNode(\").\")\n ]),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Go to your profile page by clicking on your picture in the upper right corner.\"),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Scroll down to the \\\"Application passwords\\\" section. There should be a text input labelled \\\"New name to the application password\\\".\"),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Fill in the text input with any value to identify this password (you can have multiple), for example: \\\"Tainacan Mobile\\\".\"),\n /*#__PURE__*/_createElementVNode(\"li\", null, \"Click on the \\\"Add new application password\\\" button.\")\n ])\n], -1)\nconst _hoisted_3 = /*#__PURE__*/_createElementVNode(\"p\", null, \"With this steps completed, you will receive a code, that may look like this:\", -1)\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"pre\", null, [\n /*#__PURE__*/_createElementVNode(\"code\", null, \"vlOh CdaH UqWw YV7X beou 6MFY\")\n], -1)\nconst _hoisted_5 = /*#__PURE__*/_createElementVNode(\"p\", null, [\n /*#__PURE__*/_createTextVNode(\"Copy this code and \"),\n /*#__PURE__*/_createElementVNode(\"strong\", null, \"keep it safe somewhere\"),\n /*#__PURE__*/_createTextVNode(\". You won't be able to access it later. Finally, paste it on this app login screen.\")\n], -1)\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"p\", null, \"While it should be kept logged in, if you ever loose your access to the app, you can revogate the previous passwords and generate new ones in the same screen.\", -1)\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ion_content = _resolveComponent(\"ion-content\")!\n const _component_ion_modal = _resolveComponent(\"ion-modal\")!\n\n return (_openBlock(), _createBlock(_component_ion_modal, {\n ref: \"modal\",\n trigger: \"open-explanation-modal\",\n \"initial-breakpoint\": 0.9,\n breakpoints: [0, 0.5, 0.75, 1.0]\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_content, {\n style: {\"font-size\":\"0.9375rem\",\"opacity\":\"0.85\"},\n class: \"ion-padding\"\n }, {\n default: _withCtx(() => [\n _hoisted_1,\n _hoisted_2,\n _hoisted_3,\n _hoisted_4,\n _hoisted_5,\n _hoisted_6\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"initial-breakpoint\", \"breakpoints\"]))\n}","\n\nimport {\n IonModal,\n IonContent\n} from '@ionic/vue';\nexport default {\n components: {\n IonModal,\n IonContent\n },\n setup() {\n return {}\n }\n}\n","import { render } from \"./AppPasswordModal.vue?vue&type=template&id=381ef17c&ts=true\"\nimport script from \"./AppPasswordModal.vue?vue&type=script&lang=ts\"\nexport * from \"./AppPasswordModal.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/home/mateus/tainacan-mobile/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\nimport { useTainacanStore } from \"../store/storeTainacan\";\nimport { useWpStore } from \"../store/storeWp\";\nimport { arrowForwardOutline } from \"ionicons/icons\";\nimport AppPasswordModal from \"../components/modals/AppPasswordModal.vue\";\n\nimport {\n IonIcon,\n IonImg,\n IonPage,\n IonList,\n IonItem,\n IonButton,\n IonInput,\n IonLabel,\n IonRow,\n IonCol,\n IonContent,\n} from \"@ionic/vue\";\nimport { computed } from \"vue\";\nimport { InAppBrowserEvent } from \"@awesome-cordova-plugins/in-app-browser/index\";\n\nexport default {\n props: [\"pageTitle\", \"pageDefaultBackLink\"],\n components: {\n IonIcon,\n IonImg,\n IonPage,\n IonList,\n IonItem,\n IonButton,\n IonInput,\n IonLabel,\n IonRow,\n IonCol,\n IonContent,\n AppPasswordModal,\n },\n data() {\n return {\n siteUrl: \"\",\n };\n },\n setup() {\n const image = computed(() => require(\"../assets/logo_square.png\"));\n let tainacanStore = useTainacanStore();\n let wpStore = useWpStore();\n return { image, tainacanStore, wpStore, arrowForwardOutline };\n },\n methods: {\n async openLoginForm() {\n this.wpStore.userSiteUrl = this.siteUrl;\n await this.wpStore.fetchApplicationAuthorization(this.siteUrl);\n if (this.wpStore.authorizationURL) {\n this.wpStore.createInAppBrowser('?page=tainacan_mobile_app');\n this.wpStore.inAppBrowser\n .on(\"loadstop\")\n .subscribe(this.handleBrowserLoadStop);\n }\n },\n async handleBrowserLoadStop(event: InAppBrowserEvent) {\n // console.log(event)\n if (\n event.url &&\n typeof event.url == \"string\" &&\n event.url.split(\"?\") &&\n event.url.split(\"?\").length >= 2\n ) {\n const params = new URLSearchParams(event.url.split(\"?\")[1]);\n \n if ( params.get(\"page\") === \"tainacan_mobile_app\" ) {\n const userLogin = params.get(\"user_login\");\n let userToken = params.get(\"password\");\n\n if (\n typeof userToken == \"string\" &&\n userToken.indexOf(\"#\") >= 0\n )\n userToken = userToken.split(\"#\")[0];\n\n if (!!userLogin && !!userToken) {\n await this.wpStore.login(\n this.siteUrl,\n userLogin,\n userToken\n );\n this.$router.push(\"/home\");\n }\n this.wpStore.inAppBrowser.hide();\n }\n }\n },\n fakeLogin() {\n this.wpStore.login(\n 'https://rcteste.tainacan.org',\n '',\n ''\n );\n this.$router.push(\"/home\");\n }\n },\n};\n","import { render } from \"./LoginPage.vue?vue&type=template&id=cdfc6388&ts=true\"\nimport script from \"./LoginPage.vue?vue&type=script&lang=ts\"\nexport * from \"./LoginPage.vue?vue&type=script&lang=ts\"\n\nimport \"./LoginPage.vue?vue&type=style&index=0&id=cdfc6388&lang=css\"\n\nimport exportComponent from \"/home/mateus/tainacan-mobile/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createElementBlock as _createElementBlock, createTextVNode as _createTextVNode } from \"vue\"\n\nconst _hoisted_1 = {\n key: 1,\n class: \"results-not-found\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ion_refresher_content = _resolveComponent(\"ion-refresher-content\")!\n const _component_ion_refresher = _resolveComponent(\"ion-refresher\")!\n const _component_ion_searchbar = _resolveComponent(\"ion-searchbar\")!\n const _component_ion_toolbar = _resolveComponent(\"ion-toolbar\")!\n const _component_ion_loading = _resolveComponent(\"ion-loading\")!\n const _component_ion_spinner = _resolveComponent(\"ion-spinner\")!\n const _component_items_list = _resolveComponent(\"items-list\")!\n const _component_ion_infinite_scroll_content = _resolveComponent(\"ion-infinite-scroll-content\")!\n const _component_ion_infinite_scroll = _resolveComponent(\"ion-infinite-scroll\")!\n const _component_ion_icon = _resolveComponent(\"ion-icon\")!\n const _component_ion_button = _resolveComponent(\"ion-button\")!\n const _component_base_layout = _resolveComponent(\"base-layout\")!\n\n return (_openBlock(), _createBlock(_component_base_layout, {\n \"page-title\": _ctx.$t('label_collection_items_list'),\n \"page-default-back-link\": \"/collections\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_refresher, {\n slot: \"fixed\",\n onIonRefresh: _cache[0] || (_cache[0] = ($event: any) => (_ctx.doRefresh($event)))\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_refresher_content)\n ]),\n _: 1\n }),\n _createVNode(_component_ion_toolbar, null, {\n default: _withCtx(() => [\n _createVNode(_component_ion_searchbar, {\n debounce: \"500\",\n placeholder: _ctx.$t('label_search'),\n onIonChange: _cache[1] || (_cache[1] = ($event: any) => (_ctx.handleSearch($event)))\n }, null, 8, [\"placeholder\"])\n ]),\n _: 1\n }),\n _createVNode(_component_ion_loading, {\n \"is-open\": _ctx.isLoading,\n message: _ctx.$t('label_loading')\n }, null, 8, [\"is-open\", \"message\"]),\n (_ctx.isSearching)\n ? (_openBlock(), _createBlock(_component_ion_spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n (!_ctx.isLoading && !_ctx.isSearching && (!_ctx.tainacanStore.totalCollectionItems || _ctx.tainacanStore.totalCollectionItems == '0'))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t('label_no_results_found')), 1)\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_items_list, {\n items: _ctx.tainacanStore.collectionItems\n }, null, 8, [\"items\"]),\n _createVNode(_component_ion_infinite_scroll, {\n ref: \"infiniteScroll\",\n threshold: \"5%\",\n onIonInfinite: _ctx.loadItemsByCollection\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_infinite_scroll_content)\n ]),\n _: 1\n }, 8, [\"onIonInfinite\"]),\n _createVNode(_component_ion_button, {\n class: \"add-items-button\",\n color: \"primary\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.openActionSheet()))\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_icon, { icon: _ctx.add }, null, 8, [\"icon\"]),\n _createTextVNode(\"  \" + _toDisplayString(_ctx.$t('label_add_items')), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"page-title\"]))\n}","\nimport {\n useTainacanStore\n} from '../store/storeTainacan';\nimport { useWpStore } from '../store/storeWp';\nimport { ref, defineComponent } from 'vue';\nimport { add, documentOutline } from \"ionicons/icons\";\nimport {\n IonLoading,\n IonRefresher,\n IonRefresherContent,\n IonIcon,\n IonButton,\n actionSheetController,\n IonInfiniteScroll,\n IonToolbar,\n IonSearchbar,\n IonSpinner,\n IonInfiniteScrollContent\n} from '@ionic/vue';\nimport BaseLayout from '@/components/base/BaseLayout.vue';\nimport ItemsList from '@/components/lists/ItemsList.vue';\nimport { InAppBrowserEvent } from '@awesome-cordova-plugins/in-app-browser';\n\nexport default defineComponent({\n components: {\n BaseLayout,\n ItemsList,\n IonLoading,\n IonRefresher,\n IonRefresherContent,\n IonIcon,\n IonButton,\n IonInfiniteScroll,\n IonToolbar,\n IonSearchbar,\n IonSpinner,\n IonInfiniteScrollContent\n },\n props: {\n id: String\n },\n setup(props) {\n const isLoading = ref(false);\n const isSearching = ref(false)\n const search = ref();\n const infiniteScroll = ref();\n const setIsLoading = (state: boolean) => isLoading.value = state;\n const setIsSearching = (state: boolean) => isSearching.value = state;\n const setSearch = (value: string) => search.value = value;\n const loadItemsByCollection = async (event: any, reset: boolean) => {\n await tainacanStore.fetchItemsByCollection(props.id + '', { perPage: '12', orderBy: 'modified', reset: reset, search: search.value});\n let hasMoreCollectionsItems = tainacanStore.totalCollectionItems && tainacanStore.totalCollectionItems !== 0;\n if (event && event.target)\n event.target.complete();\n if (!hasMoreCollectionsItems){\n infiniteScroll.value.$el.disabled = true;\n }\n } \n const cancelSearch = async () => {\n await loadItemsByCollection(null, true);\n }\n const handleSearch = async (event: any) => {\n let search = event && event.detail && event.detail.value;\n\n setSearch(search);\n setIsSearching(true);\n\n if(search !== '') { \n await loadItemsByCollection(null, true);\n } else {\n await cancelSearch();\n }\n setIsSearching(false);\n }\n const doRefresh = async (event: any) => {\n await loadItemsByCollection({}, true);\n if (event && event.target){\n event.target.complete();\n infiniteScroll.value.$el.disabled = false;\n }\n }\n\n const wpStore = useWpStore();\n const actionSheetLabels = ref({\n header: '',\n button1: '',\n button2: '',\n button3: '',\n cancel: ''\n });\n const setActionSheetLabels = (newLabels: any) => actionSheetLabels.value = newLabels;\n const openActionSheet = async () => {\n const actionSheet = await actionSheetController.create({\n header: actionSheetLabels.value.header,\n cssClass: 'item-creation-action-sheet',\n buttons: [\n // {\n // text: actionSheetLabels.value.button1,\n // icon: documentsOutline,\n // data: 'multiple-items', \n // handler: () => {\n // wpStore.openInAppBrowser('?page=tainacan_admin&mobileAppMode=true#/collections/' + props.id + '/bulk-add');\n // wpStore.listenEventInAppBrowser((event: InAppBrowserEvent) => {\n // if (event &&\n // event.data &&\n // (\n // (\n // event.data.type === 'item_updated' &&\n // event.data.item &&\n // event.data.item.status !== 'auto-draft'\n // )\n // || event.data.type === 'exited_from_navigation'\n // )\n // ) {\n // wpStore.hideInAppBrowser();\n // loadItemsByCollection({}, true);\n // }\n // });\n // },\n // },\n {\n text: actionSheetLabels.value.button3,\n icon: documentOutline,\n data: 'single item',\n handler: () => {\n wpStore.openInAppBrowser('?page=tainacan_admin&mobileAppMode=true#/collections/' + props.id + '/items/new');\n wpStore.listenEventInAppBrowser((event: InAppBrowserEvent) => {\n if (event &&\n event.data &&\n event.data.type === 'item_updated' &&\n event.data.item &&\n event.data.item.status !== 'auto-draft'\n ) {\n wpStore.hideInAppBrowser();\n loadItemsByCollection({}, true);\n }\n });\n },\n },\n {\n text: actionSheetLabels.value.cancel,\n role: 'cancel'\n },\n ],\n });\n await actionSheet.present();\n //const { role, data } = await actionSheet.onDidDismiss();\n // console.log('onDidDismiss resolved with role and data', role, data);\n }\n\n let tainacanStore = useTainacanStore();\n return {\n isLoading,\n isSearching,\n tainacanStore,\n wpStore,\n setIsLoading,\n loadItemsByCollection,\n doRefresh,\n openActionSheet,\n add,\n actionSheetLabels,\n setActionSheetLabels,\n infiniteScroll,\n handleSearch,\n }\n },\n async created() {\n \n this.setActionSheetLabels({\n header: this.$t('info_create_items'),\n button1: this.$t('label_option_multiple_items'),\n button2: this.$t('label_option_multiple_attachments'),\n button3: this.$t('label_option_single_item'),\n cancel: this.$t('label_cancel')\n });\n this.setIsLoading(true);\n await this.loadItemsByCollection({}, true);\n this.setIsLoading(false);\n },\n});\n","import { render } from \"./CollectionPage.vue?vue&type=template&id=48252aad&ts=true\"\nimport script from \"./CollectionPage.vue?vue&type=script&lang=ts\"\nexport * from \"./CollectionPage.vue?vue&type=script&lang=ts\"\n\nimport \"./CollectionPage.vue?vue&type=style&index=0&id=48252aad&lang=css\"\n\nimport exportComponent from \"/home/mateus/tainacan-mobile/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ion_loading = _resolveComponent(\"ion-loading\")!\n const _component_ion_refresher_content = _resolveComponent(\"ion-refresher-content\")!\n const _component_ion_refresher = _resolveComponent(\"ion-refresher\")!\n const _component_collections_list = _resolveComponent(\"collections-list\")!\n const _component_ion_list = _resolveComponent(\"ion-list\")!\n const _component_base_layout = _resolveComponent(\"base-layout\")!\n\n return (_openBlock(), _createBlock(_component_base_layout, {\n \"page-title\": _ctx.$t('label_collections_list'),\n \"page-default-back-link\": \"/\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_loading, {\n \"is-open\": $setup.isLoading,\n message: _ctx.$t('label_loading')\n }, null, 8, [\"is-open\", \"message\"]),\n _createVNode(_component_ion_refresher, {\n slot: \"fixed\",\n onIonRefresh: _cache[0] || (_cache[0] = ($event: any) => ($setup.doRefresh($event)))\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_refresher_content)\n ]),\n _: 1\n }),\n _createVNode(_component_ion_list, null, {\n default: _withCtx(() => [\n _createVNode(_component_collections_list, {\n collections: $setup.tainacanStore.collections,\n \"is-selection-mode\": false\n }, null, 8, [\"collections\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"page-title\"]))\n}","\nimport CollectionsList from '@/components/lists/CollectionsList.vue';\nimport BaseLayout from '@/components/base/BaseLayout.vue';\nimport {\n IonLoading,\n IonList,\n IonRefresher,\n IonRefresherContent\n} from '@ionic/vue';\n\nimport {\n useTainacanStore\n} from '../store/storeTainacan';\n\nimport { ref } from 'vue';\n\nexport default {\n components: {\n CollectionsList,\n BaseLayout,\n IonLoading,\n IonList,\n IonRefresher,\n IonRefresherContent\n },\n setup() {\n const isLoading = ref(false);\n const setIsLoading = (state: boolean) => isLoading.value = state;\n \n const loadCollections = async () => {\n await tainacanStore.fetchCollections({ perPage: '24', orderBy: 'modified'});\n }\n const doRefresh = async (event: any) => {\n await loadCollections();\n if (event && event.target)\n event.target.complete();\n }\n\n let tainacanStore = useTainacanStore();\n \n return {\n tainacanStore,\n isLoading,\n setIsLoading,\n doRefresh,\n loadCollections\n }\n },\n async created(){\n this.setIsLoading(true);\n await this.loadCollections();\n this.setIsLoading(false);\n },\n}\n\n","import { render } from \"./CollectionsPage.vue?vue&type=template&id=86b52ab4&ts=true\"\nimport script from \"./CollectionsPage.vue?vue&type=script&lang=ts\"\nexport * from \"./CollectionsPage.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/home/mateus/tainacan-mobile/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5ba64bfe\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 1,\n class: \"results-not-found\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ion_loading = _resolveComponent(\"ion-loading\")!\n const _component_ion_searchbar = _resolveComponent(\"ion-searchbar\")!\n const _component_ion_toolbar = _resolveComponent(\"ion-toolbar\")!\n const _component_ion_refresher_content = _resolveComponent(\"ion-refresher-content\")!\n const _component_ion_refresher = _resolveComponent(\"ion-refresher\")!\n const _component_ion_spinner = _resolveComponent(\"ion-spinner\")!\n const _component_items_list = _resolveComponent(\"items-list\")!\n const _component_ion_infinite_scroll_content = _resolveComponent(\"ion-infinite-scroll-content\")!\n const _component_ion_infinite_scroll = _resolveComponent(\"ion-infinite-scroll\")!\n const _component_base_layout = _resolveComponent(\"base-layout\")!\n\n return (_openBlock(), _createBlock(_component_base_layout, {\n \"page-title\": _ctx.$t('label_items_list'),\n \"page-default-back-link\": \"/collections\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_loading, {\n \"is-open\": $setup.isLoading,\n message: _ctx.$t('label_loading')\n }, null, 8, [\"is-open\", \"message\"]),\n _createVNode(_component_ion_toolbar, null, {\n default: _withCtx(() => [\n _createVNode(_component_ion_searchbar, {\n debounce: \"500\",\n placeholder: _ctx.$t('label_search'),\n onIonChange: _cache[0] || (_cache[0] = ($event: any) => ($setup.handleSearch($event)))\n }, null, 8, [\"placeholder\"])\n ]),\n _: 1\n }),\n _createVNode(_component_ion_refresher, {\n slot: \"fixed\",\n onIonRefresh: _cache[1] || (_cache[1] = ($event: any) => ($setup.doRefresh($event)))\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_refresher_content)\n ]),\n _: 1\n }),\n ($setup.isSearching)\n ? (_openBlock(), _createBlock(_component_ion_spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n (!$setup.isLoading && !$setup.isSearching && (!$setup.tainacanStore.totalItems || $setup.tainacanStore.totalItems == '0'))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t('label_no_results_found')), 1)\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_items_list, {\n items: $setup.tainacanStore.items\n }, null, 8, [\"items\"]),\n _createVNode(_component_ion_infinite_scroll, {\n ref: \"infiniteScroll\",\n threshold: \"5%\",\n onIonInfinite: $setup.loadItems\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_infinite_scroll_content)\n ]),\n _: 1\n }, 8, [\"onIonInfinite\"])\n ]),\n _: 1\n }, 8, [\"page-title\"]))\n}","\nimport {\n useTainacanStore\n} from '../store/storeTainacan';\nimport {\n IonLoading,\n IonRefresher,\n IonRefresherContent,\n IonInfiniteScroll,\n IonToolbar,\n IonSearchbar,\n IonSpinner,\n IonInfiniteScrollContent\n} from '@ionic/vue';\nimport BaseLayout from '@/components/base/BaseLayout.vue';\nimport { ref } from 'vue';\nimport ItemsList from '../components/lists/ItemsList.vue';\nexport default {\n components: {\n IonLoading,\n ItemsList,\n BaseLayout,\n IonRefresher,\n IonRefresherContent,\n IonInfiniteScroll,\n IonToolbar,\n IonSearchbar,\n IonSpinner, \n IonInfiniteScrollContent\n },\n setup() {\n const isLoading = ref(false);\n const isSearching = ref(false)\n const search = ref();\n const setIsLoading = (state: boolean) => isLoading.value = state;\n const setIsSearching = (state: boolean) => isSearching.value = state;\n const setSearch = (value: string) => search.value = value; \n const infiniteScroll = ref();\n const loadItems = async (event: any, reset: boolean) => {\n await tainacanStore.fetchItems({ perPage: '12', orderBy: 'modified', reset: reset, search: search.value});\n let hasMoreItems = tainacanStore.totalItems && tainacanStore.totalItems !== 0;\n if (event && event.target)\n event.target.complete();\n if (!hasMoreItems){\n infiniteScroll.value.$el.disabled = true;\n }\n } \n const cancelSearch = async () => {\n await loadItems(null, true);\n }\n const handleSearch = async (event: any) => {\n let search = event && event.detail && event.detail.value;\n \n setSearch(search);\n setIsSearching(true);\n\n if(search !== '') {\n await loadItems(null, true);\n setIsSearching(false);\n } else {\n await cancelSearch();\n }\n setIsSearching(false);\n }\n const doRefresh = async (event: any) => {\n await loadItems({}, true);\n if (event && event.target){\n event.target.complete();\n infiniteScroll.value.$el.disabled = false;\n }\n }\n let tainacanStore = useTainacanStore();\n return {\n isLoading,\n isSearching,\n setIsLoading,\n tainacanStore,\n doRefresh,\n loadItems,\n infiniteScroll,\n handleSearch\n }\n },\n async created(){\n this.setIsLoading(true)\n await this.loadItems();\n this.setIsLoading(false)\n },\n}\n","import { render } from \"./ItemsPage.vue?vue&type=template&id=5ba64bfe&scoped=true&ts=true\"\nimport script from \"./ItemsPage.vue?vue&type=script&lang=ts\"\nexport * from \"./ItemsPage.vue?vue&type=script&lang=ts\"\n\nimport \"./ItemsPage.vue?vue&type=style&index=0&id=5ba64bfe&scoped=true&lang=css\"\n\nimport exportComponent from \"/home/mateus/tainacan-mobile/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5ba64bfe\"]])\n\nexport default __exports__","import { createRouter, createWebHistory } from '@ionic/vue-router';\nimport { RouteRecordRaw } from 'vue-router';\nimport { useWpStore } from '../store/storeWp'\n\nimport HomePage from '../pages/HomePage.vue';\nimport LoginPage from '../pages/LoginPage.vue';\nimport CollectionPage from '../pages/CollectionPage.vue';\nimport CollectionsPage from '../pages/CollectionsPage.vue';\nimport ItemsPage from '../pages/ItemsPage.vue';\n\nconst routes: Array = [\n {\n path: '/',\n redirect: '/home'\n },\n {\n path: '/home',\n component: HomePage,\n name: 'home'\n },\n {\n path: '/login',\n component: LoginPage,\n name: 'login'\n },\n {\n path: '/collections/:id',\n component: CollectionPage,\n name: 'collection',\n props: true\n },\n {\n path: '/collections',\n component: CollectionsPage,\n name: 'collections'\n },\n {\n path: '/items',\n component: ItemsPage,\n name: 'items'\n }\n]\n\nconst router = createRouter({\n history: createWebHistory(process.env.BASE_URL),\n routes\n})\n\nrouter.beforeEach(async(to, from, next) => {\n const wpStore = useWpStore();\n await wpStore.checkUserLogin();\n if (to.name !== 'login' && !wpStore.userIsLoggedIn) next({ name: 'login' })\n else next()\n})\n\nexport default router\n\n","export const translationStrings = {\n en: {\n collections: 'Collections',\n label_view_all_collections: 'View all {0} collections',\n items: 'Items',\n label_view_all_items: 'View all {0} items',\n label_loading: 'Loading...',\n label_items_list: 'Items list',\n label_collections_list: 'Collections list',\n label_collection_items_list: 'Collection items list',\n collection: 'Collection',\n label_site_url: 'Archive site URL',\n placeholder_site_url: 'https://my-tainacan-archive.com',\n label_user_name: 'User name',\n placeholder_user_name: 'your user name',\n label_user_password: 'User application password',\n placeholder_user_password: 'your application password here',\n label_access_archive: 'Access archive',\n label_item_without_title: 'Item without title',\n label_collection_without_name: 'Collection without name',\n total_of_published_items: 'Total of {0} published items',\n label_last_modified_collections: 'Last modified collections',\n label_last_modified_items: 'Last modified itens',\n label_add_items: 'Add items',\n info_create_items: 'Create new items in this collection',\n label_option_multiple_items: 'Multiple items from file selection',\n label_option_multiple_attachments: 'Single item with document and attachments from file selection',\n label_option_single_item: 'Single empty item',\n label_cancel: 'Cancel',\n label_search: 'Search',\n label_no_results_found: 'No results found',\n info_application_password: 'This password is not the same of your WordPress admin.',\n label_learn_more_here: 'Learn more here',\n label_item_actions: 'Item actions',\n label_option_edit_item: 'Edit item',\n label_option_delete_item: 'Send item to trash',\n error_label_fetch_collections: 'Collections loading error',\n error_label_fetch_items_collections: 'Items collections loading error',\n error_label_fetch_items: 'Items loading error',\n error_delete_item: 'Error while deleting item'\n },\n pt: {\n collections: \"Coleções\",\n label_view_all_collections: \"Ver todas as {0} coleções\",\n items: 'Itens',\n label_view_all_items: 'Ver todos os {0} itens',\n label_loading: 'Carregando...',\n label_items_list: 'Lista de itens',\n label_collections_list: 'Lista de coleções',\n label_collection_items_list: 'Lista de itens da coleção',\n collection: 'Coleção',\n label_site_url: 'URL do Site do Acervo',\n placeholder_site_url: 'https://meu-acervo-tainacan.com',\n label_user_name: 'Nome de usuário',\n placeholder_user_name: 'seu nome de usuário aqui',\n label_user_password: 'Senha do usuário da aplicação',\n placeholder_user_password: 'sua senha de usuário da aplicação aqui',\n label_access_archive: 'Acessar acervo',\n label_item_without_title: 'Item sem título',\n label_collection_without_name: 'Coleção sem nome',\n total_of_published_items: 'Total de {0} itens públicos',\n label_last_modified_collections: 'Coleções alteradas recentemente',\n label_last_modified_items: 'Itens alterados recentemente',\n label_add_items: 'Adicionar itens',\n info_create_items: 'Crie novos itens nesta coleção',\n label_option_multiple_items: 'Vários itens a partir de uma seleção de arquivos',\n label_option_multiple_attachments: 'Um item com documento e anexos provenientes de ums seleção de aquivos',\n label_option_single_item: 'Um item vazio',\n label_cancel: 'Cancelar',\n label_search: 'Buscar',\n label_no_results_found: 'Nenhum resultado encontrado',\n info_application_password: 'Esta senha não é a mesma do seu painel admin do WordPress.',\n label_learn_more_here: 'Saiba mais aqui.',\n label_item_actions: 'Ações para o item',\n label_option_edit_item: 'Editar item',\n label_option_delete_item: 'Enviar item para lixeira',\n error_label_fetch_collections: 'Erro no carregamento das coleções',\n error_label_fetch_items_collections: 'Erro no carregamento dos itens da coleção',\n error_label_fetch_items: 'Erro no carregamento dos itens',\n error_delete_item: 'Erro ao tentar remover item'\n }\n}","import { createApp } from 'vue'\n\nimport App from './App.vue'\nimport BaseLayout from './components/base/BaseLayout.vue';\nimport CollectionList from './components/lists/CollectionsList.vue';\nimport ItemList from './components/lists/ItemsList.vue';\nimport router from './router';\nimport { createPinia } from 'pinia';\n\nimport { IonicVue } from '@ionic/vue';\n\n/* Core CSS required for Ionic components to work properly */\nimport '@ionic/vue/css/core.css';\n\n/* Basic CSS for apps built with Ionic */\nimport '@ionic/vue/css/normalize.css';\nimport '@ionic/vue/css/structure.css';\nimport '@ionic/vue/css/typography.css';\n\n/* Optional CSS utils that can be commented out */\nimport '@ionic/vue/css/padding.css';\nimport '@ionic/vue/css/float-elements.css';\nimport '@ionic/vue/css/text-alignment.css';\nimport '@ionic/vue/css/text-transformation.css';\nimport '@ionic/vue/css/flex-utils.css';\nimport '@ionic/vue/css/display.css';\n\n/* Theme variables */\nimport './theme/variables.css';\nimport './theme/core.css'; //importei do arquivo criado\n\n/* Translation */\nimport { createI18n } from 'vue-i18n';\nimport { translationStrings } from './locales/translation-strings';\n\nconst i18n = createI18n({\n locale: 'en', // set locale\n fallbackLocale: 'en', // set fallback locale\n messages: translationStrings, // set locale messages\n })\n\nconst app = createApp(App)\n .use(IonicVue)\n .use(router)\n .use(createPinia())\n .use(i18n);\n\napp.component('base-layout', BaseLayout);\napp.component('base-collectionlist', CollectionList);\napp.component('base-itemlist', ItemList);\n \nrouter.isReady().then(() => {\n app.mount('#app');\n});","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"js/\" + chunkId + \".\" + {\"78\":\"51f18a44\",\"168\":\"c83a23ff\",\"338\":\"fff3ebb3\",\"544\":\"94817512\",\"576\":\"a82798ee\",\"753\":\"17d4d392\",\"775\":\"c55644c6\",\"880\":\"e288775e\",\"961\":\"2fab5ec9\",\"990\":\"cdf4956e\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn undefined;\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","var inProgress = {};\nvar dataWebpackPrefix = \"tainacan-mobile:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\t;\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t143: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunktainacan_mobile\"] = self[\"webpackChunktainacan_mobile\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [998], function() { return __webpack_require__(6210); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["webpackEmptyAsyncContext","req","Promise","resolve","then","e","Error","code","keys","id","module","exports","render","_ctx","_cache","$props","$setup","$data","$options","_component_ion_router_outlet","_resolveComponent","_component_ion_app","_openBlock","_createBlock","default","_withCtx","_createVNode","_","defineComponent","name","components","IonApp","IonRouterOutlet","mounted","device","Device","getLanguageCode","res","value","includes","language","split","this","$i18n","locale","__exports__","_component_ion_back_button","_component_ion_buttons","_component_ion_img","_component_ion_icon","_component_ion_button","_component_ion_toolbar","_component_ion_title","_component_ion_header","_component_ion_content","_component_ion_toast","_component_ion_page","collapse","slot","pageDefaultBackLink","src","tainacanLogo","class","onClick","logOff","icon","logOutOutline","pageTitle","key","_createTextVNode","_toDisplayString","_createCommentVNode","fullscreen","_renderSlot","$slots","tainacanStore","errorStatus","message","$t","errorMessage","duration","onDidDismiss","$event","setOpen","color","store","Storage","useWpStore","defineStore","state","userIsLoggedIn","userSiteUrl","userLogin","userToken","authorizationURL","inAppBrowser","InAppBrowserObject","actions","async","set","err","siteUrl","endpoint","response","axios","data","authentication","endpoints","authorization","create","get","createInAppBrowser","url","extraParams","tainacanAdminUrl","anInAppBrowser","InAppBrowser","openInAppBrowser","executeScript","urlRedirectionScript","show","hideInAppBrowser","hide","listenEventInAppBrowser","event","on","subscribe","length","params","indexOf","useTainacanStore","homeCollections","totalHomeCollections","homeItems","totalHomeItems","collections","totalCollections","collectionItems","totalCollectionItems","nextItemsByCollectionPage","items","nextItemsPage","totalItems","wpStore","btoa","perPage","orderBy","headers","collectionId","search","reset","push","itemId","existingItemIndex","anItem","splice","existingHomeItemIndex","existingCollectionItemIndex","props","IonPage","IonHeader","IonToolbar","IonTitle","IonContent","IonIcon","IonButton","IonBackButton","IonButtons","IonImg","IonToast","setup","computed","require","methods","logoff","$router","go","_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_component_ion_thumbnail","_component_ion_label","_component_ion_radio","_component_ion_item","_createElementBlock","_Fragment","_renderList","collection","isInSelectionMode","goToCollectionPage","thumbnail","thumbnailPlaceholder","alt","$","_createElementVNode","status","lockClosedOutline","readerOutline","trashOutline","total_items","publish","IonItem","IonThumbnail","IonLabel","IonRadio","isSelectionMode","router","useRouter","_component_ion_card_title","_component_ion_card_header","_component_ion_card","_component_ion_col","_component_ion_row","item","size","openActionSheet","button","thumbnail_alt","title","IonCardHeader","IonRow","IonCol","IonCard","IonCardTitle","actionSheetLabels","ref","header","button1","button2","cancel","setActionSheetLabels","newLabels","current_user_can_edit","current_user_can_delete","actionSheetButtons","text","pencil","handler","openItemEdition","trashBin","deleteItem","role","actionSheetOptions","cssClass","buttons","actionSheet","actionSheetController","present","collection_id","type","_component_ion_refresher_content","_component_ion_refresher","_component_ion_loading","_component_ion_list_header","_component_collections_list","_component_ion_list","_component_items_list","_component_base_layout","onIonRefresh","doRefresh","isLoading","fill","routerLink","arrowForwardOutline","CollectionsList","ItemsList","BaseLayout","IonList","IonListHeader","IonLoading","IonRefresher","IonRefresherContent","setIsLoading","loadCollectionsAndItems","fetchHomeCollections","fetchHomeItems","target","complete","_component_ion_input","_component_app_password_modal","image","onSubmit","_withModifiers","args","openLoginForm","inset","position","placeholder","autofocus","modelValue","modelModifiers","trim","required","autocomplete","enterkeyhint","fakeLogin","_hoisted_5","_hoisted_6","_component_ion_modal","trigger","breakpoints","style","IonModal","IonInput","AppPasswordModal","fetchApplicationAuthorization","handleBrowserLoadStop","URLSearchParams","login","_component_ion_searchbar","_component_ion_spinner","_component_ion_infinite_scroll_content","_component_ion_infinite_scroll","debounce","onIonChange","handleSearch","isSearching","threshold","onIonInfinite","loadItemsByCollection","add","IonInfiniteScroll","IonSearchbar","IonSpinner","IonInfiniteScrollContent","String","infiniteScroll","setIsSearching","setSearch","fetchItemsByCollection","hasMoreCollectionsItems","$el","disabled","cancelSearch","detail","button3","documentOutline","loadCollections","fetchCollections","loadItems","fetchItems","hasMoreItems","routes","path","redirect","component","HomePage","LoginPage","CollectionPage","CollectionsPage","ItemsPage","createRouter","history","createWebHistory","process","beforeEach","to","from","next","checkUserLogin","translationStrings","en","label_view_all_collections","label_view_all_items","label_loading","label_items_list","label_collections_list","label_collection_items_list","label_site_url","placeholder_site_url","label_user_name","placeholder_user_name","label_user_password","placeholder_user_password","label_access_archive","label_item_without_title","label_collection_without_name","total_of_published_items","label_last_modified_collections","label_last_modified_items","label_add_items","info_create_items","label_option_multiple_items","label_option_multiple_attachments","label_option_single_item","label_cancel","label_search","label_no_results_found","info_application_password","label_learn_more_here","label_item_actions","label_option_edit_item","label_option_delete_item","error_label_fetch_collections","error_label_fetch_items_collections","error_label_fetch_items","error_delete_item","pt","i18n","createI18n","fallbackLocale","messages","app","createApp","App","use","IonicVue","createPinia","CollectionList","ItemList","mount","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","m","deferred","O","result","chunkIds","fn","priority","notFulfilled","Infinity","i","fulfilled","j","Object","every","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","f","chunkId","all","reduce","promises","u","miniCssF","g","globalThis","Function","window","obj","prop","prototype","hasOwnProperty","call","inProgress","dataWebpackPrefix","l","done","script","needAttach","scripts","document","getElementsByTagName","s","getAttribute","createElement","charset","timeout","nc","setAttribute","onScriptComplete","prev","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","forEach","setTimeout","bind","head","appendChild","Symbol","toStringTag","p","installedChunks","installedChunkData","promise","reject","error","loadingEnded","errorType","realSrc","request","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file diff --git a/ios/App/App/public/js/chunk-vendors.bd229e35.js b/ios/App/App/public/js/chunk-vendors.bd229e35.js new file mode 100644 index 0000000..7af2978 --- /dev/null +++ b/ios/App/App/public/js/chunk-vendors.bd229e35.js @@ -0,0 +1,206 @@ +(self["webpackChunktainacan_mobile"]=self["webpackChunktainacan_mobile"]||[]).push([[998],{339:function(t,e,n){"use strict";function o(){if("undefined"===typeof process){var t="undefined"!==typeof window?window:{},e=5e3,n=Date.now(),o=!1;t.document.addEventListener("deviceready",(function(){console.log("Ionic Native: deviceready event fired after "+(Date.now()-n)+" ms"),o=!0})),setTimeout((function(){!o&&t.cordova&&console.warn("Ionic Native: deviceready did not fire within "+e+"ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.")}),e)}}n.d(e,{i:function(){return st},v:function(){return rt}}); +/*! ***************************************************************************** +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 i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},i(t,e)};function r(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}Object.create;function a(t){var e="function"===typeof Symbol&&Symbol.iterator,n=e&&t[e],o=0;if(n)return n.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&o>=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function s(t,e){var n="function"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var o,i,r=n.call(t),a=[];try{while((void 0===e||e-- >0)&&!(o=r.next()).done)a.push(o.value)}catch(s){i={error:s}}finally{try{o&&!o.done&&(n=r["return"])&&n.call(r)}finally{if(i)throw i.error}}return a}function l(t,e,n){if(n||2===arguments.length)for(var o,i=0,r=e.length;it.length?t[e.successIndex]=n:t.splice(e.successIndex,0,n)},a=function(){e.errorIndex>t.length?t[e.errorIndex]=o:t.splice(e.errorIndex,0,o)};e.successIndex>e.errorIndex?(a(),r()):(r(),a())}else t.push(n),t.push(o);return t}function X(t,e,n,o,i,r){if(void 0===o&&(o={}),n=G(n,o,i,r),Y(t,e))return t._objectInstance[e].apply(t._objectInstance,n)}function J(t){return"undefined"!==typeof window?K(window,t):null}function K(t,e){for(var n=e.split("."),o=t,i=0;i{const e=new Map;e.set("web",{name:"web"});const n=t.CapacitorPlatforms||{currentPlatform:{name:"web"},platforms:e},o=(t,e)=>{n.platforms.set(t,e)},i=t=>{n.platforms.has(t)&&(n.currentPlatform=n.platforms.get(t))};return n.addPlatform=o,n.setPlatform=i,n},i=t=>t.CapacitorPlatforms=o(t),r=i("undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{});r.addPlatform,r.setPlatform;var a;(function(t){t["Unimplemented"]="UNIMPLEMENTED",t["Unavailable"]="UNAVAILABLE"})(a||(a={}));class s extends Error{constructor(t,e){super(t),this.message=t,this.code=e}}const l=t=>{var e,n;return(null===t||void 0===t?void 0:t.androidBridge)?"android":(null===(n=null===(e=null===t||void 0===t?void 0:t.webkit)||void 0===e?void 0:e.messageHandlers)||void 0===n?void 0:n.bridge)?"ios":"web"},c=t=>{var e,n,o,i,r;const c=t.CapacitorCustomPlatform||null,d=t.Capacitor||{},u=d.Plugins=d.Plugins||{},h=t.CapacitorPlatforms,p=()=>null!==c?c.name:l(t),f=(null===(e=null===h||void 0===h?void 0:h.currentPlatform)||void 0===e?void 0:e.getPlatform)||p,m=()=>"web"!==f(),g=(null===(n=null===h||void 0===h?void 0:h.currentPlatform)||void 0===n?void 0:n.isNativePlatform)||m,b=t=>{const e=$.get(t);return!!(null===e||void 0===e?void 0:e.platforms.has(f()))||!!w(t)},v=(null===(o=null===h||void 0===h?void 0:h.currentPlatform)||void 0===o?void 0:o.isPluginAvailable)||b,y=t=>{var e;return null===(e=d.PluginHeaders)||void 0===e?void 0:e.find((e=>e.name===t))},w=(null===(i=null===h||void 0===h?void 0:h.currentPlatform)||void 0===i?void 0:i.getPluginHeader)||y,x=e=>t.console.error(e),k=(t,e,n)=>Promise.reject(`${n} does not have an implementation of "${e}".`),$=new Map,E=(t,e={})=>{const n=$.get(t);if(n)return console.warn(`Capacitor plugin "${t}" already registered. Cannot register plugins twice.`),n.proxy;const o=f(),i=w(t);let r;const l=async()=>(!r&&o in e?r=r="function"===typeof e[o]?await e[o]():e[o]:null!==c&&!r&&"web"in e&&(r=r="function"===typeof e["web"]?await e["web"]():e["web"]),r),h=(e,n)=>{var r,l;if(!i){if(e)return null===(l=e[n])||void 0===l?void 0:l.bind(e);throw new s(`"${t}" plugin is not implemented on ${o}`,a.Unimplemented)}{const o=null===i||void 0===i?void 0:i.methods.find((t=>n===t.name));if(o)return"promise"===o.rtype?e=>d.nativePromise(t,n.toString(),e):(e,o)=>d.nativeCallback(t,n.toString(),e,o);if(e)return null===(r=e[n])||void 0===r?void 0:r.bind(e)}},p=e=>{let n;const i=(...i)=>{const r=l().then((r=>{const l=h(r,e);if(l){const t=l(...i);return n=null===t||void 0===t?void 0:t.remove,t}throw new s(`"${t}.${e}()" is not implemented on ${o}`,a.Unimplemented)}));return"addListener"===e&&(r.remove=async()=>n()),r};return i.toString=()=>`${e.toString()}() { [capacitor code] }`,Object.defineProperty(i,"name",{value:e,writable:!1,configurable:!1}),i},m=p("addListener"),g=p("removeListener"),b=(t,e)=>{const n=m({eventName:t},e),o=async()=>{const o=await n;g({eventName:t,callbackId:o},e)},i=new Promise((t=>n.then((()=>t({remove:o})))));return i.remove=async()=>{console.warn("Using addListener() without 'await' is deprecated."),await o()},i},v=new Proxy({},{get(t,e){switch(e){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return i?b:m;case"removeListener":return g;default:return p(e)}}});return u[t]=v,$.set(t,{name:t,proxy:v,platforms:new Set([...Object.keys(e),...i?[o]:[]])}),v},S=(null===(r=null===h||void 0===h?void 0:h.currentPlatform)||void 0===r?void 0:r.registerPlugin)||E;return d.convertFileSrc||(d.convertFileSrc=t=>t),d.getPlatform=f,d.handleError=x,d.isNativePlatform=g,d.isPluginAvailable=v,d.pluginMethodNoop=k,d.registerPlugin=S,d.Exception=s,d.DEBUG=!!d.DEBUG,d.isLoggingEnabled=!!d.isLoggingEnabled,d.platform=d.getPlatform(),d.isNative=d.isNativePlatform(),d},d=t=>t.Capacitor=c(t),u=d("undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{}),h=u.registerPlugin;u.Plugins;class p{constructor(t){this.listeners={},this.windowListeners={},t&&(console.warn(`Capacitor WebPlugin "${t.name}" config object was deprecated in v3 and will be removed in v4.`),this.config=t)}addListener(t,e){const n=this.listeners[t];n||(this.listeners[t]=[]),this.listeners[t].push(e);const o=this.windowListeners[t];o&&!o.registered&&this.addWindowListener(o);const i=async()=>this.removeListener(t,e),r=Promise.resolve({remove:i});return Object.defineProperty(r,"remove",{value:async()=>{console.warn("Using addListener() without 'await' is deprecated."),await i()}}),r}async removeAllListeners(){this.listeners={};for(const t in this.windowListeners)this.removeWindowListener(this.windowListeners[t]);this.windowListeners={}}notifyListeners(t,e){const n=this.listeners[t];n&&n.forEach((t=>t(e)))}hasListeners(t){return!!this.listeners[t].length}registerWindowListener(t,e){this.windowListeners[e]={registered:!1,windowEventName:t,pluginEventName:e,handler:t=>{this.notifyListeners(e,t)}}}unimplemented(t="not implemented"){return new u.Exception(t,a.Unimplemented)}unavailable(t="not available"){return new u.Exception(t,a.Unavailable)}async removeListener(t,e){const n=this.listeners[t];if(!n)return;const o=n.indexOf(e);this.listeners[t].splice(o,1),this.listeners[t].length||this.removeWindowListener(this.windowListeners[t])}addWindowListener(t){window.addEventListener(t.windowEventName,t.handler),t.registered=!0}removeWindowListener(t){t&&(window.removeEventListener(t.windowEventName,t.handler),t.registered=!1)}}},2406:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var o=n(9895);const i=(0,o.fo)("Device",{web:()=>n.e(961).then(n.bind(n,7961)).then((t=>new t.DeviceWeb))})},5980:function(t,e,n){"use strict";n.d(e,{c:function(){return b}});var o=n(6587); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */let i;const r=t=>(t.forEach((t=>{for(const e in t)if(t.hasOwnProperty(e)){const n=t[e];if("easing"===e){const o="animation-timing-function";t[o]=n,delete t[e]}else{const o=a(e);o!==e&&(t[o]=n,delete t[e])}}})),t),a=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),s=t=>{if(void 0===i){const e=void 0!==t.style.animationName,n=void 0!==t.style.webkitAnimationName;i=!e&&n?"-webkit-":""}return i},l=(t,e,n)=>{const o=e.startsWith("animation")?s(t):"";t.style.setProperty(o+e,n)},c=(t,e)=>{const n=e.startsWith("animation")?s(t):"";t.style.removeProperty(n+e)},d=(t,e)=>{let n;const o={passive:!0},i=()=>{n&&n()},r=n=>{t===n.target&&(i(),e(n))};return t&&(t.addEventListener("webkitAnimationEnd",r,o),t.addEventListener("animationend",r,o),n=()=>{t.removeEventListener("webkitAnimationEnd",r,o),t.removeEventListener("animationend",r,o)}),i},u=(t=[])=>t.map((t=>{const e=t.offset,n=[];for(const o in t)t.hasOwnProperty(o)&&"offset"!==o&&n.push(`${o}: ${t[o]};`);return`${100*e}% { ${n.join(" ")} }`})).join(" "),h=[],p=t=>{let e=h.indexOf(t);return e<0&&(e=h.push(t)-1),`ion-animation-${e}`},f=t=>{const e=t.getRootNode();return e.head||e},m=(t,e,n)=>{const o=f(n),i=s(n),r=o.querySelector("#"+t);if(r)return r;const a=(n.ownerDocument||document).createElement("style");return a.id=t,a.textContent=`@${i}keyframes ${t} { ${e} } @${i}keyframes ${t}-alt { ${e} }`,o.appendChild(a),a},g=(t=[],e)=>{if(void 0!==e){const n=Array.isArray(e)?e:[e];return[...t,...n]}return t},b=t=>{let e,n,i,a,s,h,f,b,v,y,w,x,k,$=[],E=[],S=[],_=!1,C={},A=[],T=[],I={},L=0,R=!1,O=!1,D=!0,N=!1,P=!0,z=!1;const j=t,M=[],B=[],F=[],H=[],W=[],U=[],q=[],V=[],Y=[],G=[],X="function"===typeof AnimationEffect||"function"===typeof window.AnimationEffect,J="function"===typeof Element&&"function"===typeof Element.prototype.animate&&X,K=100,Z=()=>G,Q=t=>(H.forEach((e=>{e.destroy(t)})),tt(t),F.length=0,H.length=0,$.length=0,it(),_=!1,P=!0,k),tt=t=>{rt(),t&&at()},et=()=>{R=!1,O=!1,P=!0,v=void 0,y=void 0,w=void 0,L=0,N=!1,D=!0,z=!1},nt=()=>0!==L&&!z,ot=(t,e)=>{const n=(null===e||void 0===e?void 0:e.oneTimeCallback)?B:M;return n.push({c:t,o:e}),k},it=()=>(M.length=0,B.length=0,k),rt=()=>{if(J)G.forEach((t=>{t.cancel()})),G.length=0;else{const t=F.slice();(0,o.r)((()=>{t.forEach((t=>{c(t,"animation-name"),c(t,"animation-duration"),c(t,"animation-timing-function"),c(t,"animation-iteration-count"),c(t,"animation-delay"),c(t,"animation-play-state"),c(t,"animation-fill-mode"),c(t,"animation-direction")}))}))}},at=()=>{W.forEach((t=>{(null===t||void 0===t?void 0:t.parentNode)&&t.parentNode.removeChild(t)})),W.length=0},st=t=>(U.push(t),k),lt=t=>(q.push(t),k),ct=t=>(V.push(t),k),dt=t=>(Y.push(t),k),ut=t=>(E=g(E,t),k),ht=t=>(S=g(S,t),k),pt=(t={})=>(C=t,k),ft=(t=[])=>{for(const e of t)C[e]="";return k},mt=t=>(A=g(A,t),k),gt=t=>(T=g(T,t),k),bt=(t={})=>(I=t,k),vt=(t=[])=>{for(const e of t)I[e]="";return k},yt=()=>void 0!==s?s:f?f.getFill():"both",wt=()=>void 0!==v?v:void 0!==h?h:f?f.getDirection():"normal",xt=()=>R?"linear":void 0!==i?i:f?f.getEasing():"linear",kt=()=>O?0:void 0!==y?y:void 0!==n?n:f?f.getDuration():0,$t=()=>void 0!==a?a:f?f.getIterations():1,Et=()=>void 0!==w?w:void 0!==e?e:f?f.getDelay():0,St=()=>$,_t=t=>(h=t,Vt(!0),k),Ct=t=>(s=t,Vt(!0),k),At=t=>(e=t,Vt(!0),k),Tt=t=>(i=t,Vt(!0),k),It=t=>(J||0!==t||(t=1),n=t,Vt(!0),k),Lt=t=>(a=t,Vt(!0),k),Rt=t=>(f=t,k),Ot=t=>{if(null!=t)if(1===t.nodeType)F.push(t);else if(t.length>=0)for(let e=0;e{if(null!=t)if(Array.isArray(t))for(const e of t)e.parent(k),H.push(e);else t.parent(k),H.push(t);return k},Nt=t=>{const e=$!==t;return $=t,e&&Pt($),k},Pt=t=>{J?Z().forEach((e=>{if(e.effect.setKeyframes)e.effect.setKeyframes(t);else{const n=new KeyframeEffect(e.effect.target,t,e.effect.getTiming());e.effect=n}})):Bt()},zt=()=>{U.forEach((t=>t())),q.forEach((t=>t()));const t=E,e=S,n=C;F.forEach((o=>{const i=o.classList;t.forEach((t=>i.add(t))),e.forEach((t=>i.remove(t)));for(const t in n)n.hasOwnProperty(t)&&l(o,t,n[t])}))},jt=()=>{Qt(),V.forEach((t=>t())),Y.forEach((t=>t()));const t=D?1:0,e=A,n=T,o=I;F.forEach((t=>{const i=t.classList;e.forEach((t=>i.add(t))),n.forEach((t=>i.remove(t)));for(const e in o)o.hasOwnProperty(e)&&l(t,e,o[e])})),M.forEach((e=>e.c(t,k))),B.forEach((e=>e.c(t,k))),B.length=0,P=!0,D&&(N=!0),D=!0},Mt=()=>{0!==L&&(L--,0===L&&(jt(),f&&f.animationFinish()))},Bt=(e=!0)=>{at();const n=r($);F.forEach((i=>{if(n.length>0){const r=u(n);x=void 0!==t?t:p(r);const a=m(x,r,i);W.push(a),l(i,"animation-duration",`${kt()}ms`),l(i,"animation-timing-function",xt()),l(i,"animation-delay",`${Et()}ms`),l(i,"animation-fill-mode",yt()),l(i,"animation-direction",wt());const s=$t()===1/0?"infinite":$t().toString();l(i,"animation-iteration-count",s),l(i,"animation-play-state","paused"),e&&l(i,"animation-name",`${a.id}-alt`),(0,o.r)((()=>{l(i,"animation-name",a.id||null)}))}}))},Ft=()=>{F.forEach((t=>{const e=t.animate($,{id:j,delay:Et(),duration:kt(),easing:xt(),iterations:$t(),fill:yt(),direction:wt()});e.pause(),G.push(e)})),G.length>0&&(G[0].onfinish=()=>{Mt()})},Ht=(t=!0)=>{zt(),$.length>0&&(J?Ft():Bt(t)),_=!0},Wt=t=>{if(t=Math.min(Math.max(t,0),.9999),J)G.forEach((e=>{e.currentTime=e.effect.getComputedTiming().delay+kt()*t,e.pause()}));else{const e=`-${kt()*t}ms`;F.forEach((t=>{$.length>0&&(l(t,"animation-delay",e),l(t,"animation-play-state","paused"))}))}},Ut=t=>{G.forEach((t=>{t.effect.updateTiming({delay:Et(),duration:kt(),easing:xt(),iterations:$t(),fill:yt(),direction:wt()})})),void 0!==t&&Wt(t)},qt=(t=!0,e)=>{(0,o.r)((()=>{F.forEach((n=>{l(n,"animation-name",x||null),l(n,"animation-duration",`${kt()}ms`),l(n,"animation-timing-function",xt()),l(n,"animation-delay",void 0!==e?`-${e*kt()}ms`:`${Et()}ms`),l(n,"animation-fill-mode",yt()||null),l(n,"animation-direction",wt()||null);const i=$t()===1/0?"infinite":$t().toString();l(n,"animation-iteration-count",i),t&&l(n,"animation-name",`${x}-alt`),(0,o.r)((()=>{l(n,"animation-name",x||null)}))}))}))},Vt=(t=!1,e=!0,n)=>(t&&H.forEach((o=>{o.update(t,e,n)})),J?Ut(n):qt(e,n),k),Yt=(t=!1,e)=>(H.forEach((n=>{n.progressStart(t,e)})),Jt(),R=t,_||Ht(),Vt(!1,!0,e),k),Gt=t=>(H.forEach((e=>{e.progressStep(t)})),Wt(t),k),Xt=(t,e,n)=>(R=!1,H.forEach((o=>{o.progressEnd(t,e,n)})),void 0!==n&&(y=n),N=!1,D=!0,0===t?(v="reverse"===wt()?"normal":"reverse","reverse"===v&&(D=!1),J?(Vt(),Wt(1-e)):(w=(1-e)*kt()*-1,Vt(!1,!1))):1===t&&(J?(Vt(),Wt(e)):(w=e*kt()*-1,Vt(!1,!1))),void 0!==t&&(ot((()=>{y=void 0,v=void 0,w=void 0}),{oneTimeCallback:!0}),f||ie()),k),Jt=()=>{_&&(J?G.forEach((t=>{t.pause()})):F.forEach((t=>{l(t,"animation-play-state","paused")})),z=!0)},Kt=()=>(H.forEach((t=>{t.pause()})),Jt(),k),Zt=()=>{b=void 0,Mt()},Qt=()=>{b&&clearTimeout(b)},te=()=>{if(Qt(),(0,o.r)((()=>{F.forEach((t=>{$.length>0&&l(t,"animation-play-state","running")}))})),0===$.length||0===F.length)Mt();else{const t=Et()||0,e=kt()||0,n=$t()||1;isFinite(n)&&(b=setTimeout(Zt,t+e*n+K)),d(F[0],(()=>{Qt(),(0,o.r)((()=>{ee(),(0,o.r)(Mt)}))}))}},ee=()=>{F.forEach((t=>{c(t,"animation-duration"),c(t,"animation-delay"),c(t,"animation-play-state")}))},ne=()=>{G.forEach((t=>{t.play()})),0!==$.length&&0!==F.length||Mt()},oe=()=>{J?(Wt(0),Ut()):qt()},ie=t=>new Promise((e=>{(null===t||void 0===t?void 0:t.sync)&&(O=!0,ot((()=>O=!1),{oneTimeCallback:!0})),_||Ht(),N&&(oe(),N=!1),P&&(L=H.length+1,P=!1),ot((()=>e()),{oneTimeCallback:!0}),H.forEach((t=>{t.play()})),J?ne():te(),z=!1})),re=()=>{H.forEach((t=>{t.stop()})),_&&(rt(),_=!1),et()},ae=(t,e)=>{const n=$[0];return void 0===n||void 0!==n.offset&&0!==n.offset?$=[{offset:0,[t]:e},...$]:n[t]=e,k},se=(t,e)=>{const n=$[$.length-1];return void 0===n||void 0!==n.offset&&1!==n.offset?$=[...$,{offset:1,[t]:e}]:n[t]=e,k},le=(t,e,n)=>ae(t,e).to(t,n);return k={parentAnimation:f,elements:F,childAnimations:H,id:j,animationFinish:Mt,from:ae,to:se,fromTo:le,parent:Rt,play:ie,pause:Kt,stop:re,destroy:Q,keyframes:Nt,addAnimation:Dt,addElement:Ot,update:Vt,fill:Ct,direction:_t,iterations:Lt,duration:It,easing:Tt,delay:At,getWebAnimations:Z,getKeyframes:St,getFill:yt,getDirection:wt,getDelay:Et,getIterations:$t,getEasing:xt,getDuration:kt,afterAddRead:ct,afterAddWrite:dt,afterClearStyles:vt,afterStyles:bt,afterRemoveClass:gt,afterAddClass:mt,beforeAddRead:st,beforeAddWrite:lt,beforeClearStyles:ft,beforeStyles:pt,beforeRemoveClass:ht,beforeAddClass:ut,onFinish:ot,isRunning:nt,progressStart:Yt,progressStep:Gt,progressEnd:Xt}}},545:function(t,e,n){"use strict";n.d(e,{i:function(){return o}}); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const o=t=>t&&""!==t.dir?"rtl"===t.dir.toLowerCase():"rtl"===(null===document||void 0===document?void 0:document.dir.toLowerCase())},9350:function(t,e,n){"use strict";n.d(e,{G:function(){return s}}); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +class o{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(t){return new i(this,this.newID(),t.name,t.priority||0,!!t.disableScroll)}createBlocker(t={}){return new r(this,this.newID(),t.disable,!!t.disableScroll)}start(t,e,n){return this.canStart(t)?(this.requestedStart.set(e,n),!0):(this.requestedStart.delete(e),!1)}capture(t,e,n){if(!this.start(t,e,n))return!1;const o=this.requestedStart;let i=-1e4;if(o.forEach((t=>{i=Math.max(i,t)})),i===n){this.capturedId=e,o.clear();const n=new CustomEvent("ionGestureCaptured",{detail:{gestureName:t}});return document.dispatchEvent(n),!0}return o.delete(e),!1}release(t){this.requestedStart.delete(t),this.capturedId===t&&(this.capturedId=void 0)}disableGesture(t,e){let n=this.disabledGestures.get(t);void 0===n&&(n=new Set,this.disabledGestures.set(t,n)),n.add(e)}enableGesture(t,e){const n=this.disabledGestures.get(t);void 0!==n&&n.delete(e)}disableScroll(t){this.disabledScroll.add(t),1===this.disabledScroll.size&&document.body.classList.add(a)}enableScroll(t){this.disabledScroll.delete(t),0===this.disabledScroll.size&&document.body.classList.remove(a)}canStart(t){return void 0===this.capturedId&&!this.isDisabled(t)}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(t){const e=this.disabledGestures.get(t);return!!(e&&e.size>0)}newID(){return this.gestureId++,this.gestureId}}class i{constructor(t,e,n,o,i){this.id=e,this.name=n,this.disableScroll=i,this.priority=1e6*o+e,this.ctrl=t}canStart(){return!!this.ctrl&&this.ctrl.canStart(this.name)}start(){return!!this.ctrl&&this.ctrl.start(this.name,this.id,this.priority)}capture(){if(!this.ctrl)return!1;const t=this.ctrl.capture(this.name,this.id,this.priority);return t&&this.disableScroll&&this.ctrl.disableScroll(this.id),t}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class r{constructor(t,e,n,o){this.id=e,this.disable=n,this.disableScroll=o,this.ctrl=t}block(){if(this.ctrl){if(this.disable)for(const t of this.disable)this.ctrl.disableGesture(t,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const t of this.disable)this.ctrl.enableGesture(t,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const a="backdrop-no-scroll",s=new o},4261:function(t,e,n){"use strict";n.r(e),n.d(e,{MENU_BACK_BUTTON_PRIORITY:function(){return a},OVERLAY_BACK_BUTTON_PRIORITY:function(){return r},blockHardwareBackButton:function(){return o},startHardwareBackButton:function(){return i}}); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const o=()=>{document.addEventListener("backbutton",(()=>{}))},i=()=>{const t=document;let e=!1;t.addEventListener("backbutton",(()=>{if(e)return;let n=0,o=[];const i=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(t,e){o.push({priority:t,handler:e,id:n++})}}});t.dispatchEvent(i);const r=async t=>{try{if(null===t||void 0===t?void 0:t.handler){const e=t.handler(a);null!=e&&await e}}catch(e){console.error(e)}},a=()=>{if(o.length>0){let t={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};o.forEach((e=>{e.priority>=t.priority&&(t=e)})),e=!0,o=o.filter((e=>e.id!==t.id)),r(t).then((()=>e=!1))}};a()}))},r=100,a=99},6587:function(t,e,n){"use strict";n.d(e,{a:function(){return c},b:function(){return d},c:function(){return r},d:function(){return g},f:function(){return m},g:function(){return u},h:function(){return p},i:function(){return l},j:function(){return b},k:function(){return a},l:function(){return w},m:function(){return f},q:function(){return y},r:function(){return h},s:function(){return k},t:function(){return o},u:function(){return v}}); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const o=(t,e=0)=>new Promise((n=>{i(t,e,n)})),i=(t,e=0,n)=>{let o,i;const r={passive:!0},a=500,s=()=>{o&&o()},l=e=>{void 0!==e&&t!==e.target||(s(),n(e))};return t&&(t.addEventListener("webkitTransitionEnd",l,r),t.addEventListener("transitionend",l,r),i=setTimeout(l,e+a),o=()=>{i&&(clearTimeout(i),i=void 0),t.removeEventListener("webkitTransitionEnd",l,r),t.removeEventListener("transitionend",l,r)}),s},r=(t,e)=>{t.componentOnReady?t.componentOnReady().then((t=>e(t))):h((()=>e(t)))},a=(t,e=[])=>{const n={};return e.forEach((e=>{if(t.hasAttribute(e)){const o=t.getAttribute(e);null!==o&&(n[e]=t.getAttribute(e)),t.removeAttribute(e)}})),n},s=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],l=t=>a(t,s),c=(t,e,n,o)=>{var i;if("undefined"!==typeof window){const r=window,a=null===(i=null===r||void 0===r?void 0:r.Ionic)||void 0===i?void 0:i.config;if(a){const i=a.get("_ael");if(i)return i(t,e,n,o);if(a._ael)return a._ael(t,e,n,o)}}return t.addEventListener(e,n,o)},d=(t,e,n,o)=>{var i;if("undefined"!==typeof window){const r=window,a=null===(i=null===r||void 0===r?void 0:r.Ionic)||void 0===i?void 0:i.config;if(a){const i=a.get("_rel");if(i)return i(t,e,n,o);if(a._rel)return a._rel(t,e,n,o)}}return t.removeEventListener(e,n,o)},u=(t,e=t)=>t.shadowRoot||e,h=t=>"function"===typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(t):"function"===typeof requestAnimationFrame?requestAnimationFrame(t):setTimeout(t),p=t=>!!t.shadowRoot&&!!t.attachShadow,f=t=>{const e=t.closest("ion-item");return e?e.querySelector("ion-label"):null},m=t=>{if(t.focus(),t.classList.contains("ion-focusable")){const e=t.closest("ion-app");e&&e.setFocus([t])}},g=(t,e)=>{let n;const o=t.getAttribute("aria-labelledby"),i=t.id;let r=null!==o&&""!==o.trim()?o:e+"-lbl",a=null!==o&&""!==o.trim()?document.getElementById(o):f(t);return a?(null===o&&(a.id=r),n=a.textContent,a.setAttribute("aria-hidden","true")):""!==i.trim()&&(a=document.querySelector(`label[for="${i}"]`),a&&(""!==a.id?r=a.id:a.id=r=`${i}-lbl`,n=a.textContent)),{label:a,labelId:r,labelText:n}},b=(t,e,n)=>Math.max(t,Math.min(e,n)),v=t=>t.timeStamp||Date.now(),y=t=>{if(t){const e=t.changedTouches;if(e&&e.length>0){const t=e[0];return{x:t.clientX,y:t.clientY}}if(void 0!==t.pageX)return{x:t.pageX,y:t.pageY}}return{x:0,y:0}},w=(t,e)=>{const n=t._original||t;return{_original:t,emit:x(n.emit.bind(n),e)}},x=(t,e=0)=>{let n;return(...o)=>{clearTimeout(n),n=setTimeout(t,e,...o)}},k=(t,e)=>{if(null!==t&&void 0!==t||(t={}),null!==e&&void 0!==e||(e={}),t===e)return!0;const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!1;for(const o of n){if(!(o in e))return!1;if(t[o]!==e[o])return!1}return!0}},6515:function(t,e,n){"use strict";n.r(e),n.d(e,{GESTURE_CONTROLLER:function(){return o.G},createGesture:function(){return u}});var o=n(9350); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */const i=(t,e,n,o)=>{const i=r(t)?{capture:!!o.capture,passive:!!o.passive}:!!o.capture;let a,s;return t["__zone_symbol__addEventListener"]?(a="__zone_symbol__addEventListener",s="__zone_symbol__removeEventListener"):(a="addEventListener",s="removeEventListener"),t[a](e,n,i),()=>{t[s](e,n,i)}},r=t=>{if(void 0===a)try{const e=Object.defineProperty({},"passive",{get:()=>{a=!0}});t.addEventListener("optsTest",(()=>{}),e)}catch(e){a=!1}return!!a};let a;const s=2e3,l=(t,e,n,o,r)=>{let a,l,d,u,h,p,f,m=0;const g=o=>{m=Date.now()+s,e(o)&&(!l&&n&&(l=i(t,"touchmove",n,r)),d||(d=i(o.target,"touchend",v,r)),u||(u=i(o.target,"touchcancel",v,r)))},b=o=>{m>Date.now()||e(o)&&(!p&&n&&(p=i(c(t),"mousemove",n,r)),f||(f=i(c(t),"mouseup",y,r)))},v=t=>{w(),o&&o(t)},y=t=>{x(),o&&o(t)},w=()=>{l&&l(),d&&d(),u&&u(),l=d=u=void 0},x=()=>{p&&p(),f&&f(),p=f=void 0},k=()=>{w(),x()},$=(e=!0)=>{e?(a||(a=i(t,"touchstart",g,r)),h||(h=i(t,"mousedown",b,r))):(a&&a(),h&&h(),a=h=void 0,k())},E=()=>{$(!1),o=n=e=void 0};return{enable:$,stop:k,destroy:E}},c=t=>t instanceof Document?t:t.ownerDocument,d=(t,e,n)=>{const o=n*(Math.PI/180),i="x"===t,r=Math.cos(o),a=e*e;let s=0,l=0,c=!1,d=0;return{start(t,e){s=t,l=e,d=0,c=!0},detect(t,e){if(!c)return!1;const n=t-s,o=e-l,u=n*n+o*o;if(ur?1:p<-r?-1:0,c=!1,!0},isGesture(){return 0!==d},getDirection(){return d}}},u=t=>{let e=!1,n=!1,i=!0,r=!1;const a=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},t),s=a.canStart,c=a.onWillStart,u=a.onStart,m=a.onEnd,g=a.notCaptured,b=a.onMove,v=a.threshold,y=a.passive,w=a.blurOnStart,x={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:void 0,data:void 0},k=d(a.direction,a.threshold,a.maxAngle),$=o.G.createGesture({name:t.gestureName,priority:t.gesturePriority,disableScroll:t.disableScroll}),E=t=>{const e=f(t);return!(n||!i)&&(p(t,x),x.startX=x.currentX,x.startY=x.currentY,x.startTime=x.currentTime=e,x.velocityX=x.velocityY=x.deltaX=x.deltaY=0,x.event=t,(!s||!1!==s(x))&&($.release(),!!$.start()&&(n=!0,0===v?C():(k.start(x.startX,x.startY),!0))))},S=t=>{e?!r&&i&&(r=!0,h(x,t),requestAnimationFrame(_)):(h(x,t),k.detect(x.currentX,x.currentY)&&(k.isGesture()&&C()||O()))},_=()=>{e&&(r=!1,b&&b(x))},C=()=>!($&&!$.capture())&&(e=!0,i=!1,x.startX=x.currentX,x.startY=x.currentY,x.startTime=x.currentTime,c?c(x).then(T):T(),!0),A=()=>{if("undefined"!==typeof document){const t=document.activeElement;(null===t||void 0===t?void 0:t.blur)&&t.blur()}},T=()=>{w&&A(),u&&u(x),i=!0},I=()=>{e=!1,n=!1,r=!1,i=!0,$.release()},L=t=>{const n=e,o=i;I(),o&&(h(x,t),n?m&&m(x):g&&g(x))},R=l(a.el,E,S,L,{capture:!1,passive:y}),O=()=>{I(),R.stop(),g&&g(x)};return{enable(t=!0){t||(e&&L(void 0),I()),R.enable(t)},destroy(){$.destroy(),R.destroy()}}},h=(t,e)=>{if(!e)return;const n=t.currentX,o=t.currentY,i=t.currentTime;p(e,t);const r=t.currentX,a=t.currentY,s=t.currentTime=f(e),l=s-i;if(l>0&&l<100){const e=(r-n)/l,i=(a-o)/l;t.velocityX=.7*e+.3*t.velocityX,t.velocityY=.7*i+.3*t.velocityY}t.deltaX=r-t.startX,t.deltaY=a-t.startY,t.event=e},p=(t,e)=>{let n=0,o=0;if(t){const e=t.changedTouches;if(e&&e.length>0){const t=e[0];n=t.clientX,o=t.clientY}else void 0!==t.pageX&&(n=t.pageX,o=t.pageY)}e.currentX=n,e.currentY=o},f=t=>t.timeStamp||Date.now()},5026:function(t,e,n){"use strict";n.d(e,{L:function(){return r},a:function(){return a},b:function(){return s},c:function(){return l},e:function(){return S},g:function(){return A},t:function(){return u}});var o=n(65),i=n(6587); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const r="ionViewWillEnter",a="ionViewDidEnter",s="ionViewWillLeave",l="ionViewDidLeave",c=()=>n.e(338).then(n.bind(n,6338)),d=()=>n.e(753).then(n.bind(n,4753)),u=t=>new Promise(((e,n)=>{(0,o.Iu)((()=>{h(t),p(t).then((n=>{n.animation&&n.animation.destroy(),f(t),e(n)}),(e=>{f(t),n(e)}))}))})),h=t=>{const e=t.enteringEl,n=t.leavingEl;C(e,n,t.direction),t.showGoBack?e.classList.add("can-go-back"):e.classList.remove("can-go-back"),_(e,!1),e.style.setProperty("pointer-events","none"),n&&(_(n,!1),n.style.setProperty("pointer-events","none"))},p=async t=>{const e=await m(t),n=e&&o.Z5.isBrowser?g(e,t):b(t);return n},f=t=>{const e=t.enteringEl,n=t.leavingEl;e.classList.remove("ion-page-invisible"),e.style.removeProperty("pointer-events"),void 0!==n&&(n.classList.remove("ion-page-invisible"),n.style.removeProperty("pointer-events"))},m=async t=>{if(!t.leavingEl||!t.animated||0===t.duration)return;if(t.animationBuilder)return t.animationBuilder;const e="ios"===t.mode?(await c()).iosTransitionAnimation:(await d()).mdTransitionAnimation;return e},g=async(t,e)=>{await v(e,!0);const n=t(e.baseEl,e);x(e.enteringEl,e.leavingEl);const o=await w(n,e);return e.progressCallback&&e.progressCallback(void 0),o&&k(e.enteringEl,e.leavingEl),{hasCompleted:o,animation:n}},b=async t=>{const e=t.enteringEl,n=t.leavingEl;return await v(t,!1),x(e,n),k(e,n),{hasCompleted:!0}},v=async(t,e)=>{const n=void 0!==t.deepWait?t.deepWait:e,o=n?[S(t.enteringEl),S(t.leavingEl)]:[E(t.enteringEl),E(t.leavingEl)];await Promise.all(o),await y(t.viewIsReady,t.enteringEl)},y=async(t,e)=>{t&&await t(e)},w=(t,e)=>{const n=e.progressCallback,o=new Promise((e=>{t.onFinish((t=>e(1===t)))}));return n?(t.progressStart(!0),n(t)):t.play(),o},x=(t,e)=>{$(e,s),$(t,r)},k=(t,e)=>{$(t,a),$(e,l)},$=(t,e)=>{if(t){const n=new CustomEvent(e,{bubbles:!1,cancelable:!1});t.dispatchEvent(n)}},E=t=>t?new Promise((e=>(0,i.c)(t,e))):Promise.resolve(),S=async t=>{const e=t;if(e){if(null!=e.componentOnReady){const t=await e.componentOnReady();if(null!=t)return}else if(null!=e.__registerHost){const t=new Promise((t=>(0,i.r)(t)));return void await t}await Promise.all(Array.from(e.children).map(S))}},_=(t,e)=>{e?(t.setAttribute("aria-hidden","true"),t.classList.add("ion-page-hidden")):(t.hidden=!1,t.removeAttribute("aria-hidden"),t.classList.remove("ion-page-hidden"))},C=(t,e,n)=>{void 0!==t&&(t.style.zIndex="back"===n?"99":"101"),void 0!==e&&(e.style.zIndex="100")},A=t=>{if(t.classList.contains("ion-page"))return t;const e=t.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs");return e||t}},9370:function(t,e,n){"use strict";n.d(e,{a:function(){return i},b:function(){return r},p:function(){return o}}); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const o=t=>console.warn(`[Ionic Warning]: ${t}`),i=(t,...e)=>console.error(`[Ionic Error]: ${t}`,...e),r=(t,...e)=>console.error(`<${t.tagName.toLowerCase()}> must be used inside ${e.join(" or ")}.`)},8487:function(t,e,n){"use strict";n.d(e,{I:function(){return a},a:function(){return h},b:function(){return s},c:function(){return f},d:function(){return g},f:function(){return u},g:function(){return d},i:function(){return c},p:function(){return m},r:function(){return b},s:function(){return p}});var o=n(6587),i=n(9370); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const r="ION-CONTENT",a="ion-content",s=".ion-content-scroll-host",l=`${a}, ${s}`,c=t=>t&&t.tagName===r,d=async t=>c(t)?(await new Promise((e=>(0,o.c)(t,e))),t.getScrollElement()):t,u=t=>{const e=t.querySelector(s);return e||t.querySelector(l)},h=t=>t.closest(l),p=(t,e)=>{if(c(t)){const n=t;return n.scrollToTop(e)}return Promise.resolve(t.scrollTo({top:0,left:0,behavior:e>0?"smooth":"auto"}))},f=(t,e,n,o)=>{if(c(t)){const i=t;return i.scrollByPoint(e,n,o)}return Promise.resolve(t.scrollBy({top:n,left:e,behavior:o>0?"smooth":"auto"}))},m=t=>(0,i.b)(t,a),g=t=>{if(c(t)){const e=t,n=e.scrollY;return e.scrollY=!1,n}return t.style.setProperty("overflow","hidden"),!0},b=(t,e)=>{c(t)?t.scrollY=e:t.style.removeProperty("overflow")}},3541:function(t,e,n){"use strict";n.r(e),n.d(e,{KEYBOARD_DID_CLOSE:function(){return i},KEYBOARD_DID_OPEN:function(){return o},copyVisualViewport:function(){return w},keyboardDidClose:function(){return g},keyboardDidOpen:function(){return f},keyboardDidResize:function(){return m},resetKeyboardAssist:function(){return c},setKeyboardClose:function(){return p},setKeyboardOpen:function(){return h},startKeyboardAssist:function(){return d},trackViewportChanges:function(){return y}}); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const o="ionKeyboardDidShow",i="ionKeyboardDidHide",r=150;let a={},s={},l=!1;const c=()=>{a={},s={},l=!1},d=t=>{u(t),t.visualViewport&&(s=w(t.visualViewport),t.visualViewport.onresize=()=>{y(t),f()||m(t)?h(t):g(t)&&p(t)})},u=t=>{t.addEventListener("keyboardDidShow",(e=>h(t,e))),t.addEventListener("keyboardDidHide",(()=>p(t)))},h=(t,e)=>{b(t,e),l=!0},p=t=>{v(t),l=!1},f=()=>{const t=(a.height-s.height)*s.scale;return!l&&a.width===s.width&&t>r},m=t=>l&&!g(t),g=t=>l&&s.height===t.innerHeight,b=(t,e)=>{const n=e?e.keyboardHeight:t.innerHeight-s.height,i=new CustomEvent(o,{detail:{keyboardHeight:n}});t.dispatchEvent(i)},v=t=>{const e=new CustomEvent(i);t.dispatchEvent(e)},y=t=>{a=Object.assign({},s),s=w(t.visualViewport)},w=t=>({width:Math.round(t.width),height:Math.round(t.height),offsetTop:t.offsetTop,offsetLeft:t.offsetLeft,pageTop:t.pageTop,pageLeft:t.pageLeft,scale:t.scale})},3978:function(t,e,n){"use strict";n.d(e,{K:function(){return s}});var o=n(9483),i=n.n(o);const r={SecureStorage:"ionicSecureStorage",IndexedDB:i().INDEXEDDB,LocalStorage:i().LOCALSTORAGE},a={name:"_ionicstorage",storeName:"_ionickv",dbKey:"_ionickey",driverOrder:[r.SecureStorage,r.IndexedDB,r.LocalStorage]};class s{constructor(t=a){this._db=null,this._secureStorageDriver=null;const e=Object.assign({},a,t||{});this._config=e}async create(){const t=i().createInstance(this._config);return this._db=t,await t.setDriver(this._config.driverOrder||[]),this}async defineDriver(t){return t._driver===r.SecureStorage&&(this._secureStorageDriver=t),i().defineDriver(t)}get driver(){var t;return(null===(t=this._db)||void 0===t?void 0:t.driver())||null}assertDb(){if(!this._db)throw new Error("Database not created. Must call create() first");return this._db}get(t){const e=this.assertDb();return e.getItem(t)}set(t,e){const n=this.assertDb();return n.setItem(t,e)}remove(t){const e=this.assertDb();return e.removeItem(t)}clear(){const t=this.assertDb();return t.clear()}length(){const t=this.assertDb();return t.length()}keys(){const t=this.assertDb();return t.keys()}forEach(t){const e=this.assertDb();return e.iterate(t)}setEncryptionKey(t){var e;if(!this._secureStorageDriver)throw new Error("@ionic-enterprise/secure-storage not installed. Encryption support not available");null===(e=this._secureStorageDriver)||void 0===e||e.setEncryptionKey(t)}}},1089:function(t,e,n){"use strict";n.d(e,{PO:function(){return u},p7:function(){return d}});var o=n(2119),i=n(2262);const r=()=>{const t=[],e={},n=t=>{switch(t.routerAction){case"pop":i(t);break;default:r(t);break}"root"===t.routerDirection&&(a(),r(t))},o=n=>{const o=t.findIndex((t=>t.id===n.id));o>-1&&t.splice(o,1,n);const i=e[n.tab||""];if(i){const t=i.findIndex((t=>t.id===n.id));t>-1?i.splice(t,1,n):i.push(n)}else n.tab&&(e[n.tab]=[n])},i=e=>{const n=s(e.tab);let o;if(n){o=n[n.length-1];while(o&&o.id!==e.id)n.pop(),o=n[n.length-1];n.pop(),n.push(e)}o=t[t.length-1];while(o&&o.id!==e.id)t.pop(),o=t[t.length-1];t.pop(),t.push(e)},r=e=>{const n=s(e.tab);n&&(n[n.length-1]&&n[n.length-1].id===e.id&&n.pop(),n.push(e)),t.push(e)},a=n=>{if(n){const{position:o,tab:i}=n,r=t.findIndex((t=>t.position===o));if(-1===r)return;t.splice(r);const a=t=>{const n=e[t].findIndex((t=>t.position===o));-1!==n&&e[t].splice(n)},s=e[i];if(i&&s)a(i);else for(const t in e)a(t)}else{for(const t in e)e[t]=[];t.length=0}},s=t=>{let n;return t&&(n=e[t],n||(n=e[t]=[])),n},l=()=>t.length,c=(e,n)=>{const o=n-e;return t[o]||d()},d=()=>t[t.length-1],u=(t=1,e,n)=>n-t>=e,h=t=>{const e=s(t);if(e)return e[0]},p=t=>{const e=s(t);if(e)return e[e.length-1]},f=(e,n=-1)=>{const o=s(e.tab);if(o){if(n<-1)return o[o.length-1+n];for(let t=o.length-2;t>=0;t--){const n=o[t];if(n&&n.pathname===e.pushedByRoute)return n}}if(n<-1)return t[t.length-1+n];for(let i=t.length-2;i>=0;i--){const n=t[i];if(n&&n.pathname===e.pushedByRoute)return n}};return{current:c,size:l,last:d,add:n,canGoBack:u,update:o,getFirstRouteInfoForTab:h,getCurrentRouteInfoForTab:p,findLastLocation:f,clearHistory:a}},a={main:0},s=(t="main")=>{var e;const n=(null!==(e=a[t])&&void 0!==e?e:0)+1;return a[t]=n,n.toString()},l=(t,e)=>{let n={direction:void 0,action:void 0,delta:void 0};e.afterEach(((e,o,i)=>{if(i)return;const{direction:r,action:a,delta:s}=n;d=t.history.state.position;const l=t.history.state.replaced?"replace":void 0;f(e,a||l,r,s),n={direction:void 0,action:void 0,delta:void 0}}));const i=r();let a,l,c=t.history.state.position,d=t.history.state.position,u=[];"undefined"!==typeof document&&document.addEventListener("ionBackButton",(e=>{e.detail.register(0,(e=>{t.history.go(-1),e()}))})),t.history.listen(((t,e,o)=>{n={delta:o.delta,action:"pop"===o.type&&o.delta>=1?"push":o.type,direction:""===o.direction?"forward":o.direction}}));const h=(t,n)=>{const o=i.current(c,d);if(o&&o.pushedByRoute){const r=i.findLastLocation(o);r?(l=Object.assign(Object.assign({},r),{routerAction:"pop",routerDirection:"back",routerAnimation:n||o.routerAnimation}),o.lastPathname===o.pushedByRoute||r.pathname===o.pushedByRoute&&""===o.tab&&""===r.tab?e.back():e.go(r.position-o.position)):p(t,"pop","back")}else p(t,"pop","back")},p=(t,n,o,i,r)=>{k(n,o,i,r),"push"===n?e.push(t):e.replace(t)},f=(t,e,n,o)=>{let r;if(l)if("replace"===l.routerAction)r=i.current(c,d);else if("pop"===l.routerAction)r=i.current(c,d+1),"replace"===e&&i.clearHistory();else{const t="root"===l.routerDirection?d:d-1;r=i.current(c,t)}else r=a;r||(r={pathname:"",search:""});const h=r.pathname+r.search;if(h!==t.fullPath){if(!l){if("replace"===e)l={routerAction:"replace",routerDirection:"none"};else if("pop"===e){const t=i.current(c,d-o);if(t&&t.pushedByRoute){const e=i.findLastLocation(t,o);l=Object.assign(Object.assign({},e),{routerAction:"pop",routerDirection:"back"})}else l={routerAction:"pop",routerDirection:"none"}}l||(l={routerAction:"push",routerDirection:n||"forward"})}let u;if(null===l||void 0===l?void 0:l.id)u=Object.assign(Object.assign({},l),{lastPathname:r.pathname});else{const e="push"===l.routerAction&&"forward"===l.routerDirection;if(u=Object.assign(Object.assign({id:s("routeInfo")},l),{lastPathname:r.pathname,pathname:t.path,search:t.fullPath&&t.fullPath.split("?")[1]||"",params:t.params&&t.params,prevRouteLastPathname:r.lastPathname}),e)u.pushedByRoute=""!==r.pathname?r.pathname:void 0;else if("pop"===u.routerAction){const t=i.findLastLocation(u);u.pushedByRoute=null===t||void 0===t?void 0:t.pushedByRoute}else if("push"===u.routerAction&&u.tab!==r.tab){const t=i.getCurrentRouteInfoForTab(u.tab);u.pushedByRoute=null===t||void 0===t?void 0:t.pushedByRoute}else if("replace"===u.routerAction){const t=i.current(c,d),e=null===t||void 0===t?void 0:t.pushedByRoute,n=void 0!==e&&e!==u.pathname?e:u.pushedByRoute;u.lastPathname=(null===t||void 0===t?void 0:t.pathname)||u.lastPathname,u.pushedByRoute=n,u.routerDirection=(null===t||void 0===t?void 0:t.routerDirection)||u.routerDirection,u.routerAnimation=(null===t||void 0===t?void 0:t.routerAnimation)||u.routerAnimation,u.prevRouteLastPathname=null===t||void 0===t?void 0:t.lastPathname}}u.position=d,u.delta=o;const h=i.size(),p=d-c,f=h===p&&h>0&&"replace"===e;h>p||f?"push"!==u.routerAction&&"replace"!==u.routerAction||void 0!==o||(i.clearHistory(u),i.add(u)):i.add(u),1===i.size()&&(c=u.position),a=u}l=void 0,u.forEach((t=>t(a)))},m=()=>a,g=(t=1)=>i.canGoBack(t,c,d),b=t=>{const{routerAnimation:n,routerDirection:o,routerLink:i}=t;k("push",o,n),e.push(i)},v=t=>{const n=i.getFirstRouteInfoForTab(t);n&&e.go(n.position-d)},y=(t,n)=>{if(!n)return;const r=i.getCurrentRouteInfoForTab(t),[a]=n.split("?");r?(l=Object.assign(Object.assign({},l),{routerAction:"push",routerDirection:"none",tab:t}),r.pathname===a?e.push({path:r.pathname,query:(0,o.mB)(r.search)}):e.push({path:a,query:(0,o.mB)(r.search)})):p(a,"push","none",void 0,t)},w=t=>{const e=Object.assign({},i.current(c,d));e.tab!==t&&(e.tab=t,i.update(e));const n=i.findLastLocation(e);e.pushedByRoute!==e.lastPathname&&(null===n||void 0===n?void 0:n.tab)!==t&&(e.pushedByRoute=void 0,i.update(e))},x=t=>{u.push(t)},k=(t="push",e="forward",n,o)=>{l={routerAction:t,routerDirection:e,routerAnimation:n,tab:o}},$=t=>{k("pop","back",t),e.back()},E=t=>{k("push","forward",t),e.forward()},S=()=>i.current(c,d);return{handleNavigate:p,getLeavingRouteInfo:S,handleNavigateBack:h,handleSetCurrentTab:w,getCurrentRouteInfo:m,canGoBack:g,navigate:b,resetTab:v,changeTab:y,registerHistoryChangeListener:x,goBack:$,goForward:E}},c=t=>{let e={};const n=()=>Object.keys(e).length,o=t=>{delete e[t]},r=t=>e[t],a=(t,e)=>{t.ionPageElement=e,t.ionRoute=!0,t.matchedRoute.instances={default:t.vueComponentRef.value}},l=(t,e)=>h(t.pathname,e,!1),c=(t,e,n=!0)=>h(t.lastPathname,e,n),d=(t,e)=>h(t,e,!1),u=(t,e)=>e.find((e=>{if(e.pathname===t)return e})),h=(n,o,i=!1)=>{const r=e=>{if(i&&!e.ionRoute||""===n)return!1;const o=t.resolve(n),r=o.matched.find((t=>t===e.matchedRoute));if(r){const t=r.path.includes(":");return(!t||n===e.pathname)&&e}};if(o){const i=e[o];if(!i)return;const a=t?i.find(r):u(n,i);if(a)return a}else for(let t in e){const o=e[t],i=u(n,o);if(i)return i}},p=(t,e,n,o,r)=>({id:s("viewItem"),pathname:o.pathname,outletId:t,matchedRoute:n,ionPageElement:r,vueComponent:e,vueComponentRef:(0,i.XI)(),ionRoute:!1,mount:!1,exact:o.pathname===n.path,params:o.params,vueComponentData:{}}),f=t=>{const{outletId:n}=t;e[n]?e[n].push(t):e[n]=[t]},m=(t,n)=>{if(!n)throw Error("outletId required");const o=e[n];o&&(e[n]=o.filter((e=>e.id!==t.id)))},g=t=>{const n=e[t];if(n){const n=e[t].filter((t=>t.mount));return n}return[]},b=(t,n,o=1)=>{const i=e[t];if(!i)return;const r=i.findIndex((t=>t===n));for(let e=r+1;e{const i=e[t];if(!i)return;const r=i.findIndex((t=>t===n));for(let e=r+1;e{const e=Object.assign({},t);delete e.tabsPrefix;const n=(0,o.p7)(e),i=l(t,n),r=c(n),a=n.install.bind(n);n.install=t=>{t.provide("navManager",i),t.provide("viewStacks",r),a(t)};const s=n.isReady.bind(n);return n.isReady=()=>s(),n},u=t=>(0,o.PO)(t)},9747:function(t,e,n){"use strict";n.d(e,{dr:function(){return Fc},oU:function(){return Oc},YG:function(){return Jl},Sm:function(){return Kl},PM:function(){return Zl},Zi:function(){return Ql},Dq:function(){return tc},wI:function(){return ec},W2:function(){return nc},Gu:function(){return oc},gu:function(){return qc},Xz:function(){return ic},ju:function(){return rc},MB:function(){return ac},pK:function(){return sc},Ie:function(){return lc},Q$:function(){return cc},q_:function(){return dc},yh:function(){return uc},wh:function(){return Xc},ki:function(){return Kc},_i:function(){return Dc},B7:function(){return hc},nJ:function(){return pc},Wo:function(){return fc},jP:function(){return zc},Nd:function(){return mc},VI:function(){return gc},PQ:function(){return bc},Bs:function(){return vc},wd:function(){return yc},Px:function(){return Jc},sr:function(){return wc},oX:function(){return Rc},BO:function(){return Qc}});var o=n(6252),i=n(2262),r=n(65); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +class a{constructor(){this.m=new Map}reset(t){this.m=new Map(Object.entries(t))}get(t,e){const n=this.m.get(t);return void 0!==n?n:e}getBoolean(t,e=!1){const n=this.m.get(t);return void 0===n?e:"string"===typeof n?"true"===n:!!n}getNumber(t,e){const n=parseFloat(this.m.get(t));return isNaN(n)?void 0!==e?e:NaN:n}set(t,e){this.m.set(t,e)}}const s=new a,l=t=>{try{const e=t.sessionStorage.getItem(p);return null!==e?JSON.parse(e):{}}catch(e){return{}}},c=(t,e)=>{try{t.sessionStorage.setItem(p,JSON.stringify(e))}catch(n){return}},d=t=>{const e={};return t.location.search.slice(1).split("&").map((t=>t.split("="))).map((([t,e])=>[decodeURIComponent(t),decodeURIComponent(e)])).filter((([t])=>u(t,h))).map((([t,e])=>[t.slice(h.length),e])).forEach((([t,n])=>{e[t]=n})),e},u=(t,e)=>t.substr(0,e.length)===e,h="ionic:",p="ionic-persist-config",f=t=>g(t),m=(t,e)=>("string"===typeof t&&(e=t,t=void 0),f(t).includes(e)),g=(t=window)=>{if("undefined"===typeof t)return[];t.Ionic=t.Ionic||{};let e=t.Ionic.platforms;return null==e&&(e=t.Ionic.platforms=b(t),e.forEach((e=>t.document.documentElement.classList.add(`plt-${e}`)))),e},b=t=>{const e=s.get("platform");return Object.keys(N).filter((n=>{const o=null===e||void 0===e?void 0:e[n];return"function"===typeof o?o(t):N[n](t)}))},v=t=>_(t)&&!A(t),y=t=>!!O(t,/iPad/i)||!(!O(t,/Macintosh/i)||!_(t)),w=t=>O(t,/iPhone/i),x=t=>O(t,/iPhone|iPod/i)||y(t),k=t=>O(t,/android|sink/i),$=t=>k(t)&&!O(t,/mobile/i),E=t=>{const e=t.innerWidth,n=t.innerHeight,o=Math.min(e,n),i=Math.max(e,n);return o>390&&o<520&&i>620&&i<800},S=t=>{const e=t.innerWidth,n=t.innerHeight,o=Math.min(e,n),i=Math.max(e,n);return y(t)||$(t)||o>460&&o<820&&i>780&&i<1400},_=t=>D(t,"(any-pointer:coarse)"),C=t=>!_(t),A=t=>T(t)||I(t),T=t=>!!(t["cordova"]||t["phonegap"]||t["PhoneGap"]),I=t=>{const e=t["Capacitor"];return!!(null===e||void 0===e?void 0:e.isNative)},L=t=>O(t,/electron/i),R=t=>{var e;return!(!(null===(e=t.matchMedia)||void 0===e?void 0:e.call(t,"(display-mode: standalone)").matches)&&!t.navigator.standalone)},O=(t,e)=>e.test(t.navigator.userAgent),D=(t,e)=>{var n;return null===(n=t.matchMedia)||void 0===n?void 0:n.call(t,e).matches},N={ipad:y,iphone:w,ios:x,android:k,phablet:E,tablet:S,cordova:T,capacitor:I,electron:L,pwa:R,mobile:_,mobileweb:v,desktop:C,hybrid:A};let P;const z=t=>t&&(0,r.iJ)(t)||P,j=(t={})=>{if("undefined"===typeof window)return;const e=window.document,n=window;r._y.config=s;const o=n.Ionic=n.Ionic||{},i={};t._ael&&(i.ael=t._ael),t._rel&&(i.rel=t._rel),t._ce&&(i.ce=t._ce),(0,r.TX)(i);const a=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},l(n)),{persistConfig:!1}),o.config),d(n)),t);s.reset(a),s.getBoolean("persistConfig")&&c(n,a),g(n),o.config=s,o.mode=P=s.get("mode",e.documentElement.getAttribute("mode")||(m(n,"ios")?"ios":"md")),s.set("mode",P),e.documentElement.setAttribute("mode",P),e.documentElement.classList.add(P),s.getBoolean("_testing")&&s.set("animated",!1);const u=t=>{var e;return null===(e=t.tagName)||void 0===e?void 0:e.startsWith("ION-")},h=t=>["ios","md"].includes(t);(0,r.PM)((t=>{while(t){const e=t.mode||t.getAttribute("mode");if(e){if(h(e))return e;u(t)&&console.warn('Invalid ionic mode: "'+e+'", expected: "ios" or "md"')}t=t.parentElement}return P}))};var M=n(6587); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const B=(t,e)=>null!==e.closest(t),F=(t,e)=>"string"===typeof t&&t.length>0?Object.assign({"ion-color":!0,[`ion-color-${t}`]:!0},e):e,H=t=>{if(void 0!==t){const e=Array.isArray(t)?t:t.split(" ");return e.filter((t=>null!=t)).map((t=>t.trim())).filter((t=>""!==t))}return[]},W=t=>{const e={};return H(t).forEach((t=>e[t]=!0)),e},U=/^[a-z][a-z0-9+\-.]*:/,q=async(t,e,n,o)=>{if(null!=t&&"#"!==t[0]&&!U.test(t)){const i=document.querySelector("ion-router");if(i)return null!=e&&e.preventDefault(),i.push(t,n,o)}return!1},V=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:strict;pointer-events:none}:host(.unbounded){contain:layout size style}.ripple-effect{border-radius:50%;position:absolute;background-color:currentColor;color:inherit;contain:strict;opacity:0;-webkit-animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;will-change:transform, opacity;pointer-events:none}.fade-out{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1));-webkit-animation:150ms fadeOutAnimation forwards;animation:150ms fadeOutAnimation forwards}@-webkit-keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@-webkit-keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@-webkit-keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}@keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}",Y=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.type="bounded"}async addRipple(t,e){return new Promise((n=>{(0,r.wj)((()=>{const o=this.el.getBoundingClientRect(),i=o.width,a=o.height,s=Math.sqrt(i*i+a*a),l=Math.max(a,i),c=this.unbounded?l:s+X,d=Math.floor(l*J),u=c/d;let h=t-o.left,p=e-o.top;this.unbounded&&(h=.5*i,p=.5*a);const f=h-.5*d,m=p-.5*d,g=.5*i-h,b=.5*a-p;(0,r.Iu)((()=>{const t=document.createElement("div");t.classList.add("ripple-effect");const e=t.style;e.top=m+"px",e.left=f+"px",e.width=e.height=d+"px",e.setProperty("--final-scale",`${u}`),e.setProperty("--translate-end",`${g}px, ${b}px`);const o=this.el.shadowRoot||this.el;o.appendChild(t),setTimeout((()=>{n((()=>{G(t)}))}),325)}))}))}))}get unbounded(){return"unbounded"===this.type}render(){const t=z(this);return(0,r.h)(r.AA,{role:"presentation",class:{[t]:!0,unbounded:this.unbounded}})}get el(){return this}static get style(){return V}},[1,"ion-ripple-effect",{type:[1],addRipple:[64]}]),G=t=>{t.classList.add("fade-out"),setTimeout((()=>{t.remove()}),200)},X=10,J=.5;function K(){if("undefined"===typeof customElements)return;const t=["ion-ripple-effect"];t.forEach((t=>{switch(t){case"ion-ripple-effect":customElements.get(t)||customElements.define(t,Y);break}}))} +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const Z=':host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #3880ff);--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;display:block;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;display:block;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted(ion-icon){font-size:1.4em;pointer-events:none}::slotted(ion-icon[slot=start]){margin-left:-0.3em;margin-right:0.3em;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em}}::slotted(ion-icon[slot=end]){margin-left:0.3em;margin-right:-0.2em;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em}}::slotted(ion-icon[slot=icon-only]){font-size:1.8em}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host{--border-radius:10px;--padding-top:0;--padding-bottom:0;--padding-start:1em;--padding-end:1em;--transition:background-color, opacity 100ms linear;margin-left:2px;margin-right:2px;margin-top:4px;margin-bottom:4px;height:2.8em;font-size:16px;font-weight:500;letter-spacing:-0.03em}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}:host(.button-solid){--background-activated:var(--ion-color-primary-shade, #3171e0);--background-focused:var(--ion-color-primary-shade, #3171e0);--background-hover:var(--ion-color-primary-tint, #4c8dff);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1}:host(.button-outline){--border-radius:10px;--border-width:1px;--border-style:solid;--background-activated:var(--ion-color-primary, #3880ff);--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;--color-activated:var(--ion-color-primary-contrast, #fff)}:host(.button-clear){--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;font-size:17px;font-weight:normal;letter-spacing:0}:host(.button-large){--border-radius:12px;--padding-top:0;--padding-start:1em;--padding-end:1em;--padding-bottom:0;height:2.8em;font-size:20px}:host(.button-small){--border-radius:6px;--padding-top:0;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:0;height:2.1em;font-size:13px}:host(.button-round){--border-radius:64px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-strong){font-weight:600}:host(.button-clear.ion-activated){opacity:0.4}:host(.button-outline.ion-activated.ion-color) .button-native{color:var(--ion-color-contrast)}:host(.button-outline.ion-activated.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}:host(.button-outline.ion-focused.ion-color) .button-native,:host(.button-clear.ion-focused.ion-color) .button-native{color:var(--ion-color-base)}:host(.button-outline.ion-focused.ion-color) .button-native::after,:host(.button-clear.ion-focused.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.button-clear:hover),:host(.button-outline:hover){opacity:0.6}:host(.button-clear.ion-color:hover) .button-native,:host(.button-outline.ion-color:hover) .button-native{color:var(--ion-color-base)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:transparent}:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}:host(:hover.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native::after{background:#fff;opacity:0.1}}',Q=':host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #3880ff);--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;display:block;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;display:block;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted(ion-icon){font-size:1.4em;pointer-events:none}::slotted(ion-icon[slot=start]){margin-left:-0.3em;margin-right:0.3em;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em}}::slotted(ion-icon[slot=end]){margin-left:0.3em;margin-right:-0.2em;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em}}::slotted(ion-icon[slot=icon-only]){font-size:1.8em}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host{--border-radius:4px;--padding-top:0;--padding-bottom:0;--padding-start:1.1em;--padding-end:1.1em;--transition:box-shadow 280ms cubic-bezier(.4, 0, .2, 1),\n background-color 15ms linear,\n color 15ms linear;margin-left:2px;margin-right:2px;margin-top:4px;margin-bottom:4px;height:36px;font-size:14px;font-weight:500;letter-spacing:0.06em;text-transform:uppercase}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}:host(.button-solid){--background-activated:transparent;--background-hover:var(--ion-color-primary-contrast, #fff);--background-focused:var(--ion-color-primary-contrast, #fff);--background-activated-opacity:0;--background-focused-opacity:.24;--background-hover-opacity:.08;--box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}:host(.button-solid.ion-activated){--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12)}:host(.button-outline){--border-width:2px;--border-style:solid;--box-shadow:none;--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:var(--ion-color-primary, #3880ff);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-outline.ion-activated.ion-color) .button-native{background:transparent}:host(.button-clear){--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:var(--ion-color-primary, #3880ff);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-round){--border-radius:64px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-large){--padding-top:0;--padding-start:1em;--padding-end:1em;--padding-bottom:0;height:2.8em;font-size:20px}:host(.button-small){--padding-top:0;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:0;height:2.1em;font-size:13px}:host(.button-strong){font-weight:bold}::slotted(ion-icon[slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color.ion-focused) .button-native::after,:host(.button-outline.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}',tt=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionFocus=(0,r.yM)(this,"ionFocus",7),this.ionBlur=(0,r.yM)(this,"ionBlur",7),this.inItem=!1,this.inListHeader=!1,this.inToolbar=!1,this.inheritedAttributes={},this.buttonType="button",this.disabled=!1,this.routerDirection="forward",this.strong=!1,this.type="button",this.handleClick=t=>{if("button"===this.type)q(this.href,t,this.routerDirection,this.routerAnimation);else if((0,M.h)(this.el)){const e=this.el.closest("form");if(e){t.preventDefault();const n=document.createElement("button");n.type=this.type,n.style.display="none",e.appendChild(n),n.click(),n.remove()}}},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()}}componentWillLoad(){this.inToolbar=!!this.el.closest("ion-buttons"),this.inListHeader=!!this.el.closest("ion-list-header"),this.inItem=!!this.el.closest("ion-item")||!!this.el.closest("ion-item-divider"),this.inheritedAttributes=(0,M.i)(this.el)}get hasIconOnly(){return!!this.el.querySelector('[slot="icon-only"]')}get rippleType(){const t=void 0===this.fill||"clear"===this.fill;return t&&this.hasIconOnly&&this.inToolbar?"unbounded":"bounded"}render(){const t=z(this),{buttonType:e,type:n,disabled:o,rel:i,target:a,size:s,href:l,color:c,expand:d,hasIconOnly:u,shape:h,strong:p,inheritedAttributes:f}=this,m=void 0===s&&this.inItem?"small":s,g=void 0===l?"button":"a",b="button"===g?{type:n}:{download:this.download,href:l,rel:i,target:a};let v=this.fill;return void 0===v&&(v=this.inToolbar||this.inListHeader?"clear":"solid"),(0,r.h)(r.AA,{onClick:this.handleClick,"aria-disabled":o?"true":null,class:F(c,{[t]:!0,[e]:!0,[`${e}-${d}`]:void 0!==d,[`${e}-${m}`]:void 0!==m,[`${e}-${h}`]:void 0!==h,[`${e}-${v}`]:!0,[`${e}-strong`]:p,"in-toolbar":B("ion-toolbar",this.el),"in-toolbar-color":B("ion-toolbar[color]",this.el),"button-has-icon-only":u,"button-disabled":o,"ion-activatable":!0,"ion-focusable":!0})},(0,r.h)(g,Object.assign({},b,{class:"button-native",part:"native",disabled:o,onFocus:this.onFocus,onBlur:this.onBlur},f),(0,r.h)("span",{class:"button-inner"},(0,r.h)("slot",{name:"icon-only"}),(0,r.h)("slot",{name:"start"}),(0,r.h)("slot",null),(0,r.h)("slot",{name:"end"})),"md"===t&&(0,r.h)("ion-ripple-effect",{type:this.rippleType})))}get el(){return this}static get style(){return{ios:Z,md:Q}}},[33,"ion-button",{color:[513],buttonType:[1025,"button-type"],disabled:[516],expand:[513],fill:[1537],routerDirection:[1,"router-direction"],routerAnimation:[16],download:[1],href:[1],rel:[1],shape:[513],size:[513],strong:[4],target:[1],type:[1]}]);function et(){if("undefined"===typeof customElements)return;const t=["ion-button","ion-ripple-effect"];t.forEach((t=>{switch(t){case"ion-button":customElements.get(t)||customElements.define(t,tt);break;case"ion-ripple-effect":customElements.get(t)||K();break}}))} +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const nt=et,ot=".sc-ion-buttons-ios-h{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:99}.sc-ion-buttons-ios-s ion-button{--padding-top:0;--padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-buttons-ios-s ion-button{--padding-start:5px;--padding-end:5px;margin-left:2px;margin-right:2px;height:32px;font-size:17px;font-weight:400}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.sc-ion-buttons-ios-s ion-button{margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}.sc-ion-buttons-ios-s ion-button:not(.button-round){--border-radius:4px}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button{--color:initial;--border-color:initial;--background-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-solid,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-solid{--background:var(--ion-color-contrast);--background-focused:#000;--background-focused-opacity:.12;--background-activated:#000;--background-activated-opacity:.12;--background-hover:var(--ion-color-base);--background-hover-opacity:0.45;--color:var(--ion-color-base);--color-focused:var(--ion-color-base)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-clear,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-clear{--color-activated:var(--ion-color-contrast);--color-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-outline,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-outline{--color-activated:var(--ion-color-base);--color-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-s .button-clear,.sc-ion-buttons-ios-s .button-outline{--background-activated:transparent;--background-focused:currentColor;--background-hover:transparent}.sc-ion-buttons-ios-s .button-solid:not(.ion-color){--background-focused:#000;--background-focused-opacity:.12;--background-activated:#000;--background-activated-opacity:.12}.sc-ion-buttons-ios-s ion-icon[slot=start]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;margin-right:0.3em;font-size:24px;line-height:0.67}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.sc-ion-buttons-ios-s ion-icon[slot=start]{margin-right:unset;-webkit-margin-end:0.3em;margin-inline-end:0.3em}}.sc-ion-buttons-ios-s ion-icon[slot=end]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;margin-left:0.4em;font-size:24px;line-height:0.67}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.sc-ion-buttons-ios-s ion-icon[slot=end]{margin-left:unset;-webkit-margin-start:0.4em;margin-inline-start:0.4em}}.sc-ion-buttons-ios-s ion-icon[slot=icon-only]{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;font-size:28px;line-height:0.67}",it=".sc-ion-buttons-md-h{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:99}.sc-ion-buttons-md-s ion-button{--padding-top:0;--padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-buttons-md-s ion-button{--padding-top:0;--padding-bottom:0;--padding-start:8px;--padding-end:8px;--box-shadow:none;margin-left:2px;margin-right:2px;height:32px;font-size:14px;font-weight:500}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.sc-ion-buttons-md-s ion-button{margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}.sc-ion-buttons-md-s ion-button:not(.button-round){--border-radius:2px}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button{--color:initial;--color-focused:var(--ion-color-contrast);--color-hover:var(--ion-color-contrast);--background-activated:transparent;--background-focused:var(--ion-color-contrast);--background-hover:var(--ion-color-contrast)}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button-solid,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button-solid{--background:var(--ion-color-contrast);--background-activated:transparent;--background-focused:var(--ion-color-shade);--background-hover:var(--ion-color-base);--color:var(--ion-color-base);--color-focused:var(--ion-color-base);--color-hover:var(--ion-color-base)}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button-outline,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button-outline{--border-color:var(--ion-color-contrast)}.sc-ion-buttons-md-s .button-has-icon-only.button-clear{--padding-top:12px;--padding-end:12px;--padding-bottom:12px;--padding-start:12px;--border-radius:50%;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:48px;height:48px}.sc-ion-buttons-md-s .button{--background-hover:currentColor}.sc-ion-buttons-md-s .button-solid{--color:var(--ion-toolbar-background, var(--ion-background-color, #fff));--background:var(--ion-toolbar-color, var(--ion-text-color, #424242));--background-activated:transparent;--background-focused:currentColor}.sc-ion-buttons-md-s .button-outline{--color:initial;--background:transparent;--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--border-color:currentColor}.sc-ion-buttons-md-s .button-clear{--color:initial;--background:transparent;--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor}.sc-ion-buttons-md-s ion-icon[slot=start]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;margin-right:0.3em;font-size:1.4em}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.sc-ion-buttons-md-s ion-icon[slot=start]{margin-right:unset;-webkit-margin-end:0.3em;margin-inline-end:0.3em}}.sc-ion-buttons-md-s ion-icon[slot=end]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;margin-left:0.4em;font-size:1.4em}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.sc-ion-buttons-md-s ion-icon[slot=end]{margin-left:unset;-webkit-margin-start:0.4em;margin-inline-start:0.4em}}.sc-ion-buttons-md-s ion-icon[slot=icon-only]{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;font-size:1.8em}",rt=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.collapse=!1}render(){const t=z(this);return(0,r.h)(r.AA,{class:{[t]:!0,["buttons-collapse"]:this.collapse}})}static get style(){return{ios:ot,md:it}}},[34,"ion-buttons",{collapse:[4]}]);function at(){if("undefined"===typeof customElements)return;const t=["ion-buttons"];t.forEach((t=>{switch(t){case"ion-buttons":customElements.get(t)||customElements.define(t,rt);break}}))} +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const st=at,lt=":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-600, #666666)));margin-left:16px;margin-right:16px;margin-top:24px;margin-bottom:24px;border-radius:8px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1), -webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);font-size:14px;-webkit-box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);box-shadow:0 4px 16px rgba(0, 0, 0, 0.12)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px}}:host(.ion-activated){-webkit-transform:scale3d(0.97, 0.97, 1);transform:scale3d(0.97, 0.97, 1)}",ct=":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-550, #737373)));margin-left:10px;margin-right:10px;margin-top:10px;margin-bottom:10px;border-radius:4px;font-size:14px;-webkit-box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}",dt=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.button=!1,this.type="button",this.disabled=!1,this.routerDirection="forward"}isClickable(){return void 0!==this.href||this.button}renderCard(t){const e=this.isClickable();if(!e)return[(0,r.h)("slot",null)];const{href:n,routerAnimation:o,routerDirection:i}=this,a=e?void 0===n?"button":"a":"div",s="button"===a?{type:this.type}:{download:this.download,href:this.href,rel:this.rel,target:this.target};return(0,r.h)(a,Object.assign({},s,{class:"card-native",part:"native",disabled:this.disabled,onClick:t=>q(n,t,i,o)}),(0,r.h)("slot",null),e&&"md"===t&&(0,r.h)("ion-ripple-effect",null))}render(){const t=z(this);return(0,r.h)(r.AA,{class:F(this.color,{[t]:!0,"card-disabled":this.disabled,"ion-activatable":this.isClickable()})},this.renderCard(t))}static get style(){return{ios:lt,md:ct}}},[33,"ion-card",{color:[513],button:[4],type:[1],disabled:[4],download:[1],href:[1],rel:[1],routerDirection:[1,"router-direction"],routerAnimation:[16],target:[1]}]);function ut(){if("undefined"===typeof customElements)return;const t=["ion-card","ion-ripple-effect"];t.forEach((t=>{switch(t){case"ion-card":customElements.get(t)||customElements.define(t,dt);break;case"ion-ripple-effect":customElements.get(t)||K();break}}))}const ht=ut,pt=":host{--background:transparent;--color:inherit;display:block;position:relative;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{padding-left:20px;padding-right:20px;padding-top:20px;padding-bottom:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.card-header-translucent){background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);-webkit-backdrop-filter:saturate(180%) blur(30px);backdrop-filter:saturate(180%) blur(30px)}}",ft=":host{--background:transparent;--color:inherit;display:block;position:relative;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{padding-left:16px;padding-right:16px;padding-top:16px;padding-bottom:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}::slotted(ion-card-title:not(:first-child)),::slotted(ion-card-subtitle:not(:first-child)){margin-top:8px}",mt=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.translucent=!1}render(){const t=z(this);return(0,r.h)(r.AA,{class:F(this.color,{"card-header-translucent":this.translucent,"ion-inherit-color":!0,[t]:!0})},(0,r.h)("slot",null))}static get style(){return{ios:pt,md:ft}}},[33,"ion-card-header",{color:[513],translucent:[4]}]);function gt(){if("undefined"===typeof customElements)return;const t=["ion-card-header"];t.forEach((t=>{switch(t){case"ion-card-header":customElements.get(t)||customElements.define(t,mt);break}}))}const bt=gt,vt=":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-text-color, #000);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:28px;font-weight:700;line-height:1.2}",yt=":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-850, #262626);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:20px;font-weight:500;line-height:1.2}",wt=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.__attachShadow()}render(){const t=z(this);return(0,r.h)(r.AA,{role:"heading","aria-level":"2",class:F(this.color,{"ion-inherit-color":!0,[t]:!0})},(0,r.h)("slot",null))}static get style(){return{ios:vt,md:yt}}},[33,"ion-card-title",{color:[513]}]);function xt(){if("undefined"===typeof customElements)return;const t=["ion-card-title"];t.forEach((t=>{switch(t){case"ion-card-title":customElements.get(t)||customElements.define(t,wt);break}}))}const kt=xt,$t={xs:"(min-width: 0px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)"},Et=t=>{if(void 0===t||""===t)return!0;if(window.matchMedia){const e=$t[t];return window.matchMedia(e).matches}return!1},St=":host{padding-left:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-right:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;width:100%;max-width:100%;min-height:1px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px))}}@media (min-width: 576px){:host{padding-left:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-right:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px))}}}@media (min-width: 768px){:host{padding-left:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-right:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px))}}}@media (min-width: 992px){:host{padding-left:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-right:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px))}}}@media (min-width: 1200px){:host{padding-left:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-right:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px))}}}",_t="undefined"!==typeof window?window:void 0,Ct=_t&&!!(_t.CSS&&_t.CSS.supports&&_t.CSS.supports("--a: 0")),At=["","xs","sm","md","lg","xl"],Tt=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.__attachShadow()}onResize(){(0,r.xE)(this)}getColumns(t){let e;for(const n of At){const o=Et(n),i=this[t+n.charAt(0).toUpperCase()+n.slice(1)];o&&void 0!==i&&(e=i)}return e}calculateSize(){const t=this.getColumns("size");if(!t||""===t)return;const e="auto"===t?"auto":Ct?`calc(calc(${t} / var(--ion-grid-columns, 12)) * 100%)`:t/12*100+"%";return{flex:`0 0 ${e}`,width:`${e}`,"max-width":`${e}`}}calculatePosition(t,e){const n=this.getColumns(t);if(!n)return;const o=Ct?`calc(calc(${n} / var(--ion-grid-columns, 12)) * 100%)`:n>0&&n<12?n/12*100+"%":"auto";return{[e]:o}}calculateOffset(t){return this.calculatePosition("offset",t?"margin-right":"margin-left")}calculatePull(t){return this.calculatePosition("pull",t?"left":"right")}calculatePush(t){return this.calculatePosition("push",t?"right":"left")}render(){const t="rtl"===document.dir,e=z(this);return(0,r.h)(r.AA,{class:{[e]:!0},style:Object.assign(Object.assign(Object.assign(Object.assign({},this.calculateOffset(t)),this.calculatePull(t)),this.calculatePush(t)),this.calculateSize())},(0,r.h)("slot",null))}static get style(){return St}},[1,"ion-col",{offset:[1],offsetXs:[1,"offset-xs"],offsetSm:[1,"offset-sm"],offsetMd:[1,"offset-md"],offsetLg:[1,"offset-lg"],offsetXl:[1,"offset-xl"],pull:[1],pullXs:[1,"pull-xs"],pullSm:[1,"pull-sm"],pullMd:[1,"pull-md"],pullLg:[1,"pull-lg"],pullXl:[1,"pull-xl"],push:[1],pushXs:[1,"push-xs"],pushSm:[1,"push-sm"],pushMd:[1,"push-md"],pushLg:[1,"push-lg"],pushXl:[1,"push-xl"],size:[1],sizeXs:[1,"size-xs"],sizeSm:[1,"size-sm"],sizeMd:[1,"size-md"],sizeLg:[1,"size-lg"],sizeXl:[1,"size-xl"]},[[9,"resize","onResize"]]]);function It(){if("undefined"===typeof customElements)return;const t=["ion-col"];t.forEach((t=>{switch(t){case"ion-col":customElements.get(t)||customElements.define(t,Tt);break}}))}const Lt=It;var Rt=n(545); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const Ot=':host{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.outer-content){--background:var(--ion-color-step-50, #f2f2f2)}#background-content{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);position:absolute;background:var(--background)}.inner-scroll{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:calc(var(--padding-top) + var(--offset-top));padding-bottom:calc(var(--padding-bottom) + var(--keyboard-offset) + var(--offset-bottom));position:absolute;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;-ms-touch-action:pan-x pan-y pinch-zoom;touch-action:pan-x pan-y pinch-zoom}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.inner-scroll{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.scroll-y,.scroll-x{-webkit-overflow-scrolling:touch;z-index:0;will-change:scroll-position}.scroll-y{overflow-y:var(--overflow);overscroll-behavior-y:contain}.scroll-x{overflow-x:var(--overflow);overscroll-behavior-x:contain}.overscroll::before,.overscroll::after{position:absolute;width:1px;height:1px;content:""}.overscroll::before{bottom:-1px}.overscroll::after{top:-1px}:host(.content-sizing){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:0;contain:none}:host(.content-sizing) .inner-scroll{position:relative;top:0;bottom:0;margin-top:calc(var(--offset-top) * -1);margin-bottom:calc(var(--offset-bottom) * -1)}.transition-effect{display:none;position:absolute;width:100%;height:100vh;opacity:0;pointer-events:none}:host(.content-ltr) .transition-effect{left:-100%;}:host(.content-rtl) .transition-effect{right:-100%;}.transition-cover{position:absolute;right:0;width:100%;height:100%;background:black;opacity:0.1}.transition-shadow{display:block;position:absolute;width:10px;height:100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAgCAYAAAAIXrg4AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MTE3MDgzRkQ5QTkyMTFFOUEwNzQ5MkJFREE1NUY2MjQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MTE3MDgzRkU5QTkyMTFFOUEwNzQ5MkJFREE1NUY2MjQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoxMTcwODNGQjlBOTIxMUU5QTA3NDkyQkVEQTU1RjYyNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoxMTcwODNGQzlBOTIxMUU5QTA3NDkyQkVEQTU1RjYyNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PmePEuQAAABNSURBVHjaYvz//z8DIxAwMDAwATGMhmFmPDQuOSZks0AMmoJBaQHjkPfB0Lfg/2gQjVow+HPy/yHvg9GiYjQfjMbBqAWjFgy/4hogwADYqwdzxy5BuwAAAABJRU5ErkJggg==);background-repeat:repeat-y;background-size:10px 16px}:host(.content-ltr) .transition-shadow{right:0;}:host(.content-rtl) .transition-shadow{left:0;-webkit-transform:scaleX(-1);transform:scaleX(-1)}::slotted([slot=fixed]){position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0)}',Dt=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionScrollStart=(0,r.yM)(this,"ionScrollStart",7),this.ionScroll=(0,r.yM)(this,"ionScroll",7),this.ionScrollEnd=(0,r.yM)(this,"ionScrollEnd",7),this.isScrolling=!1,this.lastScroll=0,this.queued=!1,this.cTop=-1,this.cBottom=-1,this.isMainContent=!0,this.detail={scrollTop:0,scrollLeft:0,type:"scroll",event:void 0,startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,data:void 0,isScrolling:!0},this.fullscreen=!1,this.scrollX=!1,this.scrollY=!0,this.scrollEvents=!1}connectedCallback(){this.isMainContent=null===this.el.closest("ion-menu, ion-popover, ion-modal")}disconnectedCallback(){this.onScrollEnd()}onAppLoad(){this.resize()}shouldForceOverscroll(){const{forceOverscroll:t}=this,e=z(this);return void 0===t?"ios"===e&&m("ios"):t}resize(){this.fullscreen?(0,r.wj)((()=>this.readDimensions())):0===this.cTop&&0===this.cBottom||(this.cTop=this.cBottom=0,(0,r.xE)(this))}readDimensions(){const t=Pt(this.el),e=Math.max(this.el.offsetTop,0),n=Math.max(t.offsetHeight-e-this.el.offsetHeight,0),o=e!==this.cTop||n!==this.cBottom;o&&(this.cTop=e,this.cBottom=n,(0,r.xE)(this))}onScroll(t){const e=Date.now(),n=!this.isScrolling;this.lastScroll=e,n&&this.onScrollStart(),!this.queued&&this.scrollEvents&&(this.queued=!0,(0,r.wj)((e=>{this.queued=!1,this.detail.event=t,zt(this.detail,this.scrollEl,e,n),this.ionScroll.emit(this.detail)})))}async getScrollElement(){return this.scrollEl||await new Promise((t=>(0,M.c)(this.el,t))),Promise.resolve(this.scrollEl)}scrollToTop(t=0){return this.scrollToPoint(void 0,0,t)}async scrollToBottom(t=0){const e=await this.getScrollElement(),n=e.scrollHeight-e.clientHeight;return this.scrollToPoint(void 0,n,t)}async scrollByPoint(t,e,n){const o=await this.getScrollElement();return this.scrollToPoint(t+o.scrollLeft,e+o.scrollTop,n)}async scrollToPoint(t,e,n=0){const o=await this.getScrollElement();if(n<32)return null!=e&&(o.scrollTop=e),void(null!=t&&(o.scrollLeft=t));let i,r=0;const a=new Promise((t=>i=t)),s=o.scrollTop,l=o.scrollLeft,c=null!=e?e-s:0,d=null!=t?t-l:0,u=t=>{const e=Math.min(1,(t-r)/n)-1,a=Math.pow(e,3)+1;0!==c&&(o.scrollTop=Math.floor(a*c+s)),0!==d&&(o.scrollLeft=Math.floor(a*d+l)),a<1?requestAnimationFrame(u):i()};return requestAnimationFrame((t=>{r=t,u(t)})),a}onScrollStart(){this.isScrolling=!0,this.ionScrollStart.emit({isScrolling:!0}),this.watchDog&&clearInterval(this.watchDog),this.watchDog=setInterval((()=>{this.lastScrollthis.scrollEl=t,onScroll:this.scrollEvents?t=>this.onScroll(t):void 0,part:"scroll"},(0,r.h)("slot",null)),l?(0,r.h)("div",{class:"transition-effect"},(0,r.h)("div",{class:"transition-cover"}),(0,r.h)("div",{class:"transition-shadow"})):null,(0,r.h)("slot",{name:"fixed"}))}get el(){return this}static get style(){return Ot}},[1,"ion-content",{color:[513],fullscreen:[4],forceOverscroll:[1028,"force-overscroll"],scrollX:[4,"scroll-x"],scrollY:[4,"scroll-y"],scrollEvents:[4,"scroll-events"],getScrollElement:[64],scrollToTop:[64],scrollToBottom:[64],scrollByPoint:[64],scrollToPoint:[64]},[[8,"appload","onAppLoad"]]]),Nt=t=>{var e;return t.parentElement?t.parentElement:(null===(e=t.parentNode)||void 0===e?void 0:e.host)?t.parentNode.host:null},Pt=t=>{const e=t.closest("ion-tabs");if(e)return e;const n=t.closest("ion-app, ion-page, .ion-page, page-inner, .popover-content");return n||Nt(t)},zt=(t,e,n,o)=>{const i=t.currentX,r=t.currentY,a=t.currentTime,s=e.scrollLeft,l=e.scrollTop,c=n-a;if(o&&(t.startTime=n,t.startX=s,t.startY=l,t.velocityX=t.velocityY=0),t.currentTime=n,t.currentX=t.scrollLeft=s,t.currentY=t.scrollTop=l,t.deltaX=s-t.startX,t.deltaY=l-t.startY,c>0&&c<100){const e=(s-i)/c,n=(l-r)/c;t.velocityX=.7*e+.3*t.velocityX,t.velocityY=.7*n+.3*t.velocityY}};function jt(){if("undefined"===typeof customElements)return;const t=["ion-content"];t.forEach((t=>{switch(t){case"ion-content":customElements.get(t)||customElements.define(t,Dt);break}}))}const Mt=jt;var Bt=n(8487); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const Ft="all 0.2s ease-in-out",Ht=t=>{const e=document.querySelector(`${t}.ion-cloned-element`);if(null!==e)return e;const n=document.createElement(t);return n.classList.add("ion-cloned-element"),n.style.setProperty("display","none"),document.body.appendChild(n),n},Wt=t=>{if(!t)return;const e=t.querySelectorAll("ion-toolbar");return{el:t,toolbars:Array.from(e).map((t=>{const e=t.querySelector("ion-title");return{el:t,background:t.shadowRoot.querySelector(".toolbar-background"),ionTitleEl:e,innerTitleEl:e?e.shadowRoot.querySelector(".toolbar-title"):null,ionButtonsEl:Array.from(t.querySelectorAll("ion-buttons"))||[]}}))||[]}},Ut=(t,e,n)=>{(0,r.wj)((()=>{const o=t.scrollTop,i=(0,M.j)(1,1+-o/500,1.1),a=n.querySelector("ion-refresher.refresher-native");null===a&&(0,r.Iu)((()=>{Xt(e.toolbars,i)}))}))},qt=(t,e)=>{"fade"!==t.collapse&&(void 0===e?t.style.removeProperty("--opacity-scale"):t.style.setProperty("--opacity-scale",e.toString()))},Vt=(t,e,n)=>{if(!t[0].isIntersecting)return;const o=t[0].intersectionRatio>.9||n<=0?0:100*(1-t[0].intersectionRatio)/75;qt(e.el,1===o?void 0:o)},Yt=(t,e,n,o)=>{(0,r.Iu)((()=>{const i=o.scrollTop;Vt(t,e,i);const r=t[0],a=r.intersectionRect,s=a.width*a.height,l=r.rootBounds.width*r.rootBounds.height,c=0===s&&0===l,d=Math.abs(a.left-r.boundingClientRect.left),u=Math.abs(a.right-r.boundingClientRect.right),h=s>0&&(d>=5||u>=5);if(!c&&!h)if(r.isIntersecting)Gt(e,!1),Gt(n);else{const t=0===a.x&&0===a.y||0!==a.width&&0!==a.height;t&&i>0&&(Gt(e),Gt(n,!1),qt(e.el))}}))},Gt=(t,e=!0)=>{e?t.el.classList.remove("header-collapse-condense-inactive"):t.el.classList.add("header-collapse-condense-inactive")},Xt=(t=[],e=1,n=!1)=>{t.forEach((t=>{const o=t.ionTitleEl,i=t.innerTitleEl;o&&"large"===o.size&&(i.style.transition=n?Ft:"",i.style.transform=`scale3d(${e}, ${e}, 1)`)}))},Jt=(t,e,n)=>{(0,r.wj)((()=>{const o=t.scrollTop,i=e.clientHeight,a=n?n.clientHeight:0;if(null!==n&&o{t.style.removeProperty("clip-path"),e.style.setProperty("--opacity-scale",c.toString())}))}))},Kt="ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-ios ion-toolbar:last-of-type{--border-width:0 0 0.55px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.header-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.header-translucent-ios ion-toolbar{--opacity:.8}.header-collapse-condense-inactive .header-background{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}}.header-ios.ion-no-border ion-toolbar:last-of-type{--border-width:0}.header-collapse-fade ion-toolbar{--opacity-scale:inherit}.header-collapse-condense{z-index:9}.header-collapse-condense ion-toolbar{position:-webkit-sticky;position:sticky;top:0}.header-collapse-condense ion-toolbar:first-of-type{padding-top:7px;z-index:1}.header-collapse-condense ion-toolbar{--background:var(--ion-background-color, #fff);z-index:0}.header-collapse-condense ion-toolbar:last-of-type{--border-width:0px}.header-collapse-condense ion-toolbar ion-searchbar{height:48px;padding-top:0px;padding-bottom:13px}.header-collapse-main{--opacity-scale:1}.header-collapse-main ion-toolbar{--opacity-scale:inherit}.header-collapse-main ion-toolbar.in-toolbar ion-title,.header-collapse-main ion-toolbar.in-toolbar ion-buttons{-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-buttons.buttons-collapse{opacity:0;pointer-events:none}.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-buttons.buttons-collapse{visibility:hidden}",Zt='ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-md::after{left:0;bottom:-5px;background-position:left 0 top -2px;position:absolute;width:100%;height:5px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAHBAMAAADzDtBxAAAAD1BMVEUAAAAAAAAAAAAAAAAAAABPDueNAAAABXRSTlMUCS0gBIh/TXEAAAAaSURBVAjXYxCEAgY4UIICBmMogMsgFLtAAQCNSwXZKOdPxgAAAABJRU5ErkJggg==);background-repeat:repeat-x;content:""}[dir=rtl] .header-md::after,:host-context([dir=rtl]) .header-md::after{left:unset;right:unset;right:0}[dir=rtl] .header-md::after,:host-context([dir=rtl]) .header-md::after{background-position:right 0 top -2px}.header-collapse-condense{display:none}.header-md.ion-no-border::after{display:none}',Qt=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.inheritedAttributes={},this.translucent=!1,this.setupFadeHeader=async(t,e)=>{const n=this.scrollEl=await(0,Bt.g)(t);this.contentScrollCallback=()=>{Jt(this.scrollEl,this.el,e)},n.addEventListener("scroll",this.contentScrollCallback),Jt(this.scrollEl,this.el,e)}}componentWillLoad(){this.inheritedAttributes=(0,M.i)(this.el)}componentDidLoad(){this.checkCollapsibleHeader()}componentDidUpdate(){this.checkCollapsibleHeader()}disconnectedCallback(){this.destroyCollapsibleHeader()}async checkCollapsibleHeader(){const t=z(this);if("ios"!==t)return;const{collapse:e}=this,n="condense"===e,o="fade"===e;if(this.destroyCollapsibleHeader(),n){const t=this.el.closest("ion-app,ion-page,.ion-page,page-inner"),e=t?(0,Bt.f)(t):null;(0,r.Iu)((()=>{const t=Ht("ion-title");t.size="large",Ht("ion-back-button")})),await this.setupCondenseHeader(e,t)}else if(o){const t=this.el.closest("ion-app,ion-page,.ion-page,page-inner"),e=t?(0,Bt.f)(t):null;if(!e)return void(0,Bt.p)(this.el);const n=e.querySelector('ion-header[collapse="condense"]');await this.setupFadeHeader(e,n)}}destroyCollapsibleHeader(){this.intersectionObserver&&(this.intersectionObserver.disconnect(),this.intersectionObserver=void 0),this.scrollEl&&this.contentScrollCallback&&(this.scrollEl.removeEventListener("scroll",this.contentScrollCallback),this.contentScrollCallback=void 0),this.collapsibleMainHeader&&(this.collapsibleMainHeader.classList.remove("header-collapse-main"),this.collapsibleMainHeader=void 0)}async setupCondenseHeader(t,e){if(!t||!e)return void(0,Bt.p)(this.el);if("undefined"===typeof IntersectionObserver)return;this.scrollEl=await(0,Bt.g)(t);const n=e.querySelectorAll("ion-header");if(this.collapsibleMainHeader=Array.from(n).find((t=>"condense"!==t.collapse)),!this.collapsibleMainHeader)return;const o=Wt(this.collapsibleMainHeader),i=Wt(this.el);if(!o||!i)return;Gt(o,!1),qt(o.el,0);const a=t=>{Yt(t,o,i,this.scrollEl)};this.intersectionObserver=new IntersectionObserver(a,{root:t,threshold:[.25,.3,.4,.5,.6,.7,.8,.9,1]}),this.intersectionObserver.observe(i.toolbars[i.toolbars.length-1].el),this.contentScrollCallback=()=>{Ut(this.scrollEl,i,t)},this.scrollEl.addEventListener("scroll",this.contentScrollCallback),(0,r.Iu)((()=>{void 0!==this.collapsibleMainHeader&&this.collapsibleMainHeader.classList.add("header-collapse-main")}))}render(){const{translucent:t,inheritedAttributes:e}=this,n=z(this),o=this.collapse||"none",i=B("ion-menu",this.el)?"none":"banner";return(0,r.h)(r.AA,Object.assign({role:i,class:{[n]:!0,[`header-${n}`]:!0,["header-translucent"]:this.translucent,[`header-collapse-${o}`]:!0,[`header-translucent-${n}`]:this.translucent}},e),"ios"===n&&t&&(0,r.h)("div",{class:"header-background"}),(0,r.h)("slot",null))}get el(){return this}static get style(){return{ios:Kt,md:Zt}}},[36,"ion-header",{collapse:[1],translucent:[4]}]);function te(){if("undefined"===typeof customElements)return;const t=["ion-header"];t.forEach((t=>{switch(t){case"ion-header":customElements.get(t)||customElements.define(t,Qt);break}}))}const ee=te,ne=":host{display:block;-o-object-fit:contain;object-fit:contain}img{display:block;width:100%;height:100%;-o-object-fit:inherit;object-fit:inherit;-o-object-position:inherit;object-position:inherit}",oe=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionImgWillLoad=(0,r.yM)(this,"ionImgWillLoad",7),this.ionImgDidLoad=(0,r.yM)(this,"ionImgDidLoad",7),this.ionError=(0,r.yM)(this,"ionError",7),this.inheritedAttributes={},this.onLoad=()=>{this.ionImgDidLoad.emit()},this.onError=()=>{this.ionError.emit()}}srcChanged(){this.addIO()}componentWillLoad(){this.inheritedAttributes=(0,M.k)(this.el,["draggable"])}componentDidLoad(){this.addIO()}addIO(){void 0!==this.src&&("undefined"!==typeof window&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype?(this.removeIO(),this.io=new IntersectionObserver((t=>{t[t.length-1].isIntersecting&&(this.load(),this.removeIO())})),this.io.observe(this.el)):setTimeout((()=>this.load()),200))}load(){this.loadError=this.onError,this.loadSrc=this.src,this.ionImgWillLoad.emit()}removeIO(){this.io&&(this.io.disconnect(),this.io=void 0)}render(){const{loadSrc:t,alt:e,onLoad:n,loadError:o,inheritedAttributes:i}=this,{draggable:a}=i;return(0,r.h)(r.AA,{class:z(this)},(0,r.h)("img",{decoding:"async",src:t,alt:e,onLoad:n,onError:o,part:"image",draggable:ie(a)}))}get el(){return this}static get watchers(){return{src:["srcChanged"]}}static get style(){return ne}},[1,"ion-img",{alt:[1],src:[1],loadSrc:[32],loadError:[32]}]),ie=t=>{switch(t){case"true":return!0;case"false":return!1;default:return}};function re(){if("undefined"===typeof customElements)return;const t=["ion-img"];t.forEach((t=>{switch(t){case"ion-img":customElements.get(t)||customElements.define(t,oe);break}}))}const ae=re,se="ion-infinite-scroll{display:none;width:100%}.infinite-scroll-enabled{display:block}",le=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.ionInfinite=(0,r.yM)(this,"ionInfinite",7),this.thrPx=0,this.thrPc=0,this.didFire=!1,this.isBusy=!1,this.isLoading=!1,this.threshold="15%",this.disabled=!1,this.position="bottom",this.onScroll=()=>{const t=this.scrollEl;if(!t||!this.canStart())return 1;const e=this.el.offsetHeight;if(0===e)return 2;const n=t.scrollTop,o=t.scrollHeight,i=t.offsetHeight,r=0!==this.thrPc?i*this.thrPc:this.thrPx,a="bottom"===this.position?o-e-n-r-i:n-e-r;if(a<0){if(!this.didFire)return this.isLoading=!0,this.didFire=!0,this.ionInfinite.emit(),3}else this.didFire=!1;return 4}}thresholdChanged(){const t=this.threshold;t.lastIndexOf("%")>-1?(this.thrPx=0,this.thrPc=parseFloat(t)/100):(this.thrPx=parseFloat(t),this.thrPc=0)}disabledChanged(){const t=this.disabled;t&&(this.isLoading=!1,this.isBusy=!1),this.enableScrollEvents(!t)}async connectedCallback(){const t=(0,Bt.a)(this.el);t?(this.scrollEl=await(0,Bt.g)(t),this.thresholdChanged(),this.disabledChanged(),"top"===this.position&&(0,r.Iu)((()=>{this.scrollEl&&(this.scrollEl.scrollTop=this.scrollEl.scrollHeight-this.scrollEl.clientHeight)}))):(0,Bt.p)(this.el)}disconnectedCallback(){this.enableScrollEvents(!1),this.scrollEl=void 0}async complete(){const t=this.scrollEl;if(this.isLoading&&t&&(this.isLoading=!1,"top"===this.position)){this.isBusy=!0;const e=t.scrollHeight-t.scrollTop;requestAnimationFrame((()=>{(0,r.wj)((()=>{const n=t.scrollHeight,o=n-e;requestAnimationFrame((()=>{(0,r.Iu)((()=>{t.scrollTop=o,this.isBusy=!1}))}))}))}))}}canStart(){return!this.disabled&&!this.isBusy&&!!this.scrollEl&&!this.isLoading}enableScrollEvents(t){this.scrollEl&&(t?this.scrollEl.addEventListener("scroll",this.onScroll):this.scrollEl.removeEventListener("scroll",this.onScroll))}render(){const t=z(this),e=this.disabled;return(0,r.h)(r.AA,{class:{[t]:!0,"infinite-scroll-loading":this.isLoading,"infinite-scroll-enabled":!e}})}get el(){return this}static get watchers(){return{threshold:["thresholdChanged"],disabled:["disabledChanged"]}}static get style(){return se}},[0,"ion-infinite-scroll",{threshold:[1],disabled:[4],position:[1],isLoading:[32],complete:[64]}]);function ce(){if("undefined"===typeof customElements)return;const t=["ion-infinite-scroll"];t.forEach((t=>{switch(t){case"ion-infinite-scroll":customElements.get(t)||customElements.define(t,le);break}}))}const de=ce,ue=t=>{try{if(t instanceof be)return t.value;if(!fe()||"string"!==typeof t||""===t)return t;const e=document.createDocumentFragment(),n=document.createElement("div");e.appendChild(n),n.innerHTML=t,ge.forEach((t=>{const n=e.querySelectorAll(t);for(let o=n.length-1;o>=0;o--){const t=n[o];t.parentNode?t.parentNode.removeChild(t):e.removeChild(t);const i=pe(t);for(let e=0;e{if(t.nodeType&&1!==t.nodeType)return;for(let n=t.attributes.length-1;n>=0;n--){const e=t.attributes.item(n),o=e.name;if(!me.includes(o.toLowerCase())){t.removeAttribute(o);continue}const i=e.value;null!=i&&i.toLowerCase().includes("javascript:")&&t.removeAttribute(o)}const e=pe(t);for(let n=0;nnull!=t.children?t.children:t.childNodes,fe=()=>{var t;const e=window,n=null===(t=null===e||void 0===e?void 0:e.Ionic)||void 0===t?void 0:t.config;return!n||(n.get?n.get("sanitizerEnabled",!0):!0===n.sanitizerEnabled||void 0===n.sanitizerEnabled)},me=["class","id","href","src","name","slot"],ge=["script","style","iframe","meta","link","object","embed"];class be{constructor(t){this.value=t}} +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const ve={bubbles:{dur:1e3,circles:9,fn:(t,e,n)=>{const o=t*e/n-t+"ms",i=2*Math.PI*e/n;return{r:5,style:{top:9*Math.sin(i)+"px",left:9*Math.cos(i)+"px","animation-delay":o}}}},circles:{dur:1e3,circles:8,fn:(t,e,n)=>{const o=e/n,i=t*o-t+"ms",r=2*Math.PI*o;return{r:5,style:{top:9*Math.sin(r)+"px",left:9*Math.cos(r)+"px","animation-delay":i}}}},circular:{dur:1400,elmDuration:!0,circles:1,fn:()=>({r:20,cx:48,cy:48,fill:"none",viewBox:"24 24 48 48",transform:"translate(0,0)",style:{}})},crescent:{dur:750,circles:1,fn:()=>({r:26,style:{}})},dots:{dur:750,circles:3,fn:(t,e)=>{const n=-110*e+"ms";return{r:6,style:{left:9-9*e+"px","animation-delay":n}}}},lines:{dur:1e3,lines:8,fn:(t,e,n)=>{const o=`rotate(${360/n*e+(e{const o=`rotate(${360/n*e+(e{const o=`rotate(${30*e+(e<6?180:-180)}deg)`,i=t*e/n-t+"ms";return{y1:17,y2:29,style:{transform:o,"animation-delay":i}}}},"lines-sharp-small":{dur:1e3,lines:12,fn:(t,e,n)=>{const o=`rotate(${30*e+(e<6?180:-180)}deg)`,i=t*e/n-t+"ms";return{y1:12,y2:20,style:{transform:o,"animation-delay":i}}}}},ye=ve,we=":host{display:inline-block;position:relative;width:28px;height:28px;color:var(--color);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.ion-color){color:var(--ion-color-base)}svg{-webkit-transform-origin:center;transform-origin:center;position:absolute;top:0;left:0;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0)}[dir=rtl] svg,:host-context([dir=rtl]) svg{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}:host(.spinner-lines) line,:host(.spinner-lines-small) line{stroke-width:7px}:host(.spinner-lines-sharp) line,:host(.spinner-lines-sharp-small) line{stroke-width:4px}:host(.spinner-lines) line,:host(.spinner-lines-small) line,:host(.spinner-lines-sharp) line,:host(.spinner-lines-sharp-small) line{stroke-linecap:round;stroke:currentColor}:host(.spinner-lines) svg,:host(.spinner-lines-small) svg,:host(.spinner-lines-sharp) svg,:host(.spinner-lines-sharp-small) svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite}:host(.spinner-bubbles) svg{-webkit-animation:spinner-scale-out 1s linear infinite;animation:spinner-scale-out 1s linear infinite;fill:currentColor}:host(.spinner-circles) svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite;fill:currentColor}:host(.spinner-crescent) circle{fill:transparent;stroke-width:4px;stroke-dasharray:128px;stroke-dashoffset:82px;stroke:currentColor}:host(.spinner-crescent) svg{-webkit-animation:spinner-rotate 1s linear infinite;animation:spinner-rotate 1s linear infinite}:host(.spinner-dots) circle{stroke-width:0;fill:currentColor}:host(.spinner-dots) svg{-webkit-animation:spinner-dots 1s linear infinite;animation:spinner-dots 1s linear infinite}:host(.spinner-circular) svg{-webkit-animation:spinner-circular linear infinite;animation:spinner-circular linear infinite}:host(.spinner-circular) circle{-webkit-animation:spinner-circular-inner ease-in-out infinite;animation:spinner-circular-inner ease-in-out infinite;stroke:currentColor;stroke-dasharray:80px, 200px;stroke-dashoffset:0px;stroke-width:5.6;fill:none}:host(.spinner-paused),:host(.spinner-paused) svg,:host(.spinner-paused) circle{-webkit-animation-play-state:paused;animation-play-state:paused}@-webkit-keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes spinner-scale-out{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}100%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}}@keyframes spinner-scale-out{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}100%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}}@-webkit-keyframes spinner-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-dots{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}50%{-webkit-transform:scale(0.4, 0.4);transform:scale(0.4, 0.4);opacity:0.3}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}}@keyframes spinner-dots{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}50%{-webkit-transform:scale(0.4, 0.4);transform:scale(0.4, 0.4);opacity:0.3}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}}@-webkit-keyframes spinner-circular{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-circular{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}@keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}",xe=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.paused=!1}getName(){const t=this.name||s.get("spinner"),e=z(this);return t||("ios"===e?"lines":"circular")}render(){const t=this,e=z(t),n=t.getName(),o=ye[n]||ye["lines"],i="number"===typeof t.duration&&t.duration>10?t.duration:o.dur,a=[];if(void 0!==o.circles)for(let r=0;r{const i=t.fn(e,n,o);return i.style["animation-duration"]=e+"ms",(0,r.h)("svg",{viewBox:i.viewBox||"0 0 64 64",style:i.style},(0,r.h)("circle",{transform:i.transform||"translate(32,32)",cx:i.cx,cy:i.cy,r:i.r,style:t.elmDuration?{animationDuration:e+"ms"}:{}}))},$e=(t,e,n,o)=>{const i=t.fn(e,n,o);return i.style["animation-duration"]=e+"ms",(0,r.h)("svg",{viewBox:i.viewBox||"0 0 64 64",style:i.style},(0,r.h)("line",{transform:"translate(32,32)",y1:i.y1,y2:i.y2}))};function Ee(){if("undefined"===typeof customElements)return;const t=["ion-spinner"];t.forEach((t=>{switch(t){case"ion-spinner":customElements.get(t)||customElements.define(t,xe);break}}))} +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const Se="ion-infinite-scroll-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:84px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.infinite-loading{margin-left:0;margin-right:0;margin-top:0;margin-bottom:32px;display:none;width:100%}.infinite-loading-text{margin-left:32px;margin-right:32px;margin-top:4px;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.infinite-loading-text{margin-left:unset;margin-right:unset;-webkit-margin-start:32px;margin-inline-start:32px;-webkit-margin-end:32px;margin-inline-end:32px}}.infinite-scroll-loading ion-infinite-scroll-content>.infinite-loading{display:block}.infinite-scroll-content-ios .infinite-loading-text{color:var(--ion-color-step-600, #666666)}.infinite-scroll-content-ios .infinite-loading-spinner .spinner-lines-ios line,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-lines-small-ios line,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-crescent circle{stroke:var(--ion-color-step-600, #666666)}.infinite-scroll-content-ios .infinite-loading-spinner .spinner-bubbles circle,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-circles circle,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-dots circle{fill:var(--ion-color-step-600, #666666)}",_e="ion-infinite-scroll-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:84px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.infinite-loading{margin-left:0;margin-right:0;margin-top:0;margin-bottom:32px;display:none;width:100%}.infinite-loading-text{margin-left:32px;margin-right:32px;margin-top:4px;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.infinite-loading-text{margin-left:unset;margin-right:unset;-webkit-margin-start:32px;margin-inline-start:32px;-webkit-margin-end:32px;margin-inline-end:32px}}.infinite-scroll-loading ion-infinite-scroll-content>.infinite-loading{display:block}.infinite-scroll-content-md .infinite-loading-text{color:var(--ion-color-step-600, #666666)}.infinite-scroll-content-md .infinite-loading-spinner .spinner-lines-md line,.infinite-scroll-content-md .infinite-loading-spinner .spinner-lines-small-md line,.infinite-scroll-content-md .infinite-loading-spinner .spinner-crescent circle{stroke:var(--ion-color-step-600, #666666)}.infinite-scroll-content-md .infinite-loading-spinner .spinner-bubbles circle,.infinite-scroll-content-md .infinite-loading-spinner .spinner-circles circle,.infinite-scroll-content-md .infinite-loading-spinner .spinner-dots circle{fill:var(--ion-color-step-600, #666666)}",Ce=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost()}componentDidLoad(){if(void 0===this.loadingSpinner){const t=z(this);this.loadingSpinner=s.get("infiniteLoadingSpinner",s.get("spinner","ios"===t?"lines":"crescent"))}}render(){const t=z(this);return(0,r.h)(r.AA,{class:{[t]:!0,[`infinite-scroll-content-${t}`]:!0}},(0,r.h)("div",{class:"infinite-loading"},this.loadingSpinner&&(0,r.h)("div",{class:"infinite-loading-spinner"},(0,r.h)("ion-spinner",{name:this.loadingSpinner})),this.loadingText&&(0,r.h)("div",{class:"infinite-loading-text",innerHTML:ue(this.loadingText)})))}static get style(){return{ios:Se,md:_e}}},[32,"ion-infinite-scroll-content",{loadingSpinner:[1025,"loading-spinner"],loadingText:[1,"loading-text"]}]);function Ae(){if("undefined"===typeof customElements)return;const t=["ion-infinite-scroll-content","ion-spinner"];t.forEach((t=>{switch(t){case"ion-infinite-scroll-content":customElements.get(t)||customElements.define(t,Ce);break;case"ion-spinner":customElements.get(t)||Ee();break}}))}const Te=Ae,Ie=".sc-ion-input-ios-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:.5;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--background:transparent;--color:initial;display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;width:100%;padding:0 !important;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2}ion-item.sc-ion-input-ios-h:not(.item-label),ion-item:not(.item-label) .sc-ion-input-ios-h{--padding-start:0}.ion-color.sc-ion-input-ios-h{color:var(--ion-color-base)}.native-input.sc-ion-input-ios{border-radius:var(--border-radius);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:inline-block;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.native-input.sc-ion-input-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.native-input.sc-ion-input-ios::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios:-webkit-autofill{background-color:transparent}.native-input.sc-ion-input-ios:invalid{-webkit-box-shadow:none;box-shadow:none}.native-input.sc-ion-input-ios::-ms-clear{display:none}.native-input[disabled].sc-ion-input-ios{opacity:0.4}.cloned-input.sc-ion-input-ios{left:0;top:0;position:absolute;pointer-events:none}[dir=rtl].sc-ion-input-ios .cloned-input.sc-ion-input-ios,[dir=rtl].sc-ion-input-ios-h .cloned-input.sc-ion-input-ios,[dir=rtl] .sc-ion-input-ios-h .cloned-input.sc-ion-input-ios{left:unset;right:unset;right:0}.input-clear-icon.sc-ion-input-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;background-position:center;border:0;outline:none;background-color:transparent;background-repeat:no-repeat;visibility:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}.input-clear-icon.sc-ion-input-ios:focus{opacity:0.5}.has-value.sc-ion-input-ios-h .input-clear-icon.sc-ion-input-ios{visibility:visible}.has-focus.sc-ion-input-ios-h{pointer-events:none}.has-focus.sc-ion-input-ios-h input.sc-ion-input-ios,.has-focus.sc-ion-input-ios-h a.sc-ion-input-ios,.has-focus.sc-ion-input-ios-h button.sc-ion-input-ios{pointer-events:auto}.item-label-floating.item-has-placeholder.sc-ion-input-ios-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-input-ios-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-input-ios-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-input-ios-h{-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.sc-ion-input-ios-h{--padding-top:10px;--padding-end:10px;--padding-bottom:10px;--padding-start:0;font-size:inherit}.item-label-stacked.sc-ion-input-ios-h,.item-label-stacked .sc-ion-input-ios-h,.item-label-floating.sc-ion-input-ios-h,.item-label-floating .sc-ion-input-ios-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0px}.input-clear-icon.sc-ion-input-ios{background-image:url(\"data:image/svg+xml;charset=utf-8,\");width:30px;height:30px;background-size:18px}",Le=".sc-ion-input-md-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:.5;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--background:transparent;--color:initial;display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;width:100%;padding:0 !important;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2}ion-item.sc-ion-input-md-h:not(.item-label),ion-item:not(.item-label) .sc-ion-input-md-h{--padding-start:0}.ion-color.sc-ion-input-md-h{color:var(--ion-color-base)}.native-input.sc-ion-input-md{border-radius:var(--border-radius);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:inline-block;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.native-input.sc-ion-input-md{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.native-input.sc-ion-input-md::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md:-webkit-autofill{background-color:transparent}.native-input.sc-ion-input-md:invalid{-webkit-box-shadow:none;box-shadow:none}.native-input.sc-ion-input-md::-ms-clear{display:none}.native-input[disabled].sc-ion-input-md{opacity:0.4}.cloned-input.sc-ion-input-md{left:0;top:0;position:absolute;pointer-events:none}[dir=rtl].sc-ion-input-md .cloned-input.sc-ion-input-md,[dir=rtl].sc-ion-input-md-h .cloned-input.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h .cloned-input.sc-ion-input-md{left:unset;right:unset;right:0}.input-clear-icon.sc-ion-input-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;background-position:center;border:0;outline:none;background-color:transparent;background-repeat:no-repeat;visibility:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}.input-clear-icon.sc-ion-input-md:focus{opacity:0.5}.has-value.sc-ion-input-md-h .input-clear-icon.sc-ion-input-md{visibility:visible}.has-focus.sc-ion-input-md-h{pointer-events:none}.has-focus.sc-ion-input-md-h input.sc-ion-input-md,.has-focus.sc-ion-input-md-h a.sc-ion-input-md,.has-focus.sc-ion-input-md-h button.sc-ion-input-md{pointer-events:auto}.item-label-floating.item-has-placeholder.sc-ion-input-md-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-input-md-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-input-md-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-input-md-h{-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.sc-ion-input-md-h{--padding-top:10px;--padding-end:0;--padding-bottom:10px;--padding-start:8px;font-size:inherit}.item-label-stacked.sc-ion-input-md-h,.item-label-stacked .sc-ion-input-md-h,.item-label-floating.sc-ion-input-md-h,.item-label-floating .sc-ion-input-md-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0}.input-clear-icon.sc-ion-input-md{background-image:url(\"data:image/svg+xml;charset=utf-8,\");width:30px;height:30px;background-size:22px}",Re=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.ionInput=(0,r.yM)(this,"ionInput",7),this.ionChange=(0,r.yM)(this,"ionChange",7),this.ionBlur=(0,r.yM)(this,"ionBlur",7),this.ionFocus=(0,r.yM)(this,"ionFocus",7),this.ionStyle=(0,r.yM)(this,"ionStyle",7),this.inputId="ion-input-"+Oe++,this.didBlurAfterEdit=!1,this.inheritedAttributes={},this.isComposing=!1,this.fireFocusEvents=!0,this.hasFocus=!1,this.autocapitalize="off",this.autocomplete="off",this.autocorrect="off",this.autofocus=!1,this.clearInput=!1,this.debounce=0,this.disabled=!1,this.name=this.inputId,this.readonly=!1,this.required=!1,this.spellcheck=!1,this.type="text",this.value="",this.onInput=t=>{const e=t.target;e&&(this.value=e.value||""),this.ionInput.emit(t)},this.onBlur=t=>{this.hasFocus=!1,this.focusChanged(),this.emitStyle(),this.fireFocusEvents&&this.ionBlur.emit(t)},this.onFocus=t=>{this.hasFocus=!0,this.focusChanged(),this.emitStyle(),this.fireFocusEvents&&this.ionFocus.emit(t)},this.onKeydown=t=>{this.shouldClearOnEdit()&&(this.didBlurAfterEdit&&this.hasValue()&&"Enter"!==t.key&&this.clearTextInput(),this.didBlurAfterEdit=!1)},this.onCompositionStart=()=>{this.isComposing=!0},this.onCompositionEnd=()=>{this.isComposing=!1},this.clearTextOnEnter=t=>{"Enter"===t.key&&this.clearTextInput(t)},this.clearTextInput=t=>{this.clearInput&&!this.readonly&&!this.disabled&&t&&(t.preventDefault(),t.stopPropagation(),this.setFocus()),this.value="",this.nativeInput&&(this.nativeInput.value="")}}debounceChanged(){this.ionChange=(0,M.l)(this.ionChange,this.debounce)}disabledChanged(){this.emitStyle()}placeholderChanged(){this.emitStyle()}valueChanged(){const t=this.nativeInput,e=this.getValue();t&&t.value!==e&&!this.isComposing&&(t.value=e),this.emitStyle(),this.ionChange.emit({value:null==this.value?this.value:this.value.toString()})}componentWillLoad(){this.inheritedAttributes=Object.assign(Object.assign({},(0,M.i)(this.el)),(0,M.k)(this.el,["tabindex","title"]))}connectedCallback(){this.emitStyle(),this.debounceChanged(),r.Z5.isBrowser&&document.dispatchEvent(new CustomEvent("ionInputDidLoad",{detail:this.el}))}componentDidLoad(){const t=this.nativeInput;t&&(t.addEventListener("compositionstart",this.onCompositionStart),t.addEventListener("compositionend",this.onCompositionEnd))}disconnectedCallback(){r.Z5.isBrowser&&document.dispatchEvent(new CustomEvent("ionInputDidUnload",{detail:this.el}));const t=this.nativeInput;t&&(t.removeEventListener("compositionstart",this.onCompositionStart),t.removeEventListener("compositionEnd",this.onCompositionEnd))}async setFocus(){this.nativeInput&&this.nativeInput.focus()}async setBlur(){this.nativeInput&&this.nativeInput.blur()}getInputElement(){return Promise.resolve(this.nativeInput)}shouldClearOnEdit(){const{type:t,clearOnEdit:e}=this;return void 0===e?"password"===t:e}getValue(){return"number"===typeof this.value?this.value.toString():(this.value||"").toString()}emitStyle(){this.ionStyle.emit({interactive:!0,input:!0,"has-placeholder":void 0!==this.placeholder,"has-value":this.hasValue(),"has-focus":this.hasFocus,"interactive-disabled":this.disabled})}focusChanged(){!this.hasFocus&&this.shouldClearOnEdit()&&this.hasValue()&&(this.didBlurAfterEdit=!0)}hasValue(){return this.getValue().length>0}render(){const t=z(this),e=this.getValue(),n=this.inputId+"-lbl",o=(0,M.m)(this.el);return o&&(o.id=n),(0,r.h)(r.AA,{"aria-disabled":this.disabled?"true":null,class:F(this.color,{[t]:!0,"has-value":this.hasValue(),"has-focus":this.hasFocus})},(0,r.h)("input",Object.assign({class:"native-input",ref:t=>this.nativeInput=t,"aria-labelledby":o?n:null,disabled:this.disabled,accept:this.accept,autoCapitalize:this.autocapitalize,autoComplete:this.autocomplete,autoCorrect:this.autocorrect,autoFocus:this.autofocus,enterKeyHint:this.enterkeyhint,inputMode:this.inputmode,min:this.min,max:this.max,minLength:this.minlength,maxLength:this.maxlength,multiple:this.multiple,name:this.name,pattern:this.pattern,placeholder:this.placeholder||"",readOnly:this.readonly,required:this.required,spellcheck:this.spellcheck,step:this.step,size:this.size,type:this.type,value:e,onInput:this.onInput,onBlur:this.onBlur,onFocus:this.onFocus,onKeyDown:this.onKeydown},this.inheritedAttributes)),this.clearInput&&!this.readonly&&!this.disabled&&(0,r.h)("button",{"aria-label":"reset",type:"button",class:"input-clear-icon",onTouchStart:this.clearTextInput,onMouseDown:this.clearTextInput,onKeyDown:this.clearTextOnEnter}))}get el(){return this}static get watchers(){return{debounce:["debounceChanged"],disabled:["disabledChanged"],placeholder:["placeholderChanged"],value:["valueChanged"]}}static get style(){return{ios:Ie,md:Le}}},[34,"ion-input",{fireFocusEvents:[4,"fire-focus-events"],color:[513],accept:[1],autocapitalize:[1],autocomplete:[1],autocorrect:[1],autofocus:[4],clearInput:[4,"clear-input"],clearOnEdit:[4,"clear-on-edit"],debounce:[2],disabled:[4],enterkeyhint:[1],inputmode:[1],max:[8],maxlength:[2],min:[8],minlength:[2],multiple:[4],name:[1],pattern:[1],placeholder:[1],readonly:[4],required:[4],spellcheck:[4],step:[1],size:[2],type:[1],value:[1032],hasFocus:[32],setFocus:[64],setBlur:[64],getInputElement:[64]}]);let Oe=0;function De(){if("undefined"===typeof customElements)return;const t=["ion-input"];t.forEach((t=>{switch(t){case"ion-input":customElements.get(t)||customElements.define(t,Re);break}}))}const Ne=De,Pe="data:image/svg+xml;utf8,Arrow Back",ze="data:image/svg+xml;utf8,Arrow Down",je="data:image/svg+xml;utf8,Caret Back",Me="data:image/svg+xml;utf8,Chevron Back",Be="data:image/svg+xml;utf8,Chevron Forward",Fe="data:image/svg+xml;utf8,Close Circle",He="data:image/svg+xml;utf8,Close",We="data:image/svg+xml;utf8,Search",Ue="data:image/svg+xml;utf8,Search";var qe=n(9370); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +let Ve;const Ye=()=>{if("undefined"===typeof window)return new Map;if(!Ve){const t=window;t.Ionicons=t.Ionicons||{},Ve=t.Ionicons.map=t.Ionicons.map||new Map}return Ve},Ge=t=>{let e=Ke(t.src);if(e)return e;if(e=Je(t.name,t.icon,t.mode,t.ios,t.md),e)return Xe(e);if(t.icon){if(e=Ke(t.icon),e)return e;if(e=Ke(t.icon[t.mode]),e)return e}return null},Xe=t=>{const e=Ye().get(t);return e||(0,r.K3)(`svg/${t}.svg`)},Je=(t,e,n,o,i)=>{if(n="ios"===(n&&tn(n))?"ios":"md",o&&"ios"===n?t=tn(o):i&&"md"===n?t=tn(i):(t||!e||Ze(e)||(t=e),Qe(t)&&(t=tn(t))),!Qe(t)||""===t.trim())return null;const r=t.replace(/[a-z]|-|\d/gi,"");return""!==r?null:t},Ke=t=>Qe(t)&&(t=t.trim(),Ze(t))?t:null,Ze=t=>t.length>0&&/(\/|\.)/.test(t),Qe=t=>"string"===typeof t,tn=t=>t.toLowerCase(),en=(t,e=[])=>{const n={};return e.forEach((e=>{if(t.hasAttribute(e)){const o=t.getAttribute(e);null!==o&&(n[e]=t.getAttribute(e)),t.removeAttribute(e)}})),n},nn=t=>{const e=document.createElement("div");e.innerHTML=t;for(let o=e.childNodes.length-1;o>=0;o--)"svg"!==e.childNodes[o].nodeName.toLowerCase()&&e.removeChild(e.childNodes[o]);const n=e.firstElementChild;if(n&&"svg"===n.nodeName.toLowerCase()){const t=n.getAttribute("class")||"";if(n.setAttribute("class",(t+" s-ion-icon").trim()),on(n))return e.innerHTML}return""},on=t=>{if(1===t.nodeType){if("script"===t.nodeName.toLowerCase())return!1;for(let e=0;e{let n=an.get(t);if(!n){if("undefined"===typeof fetch||"undefined"===typeof document)return rn.set(t,""),Promise.resolve();n=fetch(t).then((n=>{if(n.ok)return n.text().then((n=>{n&&!1!==e&&(n=nn(n)),rn.set(t,n||"")}));rn.set(t,"")})),an.set(t,n)}return n},ln=":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}:host(.flip-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.icon-small){font-size:18px !important}:host(.icon-large){font-size:32px !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}",cn=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.iconName=null,this.inheritedAttributes={},this.isVisible=!1,this.mode=dn(),this.lazy=!1,this.sanitize=!0,this.hasAriaHidden=()=>{const{el:t}=this;return t.hasAttribute("aria-hidden")&&"true"===t.getAttribute("aria-hidden")}}componentWillLoad(){this.inheritedAttributes=en(this.el,["aria-label"])}connectedCallback(){this.waitUntilVisible(this.el,"50px",(()=>{this.isVisible=!0,this.loadIcon()}))}disconnectedCallback(){this.io&&(this.io.disconnect(),this.io=void 0)}waitUntilVisible(t,e,n){if(r.Z5.isBrowser&&this.lazy&&"undefined"!==typeof window&&window.IntersectionObserver){const o=this.io=new window.IntersectionObserver((t=>{t[0].isIntersecting&&(o.disconnect(),this.io=void 0,n())}),{rootMargin:e});o.observe(t)}else n()}loadIcon(){if(r.Z5.isBrowser&&this.isVisible){const t=Ge(this);t&&(rn.has(t)?this.svgContent=rn.get(t):sn(t,this.sanitize).then((()=>this.svgContent=rn.get(t))))}const t=this.iconName=Je(this.name,this.icon,this.mode,this.ios,this.md);t&&(this.ariaLabel=t.replace(/\-/g," "))}render(){const{iconName:t,ariaLabel:e,inheritedAttributes:n}=this,o=this.mode||"md",i=this.flipRtl||t&&(t.indexOf("arrow")>-1||t.indexOf("chevron")>-1)&&!1!==this.flipRtl;return(0,r.h)(r.AA,Object.assign({"aria-label":void 0===e||this.hasAriaHidden()?null:e,role:"img",class:Object.assign(Object.assign({[o]:!0},un(this.color)),{[`icon-${this.size}`]:!!this.size,"flip-rtl":!!i&&"rtl"===this.el.ownerDocument.dir})},n),r.Z5.isBrowser&&this.svgContent?(0,r.h)("div",{class:"icon-inner",innerHTML:this.svgContent}):(0,r.h)("div",{class:"icon-inner"}))}static get assetsDirs(){return["svg"]}get el(){return this}static get watchers(){return{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"]}}static get style(){return ln}},[1,"ion-icon",{mode:[1025],color:[1],ios:[1],md:[1],flipRtl:[4,"flip-rtl"],name:[513],src:[1],icon:[8],size:[1],lazy:[4],sanitize:[4],svgContent:[32],isVisible:[32],ariaLabel:[32]}]),dn=()=>r.Z5.isBrowser&&"undefined"!==typeof document&&document.documentElement.getAttribute("mode")||"md",un=t=>t?{"ion-color":!0,[`ion-color-${t}`]:!0}:null;function hn(){if("undefined"===typeof customElements)return;const t=["ion-icon"];t.forEach((t=>{switch(t){case"ion-icon":customElements.get(t)||customElements.define(t,cn);break}}))} +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const pn=":host{color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-350, #a6a6a6)}",fn=":host{color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, #666666);font-size:14px}",mn=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.__attachShadow()}render(){const t=z(this);return(0,r.h)(r.AA,{class:F(this.color,{[t]:!0})},(0,r.h)("slot",null))}static get style(){return{ios:pn,md:fn}}},[33,"ion-note",{color:[513]}]);function gn(){if("undefined"===typeof customElements)return;const t=["ion-note"];t.forEach((t=>{switch(t){case"ion-note":customElements.get(t)||customElements.define(t,mn);break}}))} +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const bn=':host{--border-radius:0px;--border-width:0px;--border-style:solid;--padding-top:0px;--padding-bottom:0px;--padding-end:0px;--padding-start:0px;--inner-border-width:0px;--inner-padding-top:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;--inner-padding-end:0px;--inner-box-shadow:none;--show-full-highlight:0;--show-inset-highlight:0;--detail-icon-color:initial;--detail-icon-font-size:20px;--detail-icon-opacity:0.25;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:initial;text-decoration:none;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native,:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-inner{border-color:var(--ion-color-shade)}:host(.ion-activated) .item-native{color:var(--color-activated)}:host(.ion-activated) .item-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-color.ion-activated) .item-native{color:var(--ion-color-contrast)}:host(.ion-focused) .item-native{color:var(--color-focused)}:host(.ion-focused) .item-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-color.ion-focused) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .item-native::after{background:var(--ion-color-contrast)}@media (any-hover: hover){:host(.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--color-hover)}:host(.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--ion-color-contrast)}}:host(.item-interactive-disabled:not(.item-multiple-inputs)){cursor:default;pointer-events:none}:host(.item-disabled){cursor:default;opacity:0.3;pointer-events:none}.item-native{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box;z-index:1}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-native{padding-left:unset;padding-right:unset;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.item-native::-moz-focus-inner{border:0}.item-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0;-webkit-transition:var(--transition);transition:var(--transition);z-index:-1}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}.item-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--inner-padding-start);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);-webkit-box-shadow:var(--inner-box-shadow);box-shadow:var(--inner-box-shadow);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-inner{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--inner-padding-start);padding-inline-start:var(--inner-padding-start);-webkit-padding-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-inline-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end))}}.item-bottom{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:var(--inner-padding-end);padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-bottom{padding-left:unset;padding-right:unset;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--inner-padding-end);padding-inline-end:var(--inner-padding-end)}}.item-detail-icon{color:var(--detail-icon-color);font-size:var(--detail-icon-font-size);opacity:var(--detail-icon-opacity)}::slotted(ion-icon){font-size:1.6em}::slotted(ion-button){--margin-top:0;--margin-bottom:0;--margin-start:0;--margin-end:0;z-index:1}::slotted(ion-label:not([slot=end])){-ms-flex:1;flex:1}:host(.item-input){-ms-flex-align:center;align-items:center}.input-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.item-label-stacked),:host(.item-label-floating){-ms-flex-align:start;align-items:start}:host(.item-label-stacked) .input-wrapper,:host(.item-label-floating) .input-wrapper{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.item-highlight,.item-inner-highlight{left:0;right:0;top:0;bottom:0;border-radius:inherit;position:absolute;width:100%;height:100%;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transition:border-bottom-width 200ms, -webkit-transform 200ms;transition:border-bottom-width 200ms, -webkit-transform 200ms;transition:transform 200ms, border-bottom-width 200ms;transition:transform 200ms, border-bottom-width 200ms, -webkit-transform 200ms;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.item-interactive.item-has-focus) .item-native{caret-color:var(--highlight-background)}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus),:host(.item-interactive.ion-touched.ion-invalid){--full-highlight-height:calc(var(--highlight-height) * var(--show-full-highlight));--inset-highlight-height:calc(var(--highlight-height) * var(--show-inset-highlight))}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus){--highlight-background:var(--highlight-color-focused)}:host(.item-interactive.ion-valid){--highlight-background:var(--highlight-color-valid)}:host(.item-interactive.ion-invalid){--highlight-background:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=helper]){display:none}::slotted([slot=error]){display:none;color:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=error]){display:block}:host(:not(.item-label)) ::slotted(ion-select){--padding-start:0;max-width:none}:host(.item-label-stacked) ::slotted(ion-select),:host(.item-label-floating) ::slotted(ion-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0;-ms-flex-item-align:stretch;align-self:stretch;width:100%;max-width:100%}:host(:not(.item-label)) ::slotted(ion-datetime){--padding-start:0}:host(.item-label-stacked) ::slotted(ion-datetime),:host(.item-label-floating) ::slotted(ion-datetime){--padding-start:0;width:100%}:host(.item-multiple-inputs) ::slotted(ion-checkbox),:host(.item-multiple-inputs) ::slotted(ion-datetime),:host(.item-multiple-inputs) ::slotted(ion-radio),:host(.item-multiple-inputs) ::slotted(ion-select){position:relative}:host(.item-textarea){-ms-flex-align:stretch;align-items:stretch}::slotted(ion-reorder[slot]){margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}:host(.item-fill-solid) ::slotted([slot=start]),:host(.item-fill-solid) ::slotted([slot=end]),:host(.item-fill-outline) ::slotted([slot=start]),:host(.item-fill-outline) ::slotted([slot=end]){-ms-flex-item-align:center;align-self:center}::slotted([slot=helper]),::slotted([slot=error]),.item-counter{padding-top:5px;font-size:12px;z-index:1}.item-counter{margin-left:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-counter{margin-left:unset;-webkit-margin-start:auto;margin-inline-start:auto}}@media (prefers-reduced-motion: reduce){.item-highlight,.item-inner-highlight{-webkit-transition:none;transition:none}}:host{--min-height:44px;--transition:background-color 200ms linear, opacity 200ms linear;--padding-start:20px;--inner-padding-end:10px;--inner-border-width:0px 0px 0.55px 0px;--background:var(--ion-item-background, var(--ion-background-color, #fff));--background-activated:#000;--background-focused:#000;--background-hover:currentColor;--background-activated-opacity:.12;--background-focused-opacity:.15;--background-hover-opacity:.04;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));--color:var(--ion-item-color, var(--ion-text-color, #000));--highlight-height:0px;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--bottom-padding-start:0px;font-size:17px}:host(.ion-activated){--transition:none}:host(.ion-color.ion-focused) .item-native::after{background:#000;opacity:0.15}:host(.ion-color.ion-activated) .item-native::after{background:#000;opacity:0.12}:host(.item-interactive){--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-full){--border-width:0px 0px 0.55px 0px;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-inset){--inner-border-width:0px 0px 0.55px 0px;--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-inset),:host(.item-lines-none){--border-width:0px;--show-full-highlight:0}:host(.item-lines-full),:host(.item-lines-none){--inner-border-width:0px;--show-inset-highlight:0}.item-highlight,.item-inner-highlight{-webkit-transition:none;transition:none}:host(.item-has-focus) .item-inner-highlight,:host(.item-has-focus) .item-highlight{border-top:none;border-right:none;border-left:none}::slotted([slot=start]){margin-left:0;margin-right:20px;margin-top:2px;margin-bottom:2px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:20px;margin-inline-end:20px}}::slotted([slot=end]){margin-left:10px;margin-right:10px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}::slotted(ion-icon[slot=start]),::slotted(ion-icon[slot=end]){margin-top:7px;margin-bottom:7px}::slotted(ion-toggle[slot=start]),::slotted(ion-toggle[slot=end]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host(.item-label-stacked) ::slotted([slot=end]),:host(.item-label-floating) ::slotted([slot=end]){margin-top:7px;margin-bottom:7px}::slotted(.button-small){--padding-top:0px;--padding-bottom:0px;--padding-start:.5em;--padding-end:.5em;height:24px;font-size:13px}::slotted(ion-avatar){width:36px;height:36px}::slotted(ion-thumbnail){width:56px;height:56px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:10px;margin-right:10px;margin-top:10px;margin-bottom:10px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}:host(.item-radio) ::slotted(ion-label),:host(.item-toggle) ::slotted(ion-label){margin-left:0px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.item-radio) ::slotted(ion-label),:host(.item-toggle) ::slotted(ion-label){margin-left:unset;-webkit-margin-start:0px;margin-inline-start:0px}}::slotted(ion-label){margin-left:0;margin-right:8px;margin-top:10px;margin-bottom:10px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-label){margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px}}:host(.item-label-floating),:host(.item-label-stacked){--min-height:68px}:host(.item-label-stacked) ::slotted(ion-select),:host(.item-label-floating) ::slotted(ion-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0px}:host(.item-label-fixed) ::slotted(ion-select),:host(.item-label-fixed) ::slotted(ion-datetime){--padding-start:0}',vn=':host{--border-radius:0px;--border-width:0px;--border-style:solid;--padding-top:0px;--padding-bottom:0px;--padding-end:0px;--padding-start:0px;--inner-border-width:0px;--inner-padding-top:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;--inner-padding-end:0px;--inner-box-shadow:none;--show-full-highlight:0;--show-inset-highlight:0;--detail-icon-color:initial;--detail-icon-font-size:20px;--detail-icon-opacity:0.25;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:initial;text-decoration:none;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-native,:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) .item-inner{border-color:var(--ion-color-shade)}:host(.ion-activated) .item-native{color:var(--color-activated)}:host(.ion-activated) .item-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-color.ion-activated) .item-native{color:var(--ion-color-contrast)}:host(.ion-focused) .item-native{color:var(--color-focused)}:host(.ion-focused) .item-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-color.ion-focused) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .item-native::after{background:var(--ion-color-contrast)}@media (any-hover: hover){:host(.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--color-hover)}:host(.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--ion-color-contrast)}}:host(.item-interactive-disabled:not(.item-multiple-inputs)){cursor:default;pointer-events:none}:host(.item-disabled){cursor:default;opacity:0.3;pointer-events:none}.item-native{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box;z-index:1}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-native{padding-left:unset;padding-right:unset;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.item-native::-moz-focus-inner{border:0}.item-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0;-webkit-transition:var(--transition);transition:var(--transition);z-index:-1}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}.item-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--inner-padding-start);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);-webkit-box-shadow:var(--inner-box-shadow);box-shadow:var(--inner-box-shadow);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-inner{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--inner-padding-start);padding-inline-start:var(--inner-padding-start);-webkit-padding-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-inline-end:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end))}}.item-bottom{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-right:var(--inner-padding-end);padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-bottom{padding-left:unset;padding-right:unset;-webkit-padding-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));padding-inline-start:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));-webkit-padding-end:var(--inner-padding-end);padding-inline-end:var(--inner-padding-end)}}.item-detail-icon{color:var(--detail-icon-color);font-size:var(--detail-icon-font-size);opacity:var(--detail-icon-opacity)}::slotted(ion-icon){font-size:1.6em}::slotted(ion-button){--margin-top:0;--margin-bottom:0;--margin-start:0;--margin-end:0;z-index:1}::slotted(ion-label:not([slot=end])){-ms-flex:1;flex:1}:host(.item-input){-ms-flex-align:center;align-items:center}.input-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.item-label-stacked),:host(.item-label-floating){-ms-flex-align:start;align-items:start}:host(.item-label-stacked) .input-wrapper,:host(.item-label-floating) .input-wrapper{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.item-highlight,.item-inner-highlight{left:0;right:0;top:0;bottom:0;border-radius:inherit;position:absolute;width:100%;height:100%;-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transition:border-bottom-width 200ms, -webkit-transform 200ms;transition:border-bottom-width 200ms, -webkit-transform 200ms;transition:transform 200ms, border-bottom-width 200ms;transition:transform 200ms, border-bottom-width 200ms, -webkit-transform 200ms;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.item-interactive.item-has-focus) .item-native{caret-color:var(--highlight-background)}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus),:host(.item-interactive.ion-touched.ion-invalid){--full-highlight-height:calc(var(--highlight-height) * var(--show-full-highlight));--inset-highlight-height:calc(var(--highlight-height) * var(--show-inset-highlight))}:host(.item-interactive.ion-focused),:host(.item-interactive.item-has-focus){--highlight-background:var(--highlight-color-focused)}:host(.item-interactive.ion-valid){--highlight-background:var(--highlight-color-valid)}:host(.item-interactive.ion-invalid){--highlight-background:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=helper]){display:none}::slotted([slot=error]){display:none;color:var(--highlight-color-invalid)}:host(.item-interactive.ion-invalid) ::slotted([slot=error]){display:block}:host(:not(.item-label)) ::slotted(ion-select){--padding-start:0;max-width:none}:host(.item-label-stacked) ::slotted(ion-select),:host(.item-label-floating) ::slotted(ion-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0;-ms-flex-item-align:stretch;align-self:stretch;width:100%;max-width:100%}:host(:not(.item-label)) ::slotted(ion-datetime){--padding-start:0}:host(.item-label-stacked) ::slotted(ion-datetime),:host(.item-label-floating) ::slotted(ion-datetime){--padding-start:0;width:100%}:host(.item-multiple-inputs) ::slotted(ion-checkbox),:host(.item-multiple-inputs) ::slotted(ion-datetime),:host(.item-multiple-inputs) ::slotted(ion-radio),:host(.item-multiple-inputs) ::slotted(ion-select){position:relative}:host(.item-textarea){-ms-flex-align:stretch;align-items:stretch}::slotted(ion-reorder[slot]){margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}:host(.item-fill-solid) ::slotted([slot=start]),:host(.item-fill-solid) ::slotted([slot=end]),:host(.item-fill-outline) ::slotted([slot=start]),:host(.item-fill-outline) ::slotted([slot=end]){-ms-flex-item-align:center;align-self:center}::slotted([slot=helper]),::slotted([slot=error]),.item-counter{padding-top:5px;font-size:12px;z-index:1}.item-counter{margin-left:auto;color:var(--ion-color-step-550, #737373);white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-counter{margin-left:unset;-webkit-margin-start:auto;margin-inline-start:auto}}@media (prefers-reduced-motion: reduce){.item-highlight,.item-inner-highlight{-webkit-transition:none;transition:none}}:host{--min-height:48px;--background:var(--ion-item-background, var(--ion-background-color, #fff));--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));--color:var(--ion-item-color, var(--ion-text-color, #000));--transition:opacity 15ms linear, background-color 15ms linear;--padding-start:16px;--inner-padding-end:16px;--inner-border-width:0 0 1px 0;--highlight-height:1px;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);font-size:16px;font-weight:normal;text-transform:none}:host(.item-fill-outline){--highlight-height:2px}:host(.item-fill-none.item-interactive.ion-focus) .item-highlight,:host(.item-fill-none.item-interactive.item-has-focus) .item-highlight,:host(.item-fill-none.item-interactive.ion-touched.ion-invalid) .item-highlight{-webkit-transform:scaleX(1);transform:scaleX(1);border-width:0 0 var(--full-highlight-height) 0;border-style:var(--border-style);border-color:var(--highlight-background)}:host(.item-fill-none.item-interactive.ion-focus) .item-native,:host(.item-fill-none.item-interactive.item-has-focus) .item-native,:host(.item-fill-none.item-interactive.ion-touched.ion-invalid) .item-native{border-bottom-color:var(--highlight-background)}:host(.item-fill-outline.item-interactive.ion-focus) .item-highlight,:host(.item-fill-outline.item-interactive.item-has-focus) .item-highlight{-webkit-transform:scaleX(1);transform:scaleX(1)}:host(.item-fill-outline.item-interactive.ion-focus) .item-highlight,:host(.item-fill-outline.item-interactive.item-has-focus) .item-highlight,:host(.item-fill-outline.item-interactive.ion-touched.ion-invalid) .item-highlight{border-width:var(--full-highlight-height);border-style:var(--border-style);border-color:var(--highlight-background)}:host(.item-fill-outline.item-interactive.ion-touched.ion-invalid) .item-native{border-color:var(--highlight-background)}:host(.item-fill-solid.item-interactive.ion-focus) .item-highlight,:host(.item-fill-solid.item-interactive.item-has-focus) .item-highlight,:host(.item-fill-solid.item-interactive.ion-touched.ion-invalid) .item-highlight{-webkit-transform:scaleX(1);transform:scaleX(1);border-width:0 0 var(--full-highlight-height) 0;border-style:var(--border-style);border-color:var(--highlight-background)}:host(.item-fill-solid.item-interactive.ion-focus) .item-native,:host(.item-fill-solid.item-interactive.item-has-focus) .item-native,:host(.item-fill-solid.item-interactive.ion-touched.ion-invalid) .item-native{border-bottom-color:var(--highlight-background)}:host(.ion-color.ion-activated) .item-native::after{background:transparent}:host(.item-has-focus) .item-native{caret-color:var(--highlight-color-focused)}:host(.item-interactive){--border-width:0 0 1px 0;--inner-border-width:0;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-full){--border-width:0 0 1px 0;--show-full-highlight:1;--show-inset-highlight:0}:host(.item-lines-inset){--inner-border-width:0 0 1px 0;--show-full-highlight:0;--show-inset-highlight:1}:host(.item-lines-inset),:host(.item-lines-none){--border-width:0;--show-full-highlight:0}:host(.item-lines-full),:host(.item-lines-none){--inner-border-width:0;--show-inset-highlight:0}:host(.item-fill-outline) .item-highlight{--position-offset:calc(-1 * var(--border-width));left:var(--position-offset);top:var(--position-offset);width:calc(100% + 2 * var(--border-width));height:calc(100% + 2 * var(--border-width));-webkit-transition:none;transition:none}:host-context([dir=rtl]):host(.item-fill-outline) .item-highlight,:host-context([dir=rtl]).item-fill-outline .item-highlight{left:unset;right:unset;right:var(--position-offset)}:host(.item-fill-outline.ion-focused) .item-native,:host(.item-fill-outline.item-has-focus) .item-native{border-color:transparent}:host(.item-multi-line) ::slotted([slot=start]),:host(.item-multi-line) ::slotted([slot=end]){margin-top:16px;margin-bottom:16px;-ms-flex-item-align:start;align-self:flex-start}::slotted([slot=start]){margin-right:32px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=start]){margin-right:unset;-webkit-margin-end:32px;margin-inline-end:32px}}::slotted([slot=end]){margin-left:32px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted([slot=end]){margin-left:unset;-webkit-margin-start:32px;margin-inline-start:32px}}:host(.item-fill-solid) ::slotted([slot=start]),:host(.item-fill-solid) ::slotted([slot=end]),:host(.item-fill-outline) ::slotted([slot=start]),:host(.item-fill-outline) ::slotted([slot=end]){-ms-flex-item-align:center;align-self:center}::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);font-size:24px}:host(.ion-color:not(.item-fill-solid):not(.item-fill-outline)) ::slotted(ion-icon){color:var(--ion-color-contrast)}::slotted(ion-icon[slot]){margin-top:12px;margin-bottom:12px}::slotted(ion-icon[slot=start]){margin-right:32px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=start]){margin-right:unset;-webkit-margin-end:32px;margin-inline-end:32px}}::slotted(ion-icon[slot=end]){margin-left:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=end]){margin-left:unset;-webkit-margin-start:16px;margin-inline-start:16px}}:host(.item-fill-solid) ::slotted(ion-icon[slot=start]),:host(.item-fill-outline) ::slotted(ion-icon[slot=start]){margin-right:8px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.item-fill-solid) ::slotted(ion-icon[slot=start]),:host(.item-fill-outline) ::slotted(ion-icon[slot=start]){margin-right:unset;-webkit-margin-end:8px;margin-inline-end:8px}}::slotted(ion-toggle[slot=start]),::slotted(ion-toggle[slot=end]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}::slotted(ion-note){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-ms-flex-item-align:start;align-self:flex-start;font-size:11px}::slotted(ion-note[slot]:not([slot=helper]):not([slot=error])){padding-left:0;padding-right:0;padding-top:18px;padding-bottom:10px}::slotted(ion-note[slot=start]){padding-right:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-note[slot=start]){padding-right:unset;-webkit-padding-end:16px;padding-inline-end:16px}}::slotted(ion-note[slot=end]){padding-left:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-note[slot=end]){padding-left:unset;-webkit-padding-start:16px;padding-inline-start:16px}}::slotted(ion-avatar){width:40px;height:40px}::slotted(ion-thumbnail){width:56px;height:56px}::slotted(ion-avatar),::slotted(ion-thumbnail){margin-top:8px;margin-bottom:8px}::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){margin-right:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){margin-right:unset;-webkit-margin-end:16px;margin-inline-end:16px}}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){margin-left:unset;-webkit-margin-start:16px;margin-inline-start:16px}}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:10px;margin-bottom:10px}:host(.item-label-stacked) ::slotted([slot=end]),:host(.item-label-floating) ::slotted([slot=end]){margin-top:7px;margin-bottom:7px}:host(.item-label-fixed) ::slotted(ion-select),:host(.item-label-fixed) ::slotted(ion-datetime){--padding-start:8px}:host(.item-toggle) ::slotted(ion-label),:host(.item-radio) ::slotted(ion-label){margin-left:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.item-toggle) ::slotted(ion-label),:host(.item-radio) ::slotted(ion-label){margin-left:unset;-webkit-margin-start:0;margin-inline-start:0}}::slotted(.button-small){--padding-top:0;--padding-bottom:0;--padding-start:.6em;--padding-end:.6em;height:25px;font-size:12px}:host(.item-label-floating),:host(.item-label-stacked){--min-height:55px}:host(.item-label-stacked) ::slotted(ion-select),:host(.item-label-floating) ::slotted(ion-select){--padding-top:8px;--padding-bottom:8px;--padding-start:0}:host(.ion-focused:not(.ion-color)) ::slotted(.label-stacked),:host(.ion-focused:not(.ion-color)) ::slotted(.label-floating),:host(.item-has-focus:not(.ion-color)) ::slotted(.label-stacked),:host(.item-has-focus:not(.ion-color)) ::slotted(.label-floating){color:var(--ion-color-primary, #3880ff)}:host(.ion-color){--highlight-color-focused:var(--ion-color-contrast)}:host(.item-label-color){--highlight-color-focused:var(--ion-color-base)}:host(.item-fill-solid.ion-color),:host(.item-fill-outline.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.item-fill-solid){--background:var(--ion-color-step-50, #f2f2f2);--background-hover:var(--ion-color-step-100, #e6e6e6);--background-focused:var(--ion-color-step-150, #d9d9d9);--border-width:0 0 1px 0;--inner-border-width:0;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.item-fill-solid),:host-context([dir=rtl]).item-fill-solid{border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}:host(.item-fill-solid) .item-native{--border-color:var(--ion-color-step-500, gray)}:host(.item-fill-solid.ion-focused) .item-native,:host(.item-fill-solid.item-has-focus) .item-native{--background:var(--background-focused)}:host(.item-fill-solid.item-shape-round){border-top-left-radius:16px;border-top-right-radius:16px;border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.item-fill-solid.item-shape-round),:host-context([dir=rtl]).item-fill-solid.item-shape-round{border-top-left-radius:16px;border-top-right-radius:16px;border-bottom-right-radius:0;border-bottom-left-radius:0}@media (any-hover: hover){:host(.item-fill-solid:hover) .item-native{--background:var(--background-hover);--border-color:var(--ion-color-step-750, #404040)}}:host(.item-fill-outline){--ripple-color:transparent;--background-focused:transparent;--background-hover:transparent;--border-color:var(--ion-color-step-500, gray);--border-width:1px;border:none;overflow:visible}:host(.item-fill-outline) .item-native{--native-padding-left:16px;border-radius:4px}:host(.item-fill-outline.item-shape-round) .item-native{--inner-padding-start:16px;border-radius:28px}:host(.item-fill-outline.item-shape-round) .item-bottom{padding-left:32px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.item-fill-outline.item-shape-round) .item-bottom{padding-left:unset;-webkit-padding-start:32px;padding-inline-start:32px}}:host(.item-fill-outline.item-label-floating.ion-focused) .item-native ::slotted(ion-input:not(:first-child)),:host(.item-fill-outline.item-label-floating.ion-focused) .item-native ::slotted(ion-textarea:not(:first-child)),:host(.item-fill-outline.item-label-floating.item-has-focus) .item-native ::slotted(ion-input:not(:first-child)),:host(.item-fill-outline.item-label-floating.item-has-focus) .item-native ::slotted(ion-textarea:not(:first-child)),:host(.item-fill-outline.item-label-floating.item-has-value) .item-native ::slotted(ion-input:not(:first-child)),:host(.item-fill-outline.item-label-floating.item-has-value) .item-native ::slotted(ion-textarea:not(:first-child)){-webkit-transform:translateY(-14px);transform:translateY(-14px)}@media (any-hover: hover){:host(.item-fill-outline:hover) .item-native{--border-color:var(--ion-color-step-750, #404040)}}.item-counter{letter-spacing:0.0333333333em}',yn=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.labelColorStyles={},this.itemStyles=new Map,this.multipleInputs=!1,this.focusable=!0,this.button=!1,this.detailIcon=Be,this.disabled=!1,this.counter=!1,this.routerDirection="forward",this.type="button"}counterFormatterChanged(){this.updateCounterOutput(this.getFirstInput())}handleIonChange(t){this.counter&&t.target===this.getFirstInput()&&this.updateCounterOutput(t.target)}labelColorChanged(t){const{color:e}=this;void 0===e&&(this.labelColorStyles=t.detail)}itemStyle(t){t.stopPropagation();const e=t.target.tagName,n=t.detail,o={},i=this.itemStyles.get(e)||{};let a=!1;Object.keys(n).forEach((t=>{if(n[t]){const e=`item-${t}`;i[e]||(a=!0),o[e]=!0}})),a||Object.keys(o).length===Object.keys(i).length||(a=!0),a&&(this.itemStyles.set(e,o),(0,r.xE)(this))}connectedCallback(){this.counter&&this.updateCounterOutput(this.getFirstInput()),this.hasStartEl()}componentDidUpdate(){const t=this.getFirstInput();t&&!this.clickListener&&(this.clickListener=e=>this.delegateFocus(e,t),this.el.addEventListener("click",this.clickListener))}disconnectedCallback(){const t=this.getFirstInput();t&&this.clickListener&&(this.el.removeEventListener("click",this.clickListener),this.clickListener=void 0)}componentDidLoad(){(0,M.r)((()=>{this.setMultipleInputs(),this.focusable=this.isFocusable()}))}setMultipleInputs(){const t=this.el.querySelectorAll("ion-checkbox, ion-datetime, ion-select, ion-radio"),e=this.el.querySelectorAll("ion-input, ion-range, ion-searchbar, ion-segment, ion-textarea, ion-toggle"),n=this.el.querySelectorAll("ion-anchor, ion-button, a, button");this.multipleInputs=t.length+e.length>1||t.length+n.length>1||t.length>0&&this.isClickable()}hasCover(){const t=this.el.querySelectorAll("ion-checkbox, ion-datetime, ion-select, ion-radio");return 1===t.length&&!this.multipleInputs}isClickable(){return void 0!==this.href||this.button}canActivate(){return this.isClickable()||this.hasCover()}isFocusable(){const t=this.el.querySelector(".ion-focusable");return this.canActivate()||null!==t}getFirstInput(){const t=this.el.querySelectorAll("ion-input, ion-textarea");return t[0]}delegateFocus(t,e){const n="ION-ITEM"===t.target.tagName;let o=!1;document.activeElement&&(o=e.querySelector("input, textarea")===document.activeElement),!n||!o&&this.multipleInputs||(e.fireFocusEvents=!1,e.setBlur(),e.setFocus(),(0,M.r)((()=>{e.fireFocusEvents=!0})))}updateCounterOutput(t){var e,n;const{counter:o,counterFormatter:i,defaultCounterFormatter:r}=this;if(o&&!this.multipleInputs&&void 0!==(null===t||void 0===t?void 0:t.maxlength)){const o=null!==(n=null===(e=null===t||void 0===t?void 0:t.value)||void 0===e?void 0:e.toString().length)&&void 0!==n?n:0;if(void 0===i)this.counterString=r(o,t.maxlength);else try{this.counterString=i(o,t.maxlength)}catch(a){(0,qe.a)("Exception in provided `counterFormatter`.",a),this.counterString=r(o,t.maxlength)}}}defaultCounterFormatter(t,e){return`${t} / ${e}`}hasStartEl(){const t=this.el.querySelector('[slot="start"]');null!==t&&this.el.classList.add("item-has-start-slot")}render(){const{counterString:t,detail:e,detailIcon:n,download:o,fill:i,labelColorStyles:a,lines:s,disabled:l,href:c,rel:d,shape:u,target:h,routerAnimation:p,routerDirection:f}=this,m={},g=z(this),b=this.isClickable(),v=this.canActivate(),y=b?void 0===c?"button":"a":"div",w="button"===y?{type:this.type}:{download:o,href:c,rel:d,target:h},x=b?{onClick:t=>{q(c,t,f,p)}}:{},k=void 0!==e?e:"ios"===g&&b;this.itemStyles.forEach((t=>{Object.assign(m,t)}));const $=l||m["item-interactive-disabled"]?"true":null,E=i||"none",S=B("ion-list",this.el);return(0,r.h)(r.AA,{"aria-disabled":$,class:Object.assign(Object.assign(Object.assign({},m),a),F(this.color,{item:!0,[g]:!0,[`item-lines-${s}`]:void 0!==s,[`item-fill-${E}`]:!0,[`item-shape-${u}`]:void 0!==u,"item-disabled":l,"in-list":S,"item-multiple-inputs":this.multipleInputs,"ion-activatable":v,"ion-focusable":this.focusable,"item-rtl":"rtl"===document.dir})),role:S?"listitem":null},(0,r.h)(y,Object.assign({},w,{class:"item-native",part:"native",disabled:l},x),(0,r.h)("slot",{name:"start"}),(0,r.h)("div",{class:"item-inner"},(0,r.h)("div",{class:"input-wrapper"},(0,r.h)("slot",null)),(0,r.h)("slot",{name:"end"}),k&&(0,r.h)("ion-icon",{icon:n,lazy:!1,class:"item-detail-icon",part:"detail-icon","aria-hidden":"true","flip-rtl":n===Be}),(0,r.h)("div",{class:"item-inner-highlight"})),v&&"md"===g&&(0,r.h)("ion-ripple-effect",null),(0,r.h)("div",{class:"item-highlight"})),(0,r.h)("div",{class:"item-bottom"},(0,r.h)("slot",{name:"error"}),(0,r.h)("slot",{name:"helper"}),t&&(0,r.h)("ion-note",{class:"item-counter"},t)))}static get delegatesFocus(){return!0}get el(){return this}static get watchers(){return{counterFormatter:["counterFormatterChanged"]}}static get style(){return{ios:bn,md:vn}}},[49,"ion-item",{color:[513],button:[4],detail:[4],detailIcon:[1,"detail-icon"],disabled:[4],download:[1],fill:[1],shape:[1],href:[1],rel:[1],lines:[1],counter:[4],routerAnimation:[16],routerDirection:[1,"router-direction"],target:[1],type:[1],counterFormatter:[16],multipleInputs:[32],focusable:[32],counterString:[32]},[[0,"ionChange","handleIonChange"],[0,"ionColor","labelColorChanged"],[0,"ionStyle","itemStyle"]]]);function wn(){if("undefined"===typeof customElements)return;const t=["ion-item","ion-icon","ion-note","ion-ripple-effect"];t.forEach((t=>{switch(t){case"ion-item":customElements.get(t)||customElements.define(t,yn);break;case"ion-icon":customElements.get(t)||hn();break;case"ion-note":customElements.get(t)||gn();break;case"ion-ripple-effect":customElements.get(t)||K();break}}))} +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const xn=wn,kn=".item.sc-ion-label-ios-h,.item .sc-ion-label-ios-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-label-ios-h{color:var(--ion-color-base)}.ion-text-wrap.sc-ion-label-ios-h,[text-wrap].sc-ion-label-ios-h{white-space:normal}.item-interactive-disabled.sc-ion-label-ios-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-ios-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-ios-h,.item-input .sc-ion-label-ios-h{-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-ios-h,.item-textarea .sc-ion-label-ios-h{-ms-flex-item-align:baseline;align-self:baseline}.label-fixed.sc-ion-label-ios-h{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-ios-h,.label-floating.sc-ion-label-ios-h{margin-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-ios-h{-webkit-transition:none;transition:none}.sc-ion-label-ios-s h1,.sc-ion-label-ios-s h2,.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-ios-h,[text-wrap].sc-ion-label-ios-h{font-size:14px;line-height:1.5}.label-stacked.sc-ion-label-ios-h{margin-bottom:4px;font-size:14px}.label-floating.sc-ion-label-ios-h{margin-bottom:0;-webkit-transform:translate(0, 29px);transform:translate(0, 29px);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms ease-in-out;transition:-webkit-transform 150ms ease-in-out;transition:transform 150ms ease-in-out;transition:transform 150ms ease-in-out, -webkit-transform 150ms ease-in-out}[dir=rtl].sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl] .sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl].label-floating.sc-ion-label-ios-h,[dir=rtl] .label-floating.sc-ion-label-ios-h{-webkit-transform-origin:right top;transform-origin:right top}.item-textarea.label-floating.sc-ion-label-ios-h,.item-textarea .label-floating.sc-ion-label-ios-h{-webkit-transform:translate(0, 28px);transform:translate(0, 28px)}.item-has-focus.label-floating.sc-ion-label-ios-h,.item-has-focus .label-floating.sc-ion-label-ios-h,.item-has-placeholder.sc-ion-label-ios-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-ios-h,.item-has-value.label-floating.sc-ion-label-ios-h,.item-has-value .label-floating.sc-ion-label-ios-h{-webkit-transform:scale(0.82);transform:scale(0.82)}.sc-ion-label-ios-s h1{margin-left:0;margin-right:0;margin-top:3px;margin-bottom:2px;font-size:22px;font-weight:normal}.sc-ion-label-ios-s h2{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:17px;font-weight:normal}.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{margin-left:0;margin-right:0;margin-top:0;margin-bottom:3px;font-size:14px;font-weight:normal;line-height:normal}.sc-ion-label-ios-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px;line-height:normal;text-overflow:inherit;overflow:inherit}.sc-ion-label-ios-s>p{color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.4)}.sc-ion-label-ios-h.in-item-color.sc-ion-label-ios-s>p{color:inherit}.sc-ion-label-ios-s h2:last-child,.sc-ion-label-ios-s h3:last-child,.sc-ion-label-ios-s h4:last-child,.sc-ion-label-ios-s h5:last-child,.sc-ion-label-ios-s h6:last-child,.sc-ion-label-ios-s p:last-child{margin-bottom:0}",$n='.item.sc-ion-label-md-h,.item .sc-ion-label-md-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-label-md-h{color:var(--ion-color-base)}.ion-text-wrap.sc-ion-label-md-h,[text-wrap].sc-ion-label-md-h{white-space:normal}.item-interactive-disabled.sc-ion-label-md-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-md-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-md-h,.item-input .sc-ion-label-md-h{-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-md-h,.item-textarea .sc-ion-label-md-h{-ms-flex-item-align:baseline;align-self:baseline}.label-fixed.sc-ion-label-md-h{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-md-h{-webkit-transition:none;transition:none}.sc-ion-label-md-s h1,.sc-ion-label-md-s h2,.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-md-h,[text-wrap].sc-ion-label-md-h{line-height:1.5}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-transform-origin:top left;transform-origin:top left}.label-stacked.label-rtl.sc-ion-label-md-h,.label-floating.label-rtl.sc-ion-label-md-h{-webkit-transform-origin:top right;transform-origin:top right}.label-stacked.sc-ion-label-md-h{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.label-floating.sc-ion-label-md-h{-webkit-transform:translateY(96%);transform:translateY(96%);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1)}.ion-focused.label-floating.sc-ion-label-md-h,.ion-focused .label-floating.sc-ion-label-md-h,.item-has-focus.label-floating.sc-ion-label-md-h,.item-has-focus .label-floating.sc-ion-label-md-h,.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h,.item-has-value.label-floating.sc-ion-label-md-h,.item-has-value .label-floating.sc-ion-label-md-h{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75)}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h{-webkit-transform:translateY(-6px) scale(0.75);transform:translateY(-6px) scale(0.75);position:relative;max-width:-webkit-min-content;max-width:-moz-min-content;max-width:min-content;background-color:var(--ion-item-background, var(--ion-background-color, #fff));overflow:visible;z-index:3}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::after,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::before,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::after,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::after{position:absolute;width:4px;height:100%;background-color:var(--ion-item-background, var(--ion-background-color, #fff));content:""}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::before,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::before,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::before,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::before{left:calc(-1 * 4px)}.item-fill-outline.ion-focused.label-floating.sc-ion-label-md-h::after,.item-fill-outline.ion-focused .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-focus .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating::after,.item-fill-outline.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value.label-floating.sc-ion-label-md-h::after,.item-fill-outline.item-has-value .label-floating.sc-ion-label-md-h::after{right:calc(-1 * 4px)}.item-fill-outline.ion-focused.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.ion-focused.item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).item-has-start-slot.label-floating,.item-fill-outline.item-has-placeholder:not(.item-input).item-has-start-slot .label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot.label-floating.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot .label-floating.sc-ion-label-md-h{-webkit-transform:translateX(-32px) translateY(-6px) scale(0.75);transform:translateX(-32px) translateY(-6px) scale(0.75)}.item-fill-outline.ion-focused.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.ion-focused.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-focus.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-placeholder.sc-ion-label-md-h:not(.item-input).item-has-start-slot.label-floating.label-rtl,.item-fill-outline.item-has-placeholder:not(.item-input).item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot.label-floating.label-rtl.sc-ion-label-md-h,.item-fill-outline.item-has-value.item-has-start-slot .label-floating.label-rtl.sc-ion-label-md-h{-webkit-transform:translateX(calc(-1 * -32px)) translateY(-6px) scale(0.75);transform:translateX(calc(-1 * -32px)) translateY(-6px) scale(0.75)}.ion-focused.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-primary, #3880ff)}.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-contrast)}.item-fill-solid.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-solid.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-fill-outline.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-base)}.ion-invalid.ion-touched.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--highlight-color-invalid)}.sc-ion-label-md-s h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}.sc-ion-label-md-s h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal;line-height:normal}.sc-ion-label-md-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px;line-height:20px;text-overflow:inherit;overflow:inherit}.sc-ion-label-md-s>p{color:var(--ion-color-step-600, #666666)}.sc-ion-label-md-h.in-item-color.sc-ion-label-md-s>p{color:inherit}',En=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.ionColor=(0,r.yM)(this,"ionColor",7),this.ionStyle=(0,r.yM)(this,"ionStyle",7),this.inRange=!1,this.noAnimate=!1}componentWillLoad(){this.inRange=!!this.el.closest("ion-range"),this.noAnimate="floating"===this.position,this.emitStyle(),this.emitColor()}componentDidLoad(){this.noAnimate&&setTimeout((()=>{this.noAnimate=!1}),1e3)}colorChanged(){this.emitColor()}positionChanged(){this.emitStyle()}emitColor(){const{color:t}=this;this.ionColor.emit({"item-label-color":void 0!==t,[`ion-color-${t}`]:void 0!==t})}emitStyle(){const{inRange:t,position:e}=this;t||this.ionStyle.emit({label:!0,[`label-${e}`]:void 0!==e})}render(){const t=this.position,e=z(this);return(0,r.h)(r.AA,{class:F(this.color,{[e]:!0,"in-item-color":B("ion-item.ion-color",this.el),[`label-${t}`]:void 0!==t,["label-no-animate"]:this.noAnimate,"label-rtl":"rtl"===document.dir})})}get el(){return this}static get watchers(){return{color:["colorChanged"],position:["positionChanged"]}}static get style(){return{ios:kn,md:$n}}},[34,"ion-label",{color:[513],position:[1],noAnimate:[32]}]);function Sn(){if("undefined"===typeof customElements)return;const t=["ion-label"];t.forEach((t=>{switch(t){case"ion-label":customElements.get(t)||customElements.define(t,En);break}}))} +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const _n=Sn,Cn="ion-list{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;contain:content;list-style-type:none}ion-list.list-inset{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:hidden}.list-ios{background:var(--ion-item-background, var(--ion-background-color, #fff))}.list-ios.list-inset{margin-left:16px;margin-right:16px;margin-top:16px;margin-bottom:16px;border-radius:10px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.list-ios.list-inset{margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px}}.list-ios.list-inset ion-item{--border-width:0 0 1px 0;--inner-border-width:0}.list-ios.list-inset ion-item:last-child{--border-width:0;--inner-border-width:0}.list-ios.list-inset+ion-list.list-inset{margin-top:0}.list-ios-lines-none .item{--border-width:0;--inner-border-width:0}.list-ios-lines-full .item,.list-ios .item-lines-full{--border-width:0 0 0.55px 0}.list-ios-lines-full .item{--inner-border-width:0}.list-ios-lines-inset .item,.list-ios .item-lines-inset{--inner-border-width:0 0 0.55px 0}.list-ios .item-lines-inset{--border-width:0}.list-ios .item-lines-full{--inner-border-width:0}.list-ios .item-lines-none{--border-width:0;--inner-border-width:0}ion-card .list-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}",An="ion-list{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;contain:content;list-style-type:none}ion-list.list-inset{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:hidden}.list-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:8px;padding-bottom:8px;background:var(--ion-item-background, var(--ion-background-color, #fff))}.list-md>.input:last-child::after{left:0}[dir=rtl] .list-md>.input:last-child::after,:host-context([dir=rtl]) .list-md>.input:last-child::after{left:unset;right:unset;right:0}.list-md.list-inset{margin-left:16px;margin-right:16px;margin-top:16px;margin-bottom:16px;border-radius:2px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.list-md.list-inset{margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px}}.list-md.list-inset ion-item:first-child{--border-radius:2px 2px 0 0;--border-width:0 0 1px 0}.list-md.list-inset ion-item:last-child{--border-radius:0 0 2px, 2px;--border-width:0}.list-md.list-inset .item-interactive{--padding-start:0;--padding-end:0}.list-md.list-inset+ion-list.list-inset{margin-top:0}.list-md-lines-none .item{--border-width:0;--inner-border-width:0}.list-md-lines-full .item,.list-md .item-lines-full{--border-width:0 0 1px 0}.list-md-lines-full .item{--inner-border-width:0}.list-md-lines-inset .item,.list-md .item-lines-inset{--inner-border-width:0 0 1px 0}.list-md .item-lines-inset{--border-width:0}.list-md .item-lines-full{--inner-border-width:0}.list-md .item-lines-none{--border-width:0;--inner-border-width:0}ion-card .list-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}",Tn=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.inset=!1}async closeSlidingItems(){const t=this.el.querySelector("ion-item-sliding");return!!(null===t||void 0===t?void 0:t.closeOpened)&&t.closeOpened()}render(){const t=z(this),{lines:e,inset:n}=this;return(0,r.h)(r.AA,{role:"list",class:{[t]:!0,[`list-${t}`]:!0,"list-inset":n,[`list-lines-${e}`]:void 0!==e,[`list-${t}-lines-${e}`]:void 0!==e}})}get el(){return this}static get style(){return{ios:Cn,md:An}}},[32,"ion-list",{lines:[1],inset:[4],closeSlidingItems:[64]}]);function In(){if("undefined"===typeof customElements)return;const t=["ion-list"];t.forEach((t=>{switch(t){case"ion-list":customElements.get(t)||customElements.define(t,Tn);break}}))} +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const Ln=In,Rn=":host{--border-style:solid;--border-width:0;--inner-border-width:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:40px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);color:var(--color);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.list-header-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex:1 1 auto;flex:1 1 auto}:host(.list-header-lines-inset),:host(.list-header-lines-none){--border-width:0}:host(.list-header-lines-full),:host(.list-header-lines-none){--inner-border-width:0}:host{--background:transparent;--color:var(--ion-color-step-850, #262626);--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));padding-left:calc(var(--ion-safe-area-left, 0px) + 20px);position:relative;-ms-flex-align:end;align-items:flex-end;font-size:22px;font-weight:700;letter-spacing:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;-webkit-padding-start:calc(var(--ion-safe-area-left, 0px) + 20px);padding-inline-start:calc(var(--ion-safe-area-left, 0px) + 20px)}}::slotted(ion-button),::slotted(ion-label){margin-top:29px;margin-bottom:6px}::slotted(ion-button){margin-left:3px;margin-right:3px;height:1.4em}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-button){margin-left:unset;margin-right:unset;-webkit-margin-start:3px;margin-inline-start:3px;-webkit-margin-end:3px;margin-inline-end:3px}}:host(.list-header-lines-full){--border-width:0 0 0.55px 0}:host(.list-header-lines-inset){--inner-border-width:0 0 0.55px 0}",On=":host{--border-style:solid;--border-width:0;--inner-border-width:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:40px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);color:var(--color);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.list-header-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex:1 1 auto;flex:1 1 auto}:host(.list-header-lines-inset),:host(.list-header-lines-none){--border-width:0}:host(.list-header-lines-full),:host(.list-header-lines-none){--inner-border-width:0}:host{--background:transparent;--color:var(--ion-text-color, #000);--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.13))));padding-left:calc(var(--ion-safe-area-left, 0) + 16px);min-height:45px;font-size:14px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;-webkit-padding-start:calc(var(--ion-safe-area-left, 0) + 16px);padding-inline-start:calc(var(--ion-safe-area-left, 0) + 16px)}}:host(.list-header-lines-full){--border-width:0 0 1px 0}:host(.list-header-lines-inset){--inner-border-width:0 0 1px 0}",Dn=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.__attachShadow()}render(){const{lines:t}=this,e=z(this);return(0,r.h)(r.AA,{class:F(this.color,{[e]:!0,[`list-header-lines-${t}`]:void 0!==t})},(0,r.h)("div",{class:"list-header-inner"},(0,r.h)("slot",null)))}static get style(){return{ios:Rn,md:On}}},[33,"ion-list-header",{color:[513],lines:[1]}]);function Nn(){if("undefined"===typeof customElements)return;const t=["ion-list-header"];t.forEach((t=>{switch(t){case"ion-list-header":customElements.get(t)||customElements.define(t,Dn);break}}))} +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const Pn=Nn,zn=':host{--inner-border-radius:50%;display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}label{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host{--color-checked:var(--ion-color-primary, #3880ff);width:15px;height:24px}:host(.ion-color.radio-checked) .radio-inner{border-color:var(--ion-color-base)}.item-radio.item-ios ion-label{margin-left:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.item-radio.item-ios ion-label{margin-left:unset;-webkit-margin-start:0;margin-inline-start:0}}.radio-inner{width:33%;height:50%}:host(.radio-checked) .radio-inner{-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--color-checked)}:host(.radio-disabled){opacity:0.3}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);left:-9px;top:-8px;display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #4c8dff);content:"";opacity:0.2}:host-context([dir=rtl]):host(.ion-focused) .radio-icon::after,:host-context([dir=rtl]).ion-focused .radio-icon::after{left:unset;right:unset;right:-9px}:host(.in-item){margin-left:10px;margin-right:11px;margin-top:8px;margin-bottom:8px;display:block;position:static}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item){margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:11px;margin-inline-end:11px}}:host(.in-item[slot=start]){margin-left:3px;margin-right:21px;margin-top:8px;margin-bottom:8px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:3px;margin-inline-start:3px;-webkit-margin-end:21px;margin-inline-end:21px}}',jn=':host{--inner-border-radius:50%;display:inline-block;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}label{left:0;top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}[dir=rtl] label,:host-context([dir=rtl]) label{left:unset;right:unset;right:0}label::-moz-focus-inner{border:0}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host{--color:var(--ion-color-step-400, #999999);--color-checked:var(--ion-color-primary, #3880ff);--border-width:2px;--border-style:solid;--border-radius:50%;width:20px;height:20px}:host(.ion-color) .radio-inner{background:var(--ion-color-base)}:host(.ion-color.radio-checked) .radio-icon{border-color:var(--ion-color-base)}.radio-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--color)}.radio-inner{border-radius:var(--inner-border-radius);width:calc(50% + var(--border-width));height:calc(50% + var(--border-width));-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0);-webkit-transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background:var(--color-checked)}:host(.radio-checked) .radio-icon{border-color:var(--color-checked)}:host(.radio-checked) .radio-inner{-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}:host(.radio-disabled){opacity:0.3}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);left:-12px;top:-12px;display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #4c8dff);content:"";opacity:0.2}:host-context([dir=rtl]):host(.ion-focused) .radio-icon::after,:host-context([dir=rtl]).ion-focused .radio-icon::after{left:unset;right:unset;right:-12px}:host(.in-item){margin-left:0;margin-right:0;margin-top:9px;margin-bottom:9px;display:block;position:static}:host(.in-item[slot=start]){margin-left:4px;margin-right:36px;margin-top:11px;margin-bottom:10px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-item[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:36px;margin-inline-end:36px}}',Mn=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionStyle=(0,r.yM)(this,"ionStyle",7),this.ionFocus=(0,r.yM)(this,"ionFocus",7),this.ionBlur=(0,r.yM)(this,"ionBlur",7),this.inputId="ion-rb-"+Bn++,this.radioGroup=null,this.checked=!1,this.buttonTabindex=-1,this.name=this.inputId,this.disabled=!1,this.updateState=()=>{this.radioGroup&&(this.checked=this.radioGroup.value===this.value)},this.onClick=()=>{this.checked=this.nativeInput.checked},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()}}async setFocus(t){t.stopPropagation(),t.preventDefault(),this.el.focus()}async setButtonTabindex(t){this.buttonTabindex=t}connectedCallback(){void 0===this.value&&(this.value=this.inputId);const t=this.radioGroup=this.el.closest("ion-radio-group");t&&(this.updateState(),(0,M.a)(t,"ionChange",this.updateState))}disconnectedCallback(){const t=this.radioGroup;t&&((0,M.b)(t,"ionChange",this.updateState),this.radioGroup=null)}componentWillLoad(){this.emitStyle()}emitStyle(){this.ionStyle.emit({"radio-checked":this.checked,"interactive-disabled":this.disabled})}render(){const{inputId:t,disabled:e,checked:n,color:o,el:i,buttonTabindex:a}=this,s=z(this),{label:l,labelId:c,labelText:d}=(0,M.d)(i,t);return(0,r.h)(r.AA,{"aria-checked":`${n}`,"aria-hidden":e?"true":null,"aria-labelledby":l?c:null,role:"radio",tabindex:a,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,class:F(o,{[s]:!0,"in-item":B("ion-item",i),interactive:!0,"radio-checked":n,"radio-disabled":e})},(0,r.h)("div",{class:"radio-icon",part:"container"},(0,r.h)("div",{class:"radio-inner",part:"mark"}),(0,r.h)("div",{class:"radio-ripple"})),(0,r.h)("label",{htmlFor:t},d),(0,r.h)("input",{type:"radio",checked:n,disabled:e,tabindex:"-1",id:t,ref:t=>this.nativeInput=t}))}get el(){return this}static get watchers(){return{color:["emitStyle"],checked:["emitStyle"],disabled:["emitStyle"]}}static get style(){return{ios:zn,md:jn}}},[33,"ion-radio",{color:[513],name:[1],disabled:[4],value:[8],checked:[32],buttonTabindex:[32],setFocus:[64],setButtonTabindex:[64]}]);let Bn=0;function Fn(){if("undefined"===typeof customElements)return;const t=["ion-radio"];t.forEach((t=>{switch(t){case"ion-radio":customElements.get(t)||customElements.define(t,Mn);break}}))} +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const Hn=Fn,Wn=(t,e,n,o,i)=>qn(t[1],e[1],n[1],o[1],i).map((i=>Un(t[0],e[0],n[0],o[0],i))),Un=(t,e,n,o,i)=>{const r=3*e*Math.pow(i-1,2),a=-3*n*i+3*n+o*i,s=t*Math.pow(i-1,3);return i*(r+i*a)-s},qn=(t,e,n,o,i)=>{t-=i,e-=i,n-=i,o-=i;const r=Yn(o-3*n+3*e-t,3*n-6*e+3*t,3*e-3*t,t);return r.filter((t=>t>=0&&t<=1))},Vn=(t,e,n)=>{const o=e*e-4*t*n;return o<0?[]:[(-e+Math.sqrt(o))/(2*t),(-e-Math.sqrt(o))/(2*t)]},Yn=(t,e,n,o)=>{if(0===t)return Vn(e,n,o);e/=t,n/=t,o/=t;const i=(3*n-e*e)/3,r=(2*e*e*e-9*e*n+27*o)/27;if(0===i)return[Math.pow(-r,1/3)];if(0===r)return[Math.sqrt(-i),-Math.sqrt(-i)];const a=Math.pow(r/2,2)+Math.pow(i/3,3);if(0===a)return[Math.pow(r/2,.5)-e/3];if(a>0)return[Math.pow(-r/2+Math.sqrt(a),1/3)-Math.pow(r/2+Math.sqrt(a),1/3)-e/3];const s=Math.sqrt(Math.pow(-i/3,3)),l=Math.acos(-r/(2*Math.sqrt(Math.pow(-i/3,3)))),c=2*Math.pow(s,1/3);return[c*Math.cos(l/3)-e/3,c*Math.cos((l+2*Math.PI)/3)-e/3,c*Math.cos((l+4*Math.PI)/3)-e/3]},Gn={getEngine(){var t;const e=window;return e.TapticEngine||(null===(t=e.Capacitor)||void 0===t?void 0:t.isPluginAvailable("Haptics"))&&e.Capacitor.Plugins.Haptics},available(){return!!this.getEngine()},isCordova(){return!!window.TapticEngine},isCapacitor(){const t=window;return!!t.Capacitor},impact(t){const e=this.getEngine();if(!e)return;const n=this.isCapacitor()?t.style.toUpperCase():t.style;e.impact({style:n})},notification(t){const e=this.getEngine();if(!e)return;const n=this.isCapacitor()?t.style.toUpperCase():t.style;e.notification({style:n})},selection(){this.impact({style:"light"})},selectionStart(){const t=this.getEngine();t&&(this.isCapacitor()?t.selectionStart():t.gestureSelectionStart())},selectionChanged(){const t=this.getEngine();t&&(this.isCapacitor()?t.selectionChanged():t.gestureSelectionChanged())},selectionEnd(){const t=this.getEngine();t&&(this.isCapacitor()?t.selectionEnd():t.gestureSelectionEnd())}},Xn=()=>{Gn.selectionStart()},Jn=()=>{Gn.selectionChanged()},Kn=()=>{Gn.selectionEnd()},Zn=t=>{Gn.impact(t)};var Qn=n(5980); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const to=t=>{const e=t.previousElementSibling,n=null!==e&&"ION-HEADER"===e.tagName;return n?"translate":"scale"},eo=(t,e,n)=>"scale"===t?oo(e,n):io(e,n),no=t=>{const e=t.querySelector("ion-spinner"),n=e.shadowRoot.querySelector("circle"),o=t.querySelector(".spinner-arrow-container"),i=t.querySelector(".arrow-container"),r=i?i.querySelector("ion-icon"):null,a=(0,Qn.c)().duration(1e3).easing("ease-out"),s=(0,Qn.c)().addElement(o).keyframes([{offset:0,opacity:"0.3"},{offset:.45,opacity:"0.3"},{offset:.55,opacity:"1"},{offset:1,opacity:"1"}]),l=(0,Qn.c)().addElement(n).keyframes([{offset:0,strokeDasharray:"1px, 200px"},{offset:.2,strokeDasharray:"1px, 200px"},{offset:.55,strokeDasharray:"100px, 200px"},{offset:1,strokeDasharray:"100px, 200px"}]),c=(0,Qn.c)().addElement(e).keyframes([{offset:0,transform:"rotate(-90deg)"},{offset:1,transform:"rotate(210deg)"}]);if(i&&r){const t=(0,Qn.c)().addElement(i).keyframes([{offset:0,transform:"rotate(0deg)"},{offset:.3,transform:"rotate(0deg)"},{offset:.55,transform:"rotate(280deg)"},{offset:1,transform:"rotate(400deg)"}]),e=(0,Qn.c)().addElement(r).keyframes([{offset:0,transform:"translateX(2px) scale(0)"},{offset:.3,transform:"translateX(2px) scale(0)"},{offset:.55,transform:"translateX(-1.5px) scale(1)"},{offset:1,transform:"translateX(-1.5px) scale(1)"}]);a.addAnimation([t,e])}return a.addAnimation([s,l,c])},oo=(t,e)=>{const n=e.clientHeight,o=(0,Qn.c)().addElement(t).keyframes([{offset:0,transform:`scale(0) translateY(-${n}px)`},{offset:1,transform:"scale(1) translateY(100px)"}]);return no(t).addAnimation([o])},io=(t,e)=>{const n=e.clientHeight,o=(0,Qn.c)().addElement(t).keyframes([{offset:0,transform:`translateY(-${n}px)`},{offset:1,transform:"translateY(100px)"}]);return no(t).addAnimation([o])},ro=t=>(0,Qn.c)().duration(125).addElement(t).fromTo("transform","translateY(var(--ion-pulling-refresher-translate, 100px))","translateY(0px)"),ao=(t,e)=>{t.style.setProperty("opacity",e.toString())},so=(t,e,n)=>{const o=1;(0,r.Iu)((()=>{t.forEach(((t,i)=>{const r=i*(o/e),a=o-r,s=n-r,l=(0,M.j)(0,s/a,1);t.style.setProperty("opacity",l.toString())}))}))},lo=(t,e)=>{(0,r.Iu)((()=>{t.style.setProperty("--refreshing-rotation-duration",e>=1?"0.5s":"2s"),t.style.setProperty("opacity","1")}))},co=(t,e,n=200)=>{if(!t)return Promise.resolve();const o=(0,M.t)(t,n);return(0,r.Iu)((()=>{t.style.setProperty("transition",`${n}ms all ease-out`),void 0===e?t.style.removeProperty("transform"):t.style.setProperty("transform",`translate3d(0px, ${e}, 0px)`)})),o},uo=async(t,e)=>{const n=t.querySelector("ion-refresher-content");if(!n)return Promise.resolve(!1);await new Promise((t=>(0,M.c)(n,t)));const o=t.querySelector("ion-refresher-content .refresher-pulling ion-spinner"),i=t.querySelector("ion-refresher-content .refresher-refreshing ion-spinner");return null!==o&&null!==i&&("ios"===e&&m("mobile")&&void 0!==t.style.webkitOverflowScrolling||"md"===e)},ho="ion-refresher{left:0;top:0;display:none;position:absolute;width:100%;height:60px;pointer-events:none;z-index:-1}[dir=rtl] ion-refresher,:host-context([dir=rtl]) ion-refresher{left:unset;right:unset;right:0}ion-refresher.refresher-active{display:block}ion-refresher-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;height:100%}.refresher-pulling,.refresher-refreshing{display:none;width:100%}.refresher-pulling-icon,.refresher-refreshing-icon{-webkit-transform-origin:center;transform-origin:center;-webkit-transition:200ms;transition:200ms;font-size:30px;text-align:center}[dir=rtl] .refresher-pulling-icon,:host-context([dir=rtl]) .refresher-pulling-icon,[dir=rtl] .refresher-refreshing-icon,:host-context([dir=rtl]) .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}.refresher-pulling-text,.refresher-refreshing-text{font-size:16px;text-align:center}ion-refresher-content .arrow-container{display:none}.refresher-pulling ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.refresher-refreshing ion-refresher-content .refresher-refreshing{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-completing ion-refresher-content .refresher-refreshing{display:block}.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-native .refresher-pulling-text,.refresher-native .refresher-refreshing-text{display:none}.refresher-ios .refresher-pulling-icon,.refresher-ios .refresher-refreshing-icon{color:var(--ion-text-color, #000)}.refresher-ios .refresher-pulling-text,.refresher-ios .refresher-refreshing-text{color:var(--ion-text-color, #000)}.refresher-ios .refresher-refreshing .spinner-lines-ios line,.refresher-ios .refresher-refreshing .spinner-lines-small-ios line,.refresher-ios .refresher-refreshing .spinner-crescent circle{stroke:var(--ion-text-color, #000)}.refresher-ios .refresher-refreshing .spinner-bubbles circle,.refresher-ios .refresher-refreshing .spinner-circles circle,.refresher-ios .refresher-refreshing .spinner-dots circle{fill:var(--ion-text-color, #000)}ion-refresher.refresher-native{display:block;z-index:1}ion-refresher.refresher-native ion-spinner{margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){ion-refresher.refresher-native ion-spinner{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}.refresher-native .refresher-refreshing ion-spinner{--refreshing-rotation-duration:2s;display:none;-webkit-animation:var(--refreshing-rotation-duration) ease-out refresher-rotate forwards;animation:var(--refreshing-rotation-duration) ease-out refresher-rotate forwards}.refresher-native .refresher-refreshing{display:none;-webkit-animation:250ms linear refresher-pop forwards;animation:250ms linear refresher-pop forwards}.refresher-native ion-spinner{width:32px;height:32px;color:var(--ion-color-step-450, #747577)}.refresher-native.refresher-refreshing .refresher-pulling ion-spinner,.refresher-native.refresher-completing .refresher-pulling ion-spinner{display:none}.refresher-native.refresher-refreshing .refresher-refreshing ion-spinner,.refresher-native.refresher-completing .refresher-refreshing ion-spinner{display:block}.refresher-native.refresher-pulling .refresher-pulling ion-spinner{display:block}.refresher-native.refresher-pulling .refresher-refreshing ion-spinner{display:none}.refresher-native.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0) rotate(180deg);transform:scale(0) rotate(180deg);-webkit-transition:300ms;transition:300ms}@-webkit-keyframes refresher-pop{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{-webkit-transform:scale(1.2);transform:scale(1.2);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes refresher-pop{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{-webkit-transform:scale(1.2);transform:scale(1.2);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes refresher-rotate{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(180deg);transform:rotate(180deg)}}@keyframes refresher-rotate{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(180deg);transform:rotate(180deg)}}",po="ion-refresher{left:0;top:0;display:none;position:absolute;width:100%;height:60px;pointer-events:none;z-index:-1}[dir=rtl] ion-refresher,:host-context([dir=rtl]) ion-refresher{left:unset;right:unset;right:0}ion-refresher.refresher-active{display:block}ion-refresher-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;height:100%}.refresher-pulling,.refresher-refreshing{display:none;width:100%}.refresher-pulling-icon,.refresher-refreshing-icon{-webkit-transform-origin:center;transform-origin:center;-webkit-transition:200ms;transition:200ms;font-size:30px;text-align:center}[dir=rtl] .refresher-pulling-icon,:host-context([dir=rtl]) .refresher-pulling-icon,[dir=rtl] .refresher-refreshing-icon,:host-context([dir=rtl]) .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}.refresher-pulling-text,.refresher-refreshing-text{font-size:16px;text-align:center}ion-refresher-content .arrow-container{display:none}.refresher-pulling ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.refresher-refreshing ion-refresher-content .refresher-refreshing{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-completing ion-refresher-content .refresher-refreshing{display:block}.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-native .refresher-pulling-text,.refresher-native .refresher-refreshing-text{display:none}.refresher-md .refresher-pulling-icon,.refresher-md .refresher-refreshing-icon{color:var(--ion-text-color, #000)}.refresher-md .refresher-pulling-text,.refresher-md .refresher-refreshing-text{color:var(--ion-text-color, #000)}.refresher-md .refresher-refreshing .spinner-lines-md line,.refresher-md .refresher-refreshing .spinner-lines-small-md line,.refresher-md .refresher-refreshing .spinner-crescent circle{stroke:var(--ion-text-color, #000)}.refresher-md .refresher-refreshing .spinner-bubbles circle,.refresher-md .refresher-refreshing .spinner-circles circle,.refresher-md .refresher-refreshing .spinner-dots circle{fill:var(--ion-text-color, #000)}ion-refresher.refresher-native{display:block;z-index:1}ion-refresher.refresher-native ion-spinner{margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;width:24px;height:24px;color:var(--ion-color-primary, #3880ff)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){ion-refresher.refresher-native ion-spinner{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}ion-refresher.refresher-native .spinner-arrow-container{display:inherit}ion-refresher.refresher-native .arrow-container{display:block;position:absolute;width:24px;height:24px}ion-refresher.refresher-native .arrow-container ion-icon{margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;left:0;right:0;bottom:-4px;position:absolute;color:var(--ion-color-primary, #3880ff);font-size:12px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){ion-refresher.refresher-native .arrow-container ion-icon{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}ion-refresher.refresher-native.refresher-pulling ion-refresher-content .refresher-pulling,ion-refresher.refresher-native.refresher-ready ion-refresher-content .refresher-pulling{display:-ms-flexbox;display:flex}ion-refresher.refresher-native.refresher-refreshing ion-refresher-content .refresher-refreshing,ion-refresher.refresher-native.refresher-completing ion-refresher-content .refresher-refreshing,ion-refresher.refresher-native.refresher-cancelling ion-refresher-content .refresher-refreshing{display:-ms-flexbox;display:flex}ion-refresher.refresher-native .refresher-pulling-icon{-webkit-transform:translateY(calc(-100% - 10px));transform:translateY(calc(-100% - 10px))}ion-refresher.refresher-native .refresher-pulling-icon,ion-refresher.refresher-native .refresher-refreshing-icon{margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;border-radius:100%;padding-left:8px;padding-right:8px;padding-top:8px;padding-bottom:8px;display:-ms-flexbox;display:flex;border:1px solid var(--ion-color-step-200, #ececec);background:var(--ion-color-step-250, #ffffff);-webkit-box-shadow:0px 1px 6px rgba(0, 0, 0, 0.1);box-shadow:0px 1px 6px rgba(0, 0, 0, 0.1)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){ion-refresher.refresher-native .refresher-pulling-icon,ion-refresher.refresher-native .refresher-refreshing-icon{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){ion-refresher.refresher-native .refresher-pulling-icon,ion-refresher.refresher-native .refresher-refreshing-icon{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}",fo=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.ionRefresh=(0,r.yM)(this,"ionRefresh",7),this.ionPull=(0,r.yM)(this,"ionPull",7),this.ionStart=(0,r.yM)(this,"ionStart",7),this.appliedStyles=!1,this.didStart=!1,this.progress=0,this.pointerDown=!1,this.needsCompletion=!1,this.didRefresh=!1,this.lastVelocityY=0,this.animations=[],this.nativeRefresher=!1,this.state=1,this.pullMin=60,this.pullMax=this.pullMin+60,this.closeDuration="280ms",this.snapbackDuration="280ms",this.pullFactor=1,this.disabled=!1}disabledChanged(){this.gesture&&this.gesture.enable(!this.disabled)}async checkNativeRefresher(){const t=await uo(this.el,z(this));if(t&&!this.nativeRefresher){const t=this.el.closest("ion-content");this.setupNativeRefresher(t)}else t||this.destroyNativeRefresher()}destroyNativeRefresher(){this.scrollEl&&this.scrollListenerCallback&&(this.scrollEl.removeEventListener("scroll",this.scrollListenerCallback),this.scrollListenerCallback=void 0),this.nativeRefresher=!1}async resetNativeRefresher(t,e){this.state=e,"ios"===z(this)?await co(t,void 0,300):await(0,M.t)(this.el.querySelector(".refresher-refreshing-icon"),200),this.didRefresh=!1,this.needsCompletion=!1,this.pointerDown=!1,this.animations.forEach((t=>t.destroy())),this.animations=[],this.progress=0,this.state=1}async setupiOSNativeRefresher(t,e){this.elementToTransform=this.scrollEl;const o=t.shadowRoot.querySelectorAll("svg");let i=.16*this.scrollEl.clientHeight;const a=o.length;(0,r.Iu)((()=>o.forEach((t=>t.style.setProperty("animation","none"))))),this.scrollListenerCallback=()=>{(this.pointerDown||1!==this.state)&&(0,r.wj)((()=>{const t=this.scrollEl.scrollTop,n=this.el.clientHeight;if(t>0){if(8===this.state){const o=(0,M.j)(0,t/(.5*n),1);return void(0,r.Iu)((()=>ao(e,1-o)))}return}this.pointerDown&&(this.didStart||(this.didStart=!0,this.ionStart.emit()),this.pointerDown&&this.ionPull.emit());const s=this.didStart?30:0,l=this.progress=(0,M.j)(0,(Math.abs(t)-s)/i,1),c=8===this.state||1===l;c?(this.pointerDown&&lo(e,this.lastVelocityY),this.didRefresh||(this.beginRefresh(),this.didRefresh=!0,Zn({style:"light"}),this.pointerDown||co(this.elementToTransform,`${n}px`))):(this.state=2,so(o,a,l))}))},this.scrollEl.addEventListener("scroll",this.scrollListenerCallback),this.gesture=(await Promise.resolve().then(n.bind(n,6515))).createGesture({el:this.scrollEl,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:5,onStart:()=>{this.pointerDown=!0,this.didRefresh||co(this.elementToTransform,"0px"),0===i&&(i=.16*this.scrollEl.clientHeight)},onMove:t=>{this.lastVelocityY=t.velocityY},onEnd:()=>{this.pointerDown=!1,this.didStart=!1,this.needsCompletion?(this.resetNativeRefresher(this.elementToTransform,32),this.needsCompletion=!1):this.didRefresh&&(0,r.wj)((()=>co(this.elementToTransform,`${this.el.clientHeight}px`)))}}),this.disabledChanged()}async setupMDNativeRefresher(t,e,o){const i=(0,M.g)(e).querySelector("circle"),a=this.el.querySelector("ion-refresher-content .refresher-pulling-icon"),s=(0,M.g)(o).querySelector("circle");null!==i&&null!==s&&(0,r.Iu)((()=>{i.style.setProperty("animation","none"),o.style.setProperty("animation-delay","-655ms"),s.style.setProperty("animation-delay","-655ms")})),this.gesture=(await Promise.resolve().then(n.bind(n,6515))).createGesture({el:this.scrollEl,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:5,canStart:()=>8!==this.state&&32!==this.state&&0===this.scrollEl.scrollTop,onStart:t=>{this.progress=0,t.data={animation:void 0,didStart:!1,cancelled:!1}},onMove:e=>{if(e.velocityY<0&&0===this.progress&&!e.data.didStart||e.data.cancelled)e.data.cancelled=!0;else{if(!e.data.didStart){e.data.didStart=!0,this.state=2,(0,r.Iu)((()=>this.scrollEl.style.setProperty("--overflow","hidden")));const n=to(t),o=eo(n,a,this.el);return e.data.animation=o,o.progressStart(!1,0),this.ionStart.emit(),void this.animations.push(o)}this.progress=(0,M.j)(0,e.deltaY/180*.5,1),e.data.animation.progressStep(this.progress),this.ionPull.emit()}},onEnd:t=>{if(!t.data.didStart)return;if(this.gesture.enable(!1),(0,r.Iu)((()=>this.scrollEl.style.removeProperty("--overflow"))),this.progress<=.4)return void t.data.animation.progressEnd(0,this.progress,500).onFinish((()=>{this.animations.forEach((t=>t.destroy())),this.animations=[],this.gesture.enable(!0),this.state=1}));const e=Wn([0,0],[0,0],[1,1],[1,1],this.progress)[0],n=ro(a);this.animations.push(n),(0,r.Iu)((async()=>{a.style.setProperty("--ion-pulling-refresher-translate",100*e+"px"),t.data.animation.progressEnd(),await n.play(),this.beginRefresh(),t.data.animation.destroy(),this.gesture.enable(!0)}))}}),this.disabledChanged()}async setupNativeRefresher(t){if(this.scrollListenerCallback||!t||this.nativeRefresher||!this.scrollEl)return;this.setCss(0,"",!1,""),this.nativeRefresher=!0;const e=this.el.querySelector("ion-refresher-content .refresher-pulling ion-spinner"),n=this.el.querySelector("ion-refresher-content .refresher-refreshing ion-spinner");"ios"===z(this)?this.setupiOSNativeRefresher(e,n):this.setupMDNativeRefresher(t,e,n)}componentDidUpdate(){this.checkNativeRefresher()}async connectedCallback(){if("fixed"!==this.el.getAttribute("slot"))return void console.error('Make sure you use: ');const t=this.el.closest(Bt.I);if(!t)return void(0,Bt.p)(this.el);const e=t.querySelector(Bt.b);this.scrollEl=await(0,Bt.g)(null!==e&&void 0!==e?e:t),this.backgroundContentEl=(0,M.g)(null!==t&&void 0!==t?t:e).querySelector("#background-content"),await uo(this.el,z(this))?this.setupNativeRefresher(t):(this.gesture=(await Promise.resolve().then(n.bind(n,6515))).createGesture({el:t,gestureName:"refresher",gesturePriority:31,direction:"y",threshold:20,passive:!1,canStart:()=>this.canStart(),onStart:()=>this.onStart(),onMove:t=>this.onMove(t),onEnd:()=>this.onEnd()}),this.disabledChanged())}disconnectedCallback(){this.destroyNativeRefresher(),this.scrollEl=void 0,this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}async complete(){this.nativeRefresher?(this.needsCompletion=!0,this.pointerDown||(0,M.r)((()=>(0,M.r)((()=>this.resetNativeRefresher(this.elementToTransform,32)))))):this.close(32,"120ms")}async cancel(){this.nativeRefresher?this.pointerDown||(0,M.r)((()=>(0,M.r)((()=>this.resetNativeRefresher(this.elementToTransform,16))))):this.close(16,"")}getProgress(){return Promise.resolve(this.progress)}canStart(){return!!this.scrollEl&&(1===this.state&&!(this.scrollEl.scrollTop>0))}onStart(){this.progress=0,this.state=1}onMove(t){if(!this.scrollEl)return;const e=t.event;if(e.touches&&e.touches.length>1)return;if(0!==(56&this.state))return;const n=Number.isNaN(this.pullFactor)||this.pullFactor<0?1:this.pullFactor,o=t.deltaY*n;if(o<=0)return this.progress=0,this.state=1,this.appliedStyles?void this.setCss(0,"",!1,""):void 0;if(1===this.state){const t=this.scrollEl.scrollTop;if(t>0)return void(this.progress=0);this.state=2}if(e.cancelable&&e.preventDefault(),this.setCss(o,"0ms",!0,""),0===o)return void(this.progress=0);const i=this.pullMin;this.progress=o/i,this.didStart||(this.didStart=!0,this.ionStart.emit()),this.ionPull.emit(),othis.pullMax?this.beginRefresh():this.state=4}onEnd(){4===this.state?this.beginRefresh():2===this.state&&this.cancel()}beginRefresh(){this.state=8,this.setCss(this.pullMin,this.snapbackDuration,!0,""),this.ionRefresh.emit({complete:this.complete.bind(this)})}close(t,e){setTimeout((()=>{this.state=1,this.progress=0,this.didStart=!1,this.setCss(0,"0ms",!1,"")}),600),this.state=t,this.setCss(0,this.closeDuration,!0,e)}setCss(t,e,n,o){this.nativeRefresher||(this.appliedStyles=t>0,(0,r.Iu)((()=>{if(this.scrollEl&&this.backgroundContentEl){const i=this.scrollEl.style,r=this.backgroundContentEl.style;i.transform=r.transform=t>0?`translateY(${t}px) translateZ(0px)`:"",i.transitionDuration=r.transitionDuration=e,i.transitionDelay=r.transitionDelay=o,i.overflow=n?"hidden":""}})))}render(){const t=z(this);return(0,r.h)(r.AA,{slot:"fixed",class:{[t]:!0,[`refresher-${t}`]:!0,"refresher-native":this.nativeRefresher,"refresher-active":1!==this.state,"refresher-pulling":2===this.state,"refresher-ready":4===this.state,"refresher-refreshing":8===this.state,"refresher-cancelling":16===this.state,"refresher-completing":32===this.state}})}get el(){return this}static get watchers(){return{disabled:["disabledChanged"]}}static get style(){return{ios:ho,md:po}}},[32,"ion-refresher",{pullMin:[2,"pull-min"],pullMax:[2,"pull-max"],closeDuration:[1,"close-duration"],snapbackDuration:[1,"snapback-duration"],pullFactor:[2,"pull-factor"],disabled:[4],nativeRefresher:[32],state:[32],complete:[64],cancel:[64],getProgress:[64]}]);function mo(){if("undefined"===typeof customElements)return;const t=["ion-refresher"];t.forEach((t=>{switch(t){case"ion-refresher":customElements.get(t)||customElements.define(t,fo);break}}))}const go=mo,bo=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost()}componentWillLoad(){if(void 0===this.pullingIcon){const t=z(this),e=void 0!==this.el.style.webkitOverflowScrolling?"lines":ze;this.pullingIcon=s.get("refreshingIcon","ios"===t&&m("mobile")?s.get("spinner",e):"circular")}if(void 0===this.refreshingSpinner){const t=z(this);this.refreshingSpinner=s.get("refreshingSpinner",s.get("spinner","ios"===t?"lines":"circular"))}}render(){const t=this.pullingIcon,e=null!=t&&void 0!==ye[t],n=z(this);return(0,r.h)(r.AA,{class:n},(0,r.h)("div",{class:"refresher-pulling"},this.pullingIcon&&e&&(0,r.h)("div",{class:"refresher-pulling-icon"},(0,r.h)("div",{class:"spinner-arrow-container"},(0,r.h)("ion-spinner",{name:this.pullingIcon,paused:!0}),"md"===n&&"circular"===this.pullingIcon&&(0,r.h)("div",{class:"arrow-container"},(0,r.h)("ion-icon",{icon:je})))),this.pullingIcon&&!e&&(0,r.h)("div",{class:"refresher-pulling-icon"},(0,r.h)("ion-icon",{icon:this.pullingIcon,lazy:!1})),this.pullingText&&(0,r.h)("div",{class:"refresher-pulling-text",innerHTML:ue(this.pullingText)})),(0,r.h)("div",{class:"refresher-refreshing"},this.refreshingSpinner&&(0,r.h)("div",{class:"refresher-refreshing-icon"},(0,r.h)("ion-spinner",{name:this.refreshingSpinner})),this.refreshingText&&(0,r.h)("div",{class:"refresher-refreshing-text",innerHTML:ue(this.refreshingText)})))}get el(){return this}},[0,"ion-refresher-content",{pullingIcon:[1025,"pulling-icon"],pullingText:[1,"pulling-text"],refreshingSpinner:[1025,"refreshing-spinner"],refreshingText:[1,"refreshing-text"]}]);function vo(){if("undefined"===typeof customElements)return;const t=["ion-refresher-content","ion-icon","ion-spinner"];t.forEach((t=>{switch(t){case"ion-refresher-content":customElements.get(t)||customElements.define(t,bo);break;case"ion-icon":customElements.get(t)||hn();break;case"ion-spinner":customElements.get(t)||Ee();break}}))}const yo=vo,wo=":host{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}",xo=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.__attachShadow()}render(){return(0,r.h)(r.AA,{class:z(this)},(0,r.h)("slot",null))}static get style(){return wo}},[1,"ion-row"]);function ko(){if("undefined"===typeof customElements)return;const t=["ion-row"];t.forEach((t=>{switch(t){case"ion-row":customElements.get(t)||customElements.define(t,xo);break}}))}const $o=ko,Eo=".sc-ion-searchbar-ios-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:.5;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-searchbar-ios-h{color:var(--ion-color-contrast)}.ion-color.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{background:var(--ion-color-base)}.ion-color.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:inherit}.searchbar-search-icon.sc-ion-searchbar-ios{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-ios{display:block;position:relative;-ms-flex-negative:1;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-ios{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;border-radius:var(--border-radius);display:block;width:100%;border:0;outline:none;background:var(--background);font-family:inherit;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-input.sc-ion-searchbar-ios::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-ios::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-ios>div.sc-ion-searchbar-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios{display:block}.searchbar-disabled.sc-ion-searchbar-ios-h{cursor:default;opacity:0.4;pointer-events:none}.sc-ion-searchbar-ios-h{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.07);--border-radius:10px;--box-shadow:none;--cancel-button-color:var(--ion-color-primary, #3880ff);--clear-button-color:var(--ion-color-step-600, #666666);--color:var(--ion-text-color, #000);--icon-color:var(--ion-color-step-600, #666666);padding-left:12px;padding-right:12px;padding-top:12px;padding-bottom:12px;height:60px;contain:strict}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.sc-ion-searchbar-ios-h{padding-left:unset;padding-right:unset;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px}}.searchbar-input-container.sc-ion-searchbar-ios{height:36px}.searchbar-search-icon.sc-ion-searchbar-ios{margin-left:calc(50% - 60px);left:5px;top:0;position:absolute;width:22px;height:100%;contain:strict}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.searchbar-search-icon.sc-ion-searchbar-ios{margin-left:unset;-webkit-margin-start:calc(50% - 60px);margin-inline-start:calc(50% - 60px)}}[dir=rtl].sc-ion-searchbar-ios .searchbar-search-icon.sc-ion-searchbar-ios,[dir=rtl].sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,[dir=rtl] .sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{left:unset;right:unset;right:5px}.searchbar-input.sc-ion-searchbar-ios{padding-left:28px;padding-right:28px;padding-top:0;padding-bottom:0;height:100%;font-size:17px;font-weight:400;contain:strict}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.searchbar-input.sc-ion-searchbar-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:28px;padding-inline-start:28px;-webkit-padding-end:28px;padding-inline-end:28px}}.searchbar-clear-button.sc-ion-searchbar-ios{right:0;top:0;background-position:center;position:absolute;width:30px;height:100%;border:0;background-color:transparent}[dir=rtl].sc-ion-searchbar-ios .searchbar-clear-button.sc-ion-searchbar-ios,[dir=rtl].sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios,[dir=rtl] .sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios{left:unset;right:unset;left:0}.searchbar-clear-icon.sc-ion-searchbar-ios{width:18px;height:100%}.searchbar-cancel-button.sc-ion-searchbar-ios{padding-left:8px;padding-right:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0;background-color:transparent;font-size:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.searchbar-cancel-button.sc-ion-searchbar-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:0;padding-inline-end:0}}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{margin-left:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{margin-left:unset;-webkit-margin-start:0;margin-inline-start:0}}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{padding-left:30px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{padding-left:unset;-webkit-padding-start:30px;padding-inline-start:30px}}.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{display:block}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-transition:all 300ms ease;transition:all 300ms ease}.searchbar-animated.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{opacity:1;pointer-events:auto}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{margin-right:-100%;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:all 300ms ease;transition:all 300ms ease;opacity:0;pointer-events:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{margin-right:unset;-webkit-margin-end:-100%;margin-inline-end:-100%}}.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-transition-duration:0ms;transition-duration:0ms}.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{color:var(--ion-color-base)}@media (any-hover: hover){.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios:hover{color:var(--ion-color-tint)}}ion-toolbar.sc-ion-searchbar-ios-h,ion-toolbar .sc-ion-searchbar-ios-h{padding-top:1px;padding-bottom:15px;height:52px}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color),ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color){color:inherit}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios{color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios{background:rgba(var(--ion-color-contrast-rgb), 0.07);color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}",So=".sc-ion-searchbar-md-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:.5;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-searchbar-md-h{color:var(--ion-color-contrast)}.ion-color.sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md{background:var(--ion-color-base)}.ion-color.sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md,.ion-color.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,.ion-color.sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{color:inherit}.searchbar-search-icon.sc-ion-searchbar-md{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-md{display:block;position:relative;-ms-flex-negative:1;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-md{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;border-radius:var(--border-radius);display:block;width:100%;border:0;outline:none;background:var(--background);font-family:inherit;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-input.sc-ion-searchbar-md::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-md::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-md>div.sc-ion-searchbar-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md{display:block}.searchbar-disabled.sc-ion-searchbar-md-h{cursor:default;opacity:0.4;pointer-events:none}.sc-ion-searchbar-md-h{--background:var(--ion-background-color, #fff);--border-radius:2px;--box-shadow:0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);--cancel-button-color:var(--ion-color-step-900, #1a1a1a);--clear-button-color:initial;--color:var(--ion-color-step-850, #262626);--icon-color:var(--ion-color-step-600, #666666);padding-left:8px;padding-right:8px;padding-top:8px;padding-bottom:8px;background:inherit}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.sc-ion-searchbar-md-h{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}.searchbar-search-icon.sc-ion-searchbar-md{left:16px;top:11px;width:21px;height:21px}[dir=rtl].sc-ion-searchbar-md .searchbar-search-icon.sc-ion-searchbar-md,[dir=rtl].sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{left:unset;right:unset;right:16px}.searchbar-cancel-button.sc-ion-searchbar-md{left:5px;top:0;background-color:transparent;font-size:1.6em}[dir=rtl].sc-ion-searchbar-md .searchbar-cancel-button.sc-ion-searchbar-md,[dir=rtl].sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md{left:unset;right:unset;right:5px}.searchbar-search-icon.sc-ion-searchbar-md,.searchbar-cancel-button.sc-ion-searchbar-md{position:absolute}.searchbar-search-icon.ion-activated.sc-ion-searchbar-md,.searchbar-cancel-button.ion-activated.sc-ion-searchbar-md{background-color:transparent}.searchbar-input.sc-ion-searchbar-md{padding-left:55px;padding-right:55px;padding-top:6px;padding-bottom:6px;background-position:left 8px center;height:auto;font-size:16px;font-weight:400;line-height:30px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.searchbar-input.sc-ion-searchbar-md{padding-left:unset;padding-right:unset;-webkit-padding-start:55px;padding-inline-start:55px;-webkit-padding-end:55px;padding-inline-end:55px}}[dir=rtl].sc-ion-searchbar-md .searchbar-input.sc-ion-searchbar-md,[dir=rtl].sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md{background-position:right 8px center}.searchbar-clear-button.sc-ion-searchbar-md{right:13px;top:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;position:absolute;height:100%;border:0;background-color:transparent}[dir=rtl].sc-ion-searchbar-md .searchbar-clear-button.sc-ion-searchbar-md,[dir=rtl].sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md{left:unset;right:unset;left:13px}.searchbar-clear-button.ion-activated.sc-ion-searchbar-md{background-color:transparent}.searchbar-clear-icon.sc-ion-searchbar-md{width:22px;height:100%}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{display:block}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,.searchbar-should-show-cancel.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md{display:block}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md+.searchbar-search-icon.sc-ion-searchbar-md,.searchbar-should-show-cancel.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md+.searchbar-search-icon.sc-ion-searchbar-md{display:none}ion-toolbar.sc-ion-searchbar-md-h,ion-toolbar .sc-ion-searchbar-md-h{padding-left:7px;padding-right:7px;padding-top:3px;padding-bottom:3px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){ion-toolbar.sc-ion-searchbar-md-h,ion-toolbar .sc-ion-searchbar-md-h{padding-left:unset;padding-right:unset;-webkit-padding-start:7px;padding-inline-start:7px;-webkit-padding-end:7px;padding-inline-end:7px}}",_o=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.ionInput=(0,r.yM)(this,"ionInput",7),this.ionChange=(0,r.yM)(this,"ionChange",7),this.ionCancel=(0,r.yM)(this,"ionCancel",7),this.ionClear=(0,r.yM)(this,"ionClear",7),this.ionBlur=(0,r.yM)(this,"ionBlur",7),this.ionFocus=(0,r.yM)(this,"ionFocus",7),this.ionStyle=(0,r.yM)(this,"ionStyle",7),this.isCancelVisible=!1,this.shouldAlignLeft=!0,this.focused=!1,this.noAnimate=!0,this.animated=!1,this.autocomplete="off",this.autocorrect="off",this.cancelButtonIcon=s.get("backButtonIcon",Pe),this.cancelButtonText="Cancel",this.debounce=250,this.disabled=!1,this.placeholder="Search",this.showCancelButton="never",this.showClearButton="always",this.spellcheck=!1,this.type="search",this.value="",this.onClearInput=(t,e)=>{this.ionClear.emit(),t&&(t.preventDefault(),t.stopPropagation()),setTimeout((()=>{const t=this.getValue();""!==t&&(this.value="",this.ionInput.emit(),e&&!this.focused&&this.setFocus())}),64)},this.onCancelSearchbar=t=>{t&&(t.preventDefault(),t.stopPropagation()),this.ionCancel.emit(),this.onClearInput(),this.nativeInput&&this.nativeInput.blur()},this.onInput=t=>{const e=t.target;e&&(this.value=e.value),this.ionInput.emit(t)},this.onBlur=()=>{this.focused=!1,this.ionBlur.emit(),this.positionElements()},this.onFocus=()=>{this.focused=!0,this.ionFocus.emit(),this.positionElements()}}debounceChanged(){this.ionChange=(0,M.l)(this.ionChange,this.debounce)}valueChanged(){const t=this.nativeInput,e=this.getValue();t&&t.value!==e&&(t.value=e),this.ionChange.emit({value:e})}showCancelButtonChanged(){requestAnimationFrame((()=>{this.positionElements(),(0,r.xE)(this)}))}connectedCallback(){this.emitStyle()}componentDidLoad(){this.positionElements(),this.debounceChanged(),setTimeout((()=>{this.noAnimate=!1}),300)}emitStyle(){this.ionStyle.emit({searchbar:!0})}async setFocus(){this.nativeInput&&this.nativeInput.focus()}getInputElement(){return Promise.resolve(this.nativeInput)}positionElements(){const t=this.getValue(),e=this.shouldAlignLeft,n=z(this),o=!this.animated||""!==t.trim()||!!this.focused;this.shouldAlignLeft=o,"ios"===n&&(e!==o&&this.positionPlaceholder(),this.animated&&this.positionCancelButton())}positionPlaceholder(){const t=this.nativeInput;if(!t)return;const e=(0,Rt.i)(this.el),n=(this.el.shadowRoot||this.el).querySelector(".searchbar-search-icon");if(this.shouldAlignLeft)t.removeAttribute("style"),n.removeAttribute("style");else{const o=document,i=o.createElement("span");i.innerText=this.placeholder||"",o.body.appendChild(i),(0,M.r)((()=>{const o=i.offsetWidth;i.remove();const r="calc(50% - "+o/2+"px)",a="calc(50% - "+(o/2+30)+"px)";e?(t.style.paddingRight=r,n.style.marginRight=a):(t.style.paddingLeft=r,n.style.marginLeft=a)}))}}positionCancelButton(){const t=(0,Rt.i)(this.el),e=(this.el.shadowRoot||this.el).querySelector(".searchbar-cancel-button"),n=this.shouldShowCancelButton();if(e&&n!==this.isCancelVisible){const o=e.style;if(this.isCancelVisible=n,n)t?o.marginLeft="0":o.marginRight="0";else{const n=e.offsetWidth;n>0&&(t?o.marginLeft=-n+"px":o.marginRight=-n+"px")}}}getValue(){return this.value||""}hasValue(){return""!==this.getValue()}shouldShowCancelButton(){return!("never"===this.showCancelButton||"focus"===this.showCancelButton&&!this.focused)}shouldShowClearButton(){return!("never"===this.showClearButton||"focus"===this.showClearButton&&!this.focused)}render(){const{cancelButtonText:t}=this,e=this.animated&&s.getBoolean("animated",!0),n=z(this),o=this.clearIcon||("ios"===n?Fe:He),i=this.searchIcon||("ios"===n?We:Ue),a=this.shouldShowCancelButton(),l="never"!==this.showCancelButton&&(0,r.h)("button",{"aria-label":t,"aria-hidden":a?void 0:"true",type:"button",tabIndex:"ios"!==n||a?void 0:-1,onMouseDown:this.onCancelSearchbar,onTouchStart:this.onCancelSearchbar,class:"searchbar-cancel-button"},(0,r.h)("div",{"aria-hidden":"true"},"md"===n?(0,r.h)("ion-icon",{"aria-hidden":"true",mode:n,icon:this.cancelButtonIcon,lazy:!1}):t));return(0,r.h)(r.AA,{role:"search","aria-disabled":this.disabled?"true":null,class:F(this.color,{[n]:!0,"searchbar-animated":e,"searchbar-disabled":this.disabled,"searchbar-no-animate":e&&this.noAnimate,"searchbar-has-value":this.hasValue(),"searchbar-left-aligned":this.shouldAlignLeft,"searchbar-has-focus":this.focused,"searchbar-should-show-clear":this.shouldShowClearButton(),"searchbar-should-show-cancel":this.shouldShowCancelButton()})},(0,r.h)("div",{class:"searchbar-input-container"},(0,r.h)("input",{"aria-label":"search text",disabled:this.disabled,ref:t=>this.nativeInput=t,class:"searchbar-input",inputMode:this.inputmode,enterKeyHint:this.enterkeyhint,onInput:this.onInput,onBlur:this.onBlur,onFocus:this.onFocus,placeholder:this.placeholder,type:this.type,value:this.getValue(),autoComplete:this.autocomplete,autoCorrect:this.autocorrect,spellcheck:this.spellcheck}),"md"===n&&l,(0,r.h)("ion-icon",{"aria-hidden":"true",mode:n,icon:i,lazy:!1,class:"searchbar-search-icon"}),(0,r.h)("button",{"aria-label":"reset",type:"button","no-blur":!0,class:"searchbar-clear-button",onMouseDown:t=>this.onClearInput(t,!0),onTouchStart:t=>this.onClearInput(t,!0)},(0,r.h)("ion-icon",{"aria-hidden":"true",mode:n,icon:o,lazy:!1,class:"searchbar-clear-icon"}))),"ios"===n&&l)}get el(){return this}static get watchers(){return{debounce:["debounceChanged"],value:["valueChanged"],showCancelButton:["showCancelButtonChanged"]}}static get style(){return{ios:Eo,md:So}}},[34,"ion-searchbar",{color:[513],animated:[4],autocomplete:[1],autocorrect:[1],cancelButtonIcon:[1,"cancel-button-icon"],cancelButtonText:[1,"cancel-button-text"],clearIcon:[1,"clear-icon"],debounce:[2],disabled:[4],inputmode:[1],enterkeyhint:[1],placeholder:[1],searchIcon:[1,"search-icon"],showCancelButton:[1,"show-cancel-button"],showClearButton:[1,"show-clear-button"],spellcheck:[4],type:[1],value:[1025],focused:[32],noAnimate:[32],setFocus:[64],getInputElement:[64]}]);function Co(){if("undefined"===typeof customElements)return;const t=["ion-searchbar","ion-icon"];t.forEach((t=>{switch(t){case"ion-searchbar":customElements.get(t)||customElements.define(t,_o);break;case"ion-icon":customElements.get(t)||hn();break}}))}const Ao=Co,To=Ee,Io=":host{--size:48px;--border-radius:0;border-radius:var(--border-radius);display:block;width:var(--size);height:var(--size)}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}",Lo=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.__attachShadow()}render(){return(0,r.h)(r.AA,{class:z(this)},(0,r.h)("slot",null))}static get style(){return Io}},[1,"ion-thumbnail"]);function Ro(){if("undefined"===typeof customElements)return;const t=["ion-thumbnail"];t.forEach((t=>{switch(t){case"ion-thumbnail":customElements.get(t)||customElements.define(t,Lo);break}}))}const Oo=Ro,Do=":host{--color:initial;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}.toolbar-title{display:block;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;pointer-events:auto}:host(.title-small) .toolbar-title{white-space:normal}:host{left:0;top:0;padding-left:90px;padding-right:90px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);position:absolute;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0);font-size:17px;font-weight:600;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host-context([dir=rtl]){left:unset;right:unset;right:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:90px;padding-inline-start:90px;-webkit-padding-end:90px;padding-inline-end:90px}}:host(.title-small){padding-left:9px;padding-right:9px;padding-top:6px;padding-bottom:16px;position:relative;font-size:13px;font-weight:normal}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.title-small){padding-left:unset;padding-right:unset;-webkit-padding-start:9px;padding-inline-start:9px;-webkit-padding-end:9px;padding-inline-end:9px}}:host(.title-large){padding-left:16px;padding-right:16px;padding-top:0;padding-bottom:0;-webkit-transform-origin:left center;transform-origin:left center;bottom:0;-ms-flex-align:end;align-items:flex-end;min-width:100%;padding-bottom:6px;font-size:34px;font-weight:700;text-align:start}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.title-large){padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}:host(.title-large.title-rtl){-webkit-transform-origin:right center;transform-origin:right center}:host(.title-large.ion-cloned-element){--color:var(--ion-text-color, #000)}:host(.title-large) .toolbar-title{-webkit-transform-origin:inherit;transform-origin:inherit}:host-context([dir=rtl]):host(.title-large) .toolbar-title,:host-context([dir=rtl]).title-large .toolbar-title{-webkit-transform-origin:calc(100% - inherit);transform-origin:calc(100% - inherit)}",No=":host{--color:initial;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}.toolbar-title{display:block;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;pointer-events:auto}:host(.title-small) .toolbar-title{white-space:normal}:host{padding-left:20px;padding-right:20px;padding-top:0;padding-bottom:0;font-size:20px;font-weight:500;letter-spacing:0.0125em}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px}}:host(.title-small){width:100%;height:100%;font-size:15px;font-weight:normal}",Po=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionStyle=(0,r.yM)(this,"ionStyle",7)}sizeChanged(){this.emitStyle()}connectedCallback(){this.emitStyle()}emitStyle(){const t=this.getSize();this.ionStyle.emit({[`title-${t}`]:!0})}getSize(){return void 0!==this.size?this.size:"default"}render(){const t=z(this),e=this.getSize();return(0,r.h)(r.AA,{class:F(this.color,{[t]:!0,[`title-${e}`]:!0,"title-rtl":"rtl"===document.dir})},(0,r.h)("div",{class:"toolbar-title"},(0,r.h)("slot",null)))}get el(){return this}static get watchers(){return{size:["sizeChanged"]}}static get style(){return{ios:Do,md:No}}},[33,"ion-title",{color:[513],size:[1]}]);function zo(){if("undefined"===typeof customElements)return;const t=["ion-title"];t.forEach((t=>{switch(t){case"ion-title":customElements.get(t)||customElements.define(t,Po);break}}))}const jo=zo,Mo=":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding-left:var(--ion-safe-area-left);padding-right:var(--ion-safe-area-right);display:block;position:relative;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-safe-area-left);padding-inline-start:var(--ion-safe-area-left);-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toolbar-container{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-color-step-50, #f7f7f7));--color:var(--ion-toolbar-color, var(--ion-text-color, #000));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.2))));--padding-top:3px;--padding-bottom:3px;--padding-start:4px;--padding-end:4px;--min-height:44px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:4;order:4;min-width:0}:host(.toolbar-segment) .toolbar-content{display:-ms-inline-flexbox;display:inline-flex}:host(.toolbar-searchbar) .toolbar-container{padding-top:0;padding-bottom:0}:host(.toolbar-searchbar) ::slotted(*){-ms-flex-item-align:start;align-self:start}:host(.toolbar-searchbar) ::slotted(ion-chip){margin-top:3px}:host(.toolbar-searchbar) ::slotted(ion-back-button){height:38px}::slotted(ion-buttons){min-height:38px}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:3;order:3}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}:host(.toolbar-title-large) .toolbar-container{-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:start;align-items:flex-start}:host(.toolbar-title-large) .toolbar-content ion-title{-ms-flex:1;flex:1;-ms-flex-order:8;order:8;min-width:100%}",Bo=":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding-left:var(--ion-safe-area-left);padding-right:var(--ion-safe-area-right);display:block;position:relative;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-safe-area-left);padding-inline-start:var(--ion-safe-area-left);-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toolbar-container{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-background-color, #fff));--color:var(--ion-toolbar-color, var(--ion-text-color, #424242));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, #c1c4cd)));--padding-top:0;--padding-bottom:0;--padding-start:0;--padding-end:0;--min-height:56px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:3;order:3;min-width:0;max-width:100%}::slotted(ion-segment){min-height:var(--min-height)}::slotted(.buttons-first-slot){margin-left:4px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(.buttons-first-slot){margin-left:unset;-webkit-margin-start:4px;margin-inline-start:4px}}::slotted(.buttons-last-slot){margin-right:4px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(.buttons-last-slot){margin-right:unset;-webkit-margin-end:4px;margin-inline-end:4px}}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:4;order:4}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}",Fo=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.childrenStyles=new Map}componentWillLoad(){const t=Array.from(this.el.querySelectorAll("ion-buttons")),e=t.find((t=>"start"===t.slot));e&&e.classList.add("buttons-first-slot");const n=t.reverse(),o=n.find((t=>"end"===t.slot))||n.find((t=>"primary"===t.slot))||n.find((t=>"secondary"===t.slot));o&&o.classList.add("buttons-last-slot")}childrenStyle(t){t.stopPropagation();const e=t.target.tagName,n=t.detail,o={},i=this.childrenStyles.get(e)||{};let a=!1;Object.keys(n).forEach((t=>{const e=`toolbar-${t}`,r=n[t];r!==i[e]&&(a=!0),r&&(o[e]=!0)})),a&&(this.childrenStyles.set(e,o),(0,r.xE)(this))}render(){const t=z(this),e={};return this.childrenStyles.forEach((t=>{Object.assign(e,t)})),(0,r.h)(r.AA,{class:Object.assign(Object.assign({},e),F(this.color,{[t]:!0,"in-toolbar":B("ion-toolbar",this.el)}))},(0,r.h)("div",{class:"toolbar-background"}),(0,r.h)("div",{class:"toolbar-container"},(0,r.h)("slot",{name:"start"}),(0,r.h)("slot",{name:"secondary"}),(0,r.h)("div",{class:"toolbar-content"},(0,r.h)("slot",null)),(0,r.h)("slot",{name:"primary"}),(0,r.h)("slot",{name:"end"})))}get el(){return this}static get style(){return{ios:Mo,md:Bo}}},[33,"ion-toolbar",{color:[513]},[[0,"ionStyle","childrenStyle"]]]);function Ho(){if("undefined"===typeof customElements)return;const t=["ion-toolbar"];t.forEach((t=>{switch(t){case"ion-toolbar":customElements.get(t)||customElements.define(t,Fo);break}}))}const Wo=Ho;var Uo=n(4261); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +let qo=0;const Vo=new WeakMap,Yo=t=>({create(e){return Zo(t,e)},dismiss(e,n,o){return ri(document,e,n,t,o)},async getTop(){return si(document,t)}}),Go=Yo("ion-action-sheet"),Xo=Yo("ion-loading"),Jo=Yo("ion-toast"),Ko=t=>{"undefined"!==typeof document&&ii(document);const e=qo++;t.overlayIndex=e,t.hasAttribute("id")||(t.id=`ion-overlay-${e}`)},Zo=(t,e)=>"undefined"!==typeof window&&"undefined"!==typeof window.customElements?window.customElements.whenDefined(t).then((()=>{const n=document.createElement(t);return n.classList.add("overlay-hidden"),Object.assign(n,Object.assign(Object.assign({},e),{hasController:!0})),hi(document).appendChild(n),new Promise((t=>(0,M.c)(n,t)))})):Promise.resolve(),Qo='[tabindex]:not([tabindex^="-"]), input:not([type=hidden]):not([tabindex^="-"]), textarea:not([tabindex^="-"]), button:not([tabindex^="-"]), select:not([tabindex^="-"]), .ion-focusable:not([tabindex^="-"])',ti=(t,e)=>{let n=t.querySelector(Qo);const o=null===n||void 0===n?void 0:n.shadowRoot;o&&(n=o.querySelector(Qo)||n),n?(0,M.f)(n):e.focus()},ei=t=>t.classList.contains("overlay-hidden"),ni=(t,e)=>{const n=Array.from(t.querySelectorAll(Qo));let o=n.length>0?n[n.length-1]:null;const i=null===o||void 0===o?void 0:o.shadowRoot;i&&(o=i.querySelector(Qo)||o),o?o.focus():e.focus()},oi=(t,e)=>{const n=si(e,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover"),o=t.target;if(!n||!o)return;if(n.classList.contains("ion-disable-focus-trap"))return;const i=()=>{if(n===o)n.lastFocus=void 0;else{const t=(0,M.g)(n);if(!t.contains(o))return;const i=t.querySelector(".ion-overlay-wrapper");if(!i)return;if(i.contains(o))n.lastFocus=o;else{const t=n.lastFocus;ti(i,n),t===e.activeElement&&ni(i,n),n.lastFocus=e.activeElement}}},r=()=>{if(n.contains(o))n.lastFocus=o;else{const t=n.lastFocus;ti(n,n),t===e.activeElement&&ni(n,n),n.lastFocus=e.activeElement}};n.shadowRoot?r():i()},ii=t=>{0===qo&&(qo=1,t.addEventListener("focus",(e=>{oi(e,t)}),!0),t.addEventListener("ionBackButton",(e=>{const n=si(t);(null===n||void 0===n?void 0:n.backdropDismiss)&&e.detail.register(Uo.OVERLAY_BACK_BUTTON_PRIORITY,(()=>n.dismiss(void 0,yi)))})),t.addEventListener("keyup",(e=>{if("Escape"===e.key){const e=si(t);(null===e||void 0===e?void 0:e.backdropDismiss)&&e.dismiss(void 0,yi)}})))},ri=(t,e,n,o,i)=>{const r=si(t,o,i);return r?r.dismiss(e,n):Promise.reject("overlay does not exist")},ai=(t,e)=>(void 0===e&&(e="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(t.querySelectorAll(e)).filter((t=>t.overlayIndex>0))),si=(t,e,n)=>{const o=ai(t,e).filter((t=>!ei(t)));return void 0===n?o[o.length-1]:o.find((t=>t.id===n))},li=(t=!1)=>{const e=hi(document),n=e.querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");n&&(t?n.setAttribute("aria-hidden","true"):n.removeAttribute("aria-hidden"))},ci=async(t,e,n,o,i)=>{var r,a;if(t.presented)return;li(!0),t.presented=!0,t.willPresent.emit(),null===(r=t.willPresentShorthand)||void 0===r||r.emit();const l=z(t),c=t.enterAnimation?t.enterAnimation:s.get(e,"ios"===l?n:o),d=await pi(t,c,t.el,i);d&&(t.didPresent.emit(),null===(a=t.didPresentShorthand)||void 0===a||a.emit()),"ION-TOAST"!==t.el.tagName&&di(t.el),!t.keyboardClose||null!==document.activeElement&&t.el.contains(document.activeElement)||t.el.focus()},di=async t=>{let e=document.activeElement;if(!e)return;const n=null===e||void 0===e?void 0:e.shadowRoot;n&&(e=n.querySelector(Qo)||e),await t.onDidDismiss(),e.focus()},ui=async(t,e,n,o,i,r,a)=>{var l,c;if(!t.presented)return!1;li(!1),t.presented=!1;try{t.el.style.setProperty("pointer-events","none"),t.willDismiss.emit({data:e,role:n}),null===(l=t.willDismissShorthand)||void 0===l||l.emit({data:e,role:n});const d=z(t),u=t.leaveAnimation?t.leaveAnimation:s.get(o,"ios"===d?i:r);"gesture"!==n&&await pi(t,u,t.el,a),t.didDismiss.emit({data:e,role:n}),null===(c=t.didDismissShorthand)||void 0===c||c.emit({data:e,role:n}),Vo.delete(t),t.el.classList.add("overlay-hidden"),t.el.style.removeProperty("pointer-events")}catch(d){console.error(d)}return t.el.remove(),!0},hi=t=>t.querySelector("ion-app")||t.body,pi=async(t,e,n,o)=>{n.classList.remove("overlay-hidden");const i=t.el,r=e(i,o);t.animated&&s.getBoolean("animated",!0)||r.duration(0),t.keyboardClose&&r.beforeAddWrite((()=>{const t=n.ownerDocument.activeElement;(null===t||void 0===t?void 0:t.matches("input,ion-input, ion-textarea"))&&t.blur()}));const a=Vo.get(t)||[];return Vo.set(t,[...a,r]),await r.play(),!0},fi=(t,e)=>{let n;const o=new Promise((t=>n=t));return mi(t,e,(t=>{n(t.detail)})),o},mi=(t,e,n)=>{const o=i=>{(0,M.b)(t,e,o),n(i)};(0,M.a)(t,e,o)},gi=t=>"cancel"===t||t===yi,bi=t=>t(),vi=(t,e)=>{if("function"===typeof t){const n=s.get("_zoneGate",bi);return n((()=>{try{return t(e)}catch(n){throw n}}))}},yi="backdrop";var wi=n(5026); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const xi=':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:var(--margin-start);margin-right:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{margin-left:unset;margin-right:unset;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end)}}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{padding-left:var(--icon-padding-start);padding-right:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);margin-left:var(--icon-margin-start);margin-right:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){ion-icon{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end)}}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){ion-icon{margin-left:unset;margin-right:unset;-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-hover:transparent;--background-hover-opacity:1;--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #3880ff);--icon-margin-end:-5px;--icon-margin-start:-4px;--icon-font-size:1.85em;--min-height:32px;font-size:17px}.button-native{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:visible;z-index:99}:host(.ion-activated) .button-native{opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}',ki=':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:var(--margin-start);margin-right:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{margin-left:unset;margin-right:unset;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end)}}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{padding-left:var(--icon-padding-start);padding-right:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);margin-left:var(--icon-margin-start);margin-right:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){ion-icon{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end)}}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){ion-icon{margin-left:unset;margin-right:unset;-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--border-radius:4px;--background-focused:currentColor;--background-focused-opacity:.12;--background-hover:currentColor;--background-hover-opacity:0.04;--color:currentColor;--icon-margin-end:0;--icon-margin-start:0;--icon-font-size:24px;--icon-font-weight:normal;--min-height:32px;--min-width:44px;--padding-start:12px;--padding-end:12px;font-size:14px;font-weight:500;text-transform:uppercase}:host(.back-button-has-icon-only){--border-radius:50%;min-width:48px;height:48px}.button-native{-webkit-box-shadow:none;box-shadow:none}.button-text{padding-left:4px;padding-right:4px;padding-top:0;padding-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-text{padding-left:unset;padding-right:unset;-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px}}ion-icon{line-height:0.67;text-align:start}@media (any-hover: hover){:host(.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}',$i=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.inheritedAttributes={},this.disabled=!1,this.type="button",this.onClick=async t=>{const e=this.el.closest("ion-nav");return t.preventDefault(),e&&await e.canGoBack()?e.pop({animationBuilder:this.routerAnimation,skipIfBusy:!0}):q(this.defaultHref,t,"back",this.routerAnimation)}}componentWillLoad(){this.inheritedAttributes=(0,M.i)(this.el),void 0===this.defaultHref&&(this.defaultHref=s.get("backButtonDefaultHref"))}get backButtonIcon(){const t=this.icon;return null!=t?t:"ios"===z(this)?s.get("backButtonIcon",Me):s.get("backButtonIcon",Pe)}get backButtonText(){const t="ios"===z(this)?"Back":null;return null!=this.text?this.text:s.get("backButtonText",t)}get hasIconOnly(){return this.backButtonIcon&&!this.backButtonText}get rippleType(){return this.hasIconOnly?"unbounded":"bounded"}render(){const{color:t,defaultHref:e,disabled:n,type:o,hasIconOnly:i,backButtonIcon:a,backButtonText:s,icon:l,inheritedAttributes:c}=this,d=void 0!==e,u=z(this),h=c["aria-label"]||s||"back";return(0,r.h)(r.AA,{onClick:this.onClick,class:F(t,{[u]:!0,button:!0,"back-button-disabled":n,"back-button-has-icon-only":i,"in-toolbar":B("ion-toolbar",this.el),"in-toolbar-color":B("ion-toolbar[color]",this.el),"ion-activatable":!0,"ion-focusable":!0,"show-back-button":d})},(0,r.h)("button",{type:o,disabled:n,class:"button-native",part:"native","aria-label":h},(0,r.h)("span",{class:"button-inner"},a&&(0,r.h)("ion-icon",{part:"icon",icon:a,"aria-hidden":"true",lazy:!1,"flip-rtl":void 0===l}),s&&(0,r.h)("span",{part:"text","aria-hidden":"true",class:"button-text"},s)),"md"===u&&(0,r.h)("ion-ripple-effect",{type:this.rippleType})))}get el(){return this}static get style(){return{ios:xi,md:ki}}},[33,"ion-back-button",{color:[513],defaultHref:[1025,"default-href"],disabled:[516],icon:[1],text:[1],type:[1],routerAnimation:[16]}]);const Ei=$i,Si={allRenderFn:!1,cmpDidLoad:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpDidRender:!0,cmpWillLoad:!0,cmpWillUpdate:!0,cmpWillRender:!0,connectedCallback:!0,disconnectedCallback:!0,element:!0,event:!0,hasRenderFn:!0,lifecycle:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,safari10:!1,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,cssVarShim:!1,constructableCSS:!0,cmpShouldUpdate:!0,devTools:!1,dynamicImportShim:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!1,asyncQueue:!1,transformTagName:!1,attachStyles:!0},_i="app";let Ci,Ai,Ti,Ii,Li=0,Ri=!1,Oi=!1,Di=!1,Ni=!1,Pi=null,zi=0,ji=!1;const Mi="undefined"!==typeof window?window:{},Bi=(Si.cssVarShim&&Mi.CSS,Mi.document||{head:{}}),Fi=Mi.HTMLElement||class{},Hi={$flags$:0,$resourcesUrl$:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},Wi=!Si.shadowDomShim||!Si.shadowDom||(()=>(Bi.head.attachShadow+"").indexOf("[native")>-1)(),Ui=(()=>{let t=!1;try{Bi.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch(e){}return t})(),qi=t=>Promise.resolve(t),Vi=!!Si.constructableCSS&&(()=>{try{return new CSSStyleSheet,"function"===typeof(new CSSStyleSheet).replace}catch(t){}return!1})(),Yi=(t,e,n,o)=>{Si.hostListener&&n&&(Si.hostListenerTargetParent&&(n=o?n.filter((([t])=>32&t)):n.filter((([t])=>!(32&t)))),n.map((([n,o,i])=>{const r=Si.hostListenerTarget?Xi(t,n):t,a=Gi(e,i),s=Ji(n);Hi.ael(r,o,a,s),(e.$rmListeners$=e.$rmListeners$||[]).push((()=>Hi.rel(r,o,a,s)))})))},Gi=(t,e)=>n=>{try{Si.lazyLoad?256&t.$flags$?t.$lazyInstance$[e](n):(t.$queuedListeners$=t.$queuedListeners$||[]).push([e,n]):t.$hostElement$[e](n)}catch(o){Ea(o)}},Xi=(t,e)=>Si.hostListenerTargetDocument&&4&e?Bi:Si.hostListenerTargetWindow&&8&e?Mi:Si.hostListenerTargetBody&&16&e?Bi.body:Si.hostListenerTargetParent&&32&e?t.parentElement:t,Ji=t=>Ui?{passive:0!==(1&t),capture:0!==(2&t)}:0!==(2&t),Ki="r",Zi="o",Qi="s",tr="t",er="s-id",nr="sty-id",or="c-id",ir="http://www.w3.org/1999/xlink",rr=(t,e="")=>{if(Si.profile&&performance.mark){const n=`st:${t}:${e}:${Li++}`;return performance.mark(n),()=>performance.measure(`[Stencil] ${t}() <${e}>`,n)}return()=>{}},ar=(t,e)=>Si.profile&&performance.mark?(0===performance.getEntriesByName(t).length&&performance.mark(t),()=>{0===performance.getEntriesByName(e).length&&performance.measure(e,t)}):()=>{},sr=new WeakMap,lr=(t,e,n)=>{let o=Ia.get(t);Vi&&n?(o=o||new CSSStyleSheet,o.replace(e)):o=e,Ia.set(t,o)},cr=(t,e,n,o)=>{let i=ur(e,n);const r=Ia.get(i);if(!Si.attachStyles)return i;if(t=11===t.nodeType?t:Bi,r)if("string"===typeof r){t=t.head||t;let n,a=sr.get(t);if(a||sr.set(t,a=new Set),!a.has(i)){if(Si.hydrateClientSide&&t.host&&(n=t.querySelector(`[${nr}="${i}"]`)))n.innerHTML=r;else{if(Si.cssVarShim&&Hi.$cssShim$){n=Hi.$cssShim$.createHostStyle(o,i,r,!!(10&e.$flags$));const t=n["s-sc"];t&&(i=t,a=null)}else n=Bi.createElement("style"),n.innerHTML=r;(Si.hydrateServerSide||Si.hotModuleReplacement)&&n.setAttribute(nr,i),t.insertBefore(n,t.querySelector("link"))}a&&a.add(i)}}else Si.constructableCSS&&!t.adoptedStyleSheets.includes(r)&&(t.adoptedStyleSheets=[...t.adoptedStyleSheets,r]);return i},dr=t=>{const e=t.$cmpMeta$,n=t.$hostElement$,o=e.$flags$,i=rr("attachStyles",e.$tagName$),r=cr(Si.shadowDom&&Wi&&n.shadowRoot?n.shadowRoot:n.getRootNode(),e,t.$modeName$,n);(Si.shadowDom||Si.scoped)&&Si.cssAnnotations&&10&o&&(n["s-sc"]=r,n.classList.add(r+"-h"),Si.scoped&&2&o&&n.classList.add(r+"-s")),i()},ur=(t,e)=>"sc-"+(Si.mode&&e&&32&t.$flags$?t.$tagName$+"-"+e:t.$tagName$),hr=t=>La.map((e=>e(t))).find((t=>!!t)),pr={},fr="http://www.w3.org/2000/svg",mr="http://www.w3.org/1999/xhtml",gr=t=>null!=t,br=t=>(t=typeof t,"object"===t||"function"===t),vr=(t,e,...n)=>{let o=null,i=null,r=null,a=!1,s=!1;const l=[],c=e=>{for(let n=0;nt[e])).join(" "))}if(Si.isDev&&l.some(xr)&&_a("The must be the single root component. Make sure:\n- You are NOT using hostData() and in the same component.\n- is used once, and it's the single root component of the render() function."),Si.vdomFunctional&&"function"===typeof t)return t(null===e?{}:e,l,kr);const d=yr(t,null);return d.$attrs$=e,l.length>0&&(d.$children$=l),Si.vdomKey&&(d.$key$=i),Si.slotRelocation&&(d.$name$=r),d},yr=(t,e)=>{const n={$flags$:0,$tag$:t,$text$:e,$elm$:null,$children$:null};return Si.vdomAttribute&&(n.$attrs$=null),Si.vdomKey&&(n.$key$=null),Si.slotRelocation&&(n.$name$=null),n},wr={},xr=t=>t&&t.$tag$===wr,kr={forEach:(t,e)=>t.map($r).forEach(e),map:(t,e)=>t.map($r).map(e).map(Er)},$r=t=>({vattrs:t.$attrs$,vchildren:t.$children$,vkey:t.$key$,vname:t.$name$,vtag:t.$tag$,vtext:t.$text$}),Er=t=>{if("function"===typeof t.vtag){const e=Object.assign({},t.vattrs);return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),vr(t.vtag,e,...t.vchildren||[])}const e=yr(t.vtag,t.vtext);return e.$attrs$=t.vattrs,e.$children$=t.vchildren,e.$key$=t.vkey,e.$name$=t.vname,e},Sr=t=>{const e=Object.keys(t),n=e.indexOf("value");if(-1===n)return;const o=e.indexOf("type"),i=e.indexOf("min"),r=e.indexOf("max"),a=e.indexOf("step");(n should be set after "min", "max", "type" and "step"')},_r=(t,e,n,o,i,r)=>{if(n!==o){let s=$a(t,e),l=e.toLowerCase();if(Si.vdomClass&&"class"===e){const e=t.classList,i=Ar(n),r=Ar(o);e.remove(...i.filter((t=>t&&!r.includes(t)))),e.add(...r.filter((t=>t&&!i.includes(t))))}else if(Si.vdomStyle&&"style"===e){if(Si.updatable)for(const e in n)o&&null!=o[e]||(!Si.hydrateServerSide&&e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in o)n&&o[e]===n[e]||(!Si.hydrateServerSide&&e.includes("-")?t.style.setProperty(e,o[e]):t.style[e]=o[e])}else if(Si.vdomKey&&"key"===e);else if(Si.vdomRef&&"ref"===e)o&&o(t);else if(!Si.vdomListener||(Si.lazyLoad?s:t.__lookupSetter__(e))||"o"!==e[0]||"n"!==e[1]){if(Si.vdomPropOrAttr){const c=br(o);if((s||c&&null!==o)&&!i)try{if(t.tagName.includes("-"))t[e]=o;else{const i=null==o?"":o;"list"===e?s=!1:null!=n&&t[e]==i||(t[e]=i)}}catch(a){}let d=!1;Si.vdomXlink&&l!==(l=l.replace(/^xlink\:?/,""))&&(e=l,d=!0),null==o||!1===o?!1===o&&""!==t.getAttribute(e)||(Si.vdomXlink&&d?t.removeAttributeNS(ir,e):t.removeAttribute(e)):(!s||4&r||i)&&!c&&(o=!0===o?"":o,Si.vdomXlink&&d?t.setAttributeNS(ir,e,o):t.setAttribute(e,o))}}else e="-"===e[2]?e.slice(3):$a(Mi,l)?l.slice(2):l[2]+e.slice(3),n&&Hi.rel(t,e,n,!1),o&&Hi.ael(t,e,o,!1)}},Cr=/\s/,Ar=t=>t?t.split(Cr):[],Tr=(t,e,n,o)=>{const i=11===e.$elm$.nodeType&&e.$elm$.host?e.$elm$.host:e.$elm$,r=t&&t.$attrs$||pr,a=e.$attrs$||pr;if(Si.updatable)for(o in r)o in a||_r(i,o,r[o],void 0,n,e.$flags$);for(o in a)_r(i,o,r[o],a[o],n,e.$flags$)},Ir=(t,e,n,o)=>{const i=e.$children$[n];let r,a,s,l=0;if(Si.slotRelocation&&!Ri&&(Di=!0,"slot"===i.$tag$&&(Ci&&o.classList.add(Ci+"-s"),i.$flags$|=i.$children$?2:1)),Si.isDev&&i.$elm$&&_a(`The JSX ${null!==i.$text$?`"${i.$text$}" text`:`"${i.$tag$}" element`} node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes`),Si.vdomText&&null!==i.$text$)r=i.$elm$=Bi.createTextNode(i.$text$);else if(Si.slotRelocation&&1&i.$flags$)r=i.$elm$=Si.isDebug||Si.hydrateServerSide?qr(i):Bi.createTextNode("");else{if(Si.svg&&!Ni&&(Ni="svg"===i.$tag$),r=i.$elm$=Si.svg?Bi.createElementNS(Ni?fr:mr,Si.slotRelocation&&2&i.$flags$?"slot-fb":i.$tag$):Bi.createElement(Si.slotRelocation&&2&i.$flags$?"slot-fb":i.$tag$),Si.svg&&Ni&&"foreignObject"===i.$tag$&&(Ni=!1),Si.vdomAttribute&&Tr(null,i,Ni),(Si.shadowDom||Si.scoped)&&gr(Ci)&&r["s-si"]!==Ci&&r.classList.add(r["s-si"]=Ci),i.$children$)for(l=0;l{Hi.$flags$|=1;const n=t.childNodes;for(let o=n.length-1;o>=0;o--){const t=n[o];t["s-hn"]!==Ti&&t["s-ol"]&&(zr(t).insertBefore(t,Pr(t)),t["s-ol"].remove(),t["s-ol"]=void 0,Di=!0),e&&Lr(t,e)}Hi.$flags$&=-2},Rr=(t,e,n,o,i,r)=>{let a,s=Si.slotRelocation&&t["s-cr"]&&t["s-cr"].parentNode||t;for(Si.shadowDom&&s.shadowRoot&&s.tagName===Ti&&(s=s.shadowRoot);i<=r;++i)o[i]&&(a=Ir(null,n,i,t),a&&(o[i].$elm$=a,s.insertBefore(a,Si.slotRelocation?Pr(e):e)))},Or=(t,e,n,o,i)=>{for(;e<=n;++e)(o=t[e])&&(i=o.$elm$,Wr(o),Si.slotRelocation&&(Oi=!0,i["s-ol"]?i["s-ol"].remove():Lr(i,!0)),i.remove())},Dr=(t,e,n,o)=>{let i,r,a=0,s=0,l=0,c=0,d=e.length-1,u=e[0],h=e[d],p=o.length-1,f=o[0],m=o[p];while(a<=d&&s<=p)if(null==u)u=e[++a];else if(null==h)h=e[--d];else if(null==f)f=o[++s];else if(null==m)m=o[--p];else if(Nr(u,f))jr(u,f),u=e[++a],f=o[++s];else if(Nr(h,m))jr(h,m),h=e[--d],m=o[--p];else if(Nr(u,m))!Si.slotRelocation||"slot"!==u.$tag$&&"slot"!==m.$tag$||Lr(u.$elm$.parentNode,!1),jr(u,m),t.insertBefore(u.$elm$,h.$elm$.nextSibling),u=e[++a],m=o[--p];else if(Nr(h,f))!Si.slotRelocation||"slot"!==u.$tag$&&"slot"!==m.$tag$||Lr(h.$elm$.parentNode,!1),jr(h,f),t.insertBefore(h.$elm$,u.$elm$),h=e[--d],f=o[++s];else{if(l=-1,Si.vdomKey)for(c=a;c<=d;++c)if(e[c]&&null!==e[c].$key$&&e[c].$key$===f.$key$){l=c;break}Si.vdomKey&&l>=0?(r=e[l],r.$tag$!==f.$tag$?i=Ir(e&&e[s],n,l,t):(jr(r,f),e[l]=void 0,i=r.$elm$),f=o[++s]):(i=Ir(e&&e[s],n,s,t),f=o[++s]),i&&(Si.slotRelocation?zr(u.$elm$).insertBefore(i,Pr(u.$elm$)):u.$elm$.parentNode.insertBefore(i,u.$elm$))}a>d?Rr(t,null==o[p+1]?null:o[p+1].$elm$,n,o,s,p):Si.updatable&&s>p&&Or(e,a,d)},Nr=(t,e)=>t.$tag$===e.$tag$&&(Si.slotRelocation&&"slot"===t.$tag$?t.$name$===e.$name$:!Si.vdomKey||t.$key$===e.$key$),Pr=t=>t&&t["s-ol"]||t,zr=t=>(t["s-ol"]?t["s-ol"]:t).parentNode,jr=(t,e)=>{const n=e.$elm$=t.$elm$,o=t.$children$,i=e.$children$,r=e.$tag$,a=e.$text$;let s;Si.vdomText&&null!==a?Si.vdomText&&Si.slotRelocation&&(s=n["s-cr"])?s.parentNode.textContent=a:Si.vdomText&&t.$text$!==a&&(n.data=a):(Si.svg&&(Ni="svg"===r||"foreignObject"!==r&&Ni),(Si.vdomAttribute||Si.reflect)&&(Si.slot&&"slot"===r||Tr(t,e,Ni)),Si.updatable&&null!==o&&null!==i?Dr(n,o,e,i):null!==i?(Si.updatable&&Si.vdomText&&null!==t.$text$&&(n.textContent=""),Rr(n,null,e,i,0,i.length-1)):Si.updatable&&null!==o&&Or(o,0,o.length-1),Si.svg&&Ni&&"svg"===r&&(Ni=!1))},Mr=t=>{const e=t.childNodes;let n,o,i,r,a,s;for(o=0,i=e.length;o{let e,n,o,i,r,a,s=0;const l=t.childNodes,c=l.length;for(;s=0;a--)n=o[a],n["s-cn"]||n["s-nr"]||n["s-hn"]===e["s-hn"]||(Hr(n,i)?(r=Br.find((t=>t.$nodeToRelocate$===n)),Oi=!0,n["s-sn"]=n["s-sn"]||i,r?r.$slotRefNode$=e:Br.push({$slotRefNode$:e,$nodeToRelocate$:n}),n["s-sr"]&&Br.map((t=>{Hr(t.$nodeToRelocate$,n["s-sn"])&&(r=Br.find((t=>t.$nodeToRelocate$===n)),r&&!t.$slotRefNode$&&(t.$slotRefNode$=r.$slotRefNode$))}))):Br.some((t=>t.$nodeToRelocate$===n))||Br.push({$nodeToRelocate$:n}));1===e.nodeType&&Fr(e)}},Hr=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,Wr=t=>{Si.vdomRef&&(t.$attrs$&&t.$attrs$.ref&&t.$attrs$.ref(null),t.$children$&&t.$children$.map(Wr))},Ur=(t,e)=>{const n=t.$hostElement$,o=t.$cmpMeta$,i=t.$vnode$||yr(null,null),r=xr(e)?e:vr(null,null,e);if(Ti=n.tagName,Si.isDev&&Array.isArray(e)&&e.some(xr))throw new Error(`The must be the single root component.\nLooks like the render() function of "${Ti.toLowerCase()}" is returning an array that contains the .\n\nThe render() function should look like this instead:\n\nrender() {\n // Do not return an array\n return (\n {content}\n );\n}\n `);if(Si.reflect&&o.$attrsToReflect$&&(r.$attrs$=r.$attrs$||{},o.$attrsToReflect$.map((([t,e])=>r.$attrs$[e]=n[t]))),r.$tag$=null,r.$flags$|=4,t.$vnode$=r,r.$elm$=i.$elm$=Si.shadowDom&&n.shadowRoot||n,(Si.scoped||Si.shadowDom)&&(Ci=n["s-sc"]),Si.slotRelocation&&(Ai=n["s-cr"],Ri=Wi&&0!==(1&o.$flags$),Oi=!1),jr(i,r),Si.slotRelocation){if(Hi.$flags$|=1,Di){let t,e,n,o,i,a;Fr(r.$elm$);let s=0;for(;sBi.createComment(` (host=${Ti.toLowerCase()})`),Vr=t=>Bi.createComment("org-location for "+(t.localName?`<${t.localName}> (host=${t["s-hn"]})`:`[${t.textContent}]`)),Yr=(t,e,n)=>{const o=Hi.ce(e,n);return t.dispatchEvent(o),o},Gr=(t,e)=>{Si.asyncLoading&&e&&!t.$onRenderResolve$&&e["s-p"]&&e["s-p"].push(new Promise((e=>t.$onRenderResolve$=e)))},Xr=(t,e)=>{if(Si.taskQueue&&Si.updatable&&(t.$flags$|=16),Si.asyncLoading&&4&t.$flags$)return void(t.$flags$|=512);Gr(t,t.$ancestorComponent$);const n=()=>Jr(t,e);return Si.taskQueue?Ba(n):n()},Jr=(t,e)=>{const n=t.$hostElement$,o=rr("scheduleUpdate",t.$cmpMeta$.$tagName$),i=Si.lazyLoad?t.$lazyInstance$:n;let r;return e?(Si.lazyLoad&&Si.hostListener&&(t.$flags$|=256,t.$queuedListeners$&&(t.$queuedListeners$.map((([t,e])=>ea(i,t,e))),t.$queuedListeners$=null)),oa(n,"componentWillLoad"),Si.cmpWillLoad&&(r=ea(i,"componentWillLoad"))):(oa(n,"componentWillUpdate"),Si.cmpWillUpdate&&(r=ea(i,"componentWillUpdate"))),oa(n,"componentWillRender"),Si.cmpWillRender&&(r=na(r,(()=>ea(i,"componentWillRender")))),o(),na(r,(()=>Kr(t,i,e)))},Kr=async(t,e,n)=>{const o=t.$hostElement$,i=rr("update",t.$cmpMeta$.$tagName$),r=o["s-rc"];Si.style&&n&&dr(t);const a=rr("render",t.$cmpMeta$.$tagName$);if(Si.isDev&&(t.$flags$|=1024),Si.hydrateServerSide?await Zr(t,e,o):Zr(t,e,o),Si.cssVarShim&&Hi.$cssShim$&&Hi.$cssShim$.updateHost(o),Si.isDev&&(t.$renderCount$++,t.$flags$&=-1025),Si.hydrateServerSide)try{ra(o),n&&(1&t.$cmpMeta$.$flags$?o["s-en"]="":2&t.$cmpMeta$.$flags$&&(o["s-en"]="c"))}catch(s){Ea(s,o)}if(Si.asyncLoading&&r&&(r.map((t=>t())),o["s-rc"]=void 0),a(),i(),Si.asyncLoading){const e=o["s-p"],n=()=>Qr(t);0===e.length?n():(Promise.all(e).then(n),t.$flags$|=4,e.length=0)}else Qr(t)},Zr=(t,e,n)=>{const o=!!Si.allRenderFn,i=!!Si.lazyLoad,r=!!Si.taskQueue,a=!!Si.updatable;try{if(Pi=e,e=(o||e.render)&&e.render(),a&&r&&(t.$flags$&=-17),(a||i)&&(t.$flags$|=2),Si.hasRenderFn||Si.reflect)if(Si.vdomRender||Si.reflect){if(Si.hydrateServerSide)return Promise.resolve(e).then((e=>Ur(t,e)));Ur(t,e)}else n.textContent=e}catch(s){Ea(s,t.$hostElement$)}return Pi=null,null},Qr=t=>{const e=t.$cmpMeta$.$tagName$,n=t.$hostElement$,o=rr("postUpdate",e),i=Si.lazyLoad?t.$lazyInstance$:n,r=t.$ancestorComponent$;Si.cmpDidRender&&(Si.isDev&&(t.$flags$|=1024),ea(i,"componentDidRender"),Si.isDev&&(t.$flags$&=-1025)),oa(n,"componentDidRender"),64&t.$flags$?(Si.cmpDidUpdate&&(Si.isDev&&(t.$flags$|=1024),ea(i,"componentDidUpdate"),Si.isDev&&(t.$flags$&=-1025)),oa(n,"componentDidUpdate"),o()):(t.$flags$|=64,Si.asyncLoading&&Si.cssAnnotations&&ia(n),Si.cmpDidLoad&&(Si.isDev&&(t.$flags$|=2048),ea(i,"componentDidLoad"),Si.isDev&&(t.$flags$&=-2049)),oa(n,"componentDidLoad"),o(),Si.asyncLoading&&(t.$onReadyResolve$(n),r||ta(e))),Si.hotModuleReplacement&&n["s-hmr-load"]&&n["s-hmr-load"](),Si.method&&Si.lazyLoad&&t.$onInstanceResolve$(n),Si.asyncLoading&&(t.$onRenderResolve$&&(t.$onRenderResolve$(),t.$onRenderResolve$=void 0),512&t.$flags$&&Ma((()=>Xr(t,!1))),t.$flags$&=-517)},ta=t=>{Si.cssAnnotations&&ia(Bi.documentElement),Si.asyncQueue&&(Hi.$flags$|=2),Ma((()=>Yr(Mi,"appload",{detail:{namespace:_i}}))),Si.profile&&performance.measure&&performance.measure(`[Stencil] ${_i} initial load (by ${t})`,"st:app:start")},ea=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(o){Ea(o)}},na=(t,e)=>t&&t.then?t.then(e):e(),oa=(t,e)=>{Si.lifecycleDOMEvents&&Yr(t,"stencil_"+e,{bubbles:!0,composed:!0,detail:{namespace:_i}})},ia=t=>Si.hydratedClass?t.classList.add("hydrated"):Si.hydratedAttribute?t.setAttribute("hydrated",""):void 0,ra=t=>{const e=t.children;if(null!=e)for(let n=0,o=e.length;n{const i=rr("hydrateClient",e),r=t.shadowRoot,a=[],s=[],l=Si.shadowDom&&r?[]:null,c=o.$vnode$=yr(e,null);Hi.$orgLocNodes$||la(Bi.body,Hi.$orgLocNodes$=new Map),t[er]=n,t.removeAttribute(er),sa(c,a,s,l,t,t,n),a.map((t=>{const n=t.$hostId$+"."+t.$nodeId$,o=Hi.$orgLocNodes$.get(n),i=t.$elm$;o&&Wi&&""===o["s-en"]&&o.parentNode.insertBefore(i,o.nextSibling),r||(i["s-hn"]=e,o&&(i["s-ol"]=o,i["s-ol"]["s-nr"]=i)),Hi.$orgLocNodes$.delete(n)})),Si.shadowDom&&r&&l.map((t=>{t&&r.appendChild(t)})),i()},sa=(t,e,n,o,i,r,a)=>{let s,l,c,d;if(1===r.nodeType){for(s=r.getAttribute(or),s&&(l=s.split("."),l[0]!==a&&"0"!==l[0]||(c={$flags$:0,$hostId$:l[0],$nodeId$:l[1],$depth$:l[2],$index$:l[3],$tag$:r.tagName.toLowerCase(),$elm$:r,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},e.push(c),r.removeAttribute(or),t.$children$||(t.$children$=[]),t.$children$[c.$index$]=c,t=c,o&&"0"===c.$depth$&&(o[c.$index$]=c.$elm$))),d=r.childNodes.length-1;d>=0;d--)sa(t,e,n,o,i,r.childNodes[d],a);if(r.shadowRoot)for(d=r.shadowRoot.childNodes.length-1;d>=0;d--)sa(t,e,n,o,i,r.shadowRoot.childNodes[d],a)}else if(8===r.nodeType)l=r.nodeValue.split("."),l[1]!==a&&"0"!==l[1]||(s=l[0],c={$flags$:0,$hostId$:l[1],$nodeId$:l[2],$depth$:l[3],$index$:l[4],$elm$:r,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},s===tr?(c.$elm$=r.nextSibling,c.$elm$&&3===c.$elm$.nodeType&&(c.$text$=c.$elm$.textContent,e.push(c),r.remove(),t.$children$||(t.$children$=[]),t.$children$[c.$index$]=c,o&&"0"===c.$depth$&&(o[c.$index$]=c.$elm$))):c.$hostId$===a&&(s===Qi?(c.$tag$="slot",l[5]?r["s-sn"]=c.$name$=l[5]:r["s-sn"]="",r["s-sr"]=!0,Si.shadowDom&&o&&(c.$elm$=Bi.createElement(c.$tag$),c.$name$&&c.$elm$.setAttribute("name",c.$name$),r.parentNode.insertBefore(c.$elm$,r),r.remove(),"0"===c.$depth$&&(o[c.$index$]=c.$elm$)),n.push(c),t.$children$||(t.$children$=[]),t.$children$[c.$index$]=c):s===Ki&&(Si.shadowDom&&o?r.remove():Si.slotRelocation&&(i["s-cr"]=r,r["s-cn"]=!0))));else if(t&&"style"===t.$tag$){const e=yr(null,r.textContent);e.$elm$=r,e.$index$="0",t.$children$=[e]}},la=(t,e)=>{if(1===t.nodeType){let n=0;for(;nnull==t||br(t)?t:Si.propBoolean&&4&e?"false"!==t&&(""===t||!!t):Si.propNumber&&2&e?parseFloat(t):Si.propString&&1&e?String(t):t,da=(t,e)=>xa(t).$instanceValues$.get(e),ua=(t,e,n,o)=>{const i=xa(t),r=Si.lazyLoad?i.$hostElement$:t,a=i.$instanceValues$.get(e),s=i.$flags$,l=Si.lazyLoad?i.$lazyInstance$:r;n=ca(n,o.$members$[e][0]);const c=Number.isNaN(a)&&Number.isNaN(n),d=n!==a&&!c;if((!Si.lazyLoad||!(8&s)||void 0===a)&&d&&(i.$instanceValues$.set(e,n),Si.isDev&&(1024&i.$flags$?Ca(`The state/prop "${e}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`,"\nElement",r,"\nNew value",n,"\nOld value",a):2048&i.$flags$&&Ca(`The state/prop "${e}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`,"\nElement",r,"\nNew value",n,"\nOld value",a)),!Si.lazyLoad||l)){if(Si.watchCallback&&o.$watchers$&&128&s){const t=o.$watchers$[e];t&&t.map((t=>{try{l[t](n,a,e)}catch(o){Ea(o,r)}}))}if(Si.updatable&&2===(18&s)){if(Si.cmpShouldUpdate&&l.componentShouldUpdate&&!1===l.componentShouldUpdate(n,a,e))return;Xr(i,!1)}}},ha=(t,e,n)=>{if(Si.member&&e.$members$){Si.watchCallback&&t.watchers&&(e.$watchers$=t.watchers);const o=Object.entries(e.$members$),i=t.prototype;if(o.map((([t,[o]])=>{(Si.prop||Si.state)&&(31&o||(!Si.lazyLoad||2&n)&&32&o)?Object.defineProperty(i,t,{get(){return da(this,t)},set(i){if(Si.isDev){const i=xa(this);0===(1&n)&&0===(8&i.$flags$)&&0!==(31&o)&&0===(1024&o)&&Ca(`@Prop() "${t}" on <${e.$tagName$}> is immutable but was modified from within the component.\nMore information: https://stenciljs.com/docs/properties#prop-mutability`)}ua(this,t,i,e)},configurable:!0,enumerable:!0}):Si.lazyLoad&&Si.method&&1&n&&64&o&&Object.defineProperty(i,t,{value(...e){const n=xa(this);return n.$onInstancePromise$.then((()=>n.$lazyInstance$[t](...e)))}})})),Si.observeAttribute&&(!Si.lazyLoad||1&n)){const n=new Map;i.attributeChangedCallback=function(t,e,o){Hi.jmp((()=>{const e=n.get(t);if(this.hasOwnProperty(e))o=this[e],delete this[e];else if(i.hasOwnProperty(e)&&"number"===typeof this[e]&&this[e]==o)return;this[e]=(null!==o||"boolean"!==typeof this[e])&&o}))},t.observedAttributes=o.filter((([t,e])=>15&e[0])).map((([t,o])=>{const i=o[1]||t;return n.set(i,t),Si.reflect&&512&o[0]&&e.$attrsToReflect$.push([t,i]),i}))}}return t},pa=async(t,e,o,i,r)=>{if((Si.lazyLoad||Si.hydrateServerSide||Si.style)&&0===(32&e.$flags$)){if(Si.lazyLoad||Si.hydrateClientSide){if(e.$flags$|=32,r=Ta(o,e,i),r.then){const t=ar(`st:load:${o.$tagName$}:${e.$modeName$}`,`[Stencil] Load module for <${o.$tagName$}>`);r=await r,t()}if((Si.isDev||Si.isDebug)&&!r)throw new Error(`Constructor for "${o.$tagName$}#${e.$modeName$}" was not found`);Si.member&&!r.isProxied&&(Si.watchCallback&&(o.$watchers$=r.watchers),ha(r,o,2),r.isProxied=!0);const t=rr("createInstance",o.$tagName$);Si.member&&(e.$flags$|=8);try{new r(e)}catch(l){Ea(l)}Si.member&&(e.$flags$&=-9),Si.watchCallback&&(e.$flags$|=128),t(),fa(e.$lazyInstance$)}else r=t.constructor,e.$flags$|=32,customElements.whenDefined(o.$tagName$).then((()=>e.$flags$|=128));if(Si.style&&r.style){let i=r.style;Si.mode&&"string"!==typeof i&&(i=i[e.$modeName$=hr(t)],Si.hydrateServerSide&&e.$modeName$&&t.setAttribute("s-mode",e.$modeName$));const a=ur(o,e.$modeName$);if(!Ia.has(a)){const t=rr("registerStyles",o.$tagName$);!Si.hydrateServerSide&&Si.shadowDom&&Si.shadowDomShim&&8&o.$flags$&&(i=await n.e(880).then(n.bind(n,5880)).then((t=>t.scopeCss(i,a,!1)))),lr(a,i,!!(1&o.$flags$)),t()}}}const a=e.$ancestorComponent$,s=()=>Xr(e,!0);Si.asyncLoading&&a&&a["s-rc"]?a["s-rc"].push(s):s()},fa=t=>{Si.lazyLoad&&Si.connectedCallback&&ea(t,"connectedCallback")},ma=t=>{if(0===(1&Hi.$flags$)){const e=xa(t),n=e.$cmpMeta$,o=rr("connectedCallback",n.$tagName$);if(Si.hostListenerTargetParent&&Yi(t,e,n.$listeners$,!0),1&e.$flags$)Yi(t,e,n.$listeners$,!1),fa(e.$lazyInstance$);else{let o;if(e.$flags$|=1,Si.hydrateClientSide&&(o=t.getAttribute(er),o)){if(Si.shadowDom&&Wi&&1&n.$flags$){const e=Si.mode?cr(t.shadowRoot,n,t.getAttribute("s-mode")):cr(t.shadowRoot,n);t.classList.remove(e+"-h",e+"-s")}aa(t,n.$tagName$,o,e)}if(Si.slotRelocation&&!o&&(Si.hydrateServerSide||(Si.slot||Si.shadowDom)&&12&n.$flags$)&&ga(t),Si.asyncLoading){let n=t;while(n=n.parentNode||n.host)if(Si.hydrateClientSide&&1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){Gr(e,e.$ancestorComponent$=n);break}}Si.prop&&!Si.hydrateServerSide&&n.$members$&&Object.entries(n.$members$).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),Si.initializeNextTick?Ma((()=>pa(t,e,n))):pa(t,e,n)}o()}},ga=t=>{const e=t["s-cr"]=Bi.createComment(Si.isDebug?`content-ref (host=${t.localName})`:"");e["s-cn"]=!0,t.insertBefore(e,t.firstChild)},ba=t=>{if(0===(1&Hi.$flags$)){const e=xa(t),n=Si.lazyLoad?e.$lazyInstance$:t;Si.hostListener&&e.$rmListeners$&&(e.$rmListeners$.map((t=>t())),e.$rmListeners$=void 0),Si.cssVarShim&&Hi.$cssShim$&&Hi.$cssShim$.removeHost(t),Si.lazyLoad&&Si.disconnectedCallback&&ea(n,"disconnectedCallback"),Si.cmpDidUnload&&ea(n,"componentDidUnload")}},va=(t,e)=>{const n={$flags$:e[0],$tagName$:e[1]};Si.member&&(n.$members$=e[2]),Si.hostListener&&(n.$listeners$=e[3]),Si.watchCallback&&(n.$watchers$=t.$watchers$),Si.reflect&&(n.$attrsToReflect$=[]),Si.shadowDom&&!Wi&&1&n.$flags$&&(n.$flags$|=8);const o=t.prototype.connectedCallback,i=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__registerHost(){ka(this,n)},connectedCallback(){ma(this),Si.connectedCallback&&o&&o.call(this)},disconnectedCallback(){ba(this),Si.disconnectedCallback&&i&&i.call(this)},__attachShadow(){Wi?Si.shadowDelegatesFocus?this.attachShadow({mode:"open",delegatesFocus:!!(16&n.$flags$)}):this.attachShadow({mode:"open"}):this.shadowRoot=this}}),t.is=n.$tagName$,ha(t,n,3)},ya=t=>{const e=new URL(t,Hi.$resourcesUrl$);return e.origin!==Mi.location.origin?e.href:e.pathname},wa=new WeakMap,xa=t=>wa.get(t),ka=(t,e)=>{const n={$flags$:0,$hostElement$:t,$cmpMeta$:e,$instanceValues$:new Map};return Si.isDev&&(n.$renderCount$=0),Si.method&&Si.lazyLoad&&(n.$onInstancePromise$=new Promise((t=>n.$onInstanceResolve$=t))),Si.asyncLoading&&(n.$onReadyPromise$=new Promise((t=>n.$onReadyResolve$=t)),t["s-p"]=[],t["s-rc"]=[]),Yi(t,n,e.$listeners$,!1),wa.set(t,n)},$a=(t,e)=>e in t,Ea=(t,e)=>(Ii||console.error)(t,e),Sa=Si.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],_a=(...t)=>console.error(...Sa,...t),Ca=(...t)=>console.warn(...Sa,...t),Aa=new Map,Ta=(t,e,o)=>{const i=t.$tagName$.replace(/-/g,"_"),r=t.$lazyBundleId$;if(Si.isDev&&"string"!==typeof r)return void _a(`Trying to lazily load component <${t.$tagName$}> with style mode "${e.$modeName$}", but it does not exist.`);const a=!Si.hotModuleReplacement&&Aa.get(r);return a?a[i]:n(1875)(`./${r}.entry.js${Si.hotModuleReplacement&&o?"?s-hmr="+o:""}`).then((t=>(Si.hotModuleReplacement||Aa.set(r,t),t[i])),Ea) +/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},Ia=new Map,La=[],Ra=[],Oa=[],Da=[],Na=(t,e)=>n=>{t.push(n),ji||(ji=!0,e&&4&Hi.$flags$?Ma(ja):Hi.raf(ja))},Pa=t=>{for(let n=0;n{let n=0,o=0;while(n{if(Si.asyncQueue&&zi++,Pa(Ra),Si.asyncQueue){const t=2===(6&Hi.$flags$)?performance.now()+14*Math.ceil(.1*zi):1/0;za(Oa,t),za(Da,t),Oa.length>0&&(Da.push(...Oa),Oa.length=0),(ji=Ra.length+Oa.length+Da.length>0)?Hi.raf(ja):zi=0}else Pa(Oa),(ji=Ra.length>0)&&Hi.raf(ja)},Ma=t=>qi().then(t),Ba=Na(Oa,!0),Fa={isDev:!!Si.isDev,isBrowser:!0,isServer:!1,isTesting:!!Si.isTesting};let Ha;const Wa=()=>{if("undefined"===typeof window)return new Map;if(!Ha){const t=window;t.Ionicons=t.Ionicons||{},Ha=t.Ionicons.map=t.Ionicons.map||new Map}return Ha},Ua=t=>{let e=Ya(t.src);if(e)return e;if(e=Va(t.name,t.icon,t.mode,t.ios,t.md),e)return qa(e);if(t.icon){if(e=Ya(t.icon),e)return e;if(e=Ya(t.icon[t.mode]),e)return e}return null},qa=t=>{const e=Wa().get(t);return e||ya(`svg/${t}.svg`)},Va=(t,e,n,o,i)=>{if(n="ios"===(n&&Ja(n))?"ios":"md",o&&"ios"===n?t=Ja(o):i&&"md"===n?t=Ja(i):(t||!e||Ga(e)||(t=e),Xa(t)&&(t=Ja(t))),!Xa(t)||""===t.trim())return null;const r=t.replace(/[a-z]|-|\d/gi,"");return""!==r?null:t},Ya=t=>Xa(t)&&(t=t.trim(),Ga(t))?t:null,Ga=t=>t.length>0&&/(\/|\.)/.test(t),Xa=t=>"string"===typeof t,Ja=t=>t.toLowerCase(),Ka=(t,e=[])=>{const n={};return e.forEach((e=>{if(t.hasAttribute(e)){const o=t.getAttribute(e);null!==o&&(n[e]=t.getAttribute(e)),t.removeAttribute(e)}})),n},Za=t=>{const e=document.createElement("div");e.innerHTML=t;for(let o=e.childNodes.length-1;o>=0;o--)"svg"!==e.childNodes[o].nodeName.toLowerCase()&&e.removeChild(e.childNodes[o]);const n=e.firstElementChild;if(n&&"svg"===n.nodeName.toLowerCase()){const t=n.getAttribute("class")||"";if(n.setAttribute("class",(t+" s-ion-icon").trim()),Qa(n))return e.innerHTML}return""},Qa=t=>{if(1===t.nodeType){if("script"===t.nodeName.toLowerCase())return!1;for(let e=0;e{let n=es.get(t);if(!n){if("undefined"===typeof fetch||"undefined"===typeof document)return ts.set(t,""),Promise.resolve();n=fetch(t).then((n=>{if(n.ok)return n.text().then((n=>{n&&!1!==e&&(n=Za(n)),ts.set(t,n||"")}));ts.set(t,"")})),es.set(t,n)}return n},os=":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}:host(.flip-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.icon-small){font-size:18px !important}:host(.icon-large){font-size:32px !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}",is=va(class extends Fi{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.iconName=null,this.inheritedAttributes={},this.isVisible=!1,this.mode=rs(),this.lazy=!1,this.sanitize=!0,this.hasAriaHidden=()=>{const{el:t}=this;return t.hasAttribute("aria-hidden")&&"true"===t.getAttribute("aria-hidden")}}componentWillLoad(){this.inheritedAttributes=Ka(this.el,["aria-label"])}connectedCallback(){this.waitUntilVisible(this.el,"50px",(()=>{this.isVisible=!0,this.loadIcon()}))}disconnectedCallback(){this.io&&(this.io.disconnect(),this.io=void 0)}waitUntilVisible(t,e,n){if(Fa.isBrowser&&this.lazy&&"undefined"!==typeof window&&window.IntersectionObserver){const o=this.io=new window.IntersectionObserver((t=>{t[0].isIntersecting&&(o.disconnect(),this.io=void 0,n())}),{rootMargin:e});o.observe(t)}else n()}loadIcon(){if(Fa.isBrowser&&this.isVisible){const t=Ua(this);t&&(ts.has(t)?this.svgContent=ts.get(t):ns(t,this.sanitize).then((()=>this.svgContent=ts.get(t))))}const t=this.iconName=Va(this.name,this.icon,this.mode,this.ios,this.md);t&&(this.ariaLabel=t.replace(/\-/g," "))}render(){const{iconName:t,ariaLabel:e,inheritedAttributes:n}=this,o=this.mode||"md",i=this.flipRtl||t&&(t.indexOf("arrow")>-1||t.indexOf("chevron")>-1)&&!1!==this.flipRtl;return vr(wr,Object.assign({"aria-label":void 0===e||this.hasAriaHidden()?null:e,role:"img",class:Object.assign(Object.assign({[o]:!0},as(this.color)),{[`icon-${this.size}`]:!!this.size,"flip-rtl":!!i&&"rtl"===this.el.ownerDocument.dir})},n),Fa.isBrowser&&this.svgContent?vr("div",{class:"icon-inner",innerHTML:this.svgContent}):vr("div",{class:"icon-inner"}))}static get assetsDirs(){return["svg"]}get el(){return this}static get watchers(){return{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"]}}static get style(){return os}},[1,"ion-icon",{mode:[1025],color:[1],ios:[1],md:[1],flipRtl:[4,"flip-rtl"],name:[513],src:[1],icon:[8],size:[1],lazy:[4],sanitize:[4],svgContent:[32],isVisible:[32],ariaLabel:[32]}]),rs=()=>Fa.isBrowser&&"undefined"!==typeof document&&document.documentElement.getAttribute("mode")||"md",as=t=>t?{"ion-color":!0,[`ion-color-${t}`]:!0}:null;const ss=is,ls=async(t,e,n,o,i,r)=>{var a;if(t)return t.attachViewToDom(e,n,i,o);if(!r&&"string"!==typeof n&&!(n instanceof HTMLElement))throw new Error("framework delegate is missing");const s="string"===typeof n?null===(a=e.ownerDocument)||void 0===a?void 0:a.createElement(n):n;return o&&o.forEach((t=>s.classList.add(t))),i&&Object.assign(s,i),e.appendChild(s),await new Promise((t=>(0,M.c)(s,t))),s},cs=(t,e)=>{if(e){if(t){const n=e.parentElement;return t.removeViewFromDom(n,e)}e.remove()}return Promise.resolve()},ds=()=>{let t,e;const n=async(n,o,i={},r=[])=>{var a,s;if(t=n,o){const e="string"===typeof o?null===(a=t.ownerDocument)||void 0===a?void 0:a.createElement(o):o;r.forEach((t=>e.classList.add(t))),Object.assign(e,i),t.appendChild(e),await new Promise((t=>(0,M.c)(e,t)))}else if(t.children.length>0){const e=null===(s=t.ownerDocument)||void 0===s?void 0:s.createElement("div");r.forEach((t=>e.classList.add(t))),e.append(...t.children),t.appendChild(e)}const l=document.querySelector("ion-app")||document.body;return e=document.createComment("ionic teleport"),t.parentNode.insertBefore(e,t),l.appendChild(t),t},o=()=>(t&&e&&(e.parentNode.insertBefore(t,e),e.remove()),Promise.resolve());return{attachViewToDom:n,removeViewFromDom:o}},us=":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;overflow:hidden;z-index:0}",hs=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionNavWillLoad=(0,r.yM)(this,"ionNavWillLoad",7),this.ionNavWillChange=(0,r.yM)(this,"ionNavWillChange",3),this.ionNavDidChange=(0,r.yM)(this,"ionNavDidChange",3),this.gestureOrAnimationInProgress=!1,this.mode=z(this),this.animated=!0}swipeHandlerChanged(){this.gesture&&this.gesture.enable(void 0!==this.swipeHandler)}async connectedCallback(){const t=()=>{this.gestureOrAnimationInProgress=!0,this.swipeHandler&&this.swipeHandler.onStart()};this.gesture=(await n.e(990).then(n.bind(n,8990))).createSwipeBackGesture(this.el,(()=>!this.gestureOrAnimationInProgress&&!!this.swipeHandler&&this.swipeHandler.canStart()),(()=>t()),(t=>{var e;return null===(e=this.ani)||void 0===e?void 0:e.progressStep(t)}),((t,e,n)=>{if(this.ani){this.ani.onFinish((()=>{this.gestureOrAnimationInProgress=!1,this.swipeHandler&&this.swipeHandler.onEnd(t)}),{oneTimeCallback:!0});let o=t?-.001:.001;t?o+=Wn([0,0],[.32,.72],[0,1],[1,1],e)[0]:(this.ani.easing("cubic-bezier(1, 0, 0.68, 0.28)"),o+=Wn([0,0],[1,0],[.68,.28],[1,1],e)[0]),this.ani.progressEnd(t?1:0,o,n)}else this.gestureOrAnimationInProgress=!1})),this.swipeHandlerChanged()}componentWillLoad(){this.ionNavWillLoad.emit()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}async commit(t,e,n){const o=await this.lock();let i=!1;try{i=await this.transition(t,e,n)}catch(r){console.error(r)}return o(),i}async setRouteId(t,e,n,o){const i=await this.setRoot(t,e,{duration:"root"===n?0:void 0,direction:"back"===n?"back":"forward",animationBuilder:o});return{changed:i,element:this.activeEl}}async getRouteId(){const t=this.activeEl;return t?{id:t.tagName,element:t,params:this.activeParams}:void 0}async setRoot(t,e,n){if(this.activeComponent===t&&(0,M.s)(e,this.activeParams))return!1;const o=this.activeEl,i=await ls(this.delegate,this.el,t,["ion-page","ion-page-invisible"],e);return this.activeComponent=t,this.activeEl=i,this.activeParams=e,await this.commit(i,o,n),await cs(this.delegate,o),!0}async transition(t,e,n={}){if(e===t)return!1;this.ionNavWillChange.emit();const{el:o,mode:i}=this,r=this.animated&&s.getBoolean("animated",!0),a=n.animationBuilder||this.animation||s.get("navAnimation");return await(0,wi.t)(Object.assign(Object.assign({mode:i,animated:r,enteringEl:t,leavingEl:e,baseEl:o,progressCallback:n.progressAnimation?t=>{void 0===t||this.gestureOrAnimationInProgress?this.ani=t:(this.gestureOrAnimationInProgress=!0,t.onFinish((()=>{this.gestureOrAnimationInProgress=!1,this.swipeHandler&&this.swipeHandler.onEnd(!1)}),{oneTimeCallback:!0}),t.progressEnd(0,0,0))}:void 0},n),{animationBuilder:a})),this.ionNavDidChange.emit(),!0}async lock(){const t=this.waitPromise;let e;return this.waitPromise=new Promise((t=>e=t)),void 0!==t&&await t,e}render(){return(0,r.h)("slot",null)}get el(){return this}static get watchers(){return{swipeHandler:["swipeHandlerChanged"]}}static get style(){return us}},[1,"ion-router-outlet",{mode:[1025],delegate:[16],animated:[4],animation:[16],swipeHandler:[16],commit:[64],setRouteId:[64],getRouteId:[64]}]);const ps=hs;var fs=n(2119); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const ms=':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:2px;--padding-bottom:0;--padding-start:2px;max-width:240px;font-size:10px}::slotted(ion-badge){padding-left:6px;padding-right:6px;padding-top:1px;padding-bottom:1px;left:calc(50% + 6px);top:4px;height:auto;font-size:12px;line-height:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-badge){padding-left:unset;padding-right:unset;-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px}}[dir=rtl] ::slotted(ion-badge),:host-context([dir=rtl]) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}::slotted(ion-icon){margin-top:2px;margin-bottom:2px;font-size:30px}::slotted(ion-icon::before){vertical-align:top}::slotted(ion-label){margin-top:0;margin-bottom:1px;min-height:11px;font-weight:500}:host(.tab-has-label-only) ::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:12px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-label),:host(.tab-layout-icon-start) ::slotted(ion-label),:host(.tab-layout-icon-hide) ::slotted(ion-label){margin-top:2px;margin-bottom:2px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-icon),:host(.tab-layout-icon-start) ::slotted(ion-icon){min-width:24px;height:26px;margin-top:2px;margin-bottom:1px;font-size:24px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){left:calc(50% + 12px)}:host-context([dir=rtl]):host(.tab-layout-icon-bottom) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-bottom ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 12px)}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:1px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:4px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){left:calc(50% + 35px);top:10px}:host-context([dir=rtl]):host(.tab-layout-icon-start) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-start ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-layout-icon-end) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-end ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 35px)}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){left:calc(50% + 30px);top:10px}:host-context([dir=rtl]):host(.tab-layout-icon-hide) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-hide ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-has-label-only) ::slotted(ion-badge),:host-context([dir=rtl]).tab-has-label-only ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 30px)}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:10px}:host(.tab-layout-label-hide) ::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}',gs=':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:12px;--padding-bottom:0;--padding-start:12px;max-width:168px;font-size:12px;font-weight:normal;letter-spacing:0.03em}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;text-transform:none}::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;-webkit-transform-origin:center center;transform-origin:center center;font-size:22px}[dir=rtl] ::slotted(ion-icon),:host-context([dir=rtl]) ::slotted(ion-icon){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}::slotted(ion-badge){border-radius:8px;padding-left:2px;padding-right:2px;padding-top:3px;padding-bottom:2px;left:calc(50% + 6px);top:8px;min-width:12px;font-size:8px;font-weight:normal}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-badge){padding-left:unset;padding-right:unset;-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:2px;padding-inline-end:2px}}[dir=rtl] ::slotted(ion-badge),:host-context([dir=rtl]) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}::slotted(ion-badge:empty){display:block;min-width:8px;height:8px}:host(.tab-layout-icon-top) ::slotted(ion-icon){margin-top:6px;margin-bottom:2px}:host(.tab-layout-icon-top) ::slotted(ion-label){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){left:70%;top:8px}:host-context([dir=rtl]):host(.tab-layout-icon-bottom) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-bottom ::slotted(ion-badge){left:unset;right:unset;right:70%}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:6px;margin-bottom:0}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){left:80%;top:16px}:host-context([dir=rtl]):host(.tab-layout-icon-start) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-start ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-layout-icon-end) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-end ::slotted(ion-badge){left:unset;right:unset;right:80%}:host(.tab-layout-icon-start) ::slotted(ion-icon){margin-right:6px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.tab-layout-icon-start) ::slotted(ion-icon){margin-right:unset;-webkit-margin-end:6px;margin-inline-end:6px}}:host(.tab-layout-icon-end) ::slotted(ion-icon){margin-left:6px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.tab-layout-icon-end) ::slotted(ion-icon){margin-left:unset;-webkit-margin-start:6px;margin-inline-start:6px}}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){left:70%;top:16px}:host-context([dir=rtl]):host(.tab-layout-icon-hide) ::slotted(ion-badge),:host-context([dir=rtl]).tab-layout-icon-hide ::slotted(ion-badge),:host-context([dir=rtl]):host(.tab-has-label-only) ::slotted(ion-badge),:host-context([dir=rtl]).tab-has-label-only ::slotted(ion-badge){left:unset;right:unset;right:70%}:host(.tab-layout-icon-hide) ::slotted(ion-label),:host(.tab-has-label-only) ::slotted(ion-label){margin-top:0;margin-bottom:0}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:16px}:host(.tab-layout-label-hide) ::slotted(ion-icon),:host(.tab-has-icon-only) ::slotted(ion-icon){margin-top:0;margin-bottom:0;font-size:24px}',bs=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionTabButtonClick=(0,r.yM)(this,"ionTabButtonClick",7),this.disabled=!1,this.selected=!1,this.onKeyUp=t=>{"Enter"!==t.key&&" "!==t.key||this.selectTab(t)},this.onClick=t=>{this.selectTab(t)}}onTabBarChanged(t){const e=t.target,n=this.el.parentElement;(t.composedPath().includes(n)||(null===e||void 0===e?void 0:e.contains(this.el)))&&(this.selected=this.tab===t.detail.tab)}componentWillLoad(){void 0===this.layout&&(this.layout=s.get("tabButtonLayout","icon-top"))}selectTab(t){void 0!==this.tab&&(this.disabled||this.ionTabButtonClick.emit({tab:this.tab,href:this.href,selected:this.selected}),t.preventDefault())}get hasLabel(){return!!this.el.querySelector("ion-label")}get hasIcon(){return!!this.el.querySelector("ion-icon")}get tabIndex(){if(this.disabled)return-1;const t=this.el.hasAttribute("tabindex");return t?this.el.getAttribute("tabindex"):0}render(){const{disabled:t,hasIcon:e,hasLabel:n,tabIndex:o,href:i,rel:a,target:s,layout:l,selected:c,tab:d}=this,u=z(this),h={download:this.download,href:i,rel:a,target:s};return(0,r.h)(r.AA,{onClick:this.onClick,onKeyup:this.onKeyUp,role:"tab",tabindex:o,"aria-selected":c?"true":null,id:void 0!==d?`tab-button-${d}`:null,class:{[u]:!0,"tab-selected":c,"tab-disabled":t,"tab-has-label":n,"tab-has-icon":e,"tab-has-label-only":n&&!e,"tab-has-icon-only":e&&!n,[`tab-layout-${l}`]:!0,"ion-activatable":!0,"ion-selectable":!0,"ion-focusable":!0}},(0,r.h)("a",Object.assign({},h,{tabIndex:-1,class:"button-native",part:"native"}),(0,r.h)("span",{class:"button-inner"},(0,r.h)("slot",null)),"md"===u&&(0,r.h)("ion-ripple-effect",{type:"unbounded"})))}get el(){return this}static get style(){return{ios:ms,md:gs}}},[33,"ion-tab-button",{disabled:[4],download:[1],href:[1],rel:[1],layout:[1025],selected:[1028],tab:[1],target:[1]},[[8,"ionTabBarChanged","onTabBarChanged"]]]);const vs=bs,ys=":host{padding-left:var(--ion-safe-area-left);padding-right:var(--ion-safe-area-right);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-bottom:var(--ion-safe-area-bottom, 0);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-safe-area-left);padding-inline-start:var(--ion-safe-area-left);-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-color-step-50, #f7f7f7));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:0.55px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.2))));--color:var(--ion-tab-bar-color, var(--ion-color-step-400, #999999));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #3880ff));height:50px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.tab-bar-translucent){--background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(210%) blur(20px);backdrop-filter:saturate(210%) blur(20px)}:host(.ion-color.tab-bar-translucent){background:rgba(var(--ion-color-base-rgb), 0.8)}:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.6)}}",ws=":host{padding-left:var(--ion-safe-area-left);padding-right:var(--ion-safe-area-right);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-bottom:var(--ion-safe-area-bottom, 0);border-top:var(--border);background:var(--background);color:var(--color);text-align:center;contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:10;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-safe-area-left);padding-inline-start:var(--ion-safe-area-left);-webkit-padding-end:var(--ion-safe-area-right);padding-inline-end:var(--ion-safe-area-right)}}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-background-color, #fff));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:1px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, rgba(0, 0, 0, 0.07))));--color:var(--ion-tab-bar-color, var(--ion-color-step-600, #666666));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #3880ff));height:56px}",xs=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionTabBarChanged=(0,r.yM)(this,"ionTabBarChanged",7),this.keyboardVisible=!1,this.translucent=!1}selectedTabChanged(){void 0!==this.selectedTab&&this.ionTabBarChanged.emit({tab:this.selectedTab})}componentWillLoad(){this.selectedTabChanged()}connectedCallback(){"undefined"!==typeof window&&(this.keyboardWillShowHandler=()=>{"top"!==this.el.getAttribute("slot")&&(this.keyboardVisible=!0)},this.keyboardWillHideHandler=()=>{setTimeout((()=>this.keyboardVisible=!1),50)},window.addEventListener("keyboardWillShow",this.keyboardWillShowHandler),window.addEventListener("keyboardWillHide",this.keyboardWillHideHandler))}disconnectedCallback(){"undefined"!==typeof window&&(window.removeEventListener("keyboardWillShow",this.keyboardWillShowHandler),window.removeEventListener("keyboardWillHide",this.keyboardWillHideHandler),this.keyboardWillShowHandler=this.keyboardWillHideHandler=void 0)}render(){const{color:t,translucent:e,keyboardVisible:n}=this,o=z(this);return(0,r.h)(r.AA,{role:"tablist","aria-hidden":n?"true":null,class:F(t,{[o]:!0,"tab-bar-translucent":e,"tab-bar-hidden":n})},(0,r.h)("slot",null))}get el(){return this}static get watchers(){return{selectedTab:["selectedTabChanged"]}}static get style(){return{ios:ys,md:ws}}},[33,"ion-tab-bar",{color:[513],selectedTab:[1,"selected-tab"],translucent:[4],keyboardVisible:[32]}]);const ks=xs,$s="html.plt-mobile ion-app{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}html.plt-mobile ion-app [contenteditable]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}ion-app.force-statusbar-padding{--ion-safe-area-top:20px}",Es=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost()}componentDidLoad(){r.Z5.isBrowser&&_s((async()=>{const t=m(window,"hybrid");s.getBoolean("_testing")||n.e(168).then(n.bind(n,3168)).then((t=>t.startTapClick(s))),s.getBoolean("statusTap",t)&&n.e(78).then(n.bind(n,6078)).then((t=>t.startStatusTap())),s.getBoolean("inputShims",Ss())&&n.e(775).then(n.bind(n,8775)).then((t=>t.startInputShims(s)));const e=await Promise.resolve().then(n.bind(n,4261));s.getBoolean("hardwareBackButton",t)?e.startHardwareBackButton():e.blockHardwareBackButton(),"undefined"!==typeof window&&Promise.resolve().then(n.bind(n,3541)).then((t=>t.startKeyboardAssist(window))),n.e(544).then(n.bind(n,8544)).then((t=>this.focusVisible=t.startFocusVisible()))}))}async setFocus(t){this.focusVisible&&this.focusVisible.setFocus(t)}render(){const t=z(this);return(0,r.h)(r.AA,{class:{[t]:!0,"ion-page":!0,"force-statusbar-padding":s.getBoolean("_forceStatusbarPadding")}})}get el(){return this}static get style(){return $s}},[0,"ion-app",{setFocus:[64]}]),Ss=()=>m(window,"ios")&&m(window,"mobile"),_s=t=>{"requestIdleCallback"in window?window.requestIdleCallback(t):setTimeout(t,32)};const Cs=Es;var As=n(6515); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const Ts=(t,e)=>{let n,o;const i=(t,o,i)=>{if("undefined"===typeof document)return;const r=document.elementFromPoint(t,o);r&&e(r)?r!==n&&(s(),a(r,i)):s()},a=(t,e)=>{n=t,o||(o=n);const i=n;(0,r.Iu)((()=>i.classList.add("ion-activated"))),e()},s=(t=!1)=>{if(!n)return;const e=n;(0,r.Iu)((()=>e.classList.remove("ion-activated"))),t&&o!==n&&n.click(),n=void 0};return(0,As.createGesture)({el:t,gestureName:"buttonActiveDrag",threshold:0,onStart:t=>i(t.currentX,t.currentY,Xn),onMove:t=>i(t.currentX,t.currentY,Jn),onEnd:()=>{s(!0),Kn(),o=void 0}})};var Is=n(9350); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const Ls=":host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none;z-index:2}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:var(--ion-backdrop-color, #000)}",Rs=":host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none;z-index:2}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:var(--ion-backdrop-color, #000)}",Os=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.ionBackdropTap=(0,r.yM)(this,"ionBackdropTap",7),this.blocker=Is.G.createBlocker({disableScroll:!0}),this.visible=!0,this.tappable=!0,this.stopPropagation=!0}connectedCallback(){this.stopPropagation&&this.blocker.block()}disconnectedCallback(){this.blocker.unblock()}onMouseDown(t){this.emitTap(t)}emitTap(t){this.stopPropagation&&(t.preventDefault(),t.stopPropagation()),this.tappable&&this.ionBackdropTap.emit()}render(){const t=z(this);return(0,r.h)(r.AA,{tabindex:"-1","aria-hidden":"true",class:{[t]:!0,"backdrop-hide":!this.visible,"backdrop-no-tappable":!this.tappable}})}static get style(){return{ios:Ls,md:Rs}}},[33,"ion-backdrop",{visible:[4],tappable:[4],stopPropagation:[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]);function Ds(){if("undefined"===typeof customElements)return;const t=["ion-backdrop"];t.forEach((t=>{switch(t){case"ion-backdrop":customElements.get(t)||customElements.define(t,Os);break}}))} +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const Ns=t=>{const e=(0,Qn.c)(),n=(0,Qn.c)(),o=(0,Qn.c)();return n.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),o.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([n,o])},Ps=t=>{const e=(0,Qn.c)(),n=(0,Qn.c)(),o=(0,Qn.c)();return n.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),o.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([n,o])},zs=t=>{const e=(0,Qn.c)(),n=(0,Qn.c)(),o=(0,Qn.c)();return n.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),o.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([n,o])},js=t=>{const e=(0,Qn.c)(),n=(0,Qn.c)(),o=(0,Qn.c)();return n.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),o.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),e.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([n,o])},Ms='.sc-ion-action-sheet-ios-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:100%;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-ios-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-ios{left:0;right:0;bottom:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);z-index:10;pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button-inner.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:100%}.action-sheet-group.sc-ion-action-sheet-ios{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}.action-sheet-group.sc-ion-action-sheet-ios::-webkit-scrollbar{display:none}.action-sheet-group-cancel.sc-ion-action-sheet-ios{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ios::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-ios{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios{color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-ios:hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-ios:hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--backdrop-opacity:var(--ion-backdrop-opacity, 0.4);--button-background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent;--button-background-activated:var(--ion-text-color, #000);--button-background-activated-opacity:.08;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-background-selected:var(--ion-color-step-150, var(--ion-background-color, #fff));--button-background-selected-opacity:1;--button-color:var(--ion-color-primary, #3880ff);--color:var(--ion-color-step-400, #999999);text-align:center}.action-sheet-wrapper.sc-ion-action-sheet-ios{margin-left:auto;margin-right:auto;margin-top:var(--ion-safe-area-top, 0);margin-bottom:var(--ion-safe-area-bottom, 0)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-wrapper.sc-ion-action-sheet-ios{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}.action-sheet-container.sc-ion-action-sheet-ios{padding-left:8px;padding-right:8px;padding-top:0;padding-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-container.sc-ion-action-sheet-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}.action-sheet-group.sc-ion-action-sheet-ios{border-radius:13px;margin-bottom:8px}.action-sheet-group.sc-ion-action-sheet-ios:first-child{margin-top:10px}.action-sheet-group.sc-ion-action-sheet-ios:last-child{margin-bottom:10px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-group.sc-ion-action-sheet-ios{background-color:transparent;-webkit-backdrop-filter:saturate(280%) blur(20px);backdrop-filter:saturate(280%) blur(20px)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-title.sc-ion-action-sheet-ios,.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.sc-ion-action-sheet-ios{background-color:transparent;background-image:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8))), -webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background-image:linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%), linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4) 50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 50%);background-repeat:no-repeat;background-position:top, bottom;background-size:100% calc(100% - 1px), 100% 1px;-webkit-backdrop-filter:saturate(120%);backdrop-filter:saturate(120%)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.ion-activated.sc-ion-action-sheet-ios{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.7);background-image:none}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-cancel.sc-ion-action-sheet-ios{background:var(--button-background-selected)}}.action-sheet-title.sc-ion-action-sheet-ios{background:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, transparent)) bottom/100% 1px no-repeat transparent;background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent}.action-sheet-title.sc-ion-action-sheet-ios{padding-left:10px;padding-right:10px;padding-top:14px;padding-bottom:13px;color:var(--color, var(--ion-color-step-400, #999999));font-size:13px;font-weight:400;text-align:center}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-title.sc-ion-action-sheet-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px}}.action-sheet-title.action-sheet-has-sub-title.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-sub-title.sc-ion-action-sheet-ios{padding-left:0;padding-right:0;padding-top:6px;padding-bottom:0;font-size:13px;font-weight:400}.action-sheet-button.sc-ion-action-sheet-ios{padding-left:18px;padding-right:18px;padding-top:18px;padding-bottom:18px;height:56px;font-size:20px;contain:strict}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-button.sc-ion-action-sheet-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:18px;padding-inline-start:18px;-webkit-padding-end:18px;padding-inline-end:18px}}.action-sheet-button.sc-ion-action-sheet-ios .action-sheet-icon.sc-ion-action-sheet-ios{margin-right:0.3em;font-size:28px;pointer-events:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-button.sc-ion-action-sheet-ios .action-sheet-icon.sc-ion-action-sheet-ios{margin-right:unset;-webkit-margin-end:0.3em;margin-inline-end:0.3em}}.action-sheet-button.sc-ion-action-sheet-ios:last-child{background-image:none}.action-sheet-selected.sc-ion-action-sheet-ios{font-weight:bold}.action-sheet-cancel.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-cancel.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-destructive.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-activated.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-focused.sc-ion-action-sheet-ios{color:var(--ion-color-danger, #eb445a)}@media (any-hover: hover){.action-sheet-destructive.sc-ion-action-sheet-ios:hover{color:var(--ion-color-danger, #eb445a)}}',Bs='.sc-ion-action-sheet-md-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:100%;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-md-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-md{left:0;right:0;bottom:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);z-index:10;pointer-events:none}.action-sheet-button.sc-ion-action-sheet-md{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button-inner.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:100%}.action-sheet-group.sc-ion-action-sheet-md{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}.action-sheet-group.sc-ion-action-sheet-md::-webkit-scrollbar{display:none}.action-sheet-group-cancel.sc-ion-action-sheet-md{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-md::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-md{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-md::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md{color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-md:hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-md:hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);--button-background:transparent;--button-background-selected:currentColor;--button-background-selected-opacity:0;--button-background-activated:transparent;--button-background-activated-opacity:0;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-color:var(--ion-color-step-850, #262626);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}.action-sheet-wrapper.sc-ion-action-sheet-md{margin-left:auto;margin-right:auto;margin-top:var(--ion-safe-area-top, 0);margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-wrapper.sc-ion-action-sheet-md{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}.action-sheet-title.sc-ion-action-sheet-md{padding-left:16px;padding-right:16px;padding-top:20px;padding-bottom:17px;min-height:60px;color:var(--color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54));font-size:16px;text-align:start}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-title.sc-ion-action-sheet-md{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.action-sheet-sub-title.sc-ion-action-sheet-md{padding-left:0;padding-right:0;padding-top:16px;padding-bottom:0;font-size:14px}.action-sheet-group.sc-ion-action-sheet-md:first-child{padding-top:0}.action-sheet-group.sc-ion-action-sheet-md:last-child{padding-bottom:var(--ion-safe-area-bottom)}.action-sheet-button.sc-ion-action-sheet-md{padding-left:16px;padding-right:16px;padding-top:0;padding-bottom:0;position:relative;height:52px;font-size:16px;text-align:start;contain:strict;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-button.sc-ion-action-sheet-md{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.action-sheet-icon.sc-ion-action-sheet-md{padding-bottom:4px;margin-left:0;margin-right:32px;margin-top:0;margin-bottom:0;color:var(--color);font-size:24px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.action-sheet-icon.sc-ion-action-sheet-md{margin-left:unset;margin-right:unset;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:32px;margin-inline-end:32px}}.action-sheet-button-inner.sc-ion-action-sheet-md{-ms-flex-pack:start;justify-content:flex-start}.action-sheet-selected.sc-ion-action-sheet-md{font-weight:bold}',Fs=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.didPresent=(0,r.yM)(this,"ionActionSheetDidPresent",7),this.willPresent=(0,r.yM)(this,"ionActionSheetWillPresent",7),this.willDismiss=(0,r.yM)(this,"ionActionSheetWillDismiss",7),this.didDismiss=(0,r.yM)(this,"ionActionSheetDidDismiss",7),this.presented=!1,this.keyboardClose=!0,this.buttons=[],this.backdropDismiss=!0,this.translucent=!1,this.animated=!0,this.onBackdropTap=()=>{this.dismiss(void 0,yi)},this.dispatchCancelHandler=t=>{const e=t.detail.role;if(gi(e)){const t=this.getButtons().find((t=>"cancel"===t.role));this.callButtonHandler(t)}}}present(){return ci(this,"actionSheetEnter",Ns,zs)}connectedCallback(){Ko(this.el)}dismiss(t,e){return ui(this,t,e,"actionSheetLeave",Ps,js)}onDidDismiss(){return fi(this.el,"ionActionSheetDidDismiss")}onWillDismiss(){return fi(this.el,"ionActionSheetWillDismiss")}async buttonClick(t){const e=t.role;if(gi(e))return this.dismiss(t.data,e);const n=await this.callButtonHandler(t);return n?this.dismiss(t.data,t.role):Promise.resolve()}async callButtonHandler(t){if(t){const e=await vi(t.handler);if(!1===e)return!1}return!0}getButtons(){return this.buttons.map((t=>"string"===typeof t?{text:t}:t))}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0)}componentDidLoad(){const{groupEl:t,wrapperEl:e}=this;!this.gesture&&"md"!==z(this)&&e&&t&&(0,r.wj)((()=>{const n=t.scrollHeight>t.clientHeight;n||(this.gesture=Ts(e,(t=>t.classList.contains("action-sheet-button"))),this.gesture.enable(!0))}))}render(){const{htmlAttributes:t}=this,e=z(this),n=this.getButtons(),o=n.find((t=>"cancel"===t.role)),i=n.filter((t=>"cancel"!==t.role));return(0,r.h)(r.AA,Object.assign({role:"dialog","aria-modal":"true",tabindex:"-1"},t,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign(Object.assign({[e]:!0},W(this.cssClass)),{"overlay-hidden":!0,"action-sheet-translucent":this.translucent}),onIonActionSheetWillDismiss:this.dispatchCancelHandler,onIonBackdropTap:this.onBackdropTap}),(0,r.h)("ion-backdrop",{tappable:this.backdropDismiss}),(0,r.h)("div",{tabindex:"0"}),(0,r.h)("div",{class:"action-sheet-wrapper ion-overlay-wrapper",role:"dialog",ref:t=>this.wrapperEl=t},(0,r.h)("div",{class:"action-sheet-container"},(0,r.h)("div",{class:"action-sheet-group",ref:t=>this.groupEl=t},void 0!==this.header&&(0,r.h)("div",{class:{"action-sheet-title":!0,"action-sheet-has-sub-title":void 0!==this.subHeader}},this.header,this.subHeader&&(0,r.h)("div",{class:"action-sheet-sub-title"},this.subHeader)),i.map((t=>(0,r.h)("button",{type:"button",id:t.id,class:Hs(t),onClick:()=>this.buttonClick(t)},(0,r.h)("span",{class:"action-sheet-button-inner"},t.icon&&(0,r.h)("ion-icon",{icon:t.icon,lazy:!1,class:"action-sheet-icon"}),t.text),"md"===e&&(0,r.h)("ion-ripple-effect",null))))),o&&(0,r.h)("div",{class:"action-sheet-group action-sheet-group-cancel"},(0,r.h)("button",{type:"button",class:Hs(o),onClick:()=>this.buttonClick(o)},(0,r.h)("span",{class:"action-sheet-button-inner"},o.icon&&(0,r.h)("ion-icon",{icon:o.icon,lazy:!1,class:"action-sheet-icon"}),o.text),"md"===e&&(0,r.h)("ion-ripple-effect",null))))),(0,r.h)("div",{tabindex:"0"}))}get el(){return this}static get style(){return{ios:Ms,md:Bs}}},[34,"ion-action-sheet",{overlayIndex:[2,"overlay-index"],keyboardClose:[4,"keyboard-close"],enterAnimation:[16],leaveAnimation:[16],buttons:[16],cssClass:[1,"css-class"],backdropDismiss:[4,"backdrop-dismiss"],header:[1],subHeader:[1,"sub-header"],translucent:[4],animated:[4],htmlAttributes:[16],present:[64],dismiss:[64],onDidDismiss:[64],onWillDismiss:[64]}]),Hs=t=>Object.assign({"action-sheet-button":!0,"ion-activatable":!0,"ion-focusable":!0,[`action-sheet-${t.role}`]:void 0!==t.role},W(t.cssClass));function Ws(){if("undefined"===typeof customElements)return;const t=["ion-action-sheet","ion-backdrop","ion-icon","ion-ripple-effect"];t.forEach((t=>{switch(t){case"ion-action-sheet":customElements.get(t)||customElements.define(t,Fs);break;case"ion-backdrop":customElements.get(t)||Ds();break;case"ion-icon":customElements.get(t)||hn();break;case"ion-ripple-effect":customElements.get(t)||K();break}}))} +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const Us=Ws,qs=t=>{const e=(0,Qn.c)(),n=(0,Qn.c)(),o=(0,Qn.c)();return n.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),o.addElement(t.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.01,transform:"scale(1.1)"},{offset:1,opacity:1,transform:"scale(1)"}]),e.addElement(t).easing("ease-in-out").duration(200).addAnimation([n,o])},Vs=t=>{const e=(0,Qn.c)(),n=(0,Qn.c)(),o=(0,Qn.c)();return n.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),o.addElement(t.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]),e.addElement(t).easing("ease-in-out").duration(200).addAnimation([n,o])},Ys=t=>{const e=(0,Qn.c)(),n=(0,Qn.c)(),o=(0,Qn.c)();return n.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),o.addElement(t.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.01,transform:"scale(1.1)"},{offset:1,opacity:1,transform:"scale(1)"}]),e.addElement(t).easing("ease-in-out").duration(200).addAnimation([n,o])},Gs=t=>{const e=(0,Qn.c)(),n=(0,Qn.c)(),o=(0,Qn.c)();return n.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),o.addElement(t.querySelector(".loading-wrapper")).keyframes([{offset:0,opacity:.99,transform:"scale(1)"},{offset:1,opacity:0,transform:"scale(0.9)"}]),e.addElement(t).easing("ease-in-out").duration(200).addAnimation([n,o])},Xs=".sc-ion-loading-ios-h{--min-width:auto;--width:auto;--min-height:auto;--height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-loading-ios-h{display:none}.loading-wrapper.sc-ion-loading-ios{display:-ms-flexbox;display:flex;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);opacity:0;z-index:10}ion-spinner.sc-ion-loading-ios{color:var(--spinner-color)}.sc-ion-loading-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, #f9f9f9));--max-width:270px;--max-height:90%;--spinner-color:var(--ion-color-step-600, #666666);--backdrop-opacity:var(--ion-backdrop-opacity, 0.3);color:var(--ion-text-color, #000);font-size:14px}.loading-wrapper.sc-ion-loading-ios{border-radius:8px;padding-left:34px;padding-right:34px;padding-top:24px;padding-bottom:24px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.loading-wrapper.sc-ion-loading-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:34px;padding-inline-start:34px;-webkit-padding-end:34px;padding-inline-end:34px}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.loading-translucent.sc-ion-loading-ios-h .loading-wrapper.sc-ion-loading-ios{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.loading-content.sc-ion-loading-ios{font-weight:bold}.loading-spinner.sc-ion-loading-ios+.loading-content.sc-ion-loading-ios{margin-left:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.loading-spinner.sc-ion-loading-ios+.loading-content.sc-ion-loading-ios{margin-left:unset;-webkit-margin-start:16px;margin-inline-start:16px}}",Js=".sc-ion-loading-md-h{--min-width:auto;--width:auto;--min-height:auto;--height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-loading-md-h{display:none}.loading-wrapper.sc-ion-loading-md{display:-ms-flexbox;display:flex;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);opacity:0;z-index:10}ion-spinner.sc-ion-loading-md{color:var(--spinner-color)}.sc-ion-loading-md-h{--background:var(--ion-color-step-50, #f2f2f2);--max-width:280px;--max-height:90%;--spinner-color:var(--ion-color-primary, #3880ff);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);color:var(--ion-color-step-850, #262626);font-size:14px}.loading-wrapper.sc-ion-loading-md{border-radius:2px;padding-left:24px;padding-right:24px;padding-top:24px;padding-bottom:24px;-webkit-box-shadow:0 16px 20px rgba(0, 0, 0, 0.4);box-shadow:0 16px 20px rgba(0, 0, 0, 0.4)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.loading-wrapper.sc-ion-loading-md{padding-left:unset;padding-right:unset;-webkit-padding-start:24px;padding-inline-start:24px;-webkit-padding-end:24px;padding-inline-end:24px}}.loading-spinner.sc-ion-loading-md+.loading-content.sc-ion-loading-md{margin-left:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.loading-spinner.sc-ion-loading-md+.loading-content.sc-ion-loading-md{margin-left:unset;-webkit-margin-start:16px;margin-inline-start:16px}}",Ks=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.didPresent=(0,r.yM)(this,"ionLoadingDidPresent",7),this.willPresent=(0,r.yM)(this,"ionLoadingWillPresent",7),this.willDismiss=(0,r.yM)(this,"ionLoadingWillDismiss",7),this.didDismiss=(0,r.yM)(this,"ionLoadingDidDismiss",7),this.presented=!1,this.keyboardClose=!0,this.duration=0,this.backdropDismiss=!1,this.showBackdrop=!0,this.translucent=!1,this.animated=!0,this.onBackdropTap=()=>{this.dismiss(void 0,yi)}}connectedCallback(){Ko(this.el)}componentWillLoad(){if(void 0===this.spinner){const t=z(this);this.spinner=s.get("loadingSpinner",s.get("spinner","ios"===t?"lines":"crescent"))}}async present(){await ci(this,"loadingEnter",qs,Ys,void 0),this.duration>0&&(this.durationTimeout=setTimeout((()=>this.dismiss()),this.duration+10))}dismiss(t,e){return this.durationTimeout&&clearTimeout(this.durationTimeout),ui(this,t,e,"loadingLeave",Vs,Gs)}onDidDismiss(){return fi(this.el,"ionLoadingDidDismiss")}onWillDismiss(){return fi(this.el,"ionLoadingWillDismiss")}render(){const{message:t,spinner:e,htmlAttributes:n}=this,o=z(this);return(0,r.h)(r.AA,Object.assign({tabindex:"-1"},n,{style:{zIndex:`${4e4+this.overlayIndex}`},onIonBackdropTap:this.onBackdropTap,class:Object.assign(Object.assign({},W(this.cssClass)),{[o]:!0,"overlay-hidden":!0,"loading-translucent":this.translucent})}),(0,r.h)("ion-backdrop",{visible:this.showBackdrop,tappable:this.backdropDismiss}),(0,r.h)("div",{tabindex:"0"}),(0,r.h)("div",{class:"loading-wrapper ion-overlay-wrapper",role:"dialog"},e&&(0,r.h)("div",{class:"loading-spinner"},(0,r.h)("ion-spinner",{name:e,"aria-hidden":"true"})),t&&(0,r.h)("div",{class:"loading-content",innerHTML:ue(t)})),(0,r.h)("div",{tabindex:"0"}))}get el(){return this}static get style(){return{ios:Xs,md:Js}}},[34,"ion-loading",{overlayIndex:[2,"overlay-index"],keyboardClose:[4,"keyboard-close"],enterAnimation:[16],leaveAnimation:[16],message:[1],cssClass:[1,"css-class"],duration:[2],backdropDismiss:[4,"backdrop-dismiss"],showBackdrop:[4,"show-backdrop"],spinner:[1025],translucent:[4],animated:[4],htmlAttributes:[16],present:[64],dismiss:[64],onDidDismiss:[64],onWillDismiss:[64]}]);function Zs(){if("undefined"===typeof customElements)return;const t=["ion-loading","ion-backdrop","ion-spinner"];t.forEach((t=>{switch(t){case"ion-loading":customElements.get(t)||customElements.define(t,Ks);break;case"ion-backdrop":customElements.get(t)||Ds();break;case"ion-spinner":customElements.get(t)||Ee();break}}))}const Qs=Zs,tl=(t,e)=>{const n=(0,Qn.c)(),o=(0,Qn.c)(),i=(0,M.g)(t),r=i.querySelector(".toast-wrapper"),a="calc(-10px - var(--ion-safe-area-bottom, 0px))",s="calc(10px + var(--ion-safe-area-top, 0px))";switch(o.addElement(r),e){case"top":o.fromTo("transform","translateY(-100%)",`translateY(${s})`);break;case"middle":const e=Math.floor(t.clientHeight/2-r.clientHeight/2);r.style.top=`${e}px`,o.fromTo("opacity",.01,1);break;default:o.fromTo("transform","translateY(100%)",`translateY(${a})`);break}return n.easing("cubic-bezier(.155,1.105,.295,1.12)").duration(400).addAnimation(o)},el=(t,e)=>{const n=(0,Qn.c)(),o=(0,Qn.c)(),i=(0,M.g)(t),r=i.querySelector(".toast-wrapper"),a="calc(-10px - var(--ion-safe-area-bottom, 0px))",s="calc(10px + var(--ion-safe-area-top, 0px))";switch(o.addElement(r),e){case"top":o.fromTo("transform",`translateY(${s})`,"translateY(-100%)");break;case"middle":o.fromTo("opacity",.99,0);break;default:o.fromTo("transform",`translateY(${a})`,"translateY(100%)");break}return n.easing("cubic-bezier(.36,.66,.04,1)").duration(300).addAnimation(o)},nl=(t,e)=>{const n=(0,Qn.c)(),o=(0,Qn.c)(),i=(0,M.g)(t),r=i.querySelector(".toast-wrapper"),a="calc(8px + var(--ion-safe-area-bottom, 0px))",s="calc(8px + var(--ion-safe-area-top, 0px))";switch(o.addElement(r),e){case"top":r.style.top=s,o.fromTo("opacity",.01,1);break;case"middle":const e=Math.floor(t.clientHeight/2-r.clientHeight/2);r.style.top=`${e}px`,o.fromTo("opacity",.01,1);break;default:r.style.bottom=a,o.fromTo("opacity",.01,1);break}return n.easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation(o)},ol=t=>{const e=(0,Qn.c)(),n=(0,Qn.c)(),o=(0,M.g)(t),i=o.querySelector(".toast-wrapper");return n.addElement(i).fromTo("opacity",.99,0),e.easing("cubic-bezier(.36,.66,.04,1)").duration(300).addAnimation(n)},il=":host{--border-width:0;--border-style:none;--border-color:initial;--box-shadow:none;--min-width:auto;--width:auto;--min-height:auto;--height:auto;--max-height:auto;--white-space:normal;left:0;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);contain:strict;z-index:1001;pointer-events:none}:host-context([dir=rtl]){left:unset;right:unset;right:0}:host(.overlay-hidden){display:none}:host(.ion-color){--button-color:inherit;color:var(--ion-color-contrast)}:host(.ion-color) .toast-button-cancel{color:inherit}:host(.ion-color) .toast-wrapper{background:var(--ion-color-base)}.toast-wrapper{border-radius:var(--border-radius);left:var(--start);right:var(--end);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}[dir=rtl] .toast-wrapper,:host-context([dir=rtl]) .toast-wrapper{left:unset;right:unset;left:var(--end);right:var(--start)}.toast-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;pointer-events:auto;height:inherit;min-height:inherit;max-height:inherit;contain:content}.toast-content{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}.toast-icon{margin-left:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toast-icon{margin-left:unset;-webkit-margin-start:16px;margin-inline-start:16px}}.toast-message{-ms-flex:1;flex:1;white-space:var(--white-space)}.toast-button-group{display:-ms-flexbox;display:flex}.toast-button{border:0;outline:none;color:var(--button-color);z-index:0}.toast-icon,.toast-button-icon{font-size:1.4em}.toast-button-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (any-hover: hover){.toast-button:hover{cursor:pointer}}:host{--background:var(--ion-color-step-50, #f2f2f2);--border-radius:14px;--button-color:var(--ion-color-primary, #3880ff);--color:var(--ion-color-step-850, #262626);--max-width:700px;--start:10px;--end:10px;font-size:14px}.toast-wrapper{margin-left:auto;margin-right:auto;margin-top:auto;margin-bottom:auto;display:block;position:absolute;z-index:10}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toast-wrapper{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.toast-translucent) .toast-wrapper{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.toast-wrapper.toast-top{-webkit-transform:translate3d(0, -100%, 0);transform:translate3d(0, -100%, 0);top:0}.toast-wrapper.toast-middle{opacity:0.01}.toast-wrapper.toast-bottom{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);bottom:0}.toast-content{padding-left:15px;padding-right:15px;padding-top:15px;padding-bottom:15px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toast-content{padding-left:unset;padding-right:unset;-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px}}.toast-header{margin-bottom:2px;font-weight:500}.toast-button{padding-left:15px;padding-right:15px;padding-top:10px;padding-bottom:10px;height:44px;-webkit-transition:background-color, opacity 100ms linear;transition:background-color, opacity 100ms linear;border:0;background-color:transparent;font-family:var(--ion-font-family);font-size:17px;font-weight:500;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toast-button{padding-left:unset;padding-right:unset;-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px}}.toast-button.ion-activated{opacity:0.4}@media (any-hover: hover){.toast-button:hover{opacity:0.6}}",rl=":host{--border-width:0;--border-style:none;--border-color:initial;--box-shadow:none;--min-width:auto;--width:auto;--min-height:auto;--height:auto;--max-height:auto;--white-space:normal;left:0;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);contain:strict;z-index:1001;pointer-events:none}:host-context([dir=rtl]){left:unset;right:unset;right:0}:host(.overlay-hidden){display:none}:host(.ion-color){--button-color:inherit;color:var(--ion-color-contrast)}:host(.ion-color) .toast-button-cancel{color:inherit}:host(.ion-color) .toast-wrapper{background:var(--ion-color-base)}.toast-wrapper{border-radius:var(--border-radius);left:var(--start);right:var(--end);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}[dir=rtl] .toast-wrapper,:host-context([dir=rtl]) .toast-wrapper{left:unset;right:unset;left:var(--end);right:var(--start)}.toast-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;pointer-events:auto;height:inherit;min-height:inherit;max-height:inherit;contain:content}.toast-content{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}.toast-icon{margin-left:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toast-icon{margin-left:unset;-webkit-margin-start:16px;margin-inline-start:16px}}.toast-message{-ms-flex:1;flex:1;white-space:var(--white-space)}.toast-button-group{display:-ms-flexbox;display:flex}.toast-button{border:0;outline:none;color:var(--button-color);z-index:0}.toast-icon,.toast-button-icon{font-size:1.4em}.toast-button-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (any-hover: hover){.toast-button:hover{cursor:pointer}}:host{--background:var(--ion-color-step-800, #333333);--border-radius:4px;--box-shadow:0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);--button-color:var(--ion-color-primary, #3880ff);--color:var(--ion-color-step-50, #f2f2f2);--max-width:700px;--start:8px;--end:8px;font-size:14px}.toast-wrapper{margin-left:auto;margin-right:auto;margin-top:auto;margin-bottom:auto;display:block;position:absolute;opacity:0.01;z-index:10}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toast-wrapper{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}.toast-content{padding-left:16px;padding-right:16px;padding-top:14px;padding-bottom:14px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toast-content{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.toast-header{margin-bottom:2px;font-weight:500;line-height:20px}.toast-message{line-height:20px}.toast-button-group-start{margin-left:8px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toast-button-group-start{margin-left:unset;-webkit-margin-start:8px;margin-inline-start:8px}}.toast-button-group-end{margin-right:8px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toast-button-group-end{margin-right:unset;-webkit-margin-end:8px;margin-inline-end:8px}}.toast-button{padding-left:15px;padding-right:15px;padding-top:10px;padding-bottom:10px;position:relative;background-color:transparent;font-family:var(--ion-font-family);font-size:14px;font-weight:500;letter-spacing:0.84px;text-transform:uppercase;overflow:hidden}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toast-button{padding-left:unset;padding-right:unset;-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px}}.toast-button-cancel{color:var(--ion-color-step-100, #e6e6e6)}.toast-button-icon-only{border-radius:50%;padding-left:9px;padding-right:9px;padding-top:9px;padding-bottom:9px;width:36px;height:36px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.toast-button-icon-only{padding-left:unset;padding-right:unset;-webkit-padding-start:9px;padding-inline-start:9px;-webkit-padding-end:9px;padding-inline-end:9px}}@media (any-hover: hover){.toast-button:hover{background-color:rgba(var(--ion-color-primary-rgb, 56, 128, 255), 0.08)}.toast-button-cancel:hover{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.08)}}",al=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.didPresent=(0,r.yM)(this,"ionToastDidPresent",7),this.willPresent=(0,r.yM)(this,"ionToastWillPresent",7),this.willDismiss=(0,r.yM)(this,"ionToastWillDismiss",7),this.didDismiss=(0,r.yM)(this,"ionToastDidDismiss",7),this.presented=!1,this.duration=0,this.keyboardClose=!1,this.position="bottom",this.translucent=!1,this.animated=!0,this.dispatchCancelHandler=t=>{const e=t.detail.role;if(gi(e)){const t=this.getButtons().find((t=>"cancel"===t.role));this.callButtonHandler(t)}}}connectedCallback(){Ko(this.el)}async present(){await ci(this,"toastEnter",tl,nl,this.position),this.duration>0&&(this.durationTimeout=setTimeout((()=>this.dismiss(void 0,"timeout")),this.duration))}dismiss(t,e){return this.durationTimeout&&clearTimeout(this.durationTimeout),ui(this,t,e,"toastLeave",el,ol,this.position)}onDidDismiss(){return fi(this.el,"ionToastDidDismiss")}onWillDismiss(){return fi(this.el,"ionToastWillDismiss")}getButtons(){const t=this.buttons?this.buttons.map((t=>"string"===typeof t?{text:t}:t)):[];return t}async buttonClick(t){const e=t.role;if(gi(e))return this.dismiss(void 0,e);const n=await this.callButtonHandler(t);return n?this.dismiss(void 0,e):Promise.resolve()}async callButtonHandler(t){if(null===t||void 0===t?void 0:t.handler)try{const e=await vi(t.handler);if(!1===e)return!1}catch(e){console.error(e)}return!0}renderButtons(t,e){if(0===t.length)return;const n=z(this),o={"toast-button-group":!0,[`toast-button-group-${e}`]:!0};return(0,r.h)("div",{class:o},t.map((t=>(0,r.h)("button",{type:"button",class:sl(t),tabIndex:0,onClick:()=>this.buttonClick(t),part:"button"},(0,r.h)("div",{class:"toast-button-inner"},t.icon&&(0,r.h)("ion-icon",{icon:t.icon,slot:void 0===t.text?"icon-only":void 0,class:"toast-button-icon"}),t.text),"md"===n&&(0,r.h)("ion-ripple-effect",{type:void 0!==t.icon&&void 0===t.text?"unbounded":"bounded"})))))}render(){const t=this.getButtons(),e=t.filter((t=>"start"===t.side)),n=t.filter((t=>"start"!==t.side)),o=z(this),i={"toast-wrapper":!0,[`toast-${this.position}`]:!0},a=t.length>0?"dialog":"status";return(0,r.h)(r.AA,Object.assign({"aria-live":"polite","aria-atomic":"true",role:a,tabindex:"-1"},this.htmlAttributes,{style:{zIndex:`${6e4+this.overlayIndex}`},class:F(this.color,Object.assign(Object.assign({[o]:!0},W(this.cssClass)),{"overlay-hidden":!0,"toast-translucent":this.translucent})),onIonToastWillDismiss:this.dispatchCancelHandler}),(0,r.h)("div",{class:i},(0,r.h)("div",{class:"toast-container",part:"container"},this.renderButtons(e,"start"),void 0!==this.icon&&(0,r.h)("ion-icon",{class:"toast-icon",part:"icon",icon:this.icon,lazy:!1,"aria-hidden":"true"}),(0,r.h)("div",{class:"toast-content"},void 0!==this.header&&(0,r.h)("div",{class:"toast-header",part:"header"},this.header),void 0!==this.message&&(0,r.h)("div",{class:"toast-message",part:"message",innerHTML:ue(this.message)})),this.renderButtons(n,"end"))))}get el(){return this}static get style(){return{ios:il,md:rl}}},[33,"ion-toast",{overlayIndex:[2,"overlay-index"],color:[513],enterAnimation:[16],leaveAnimation:[16],cssClass:[1,"css-class"],duration:[2],header:[1],message:[1],keyboardClose:[4,"keyboard-close"],position:[1],buttons:[16],translucent:[4],animated:[4],icon:[1],htmlAttributes:[16],present:[64],dismiss:[64],onDidDismiss:[64],onWillDismiss:[64]}]),sl=t=>Object.assign({"toast-button":!0,"toast-button-icon-only":void 0!==t.icon&&void 0===t.text,[`toast-button-${t.role}`]:void 0!==t.role,"ion-focusable":!0,"ion-activatable":!0},W(t.cssClass));function ll(){if("undefined"===typeof customElements)return;const t=["ion-toast","ion-icon","ion-ripple-effect"];t.forEach((t=>{switch(t){case"ion-toast":customElements.get(t)||customElements.define(t,al);break;case"ion-icon":customElements.get(t)||hn();break;case"ion-ripple-effect":customElements.get(t)||K();break}}))}const cl=ll;var dl=n(3541); +/*! + * (C) Ionic http://ionicframework.com - MIT License + */ +const ul="undefined"!==typeof window?window:void 0;var hl;(function(t){t["Dark"]="DARK",t["Light"]="LIGHT",t["Default"]="DEFAULT"})(hl||(hl={}));const pl={getEngine(){var t,e,n;return(null===(e=null===(t=ul)||void 0===t?void 0:t.Capacitor)||void 0===e?void 0:e.isPluginAvailable("StatusBar"))&&(null===(n=ul)||void 0===n?void 0:n.Capacitor.Plugins.StatusBar)},supportsDefaultStatusBarStyle(){var t,e;return!!(null===(e=null===(t=ul)||void 0===t?void 0:t.Capacitor)||void 0===e?void 0:e.PluginHeaders)},setStyle(t){const e=this.getEngine();e&&e.setStyle(t)}},fl=(t,e)=>{if(1===e)return 0;const n=1/(1-e),o=-e*n;return t*n+o},ml=()=>{!ul||ul.innerWidth>=768||!pl.supportsDefaultStatusBarStyle()||pl.setStyle({style:hl.Dark})},gl=()=>{!ul||ul.innerWidth>=768||!pl.supportsDefaultStatusBarStyle()||pl.setStyle({style:hl.Default})},bl=async(t,e)=>{if("function"!==typeof t.canDismiss)return;const n=await t.canDismiss();n&&(e.isRunning()?e.onFinish((()=>{t.dismiss(void 0,"handler")}),{oneTimeCallback:!0}):t.dismiss(void 0,"handler"))},vl=t=>.00255275*2.71828**(-14.9619*t)-1.00255*2.71828**(-.0380968*t)+1,yl={MIN_PRESENTING_SCALE:.93},wl=(t,e,n)=>{const o=.5,i=t.offsetHeight;let r=!1,a=!1,s=null,l=null;const c=.2;let d=!0,u=0;const h=()=>!s||!(0,Bt.i)(s)||s.scrollY,p=t=>{const e=t.event.target;if(null===e||!e.closest)return!0;if(s=(0,Bt.a)(e),s){if((0,Bt.i)(s)){const t=(0,M.g)(s);l=t.querySelector(".inner-scroll")}else l=s;const t=!!s.querySelector("ion-refresher");return!t&&0===l.scrollTop}const n=e.closest("ion-footer");return null===n},f=n=>{const{deltaY:o}=n;d=h(),a=void 0!==t.canDismiss&&!0!==t.canDismiss,o>0&&s&&(0,Bt.d)(s),e.progressStart(!0,r?1:0)},m=t=>{const{deltaY:n}=t;n>0&&s&&(0,Bt.d)(s);const r=t.deltaY/i,l=r>=0&&a,d=l?c:.9999,h=l?vl(r/d):r,p=(0,M.j)(1e-4,h,d);e.progressStep(p),p>=o&&u=o&&ml(),u=p},g=l=>{const u=l.velocityY,h=l.deltaY/i,p=h>=0&&a,f=p?c:.9999,m=p?vl(h/f):h,g=(0,M.j)(1e-4,m,f),v=(l.deltaY+1e3*u)/i,y=!p&&v>=o;let w=y?-.001:.001;y?(e.easing("cubic-bezier(0.32, 0.72, 0, 1)"),w+=Wn([0,0],[.32,.72],[0,1],[1,1],g)[0]):(e.easing("cubic-bezier(1, 0, 0.68, 0.28)"),w+=Wn([0,0],[1,0],[.68,.28],[1,1],g)[0]);const x=xl(y?h*i:(1-g)*i,u);r=y,b.enable(!1),s&&(0,Bt.r)(s,d),e.onFinish((()=>{y||b.enable(!0)})).progressEnd(y?1:0,w,x),p&&g>f/4?bl(t,e):y&&n()},b=(0,As.createGesture)({el:t,gestureName:"modalSwipeToClose",gesturePriority:39,direction:"y",threshold:10,canStart:p,onStart:f,onMove:m,onEnd:g});return b},xl=(t,e)=>(0,M.j)(400,t/Math.abs(1.1*e),500),kl=t=>{const{currentBreakpoint:e,backdropBreakpoint:n}=t,o=void 0===n||n{const{currentBreakpoint:e,backdropBreakpoint:n}=t,o=`calc(var(--backdrop-opacity) * ${fl(e,n)})`,i=[{offset:0,opacity:o},{offset:1,opacity:0}],r=[{offset:0,opacity:o},{offset:n,opacity:0},{offset:1,opacity:0}],a=(0,Qn.c)("backdropAnimation").keyframes(0!==n?r:i),s=(0,Qn.c)("wrapperAnimation").keyframes([{offset:0,opacity:1,transform:`translateY(${100-100*e}%)`},{offset:1,opacity:1,transform:"translateY(100%)"}]);return{wrapperAnimation:s,backdropAnimation:a}},El=()=>{const t=(0,Qn.c)().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),e=(0,Qn.c)().fromTo("transform","translateY(100vh)","translateY(0vh)");return{backdropAnimation:t,wrapperAnimation:e}},Sl=(t,e)=>{const{presentingEl:n,currentBreakpoint:o}=e,i=(0,M.g)(t),{wrapperAnimation:r,backdropAnimation:a}=void 0!==o?kl(e):El();a.addElement(i.querySelector("ion-backdrop")),r.addElement(i.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});const s=(0,Qn.c)("entering-base").addElement(t).easing("cubic-bezier(0.32,0.72,0,1)").duration(500).addAnimation(r);if(n){const t=window.innerWidth<768,e="ION-MODAL"===n.tagName&&void 0!==n.presentingElement,o=(0,M.g)(n),i=(0,Qn.c)().beforeStyles({transform:"translateY(0)","transform-origin":"top center",overflow:"hidden"}),l=document.body;if(t){const t=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",o=e?"-10px":t,r=yl.MIN_PRESENTING_SCALE,a=`translateY(${o}) scale(${r})`;i.afterStyles({transform:a}).beforeAddWrite((()=>l.style.setProperty("background-color","black"))).addElement(n).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"},{offset:1,filter:"contrast(0.85)",transform:a,borderRadius:"10px 10px 0 0"}]),s.addAnimation(i)}else if(s.addAnimation(a),e){const t=e?yl.MIN_PRESENTING_SCALE:1,n=`translateY(-10px) scale(${t})`;i.afterStyles({transform:n}).addElement(o.querySelector(".modal-wrapper")).keyframes([{offset:0,filter:"contrast(1)",transform:"translateY(0) scale(1)"},{offset:1,filter:"contrast(0.85)",transform:n}]);const r=(0,Qn.c)().afterStyles({transform:n}).addElement(o.querySelector(".modal-shadow")).keyframes([{offset:0,opacity:"1",transform:"translateY(0) scale(1)"},{offset:1,opacity:"0",transform:n}]);s.addAnimation([i,r])}else r.fromTo("opacity","0","1")}else s.addAnimation(a);return s},_l=()=>{const t=(0,Qn.c)().fromTo("opacity","var(--backdrop-opacity)",0),e=(0,Qn.c)().fromTo("transform","translateY(0vh)","translateY(100vh)");return{backdropAnimation:t,wrapperAnimation:e}},Cl=(t,e,n=500)=>{const{presentingEl:o,currentBreakpoint:i}=e,r=(0,M.g)(t),{wrapperAnimation:a,backdropAnimation:s}=void 0!==i?$l(e):_l();s.addElement(r.querySelector("ion-backdrop")),a.addElement(r.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({opacity:1});const l=(0,Qn.c)("leaving-base").addElement(t).easing("cubic-bezier(0.32,0.72,0,1)").duration(n).addAnimation(a);if(o){const t=window.innerWidth<768,e="ION-MODAL"===o.tagName&&void 0!==o.presentingElement,n=(0,M.g)(o),i=(0,Qn.c)().beforeClearStyles(["transform"]).afterClearStyles(["transform"]).onFinish((t=>{if(1!==t)return;o.style.setProperty("overflow","");const e=Array.from(r.querySelectorAll("ion-modal")).filter((t=>void 0!==t.presentingElement)).length;e<=1&&r.style.setProperty("background-color","")})),r=document.body;if(t){const t=CSS.supports("width","max(0px, 1px)")?"max(30px, var(--ion-safe-area-top))":"30px",n=e?"-10px":t,r=yl.MIN_PRESENTING_SCALE,a=`translateY(${n}) scale(${r})`;i.addElement(o).keyframes([{offset:0,filter:"contrast(0.85)",transform:a,borderRadius:"10px 10px 0 0"},{offset:1,filter:"contrast(1)",transform:"translateY(0px) scale(1)",borderRadius:"0px"}]),l.addAnimation(i)}else if(l.addAnimation(s),e){const t=e?yl.MIN_PRESENTING_SCALE:1,o=`translateY(-10px) scale(${t})`;i.addElement(n.querySelector(".modal-wrapper")).afterStyles({transform:"translate3d(0, 0, 0)"}).keyframes([{offset:0,filter:"contrast(0.85)",transform:o},{offset:1,filter:"contrast(1)",transform:"translateY(0) scale(1)"}]);const r=(0,Qn.c)().addElement(n.querySelector(".modal-shadow")).afterStyles({transform:"translateY(0) scale(1)"}).keyframes([{offset:0,opacity:"0",transform:o},{offset:1,opacity:"1",transform:"translateY(0) scale(1)"}]);l.addAnimation([i,r])}else a.fromTo("opacity","1","0")}else l.addAnimation(s);return l},Al=()=>{const t=(0,Qn.c)().fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),e=(0,Qn.c)().keyframes([{offset:0,opacity:.01,transform:"translateY(40px)"},{offset:1,opacity:1,transform:"translateY(0px)"}]);return{backdropAnimation:t,wrapperAnimation:e}},Tl=(t,e)=>{const{currentBreakpoint:n}=e,o=(0,M.g)(t),{wrapperAnimation:i,backdropAnimation:r}=void 0!==n?kl(e):Al();return r.addElement(o.querySelector("ion-backdrop")),i.addElement(o.querySelector(".modal-wrapper")),(0,Qn.c)().addElement(t).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(280).addAnimation([r,i])},Il=()=>{const t=(0,Qn.c)().fromTo("opacity","var(--backdrop-opacity)",0),e=(0,Qn.c)().keyframes([{offset:0,opacity:.99,transform:"translateY(0px)"},{offset:1,opacity:0,transform:"translateY(40px)"}]);return{backdropAnimation:t,wrapperAnimation:e}},Ll=(t,e)=>{const{currentBreakpoint:n}=e,o=(0,M.g)(t),{wrapperAnimation:i,backdropAnimation:r}=void 0!==n?$l(e):Il();return r.addElement(o.querySelector("ion-backdrop")),i.addElement(o.querySelector(".modal-wrapper")),(0,Qn.c)().easing("cubic-bezier(0.47,0,0.745,0.715)").duration(200).addAnimation([r,i])},Rl=(t,e,n,o,i,r,a=[],s,l,c)=>{const d=[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1,opacity:.01}],u=[{offset:0,opacity:"var(--backdrop-opacity)"},{offset:1-i,opacity:0},{offset:1,opacity:0}],h={WRAPPER_KEYFRAMES:[{offset:0,transform:"translateY(0%)"},{offset:1,transform:"translateY(100%)"}],BACKDROP_KEYFRAMES:0!==i?u:d},p=t.querySelector("ion-content"),f=n.clientHeight;let m=o,g=0,b=!1;const v=.95,y=r.childAnimations.find((t=>"wrapperAnimation"===t.id)),w=r.childAnimations.find((t=>"backdropAnimation"===t.id)),x=a[a.length-1],k=a[0],$=()=>{t.style.setProperty("pointer-events","auto"),e.style.setProperty("pointer-events","auto"),t.classList.remove("ion-disable-focus-trap")},E=()=>{t.style.setProperty("pointer-events","none"),e.style.setProperty("pointer-events","none"),t.classList.add("ion-disable-focus-trap")};if(y&&w){y.keyframes([...h.WRAPPER_KEYFRAMES]),w.keyframes([...h.BACKDROP_KEYFRAMES]),r.progressStart(!0,1-m);const t=m>i;t?$():E()}p&&m!==x&&(p.scrollY=!1);const S=t=>{const e=t.event.target.closest("ion-content");return m=s(),1!==m||!e},_=()=>{b=void 0!==t.canDismiss&&!0!==t.canDismiss&&0===k,p&&(p.scrollY=!1),(0,M.r)((()=>{t.focus()})),r.progressStart(!0,1-m)},C=t=>{const e=1-m,n=a.length>1?1-a[1]:void 0,o=e+t.deltaY/f,i=void 0!==n&&o>=n&&b,s=i?v:.9999,l=i&&void 0!==n?n+vl((o-n)/(s-n)):o;g=(0,M.j)(1e-4,l,s),r.progressStep(g)},A=t=>{const e=t.velocityY,n=(t.deltaY+100*e)/f,o=m-n,i=a.reduce(((t,e)=>Math.abs(e-o){const{breakpoint:n,canDismiss:o,breakpointOffset:s}=e,d=o&&0===n,u=d?m:n,f=0!==u;m=0,y&&w&&(y.keyframes([{offset:0,transform:`translateY(${100*s}%)`},{offset:1,transform:`translateY(${100*(1-u)}%)`}]),w.keyframes([{offset:0,opacity:`calc(var(--backdrop-opacity) * ${fl(1-s,i)})`},{offset:1,opacity:`calc(var(--backdrop-opacity) * ${fl(u,i)})`}]),r.progressStep(0)),I.enable(!1),r.onFinish((()=>{f&&(y&&w?(0,M.r)((()=>{y.keyframes([...h.WRAPPER_KEYFRAMES]),w.keyframes([...h.BACKDROP_KEYFRAMES]),r.progressStart(!0,1-u),m=u,c(m),p&&m===a[a.length-1]&&(p.scrollY=!0);const t=m>i;t?$():E(),I.enable(!0)})):I.enable(!0))}),{oneTimeCallback:!0}).progressEnd(1,0,500),d?bl(t,r):f||l()},I=(0,As.createGesture)({el:n,gestureName:"modalSheet",gesturePriority:40,direction:"y",threshold:10,canStart:S,onStart:_,onMove:C,onEnd:A});return{gesture:I,moveSheetToBreakpoint:T}},Ol=":host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;margin-left:auto;margin-right:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);background:var(--ion-color-step-350, #c0c0be);z-index:11}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.modal-handle{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.4)}:host(.modal-card),:host(.modal-sheet){--border-radius:10px}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:10px}}.modal-wrapper{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}@media screen and (max-width: 767px){@supports (width: 1px){:host(.modal-card){--height:calc(100% - max(30px, var(--ion-safe-area-top)) - 10px)}}@supports not (width: 1px){:host(.modal-card){--height:calc(100% - 40px)}}:host(.modal-card) .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.modal-card) .modal-wrapper,:host-context([dir=rtl]).modal-card .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}:host(.modal-card){--backdrop-opacity:0;--width:100%;-ms-flex-align:end;align-items:flex-end}:host(.modal-card) .modal-shadow{display:none}:host(.modal-card) ion-backdrop{pointer-events:none}}@media screen and (min-width: 768px){:host(.modal-card){--width:calc(100% - 120px);--height:calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));--max-width:720px;--max-height:1000px;--backdrop-opacity:0;--box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1);-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}:host(.modal-card) .modal-wrapper{-webkit-box-shadow:none;box-shadow:none}:host(.modal-card) .modal-shadow{-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}}:host(.modal-sheet) .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}:host-context([dir=rtl]):host(.modal-sheet) .modal-wrapper,:host-context([dir=rtl]).modal-sheet .modal-wrapper{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-bottom-right-radius:0;border-bottom-left-radius:0}",Dl=":host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;margin-left:auto;margin-right:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);background:var(--ion-color-step-350, #c0c0be);z-index:11}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.modal-handle{margin-left:unset;margin-right:unset;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:2px;--box-shadow:0 28px 48px rgba(0, 0, 0, 0.4)}}.modal-wrapper{-webkit-transform:translate3d(0, 40px, 0);transform:translate3d(0, 40px, 0);opacity:0.01}",Nl=(0,r.GH)(class extends r.mv{constructor(){super(),this.__registerHost(),this.__attachShadow(),this.didPresent=(0,r.yM)(this,"ionModalDidPresent",7),this.willPresent=(0,r.yM)(this,"ionModalWillPresent",7),this.willDismiss=(0,r.yM)(this,"ionModalWillDismiss",7),this.didDismiss=(0,r.yM)(this,"ionModalDidDismiss",7),this.ionBreakpointDidChange=(0,r.yM)(this,"ionBreakpointDidChange",7),this.didPresentShorthand=(0,r.yM)(this,"didPresent",7),this.willPresentShorthand=(0,r.yM)(this,"willPresent",7),this.willDismissShorthand=(0,r.yM)(this,"willDismiss",7),this.didDismissShorthand=(0,r.yM)(this,"didDismiss",7),this.modalIndex=zl++,this.coreDelegate=ds(),this.isSheetModal=!1,this.inline=!1,this.gestureAnimationDismissing=!1,this.presented=!1,this.hasController=!1,this.keyboardClose=!0,this.backdropBreakpoint=0,this.backdropDismiss=!0,this.showBackdrop=!0,this.animated=!0,this.swipeToClose=!1,this.isOpen=!1,this.configureTriggerInteraction=()=>{const{trigger:t,el:e,destroyTriggerInteraction:n}=this;n&&n();const o=void 0!==t?document.getElementById(t):null;if(!o)return;const i=(t,e)=>{const n=()=>{e.present()};return t.addEventListener("click",n),()=>{t.removeEventListener("click",n)}};this.destroyTriggerInteraction=i(o,e)},this.onBackdropTap=()=>{this.dismiss(void 0,yi)},this.onLifecycle=t=>{const e=this.usersElement,n=Pl[t.type];if(e&&n){const o=new CustomEvent(n,{bubbles:!1,cancelable:!1,detail:t.detail});e.dispatchEvent(o)}}}onIsOpenChange(t,e){!0===t&&!1===e?this.present():!1===t&&!0===e&&this.dismiss()}onTriggerChange(){this.configureTriggerInteraction()}async swipeToCloseChanged(t){this.gesture?this.gesture.enable(t):t&&await this.initSwipeToClose()}breakpointsChanged(t){void 0!==t&&(this.sortedBreakpoints=t.sort(((t,e)=>t-e)))}connectedCallback(){Ko(this.el)}componentWillLoad(){const{breakpoints:t,initialBreakpoint:e,swipeToClose:n}=this;this.modalId=this.el.hasAttribute("id")?this.el.getAttribute("id"):`ion-modal-${this.modalIndex}`;const o=this.isSheetModal=void 0!==t&&void 0!==e;o&&(this.currentBreakpoint=this.initialBreakpoint),void 0===t||void 0===e||t.includes(e)||(0,qe.p)("Your breakpoints array must include the initialBreakpoint value."),n&&(0,qe.p)("swipeToClose has been deprecated in favor of canDismiss.\n\nIf you want a card modal to be swipeable, set canDismiss to `true`. In the next major release of Ionic, swipeToClose will be removed, and all card modals will be swipeable by default.")}componentDidLoad(){!0===this.isOpen&&(0,M.r)((()=>this.present())),this.breakpointsChanged(this.breakpoints),this.configureTriggerInteraction()}getDelegate(t=!1){if(this.workingDelegate&&!t)return{delegate:this.workingDelegate,inline:this.inline};const e=this.el.parentNode,n=this.inline=null!==e&&!this.hasController,o=this.workingDelegate=n?this.delegate||this.coreDelegate:this.delegate;return{inline:n,delegate:o}}async checkCanDismiss(){const{canDismiss:t}=this;return void 0===t||("function"===typeof t?t():t)}async present(){if(this.presented)return;void 0!==this.currentTransition&&await this.currentTransition,this.currentBreakpoint=this.initialBreakpoint;const t=Object.assign(Object.assign({},this.componentProps),{modal:this.el}),{inline:e,delegate:n}=this.getDelegate(!0);this.usersElement=await ls(n,this.el,this.component,["ion-page"],t,e),await(0,wi.e)(this.usersElement),(0,r.Iu)((()=>this.el.classList.add("show-modal"))),this.currentTransition=ci(this,"modalEnter",Sl,Tl,{presentingEl:this.presentingElement,currentBreakpoint:this.initialBreakpoint,backdropBreakpoint:this.backdropBreakpoint});const o=this.swipeToClose||void 0!==this.canDismiss&&void 0!==this.presentingElement;o&&"ios"===z(this)&&ml(),await this.currentTransition,this.isSheetModal?this.initSheetGesture():o&&await this.initSwipeToClose(),"undefined"!==typeof window&&(this.keyboardOpenCallback=()=>{this.gesture&&(this.gesture.enable(!1),(0,M.r)((()=>{this.gesture&&this.gesture.enable(!0)})))},window.addEventListener(dl.KEYBOARD_DID_OPEN,this.keyboardOpenCallback)),this.currentTransition=void 0}initSwipeToClose(){if("ios"!==z(this))return;const{el:t}=this,e=this.leaveAnimation||s.get("modalLeave",Cl),n=this.animation=e(t,{presentingEl:this.presentingElement}),o=(0,Bt.f)(t);o?(this.gesture=wl(t,n,(()=>{this.gestureAnimationDismissing=!0,this.animation.onFinish((async()=>{await this.dismiss(void 0,"gesture"),this.gestureAnimationDismissing=!1}))})),this.gesture.enable(!0)):(0,Bt.p)(t)}initSheetGesture(){const{wrapperEl:t,initialBreakpoint:e,backdropBreakpoint:n}=this;if(!t||void 0===e)return;const o=this.enterAnimation||s.get("modalEnter",Sl),i=this.animation=o(this.el,{presentingEl:this.presentingElement,currentBreakpoint:e,backdropBreakpoint:n});i.progressStart(!0,1);const{gesture:r,moveSheetToBreakpoint:a}=Rl(this.el,this.backdropEl,t,e,n,i,this.sortedBreakpoints,(()=>{var t;return null!==(t=this.currentBreakpoint)&&void 0!==t?t:0}),(()=>this.sheetOnDismiss()),(t=>{this.currentBreakpoint!==t&&(this.currentBreakpoint=t,this.ionBreakpointDidChange.emit({breakpoint:t}))}));this.gesture=r,this.moveSheetToBreakpoint=a,this.gesture.enable(!0)}sheetOnDismiss(){this.gestureAnimationDismissing=!0,this.animation.onFinish((async()=>{this.currentBreakpoint=0,this.ionBreakpointDidChange.emit({breakpoint:this.currentBreakpoint}),await this.dismiss(void 0,"gesture"),this.gestureAnimationDismissing=!1}))}async dismiss(t,e){if(this.gestureAnimationDismissing&&"gesture"!==e)return!1;if("handler"!==e&&!await this.checkCanDismiss())return!1;const n=this.swipeToClose||void 0!==this.canDismiss&&void 0!==this.presentingElement;n&&"ios"===z(this)&&gl(),"undefined"!==typeof window&&this.keyboardOpenCallback&&window.removeEventListener(dl.KEYBOARD_DID_OPEN,this.keyboardOpenCallback),void 0!==this.currentTransition&&await this.currentTransition;const o=Vo.get(this)||[];this.currentTransition=ui(this,t,e,"modalLeave",Cl,Ll,{presentingEl:this.presentingElement,currentBreakpoint:this.currentBreakpoint||this.initialBreakpoint,backdropBreakpoint:this.backdropBreakpoint});const i=await this.currentTransition;if(i){const{delegate:t}=this.getDelegate();await cs(t,this.usersElement),(0,r.Iu)((()=>this.el.classList.remove("show-modal"))),this.animation&&this.animation.destroy(),this.gesture&&this.gesture.destroy(),o.forEach((t=>t.destroy()))}return this.currentBreakpoint=void 0,this.currentTransition=void 0,this.animation=void 0,i}onDidDismiss(){return fi(this.el,"ionModalDidDismiss")}onWillDismiss(){return fi(this.el,"ionModalWillDismiss")}async setCurrentBreakpoint(t){if(!this.isSheetModal)return void(0,qe.p)("setCurrentBreakpoint is only supported on sheet modals.");if(!this.breakpoints.includes(t))return void(0,qe.p)(`Attempted to set invalid breakpoint value ${t}. Please double check that the breakpoint value is part of your defined breakpoints.`);const{currentBreakpoint:e,moveSheetToBreakpoint:n,canDismiss:o,breakpoints:i}=this;e!==t&&n&&n({breakpoint:t,breakpointOffset:1-e,canDismiss:void 0!==o&&!0!==o&&0===i[0]})}async getCurrentBreakpoint(){return this.currentBreakpoint}render(){const{handle:t,isSheetModal:e,presentingElement:n,htmlAttributes:o}=this,i=!1!==t&&e,a=z(this),{modalId:s}=this,l=void 0!==n&&"ios"===a;return(0,r.h)(r.AA,Object.assign({"no-router":!0,"aria-modal":"true",tabindex:"-1"},o,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign({[a]:!0,["modal-default"]:!l&&!e,["modal-card"]:l,["modal-sheet"]:e,"overlay-hidden":!0},W(this.cssClass)),id:s,onIonBackdropTap:this.onBackdropTap,onIonModalDidPresent:this.onLifecycle,onIonModalWillPresent:this.onLifecycle,onIonModalWillDismiss:this.onLifecycle,onIonModalDidDismiss:this.onLifecycle}),(0,r.h)("ion-backdrop",{ref:t=>this.backdropEl=t,visible:this.showBackdrop,tappable:this.backdropDismiss,part:"backdrop"}),"ios"===a&&(0,r.h)("div",{class:"modal-shadow"}),(0,r.h)("div",{role:"dialog",class:"modal-wrapper ion-overlay-wrapper",part:"content",ref:t=>this.wrapperEl=t},i&&(0,r.h)("div",{class:"modal-handle",part:"handle"}),(0,r.h)("slot",null)))}get el(){return this}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["onTriggerChange"],swipeToClose:["swipeToCloseChanged"]}}static get style(){return{ios:Ol,md:Dl}}},[33,"ion-modal",{hasController:[4,"has-controller"],overlayIndex:[2,"overlay-index"],delegate:[16],keyboardClose:[4,"keyboard-close"],enterAnimation:[16],leaveAnimation:[16],breakpoints:[16],initialBreakpoint:[2,"initial-breakpoint"],backdropBreakpoint:[2,"backdrop-breakpoint"],handle:[4],component:[1],componentProps:[16],cssClass:[1,"css-class"],backdropDismiss:[4,"backdrop-dismiss"],showBackdrop:[4,"show-backdrop"],animated:[4],swipeToClose:[4,"swipe-to-close"],presentingElement:[16],htmlAttributes:[16],isOpen:[4,"is-open"],trigger:[1],canDismiss:[4,"can-dismiss"],presented:[32],present:[64],dismiss:[64],onDidDismiss:[64],onWillDismiss:[64],setCurrentBreakpoint:[64],getCurrentBreakpoint:[64]}]),Pl={ionModalDidPresent:"ionViewDidEnter",ionModalWillPresent:"ionViewWillEnter",ionModalWillDismiss:"ionViewWillLeave",ionModalDidDismiss:"ionViewDidLeave"};let zl=0;function jl(){if("undefined"===typeof customElements)return;const t=["ion-modal","ion-backdrop"];t.forEach((t=>{switch(t){case"ion-modal":customElements.get(t)||customElements.define(t,Nl);break;case"ion-backdrop":customElements.get(t)||Ds();break}}))}const Ml=jl,Bl="update:modelValue",Fl="modelValue",Hl="routerLink",Wl="navManager",Ul="router",ql=Symbol(),Vl={default:ql},Yl=t=>(null===t||void 0===t?void 0:t.split(" "))||[],Gl=(t,e,n=[])=>{var o;return[...Array.from((null===(o=t.value)||void 0===o?void 0:o.classList)||[]),...n].filter(((t,n,o)=>!e.has(t)&&o.indexOf(t)===n))},Xl=(t,e,n=[],r,a,s)=>{void 0!==e&&e();const l=(0,o.aZ)(((e,{attrs:n,slots:l,emit:c})=>{var d;let u=e[r];const h=(0,i.iH)(),p=new Set(Yl(n.class)),f=t=>{if(t.el){const e=Array.isArray(a)?a:[a];e.forEach((e=>{t.el.addEventListener(e.toLowerCase(),(t=>{u=(null===t||void 0===t?void 0:t.target)[r],c(Bl,u),s&&c(s,t)}))}))}},m=(0,o.FN)(),g=null===(d=null===m||void 0===m?void 0:m.appContext)||void 0===d?void 0:d.provides[Wl],b=g?(0,o.f3)(Wl):void 0,v=t=>{const{routerLink:n}=e;if(n!==ql)if(void 0!==b){let n={event:t};for(const t in e){const o=e[t];e.hasOwnProperty(t)&&t.startsWith(Ul)&&o!==ql&&(n[t]=o)}b.navigate(n)}else console.warn("Tried to navigate, but no router was found. Make sure you have mounted Vue Router.")};return()=>{u=e[r],Yl(n.class).forEach((t=>{p.add(t)}));const i=e.onClick,s=t=>{void 0!==i&&i(t),t.defaultPrevented||v(t)};let c={ref:h,class:Gl(h,p),onClick:s,onVnodeBeforeMount:a?f:void 0};for(const t in e){const n=e[t];e.hasOwnProperty(t)&&n!==ql&&(c[t]=n)}return r&&(e[Fl]!==ql?c=Object.assign(Object.assign({},c),{[r]:e[Fl]}):u!==ql&&(c=Object.assign(Object.assign({},c),{[r]:u}))),(0,o.h)(t,c,l.default&&l.default())}}));return l.displayName=t,l.props={[Hl]:Vl},n.forEach((t=>{l.props[t]=Vl})),r&&(l.props[Fl]=Vl,l.emits=[Bl,s]),l},Jl=Xl("ion-button",nt,["color","buttonType","disabled","expand","fill","routerDirection","routerAnimation","download","href","rel","shape","size","strong","target","type","ionFocus","ionBlur"]),Kl=Xl("ion-buttons",st,["collapse"]),Zl=Xl("ion-card",ht,["color","button","type","disabled","download","href","rel","routerDirection","routerAnimation","target"]),Ql=Xl("ion-card-header",bt,["color","translucent"]),tc=Xl("ion-card-title",kt,["color"]),ec=Xl("ion-col",Lt,["offset","offsetXs","offsetSm","offsetMd","offsetLg","offsetXl","pull","pullXs","pullSm","pullMd","pullLg","pullXl","push","pushXs","pushSm","pushMd","pushLg","pushXl","size","sizeXs","sizeSm","sizeMd","sizeLg","sizeXl"]),nc=Xl("ion-content",Mt,["color","fullscreen","forceOverscroll","scrollX","scrollY","scrollEvents","ionScrollStart","ionScroll","ionScrollEnd"]),oc=Xl("ion-header",ee,["collapse","translucent"]),ic=Xl("ion-img",ae,["alt","src","ionImgWillLoad","ionImgDidLoad","ionError"]),rc=Xl("ion-infinite-scroll",de,["threshold","disabled","position","ionInfinite"]),ac=Xl("ion-infinite-scroll-content",Te,["loadingSpinner","loadingText"]),sc=Xl("ion-input",Ne,["fireFocusEvents","color","accept","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearOnEdit","debounce","disabled","enterkeyhint","inputmode","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","spellcheck","step","size","type","value","ionInput","ionChange","ionBlur","ionFocus","ionStyle"],"value","v-ion-change","ionChange"),lc=Xl("ion-item",xn,["color","button","detail","detailIcon","disabled","download","fill","shape","href","rel","lines","counter","routerAnimation","routerDirection","target","type","counterFormatter"]),cc=Xl("ion-label",_n,["color","position","ionColor","ionStyle"]),dc=Xl("ion-list",Ln,["lines","inset"]),uc=Xl("ion-list-header",Pn,["color","lines"]),hc=Xl("ion-radio",Hn,["color","name","disabled","value","ionStyle","ionFocus","ionBlur"],"value","v-ion-change","ionChange"),pc=Xl("ion-refresher",go,["pullMin","pullMax","closeDuration","snapbackDuration","pullFactor","disabled","ionRefresh","ionPull","ionStart"]),fc=Xl("ion-refresher-content",yo,["pullingIcon","pullingText","refreshingSpinner","refreshingText"]),mc=Xl("ion-row",$o),gc=Xl("ion-searchbar",Ao,["color","animated","autocomplete","autocorrect","cancelButtonIcon","cancelButtonText","clearIcon","debounce","disabled","inputmode","enterkeyhint","placeholder","searchIcon","showCancelButton","showClearButton","spellcheck","type","value","ionInput","ionChange","ionCancel","ionClear","ionBlur","ionFocus","ionStyle"],"value","v-ion-change","ionChange"),bc=Xl("ion-spinner",To,["color","duration","name","paused"]),vc=Xl("ion-thumbnail",Oo),yc=Xl("ion-title",jo,["color","size","ionStyle"]),wc=Xl("ion-toolbar",Wo,["color"]);var xc;(function(t){t["WillEnter"]="onIonViewWillEnter",t["DidEnter"]="onIonViewDidEnter",t["WillLeave"]="onIonViewWillLeave",t["DidLeave"]="onIonViewDidLeave"})(xc||(xc={}));const kc={[wi.L]:xc.WillEnter,[wi.a]:xc.DidEnter,[wi.b]:xc.WillLeave,[wi.c]:xc.DidLeave},$c={main:0},Ec=(t="main")=>{var e;const n=(null!==(e=$c[t])&&void 0!==e?e:0)+1;return $c[t]=n,n.toString()},Sc=(t,e,n)=>{(null===t||void 0===t?void 0:t[n])&&t[n].bind(null===e||void 0===e?void 0:e.value)();const o=null===e||void 0===e?void 0:e.value;if((null===o||void 0===o?void 0:o[n])&&o[n](),o){const t=kc[n],e=o[t];e&&e.forEach((t=>t()))}},_c=()=>{if("undefined"!==typeof window){const t=window.Ionic;if(t&&t.config)return t.config}return null},Cc=(t,e)=>{"undefined"!==typeof customElements&&(customElements.get(t)||customElements.define(t,e))},Ac=(t,e,n)=>{if(n){const o=n,i=o.proxy[t]||(o.proxy[t]=[]);o.exposed&&(o.exposed[t]=i);const r=(...t)=>{if(!o.isUnmounted)return t?e(...t):e()};return i.push(r),r}console.warn("[@ionic/vue]: Ionic Lifecycle Hooks can only be used during execution of setup().")},Tc=t=>(e,n=(0,o.FN)())=>Ac(t,e,n),Ic=(Tc(xc.WillEnter),Tc(xc.DidEnter),Tc(xc.WillLeave),Tc(xc.DidLeave),t=>"ionChange"===t?"v-ion-change":t.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase()),Lc=()=>({ael:(t,e,n,o)=>t.addEventListener(Ic(e),n,o),rel:(t,e,n,o)=>t.removeEventListener(Ic(e),n,o),ce:(t,e)=>new CustomEvent(Ic(t),e)}),Rc={async install(t,e={}){"undefined"!==typeof document&&document.documentElement.classList.add("ion-ce");const{ael:n,rel:o,ce:i}=Lc();j(Object.assign(Object.assign({},e),{_ael:n,_rel:o,_ce:i}))}},Oc=(0,o.aZ)(((t,{attrs:e,slots:n})=>{Cc("ion-back-button",Ei),Cc("ion-icon",ss);const i=(0,o.f3)("navManager"),r=()=>{const t=e["default-href"]||e["defaultHref"],n=e["router-animation"]||e["routerAnimation"];i.handleNavigateBack(t,n)};return()=>(0,o.h)("ion-back-button",Object.assign({onClick:r},e),n.default&&n.default())})),Dc=(0,o.aZ)({name:"IonPage",props:{registerIonPage:{type:Function,default:()=>{}}},mounted(){this.$props.registerIonPage(this.$refs.ionPage)},setup(t,{attrs:e,slots:n}){return()=>(0,o.h)("div",Object.assign(Object.assign({},e),{["class"]:"ion-page",ref:"ionPage"}),n.default&&n.default())}}),Nc=t=>!t.classList.contains("ion-page-hidden")&&!t.classList.contains("ion-page-invisible");let Pc=Symbol(0);const zc=(0,o.aZ)({name:"IonRouterOutlet",setup(){Cc("ion-router-outlet",ps);const t=(0,o.f3)(fs.ZD),e=(0,fs.yj)(),n=(0,o.f3)(Pc,0),r=(0,o.Fl)((()=>e.matched[n]));let a,s;(0,o.JJ)(Pc,n+1),(0,o.JJ)(fs.XS,r);const l=(0,i.iH)(),c=Ec("ion-router-outlet"),d=(0,o.f3)("navManager"),u=(0,o.f3)("viewStacks"),h=(0,i.XI)([]);let p,f=!1;(0,o.YP)((()=>[e,r.value]),(([t,e])=>{if(void 0===e)return;const n=e!==a,o=t.matched[t.matched.length-1]===e&&t.path!==s;(n||o)&&(w(r),a=e,s=t.path)}));const m=()=>{const t=_c(),e=t&&t.get("swipeBackEnabled","ios"===l.value.mode);if(!e)return!1;const n=u.getViewStack(c);if(!n||n.length<=1)return!1;const o=d.getLeavingRouteInfo(),i=u.findViewItemByRouteInfo({pathname:o.pushedByRoute||""},c);return!!i},g=async()=>{const t=d.getLeavingRouteInfo(),{routerAnimation:e}=t,n=u.findViewItemByRouteInfo({pathname:t.pushedByRoute||""},c),o=u.findViewItemByRouteInfo(t,c);if(o){let t=e;const i=n.ionPageElement,r=o.ionPageElement,a=n.routerAnimation;void 0===t&&void 0!==a&&(t=a),o.routerAnimation=t,await v(i,r,"back",d.canGoBack(2),!0,t)}return Promise.resolve()},b=t=>{if(t)f=!0,d.handleNavigateBack();else{const t=d.getCurrentRouteInfo(),e=u.findViewItemByRouteInfo({pathname:t.pushedByRoute||""},c);e.ionPageElement.setAttribute("aria-hidden","true"),e.ionPageElement.classList.add("ion-page-hidden")}};(0,o.YP)(l,(()=>{l.value.swipeHandler={canStart:m,onStart:g,onEnd:b}}));const v=(t,e,n,o,i,r)=>new Promise((a=>f?(f=!1,a(!1)):t===e?a(!1):void requestAnimationFrame((()=>{requestAnimationFrame((async()=>{t.classList.add("ion-page-invisible");const s=await l.value.commit(t,e,{deepWait:!0,duration:void 0===n||"root"===n||"none"===n?0:void 0,direction:n,showGoBack:o,progressAnimation:i,animationBuilder:r});return a(s)}))})))),y=async()=>{const t=d.getCurrentRouteInfo(),{routerDirection:e,routerAction:n,routerAnimation:o,prevRouteLastPathname:i,delta:r}=t,a=u.findViewItemByRouteInfo(t,c);let s=u.findLeavingViewItemByRouteInfo(t,c);const l=a.ionPageElement;if(void 0===l&&console.warn(`[@ionic/vue Warning]: The view you are trying to render for path ${t.pathname} does not have the required component. Transitions and lifecycle methods may not work as expected.\n\nSee https://ionicframework.com/docs/vue/navigation#ionpage for more information.`),a!==s&&(!s&&i&&(s=u.findViewItemByPathname(i,c)),!Nc(l)||void 0===s||Nc(s.ionPageElement))){if(Sc(a.vueComponent,a.vueComponentRef,wi.L),s&&a!==s){let i=o;const d=s.ionPageElement;Sc(s.vueComponent,s.vueComponentRef,wi.b);const h=a.routerAnimation;void 0===i&&"back"===e&&void 0!==h&&(i=h),s.routerAnimation=i,await v(l,d,e,!!t.pushedByRoute,!1,i),d.classList.add("ion-page-hidden"),d.setAttribute("aria-hidden","true");const p=1===u.size();if("replace"===n)s.mount=!1,s.ionPageElement=void 0,s.ionRoute=!1;else if("push"!==n||"forward"!==e){const t="none"!==e&&s&&a!==s;t&&(s.mount=!1,s.ionPageElement=void 0,s.ionRoute=!1,p&&u.unmountLeavingViews(c,a,r))}else p&&u.mountIntermediaryViews(c,s,r);Sc(s.vueComponent,s.vueComponentRef,wi.c)}else requestAnimationFrame((()=>l.classList.remove("ion-page-invisible")));Sc(a.vueComponent,a.vueComponentRef,wi.a),h.value=u.getChildrenToRender(c)}},w=t=>{const n=e.matched[0];if(p||(p=n.path),!t.value||t.value!==n&&n.path!==p)return;const o=d.getCurrentRouteInfo();let i=u.findViewItemByRouteInfo(o,c);i||(i=u.createViewItem(c,t.value.components.default,t.value,o),u.add(i)),i.mount?y():(i.mount=!0,i.registerCallback=()=>{y(),i.registerCallback=void 0}),h.value=u.getChildrenToRender(c)};r.value&&w(r),(0,o.Ah)((()=>u.clear(c)));const x=(t,e)=>{const n=t.ionPageElement;u.registerIonPage(t,e),t.registerCallback?(e.classList.add("ion-page-invisible"),t.registerCallback()):n&&!n.classList.contains("ion-page-invisible")&&e.classList.remove("ion-page-invisible")};return{id:c,components:h,injectedRoute:t,ionRouterOutlet:l,registerIonPage:x}},render(){const{components:t,registerIonPage:e,injectedRoute:n}=this;return(0,o.h)("ion-router-outlet",{ref:"ionRouterOutlet"},t&&t.map((t=>{var i,r;let a={ref:t.vueComponentRef,key:t.pathname,registerIonPage:n=>e(t,n)};const s=null===(r=null===(i=t.matchedRoute)||void 0===i?void 0:i.props)||void 0===r?void 0:r.default,l=()=>{var e;const o=null===(e=t.vueComponentData)||void 0===e?void 0:e.propsFunctionResult;if(o)return o;{const e=s(n);return t.vueComponentData=Object.assign(Object.assign({},t.vueComponentData),{propsFunctionResult:e}),e}},c=s?!0===s?t.params:"function"===typeof s?l():s:null;return a=Object.assign(Object.assign({},a),c),(0,o.h)(t.vueComponent,a)})))}}),jc=(Boolean,Boolean,t=>{var e;return"IonTabButton"===(null===(e=t.type)||void 0===e?void 0:e.name)}),Mc=t=>{let e=[];return t.forEach((t=>{if(jc(t))e.push(t);else if(Array.isArray(t.children)&&t.children.length>1){const n=Mc(t.children);e=[...e,...n]}})),e},Bc=((0,o.aZ)({name:"IonTabBar",props:{_tabsWillChange:{type:Function,default:()=>{}},_tabsDidChange:{type:Function,default:()=>{}}},data(){return{tabState:{activeTab:void 0,tabs:{}},tabVnodes:[]}},updated(){this.setupTabState((0,o.f3)("navManager"))},methods:{setupTabState(t){const e=this.$data.tabState,n=(0,o.FN)(),i=this.$data.tabVnodes=Mc(n.subTree.children||[]);i.forEach((t=>{e.tabs[t.props.tab]={originalHref:t.props.href,currentHref:t.props.href,ref:t},t.component.props._getTabState=()=>e})),this.checkActiveTab(t)},checkActiveTab(t){const e=t.getCurrentRouteInfo(),n=this.$data.tabVnodes,{tabs:o,activeTab:i}=this.$data.tabState,r=this.$data.tabState,a=Object.keys(o),s=a.find((t=>{const n=o[t].originalHref;return e.pathname.startsWith(n)}));if(n.forEach((t=>{const e=o[t.props.tab];e&&e.originalHref===t.props.href||(o[t.props.tab]={originalHref:t.props.href,currentHref:t.props.href,ref:t})})),s&&i){const t=this.$data.tabState.tabs[i].currentHref;if(s!==i||t!==e.pathname){const t=e.search?`?${e.search}`:"";o[s]=Object.assign(Object.assign({},o[s]),{currentHref:e.pathname+t})}"pop"===e.routerAction&&s!==i&&(o[i]=Object.assign(Object.assign({},o[i]),{currentHref:o[i].originalHref}))}const l=n.find((t=>{var e;return jc(t)&&(null===(e=t.props)||void 0===e?void 0:e.tab)===s})),c=this.$refs.ionTabBar,d=s!==i;c&&(l?(d&&this.$props._tabsWillChange(s),t.handleSetCurrentTab(s),c.selectedTab=r.activeTab=s,d&&this.$props._tabsDidChange(s)):c.selectedTab=r.activeTab="")}},mounted(){const t=(0,o.f3)("navManager");this.setupTabState(t),t.registerHistoryChangeListener((()=>this.checkActiveTab(t)))},setup(t,{slots:e}){return Cc("ion-tab-bar",ks),()=>(0,o.h)("ion-tab-bar",{ref:"ionTabBar"},e.default&&e.default())}}),(0,i.XI)([])),Fc=(0,o.aZ)(((t,{attrs:e,slots:n})=>(Cc("ion-app",Cs),()=>(0,o.h)("ion-app",Object.assign({},e),[n.default&&n.default(),...Bc.value])))),Hc=t=>{Bc.value=[...Bc.value,t]},Wc=t=>{Bc.value=Bc.value.filter((e=>e!==t))},Uc=(t=Hc,e=Wc)=>{let n;const i=(e,i,r={},a)=>{delete r["modal"],delete r["popover"];const s=document.createElement("div");return a&&s.classList.add(...a),e.appendChild(s),n=(0,o.h)(o.lR,{to:s},(0,o.h)(i,Object.assign({},r))),t(n),s},r=()=>(n&&e(n),Promise.resolve());return{attachViewToDom:i,removeViewFromDom:r}},qc=(0,o.aZ)({name:"IonIcon",props:{color:String,flipRtl:Boolean,icon:String,ios:String,lazy:String,md:String,mode:String,name:String,size:String,src:String},setup(t,{slots:e}){return Cc("ion-icon",ss),()=>{var n,i;const{icon:r,ios:a,md:s}=t;let l;return l=a||s?m("ios")?null!==(n=null!==a&&void 0!==a?a:s)&&void 0!==n?n:r:null!==(i=null!==s&&void 0!==s?s:a)&&void 0!==i?i:r:r,(0,o.h)("ion-icon",Object.assign(Object.assign({},t),{icon:l}),e)}}}),Vc=Symbol(),Yc={default:Vc},Gc=(t,e,n=[],r)=>{const a=()=>(0,o.aZ)(((n,{slots:a,emit:s})=>{const l=[{componentEv:`${t}-will-present`,frameworkEv:"willPresent"},{componentEv:`${t}-did-present`,frameworkEv:"didPresent"},{componentEv:`${t}-will-dismiss`,frameworkEv:"willDismiss"},{componentEv:`${t}-did-dismiss`,frameworkEv:"didDismiss"}];void 0!==e&&e();const c=(0,i.iH)(),d=async()=>{const t=n.isOpen;t&&await f(n)},u=async(t,e)=>{const o=t.props.isOpen,i=e.props.isOpen;o!==i&&(o?await f(n):await p())},h=async()=>{await p()},p=async()=>{c.value&&(await c.value,c.value=c.value.dismiss(),await c.value,c.value=void 0)},f=async t=>{var e;if(c.value&&await c.value,null===(e=c.value)||void 0===e?void 0:e.present)return void await c.value.present();let n={};for(const i in t){const e=t[i];t.hasOwnProperty(i)&&e!==Vc&&(n[i]=e)}delete n.onWillPresent,delete n.onDidPresent,delete n.onWillDismiss,delete n.onDidDismiss;const o=a.default&&a.default()[0];c.value=r.create(Object.assign(Object.assign({},n),{component:o})),c.value=await c.value,l.forEach((t=>{c.value.addEventListener(t.componentEv,(()=>{s(t.frameworkEv)}))})),await c.value.present()};return()=>(0,o.h)("div",{style:{display:"none"},onVnodeMounted:d,onVnodeUpdated:u,onVnodeBeforeUnmount:h,isOpen:!0===n.isOpen})})),s=()=>(0,o.aZ)(((n,{slots:r})=>{void 0!==e&&e();const a=(0,i.iH)(!1),s=(0,i.iH)();return(0,o.bv)((()=>{s.value.addEventListener("will-present",(()=>a.value=!0)),s.value.addEventListener("did-dismiss",(()=>a.value=!1))})),()=>{let e={};for(const t in n){const o=n[t];n.hasOwnProperty(t)&&o!==Vc&&(e[t]=o)}return(0,o.h)(t,Object.assign(Object.assign({},e),{ref:s}),a.value?r:void 0)}})),l=void 0!==r?a():s();return l.displayName=t,l.props={isOpen:Yc},n.forEach((t=>{l.props[t]=Yc})),void 0!==r&&(l.emits=["willPresent","didPresent","willDismiss","didDismiss"]),l},Xc=Gc("ion-loading",Qs,["animated","backdropDismiss","cssClass","duration","enterAnimation","htmlAttributes","keyboardClose","leaveAnimation","message","mode","showBackdrop","spinner","translucent"],Xo),Jc=Gc("ion-toast",cl,["animated","buttons","color","cssClass","duration","enterAnimation","header","htmlAttributes","icon","keyboardClose","leaveAnimation","message","mode","position","translucent"],Jo),Kc=Gc("ion-modal",Ml,["animated","backdropBreakpoint","backdropDismiss","breakpoints","canDismiss","enterAnimation","handle","htmlAttributes","initialBreakpoint","isOpen","keyboardClose","leaveAnimation","mode","presentingElement","showBackdrop","swipeToClose","trigger"]),Zc=(t,e,n=!1)=>{const o=n?Uc():void 0,i=e.create.bind(e);return e.create=e=>(t(),i(Object.assign(Object.assign({},e),{delegate:o}))),e},Qc=Zc(Us,Go)},65:function(t,e,n){"use strict";n.d(e,{Z5:function(){return Ce},_y:function(){return _},mv:function(){return y},AA:function(){return nt},yM:function(){return It},xE:function(){return jt},K3:function(){return ie},iJ:function(){return G},h:function(){return tt},GH:function(){return oe},wj:function(){return Se},PM:function(){return Y},TX:function(){return x},Iu:function(){return _e}});const o={allRenderFn:!1,cmpDidLoad:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpDidRender:!0,cmpWillLoad:!0,cmpWillUpdate:!0,cmpWillRender:!0,connectedCallback:!0,disconnectedCallback:!0,element:!0,event:!0,hasRenderFn:!0,lifecycle:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,safari10:!1,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,cssVarShim:!1,constructableCSS:!0,cmpShouldUpdate:!0,devTools:!1,dynamicImportShim:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!1,asyncQueue:!1,transformTagName:!1,attachStyles:!0},i="app";let r,a,s,l,c=0,d=!1,u=!1,h=!1,p=!1,f=null,m=0,g=!1;const b="undefined"!==typeof window?window:{},v=(o.cssVarShim&&b.CSS,b.document||{head:{}}),y=b.HTMLElement||class{},w={$flags$:0,$resourcesUrl$:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},x=t=>{Object.assign(w,t)},k=!o.shadowDomShim||!o.shadowDom||(()=>(v.head.attachShadow+"").indexOf("[native")>-1)(),$=(()=>{let t=!1;try{v.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch(e){}return t})(),E=t=>Promise.resolve(t),S=!!o.constructableCSS&&(()=>{try{return new CSSStyleSheet,"function"===typeof(new CSSStyleSheet).replace}catch(t){}return!1})(),_={},C=(t,e,n,i)=>{o.hostListener&&n&&(o.hostListenerTargetParent&&(n=i?n.filter((([t])=>32&t)):n.filter((([t])=>!(32&t)))),n.map((([n,i,r])=>{const a=o.hostListenerTarget?T(t,n):t,s=A(e,r),l=I(n);w.ael(a,i,s,l),(e.$rmListeners$=e.$rmListeners$||[]).push((()=>w.rel(a,i,s,l)))})))},A=(t,e)=>n=>{try{o.lazyLoad?256&t.$flags$?t.$lazyInstance$[e](n):(t.$queuedListeners$=t.$queuedListeners$||[]).push([e,n]):t.$hostElement$[e](n)}catch(i){ce(i)}},T=(t,e)=>o.hostListenerTargetDocument&&4&e?v:o.hostListenerTargetWindow&&8&e?b:o.hostListenerTargetBody&&16&e?v.body:o.hostListenerTargetParent&&32&e?t.parentElement:t,I=t=>$?{passive:0!==(1&t),capture:0!==(2&t)}:0!==(2&t),L="r",R="o",O="s",D="t",N="s-id",P="sty-id",z="c-id",j="http://www.w3.org/1999/xlink",M=(t,e="")=>{if(o.profile&&performance.mark){const n=`st:${t}:${e}:${c++}`;return performance.mark(n),()=>performance.measure(`[Stencil] ${t}() <${e}>`,n)}return()=>{}},B=(t,e)=>o.profile&&performance.mark?(0===performance.getEntriesByName(t).length&&performance.mark(t),()=>{0===performance.getEntriesByName(e).length&&performance.measure(e,t)}):()=>{},F=new WeakMap,H=(t,e,n)=>{let o=me.get(t);S&&n?(o=o||new CSSStyleSheet,o.replace(e)):o=e,me.set(t,o)},W=(t,e,n,i)=>{let r=q(e,n);const a=me.get(r);if(!o.attachStyles)return r;if(t=11===t.nodeType?t:v,a)if("string"===typeof a){t=t.head||t;let n,s=F.get(t);if(s||F.set(t,s=new Set),!s.has(r)){if(o.hydrateClientSide&&t.host&&(n=t.querySelector(`[${P}="${r}"]`)))n.innerHTML=a;else{if(o.cssVarShim&&w.$cssShim$){n=w.$cssShim$.createHostStyle(i,r,a,!!(10&e.$flags$));const t=n["s-sc"];t&&(r=t,s=null)}else n=v.createElement("style"),n.innerHTML=a;(o.hydrateServerSide||o.hotModuleReplacement)&&n.setAttribute(P,r),t.insertBefore(n,t.querySelector("link"))}s&&s.add(r)}}else o.constructableCSS&&!t.adoptedStyleSheets.includes(a)&&(t.adoptedStyleSheets=[...t.adoptedStyleSheets,a]);return r},U=t=>{const e=t.$cmpMeta$,n=t.$hostElement$,i=e.$flags$,r=M("attachStyles",e.$tagName$),a=W(o.shadowDom&&k&&n.shadowRoot?n.shadowRoot:n.getRootNode(),e,t.$modeName$,n);(o.shadowDom||o.scoped)&&o.cssAnnotations&&10&i&&(n["s-sc"]=a,n.classList.add(a+"-h"),o.scoped&&2&i&&n.classList.add(a+"-s")),r()},q=(t,e)=>"sc-"+(o.mode&&e&&32&t.$flags$?t.$tagName$+"-"+e:t.$tagName$),V=t=>ge.map((e=>e(t))).find((t=>!!t)),Y=t=>ge.push(t),G=t=>ae(t).$modeName$,X={},J="http://www.w3.org/2000/svg",K="http://www.w3.org/1999/xhtml",Z=t=>null!=t,Q=t=>(t=typeof t,"object"===t||"function"===t),tt=(t,e,...n)=>{let i=null,r=null,a=null,s=!1,l=!1;const c=[],d=e=>{for(let n=0;nt[e])).join(" "))}if(o.isDev&&c.some(ot)&&ue("The must be the single root component. Make sure:\n- You are NOT using hostData() and in the same component.\n- is used once, and it's the single root component of the render() function."),o.vdomFunctional&&"function"===typeof t)return t(null===e?{}:e,c,it);const u=et(t,null);return u.$attrs$=e,c.length>0&&(u.$children$=c),o.vdomKey&&(u.$key$=r),o.slotRelocation&&(u.$name$=a),u},et=(t,e)=>{const n={$flags$:0,$tag$:t,$text$:e,$elm$:null,$children$:null};return o.vdomAttribute&&(n.$attrs$=null),o.vdomKey&&(n.$key$=null),o.slotRelocation&&(n.$name$=null),n},nt={},ot=t=>t&&t.$tag$===nt,it={forEach:(t,e)=>t.map(rt).forEach(e),map:(t,e)=>t.map(rt).map(e).map(at)},rt=t=>({vattrs:t.$attrs$,vchildren:t.$children$,vkey:t.$key$,vname:t.$name$,vtag:t.$tag$,vtext:t.$text$}),at=t=>{if("function"===typeof t.vtag){const e=Object.assign({},t.vattrs);return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),tt(t.vtag,e,...t.vchildren||[])}const e=et(t.vtag,t.vtext);return e.$attrs$=t.vattrs,e.$children$=t.vchildren,e.$key$=t.vkey,e.$name$=t.vname,e},st=t=>{const e=Object.keys(t),n=e.indexOf("value");if(-1===n)return;const o=e.indexOf("type"),i=e.indexOf("min"),r=e.indexOf("max"),a=e.indexOf("step");(n should be set after "min", "max", "type" and "step"')},lt=(t,e,n,i,r,a)=>{if(n!==i){let l=le(t,e),c=e.toLowerCase();if(o.vdomClass&&"class"===e){const e=t.classList,o=dt(n),r=dt(i);e.remove(...o.filter((t=>t&&!r.includes(t)))),e.add(...r.filter((t=>t&&!o.includes(t))))}else if(o.vdomStyle&&"style"===e){if(o.updatable)for(const e in n)i&&null!=i[e]||(!o.hydrateServerSide&&e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in i)n&&i[e]===n[e]||(!o.hydrateServerSide&&e.includes("-")?t.style.setProperty(e,i[e]):t.style[e]=i[e])}else if(o.vdomKey&&"key"===e);else if(o.vdomRef&&"ref"===e)i&&i(t);else if(!o.vdomListener||(o.lazyLoad?l:t.__lookupSetter__(e))||"o"!==e[0]||"n"!==e[1]){if(o.vdomPropOrAttr){const d=Q(i);if((l||d&&null!==i)&&!r)try{if(t.tagName.includes("-"))t[e]=i;else{const o=null==i?"":i;"list"===e?l=!1:null!=n&&t[e]==o||(t[e]=o)}}catch(s){}let u=!1;o.vdomXlink&&c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,u=!0),null==i||!1===i?!1===i&&""!==t.getAttribute(e)||(o.vdomXlink&&u?t.removeAttributeNS(j,e):t.removeAttribute(e)):(!l||4&a||r)&&!d&&(i=!0===i?"":i,o.vdomXlink&&u?t.setAttributeNS(j,e,i):t.setAttribute(e,i))}}else e="-"===e[2]?e.slice(3):le(b,c)?c.slice(2):c[2]+e.slice(3),n&&w.rel(t,e,n,!1),i&&w.ael(t,e,i,!1)}},ct=/\s/,dt=t=>t?t.split(ct):[],ut=(t,e,n,i)=>{const r=11===e.$elm$.nodeType&&e.$elm$.host?e.$elm$.host:e.$elm$,a=t&&t.$attrs$||X,s=e.$attrs$||X;if(o.updatable)for(i in a)i in s||lt(r,i,a[i],void 0,n,e.$flags$);for(i in s)lt(r,i,a[i],s[i],n,e.$flags$)},ht=(t,e,n,i)=>{const l=e.$children$[n];let c,u,f,m=0;if(o.slotRelocation&&!d&&(h=!0,"slot"===l.$tag$&&(r&&i.classList.add(r+"-s"),l.$flags$|=l.$children$?2:1)),o.isDev&&l.$elm$&&ue(`The JSX ${null!==l.$text$?`"${l.$text$}" text`:`"${l.$tag$}" element`} node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes`),o.vdomText&&null!==l.$text$)c=l.$elm$=v.createTextNode(l.$text$);else if(o.slotRelocation&&1&l.$flags$)c=l.$elm$=o.isDebug||o.hydrateServerSide?Ct(l):v.createTextNode("");else{if(o.svg&&!p&&(p="svg"===l.$tag$),c=l.$elm$=o.svg?v.createElementNS(p?J:K,o.slotRelocation&&2&l.$flags$?"slot-fb":l.$tag$):v.createElement(o.slotRelocation&&2&l.$flags$?"slot-fb":l.$tag$),o.svg&&p&&"foreignObject"===l.$tag$&&(p=!1),o.vdomAttribute&&ut(null,l,p),(o.shadowDom||o.scoped)&&Z(r)&&c["s-si"]!==r&&c.classList.add(c["s-si"]=r),l.$children$)for(m=0;m{w.$flags$|=1;const n=t.childNodes;for(let o=n.length-1;o>=0;o--){const t=n[o];t["s-hn"]!==s&&t["s-ol"]&&(yt(t).insertBefore(t,vt(t)),t["s-ol"].remove(),t["s-ol"]=void 0,h=!0),e&&pt(t,e)}w.$flags$&=-2},ft=(t,e,n,i,r,a)=>{let l,c=o.slotRelocation&&t["s-cr"]&&t["s-cr"].parentNode||t;for(o.shadowDom&&c.shadowRoot&&c.tagName===s&&(c=c.shadowRoot);r<=a;++r)i[r]&&(l=ht(null,n,r,t),l&&(i[r].$elm$=l,c.insertBefore(l,o.slotRelocation?vt(e):e)))},mt=(t,e,n,i,r)=>{for(;e<=n;++e)(i=t[e])&&(r=i.$elm$,St(i),o.slotRelocation&&(u=!0,r["s-ol"]?r["s-ol"].remove():pt(r,!0)),r.remove())},gt=(t,e,n,i)=>{let r,a,s=0,l=0,c=0,d=0,u=e.length-1,h=e[0],p=e[u],f=i.length-1,m=i[0],g=i[f];while(s<=u&&l<=f)if(null==h)h=e[++s];else if(null==p)p=e[--u];else if(null==m)m=i[++l];else if(null==g)g=i[--f];else if(bt(h,m))wt(h,m),h=e[++s],m=i[++l];else if(bt(p,g))wt(p,g),p=e[--u],g=i[--f];else if(bt(h,g))!o.slotRelocation||"slot"!==h.$tag$&&"slot"!==g.$tag$||pt(h.$elm$.parentNode,!1),wt(h,g),t.insertBefore(h.$elm$,p.$elm$.nextSibling),h=e[++s],g=i[--f];else if(bt(p,m))!o.slotRelocation||"slot"!==h.$tag$&&"slot"!==g.$tag$||pt(p.$elm$.parentNode,!1),wt(p,m),t.insertBefore(p.$elm$,h.$elm$),p=e[--u],m=i[++l];else{if(c=-1,o.vdomKey)for(d=s;d<=u;++d)if(e[d]&&null!==e[d].$key$&&e[d].$key$===m.$key$){c=d;break}o.vdomKey&&c>=0?(a=e[c],a.$tag$!==m.$tag$?r=ht(e&&e[l],n,c,t):(wt(a,m),e[c]=void 0,r=a.$elm$),m=i[++l]):(r=ht(e&&e[l],n,l,t),m=i[++l]),r&&(o.slotRelocation?yt(h.$elm$).insertBefore(r,vt(h.$elm$)):h.$elm$.parentNode.insertBefore(r,h.$elm$))}s>u?ft(t,null==i[f+1]?null:i[f+1].$elm$,n,i,l,f):o.updatable&&l>f&&mt(e,s,u)},bt=(t,e)=>t.$tag$===e.$tag$&&(o.slotRelocation&&"slot"===t.$tag$?t.$name$===e.$name$:!o.vdomKey||t.$key$===e.$key$),vt=t=>t&&t["s-ol"]||t,yt=t=>(t["s-ol"]?t["s-ol"]:t).parentNode,wt=(t,e)=>{const n=e.$elm$=t.$elm$,i=t.$children$,r=e.$children$,a=e.$tag$,s=e.$text$;let l;o.vdomText&&null!==s?o.vdomText&&o.slotRelocation&&(l=n["s-cr"])?l.parentNode.textContent=s:o.vdomText&&t.$text$!==s&&(n.data=s):(o.svg&&(p="svg"===a||"foreignObject"!==a&&p),(o.vdomAttribute||o.reflect)&&(o.slot&&"slot"===a||ut(t,e,p)),o.updatable&&null!==i&&null!==r?gt(n,i,e,r):null!==r?(o.updatable&&o.vdomText&&null!==t.$text$&&(n.textContent=""),ft(n,null,e,r,0,r.length-1)):o.updatable&&null!==i&&mt(i,0,i.length-1),o.svg&&p&&"svg"===a&&(p=!1))},xt=t=>{const e=t.childNodes;let n,o,i,r,a,s;for(o=0,i=e.length;o{let e,n,o,i,r,a,s=0;const l=t.childNodes,c=l.length;for(;s=0;a--)n=o[a],n["s-cn"]||n["s-nr"]||n["s-hn"]===e["s-hn"]||(Et(n,i)?(r=kt.find((t=>t.$nodeToRelocate$===n)),u=!0,n["s-sn"]=n["s-sn"]||i,r?r.$slotRefNode$=e:kt.push({$slotRefNode$:e,$nodeToRelocate$:n}),n["s-sr"]&&kt.map((t=>{Et(t.$nodeToRelocate$,n["s-sn"])&&(r=kt.find((t=>t.$nodeToRelocate$===n)),r&&!t.$slotRefNode$&&(t.$slotRefNode$=r.$slotRefNode$))}))):kt.some((t=>t.$nodeToRelocate$===n))||kt.push({$nodeToRelocate$:n}));1===e.nodeType&&$t(e)}},Et=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,St=t=>{o.vdomRef&&(t.$attrs$&&t.$attrs$.ref&&t.$attrs$.ref(null),t.$children$&&t.$children$.map(St))},_t=(t,e)=>{const n=t.$hostElement$,i=t.$cmpMeta$,l=t.$vnode$||et(null,null),c=ot(e)?e:tt(null,null,e);if(s=n.tagName,o.isDev&&Array.isArray(e)&&e.some(ot))throw new Error(`The must be the single root component.\nLooks like the render() function of "${s.toLowerCase()}" is returning an array that contains the .\n\nThe render() function should look like this instead:\n\nrender() {\n // Do not return an array\n return (\n {content}\n );\n}\n `);if(o.reflect&&i.$attrsToReflect$&&(c.$attrs$=c.$attrs$||{},i.$attrsToReflect$.map((([t,e])=>c.$attrs$[e]=n[t]))),c.$tag$=null,c.$flags$|=4,t.$vnode$=c,c.$elm$=l.$elm$=o.shadowDom&&n.shadowRoot||n,(o.scoped||o.shadowDom)&&(r=n["s-sc"]),o.slotRelocation&&(a=n["s-cr"],d=k&&0!==(1&i.$flags$),u=!1),wt(l,c),o.slotRelocation){if(w.$flags$|=1,h){let t,e,n,i,r,a;$t(c.$elm$);let s=0;for(;sv.createComment(` (host=${s.toLowerCase()})`),At=t=>v.createComment("org-location for "+(t.localName?`<${t.localName}> (host=${t["s-hn"]})`:`[${t.textContent}]`)),Tt=t=>o.lazyLoad?ae(t).$hostElement$:t,It=(t,e,n)=>{const i=Tt(t);return{emit:t=>(o.isDev&&!i.isConnected&&he(`The "${e}" event was emitted, but the dispatcher node is no longer connected to the dom.`),Lt(i,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t}))}},Lt=(t,e,n)=>{const o=w.ce(e,n);return t.dispatchEvent(o),o},Rt=(t,e)=>{o.asyncLoading&&e&&!t.$onRenderResolve$&&e["s-p"]&&e["s-p"].push(new Promise((e=>t.$onRenderResolve$=e)))},Ot=(t,e)=>{if(o.taskQueue&&o.updatable&&(t.$flags$|=16),o.asyncLoading&&4&t.$flags$)return void(t.$flags$|=512);Rt(t,t.$ancestorComponent$);const n=()=>Dt(t,e);return o.taskQueue?_e(n):n()},Dt=(t,e)=>{const n=t.$hostElement$,i=M("scheduleUpdate",t.$cmpMeta$.$tagName$),r=o.lazyLoad?t.$lazyInstance$:n;let a;return e?(o.lazyLoad&&o.hostListener&&(t.$flags$|=256,t.$queuedListeners$&&(t.$queuedListeners$.map((([t,e])=>Bt(r,t,e))),t.$queuedListeners$=null)),Ht(n,"componentWillLoad"),o.cmpWillLoad&&(a=Bt(r,"componentWillLoad"))):(Ht(n,"componentWillUpdate"),o.cmpWillUpdate&&(a=Bt(r,"componentWillUpdate"))),Ht(n,"componentWillRender"),o.cmpWillRender&&(a=Ft(a,(()=>Bt(r,"componentWillRender")))),i(),Ft(a,(()=>Nt(t,r,e)))},Nt=async(t,e,n)=>{const i=t.$hostElement$,r=M("update",t.$cmpMeta$.$tagName$),a=i["s-rc"];o.style&&n&&U(t);const s=M("render",t.$cmpMeta$.$tagName$);if(o.isDev&&(t.$flags$|=1024),o.hydrateServerSide?await Pt(t,e,i):Pt(t,e,i),o.cssVarShim&&w.$cssShim$&&w.$cssShim$.updateHost(i),o.isDev&&(t.$renderCount$++,t.$flags$&=-1025),o.hydrateServerSide)try{Ut(i),n&&(1&t.$cmpMeta$.$flags$?i["s-en"]="":2&t.$cmpMeta$.$flags$&&(i["s-en"]="c"))}catch(l){ce(l,i)}if(o.asyncLoading&&a&&(a.map((t=>t())),i["s-rc"]=void 0),s(),r(),o.asyncLoading){const e=i["s-p"],n=()=>zt(t);0===e.length?n():(Promise.all(e).then(n),t.$flags$|=4,e.length=0)}else zt(t)},Pt=(t,e,n)=>{const i=!!o.allRenderFn,r=!!o.lazyLoad,a=!!o.taskQueue,s=!!o.updatable;try{if(f=e,e=(i||e.render)&&e.render(),s&&a&&(t.$flags$&=-17),(s||r)&&(t.$flags$|=2),o.hasRenderFn||o.reflect)if(o.vdomRender||o.reflect){if(o.hydrateServerSide)return Promise.resolve(e).then((e=>_t(t,e)));_t(t,e)}else n.textContent=e}catch(l){ce(l,t.$hostElement$)}return f=null,null},zt=t=>{const e=t.$cmpMeta$.$tagName$,n=t.$hostElement$,i=M("postUpdate",e),r=o.lazyLoad?t.$lazyInstance$:n,a=t.$ancestorComponent$;o.cmpDidRender&&(o.isDev&&(t.$flags$|=1024),Bt(r,"componentDidRender"),o.isDev&&(t.$flags$&=-1025)),Ht(n,"componentDidRender"),64&t.$flags$?(o.cmpDidUpdate&&(o.isDev&&(t.$flags$|=1024),Bt(r,"componentDidUpdate"),o.isDev&&(t.$flags$&=-1025)),Ht(n,"componentDidUpdate"),i()):(t.$flags$|=64,o.asyncLoading&&o.cssAnnotations&&Wt(n),o.cmpDidLoad&&(o.isDev&&(t.$flags$|=2048),Bt(r,"componentDidLoad"),o.isDev&&(t.$flags$&=-2049)),Ht(n,"componentDidLoad"),i(),o.asyncLoading&&(t.$onReadyResolve$(n),a||Mt(e))),o.hotModuleReplacement&&n["s-hmr-load"]&&n["s-hmr-load"](),o.method&&o.lazyLoad&&t.$onInstanceResolve$(n),o.asyncLoading&&(t.$onRenderResolve$&&(t.$onRenderResolve$(),t.$onRenderResolve$=void 0),512&t.$flags$&&Ee((()=>Ot(t,!1))),t.$flags$&=-517)},jt=t=>{if(o.updatable){const e=ae(t),n=e.$hostElement$.isConnected;return n&&2===(18&e.$flags$)&&Ot(e,!1),n}return!1},Mt=t=>{o.cssAnnotations&&Wt(v.documentElement),o.asyncQueue&&(w.$flags$|=2),Ee((()=>Lt(b,"appload",{detail:{namespace:i}}))),o.profile&&performance.measure&&performance.measure(`[Stencil] ${i} initial load (by ${t})`,"st:app:start")},Bt=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(o){ce(o)}},Ft=(t,e)=>t&&t.then?t.then(e):e(),Ht=(t,e)=>{o.lifecycleDOMEvents&&Lt(t,"stencil_"+e,{bubbles:!0,composed:!0,detail:{namespace:i}})},Wt=t=>o.hydratedClass?t.classList.add("hydrated"):o.hydratedAttribute?t.setAttribute("hydrated",""):void 0,Ut=t=>{const e=t.children;if(null!=e)for(let n=0,o=e.length;n{const r=M("hydrateClient",e),a=t.shadowRoot,s=[],l=[],c=o.shadowDom&&a?[]:null,d=i.$vnode$=et(e,null);w.$orgLocNodes$||Yt(v.body,w.$orgLocNodes$=new Map),t[N]=n,t.removeAttribute(N),Vt(d,s,l,c,t,t,n),s.map((t=>{const n=t.$hostId$+"."+t.$nodeId$,o=w.$orgLocNodes$.get(n),i=t.$elm$;o&&k&&""===o["s-en"]&&o.parentNode.insertBefore(i,o.nextSibling),a||(i["s-hn"]=e,o&&(i["s-ol"]=o,i["s-ol"]["s-nr"]=i)),w.$orgLocNodes$.delete(n)})),o.shadowDom&&a&&c.map((t=>{t&&a.appendChild(t)})),r()},Vt=(t,e,n,i,r,a,s)=>{let l,c,d,u;if(1===a.nodeType){for(l=a.getAttribute(z),l&&(c=l.split("."),c[0]!==s&&"0"!==c[0]||(d={$flags$:0,$hostId$:c[0],$nodeId$:c[1],$depth$:c[2],$index$:c[3],$tag$:a.tagName.toLowerCase(),$elm$:a,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},e.push(d),a.removeAttribute(z),t.$children$||(t.$children$=[]),t.$children$[d.$index$]=d,t=d,i&&"0"===d.$depth$&&(i[d.$index$]=d.$elm$))),u=a.childNodes.length-1;u>=0;u--)Vt(t,e,n,i,r,a.childNodes[u],s);if(a.shadowRoot)for(u=a.shadowRoot.childNodes.length-1;u>=0;u--)Vt(t,e,n,i,r,a.shadowRoot.childNodes[u],s)}else if(8===a.nodeType)c=a.nodeValue.split("."),c[1]!==s&&"0"!==c[1]||(l=c[0],d={$flags$:0,$hostId$:c[1],$nodeId$:c[2],$depth$:c[3],$index$:c[4],$elm$:a,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},l===D?(d.$elm$=a.nextSibling,d.$elm$&&3===d.$elm$.nodeType&&(d.$text$=d.$elm$.textContent,e.push(d),a.remove(),t.$children$||(t.$children$=[]),t.$children$[d.$index$]=d,i&&"0"===d.$depth$&&(i[d.$index$]=d.$elm$))):d.$hostId$===s&&(l===O?(d.$tag$="slot",c[5]?a["s-sn"]=d.$name$=c[5]:a["s-sn"]="",a["s-sr"]=!0,o.shadowDom&&i&&(d.$elm$=v.createElement(d.$tag$),d.$name$&&d.$elm$.setAttribute("name",d.$name$),a.parentNode.insertBefore(d.$elm$,a),a.remove(),"0"===d.$depth$&&(i[d.$index$]=d.$elm$)),n.push(d),t.$children$||(t.$children$=[]),t.$children$[d.$index$]=d):l===L&&(o.shadowDom&&i?a.remove():o.slotRelocation&&(r["s-cr"]=a,a["s-cn"]=!0))));else if(t&&"style"===t.$tag$){const e=et(null,a.textContent);e.$elm$=a,e.$index$="0",t.$children$=[e]}},Yt=(t,e)=>{if(1===t.nodeType){let n=0;for(;nnull==t||Q(t)?t:o.propBoolean&&4&e?"false"!==t&&(""===t||!!t):o.propNumber&&2&e?parseFloat(t):o.propString&&1&e?String(t):t,Xt=(t,e)=>ae(t).$instanceValues$.get(e),Jt=(t,e,n,i)=>{const r=ae(t),a=o.lazyLoad?r.$hostElement$:t,s=r.$instanceValues$.get(e),l=r.$flags$,c=o.lazyLoad?r.$lazyInstance$:a;n=Gt(n,i.$members$[e][0]);const d=Number.isNaN(s)&&Number.isNaN(n),u=n!==s&&!d;if((!o.lazyLoad||!(8&l)||void 0===s)&&u&&(r.$instanceValues$.set(e,n),o.isDev&&(1024&r.$flags$?he(`The state/prop "${e}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`,"\nElement",a,"\nNew value",n,"\nOld value",s):2048&r.$flags$&&he(`The state/prop "${e}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`,"\nElement",a,"\nNew value",n,"\nOld value",s)),!o.lazyLoad||c)){if(o.watchCallback&&i.$watchers$&&128&l){const t=i.$watchers$[e];t&&t.map((t=>{try{c[t](n,s,e)}catch(o){ce(o,a)}}))}if(o.updatable&&2===(18&l)){if(o.cmpShouldUpdate&&c.componentShouldUpdate&&!1===c.componentShouldUpdate(n,s,e))return;Ot(r,!1)}}},Kt=(t,e,n)=>{if(o.member&&e.$members$){o.watchCallback&&t.watchers&&(e.$watchers$=t.watchers);const i=Object.entries(e.$members$),r=t.prototype;if(i.map((([t,[i]])=>{(o.prop||o.state)&&(31&i||(!o.lazyLoad||2&n)&&32&i)?Object.defineProperty(r,t,{get(){return Xt(this,t)},set(r){if(o.isDev){const o=ae(this);0===(1&n)&&0===(8&o.$flags$)&&0!==(31&i)&&0===(1024&i)&&he(`@Prop() "${t}" on <${e.$tagName$}> is immutable but was modified from within the component.\nMore information: https://stenciljs.com/docs/properties#prop-mutability`)}Jt(this,t,r,e)},configurable:!0,enumerable:!0}):o.lazyLoad&&o.method&&1&n&&64&i&&Object.defineProperty(r,t,{value(...e){const n=ae(this);return n.$onInstancePromise$.then((()=>n.$lazyInstance$[t](...e)))}})})),o.observeAttribute&&(!o.lazyLoad||1&n)){const n=new Map;r.attributeChangedCallback=function(t,e,o){w.jmp((()=>{const e=n.get(t);if(this.hasOwnProperty(e))o=this[e],delete this[e];else if(r.hasOwnProperty(e)&&"number"===typeof this[e]&&this[e]==o)return;this[e]=(null!==o||"boolean"!==typeof this[e])&&o}))},t.observedAttributes=i.filter((([t,e])=>15&e[0])).map((([t,i])=>{const r=i[1]||t;return n.set(r,t),o.reflect&&512&i[0]&&e.$attrsToReflect$.push([t,r]),r}))}}return t},Zt=async(t,e,i,r,a)=>{if((o.lazyLoad||o.hydrateServerSide||o.style)&&0===(32&e.$flags$)){if(o.lazyLoad||o.hydrateClientSide){if(e.$flags$|=32,a=fe(i,e,r),a.then){const t=B(`st:load:${i.$tagName$}:${e.$modeName$}`,`[Stencil] Load module for <${i.$tagName$}>`);a=await a,t()}if((o.isDev||o.isDebug)&&!a)throw new Error(`Constructor for "${i.$tagName$}#${e.$modeName$}" was not found`);o.member&&!a.isProxied&&(o.watchCallback&&(i.$watchers$=a.watchers),Kt(a,i,2),a.isProxied=!0);const t=M("createInstance",i.$tagName$);o.member&&(e.$flags$|=8);try{new a(e)}catch(c){ce(c)}o.member&&(e.$flags$&=-9),o.watchCallback&&(e.$flags$|=128),t(),Qt(e.$lazyInstance$)}else a=t.constructor,e.$flags$|=32,customElements.whenDefined(i.$tagName$).then((()=>e.$flags$|=128));if(o.style&&a.style){let r=a.style;o.mode&&"string"!==typeof r&&(r=r[e.$modeName$=V(t)],o.hydrateServerSide&&e.$modeName$&&t.setAttribute("s-mode",e.$modeName$));const s=q(i,e.$modeName$);if(!me.has(s)){const t=M("registerStyles",i.$tagName$);!o.hydrateServerSide&&o.shadowDom&&o.shadowDomShim&&8&i.$flags$&&(r=await n.e(576).then(n.bind(n,576)).then((t=>t.scopeCss(r,s,!1)))),H(s,r,!!(1&i.$flags$)),t()}}}const s=e.$ancestorComponent$,l=()=>Ot(e,!0);o.asyncLoading&&s&&s["s-rc"]?s["s-rc"].push(l):l()},Qt=t=>{o.lazyLoad&&o.connectedCallback&&Bt(t,"connectedCallback")},te=t=>{if(0===(1&w.$flags$)){const e=ae(t),n=e.$cmpMeta$,i=M("connectedCallback",n.$tagName$);if(o.hostListenerTargetParent&&C(t,e,n.$listeners$,!0),1&e.$flags$)C(t,e,n.$listeners$,!1),Qt(e.$lazyInstance$);else{let i;if(e.$flags$|=1,o.hydrateClientSide&&(i=t.getAttribute(N),i)){if(o.shadowDom&&k&&1&n.$flags$){const e=o.mode?W(t.shadowRoot,n,t.getAttribute("s-mode")):W(t.shadowRoot,n);t.classList.remove(e+"-h",e+"-s")}qt(t,n.$tagName$,i,e)}if(o.slotRelocation&&!i&&(o.hydrateServerSide||(o.slot||o.shadowDom)&&12&n.$flags$)&&ee(t),o.asyncLoading){let n=t;while(n=n.parentNode||n.host)if(o.hydrateClientSide&&1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){Rt(e,e.$ancestorComponent$=n);break}}o.prop&&!o.hydrateServerSide&&n.$members$&&Object.entries(n.$members$).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),o.initializeNextTick?Ee((()=>Zt(t,e,n))):Zt(t,e,n)}i()}},ee=t=>{const e=t["s-cr"]=v.createComment(o.isDebug?`content-ref (host=${t.localName})`:"");e["s-cn"]=!0,t.insertBefore(e,t.firstChild)},ne=t=>{if(0===(1&w.$flags$)){const e=ae(t),n=o.lazyLoad?e.$lazyInstance$:t;o.hostListener&&e.$rmListeners$&&(e.$rmListeners$.map((t=>t())),e.$rmListeners$=void 0),o.cssVarShim&&w.$cssShim$&&w.$cssShim$.removeHost(t),o.lazyLoad&&o.disconnectedCallback&&Bt(n,"disconnectedCallback"),o.cmpDidUnload&&Bt(n,"componentDidUnload")}},oe=(t,e)=>{const n={$flags$:e[0],$tagName$:e[1]};o.member&&(n.$members$=e[2]),o.hostListener&&(n.$listeners$=e[3]),o.watchCallback&&(n.$watchers$=t.$watchers$),o.reflect&&(n.$attrsToReflect$=[]),o.shadowDom&&!k&&1&n.$flags$&&(n.$flags$|=8);const i=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__registerHost(){se(this,n)},connectedCallback(){te(this),o.connectedCallback&&i&&i.call(this)},disconnectedCallback(){ne(this),o.disconnectedCallback&&r&&r.call(this)},__attachShadow(){k?o.shadowDelegatesFocus?this.attachShadow({mode:"open",delegatesFocus:!!(16&n.$flags$)}):this.attachShadow({mode:"open"}):this.shadowRoot=this}}),t.is=n.$tagName$,Kt(t,n,3)},ie=t=>{const e=new URL(t,w.$resourcesUrl$);return e.origin!==b.location.origin?e.href:e.pathname},re=new WeakMap,ae=t=>re.get(t),se=(t,e)=>{const n={$flags$:0,$hostElement$:t,$cmpMeta$:e,$instanceValues$:new Map};return o.isDev&&(n.$renderCount$=0),o.method&&o.lazyLoad&&(n.$onInstancePromise$=new Promise((t=>n.$onInstanceResolve$=t))),o.asyncLoading&&(n.$onReadyPromise$=new Promise((t=>n.$onReadyResolve$=t)),t["s-p"]=[],t["s-rc"]=[]),C(t,n,e.$listeners$,!1),re.set(t,n)},le=(t,e)=>e in t,ce=(t,e)=>(l||console.error)(t,e),de=o.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],ue=(...t)=>console.error(...de,...t),he=(...t)=>console.warn(...de,...t),pe=new Map,fe=(t,e,i)=>{const r=t.$tagName$.replace(/-/g,"_"),a=t.$lazyBundleId$;if(o.isDev&&"string"!==typeof a)return void ue(`Trying to lazily load component <${t.$tagName$}> with style mode "${e.$modeName$}", but it does not exist.`);const s=!o.hotModuleReplacement&&pe.get(a);return s?s[r]:n(1993)(`./${a}.entry.js${o.hotModuleReplacement&&i?"?s-hmr="+i:""}`).then((t=>(o.hotModuleReplacement||pe.set(a,t),t[r])),ce) +/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},me=new Map,ge=[],be=[],ve=[],ye=[],we=(t,e)=>n=>{t.push(n),g||(g=!0,e&&4&w.$flags$?Ee($e):w.raf($e))},xe=t=>{for(let n=0;n{let n=0,o=0;while(n{if(o.asyncQueue&&m++,xe(be),o.asyncQueue){const t=2===(6&w.$flags$)?performance.now()+14*Math.ceil(.1*m):1/0;ke(ve,t),ke(ye,t),ve.length>0&&(ye.push(...ve),ve.length=0),(g=be.length+ve.length+ye.length>0)?w.raf($e):m=0}else xe(ve),(g=be.length>0)&&w.raf($e)},Ee=t=>E().then(t),Se=we(be,!1),_e=we(ve,!0),Ce={isDev:!!o.isDev,isBrowser:!0,isServer:!1,isTesting:!!o.isTesting}},2262:function(t,e,n){"use strict";n.d(e,{B:function(){return a},BK:function(){return Wt},Bj:function(){return r},Fl:function(){return Yt},IU:function(){return Tt},Jd:function(){return E},PG:function(){return St},SU:function(){return Bt},Um:function(){return kt},WL:function(){return Ht},X$:function(){return A},X3:function(){return At},XI:function(){return zt},Xl:function(){return It},dq:function(){return Nt},iH:function(){return Pt},j:function(){return _},lk:function(){return S},qj:function(){return xt},qq:function(){return w},yT:function(){return Ct}});var o=n(3577);let i;class r{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&i&&(this.parent=i,this.index=(i.scopes||(i.scopes=[])).push(this)-1)}run(t){if(this.active){const e=i;try{return i=this,t()}finally{i=e}}else 0}on(){i=this}off(){i=this.parent}stop(t){if(this.active){let e,n;for(e=0,n=this.effects.length;e{const e=new Set(t);return e.w=0,e.n=0,e},c=t=>(t.w&m)>0,d=t=>(t.n&m)>0,u=({deps:t})=>{if(t.length)for(let e=0;e{const{deps:e}=t;if(e.length){let n=0;for(let o=0;o{("length"===e||e>=i)&&c.push(t)}));else switch(void 0!==n&&c.push(s.get(n)),e){case"add":(0,o.kJ)(t)?(0,o.S0)(n)&&c.push(s.get("length")):(c.push(s.get(v)),(0,o._N)(t)&&c.push(s.get(y)));break;case"delete":(0,o.kJ)(t)||(c.push(s.get(v)),(0,o._N)(t)&&c.push(s.get(y)));break;case"set":(0,o._N)(t)&&c.push(s.get(v));break}if(1===c.length)c[0]&&T(c[0]);else{const t=[];for(const e of c)e&&t.push(...e);T(l(t))}}function T(t,e){const n=(0,o.kJ)(t)?t:[...t];for(const o of n)o.computed&&I(o,e);for(const o of n)o.computed||I(o,e)}function I(t,e){(t!==b||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const L=(0,o.fY)("__proto__,__v_isRef,__isVue"),R=new Set(Object.getOwnPropertyNames(Symbol).filter((t=>"arguments"!==t&&"caller"!==t)).map((t=>Symbol[t])).filter(o.yk)),O=j(),D=j(!1,!0),N=j(!0),P=z();function z(){const t={};return["includes","indexOf","lastIndexOf"].forEach((e=>{t[e]=function(...t){const n=Tt(this);for(let e=0,i=this.length;e{t[e]=function(...t){E();const n=Tt(this)[e].apply(this,t);return S(),n}})),t}function j(t=!1,e=!1){return function(n,i,r){if("__v_isReactive"===i)return!t;if("__v_isReadonly"===i)return t;if("__v_isShallow"===i)return e;if("__v_raw"===i&&r===(t?e?vt:bt:e?gt:mt).get(n))return n;const a=(0,o.kJ)(n);if(!t&&a&&(0,o.RI)(P,i))return Reflect.get(P,i,r);const s=Reflect.get(n,i,r);return((0,o.yk)(i)?R.has(i):L(i))?s:(t||_(n,"get",i),e?s:Nt(s)?a&&(0,o.S0)(i)?s:s.value:(0,o.Kn)(s)?t?$t(s):xt(s):s)}}const M=F(),B=F(!0);function F(t=!1){return function(e,n,i,r){let a=e[n];if(_t(a)&&Nt(a)&&!Nt(i))return!1;if(!t&&!_t(i)&&(Ct(i)||(i=Tt(i),a=Tt(a)),!(0,o.kJ)(e)&&Nt(a)&&!Nt(i)))return a.value=i,!0;const s=(0,o.kJ)(e)&&(0,o.S0)(n)?Number(n)t,X=t=>Reflect.getPrototypeOf(t);function J(t,e,n=!1,o=!1){t=t["__v_raw"];const i=Tt(t),r=Tt(e);n||(e!==r&&_(i,"get",e),_(i,"get",r));const{has:a}=X(i),s=o?G:n?Rt:Lt;return a.call(i,e)?s(t.get(e)):a.call(i,r)?s(t.get(r)):void(t!==i&&t.get(e))}function K(t,e=!1){const n=this["__v_raw"],o=Tt(n),i=Tt(t);return e||(t!==i&&_(o,"has",t),_(o,"has",i)),t===i?n.has(t):n.has(t)||n.has(i)}function Z(t,e=!1){return t=t["__v_raw"],!e&&_(Tt(t),"iterate",v),Reflect.get(t,"size",t)}function Q(t){t=Tt(t);const e=Tt(this),n=X(e),o=n.has.call(e,t);return o||(e.add(t),A(e,"add",t,t)),this}function tt(t,e){e=Tt(e);const n=Tt(this),{has:i,get:r}=X(n);let a=i.call(n,t);a||(t=Tt(t),a=i.call(n,t));const s=r.call(n,t);return n.set(t,e),a?(0,o.aU)(e,s)&&A(n,"set",t,e,s):A(n,"add",t,e),this}function et(t){const e=Tt(this),{has:n,get:o}=X(e);let i=n.call(e,t);i||(t=Tt(t),i=n.call(e,t));const r=o?o.call(e,t):void 0,a=e.delete(t);return i&&A(e,"delete",t,void 0,r),a}function nt(){const t=Tt(this),e=0!==t.size,n=void 0,o=t.clear();return e&&A(t,"clear",void 0,void 0,n),o}function ot(t,e){return function(n,o){const i=this,r=i["__v_raw"],a=Tt(r),s=e?G:t?Rt:Lt;return!t&&_(a,"iterate",v),r.forEach(((t,e)=>n.call(o,s(t),s(e),i)))}}function it(t,e,n){return function(...i){const r=this["__v_raw"],a=Tt(r),s=(0,o._N)(a),l="entries"===t||t===Symbol.iterator&&s,c="keys"===t&&s,d=r[t](...i),u=n?G:e?Rt:Lt;return!e&&_(a,"iterate",c?y:v),{next(){const{value:t,done:e}=d.next();return e?{value:t,done:e}:{value:l?[u(t[0]),u(t[1])]:u(t),done:e}},[Symbol.iterator](){return this}}}}function rt(t){return function(...e){return"delete"!==t&&this}}function at(){const t={get(t){return J(this,t)},get size(){return Z(this)},has:K,add:Q,set:tt,delete:et,clear:nt,forEach:ot(!1,!1)},e={get(t){return J(this,t,!1,!0)},get size(){return Z(this)},has:K,add:Q,set:tt,delete:et,clear:nt,forEach:ot(!1,!0)},n={get(t){return J(this,t,!0)},get size(){return Z(this,!0)},has(t){return K.call(this,t,!0)},add:rt("add"),set:rt("set"),delete:rt("delete"),clear:rt("clear"),forEach:ot(!0,!1)},o={get(t){return J(this,t,!0,!0)},get size(){return Z(this,!0)},has(t){return K.call(this,t,!0)},add:rt("add"),set:rt("set"),delete:rt("delete"),clear:rt("clear"),forEach:ot(!0,!0)},i=["keys","values","entries",Symbol.iterator];return i.forEach((i=>{t[i]=it(i,!1,!1),n[i]=it(i,!0,!1),e[i]=it(i,!1,!0),o[i]=it(i,!0,!0)})),[t,n,e,o]}const[st,lt,ct,dt]=at();function ut(t,e){const n=e?t?dt:ct:t?lt:st;return(e,i,r)=>"__v_isReactive"===i?!t:"__v_isReadonly"===i?t:"__v_raw"===i?e:Reflect.get((0,o.RI)(n,i)&&i in e?n:e,i,r)}const ht={get:ut(!1,!1)},pt={get:ut(!1,!0)},ft={get:ut(!0,!1)};const mt=new WeakMap,gt=new WeakMap,bt=new WeakMap,vt=new WeakMap;function yt(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function wt(t){return t["__v_skip"]||!Object.isExtensible(t)?0:yt((0,o.W7)(t))}function xt(t){return _t(t)?t:Et(t,!1,q,ht,mt)}function kt(t){return Et(t,!1,Y,pt,gt)}function $t(t){return Et(t,!0,V,ft,bt)}function Et(t,e,n,i,r){if(!(0,o.Kn)(t))return t;if(t["__v_raw"]&&(!e||!t["__v_isReactive"]))return t;const a=r.get(t);if(a)return a;const s=wt(t);if(0===s)return t;const l=new Proxy(t,2===s?i:n);return r.set(t,l),l}function St(t){return _t(t)?St(t["__v_raw"]):!(!t||!t["__v_isReactive"])}function _t(t){return!(!t||!t["__v_isReadonly"])}function Ct(t){return!(!t||!t["__v_isShallow"])}function At(t){return St(t)||_t(t)}function Tt(t){const e=t&&t["__v_raw"];return e?Tt(e):t}function It(t){return(0,o.Nj)(t,"__v_skip",!0),t}const Lt=t=>(0,o.Kn)(t)?xt(t):t,Rt=t=>(0,o.Kn)(t)?$t(t):t;function Ot(t){k&&b&&(t=Tt(t),C(t.dep||(t.dep=l())))}function Dt(t,e){t=Tt(t),t.dep&&T(t.dep)}function Nt(t){return!(!t||!0!==t.__v_isRef)}function Pt(t){return jt(t,!1)}function zt(t){return jt(t,!0)}function jt(t,e){return Nt(t)?t:new Mt(t,e)}class Mt{constructor(t,e){this.__v_isShallow=e,this.dep=void 0,this.__v_isRef=!0,this._rawValue=e?t:Tt(t),this._value=e?t:Lt(t)}get value(){return Ot(this),this._value}set value(t){t=this.__v_isShallow?t:Tt(t),(0,o.aU)(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Lt(t),Dt(this,t))}}function Bt(t){return Nt(t)?t.value:t}const Ft={get:(t,e,n)=>Bt(Reflect.get(t,e,n)),set:(t,e,n,o)=>{const i=t[e];return Nt(i)&&!Nt(n)?(i.value=n,!0):Reflect.set(t,e,n,o)}};function Ht(t){return St(t)?t:new Proxy(t,Ft)}function Wt(t){const e=(0,o.kJ)(t)?new Array(t.length):{};for(const n in t)e[n]=qt(t,n);return e}class Ut{constructor(t,e,n){this._object=t,this._key=e,this._defaultValue=n,this.__v_isRef=!0}get value(){const t=this._object[this._key];return void 0===t?this._defaultValue:t}set value(t){this._object[this._key]=t}}function qt(t,e,n){const o=t[e];return Nt(o)?o:new Ut(t,e,n)}class Vt{constructor(t,e,n,o){this._setter=e,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new w(t,(()=>{this._dirty||(this._dirty=!0,Dt(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!o,this["__v_isReadonly"]=n}get value(){const t=Tt(this);return Ot(t),!t._dirty&&t._cacheable||(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Yt(t,e,n=!1){let i,r;const a=(0,o.mf)(t);a?(i=t,r=o.dG):(i=t.get,r=t.set);const s=new Vt(i,r,a||!r,n);return s}},6252:function(t,e,n){"use strict";n.d(e,{$d:function(){return a},Ah:function(){return It},FN:function(){return $n},Fl:function(){return Mn},HY:function(){return He},JJ:function(){return X},Ko:function(){return Ft},P$:function(){return at},Q6:function(){return ht},U2:function(){return lt},Uk:function(){return hn},Us:function(){return Te},WI:function(){return Ht},Wm:function(){return ln},Y3:function(){return k},Y8:function(){return ot},YP:function(){return Z},_:function(){return sn},aZ:function(){return pt},bv:function(){return _t},f3:function(){return J},h:function(){return Bn},iD:function(){return Qe},ic:function(){return At},j4:function(){return tn},kq:function(){return pn},lR:function(){return Fe},nK:function(){return ut},up:function(){return zt},w5:function(){return B},wg:function(){return Ge},xv:function(){return We}});var o=n(2262),i=n(3577);function r(t,e,n,o){let i;try{i=o?t(...o):t()}catch(r){s(r,e,n)}return i}function a(t,e,n,o){if((0,i.mf)(t)){const a=r(t,e,n,o);return a&&(0,i.tI)(a)&&a.catch((t=>{s(t,e,n)})),a}const l=[];for(let i=0;i>>1,i=R(u[o]);ih&&u.splice(e,1)}function C(t,e,n,o){(0,i.kJ)(t)?n.push(...t):e&&e.includes(t,t.allowRecurse?o+1:o)||n.push(t),S()}function A(t){C(t,f,p,m)}function T(t){C(t,b,g,v)}function I(t,e=null){if(p.length){for(x=e,f=[...new Set(p)],p.length=0,m=0;mR(t)-R(e))),v=0;vnull==t.id?1/0:t.id;function O(t){d=!1,c=!0,I(t),u.sort(((t,e)=>R(t)-R(e)));i.dG;try{for(h=0;ht.trim()))),e&&(r=n.map(i.He))}let c;let d=o[c=(0,i.hR)(e)]||o[c=(0,i.hR)((0,i._A)(e))];!d&&s&&(d=o[c=(0,i.hR)((0,i.rs)(e))]),d&&a(d,t,6,r);const u=o[c+"Once"];if(u){if(t.emitted){if(t.emitted[c])return}else t.emitted={};t.emitted[c]=!0,a(u,t,6,r)}}function N(t,e,n=!1){const o=e.emitsCache,r=o.get(t);if(void 0!==r)return r;const a=t.emits;let s={},l=!1;if(!(0,i.mf)(t)){const o=t=>{const n=N(t,e,!0);n&&(l=!0,(0,i.l7)(s,n))};!n&&e.mixins.length&&e.mixins.forEach(o),t.extends&&o(t.extends),t.mixins&&t.mixins.forEach(o)}return a||l?((0,i.kJ)(a)?a.forEach((t=>s[t]=null)):(0,i.l7)(s,a),o.set(t,s),s):(o.set(t,null),null)}function P(t,e){return!(!t||!(0,i.F7)(e))&&(e=e.slice(2).replace(/Once$/,""),(0,i.RI)(t,e[0].toLowerCase()+e.slice(1))||(0,i.RI)(t,(0,i.rs)(e))||(0,i.RI)(t,e))}let z=null,j=null;function M(t){const e=z;return z=t,j=t&&t.type.__scopeId||null,e}function B(t,e=z,n){if(!e)return t;if(t._n)return t;const o=(...n)=>{o._d&&Ke(-1);const i=M(e),r=t(...n);return M(i),o._d&&Ke(1),r};return o._n=!0,o._c=!0,o._d=!0,o}function F(t){const{type:e,vnode:n,proxy:o,withProxy:r,props:a,propsOptions:[l],slots:c,attrs:d,emit:u,render:h,renderCache:p,data:f,setupState:m,ctx:g,inheritAttrs:b}=t;let v,y;const w=M(t);try{if(4&n.shapeFlag){const t=r||o;v=fn(h.call(t,t,p,a,m,f,g)),y=d}else{const t=e;0,v=fn(t.length>1?t(a,{attrs:d,slots:c,emit:u}):t(a,null)),y=e.props?d:H(d)}}catch(k){Ve.length=0,s(k,t,1),v=ln(Ue)}let x=v;if(y&&!1!==b){const t=Object.keys(y),{shapeFlag:e}=x;t.length&&7&e&&(l&&t.some(i.tR)&&(y=W(y,l)),x=un(x,y))}return n.dirs&&(x=un(x),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&(x.transition=n.transition),v=x,M(w),v}const H=t=>{let e;for(const n in t)("class"===n||"style"===n||(0,i.F7)(n))&&((e||(e={}))[n]=t[n]);return e},W=(t,e)=>{const n={};for(const o in t)(0,i.tR)(o)&&o.slice(9)in e||(n[o]=t[o]);return n};function U(t,e,n){const{props:o,children:i,component:r}=t,{props:a,children:s,patchFlag:l}=e,c=r.emitsOptions;if(e.dirs||e.transition)return!0;if(!(n&&l>=0))return!(!i&&!s||s&&s.$stable)||o!==a&&(o?!a||q(o,a,c):!!a);if(1024&l)return!0;if(16&l)return o?q(o,a,c):!!a;if(8&l){const t=e.dynamicProps;for(let e=0;et.__isSuspense;function G(t,e){e&&e.pendingBranch?(0,i.kJ)(t)?e.effects.push(...t):e.effects.push(t):T(t)}function X(t,e){if(kn){let n=kn.provides;const o=kn.parent&&kn.parent.provides;o===n&&(n=kn.provides=Object.create(o)),n[t]=e}else 0}function J(t,e,n=!1){const o=kn||z;if(o){const r=null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(r&&t in r)return r[t];if(arguments.length>1)return n&&(0,i.mf)(e)?e.call(o.proxy):e}else 0}const K={};function Z(t,e,n){return Q(t,e,n)}function Q(t,e,{immediate:n,deep:s,flush:l,onTrack:c,onTrigger:d}=i.kT){const u=kn;let h,p,f=!1,m=!1;if((0,o.dq)(t)?(h=()=>t.value,f=(0,o.yT)(t)):(0,o.PG)(t)?(h=()=>t,s=!0):(0,i.kJ)(t)?(m=!0,f=t.some((t=>(0,o.PG)(t)||(0,o.yT)(t))),h=()=>t.map((t=>(0,o.dq)(t)?t.value:(0,o.PG)(t)?nt(t):(0,i.mf)(t)?r(t,u,2):void 0))):h=(0,i.mf)(t)?e?()=>r(t,u,2):()=>{if(!u||!u.isUnmounted)return p&&p(),a(t,u,3,[g])}:i.dG,e&&s){const t=h;h=()=>nt(t())}let g=t=>{p=w.onStop=()=>{r(t,u,4)}};if(Tn)return g=i.dG,e?n&&a(e,u,3,[h(),m?[]:void 0,g]):h(),i.dG;let b=m?[]:K;const v=()=>{if(w.active)if(e){const t=w.run();(s||f||(m?t.some(((t,e)=>(0,i.aU)(t,b[e]))):(0,i.aU)(t,b)))&&(p&&p(),a(e,u,3,[t,b===K?void 0:b,g]),b=t)}else w.run()};let y;v.allowRecurse=!!e,y="sync"===l?v:"post"===l?()=>Ae(v,u&&u.suspense):()=>A(v);const w=new o.qq(h,y);return e?n?v():b=w.run():"post"===l?Ae(w.run.bind(w),u&&u.suspense):w.run(),()=>{w.stop(),u&&u.scope&&(0,i.Od)(u.scope.effects,w)}}function tt(t,e,n){const o=this.proxy,r=(0,i.HD)(t)?t.includes(".")?et(o,t):()=>o[t]:t.bind(o,o);let a;(0,i.mf)(e)?a=e:(a=e.handler,n=e);const s=kn;En(this);const l=Q(r,a.bind(o),n);return s?En(s):Sn(),l}function et(t,e){const n=e.split(".");return()=>{let e=t;for(let t=0;t{nt(t,e)}));else if((0,i.PO)(t))for(const n in t)nt(t[n],e);return t}function ot(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return _t((()=>{t.isMounted=!0})),Tt((()=>{t.isUnmounting=!0})),t}const it=[Function,Array],rt={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:it,onEnter:it,onAfterEnter:it,onEnterCancelled:it,onBeforeLeave:it,onLeave:it,onAfterLeave:it,onLeaveCancelled:it,onBeforeAppear:it,onAppear:it,onAfterAppear:it,onAppearCancelled:it},setup(t,{slots:e}){const n=$n(),i=ot();let r;return()=>{const a=e.default&&ht(e.default(),!0);if(!a||!a.length)return;let s=a[0];if(a.length>1){let t=!1;for(const e of a)if(e.type!==Ue){0,s=e,t=!0;break}}const l=(0,o.IU)(t),{mode:c}=l;if(i.isLeaving)return ct(s);const d=dt(s);if(!d)return ct(s);const u=lt(d,l,i,n);ut(d,u);const h=n.subTree,p=h&&dt(h);let f=!1;const{getTransitionKey:m}=d.type;if(m){const t=m();void 0===r?r=t:t!==r&&(r=t,f=!0)}if(p&&p.type!==Ue&&(!nn(d,p)||f)){const t=lt(p,l,i,n);if(ut(p,t),"out-in"===c)return i.isLeaving=!0,t.afterLeave=()=>{i.isLeaving=!1,n.update()},ct(s);"in-out"===c&&d.type!==Ue&&(t.delayLeave=(t,e,n)=>{const o=st(i,p);o[String(p.key)]=p,t._leaveCb=()=>{e(),t._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return s}}},at=rt;function st(t,e){const{leavingVNodes:n}=t;let o=n.get(e.type);return o||(o=Object.create(null),n.set(e.type,o)),o}function lt(t,e,n,o){const{appear:r,mode:s,persisted:l=!1,onBeforeEnter:c,onEnter:d,onAfterEnter:u,onEnterCancelled:h,onBeforeLeave:p,onLeave:f,onAfterLeave:m,onLeaveCancelled:g,onBeforeAppear:b,onAppear:v,onAfterAppear:y,onAppearCancelled:w}=e,x=String(t.key),k=st(n,t),$=(t,e)=>{t&&a(t,o,9,e)},E=(t,e)=>{const n=e[1];$(t,e),(0,i.kJ)(t)?t.every((t=>t.length<=1))&&n():t.length<=1&&n()},S={mode:s,persisted:l,beforeEnter(e){let o=c;if(!n.isMounted){if(!r)return;o=b||c}e._leaveCb&&e._leaveCb(!0);const i=k[x];i&&nn(t,i)&&i.el._leaveCb&&i.el._leaveCb(),$(o,[e])},enter(t){let e=d,o=u,i=h;if(!n.isMounted){if(!r)return;e=v||d,o=y||u,i=w||h}let a=!1;const s=t._enterCb=e=>{a||(a=!0,$(e?i:o,[t]),S.delayedLeave&&S.delayedLeave(),t._enterCb=void 0)};e?E(e,[t,s]):s()},leave(e,o){const i=String(t.key);if(e._enterCb&&e._enterCb(!0),n.isUnmounting)return o();$(p,[e]);let r=!1;const a=e._leaveCb=n=>{r||(r=!0,o(),$(n?g:m,[e]),e._leaveCb=void 0,k[i]===t&&delete k[i])};k[i]=t,f?E(f,[e,a]):a()},clone(t){return lt(t,e,n,o)}};return S}function ct(t){if(mt(t))return t=un(t),t.children=null,t}function dt(t){return mt(t)?t.children?t.children[0]:void 0:t}function ut(t,e){6&t.shapeFlag&&t.component?ut(t.component.subTree,e):128&t.shapeFlag?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function ht(t,e=!1,n){let o=[],i=0;for(let r=0;r1)for(let r=0;r!!t.type.__asyncLoader;const mt=t=>t.type.__isKeepAlive;RegExp,RegExp;function gt(t,e){return(0,i.kJ)(t)?t.some((t=>gt(t,e))):(0,i.HD)(t)?t.split(",").includes(e):!!t.test&&t.test(e)}function bt(t,e){yt(t,"a",e)}function vt(t,e){yt(t,"da",e)}function yt(t,e,n=kn){const o=t.__wdc||(t.__wdc=()=>{let e=n;while(e){if(e.isDeactivated)return;e=e.parent}return t()});if($t(e,o,n),n){let t=n.parent;while(t&&t.parent)mt(t.parent.vnode)&&wt(o,e,n,t),t=t.parent}}function wt(t,e,n,o){const r=$t(e,t,o,!0);It((()=>{(0,i.Od)(o[e],r)}),n)}function xt(t){let e=t.shapeFlag;256&e&&(e-=256),512&e&&(e-=512),t.shapeFlag=e}function kt(t){return 128&t.shapeFlag?t.ssContent:t}function $t(t,e,n=kn,i=!1){if(n){const r=n[t]||(n[t]=[]),s=e.__weh||(e.__weh=(...i)=>{if(n.isUnmounted)return;(0,o.Jd)(),En(n);const r=a(e,n,t,i);return Sn(),(0,o.lk)(),r});return i?r.unshift(s):r.push(s),s}}const Et=t=>(e,n=kn)=>(!Tn||"sp"===t)&&$t(t,e,n),St=Et("bm"),_t=Et("m"),Ct=Et("bu"),At=Et("u"),Tt=Et("bum"),It=Et("um"),Lt=Et("sp"),Rt=Et("rtg"),Ot=Et("rtc");function Dt(t,e=kn){$t("ec",t,e)}function Nt(t,e,n,i){const r=t.dirs,s=e&&e.dirs;for(let l=0;le(t,n,void 0,a&&a[n])));else{const n=Object.keys(t);r=new Array(n.length);for(let o=0,i=n.length;o!en(t)||t.type!==Ue&&!(t.type===He&&!Wt(t.children))))?t:null}const Ut=t=>t?_n(t)?Pn(t)||t.proxy:Ut(t.parent):null,qt=(0,i.l7)(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Ut(t.parent),$root:t=>Ut(t.root),$emit:t=>t.emit,$options:t=>Zt(t),$forceUpdate:t=>t.f||(t.f=()=>E(t.update)),$nextTick:t=>t.n||(t.n=k.bind(t.proxy)),$watch:t=>tt.bind(t)}),Vt={get({_:t},e){const{ctx:n,setupState:r,data:a,props:s,accessCache:l,type:c,appContext:d}=t;let u;if("$"!==e[0]){const o=l[e];if(void 0!==o)switch(o){case 1:return r[e];case 2:return a[e];case 4:return n[e];case 3:return s[e]}else{if(r!==i.kT&&(0,i.RI)(r,e))return l[e]=1,r[e];if(a!==i.kT&&(0,i.RI)(a,e))return l[e]=2,a[e];if((u=t.propsOptions[0])&&(0,i.RI)(u,e))return l[e]=3,s[e];if(n!==i.kT&&(0,i.RI)(n,e))return l[e]=4,n[e];Yt&&(l[e]=0)}}const h=qt[e];let p,f;return h?("$attrs"===e&&(0,o.j)(t,"get",e),h(t)):(p=c.__cssModules)&&(p=p[e])?p:n!==i.kT&&(0,i.RI)(n,e)?(l[e]=4,n[e]):(f=d.config.globalProperties,(0,i.RI)(f,e)?f[e]:void 0)},set({_:t},e,n){const{data:o,setupState:r,ctx:a}=t;return r!==i.kT&&(0,i.RI)(r,e)?(r[e]=n,!0):o!==i.kT&&(0,i.RI)(o,e)?(o[e]=n,!0):!(0,i.RI)(t.props,e)&&(("$"!==e[0]||!(e.slice(1)in t))&&(a[e]=n,!0))},has({_:{data:t,setupState:e,accessCache:n,ctx:o,appContext:r,propsOptions:a}},s){let l;return!!n[s]||t!==i.kT&&(0,i.RI)(t,s)||e!==i.kT&&(0,i.RI)(e,s)||(l=a[0])&&(0,i.RI)(l,s)||(0,i.RI)(o,s)||(0,i.RI)(qt,s)||(0,i.RI)(r.config.globalProperties,s)},defineProperty(t,e,n){return null!=n.get?t._.accessCache[e]=0:(0,i.RI)(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};let Yt=!0;function Gt(t){const e=Zt(t),n=t.proxy,r=t.ctx;Yt=!1,e.beforeCreate&&Jt(e.beforeCreate,t,"bc");const{data:a,computed:s,methods:l,watch:c,provide:d,inject:u,created:h,beforeMount:p,mounted:f,beforeUpdate:m,updated:g,activated:b,deactivated:v,beforeDestroy:y,beforeUnmount:w,destroyed:x,unmounted:k,render:$,renderTracked:E,renderTriggered:S,errorCaptured:_,serverPrefetch:C,expose:A,inheritAttrs:T,components:I,directives:L,filters:R}=e,O=null;if(u&&Xt(u,r,O,t.appContext.config.unwrapInjectedRef),l)for(const o in l){const t=l[o];(0,i.mf)(t)&&(r[o]=t.bind(n))}if(a){0;const e=a.call(n,n);0,(0,i.Kn)(e)&&(t.data=(0,o.qj)(e))}if(Yt=!0,s)for(const o in s){const t=s[o],e=(0,i.mf)(t)?t.bind(n,n):(0,i.mf)(t.get)?t.get.bind(n,n):i.dG;0;const a=!(0,i.mf)(t)&&(0,i.mf)(t.set)?t.set.bind(n):i.dG,l=Mn({get:e,set:a});Object.defineProperty(r,o,{enumerable:!0,configurable:!0,get:()=>l.value,set:t=>l.value=t})}if(c)for(const o in c)Kt(c[o],r,n,o);if(d){const t=(0,i.mf)(d)?d.call(n):d;Reflect.ownKeys(t).forEach((e=>{X(e,t[e])}))}function D(t,e){(0,i.kJ)(e)?e.forEach((e=>t(e.bind(n)))):e&&t(e.bind(n))}if(h&&Jt(h,t,"c"),D(St,p),D(_t,f),D(Ct,m),D(At,g),D(bt,b),D(vt,v),D(Dt,_),D(Ot,E),D(Rt,S),D(Tt,w),D(It,k),D(Lt,C),(0,i.kJ)(A))if(A.length){const e=t.exposed||(t.exposed={});A.forEach((t=>{Object.defineProperty(e,t,{get:()=>n[t],set:e=>n[t]=e})}))}else t.exposed||(t.exposed={});$&&t.render===i.dG&&(t.render=$),null!=T&&(t.inheritAttrs=T),I&&(t.components=I),L&&(t.directives=L)}function Xt(t,e,n=i.dG,r=!1){(0,i.kJ)(t)&&(t=oe(t));for(const a in t){const n=t[a];let s;s=(0,i.Kn)(n)?"default"in n?J(n.from||a,n.default,!0):J(n.from||a):J(n),(0,o.dq)(s)&&r?Object.defineProperty(e,a,{enumerable:!0,configurable:!0,get:()=>s.value,set:t=>s.value=t}):e[a]=s}}function Jt(t,e,n){a((0,i.kJ)(t)?t.map((t=>t.bind(e.proxy))):t.bind(e.proxy),e,n)}function Kt(t,e,n,o){const r=o.includes(".")?et(n,o):()=>n[o];if((0,i.HD)(t)){const n=e[t];(0,i.mf)(n)&&Z(r,n)}else if((0,i.mf)(t))Z(r,t.bind(n));else if((0,i.Kn)(t))if((0,i.kJ)(t))t.forEach((t=>Kt(t,e,n,o)));else{const o=(0,i.mf)(t.handler)?t.handler.bind(n):e[t.handler];(0,i.mf)(o)&&Z(r,o,t)}else 0}function Zt(t){const e=t.type,{mixins:n,extends:o}=e,{mixins:i,optionsCache:r,config:{optionMergeStrategies:a}}=t.appContext,s=r.get(e);let l;return s?l=s:i.length||n||o?(l={},i.length&&i.forEach((t=>Qt(l,t,a,!0))),Qt(l,e,a)):l=e,r.set(e,l),l}function Qt(t,e,n,o=!1){const{mixins:i,extends:r}=e;r&&Qt(t,r,n,!0),i&&i.forEach((e=>Qt(t,e,n,!0)));for(const a in e)if(o&&"expose"===a);else{const o=te[a]||n&&n[a];t[a]=o?o(t[a],e[a]):e[a]}return t}const te={data:ee,props:re,emits:re,methods:re,computed:re,beforeCreate:ie,created:ie,beforeMount:ie,mounted:ie,beforeUpdate:ie,updated:ie,beforeDestroy:ie,beforeUnmount:ie,destroyed:ie,unmounted:ie,activated:ie,deactivated:ie,errorCaptured:ie,serverPrefetch:ie,components:re,directives:re,watch:ae,provide:ee,inject:ne};function ee(t,e){return e?t?function(){return(0,i.l7)((0,i.mf)(t)?t.call(this,this):t,(0,i.mf)(e)?e.call(this,this):e)}:e:t}function ne(t,e){return re(oe(t),oe(e))}function oe(t){if((0,i.kJ)(t)){const e={};for(let n=0;n0)||16&l){let o;ce(t,e,a,s)&&(u=!0);for(const r in c)e&&((0,i.RI)(e,r)||(o=(0,i.rs)(r))!==r&&(0,i.RI)(e,o))||(d?!n||void 0===n[r]&&void 0===n[o]||(a[r]=de(d,c,r,void 0,t,!0)):delete a[r]);if(s!==c)for(const t in s)e&&(0,i.RI)(e,t)||(delete s[t],u=!0)}else if(8&l){const n=t.vnode.dynamicProps;for(let o=0;o{c=!0;const[n,o]=ue(t,e,!0);(0,i.l7)(s,n),o&&l.push(...o)};!n&&e.mixins.length&&e.mixins.forEach(o),t.extends&&o(t.extends),t.mixins&&t.mixins.forEach(o)}if(!a&&!c)return o.set(t,i.Z6),i.Z6;if((0,i.kJ)(a))for(let u=0;u-1,o[1]=n<0||t-1||(0,i.RI)(o,"default"))&&l.push(e)}}}}const d=[s,l];return o.set(t,d),d}function he(t){return"$"!==t[0]}function pe(t){const e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:null===t?"null":""}function fe(t,e){return pe(t)===pe(e)}function me(t,e){return(0,i.kJ)(e)?e.findIndex((e=>fe(e,t))):(0,i.mf)(e)&&fe(e,t)?0:-1}const ge=t=>"_"===t[0]||"$stable"===t,be=t=>(0,i.kJ)(t)?t.map(fn):[fn(t)],ve=(t,e,n)=>{if(e._n)return e;const o=B(((...t)=>be(e(...t))),n);return o._c=!1,o},ye=(t,e,n)=>{const o=t._ctx;for(const r in t){if(ge(r))continue;const n=t[r];if((0,i.mf)(n))e[r]=ve(r,n,o);else if(null!=n){0;const t=be(n);e[r]=()=>t}}},we=(t,e)=>{const n=be(e);t.slots.default=()=>n},xe=(t,e)=>{if(32&t.vnode.shapeFlag){const n=e._;n?(t.slots=(0,o.IU)(e),(0,i.Nj)(e,"_",n)):ye(e,t.slots={})}else t.slots={},e&&we(t,e);(0,i.Nj)(t.slots,on,1)},ke=(t,e,n)=>{const{vnode:o,slots:r}=t;let a=!0,s=i.kT;if(32&o.shapeFlag){const t=e._;t?n&&1===t?a=!1:((0,i.l7)(r,e),n||1!==t||delete r._):(a=!e.$stable,ye(e,r)),s=e}else e&&(we(t,e),s={default:1});if(a)for(const i in r)ge(i)||i in s||delete r[i]};function $e(){return{app:null,config:{isNativeTag:i.NO,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Ee=0;function Se(t,e){return function(n,o=null){(0,i.mf)(n)||(n=Object.assign({},n)),null==o||(0,i.Kn)(o)||(o=null);const r=$e(),a=new Set;let s=!1;const l=r.app={_uid:Ee++,_component:n,_props:o,_container:null,_context:r,_instance:null,version:Fn,get config(){return r.config},set config(t){0},use(t,...e){return a.has(t)||(t&&(0,i.mf)(t.install)?(a.add(t),t.install(l,...e)):(0,i.mf)(t)&&(a.add(t),t(l,...e))),l},mixin(t){return r.mixins.includes(t)||r.mixins.push(t),l},component(t,e){return e?(r.components[t]=e,l):r.components[t]},directive(t,e){return e?(r.directives[t]=e,l):r.directives[t]},mount(i,a,c){if(!s){0;const d=ln(n,o);return d.appContext=r,a&&e?e(d,i):t(d,i,c),s=!0,l._container=i,i.__vue_app__=l,Pn(d.component)||d.component.proxy}},unmount(){s&&(t(null,l._container),delete l._container.__vue_app__)},provide(t,e){return r.provides[t]=e,l}};return l}}function _e(t,e,n,a,s=!1){if((0,i.kJ)(t))return void t.forEach(((t,o)=>_e(t,e&&((0,i.kJ)(e)?e[o]:e),n,a,s)));if(ft(a)&&!s)return;const l=4&a.shapeFlag?Pn(a.component)||a.component.proxy:a.el,c=s?null:l,{i:d,r:u}=t;const h=e&&e.r,p=d.refs===i.kT?d.refs={}:d.refs,f=d.setupState;if(null!=h&&h!==u&&((0,i.HD)(h)?(p[h]=null,(0,i.RI)(f,h)&&(f[h]=null)):(0,o.dq)(h)&&(h.value=null)),(0,i.mf)(u))r(u,d,12,[c,p]);else{const e=(0,i.HD)(u),r=(0,o.dq)(u);if(e||r){const o=()=>{if(t.f){const n=e?p[u]:u.value;s?(0,i.kJ)(n)&&(0,i.Od)(n,l):(0,i.kJ)(n)?n.includes(l)||n.push(l):e?(p[u]=[l],(0,i.RI)(f,u)&&(f[u]=p[u])):(u.value=[l],t.k&&(p[t.k]=u.value))}else e?(p[u]=c,(0,i.RI)(f,u)&&(f[u]=c)):r&&(u.value=c,t.k&&(p[t.k]=c))};c?(o.id=-1,Ae(o,n)):o()}else 0}}function Ce(){}const Ae=G;function Te(t){return Ie(t)}function Ie(t,e){Ce();const n=(0,i.E9)();n.__VUE__=!0;const{insert:r,remove:a,patchProp:s,createElement:l,createText:c,createComment:d,setText:u,setElementText:h,parentNode:p,nextSibling:f,setScopeId:m=i.dG,cloneNode:g,insertStaticContent:b}=t,v=(t,e,n,o=null,i=null,r=null,a=!1,s=null,l=!!e.dynamicChildren)=>{if(t===e)return;t&&!nn(t,e)&&(o=Q(t),G(t,i,r,!0),t=null),-2===e.patchFlag&&(l=!1,e.dynamicChildren=null);const{type:c,ref:d,shapeFlag:u}=e;switch(c){case We:y(t,e,n,o);break;case Ue:w(t,e,n,o);break;case qe:null==t&&x(e,n,o,a);break;case He:N(t,e,n,o,i,r,a,s,l);break;default:1&u?S(t,e,n,o,i,r,a,s,l):6&u?P(t,e,n,o,i,r,a,s,l):(64&u||128&u)&&c.process(t,e,n,o,i,r,a,s,l,et)}null!=d&&i&&_e(d,t&&t.ref,r,e||t,!e)},y=(t,e,n,o)=>{if(null==t)r(e.el=c(e.children),n,o);else{const n=e.el=t.el;e.children!==t.children&&u(n,e.children)}},w=(t,e,n,o)=>{null==t?r(e.el=d(e.children||""),n,o):e.el=t.el},x=(t,e,n,o)=>{[t.el,t.anchor]=b(t.children,e,n,o,t.el,t.anchor)},k=({el:t,anchor:e},n,o)=>{let i;while(t&&t!==e)i=f(t),r(t,n,o),t=i;r(e,n,o)},$=({el:t,anchor:e})=>{let n;while(t&&t!==e)n=f(t),a(t),t=n;a(e)},S=(t,e,n,o,i,r,a,s,l)=>{a=a||"svg"===e.type,null==t?C(e,n,o,i,r,a,s,l):R(t,e,i,r,a,s,l)},C=(t,e,n,o,a,c,d,u)=>{let p,f;const{type:m,props:b,shapeFlag:v,transition:y,patchFlag:w,dirs:x}=t;if(t.el&&void 0!==g&&-1===w)p=t.el=g(t.el);else{if(p=t.el=l(t.type,c,b&&b.is,b),8&v?h(p,t.children):16&v&&T(t.children,p,null,o,a,c&&"foreignObject"!==m,d,u),x&&Nt(t,null,o,"created"),b){for(const e in b)"value"===e||(0,i.Gg)(e)||s(p,e,null,b[e],c,t.children,o,a,Z);"value"in b&&s(p,"value",null,b.value),(f=b.onVnodeBeforeMount)&&vn(f,o,t)}A(p,t,t.scopeId,d,o)}x&&Nt(t,null,o,"beforeMount");const k=(!a||a&&!a.pendingBranch)&&y&&!y.persisted;k&&y.beforeEnter(p),r(p,e,n),((f=b&&b.onVnodeMounted)||k||x)&&Ae((()=>{f&&vn(f,o,t),k&&y.enter(p),x&&Nt(t,null,o,"mounted")}),a)},A=(t,e,n,o,i)=>{if(n&&m(t,n),o)for(let r=0;r{for(let c=l;c{const c=e.el=t.el;let{patchFlag:d,dynamicChildren:u,dirs:p}=e;d|=16&t.patchFlag;const f=t.props||i.kT,m=e.props||i.kT;let g;n&&Le(n,!1),(g=m.onVnodeBeforeUpdate)&&vn(g,n,e,t),p&&Nt(e,t,n,"beforeUpdate"),n&&Le(n,!0);const b=r&&"foreignObject"!==e.type;if(u?O(t.dynamicChildren,u,c,n,o,b,a):l||H(t,e,c,null,n,o,b,a,!1),d>0){if(16&d)D(c,e,f,m,n,o,r);else if(2&d&&f.class!==m.class&&s(c,"class",null,m.class,r),4&d&&s(c,"style",f.style,m.style,r),8&d){const i=e.dynamicProps;for(let e=0;e{g&&vn(g,n,e,t),p&&Nt(e,t,n,"updated")}),o)},O=(t,e,n,o,i,r,a)=>{for(let s=0;s{if(n!==o){for(const c in o){if((0,i.Gg)(c))continue;const d=o[c],u=n[c];d!==u&&"value"!==c&&s(t,c,u,d,l,e.children,r,a,Z)}if(n!==i.kT)for(const c in n)(0,i.Gg)(c)||c in o||s(t,c,n[c],null,l,e.children,r,a,Z);"value"in o&&s(t,"value",n.value,o.value)}},N=(t,e,n,o,i,a,s,l,d)=>{const u=e.el=t?t.el:c(""),h=e.anchor=t?t.anchor:c("");let{patchFlag:p,dynamicChildren:f,slotScopeIds:m}=e;m&&(l=l?l.concat(m):m),null==t?(r(u,n,o),r(h,n,o),T(e.children,n,h,i,a,s,l,d)):p>0&&64&p&&f&&t.dynamicChildren?(O(t.dynamicChildren,f,n,i,a,s,l),(null!=e.key||i&&e===i.subTree)&&Re(t,e,!0)):H(t,e,n,h,i,a,s,l,d)},P=(t,e,n,o,i,r,a,s,l)=>{e.slotScopeIds=s,null==t?512&e.shapeFlag?i.ctx.activate(e,n,o,a,l):z(e,n,o,i,r,a,l):j(t,e,l)},z=(t,e,n,o,i,r,a)=>{const s=t.component=xn(t,o,i);if(mt(t)&&(s.ctx.renderer=et),In(s),s.asyncDep){if(i&&i.registerDep(s,M),!t.el){const t=s.subTree=ln(Ue);w(null,t,e,n)}}else M(s,t,e,n,i,r,a)},j=(t,e,n)=>{const o=e.component=t.component;if(U(t,e,n)){if(o.asyncDep&&!o.asyncResolved)return void B(o,e,n);o.next=e,_(o.update),o.update()}else e.el=t.el,o.vnode=e},M=(t,e,n,r,a,s,l)=>{const c=()=>{if(t.isMounted){let e,{next:n,bu:o,u:r,parent:c,vnode:d}=t,u=n;0,Le(t,!1),n?(n.el=d.el,B(t,n,l)):n=d,o&&(0,i.ir)(o),(e=n.props&&n.props.onVnodeBeforeUpdate)&&vn(e,c,n,d),Le(t,!0);const h=F(t);0;const f=t.subTree;t.subTree=h,v(f,h,p(f.el),Q(f),t,a,s),n.el=h.el,null===u&&V(t,h.el),r&&Ae(r,a),(e=n.props&&n.props.onVnodeUpdated)&&Ae((()=>vn(e,c,n,d)),a)}else{let o;const{el:l,props:c}=e,{bm:d,m:u,parent:h}=t,p=ft(e);if(Le(t,!1),d&&(0,i.ir)(d),!p&&(o=c&&c.onVnodeBeforeMount)&&vn(o,h,e),Le(t,!0),l&&ot){const n=()=>{t.subTree=F(t),ot(l,t.subTree,t,a,null)};p?e.type.__asyncLoader().then((()=>!t.isUnmounted&&n())):n()}else{0;const o=t.subTree=F(t);0,v(null,o,n,r,t,a,s),e.el=o.el}if(u&&Ae(u,a),!p&&(o=c&&c.onVnodeMounted)){const t=e;Ae((()=>vn(o,h,t)),a)}(256&e.shapeFlag||h&&ft(h.vnode)&&256&h.vnode.shapeFlag)&&t.a&&Ae(t.a,a),t.isMounted=!0,e=n=r=null}},d=t.effect=new o.qq(c,(()=>E(u)),t.scope),u=t.update=()=>d.run();u.id=t.uid,Le(t,!0),u()},B=(t,e,n)=>{e.component=t;const i=t.vnode.props;t.vnode=e,t.next=null,le(t,e.props,i,n),ke(t,e.children,n),(0,o.Jd)(),I(void 0,t.update),(0,o.lk)()},H=(t,e,n,o,i,r,a,s,l=!1)=>{const c=t&&t.children,d=t?t.shapeFlag:0,u=e.children,{patchFlag:p,shapeFlag:f}=e;if(p>0){if(128&p)return void q(c,u,n,o,i,r,a,s,l);if(256&p)return void W(c,u,n,o,i,r,a,s,l)}8&f?(16&d&&Z(c,i,r),u!==c&&h(n,u)):16&d?16&f?q(c,u,n,o,i,r,a,s,l):Z(c,i,r,!0):(8&d&&h(n,""),16&f&&T(u,n,o,i,r,a,s,l))},W=(t,e,n,o,r,a,s,l,c)=>{t=t||i.Z6,e=e||i.Z6;const d=t.length,u=e.length,h=Math.min(d,u);let p;for(p=0;pu?Z(t,r,a,!0,!1,h):T(e,n,o,r,a,s,l,c,h)},q=(t,e,n,o,r,a,s,l,c)=>{let d=0;const u=e.length;let h=t.length-1,p=u-1;while(d<=h&&d<=p){const o=t[d],i=e[d]=c?mn(e[d]):fn(e[d]);if(!nn(o,i))break;v(o,i,n,null,r,a,s,l,c),d++}while(d<=h&&d<=p){const o=t[h],i=e[p]=c?mn(e[p]):fn(e[p]);if(!nn(o,i))break;v(o,i,n,null,r,a,s,l,c),h--,p--}if(d>h){if(d<=p){const t=p+1,i=tp)while(d<=h)G(t[d],r,a,!0),d++;else{const f=d,m=d,g=new Map;for(d=m;d<=p;d++){const t=e[d]=c?mn(e[d]):fn(e[d]);null!=t.key&&g.set(t.key,d)}let b,y=0;const w=p-m+1;let x=!1,k=0;const $=new Array(w);for(d=0;d=w){G(o,r,a,!0);continue}let i;if(null!=o.key)i=g.get(o.key);else for(b=m;b<=p;b++)if(0===$[b-m]&&nn(o,e[b])){i=b;break}void 0===i?G(o,r,a,!0):($[i-m]=d+1,i>=k?k=i:x=!0,v(o,e[i],n,null,r,a,s,l,c),y++)}const E=x?Oe($):i.Z6;for(b=E.length-1,d=w-1;d>=0;d--){const t=m+d,i=e[t],h=t+1{const{el:a,type:s,transition:l,children:c,shapeFlag:d}=t;if(6&d)return void Y(t.component.subTree,e,n,o);if(128&d)return void t.suspense.move(e,n,o);if(64&d)return void s.move(t,e,n,et);if(s===He){r(a,e,n);for(let t=0;tl.enter(a)),i);else{const{leave:t,delayLeave:o,afterLeave:i}=l,s=()=>r(a,e,n),c=()=>{t(a,(()=>{s(),i&&i()}))};o?o(a,s,c):c()}else r(a,e,n)},G=(t,e,n,o=!1,i=!1)=>{const{type:r,props:a,ref:s,children:l,dynamicChildren:c,shapeFlag:d,patchFlag:u,dirs:h}=t;if(null!=s&&_e(s,null,n,t,!0),256&d)return void e.ctx.deactivate(t);const p=1&d&&h,f=!ft(t);let m;if(f&&(m=a&&a.onVnodeBeforeUnmount)&&vn(m,e,t),6&d)K(t.component,n,o);else{if(128&d)return void t.suspense.unmount(n,o);p&&Nt(t,null,e,"beforeUnmount"),64&d?t.type.remove(t,e,n,i,et,o):c&&(r!==He||u>0&&64&u)?Z(c,e,n,!1,!0):(r===He&&384&u||!i&&16&d)&&Z(l,e,n),o&&X(t)}(f&&(m=a&&a.onVnodeUnmounted)||p)&&Ae((()=>{m&&vn(m,e,t),p&&Nt(t,null,e,"unmounted")}),n)},X=t=>{const{type:e,el:n,anchor:o,transition:i}=t;if(e===He)return void J(n,o);if(e===qe)return void $(t);const r=()=>{a(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&t.shapeFlag&&i&&!i.persisted){const{leave:e,delayLeave:o}=i,a=()=>e(n,r);o?o(t.el,r,a):a()}else r()},J=(t,e)=>{let n;while(t!==e)n=f(t),a(t),t=n;a(e)},K=(t,e,n)=>{const{bum:o,scope:r,update:a,subTree:s,um:l}=t;o&&(0,i.ir)(o),r.stop(),a&&(a.active=!1,G(s,t,e,n)),l&&Ae(l,e),Ae((()=>{t.isUnmounted=!0}),e),e&&e.pendingBranch&&!e.isUnmounted&&t.asyncDep&&!t.asyncResolved&&t.suspenseId===e.pendingId&&(e.deps--,0===e.deps&&e.resolve())},Z=(t,e,n,o=!1,i=!1,r=0)=>{for(let a=r;a6&t.shapeFlag?Q(t.component.subTree):128&t.shapeFlag?t.suspense.next():f(t.anchor||t.el),tt=(t,e,n)=>{null==t?e._vnode&&G(e._vnode,null,null,!0):v(e._vnode||null,t,e,null,null,null,n),L(),e._vnode=t},et={p:v,um:G,m:Y,r:X,mt:z,mc:T,pc:H,pbc:O,n:Q,o:t};let nt,ot;return e&&([nt,ot]=e(et)),{render:tt,hydrate:nt,createApp:Se(tt,nt)}}function Le({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Re(t,e,n=!1){const o=t.children,r=e.children;if((0,i.kJ)(o)&&(0,i.kJ)(r))for(let i=0;i>1,t[n[s]]0&&(e[o]=n[r-1]),n[r]=o)}}r=n.length,a=n[r-1];while(r-- >0)n[r]=a,a=e[a];return n}const De=t=>t.__isTeleport,Ne=t=>t&&(t.disabled||""===t.disabled),Pe=t=>"undefined"!==typeof SVGElement&&t instanceof SVGElement,ze=(t,e)=>{const n=t&&t.to;if((0,i.HD)(n)){if(e){const t=e(n);return t}return null}return n},je={__isTeleport:!0,process(t,e,n,o,i,r,a,s,l,c){const{mc:d,pc:u,pbc:h,o:{insert:p,querySelector:f,createText:m,createComment:g}}=c,b=Ne(e.props);let{shapeFlag:v,children:y,dynamicChildren:w}=e;if(null==t){const t=e.el=m(""),c=e.anchor=m("");p(t,n,o),p(c,n,o);const u=e.target=ze(e.props,f),h=e.targetAnchor=m("");u&&(p(h,u),a=a||Pe(u));const g=(t,e)=>{16&v&&d(y,t,e,i,r,a,s,l)};b?g(n,c):u&&g(u,h)}else{e.el=t.el;const o=e.anchor=t.anchor,d=e.target=t.target,p=e.targetAnchor=t.targetAnchor,m=Ne(t.props),g=m?n:d,v=m?o:p;if(a=a||Pe(d),w?(h(t.dynamicChildren,w,g,i,r,a,s),Re(t,e,!0)):l||u(t,e,g,v,i,r,a,s,!1),b)m||Me(e,n,o,c,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const t=e.target=ze(e.props,f);t&&Me(e,t,null,c,0)}else m&&Me(e,d,p,c,1)}},remove(t,e,n,o,{um:i,o:{remove:r}},a){const{shapeFlag:s,children:l,anchor:c,targetAnchor:d,target:u,props:h}=t;if(u&&r(d),(a||!Ne(h))&&(r(c),16&s))for(let p=0;p0?Ye||i.Z6:null,Xe(),Je>0&&Ye&&Ye.push(t),t}function Qe(t,e,n,o,i,r){return Ze(sn(t,e,n,o,i,r,!0))}function tn(t,e,n,o,i){return Ze(ln(t,e,n,o,i,!0))}function en(t){return!!t&&!0===t.__v_isVNode}function nn(t,e){return t.type===e.type&&t.key===e.key}const on="__vInternal",rn=({key:t})=>null!=t?t:null,an=({ref:t,ref_key:e,ref_for:n})=>null!=t?(0,i.HD)(t)||(0,o.dq)(t)||(0,i.mf)(t)?{i:z,r:t,k:e,f:!!n}:t:null;function sn(t,e=null,n=null,o=0,r=null,a=(t===He?0:1),s=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&rn(e),ref:e&&an(e),scopeId:j,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null};return l?(gn(c,n),128&a&&t.normalize(c)):n&&(c.shapeFlag|=(0,i.HD)(n)?8:16),Je>0&&!s&&Ye&&(c.patchFlag>0||6&a)&&32!==c.patchFlag&&Ye.push(c),c}const ln=cn;function cn(t,e=null,n=null,r=0,a=null,s=!1){if(t&&t!==jt||(t=Ue),en(t)){const o=un(t,e,!0);return n&&gn(o,n),Je>0&&!s&&Ye&&(6&o.shapeFlag?Ye[Ye.indexOf(t)]=o:Ye.push(o)),o.patchFlag|=-2,o}if(jn(t)&&(t=t.__vccOpts),e){e=dn(e);let{class:t,style:n}=e;t&&!(0,i.HD)(t)&&(e.class=(0,i.C_)(t)),(0,i.Kn)(n)&&((0,o.X3)(n)&&!(0,i.kJ)(n)&&(n=(0,i.l7)({},n)),e.style=(0,i.j5)(n))}const l=(0,i.HD)(t)?1:Y(t)?128:De(t)?64:(0,i.Kn)(t)?4:(0,i.mf)(t)?2:0;return sn(t,e,n,r,a,l,s,!0)}function dn(t){return t?(0,o.X3)(t)||on in t?(0,i.l7)({},t):t:null}function un(t,e,n=!1){const{props:o,ref:r,patchFlag:a,children:s}=t,l=e?bn(o||{},e):o,c={__v_isVNode:!0,__v_skip:!0,type:t.type,props:l,key:l&&rn(l),ref:e&&e.ref?n&&r?(0,i.kJ)(r)?r.concat(an(e)):[r,an(e)]:an(e):r,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:s,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==He?-1===a?16:16|a:a,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&un(t.ssContent),ssFallback:t.ssFallback&&un(t.ssFallback),el:t.el,anchor:t.anchor};return c}function hn(t=" ",e=0){return ln(We,null,t,e)}function pn(t="",e=!1){return e?(Ge(),tn(Ue,null,t)):ln(Ue,null,t)}function fn(t){return null==t||"boolean"===typeof t?ln(Ue):(0,i.kJ)(t)?ln(He,null,t.slice()):"object"===typeof t?mn(t):ln(We,null,String(t))}function mn(t){return null===t.el||t.memo?t:un(t)}function gn(t,e){let n=0;const{shapeFlag:o}=t;if(null==e)e=null;else if((0,i.kJ)(e))n=16;else if("object"===typeof e){if(65&o){const n=e.default;return void(n&&(n._c&&(n._d=!1),gn(t,n()),n._c&&(n._d=!0)))}{n=32;const o=e._;o||on in e?3===o&&z&&(1===z.slots._?e._=1:(e._=2,t.patchFlag|=1024)):e._ctx=z}}else(0,i.mf)(e)?(e={default:e,_ctx:z},n=32):(e=String(e),64&o?(n=16,e=[hn(e)]):n=8);t.children=e,t.shapeFlag|=n}function bn(...t){const e={};for(let n=0;nkn||z,En=t=>{kn=t,t.scope.on()},Sn=()=>{kn&&kn.scope.off(),kn=null};function _n(t){return 4&t.vnode.shapeFlag}let Cn,An,Tn=!1;function In(t,e=!1){Tn=e;const{props:n,children:o}=t.vnode,i=_n(t);se(t,n,i,e),xe(t,o);const r=i?Ln(t,e):void 0;return Tn=!1,r}function Ln(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=(0,o.Xl)(new Proxy(t.ctx,Vt));const{setup:a}=n;if(a){const n=t.setupContext=a.length>1?Nn(t):null;En(t),(0,o.Jd)();const l=r(a,t,0,[t.props,n]);if((0,o.lk)(),Sn(),(0,i.tI)(l)){if(l.then(Sn,Sn),e)return l.then((n=>{Rn(t,n,e)})).catch((e=>{s(e,t,0)}));t.asyncDep=l}else Rn(t,l,e)}else On(t,e)}function Rn(t,e,n){(0,i.mf)(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:(0,i.Kn)(e)&&(t.setupState=(0,o.WL)(e)),On(t,n)}function On(t,e,n){const r=t.type;if(!t.render){if(!e&&Cn&&!r.render){const e=r.template;if(e){0;const{isCustomElement:n,compilerOptions:o}=t.appContext.config,{delimiters:a,compilerOptions:s}=r,l=(0,i.l7)((0,i.l7)({isCustomElement:n,delimiters:a},o),s);r.render=Cn(e,l)}}t.render=r.render||i.dG,An&&An(t)}En(t),(0,o.Jd)(),Gt(t),(0,o.lk)(),Sn()}function Dn(t){return new Proxy(t.attrs,{get(e,n){return(0,o.j)(t,"get","$attrs"),e[n]}})}function Nn(t){const e=e=>{t.exposed=e||{}};let n;return{get attrs(){return n||(n=Dn(t))},slots:t.slots,emit:t.emit,expose:e}}function Pn(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy((0,o.WL)((0,o.Xl)(t.exposed)),{get(e,n){return n in e?e[n]:n in qt?qt[n](t):void 0}}))}function zn(t,e=!0){return(0,i.mf)(t)?t.displayName||t.name:t.name||e&&t.__name}function jn(t){return(0,i.mf)(t)&&"__vccOpts"in t}const Mn=(t,e)=>(0,o.Fl)(t,e,Tn);function Bn(t,e,n){const o=arguments.length;return 2===o?(0,i.Kn)(e)&&!(0,i.kJ)(e)?en(e)?ln(t,null,[e]):ln(t,e):ln(t,null,e):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&en(n)&&(n=[n]),ln(t,e,n))}Symbol("");const Fn="3.2.37"},9963:function(t,e,n){"use strict";n.d(e,{iM:function(){return et},ri:function(){return rt}});var o=n(3577),i=n(6252);n(2262);const r="http://www.w3.org/2000/svg",a="undefined"!==typeof document?document:null,s=a&&a.createElement("template"),l={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,o)=>{const i=e?a.createElementNS(r,t):a.createElement(t,n?{is:n}:void 0);return"select"===t&&o&&null!=o.multiple&&i.setAttribute("multiple",o.multiple),i},createText:t=>a.createTextNode(t),createComment:t=>a.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>a.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},cloneNode(t){const e=t.cloneNode(!0);return"_value"in t&&(e._value=t._value),e},insertStaticContent(t,e,n,o,i,r){const a=n?n.previousSibling:e.lastChild;if(i&&(i===r||i.nextSibling)){while(1)if(e.insertBefore(i.cloneNode(!0),n),i===r||!(i=i.nextSibling))break}else{s.innerHTML=o?`${t}`:t;const i=s.content;if(o){const t=i.firstChild;while(t.firstChild)i.appendChild(t.firstChild);i.removeChild(t)}e.insertBefore(i,n)}return[a?a.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};function c(t,e,n){const o=t._vtc;o&&(e=(e?[e,...o]:[...o]).join(" ")),null==e?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}function d(t,e,n){const i=t.style,r=(0,o.HD)(n);if(n&&!r){for(const t in n)h(i,t,n[t]);if(e&&!(0,o.HD)(e))for(const t in e)null==n[t]&&h(i,t,"")}else{const o=i.display;r?e!==n&&(i.cssText=n):e&&t.removeAttribute("style"),"_vod"in t&&(i.display=o)}}const u=/\s*!important$/;function h(t,e,n){if((0,o.kJ)(n))n.forEach((n=>h(t,e,n)));else if(null==n&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const i=m(t,e);u.test(n)?t.setProperty((0,o.rs)(i),n.replace(u,""),"important"):t[i]=n}}const p=["Webkit","Moz","ms"],f={};function m(t,e){const n=f[e];if(n)return n;let i=(0,o._A)(e);if("filter"!==i&&i in t)return f[e]=i;i=(0,o.kC)(i);for(let o=0;o{let t=Date.now,e=!1;if("undefined"!==typeof window){Date.now()>document.createEvent("Event").timeStamp&&(t=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);e=!!(n&&Number(n[1])<=53)}return[t,e]})();let x=0;const k=Promise.resolve(),$=()=>{x=0},E=()=>x||(k.then($),x=y());function S(t,e,n,o){t.addEventListener(e,n,o)}function _(t,e,n,o){t.removeEventListener(e,n,o)}function C(t,e,n,o,i=null){const r=t._vei||(t._vei={}),a=r[e];if(o&&a)a.value=o;else{const[n,s]=T(e);if(o){const a=r[e]=I(o,i);S(t,n,a,s)}else a&&(_(t,n,a,s),r[e]=void 0)}}const A=/(?:Once|Passive|Capture)$/;function T(t){let e;if(A.test(t)){let n;e={};while(n=t.match(A))t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[(0,o.rs)(t.slice(2)),e]}function I(t,e){const n=t=>{const o=t.timeStamp||y();(w||o>=n.attached-1)&&(0,i.$d)(L(t,n.value),e,5,[t])};return n.value=t,n.attached=E(),n}function L(t,e){if((0,o.kJ)(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map((t=>e=>!e._stopped&&t&&t(e)))}return e}const R=/^on[a-z]/,O=(t,e,n,i,r=!1,a,s,l,u)=>{"class"===e?c(t,i,r):"style"===e?d(t,n,i):(0,o.F7)(e)?(0,o.tR)(e)||C(t,e,n,i,s):("."===e[0]?(e=e.slice(1),1):"^"===e[0]?(e=e.slice(1),0):D(t,e,i,r))?v(t,e,i,a,s,l,u):("true-value"===e?t._trueValue=i:"false-value"===e&&(t._falseValue=i),b(t,e,i,r))};function D(t,e,n,i){return i?"innerHTML"===e||"textContent"===e||!!(e in t&&R.test(e)&&(0,o.mf)(n)):"spellcheck"!==e&&"draggable"!==e&&"translate"!==e&&("form"!==e&&(("list"!==e||"INPUT"!==t.tagName)&&(("type"!==e||"TEXTAREA"!==t.tagName)&&((!R.test(e)||!(0,o.HD)(n))&&e in t))))}"undefined"!==typeof HTMLElement&&HTMLElement;const N="transition",P="animation",z=(t,{slots:e})=>(0,i.h)(i.P$,F(t),e);z.displayName="Transition";const j={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},M=(z.props=(0,o.l7)({},i.P$.props,j),(t,e=[])=>{(0,o.kJ)(t)?t.forEach((t=>t(...e))):t&&t(...e)}),B=t=>!!t&&((0,o.kJ)(t)?t.some((t=>t.length>1)):t.length>1);function F(t){const e={};for(const o in t)o in j||(e[o]=t[o]);if(!1===t.css)return e;const{name:n="v",type:i,duration:r,enterFromClass:a=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=a,appearActiveClass:d=s,appearToClass:u=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=t,m=H(r),g=m&&m[0],b=m&&m[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:w,onLeave:x,onLeaveCancelled:k,onBeforeAppear:$=v,onAppear:E=y,onAppearCancelled:S=w}=e,_=(t,e,n)=>{q(t,e?u:l),q(t,e?d:s),n&&n()},C=(t,e)=>{t._isLeaving=!1,q(t,h),q(t,f),q(t,p),e&&e()},A=t=>(e,n)=>{const o=t?E:y,r=()=>_(e,t,n);M(o,[e,r]),V((()=>{q(e,t?c:a),U(e,t?u:l),B(o)||G(e,i,g,r)}))};return(0,o.l7)(e,{onBeforeEnter(t){M(v,[t]),U(t,a),U(t,s)},onBeforeAppear(t){M($,[t]),U(t,c),U(t,d)},onEnter:A(!1),onAppear:A(!0),onLeave(t,e){t._isLeaving=!0;const n=()=>C(t,e);U(t,h),Z(),U(t,p),V((()=>{t._isLeaving&&(q(t,h),U(t,f),B(x)||G(t,i,b,n))})),M(x,[t,n])},onEnterCancelled(t){_(t,!1),M(w,[t])},onAppearCancelled(t){_(t,!0),M(S,[t])},onLeaveCancelled(t){C(t),M(k,[t])}})}function H(t){if(null==t)return null;if((0,o.Kn)(t))return[W(t.enter),W(t.leave)];{const e=W(t);return[e,e]}}function W(t){const e=(0,o.He)(t);return e}function U(t,e){e.split(/\s+/).forEach((e=>e&&t.classList.add(e))),(t._vtc||(t._vtc=new Set)).add(e)}function q(t,e){e.split(/\s+/).forEach((e=>e&&t.classList.remove(e)));const{_vtc:n}=t;n&&(n.delete(e),n.size||(t._vtc=void 0))}function V(t){requestAnimationFrame((()=>{requestAnimationFrame(t)}))}let Y=0;function G(t,e,n,o){const i=t._endId=++Y,r=()=>{i===t._endId&&o()};if(n)return setTimeout(r,n);const{type:a,timeout:s,propCount:l}=X(t,e);if(!a)return o();const c=a+"end";let d=0;const u=()=>{t.removeEventListener(c,h),r()},h=e=>{e.target===t&&++d>=l&&u()};setTimeout((()=>{d(n[t]||"").split(", "),i=o(N+"Delay"),r=o(N+"Duration"),a=J(i,r),s=o(P+"Delay"),l=o(P+"Duration"),c=J(s,l);let d=null,u=0,h=0;e===N?a>0&&(d=N,u=a,h=r.length):e===P?c>0&&(d=P,u=c,h=l.length):(u=Math.max(a,c),d=u>0?a>c?N:P:null,h=d?d===N?r.length:l.length:0);const p=d===N&&/\b(transform|all)(,|$)/.test(n[N+"Property"]);return{type:d,timeout:u,propCount:h,hasTransform:p}}function J(t,e){while(t.lengthK(e)+K(t[n]))))}function K(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Z(){return document.body.offsetHeight}new WeakMap,new WeakMap;const Q=["ctrl","shift","alt","meta"],tt={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&0!==t.button,middle:t=>"button"in t&&1!==t.button,right:t=>"button"in t&&2!==t.button,exact:(t,e)=>Q.some((n=>t[`${n}Key`]&&!e.includes(n)))},et=(t,e)=>(n,...o)=>{for(let t=0;t{const e=it().createApp(...t);const{mount:n}=e;return e.mount=t=>{const i=at(t);if(!i)return;const r=e._component;(0,o.mf)(r)||r.render||r.template||(r.template=i.innerHTML),i.innerHTML="";const a=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a},e};function at(t){if((0,o.HD)(t)){const e=document.querySelector(t);return e}return t}},3577:function(t,e,n){"use strict";function o(t,e){const n=Object.create(null),o=t.split(",");for(let i=0;i!!n[t.toLowerCase()]:t=>!!n[t]}n.d(e,{C_:function(){return p},DM:function(){return R},E9:function(){return ot},F7:function(){return E},Gg:function(){return U},HD:function(){return N},He:function(){return et},Kn:function(){return z},NO:function(){return k},Nj:function(){return tt},Od:function(){return C},PO:function(){return H},Pq:function(){return s},RI:function(){return T},S0:function(){return W},W7:function(){return F},WV:function(){return m},Z6:function(){return w},_A:function(){return Y},_N:function(){return L},aU:function(){return Z},dG:function(){return x},e1:function(){return r},fY:function(){return o},hR:function(){return K},hq:function(){return g},ir:function(){return Q},j5:function(){return c},kC:function(){return J},kJ:function(){return I},kT:function(){return y},l7:function(){return _},mf:function(){return D},rs:function(){return X},tI:function(){return j},tR:function(){return S},yA:function(){return l},yk:function(){return P},zw:function(){return b}});const i="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",r=o(i);const a="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",s=o(a);function l(t){return!!t||""===t}function c(t){if(I(t)){const e={};for(let n=0;n{if(t){const n=t.split(u);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}function p(t){let e="";if(N(t))e=t;else if(I(t))for(let n=0;nm(t,e)))}const b=t=>N(t)?t:null==t?"":I(t)||z(t)&&(t.toString===M||!D(t.toString))?JSON.stringify(t,v,2):String(t),v=(t,e)=>e&&e.__v_isRef?v(t,e.value):L(e)?{[`Map(${e.size})`]:[...e.entries()].reduce(((t,[e,n])=>(t[`${e} =>`]=n,t)),{})}:R(e)?{[`Set(${e.size})`]:[...e.values()]}:!z(e)||I(e)||H(e)?e:String(e),y={},w=[],x=()=>{},k=()=>!1,$=/^on[^a-z]/,E=t=>$.test(t),S=t=>t.startsWith("onUpdate:"),_=Object.assign,C=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},A=Object.prototype.hasOwnProperty,T=(t,e)=>A.call(t,e),I=Array.isArray,L=t=>"[object Map]"===B(t),R=t=>"[object Set]"===B(t),O=t=>"[object Date]"===B(t),D=t=>"function"===typeof t,N=t=>"string"===typeof t,P=t=>"symbol"===typeof t,z=t=>null!==t&&"object"===typeof t,j=t=>z(t)&&D(t.then)&&D(t.catch),M=Object.prototype.toString,B=t=>M.call(t),F=t=>B(t).slice(8,-1),H=t=>"[object Object]"===B(t),W=t=>N(t)&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,U=o(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),q=t=>{const e=Object.create(null);return n=>{const o=e[n];return o||(e[n]=t(n))}},V=/-(\w)/g,Y=q((t=>t.replace(V,((t,e)=>e?e.toUpperCase():"")))),G=/\B([A-Z])/g,X=q((t=>t.replace(G,"-$1").toLowerCase())),J=q((t=>t.charAt(0).toUpperCase()+t.slice(1))),K=q((t=>t?`on${J(t)}`:"")),Z=(t,e)=>!Object.is(t,e),Q=(t,e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},et=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let nt;const ot=()=>nt||(nt="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{})},9669:function(t,e,n){t.exports=n(1609)},5448:function(t,e,n){"use strict";var o=n(4867),i=n(6026),r=n(4372),a=n(5327),s=n(4097),l=n(4109),c=n(7985),d=n(7874),u=n(2648),h=n(644),p=n(205);t.exports=function(t){return new Promise((function(e,n){var f,m=t.data,g=t.headers,b=t.responseType;function v(){t.cancelToken&&t.cancelToken.unsubscribe(f),t.signal&&t.signal.removeEventListener("abort",f)}o.isFormData(m)&&o.isStandardBrowserEnv()&&delete g["Content-Type"];var y=new XMLHttpRequest;if(t.auth){var w=t.auth.username||"",x=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";g.Authorization="Basic "+btoa(w+":"+x)}var k=s(t.baseURL,t.url);function $(){if(y){var o="getAllResponseHeaders"in y?l(y.getAllResponseHeaders()):null,r=b&&"text"!==b&&"json"!==b?y.response:y.responseText,a={data:r,status:y.status,statusText:y.statusText,headers:o,config:t,request:y};i((function(t){e(t),v()}),(function(t){n(t),v()}),a),y=null}}if(y.open(t.method.toUpperCase(),a(k,t.params,t.paramsSerializer),!0),y.timeout=t.timeout,"onloadend"in y?y.onloadend=$:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout($)},y.onabort=function(){y&&(n(new u("Request aborted",u.ECONNABORTED,t,y)),y=null)},y.onerror=function(){n(new u("Network Error",u.ERR_NETWORK,t,y,y)),y=null},y.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",o=t.transitional||d;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(new u(e,o.clarifyTimeoutError?u.ETIMEDOUT:u.ECONNABORTED,t,y)),y=null},o.isStandardBrowserEnv()){var E=(t.withCredentials||c(k))&&t.xsrfCookieName?r.read(t.xsrfCookieName):void 0;E&&(g[t.xsrfHeaderName]=E)}"setRequestHeader"in y&&o.forEach(g,(function(t,e){"undefined"===typeof m&&"content-type"===e.toLowerCase()?delete g[e]:y.setRequestHeader(e,t)})),o.isUndefined(t.withCredentials)||(y.withCredentials=!!t.withCredentials),b&&"json"!==b&&(y.responseType=t.responseType),"function"===typeof t.onDownloadProgress&&y.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(f=function(t){y&&(n(!t||t&&t.type?new h:t),y.abort(),y=null)},t.cancelToken&&t.cancelToken.subscribe(f),t.signal&&(t.signal.aborted?f():t.signal.addEventListener("abort",f))),m||(m=null);var S=p(k);S&&-1===["http","https","file"].indexOf(S)?n(new u("Unsupported protocol "+S+":",u.ERR_BAD_REQUEST,t)):y.send(m)}))}},1609:function(t,e,n){"use strict";var o=n(4867),i=n(1849),r=n(321),a=n(7185),s=n(5546);function l(t){var e=new r(t),n=i(r.prototype.request,e);return o.extend(n,r.prototype,e),o.extend(n,e),n.create=function(e){return l(a(t,e))},n}var c=l(s);c.Axios=r,c.CanceledError=n(644),c.CancelToken=n(4972),c.isCancel=n(6502),c.VERSION=n(7288).version,c.toFormData=n(7675),c.AxiosError=n(2648),c.Cancel=c.CanceledError,c.all=function(t){return Promise.all(t)},c.spread=n(8713),c.isAxiosError=n(6268),t.exports=c,t.exports["default"]=c},4972:function(t,e,n){"use strict";var o=n(644);function i(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;this.promise.then((function(t){if(n._listeners){var e,o=n._listeners.length;for(e=0;e=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};o.forEach(["delete","get","head"],(function(t){h.headers[t]={}})),o.forEach(["post","put","patch"],(function(t){h.headers[t]=o.merge(l)})),t.exports=h},7874:function(t){"use strict";t.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},7288:function(t){t.exports={version:"0.27.2"}},1849:function(t){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),o=0;o=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},205:function(t){"use strict";t.exports=function(t){var e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}},8713:function(t){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},7675:function(t,e,n){"use strict";var o=n(4867);function i(t,e){e=e||new FormData;var n=[];function i(t){return null===t?"":o.isDate(t)?t.toISOString():o.isArrayBuffer(t)||o.isTypedArray(t)?"function"===typeof Blob?new Blob([t]):Buffer.from(t):t}function r(t,a){if(o.isPlainObject(t)||o.isArray(t)){if(-1!==n.indexOf(t))throw Error("Circular reference detected in "+a);n.push(t),o.forEach(t,(function(t,n){if(!o.isUndefined(t)){var s,l=a?a+"."+n:n;if(t&&!a&&"object"===typeof t)if(o.endsWith(n,"{}"))t=JSON.stringify(t);else if(o.endsWith(n,"[]")&&(s=o.toArray(t)))return void s.forEach((function(t){!o.isUndefined(t)&&e.append(l,i(t))}));r(t,l)}})),n.pop()}else e.append(a,i(t))}return r(t),e}t.exports=i},4875:function(t,e,n){"use strict";var o=n(7288).version,i=n(2648),r={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){r[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var a={};function s(t,e,n){if("object"!==typeof t)throw new i("options must be an object",i.ERR_BAD_OPTION_VALUE);var o=Object.keys(t),r=o.length;while(r-- >0){var a=o[r],s=e[a];if(s){var l=t[a],c=void 0===l||s(l,a,t);if(!0!==c)throw new i("option "+a+" must be "+c,i.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new i("Unknown option "+a,i.ERR_BAD_OPTION)}}r.transitional=function(t,e,n){function r(t,e){return"[Axios v"+o+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,o,s){if(!1===t)throw new i(r(o," has been removed"+(e?" in "+e:"")),i.ERR_DEPRECATED);return e&&!a[o]&&(a[o]=!0,console.warn(r(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,o,s)}},t.exports={assertOptions:s,validators:r}},4867:function(t,e,n){"use strict";var o=n(1849),i=Object.prototype.toString,r=function(t){return function(e){var n=i.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())}}(Object.create(null));function a(t){return t=t.toLowerCase(),function(e){return r(e)===t}}function s(t){return Array.isArray(t)}function l(t){return"undefined"===typeof t}function c(t){return null!==t&&!l(t)&&null!==t.constructor&&!l(t.constructor)&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}var d=a("ArrayBuffer");function u(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&d(t.buffer),e}function h(t){return"string"===typeof t}function p(t){return"number"===typeof t}function f(t){return null!==t&&"object"===typeof t}function m(t){if("object"!==r(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}var g=a("Date"),b=a("File"),v=a("Blob"),y=a("FileList");function w(t){return"[object Function]"===i.call(t)}function x(t){return f(t)&&w(t.pipe)}function k(t){var e="[object FormData]";return t&&("function"===typeof FormData&&t instanceof FormData||i.call(t)===e||w(t.toString)&&t.toString()===e)}var $=a("URLSearchParams");function E(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function S(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function _(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),s(t))for(var n=0,o=t.length;n0)r=o[i],a[r]||(e[r]=t[r],a[r]=!0);t=Object.getPrototypeOf(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e}function R(t,e,n){t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;var o=t.indexOf(e,n);return-1!==o&&o===n}function O(t){if(!t)return null;var e=t.length;if(l(e))return null;var n=new Array(e);while(e-- >0)n[e]=t[e];return n}var D=function(t){return function(e){return t&&e instanceof t}}("undefined"!==typeof Uint8Array&&Object.getPrototypeOf(Uint8Array));t.exports={isArray:s,isArrayBuffer:d,isBuffer:c,isFormData:k,isArrayBufferView:u,isString:h,isNumber:p,isObject:f,isPlainObject:m,isUndefined:l,isDate:g,isFile:b,isBlob:v,isFunction:w,isStream:x,isURLSearchParams:$,isStandardBrowserEnv:S,forEach:_,merge:C,extend:A,trim:E,stripBOM:T,inherits:I,toFlatObject:L,kindOf:r,kindOfTest:a,endsWith:R,toArray:O,isTypedArray:D,isFileList:y}},9662:function(t,e,n){var o=n(614),i=n(6330),r=TypeError;t.exports=function(t){if(o(t))return t;throw r(i(t)+" is not a function")}},6077:function(t,e,n){var o=n(614),i=String,r=TypeError;t.exports=function(t){if("object"==typeof t||o(t))return t;throw r("Can't set "+i(t)+" as a prototype")}},1223:function(t,e,n){var o=n(5112),i=n(30),r=n(3070).f,a=o("unscopables"),s=Array.prototype;void 0==s[a]&&r(s,a,{configurable:!0,value:i(null)}),t.exports=function(t){s[a][t]=!0}},5787:function(t,e,n){var o=n(7976),i=TypeError;t.exports=function(t,e){if(o(e,t))return t;throw i("Incorrect invocation")}},9670:function(t,e,n){var o=n(111),i=String,r=TypeError;t.exports=function(t){if(o(t))return t;throw r(i(t)+" is not an object")}},1318:function(t,e,n){var o=n(5656),i=n(1400),r=n(6244),a=function(t){return function(e,n,a){var s,l=o(e),c=r(l),d=i(a,c);if(t&&n!=n){while(c>d)if(s=l[d++],s!=s)return!0}else for(;c>d;d++)if((t||d in l)&&l[d]===n)return t||d||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},4326:function(t,e,n){var o=n(1702),i=o({}.toString),r=o("".slice);t.exports=function(t){return r(i(t),8,-1)}},648:function(t,e,n){var o=n(1694),i=n(614),r=n(4326),a=n(5112),s=a("toStringTag"),l=Object,c="Arguments"==r(function(){return arguments}()),d=function(t,e){try{return t[e]}catch(n){}};t.exports=o?r:function(t){var e,n,o;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=d(e=l(t),s))?n:c?r(e):"Object"==(o=r(e))&&i(e.callee)?"Arguments":o}},7741:function(t,e,n){var o=n(1702),i=Error,r=o("".replace),a=function(t){return String(i(t).stack)}("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,l=s.test(a);t.exports=function(t,e){if(l&&"string"==typeof t&&!i.prepareStackTrace)while(e--)t=r(t,s,"");return t}},9920:function(t,e,n){var o=n(2597),i=n(3887),r=n(1236),a=n(3070);t.exports=function(t,e,n){for(var s=i(e),l=a.f,c=r.f,d=0;d0&&o[0]<4?1:+(o[0]+o[1])),!i&&a&&(o=a.match(/Edge\/(\d+)/),(!o||o[1]>=74)&&(o=a.match(/Chrome\/(\d+)/),o&&(i=+o[1]))),t.exports=i},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,e,n){var o=n(7854),i=n(1236).f,r=n(8880),a=n(8052),s=n(3072),l=n(9920),c=n(4705);t.exports=function(t,e){var n,d,u,h,p,f,m=t.target,g=t.global,b=t.stat;if(d=g?o:b?o[m]||s(m,{}):(o[m]||{}).prototype,d)for(u in e){if(p=e[u],t.dontCallGetSet?(f=i(d,u),h=f&&f.value):h=d[u],n=c(g?u:m+(b?".":"#")+u,t.forced),!n&&void 0!==h){if(typeof p==typeof h)continue;l(p,h)}(t.sham||h&&h.sham)&&r(p,"sham",!0),a(d,u,p,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(e){return!0}}},4374:function(t,e,n){var o=n(7293);t.exports=!o((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:function(t,e,n){var o=n(4374),i=Function.prototype.call;t.exports=o?i.bind(i):function(){return i.apply(i,arguments)}},6530:function(t,e,n){var o=n(9781),i=n(2597),r=Function.prototype,a=o&&Object.getOwnPropertyDescriptor,s=i(r,"name"),l=s&&"something"===function(){}.name,c=s&&(!o||o&&a(r,"name").configurable);t.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},1702:function(t,e,n){var o=n(4374),i=Function.prototype,r=i.bind,a=i.call,s=o&&r.bind(a,a);t.exports=o?function(t){return t&&s(t)}:function(t){return t&&function(){return a.apply(t,arguments)}}},5005:function(t,e,n){var o=n(7854),i=n(614),r=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?r(o[t]):o[t]&&o[t][e]}},8173:function(t,e,n){var o=n(9662);t.exports=function(t,e){var n=t[e];return null==n?void 0:o(n)}},7854:function(t,e,n){var o=function(t){return t&&t.Math==Math&&t};t.exports=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2597:function(t,e,n){var o=n(1702),i=n(7908),r=o({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return r(i(t),e)}},3501:function(t){t.exports={}},490:function(t,e,n){var o=n(5005);t.exports=o("document","documentElement")},4664:function(t,e,n){var o=n(9781),i=n(7293),r=n(317);t.exports=!o&&!i((function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,e,n){var o=n(1702),i=n(7293),r=n(4326),a=Object,s=o("".split);t.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==r(t)?s(t,""):a(t)}:a},9587:function(t,e,n){var o=n(614),i=n(111),r=n(7674);t.exports=function(t,e,n){var a,s;return r&&o(a=e.constructor)&&a!==n&&i(s=a.prototype)&&s!==n.prototype&&r(t,s),t}},2788:function(t,e,n){var o=n(1702),i=n(614),r=n(5465),a=o(Function.toString);i(r.inspectSource)||(r.inspectSource=function(t){return a(t)}),t.exports=r.inspectSource},9909:function(t,e,n){var o,i,r,a=n(8536),s=n(7854),l=n(1702),c=n(111),d=n(8880),u=n(2597),h=n(5465),p=n(6200),f=n(3501),m="Object already initialized",g=s.TypeError,b=s.WeakMap,v=function(t){return r(t)?i(t):o(t,{})},y=function(t){return function(e){var n;if(!c(e)||(n=i(e)).type!==t)throw g("Incompatible receiver, "+t+" required");return n}};if(a||h.state){var w=h.state||(h.state=new b),x=l(w.get),k=l(w.has),$=l(w.set);o=function(t,e){if(k(w,t))throw new g(m);return e.facade=t,$(w,t,e),e},i=function(t){return x(w,t)||{}},r=function(t){return k(w,t)}}else{var E=p("state");f[E]=!0,o=function(t,e){if(u(t,E))throw new g(m);return e.facade=t,d(t,E,e),e},i=function(t){return u(t,E)?t[E]:{}},r=function(t){return u(t,E)}}t.exports={set:o,get:i,has:r,enforce:v,getterFor:y}},614:function(t){t.exports=function(t){return"function"==typeof t}},4705:function(t,e,n){var o=n(7293),i=n(614),r=/#|\.prototype\./,a=function(t,e){var n=l[s(t)];return n==d||n!=c&&(i(e)?o(e):!!e)},s=a.normalize=function(t){return String(t).replace(r,".").toLowerCase()},l=a.data={},c=a.NATIVE="N",d=a.POLYFILL="P";t.exports=a},111:function(t,e,n){var o=n(614);t.exports=function(t){return"object"==typeof t?null!==t:o(t)}},1913:function(t){t.exports=!1},2190:function(t,e,n){var o=n(5005),i=n(614),r=n(7976),a=n(3307),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=o("Symbol");return i(e)&&r(e.prototype,s(t))}},6244:function(t,e,n){var o=n(7466);t.exports=function(t){return o(t.length)}},6339:function(t,e,n){var o=n(7293),i=n(614),r=n(2597),a=n(9781),s=n(6530).CONFIGURABLE,l=n(2788),c=n(9909),d=c.enforce,u=c.get,h=Object.defineProperty,p=a&&!o((function(){return 8!==h((function(){}),"length",{value:8}).length})),f=String(String).split("String"),m=t.exports=function(t,e,n){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!r(t,"name")||s&&t.name!==e)&&h(t,"name",{value:e,configurable:!0}),p&&n&&r(n,"arity")&&t.length!==n.arity&&h(t,"length",{value:n.arity});try{n&&r(n,"constructor")&&n.constructor?a&&h(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(i){}var o=d(t);return r(o,"source")||(o.source=f.join("string"==typeof e?e:"")),t};Function.prototype.toString=m((function(){return i(this)&&u(this).source||l(this)}),"toString")},4758:function(t){var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var o=+t;return(o>0?n:e)(o)}},133:function(t,e,n){var o=n(7392),i=n(7293);t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&o&&o<41}))},8536:function(t,e,n){var o=n(7854),i=n(614),r=n(2788),a=o.WeakMap;t.exports=i(a)&&/native code/.test(r(a))},6277:function(t,e,n){var o=n(1340);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:o(t)}},30:function(t,e,n){var o,i=n(9670),r=n(6048),a=n(748),s=n(3501),l=n(490),c=n(317),d=n(6200),u=">",h="<",p="prototype",f="script",m=d("IE_PROTO"),g=function(){},b=function(t){return h+f+u+t+h+"/"+f+u},v=function(t){t.write(b("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){var t,e=c("iframe"),n="java"+f+":";return e.style.display="none",l.appendChild(e),e.src=String(n),t=e.contentWindow.document,t.open(),t.write(b("document.F=Object")),t.close(),t.F},w=function(){try{o=new ActiveXObject("htmlfile")}catch(e){}w="undefined"!=typeof document?document.domain&&o?v(o):y():v(o);var t=a.length;while(t--)delete w[p][a[t]];return w()};s[m]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(g[p]=i(t),n=new g,g[p]=null,n[m]=t):n=w(),void 0===e?n:r.f(n,e)}},6048:function(t,e,n){var o=n(9781),i=n(3353),r=n(3070),a=n(9670),s=n(5656),l=n(1956);e.f=o&&!i?Object.defineProperties:function(t,e){a(t);var n,o=s(e),i=l(e),c=i.length,d=0;while(c>d)r.f(t,n=i[d++],o[n]);return t}},3070:function(t,e,n){var o=n(9781),i=n(4664),r=n(3353),a=n(9670),s=n(4948),l=TypeError,c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,u="enumerable",h="configurable",p="writable";e.f=o?r?function(t,e,n){if(a(t),e=s(e),a(n),"function"===typeof t&&"prototype"===e&&"value"in n&&p in n&&!n[p]){var o=d(t,e);o&&o[p]&&(t[e]=n.value,n={configurable:h in n?n[h]:o[h],enumerable:u in n?n[u]:o[u],writable:!1})}return c(t,e,n)}:c:function(t,e,n){if(a(t),e=s(e),a(n),i)try{return c(t,e,n)}catch(o){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},1236:function(t,e,n){var o=n(9781),i=n(6916),r=n(5296),a=n(9114),s=n(5656),l=n(4948),c=n(2597),d=n(4664),u=Object.getOwnPropertyDescriptor;e.f=o?u:function(t,e){if(t=s(t),e=l(e),d)try{return u(t,e)}catch(n){}if(c(t,e))return a(!i(r.f,t,e),t[e])}},8006:function(t,e,n){var o=n(6324),i=n(748),r=i.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return o(t,r)}},5181:function(t,e){e.f=Object.getOwnPropertySymbols},7976:function(t,e,n){var o=n(1702);t.exports=o({}.isPrototypeOf)},6324:function(t,e,n){var o=n(1702),i=n(2597),r=n(5656),a=n(1318).indexOf,s=n(3501),l=o([].push);t.exports=function(t,e){var n,o=r(t),c=0,d=[];for(n in o)!i(s,n)&&i(o,n)&&l(d,n);while(e.length>c)i(o,n=e[c++])&&(~a(d,n)||l(d,n));return d}},1956:function(t,e,n){var o=n(6324),i=n(748);t.exports=Object.keys||function(t){return o(t,i)}},5296:function(t,e){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:n},7674:function(t,e,n){var o=n(1702),i=n(9670),r=n(6077);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=o(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),t(n,[]),e=n instanceof Array}catch(a){}return function(n,o){return i(n),r(o),e?t(n,o):n.__proto__=o,n}}():void 0)},2140:function(t,e,n){var o=n(6916),i=n(614),r=n(111),a=TypeError;t.exports=function(t,e){var n,s;if("string"===e&&i(n=t.toString)&&!r(s=o(n,t)))return s;if(i(n=t.valueOf)&&!r(s=o(n,t)))return s;if("string"!==e&&i(n=t.toString)&&!r(s=o(n,t)))return s;throw a("Can't convert object to primitive value")}},3887:function(t,e,n){var o=n(5005),i=n(1702),r=n(8006),a=n(5181),s=n(9670),l=i([].concat);t.exports=o("Reflect","ownKeys")||function(t){var e=r.f(s(t)),n=a.f;return n?l(e,n(t)):e}},4488:function(t){var e=TypeError;t.exports=function(t){if(void 0==t)throw e("Can't call method on "+t);return t}},6200:function(t,e,n){var o=n(2309),i=n(9711),r=o("keys");t.exports=function(t){return r[t]||(r[t]=i(t))}},5465:function(t,e,n){var o=n(7854),i=n(3072),r="__core-js_shared__",a=o[r]||i(r,{});t.exports=a},2309:function(t,e,n){var o=n(1913),i=n(5465);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.23.2",mode:o?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.23.2/LICENSE",source:"https://github.com/zloirock/core-js"})},1400:function(t,e,n){var o=n(9303),i=Math.max,r=Math.min;t.exports=function(t,e){var n=o(t);return n<0?i(n+e,0):r(n,e)}},5656:function(t,e,n){var o=n(8361),i=n(4488);t.exports=function(t){return o(i(t))}},9303:function(t,e,n){var o=n(4758);t.exports=function(t){var e=+t;return e!==e||0===e?0:o(e)}},7466:function(t,e,n){var o=n(9303),i=Math.min;t.exports=function(t){return t>0?i(o(t),9007199254740991):0}},7908:function(t,e,n){var o=n(4488),i=Object;t.exports=function(t){return i(o(t))}},7593:function(t,e,n){var o=n(6916),i=n(111),r=n(2190),a=n(8173),s=n(2140),l=n(5112),c=TypeError,d=l("toPrimitive");t.exports=function(t,e){if(!i(t)||r(t))return t;var n,l=a(t,d);if(l){if(void 0===e&&(e="default"),n=o(l,t,e),!i(n)||r(n))return n;throw c("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},4948:function(t,e,n){var o=n(7593),i=n(2190);t.exports=function(t){var e=o(t,"string");return i(e)?e:e+""}},1694:function(t,e,n){var o=n(5112),i=o("toStringTag"),r={};r[i]="z",t.exports="[object z]"===String(r)},1340:function(t,e,n){var o=n(648),i=String;t.exports=function(t){if("Symbol"===o(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},6330:function(t){var e=String;t.exports=function(t){try{return e(t)}catch(n){return"Object"}}},9711:function(t,e,n){var o=n(1702),i=0,r=Math.random(),a=o(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++i+r,36)}},3307:function(t,e,n){var o=n(133);t.exports=o&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(t,e,n){var o=n(9781),i=n(7293);t.exports=o&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5112:function(t,e,n){var o=n(7854),i=n(2309),r=n(2597),a=n(9711),s=n(133),l=n(3307),c=i("wks"),d=o.Symbol,u=d&&d["for"],h=l?d:d&&d.withoutSetter||a;t.exports=function(t){if(!r(c,t)||!s&&"string"!=typeof c[t]){var e="Symbol."+t;s&&r(d,t)?c[t]=d[t]:c[t]=l&&u?u(e):h(e)}return c[t]}},6699:function(t,e,n){"use strict";var o=n(2109),i=n(1318).includes,r=n(7293),a=n(1223),s=r((function(){return!Array(1).includes()}));o({target:"Array",proto:!0,forced:s},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),a("includes")},2801:function(t,e,n){"use strict";var o=n(2109),i=n(5005),r=n(9114),a=n(3070).f,s=n(2597),l=n(5787),c=n(9587),d=n(6277),u=n(3678),h=n(7741),p=n(1913),f="DOMException",m=i("Error"),g=i(f),b=function(){l(this,v);var t=arguments.length,e=d(t<1?void 0:arguments[0]),n=d(t<2?void 0:arguments[1],"Error"),o=new g(e,n),i=m(e);return i.name=f,a(o,"stack",r(1,h(i.stack,1))),c(o,this,b),o},v=b.prototype=g.prototype,y="stack"in m(f),w="stack"in new g(1,2),x=y&&!w;o({global:!0,constructor:!0,forced:p||x},{DOMException:x?b:g});var k=i(f),$=k.prototype;if($.constructor!==k)for(var E in p||a($,"constructor",r(1,k)),u)if(s(u,E)){var S=u[E],_=S.s;s(k,_)||a(k,_,r(6,S.c))}},9483:function(t,e,n){ +/*! + localForage -- Offline Storage, Improved + Version 1.10.0 + https://localforage.github.io/localForage + (c) 2013-2017 Mozilla, Apache License 2.0 +*/ +(function(e){t.exports=e()})((function(){return function t(e,n,o){function i(a,s){if(!n[a]){if(!e[a]){var l=void 0;if(!s&&l)return require(a,!0);if(r)return r(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var d=n[a]={exports:{}};e[a][0].call(d.exports,(function(t){var n=e[a][1][t];return i(n||t)}),d,d.exports,t,e,n,o)}return n[a].exports}for(var r=void 0,a=0;a=43)}}))["catch"]((function(){return!1}))}function k(t){return"boolean"===typeof m?c.resolve(m):x(t).then((function(t){return m=t,m}))}function $(t){var e=g[t.name],n={};n.promise=new c((function(t,e){n.resolve=t,n.reject=e})),e.deferredOperations.push(n),e.dbReady?e.dbReady=e.dbReady.then((function(){return n.promise})):e.dbReady=n.promise}function E(t){var e=g[t.name],n=e.deferredOperations.pop();if(n)return n.resolve(),n.promise}function S(t,e){var n=g[t.name],o=n.deferredOperations.pop();if(o)return o.reject(e),o.promise}function _(t,e){return new c((function(n,o){if(g[t.name]=g[t.name]||P(),t.db){if(!e)return n(t.db);$(t),t.db.close()}var i=[t.name];e&&i.push(t.version);var r=a.open.apply(a,i);e&&(r.onupgradeneeded=function(e){var n=r.result;try{n.createObjectStore(t.storeName),e.oldVersion<=1&&n.createObjectStore(f)}catch(o){if("ConstraintError"!==o.name)throw o;console.warn('The database "'+t.name+'" has been upgraded from version '+e.oldVersion+" to version "+e.newVersion+', but the storage "'+t.storeName+'" already exists.')}}),r.onerror=function(t){t.preventDefault(),o(r.error)},r.onsuccess=function(){var e=r.result;e.onversionchange=function(t){t.target.close()},n(e),E(t)}}))}function C(t){return _(t,!1)}function A(t){return _(t,!0)}function T(t,e){if(!t.db)return!0;var n=!t.db.objectStoreNames.contains(t.storeName),o=t.versiont.db.version;if(o&&(t.version!==e&&console.warn('The database "'+t.name+"\" can't be downgraded from version "+t.db.version+" to version "+t.version+"."),t.version=t.db.version),i||n){if(n){var r=t.db.version+1;r>t.version&&(t.version=r)}return!0}return!1}function I(t){return new c((function(e,n){var o=new FileReader;o.onerror=n,o.onloadend=function(n){var o=btoa(n.target.result||"");e({__local_forage_encoded_blob:!0,data:o,type:t.type})},o.readAsBinaryString(t)}))}function L(t){var e=w(atob(t.data));return l([e],{type:t.type})}function R(t){return t&&t.__local_forage_encoded_blob}function O(t){var e=this,n=e._initReady().then((function(){var t=g[e._dbInfo.name];if(t&&t.dbReady)return t.dbReady}));return u(n,t,t),n}function D(t){$(t);for(var e=g[t.name],n=e.forages,o=0;o0&&(!t.db||"InvalidStateError"===r.name||"NotFoundError"===r.name))return c.resolve().then((function(){if(!t.db||"NotFoundError"===r.name&&!t.db.objectStoreNames.contains(t.storeName)&&t.version<=t.db.version)return t.db&&(t.version=t.db.version+1),A(t)})).then((function(){return D(t).then((function(){N(t,e,n,o-1)}))}))["catch"](n);n(r)}}function P(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function z(t){var e=this,n={db:null};if(t)for(var o in t)n[o]=t[o];var i=g[n.name];i||(i=P(),g[n.name]=i),i.forages.push(e),e._initReady||(e._initReady=e.ready,e.ready=O);var r=[];function a(){return c.resolve()}for(var s=0;s>4,d[l++]=(15&o)<<4|i>>2,d[l++]=(3&i)<<6|63&r;return c}function ft(t){var e,n=new Uint8Array(t),o="";for(e=0;e>2],o+=X[(3&n[e])<<4|n[e+1]>>4],o+=X[(15&n[e+1])<<2|n[e+2]>>6],o+=X[63&n[e+2]];return n.length%3===2?o=o.substring(0,o.length-1)+"=":n.length%3===1&&(o=o.substring(0,o.length-2)+"=="),o}function mt(t,e){var n="";if(t&&(n=ht.call(t)),t&&("[object ArrayBuffer]"===n||t.buffer&&"[object ArrayBuffer]"===ht.call(t.buffer))){var o,i=Z;t instanceof ArrayBuffer?(o=t,i+=tt):(o=t.buffer,"[object Int8Array]"===n?i+=nt:"[object Uint8Array]"===n?i+=ot:"[object Uint8ClampedArray]"===n?i+=it:"[object Int16Array]"===n?i+=rt:"[object Uint16Array]"===n?i+=st:"[object Int32Array]"===n?i+=at:"[object Uint32Array]"===n?i+=lt:"[object Float32Array]"===n?i+=ct:"[object Float64Array]"===n?i+=dt:e(new Error("Failed to get type for BinaryArray"))),e(i+ft(o))}else if("[object Blob]"===n){var r=new FileReader;r.onload=function(){var n=J+t.type+"~"+ft(this.result);e(Z+et+n)},r.readAsArrayBuffer(t)}else try{e(JSON.stringify(t))}catch(a){console.error("Couldn't convert value into a JSON string: ",t),e(null,a)}}function gt(t){if(t.substring(0,Q)!==Z)return JSON.parse(t);var e,n=t.substring(ut),o=t.substring(Q,ut);if(o===et&&K.test(n)){var i=n.match(K);e=i[1],n=n.substring(i[0].length)}var r=pt(n);switch(o){case tt:return r;case et:return l([r],{type:e});case nt:return new Int8Array(r);case ot:return new Uint8Array(r);case it:return new Uint8ClampedArray(r);case rt:return new Int16Array(r);case st:return new Uint16Array(r);case at:return new Int32Array(r);case lt:return new Uint32Array(r);case ct:return new Float32Array(r);case dt:return new Float64Array(r);default:throw new Error("Unkown type: "+o)}}var bt={serialize:mt,deserialize:gt,stringToBuffer:pt,bufferToString:ft};function vt(t,e,n,o){t.executeSql("CREATE TABLE IF NOT EXISTS "+e.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],n,o)}function yt(t){var e=this,n={db:null};if(t)for(var o in t)n[o]="string"!==typeof t[o]?t[o].toString():t[o];var i=new c((function(t,o){try{n.db=openDatabase(n.name,String(n.version),n.description,n.size)}catch(i){return o(i)}n.db.transaction((function(i){vt(i,n,(function(){e._dbInfo=n,t()}),(function(t,e){o(e)}))}),o)}));return n.serializer=bt,i}function wt(t,e,n,o,i,r){t.executeSql(n,o,i,(function(t,a){a.code===a.SYNTAX_ERR?t.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[e.storeName],(function(t,s){s.rows.length?r(t,a):vt(t,e,(function(){t.executeSql(n,o,i,r)}),r)}),r):r(t,a)}),r)}function xt(t,e){var n=this;t=h(t);var o=new c((function(e,o){n.ready().then((function(){var i=n._dbInfo;i.db.transaction((function(n){wt(n,i,"SELECT * FROM "+i.storeName+" WHERE key = ? LIMIT 1",[t],(function(t,n){var o=n.rows.length?n.rows.item(0).value:null;o&&(o=i.serializer.deserialize(o)),e(o)}),(function(t,e){o(e)}))}))}))["catch"](o)}));return d(o,e),o}function kt(t,e){var n=this,o=new c((function(e,o){n.ready().then((function(){var i=n._dbInfo;i.db.transaction((function(n){wt(n,i,"SELECT * FROM "+i.storeName,[],(function(n,o){for(var r=o.rows,a=r.length,s=0;s0)return void r($t.apply(i,[t,s,n,o-1]));a(e)}}))}))}))["catch"](a)}));return d(r,n),r}function Et(t,e,n){return $t.apply(this,[t,e,n,1])}function St(t,e){var n=this;t=h(t);var o=new c((function(e,o){n.ready().then((function(){var i=n._dbInfo;i.db.transaction((function(n){wt(n,i,"DELETE FROM "+i.storeName+" WHERE key = ?",[t],(function(){e()}),(function(t,e){o(e)}))}))}))["catch"](o)}));return d(o,e),o}function _t(t){var e=this,n=new c((function(t,n){e.ready().then((function(){var o=e._dbInfo;o.db.transaction((function(e){wt(e,o,"DELETE FROM "+o.storeName,[],(function(){t()}),(function(t,e){n(e)}))}))}))["catch"](n)}));return d(n,t),n}function Ct(t){var e=this,n=new c((function(t,n){e.ready().then((function(){var o=e._dbInfo;o.db.transaction((function(e){wt(e,o,"SELECT COUNT(key) as c FROM "+o.storeName,[],(function(e,n){var o=n.rows.item(0).c;t(o)}),(function(t,e){n(e)}))}))}))["catch"](n)}));return d(n,t),n}function At(t,e){var n=this,o=new c((function(e,o){n.ready().then((function(){var i=n._dbInfo;i.db.transaction((function(n){wt(n,i,"SELECT key FROM "+i.storeName+" WHERE id = ? LIMIT 1",[t+1],(function(t,n){var o=n.rows.length?n.rows.item(0).key:null;e(o)}),(function(t,e){o(e)}))}))}))["catch"](o)}));return d(o,e),o}function Tt(t){var e=this,n=new c((function(t,n){e.ready().then((function(){var o=e._dbInfo;o.db.transaction((function(e){wt(e,o,"SELECT key FROM "+o.storeName,[],(function(e,n){for(var o=[],i=0;i '__WebKitDatabaseInfoTable__'",[],(function(n,o){for(var i=[],r=0;r0}function zt(t){var e=this,n={};if(t)for(var o in t)n[o]=t[o];return n.keyPrefix=Dt(t,e._defaultConfig),Pt()?(e._dbInfo=n,n.serializer=bt,c.resolve()):c.reject()}function jt(t){var e=this,n=e.ready().then((function(){for(var t=e._dbInfo.keyPrefix,n=localStorage.length-1;n>=0;n--){var o=localStorage.key(n);0===o.indexOf(t)&&localStorage.removeItem(o)}}));return d(n,t),n}function Mt(t,e){var n=this;t=h(t);var o=n.ready().then((function(){var e=n._dbInfo,o=localStorage.getItem(e.keyPrefix+t);return o&&(o=e.serializer.deserialize(o)),o}));return d(o,e),o}function Bt(t,e){var n=this,o=n.ready().then((function(){for(var e=n._dbInfo,o=e.keyPrefix,i=o.length,r=localStorage.length,a=1,s=0;s=0;e--){var n=localStorage.key(e);0===n.indexOf(t)&&localStorage.removeItem(n)}})):c.reject("Invalid arguments"),d(o,e),o}var Yt={_driver:"localStorageWrapper",_initStorage:zt,_support:Ot(),iterate:Bt,getItem:Mt,setItem:qt,removeItem:Ut,clear:jt,length:Wt,key:Ft,keys:Ht,dropInstance:Vt},Gt=function(t,e){return t===e||"number"===typeof t&&"number"===typeof e&&isNaN(t)&&isNaN(e)},Xt=function(t,e){var n=t.length,o=0;while(os=t,c=Symbol();function d(t){return t&&"object"===typeof t&&"[object Object]"===Object.prototype.toString.call(t)&&"function"!==typeof t.toJSON}var u;(function(t){t["direct"]="direct",t["patchObject"]="patch object",t["patchFunction"]="patch function"})(u||(u={}));const h="undefined"!==typeof window,p=(()=>"object"===typeof window&&window.window===window?window:"object"===typeof self&&self.self===self?self:"object"===typeof n.g&&n.g.global===n.g?n.g:"object"===typeof globalThis?globalThis:{HTMLElement:null})();function f(t,{autoBom:e=!1}={}){return e&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob([String.fromCharCode(65279),t],{type:t.type}):t}function m(t,e,n){const o=new XMLHttpRequest;o.open("GET",t),o.responseType="blob",o.onload=function(){w(o.response,e,n)},o.onerror=function(){console.error("could not download file")},o.send()}function g(t){const e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(n){}return e.status>=200&&e.status<=299}function b(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(e){const n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(n)}}const v="object"===typeof navigator?navigator:{userAgent:""},y=(()=>/Macintosh/.test(v.userAgent)&&/AppleWebKit/.test(v.userAgent)&&!/Safari/.test(v.userAgent))(),w=h?"undefined"!==typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype&&!y?x:"msSaveOrOpenBlob"in v?k:$:()=>{};function x(t,e="download",n){const o=document.createElement("a");o.download=e,o.rel="noopener","string"===typeof t?(o.href=t,o.origin!==location.origin?g(o.href)?m(t,e,n):(o.target="_blank",b(o)):b(o)):(o.href=URL.createObjectURL(t),setTimeout((function(){URL.revokeObjectURL(o.href)}),4e4),setTimeout((function(){b(o)}),0))}function k(t,e="download",n){if("string"===typeof t)if(g(t))m(t,e,n);else{const e=document.createElement("a");e.href=t,e.target="_blank",setTimeout((function(){b(e)}))}else navigator.msSaveOrOpenBlob(f(t,n),e)}function $(t,e,n,o){if(o=o||open("","_blank"),o&&(o.document.title=o.document.body.innerText="downloading..."),"string"===typeof t)return m(t,e,n);const i="application/octet-stream"===t.type,r=/constructor/i.test(String(p.HTMLElement))||"safari"in p,a=/CriOS\/[\d]+/.test(navigator.userAgent);if((a||i&&r||y)&&"undefined"!==typeof FileReader){const e=new FileReader;e.onloadend=function(){let t=e.result;if("string"!==typeof t)throw o=null,new Error("Wrong reader.result type");t=a?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=t:location.assign(t),o=null},e.readAsDataURL(t)}else{const e=URL.createObjectURL(t);o?o.location.assign(e):location.href=e,o=null,setTimeout((function(){URL.revokeObjectURL(e)}),4e4)}}function E(){const t=(0,r.B)(!0),e=t.run((()=>(0,r.iH)({})));let n=[],i=[];const a=(0,r.Xl)({install(t){l(a),o||(a._a=t,t.provide(c,a),t.config.globalProperties.$pinia=a,i.forEach((t=>n.push(t))),i=[])},use(t){return this._a||o?n.push(t):i.push(t),this},_p:n,_a:null,_e:t,_s:new Map,state:e});return a}const S=()=>{};function _(t,e,n,o=S){t.push(e);const i=()=>{const n=t.indexOf(e);n>-1&&(t.splice(n,1),o())};return!n&&(0,a.FN)()&&(0,a.Ah)(i),i}function C(t,...e){t.slice().forEach((t=>{t(...e)}))}function A(t,e){for(const n in e){if(!e.hasOwnProperty(n))continue;const o=e[n],i=t[n];d(i)&&d(o)&&t.hasOwnProperty(n)&&!(0,r.dq)(o)&&!(0,r.PG)(o)?t[n]=A(i,o):t[n]=o}return t}const T=Symbol(),I=new WeakMap;function L(t){return o?!I.has(t):!d(t)||!t.hasOwnProperty(T)}const{assign:R}=Object;function O(t){return!(!(0,r.dq)(t)||!t.effect)}function D(t,e,n,s){const{state:c,actions:d,getters:u}=e,h=n.state.value[t];let p;function f(){h||(o?i(n.state.value,t,c?c():{}):n.state.value[t]=c?c():{});const e=(0,r.BK)(n.state.value[t]);return R(e,d,Object.keys(u||{}).reduce(((e,i)=>(e[i]=(0,r.Xl)((0,a.Fl)((()=>{l(n);const e=n._s.get(t);if(!o||e._r)return u[i].call(e,e)}))),e)),{}))}return p=N(t,f,e,n,s,!0),p.$reset=function(){const t=c?c():{};this.$patch((e=>{R(e,t)}))},p}function N(t,e,n={},s,c,d){let h;const p=R({actions:{}},n);const f={deep:!0};let m,g;let b,v=(0,r.Xl)([]),y=(0,r.Xl)([]);const w=s.state.value[t];d||w||(o?i(s.state.value,t,{}):s.state.value[t]={});(0,r.iH)({});let x;function k(e){let n;m=g=!1,"function"===typeof e?(e(s.state.value[t]),n={type:u.patchFunction,storeId:t,events:b}):(A(s.state.value[t],e),n={type:u.patchObject,payload:e,storeId:t,events:b});const o=x=Symbol();(0,a.Y3)().then((()=>{x===o&&(m=!0)})),g=!0,C(v,n,s.state.value[t])}const $=S;function E(){h.stop(),v=[],y=[],s._s.delete(t)}function T(e,n){return function(){l(s);const o=Array.from(arguments),i=[],r=[];function a(t){i.push(t)}function c(t){r.push(t)}let d;C(y,{args:o,name:e,store:D,after:a,onError:c});try{d=n.apply(this&&this.$id===t?this:D,o)}catch(u){throw C(r,u),u}return d instanceof Promise?d.then((t=>(C(i,t),t))).catch((t=>(C(r,t),Promise.reject(t)))):(C(i,d),d)}}const I={_p:s,$id:t,$onAction:_.bind(null,y),$patch:k,$reset:$,$subscribe(e,n={}){const o=_(v,e,n.detached,(()=>i())),i=h.run((()=>(0,a.YP)((()=>s.state.value[t]),(o=>{("sync"===n.flush?g:m)&&e({storeId:t,type:u.direct,events:b},o)}),R({},f,n))));return o},$dispose:E};o&&(I._r=!1);const D=(0,r.qj)(R({},I));s._s.set(t,D);const N=s._e.run((()=>(h=(0,r.B)(),h.run((()=>e())))));for(const a in N){const e=N[a];if((0,r.dq)(e)&&!O(e)||(0,r.PG)(e))d||(w&&L(e)&&((0,r.dq)(e)?e.value=w[a]:A(e,w[a])),o?i(s.state.value[t],a,e):s.state.value[t][a]=e);else if("function"===typeof e){const t=T(a,e);o?i(N,a,t):N[a]=t,p.actions[a]=e}else 0}return o?Object.keys(N).forEach((t=>{i(D,t,N[t])})):(R(D,N),R((0,r.IU)(D),N)),Object.defineProperty(D,"$state",{get:()=>s.state.value[t],set:t=>{k((e=>{R(e,t)}))}}),o&&(D._r=!0),s._p.forEach((t=>{R(D,h.run((()=>t({store:D,app:s._a,pinia:s,options:p}))))})),w&&d&&n.hydrate&&n.hydrate(D.$state,w),m=!0,g=!0,D}function P(t,e,n){let o,i;const r="function"===typeof e;function d(t,n){const d=(0,a.FN)();t=t||d&&(0,a.f3)(c),t&&l(t),t=s,t._s.has(o)||(r?N(o,e,i,t):D(o,i,t));const u=t._s.get(o);return u}return"string"===typeof t?(o=t,i=r?n:e):(i=t,o=t.id),d.$id=o,d}},3324:function(t,e,n){"use strict";n.d(e,{o:function(){return Ke}});const o="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag,i=t=>o?Symbol(t):t,r=(t,e,n)=>a({l:t,k:e,s:n}),a=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),s=t=>"number"===typeof t&&isFinite(t),l=t=>"[object Date]"===E(t),c=t=>"[object RegExp]"===E(t),d=t=>S(t)&&0===Object.keys(t).length;function u(t,e){"undefined"!==typeof console&&(console.warn("[intlify] "+t),e&&console.warn(e.stack))}const h=Object.assign;let p;const f=()=>p||(p="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{});function m(t){return t.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const g=Object.prototype.hasOwnProperty;function b(t,e){return g.call(t,e)}const v=Array.isArray,y=t=>"function"===typeof t,w=t=>"string"===typeof t,x=t=>"boolean"===typeof t,k=t=>null!==t&&"object"===typeof t,$=Object.prototype.toString,E=t=>$.call(t),S=t=>"[object Object]"===E(t),_=t=>null==t?"":v(t)||S(t)&&t.toString===$?JSON.stringify(t,null,2):String(t);const C=Object.prototype.hasOwnProperty;function A(t,e){return C.call(t,e)}const T=t=>null!==t&&"object"===typeof t,I=[];I[0]={["w"]:[0],["i"]:[3,0],["["]:[4],["o"]:[7]},I[1]={["w"]:[1],["."]:[2],["["]:[4],["o"]:[7]},I[2]={["w"]:[2],["i"]:[3,0],["0"]:[3,0]},I[3]={["i"]:[3,0],["0"]:[3,0],["w"]:[1,1],["."]:[2,1],["["]:[4,1],["o"]:[7,1]},I[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],["o"]:8,["l"]:[4,0]},I[5]={["'"]:[4,0],["o"]:8,["l"]:[5,0]},I[6]={['"']:[4,0],["o"]:8,["l"]:[6,0]};const L=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function R(t){return L.test(t)}function O(t){const e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return e!==n||34!==e&&39!==e?t:t.slice(1,-1)}function D(t){if(void 0===t||null===t)return"o";const e=t.charCodeAt(0);switch(e){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function N(t){const e=t.trim();return("0"!==t.charAt(0)||!isNaN(parseInt(t)))&&(R(e)?O(e):"*"+e)}function P(t){const e=[];let n,o,i,r,a,s,l,c=-1,d=0,u=0;const h=[];function p(){const e=t[c+1];if(5===d&&"'"===e||6===d&&'"'===e)return c++,i="\\"+e,h[0](),!0}h[0]=()=>{void 0===o?o=i:o+=i},h[1]=()=>{void 0!==o&&(e.push(o),o=void 0)},h[2]=()=>{h[0](),u++},h[3]=()=>{if(u>0)u--,d=4,h[0]();else{if(u=0,void 0===o)return!1;if(o=N(o),!1===o)return!1;h[1]()}};while(null!==d)if(c++,n=t[c],"\\"!==n||!p()){if(r=D(n),l=I[d],a=l[r]||l["l"]||8,8===a)return;if(d=a[0],void 0!==a[1]&&(s=h[a[1]],s&&(i=n,!1===s())))return;if(7===d)return e}}const z=new Map;function j(t,e){if(!T(t))return null;let n=z.get(e);if(n||(n=P(e),n&&z.set(e,n)),!n)return null;const o=n.length;let i=t,r=0;while(rt,F=t=>"",H="text",W=t=>0===t.length?"":t.join(""),U=_;function q(t,e){return t=Math.abs(t),2===e?t?t>1?1:0:1:t?Math.min(t,2):0}function V(t){const e=s(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(s(t.named.count)||s(t.named.n))?s(t.named.count)?t.named.count:s(t.named.n)?t.named.n:e:e}function Y(t,e){e.count||(e.count=t),e.n||(e.n=t)}function G(t={}){const e=t.locale,n=V(t),o=k(t.pluralRules)&&w(e)&&y(t.pluralRules[e])?t.pluralRules[e]:q,i=k(t.pluralRules)&&w(e)&&y(t.pluralRules[e])?q:void 0,r=t=>t[o(n,t.length,i)],a=t.list||[],l=t=>a[t],c=t.named||{};s(t.pluralIndex)&&Y(n,c);const d=t=>c[t];function u(e){const n=y(t.messages)?t.messages(e):!!k(t.messages)&&t.messages[e];return n||(t.parent?t.parent.message(e):F)}const h=e=>t.modifiers?t.modifiers[e]:B,p=S(t.processor)&&y(t.processor.normalize)?t.processor.normalize:W,f=S(t.processor)&&y(t.processor.interpolate)?t.processor.interpolate:U,m=S(t.processor)&&w(t.processor.type)?t.processor.type:H,g={["list"]:l,["named"]:d,["plural"]:r,["linked"]:(t,e)=>{const n=u(t)(g);return w(e)?h(e)(n):n},["message"]:u,["type"]:m,["interpolate"]:f,["normalize"]:p};return g}function X(t,e,n={}){const{domain:o,messages:i,args:r}=n,a=t,s=new SyntaxError(String(a));return s.code=t,e&&(s.location=e),s.domain=o,s}function J(t){throw t}function K(t,e,n){return{line:t,column:e,offset:n}}function Z(t,e,n){const o={start:t,end:e};return null!=n&&(o.source=n),o}const Q=" ",tt="\r",et="\n",nt=String.fromCharCode(8232),ot=String.fromCharCode(8233);function it(t){const e=t;let n=0,o=1,i=1,r=0;const a=t=>e[t]===tt&&e[t+1]===et,s=t=>e[t]===et,l=t=>e[t]===ot,c=t=>e[t]===nt,d=t=>a(t)||s(t)||l(t)||c(t),u=()=>n,h=()=>o,p=()=>i,f=()=>r,m=t=>a(t)||l(t)||c(t)?et:e[t],g=()=>m(n),b=()=>m(n+r);function v(){return r=0,d(n)&&(o++,i=0),a(n)&&n++,n++,i++,e[n]}function y(){return a(n+r)&&r++,r++,e[n+r]}function w(){n=0,o=1,i=1,r=0}function x(t=0){r=t}function k(){const t=n+r;while(t!==n)v();r=0}return{index:u,line:h,column:p,peekOffset:f,charAt:m,currentChar:g,currentPeek:b,next:v,peek:y,reset:w,resetPeek:x,skipToPeek:k}}const rt=void 0,at="'",st="tokenizer";function lt(t,e={}){const n=!1!==e.location,o=it(t),i=()=>o.index(),r=()=>K(o.line(),o.column(),o.index()),a=r(),s=i(),l={currentType:14,offset:s,startLoc:a,endLoc:a,lastType:14,lastOffset:s,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:d}=e;function u(t,e,n,...o){const i=c();if(e.column+=n,e.offset+=n,d){const n=Z(i.startLoc,e),r=X(t,n,{domain:st,args:o});d(r)}}function h(t,e,o){t.endLoc=r(),t.currentType=e;const i={type:e};return n&&(i.loc=Z(t.startLoc,t.endLoc)),null!=o&&(i.value=o),i}const p=t=>h(t,14);function f(t,e){return t.currentChar()===e?(t.next(),e):(u(0,r(),0,e),"")}function m(t){let e="";while(t.currentPeek()===Q||t.currentPeek()===et)e+=t.currentPeek(),t.peek();return e}function g(t){const e=m(t);return t.skipToPeek(),e}function b(t){if(t===rt)return!1;const e=t.charCodeAt(0);return e>=97&&e<=122||e>=65&&e<=90||95===e}function v(t){if(t===rt)return!1;const e=t.charCodeAt(0);return e>=48&&e<=57}function y(t,e){const{currentType:n}=e;if(2!==n)return!1;m(t);const o=b(t.currentPeek());return t.resetPeek(),o}function w(t,e){const{currentType:n}=e;if(2!==n)return!1;m(t);const o="-"===t.currentPeek()?t.peek():t.currentPeek(),i=v(o);return t.resetPeek(),i}function x(t,e){const{currentType:n}=e;if(2!==n)return!1;m(t);const o=t.currentPeek()===at;return t.resetPeek(),o}function k(t,e){const{currentType:n}=e;if(8!==n)return!1;m(t);const o="."===t.currentPeek();return t.resetPeek(),o}function $(t,e){const{currentType:n}=e;if(9!==n)return!1;m(t);const o=b(t.currentPeek());return t.resetPeek(),o}function E(t,e){const{currentType:n}=e;if(8!==n&&12!==n)return!1;m(t);const o=":"===t.currentPeek();return t.resetPeek(),o}function S(t,e){const{currentType:n}=e;if(10!==n)return!1;const o=()=>{const e=t.currentPeek();return"{"===e?b(t.peek()):!("@"===e||"%"===e||"|"===e||":"===e||"."===e||e===Q||!e)&&(e===et?(t.peek(),o()):b(e))},i=o();return t.resetPeek(),i}function _(t){m(t);const e="|"===t.currentPeek();return t.resetPeek(),e}function C(t,e=!0){const n=(e=!1,o="",i=!1)=>{const r=t.currentPeek();return"{"===r?"%"!==o&&e:"@"!==r&&r?"%"===r?(t.peek(),n(e,"%",!0)):"|"===r?!("%"!==o&&!i)||!(o===Q||o===et):r===Q?(t.peek(),n(!0,Q,i)):r!==et||(t.peek(),n(!0,et,i)):"%"===o||e},o=n();return e&&t.resetPeek(),o}function A(t,e){const n=t.currentChar();return n===rt?rt:e(n)?(t.next(),n):null}function T(t){const e=t=>{const e=t.charCodeAt(0);return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57||95===e||36===e};return A(t,e)}function I(t){const e=t=>{const e=t.charCodeAt(0);return e>=48&&e<=57};return A(t,e)}function L(t){const e=t=>{const e=t.charCodeAt(0);return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102};return A(t,e)}function R(t){let e="",n="";while(e=I(t))n+=e;return n}function O(t){let e="";while(1){const n=t.currentChar();if("{"===n||"}"===n||"@"===n||"|"===n||!n)break;if("%"===n){if(!C(t))break;e+=n,t.next()}else if(n===Q||n===et)if(C(t))e+=n,t.next();else{if(_(t))break;e+=n,t.next()}else e+=n,t.next()}return e}function D(t){g(t);let e="",n="";while(e=T(t))n+=e;return t.currentChar()===rt&&u(6,r(),0),n}function N(t){g(t);let e="";return"-"===t.currentChar()?(t.next(),e+=`-${R(t)}`):e+=R(t),t.currentChar()===rt&&u(6,r(),0),e}function P(t){g(t),f(t,"'");let e="",n="";const o=t=>t!==at&&t!==et;while(e=A(t,o))n+="\\"===e?z(t):e;const i=t.currentChar();return i===et||i===rt?(u(2,r(),0),i===et&&(t.next(),f(t,"'")),n):(f(t,"'"),n)}function z(t){const e=t.currentChar();switch(e){case"\\":case"'":return t.next(),`\\${e}`;case"u":return j(t,e,4);case"U":return j(t,e,6);default:return u(3,r(),0,e),""}}function j(t,e,n){f(t,e);let o="";for(let i=0;i"{"!==t&&"}"!==t&&t!==Q&&t!==et;while(e=A(t,o))n+=e;return n}function B(t){let e="",n="";while(e=T(t))n+=e;return n}function F(t){const e=(n=!1,o)=>{const i=t.currentChar();return"{"!==i&&"%"!==i&&"@"!==i&&"|"!==i&&i?i===Q?o:i===et?(o+=i,t.next(),e(n,o)):(o+=i,t.next(),e(!0,o)):o};return e(!1,"")}function H(t){g(t);const e=f(t,"|");return g(t),e}function W(t,e){let n=null;const o=t.currentChar();switch(o){case"{":return e.braceNest>=1&&u(8,r(),0),t.next(),n=h(e,2,"{"),g(t),e.braceNest++,n;case"}":return e.braceNest>0&&2===e.currentType&&u(7,r(),0),t.next(),n=h(e,3,"}"),e.braceNest--,e.braceNest>0&&g(t),e.inLinked&&0===e.braceNest&&(e.inLinked=!1),n;case"@":return e.braceNest>0&&u(6,r(),0),n=U(t,e)||p(e),e.braceNest=0,n;default:let o=!0,i=!0,a=!0;if(_(t))return e.braceNest>0&&u(6,r(),0),n=h(e,1,H(t)),e.braceNest=0,e.inLinked=!1,n;if(e.braceNest>0&&(5===e.currentType||6===e.currentType||7===e.currentType))return u(6,r(),0),e.braceNest=0,q(t,e);if(o=y(t,e))return n=h(e,5,D(t)),g(t),n;if(i=w(t,e))return n=h(e,6,N(t)),g(t),n;if(a=x(t,e))return n=h(e,7,P(t)),g(t),n;if(!o&&!i&&!a)return n=h(e,13,M(t)),u(1,r(),0,n.value),g(t),n;break}return n}function U(t,e){const{currentType:n}=e;let o=null;const i=t.currentChar();switch(8!==n&&9!==n&&12!==n&&10!==n||i!==et&&i!==Q||u(9,r(),0),i){case"@":return t.next(),o=h(e,8,"@"),e.inLinked=!0,o;case".":return g(t),t.next(),h(e,9,".");case":":return g(t),t.next(),h(e,10,":");default:return _(t)?(o=h(e,1,H(t)),e.braceNest=0,e.inLinked=!1,o):k(t,e)||E(t,e)?(g(t),U(t,e)):$(t,e)?(g(t),h(e,12,B(t))):S(t,e)?(g(t),"{"===i?W(t,e)||o:h(e,11,F(t))):(8===n&&u(9,r(),0),e.braceNest=0,e.inLinked=!1,q(t,e))}}function q(t,e){let n={type:14};if(e.braceNest>0)return W(t,e)||p(e);if(e.inLinked)return U(t,e)||p(e);const o=t.currentChar();switch(o){case"{":return W(t,e)||p(e);case"}":return u(5,r(),0),t.next(),h(e,3,"}");case"@":return U(t,e)||p(e);default:if(_(t))return n=h(e,1,H(t)),e.braceNest=0,e.inLinked=!1,n;if(C(t))return h(e,0,O(t));if("%"===o)return t.next(),h(e,4,"%");break}return n}function V(){const{currentType:t,offset:e,startLoc:n,endLoc:a}=l;return l.lastType=t,l.lastOffset=e,l.lastStartLoc=n,l.lastEndLoc=a,l.offset=i(),l.startLoc=r(),o.currentChar()===rt?h(l,14):q(o,l)}return{nextToken:V,currentOffset:i,currentPosition:r,context:c}}const ct="parser",dt=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function ut(t,e,n){switch(t){case"\\\\":return"\\";case"\\'":return"'";default:{const t=parseInt(e||n,16);return t<=55295||t>=57344?String.fromCodePoint(t):"�"}}}function ht(t={}){const e=!1!==t.location,{onError:n}=t;function o(t,e,o,i,...r){const a=t.currentPosition();if(a.offset+=i,a.column+=i,n){const t=Z(o,a),i=X(e,t,{domain:ct,args:r});n(i)}}function i(t,n,o){const i={type:t,start:n,end:n};return e&&(i.loc={start:o,end:o}),i}function r(t,n,o,i){t.end=n,i&&(t.type=i),e&&t.loc&&(t.loc.end=o)}function a(t,e){const n=t.context(),o=i(3,n.offset,n.startLoc);return o.value=e,r(o,t.currentOffset(),t.currentPosition()),o}function s(t,e){const n=t.context(),{lastOffset:o,lastStartLoc:a}=n,s=i(5,o,a);return s.index=parseInt(e,10),t.nextToken(),r(s,t.currentOffset(),t.currentPosition()),s}function l(t,e){const n=t.context(),{lastOffset:o,lastStartLoc:a}=n,s=i(4,o,a);return s.key=e,t.nextToken(),r(s,t.currentOffset(),t.currentPosition()),s}function c(t,e){const n=t.context(),{lastOffset:o,lastStartLoc:a}=n,s=i(9,o,a);return s.value=e.replace(dt,ut),t.nextToken(),r(s,t.currentOffset(),t.currentPosition()),s}function d(t){const e=t.nextToken(),n=t.context(),{lastOffset:a,lastStartLoc:s}=n,l=i(8,a,s);return 12!==e.type?(o(t,11,n.lastStartLoc,0),l.value="",r(l,a,s),{nextConsumeToken:e,node:l}):(null==e.value&&o(t,13,n.lastStartLoc,0,pt(e)),l.value=e.value||"",r(l,t.currentOffset(),t.currentPosition()),{node:l})}function u(t,e){const n=t.context(),o=i(7,n.offset,n.startLoc);return o.value=e,r(o,t.currentOffset(),t.currentPosition()),o}function p(t){const e=t.context(),n=i(6,e.offset,e.startLoc);let a=t.nextToken();if(9===a.type){const e=d(t);n.modifier=e.node,a=e.nextConsumeToken||t.nextToken()}switch(10!==a.type&&o(t,13,e.lastStartLoc,0,pt(a)),a=t.nextToken(),2===a.type&&(a=t.nextToken()),a.type){case 11:null==a.value&&o(t,13,e.lastStartLoc,0,pt(a)),n.key=u(t,a.value||"");break;case 5:null==a.value&&o(t,13,e.lastStartLoc,0,pt(a)),n.key=l(t,a.value||"");break;case 6:null==a.value&&o(t,13,e.lastStartLoc,0,pt(a)),n.key=s(t,a.value||"");break;case 7:null==a.value&&o(t,13,e.lastStartLoc,0,pt(a)),n.key=c(t,a.value||"");break;default:o(t,12,e.lastStartLoc,0);const d=t.context(),h=i(7,d.offset,d.startLoc);return h.value="",r(h,d.offset,d.startLoc),n.key=h,r(n,d.offset,d.startLoc),{nextConsumeToken:a,node:n}}return r(n,t.currentOffset(),t.currentPosition()),{node:n}}function f(t){const e=t.context(),n=1===e.currentType?t.currentOffset():e.offset,d=1===e.currentType?e.endLoc:e.startLoc,u=i(2,n,d);u.items=[];let h=null;do{const n=h||t.nextToken();switch(h=null,n.type){case 0:null==n.value&&o(t,13,e.lastStartLoc,0,pt(n)),u.items.push(a(t,n.value||""));break;case 6:null==n.value&&o(t,13,e.lastStartLoc,0,pt(n)),u.items.push(s(t,n.value||""));break;case 5:null==n.value&&o(t,13,e.lastStartLoc,0,pt(n)),u.items.push(l(t,n.value||""));break;case 7:null==n.value&&o(t,13,e.lastStartLoc,0,pt(n)),u.items.push(c(t,n.value||""));break;case 8:const i=p(t);u.items.push(i.node),h=i.nextConsumeToken||null;break}}while(14!==e.currentType&&1!==e.currentType);const f=1===e.currentType?e.lastOffset:t.currentOffset(),m=1===e.currentType?e.lastEndLoc:t.currentPosition();return r(u,f,m),u}function m(t,e,n,a){const s=t.context();let l=0===a.items.length;const c=i(1,e,n);c.cases=[],c.cases.push(a);do{const e=f(t);l||(l=0===e.items.length),c.cases.push(e)}while(14!==s.currentType);return l&&o(t,10,n,0),r(c,t.currentOffset(),t.currentPosition()),c}function g(t){const e=t.context(),{offset:n,startLoc:o}=e,i=f(t);return 14===e.currentType?i:m(t,n,o,i)}function b(n){const a=lt(n,h({},t)),s=a.context(),l=i(0,s.offset,s.startLoc);return e&&l.loc&&(l.loc.source=n),l.body=g(a),14!==s.currentType&&o(a,13,s.lastStartLoc,0,n[s.offset]||""),r(l,a.currentOffset(),a.currentPosition()),l}return{parse:b}}function pt(t){if(14===t.type)return"EOF";const e=(t.value||"").replace(/\r?\n/gu,"\\n");return e.length>10?e.slice(0,9)+"…":e}function ft(t,e={}){const n={ast:t,helpers:new Set},o=()=>n,i=t=>(n.helpers.add(t),t);return{context:o,helper:i}}function mt(t,e){for(let n=0;na;function l(t,e){a.code+=t}function c(t,e=!0){const n=e?i:"";l(r?n+" ".repeat(t):n)}function d(t=!0){const e=++a.indentLevel;t&&c(e)}function u(t=!0){const e=--a.indentLevel;t&&c(e)}function h(){c(a.indentLevel)}const p=t=>`_${t}`,f=()=>a.needIndent;return{context:s,push:l,indent:d,deindent:u,newline:h,helper:p,needIndent:f}}function yt(t,e){const{helper:n}=t;t.push(`${n("linked")}(`),$t(t,e.key),e.modifier&&(t.push(", "),$t(t,e.modifier)),t.push(")")}function wt(t,e){const{helper:n,needIndent:o}=t;t.push(`${n("normalize")}([`),t.indent(o());const i=e.items.length;for(let r=0;r1){t.push(`${n("plural")}([`),t.indent(o());const i=e.cases.length;for(let n=0;n{const n=w(e.mode)?e.mode:"normal",o=w(e.filename)?e.filename:"message.intl",i=!!e.sourceMap,r=null!=e.breakLineCode?e.breakLineCode:"arrow"===n?";":"\n",a=e.needIndent?e.needIndent:"arrow"!==n,s=t.helpers||[],l=vt(t,{mode:n,filename:o,sourceMap:i,breakLineCode:r,needIndent:a});l.push("normal"===n?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(a),s.length>0&&(l.push(`const { ${s.map((t=>`${t}: _${t}`)).join(", ")} } = ctx`),l.newline()),l.push("return "),$t(l,t),l.deindent(a),l.push("}");const{code:c,map:d}=l.context();return{ast:t,code:c,map:d?d.toJSON():void 0}};function St(t,e={}){const n=h({},e),o=ht(n),i=o.parse(t);return bt(i,n),Et(i,n)} +/*! + * @intlify/devtools-if v9.1.10 + * (c) 2022 kazuya kawaguchi + * Released under the MIT License. + */ +const _t={I18nInit:"i18n:init",FunctionTranslate:"function:translate"}; +/*! + * @intlify/core-base v9.1.10 + * (c) 2022 kazuya kawaguchi + * Released under the MIT License. + */ +let Ct=null;function At(t){Ct=t}function Tt(t,e,n){Ct&&Ct.emit(_t.I18nInit,{timestamp:Date.now(),i18n:t,version:e,meta:n})}const It=Lt(_t.FunctionTranslate);function Lt(t){return e=>Ct&&Ct.emit(t,e)}const Rt="9.1.10",Ot=-1,Dt="";function Nt(){return{upper:t=>w(t)?t.toUpperCase():t,lower:t=>w(t)?t.toLowerCase():t,capitalize:t=>w(t)?`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`:t}}let Pt;function zt(t){Pt=t}let jt=null;const Mt=t=>{jt=t},Bt=()=>jt;let Ft=0;function Ht(t={}){const e=w(t.version)?t.version:Rt,n=w(t.locale)?t.locale:"en-US",o=v(t.fallbackLocale)||S(t.fallbackLocale)||w(t.fallbackLocale)||!1===t.fallbackLocale?t.fallbackLocale:n,i=S(t.messages)?t.messages:{[n]:{}},r=S(t.datetimeFormats)?t.datetimeFormats:{[n]:{}},a=S(t.numberFormats)?t.numberFormats:{[n]:{}},s=h({},t.modifiers||{},Nt()),l=t.pluralRules||{},d=y(t.missing)?t.missing:null,p=!x(t.missingWarn)&&!c(t.missingWarn)||t.missingWarn,f=!x(t.fallbackWarn)&&!c(t.fallbackWarn)||t.fallbackWarn,m=!!t.fallbackFormat,g=!!t.unresolving,b=y(t.postTranslation)?t.postTranslation:null,$=S(t.processor)?t.processor:null,E=!x(t.warnHtmlMessage)||t.warnHtmlMessage,_=!!t.escapeParameter,C=y(t.messageCompiler)?t.messageCompiler:Pt,A=y(t.onWarn)?t.onWarn:u,T=t,I=k(T.__datetimeFormatters)?T.__datetimeFormatters:new Map,L=k(T.__numberFormatters)?T.__numberFormatters:new Map,R=k(T.__meta)?T.__meta:{};Ft++;const O={version:e,cid:Ft,locale:n,fallbackLocale:o,messages:i,datetimeFormats:r,numberFormats:a,modifiers:s,pluralRules:l,missing:d,missingWarn:p,fallbackWarn:f,fallbackFormat:m,unresolving:g,postTranslation:b,processor:$,warnHtmlMessage:E,escapeParameter:_,messageCompiler:C,onWarn:A,__datetimeFormatters:I,__numberFormatters:L,__meta:R};return __INTLIFY_PROD_DEVTOOLS__&&Tt(O,e,R),O}function Wt(t,e,n,o,i){const{missing:r,onWarn:a}=t;if(null!==r){const o=r(t,n,e,i);return w(o)?o:e}return e}function Ut(t,e,n){const o=t;o.__localeChainCache||(o.__localeChainCache=new Map);let i=o.__localeChainCache.get(n);if(!i){i=[];let t=[n];while(v(t))t=qt(i,t,e);const r=v(e)?e:S(e)?e["default"]?e["default"]:null:e;t=w(r)?[r]:r,v(t)&&qt(i,t,!1),o.__localeChainCache.set(n,i)}return i}function qt(t,e,n){let o=!0;for(let i=0;it;let Jt=Object.create(null);function Kt(t,e={}){{const n=e.onCacheKey||Xt,o=n(t),i=Jt[o];if(i)return i;let r=!1;const a=e.onError||J;e.onError=t=>{r=!0,a(t)};const{code:s}=St(t,e),l=new Function(`return ${s}`)();return r?l:Jt[o]=l}}function Zt(t){return X(t,null,void 0)}const Qt=()=>"",te=t=>y(t);function ee(t,...e){const{fallbackFormat:n,postTranslation:o,unresolving:i,fallbackLocale:r,messages:a}=t,[s,l]=ae(...e),c=x(l.missingWarn)?l.missingWarn:t.missingWarn,d=x(l.fallbackWarn)?l.fallbackWarn:t.fallbackWarn,u=x(l.escapeParameter)?l.escapeParameter:t.escapeParameter,p=!!l.resolvedMessage,f=w(l.default)||x(l.default)?x(l.default)?s:l.default:n?s:"",m=n||""!==f,g=w(l.locale)?l.locale:t.locale;u&&ne(l);let[b,v,y]=p?[s,g,a[g]||{}]:oe(t,s,g,r,d,c),k=s;if(p||w(b)||te(b)||m&&(b=f,k=b),!p&&(!w(b)&&!te(b)||!w(v)))return i?Ot:s;let $=!1;const E=()=>{$=!0},S=te(b)?b:ie(t,s,v,b,k,E);if($)return b;const _=le(t,v,y,l),C=G(_),A=re(t,S,C),T=o?o(A):A;if(__INTLIFY_PROD_DEVTOOLS__){const e={timestamp:Date.now(),key:w(s)?s:te(b)?b.key:"",locale:v||(te(b)?b.locale:""),format:w(b)?b:te(b)?b.source:"",message:T};e.meta=h({},t.__meta,Bt()||{}),It(e)}return T}function ne(t){v(t.list)?t.list=t.list.map((t=>w(t)?m(t):t)):k(t.named)&&Object.keys(t.named).forEach((e=>{w(t.named[e])&&(t.named[e]=m(t.named[e]))}))}function oe(t,e,n,o,i,r){const{messages:a,onWarn:s}=t,l=Ut(t,o,n);let c,d={},u=null,h=n,p=null;const f="translate";for(let m=0;m{throw a&&a(t),t},onCacheKey:t=>r(e,n,t)}}function le(t,e,n,o){const{modifiers:i,pluralRules:r}=t,a=o=>{const i=j(n,o);if(w(i)){let n=!1;const r=()=>{n=!0},a=ie(t,o,e,i,o,r);return n?Qt:a}return te(i)?i:Qt},l={locale:e,modifiers:i,pluralRules:r,messages:a};return t.processor&&(l.processor=t.processor),o.list&&(l.list=o.list),o.named&&(l.named=o.named),s(o.plural)&&(l.pluralIndex=o.plural),l}const ce="undefined"!==typeof Intl;ce&&Intl.DateTimeFormat,ce&&Intl.NumberFormat;function de(t,...e){const{datetimeFormats:n,unresolving:o,fallbackLocale:i,onWarn:r}=t,{__datetimeFormatters:a}=t;const[s,l,c,u]=ue(...e),p=x(c.missingWarn)?c.missingWarn:t.missingWarn,f=(x(c.fallbackWarn)?c.fallbackWarn:t.fallbackWarn,!!c.part),m=w(c.locale)?c.locale:t.locale,g=Ut(t,i,m);if(!w(s)||""===s)return new Intl.DateTimeFormat(m).format(l);let b,v={},y=null,k=m,$=null;const E="datetime format";for(let d=0;dt(n,o,(0,ge.FN)()||void 0,i)}function Te(t,e){const{messages:n,__i18n:o}=e,i=S(n)?n:v(o)?{}:{[t]:{}};if(v(o)&&o.forEach((({locale:t,resource:e})=>{t?(i[t]=i[t]||{},Le(e,i[t])):Le(e,i)})),e.flatJson)for(const r in i)b(i,r)&&M(i[r]);return i}const Ie=t=>!k(t)||v(t);function Le(t,e){if(Ie(t)||Ie(e))throw we(20);for(const n in t)b(t,n)&&(Ie(t[n])||Ie(e[n])?e[n]=t[n]:Le(t[n],e[n]))}const Re=()=>{const t=(0,ge.FN)();return t&&t.type[xe]?{[xe]:t.type[xe]}:null};function Oe(t={}){const{__root:e}=t,n=void 0===e;let o=!x(t.inheritLocale)||t.inheritLocale;const i=(0,be.iH)(e&&o?e.locale.value:w(t.locale)?t.locale:"en-US"),r=(0,be.iH)(e&&o?e.fallbackLocale.value:w(t.fallbackLocale)||v(t.fallbackLocale)||S(t.fallbackLocale)||!1===t.fallbackLocale?t.fallbackLocale:i.value),a=(0,be.iH)(Te(i.value,t)),l=(0,be.iH)(S(t.datetimeFormats)?t.datetimeFormats:{[i.value]:{}}),d=(0,be.iH)(S(t.numberFormats)?t.numberFormats:{[i.value]:{}});let u=e?e.missingWarn:!x(t.missingWarn)&&!c(t.missingWarn)||t.missingWarn,p=e?e.fallbackWarn:!x(t.fallbackWarn)&&!c(t.fallbackWarn)||t.fallbackWarn,f=e?e.fallbackRoot:!x(t.fallbackRoot)||t.fallbackRoot,m=!!t.fallbackFormat,g=y(t.missing)?t.missing:null,b=y(t.missing)?Ae(t.missing):null,$=y(t.postTranslation)?t.postTranslation:null,E=!x(t.warnHtmlMessage)||t.warnHtmlMessage,_=!!t.escapeParameter;const C=e?e.modifiers:S(t.modifiers)?t.modifiers:{};let A,T=t.pluralRules||e&&e.pluralRules;function I(){return Ht({version:ve,locale:i.value,fallbackLocale:r.value,messages:a.value,datetimeFormats:l.value,numberFormats:d.value,modifiers:C,pluralRules:T,missing:null===b?void 0:b,missingWarn:u,fallbackWarn:p,fallbackFormat:m,unresolving:!0,postTranslation:null===$?void 0:$,warnHtmlMessage:E,escapeParameter:_,__datetimeFormatters:S(A)?A.__datetimeFormatters:void 0,__numberFormatters:S(A)?A.__numberFormatters:void 0,__v_emitter:S(A)?A.__v_emitter:void 0,__meta:{framework:"vue"}})}function L(){return[i.value,r.value,a.value,l.value,d.value]}A=I(),Gt(A,i.value,r.value);const R=(0,ge.Fl)({get:()=>i.value,set:t=>{i.value=t,A.locale=i.value}}),O=(0,ge.Fl)({get:()=>r.value,set:t=>{r.value=t,A.fallbackLocale=r.value,Gt(A,i.value,t)}}),D=(0,ge.Fl)((()=>a.value)),N=(0,ge.Fl)((()=>l.value)),P=(0,ge.Fl)((()=>d.value));function z(){return y($)?$:null}function M(t){$=t,A.postTranslation=t}function B(){return g}function F(t){null!==t&&(b=Ae(t)),g=t,A.missing=b}function H(t,n,o,i,r,a){let l;if(L(),__INTLIFY_PROD_DEVTOOLS__)try{Mt(Re()),l=t(A)}finally{Mt(null)}else l=t(A);if(s(l)&&l===Ot){const[t,o]=n();return e&&f?i(e):r(t)}if(a(l))return l;throw we(14)}function W(...t){return H((e=>ee(e,...t)),(()=>ae(...t)),"translate",(e=>e.t(...t)),(t=>t),(t=>w(t)))}function U(...t){const[e,n,o]=t;if(o&&!k(o))throw we(15);return W(e,n,h({resolvedMessage:!0},o||{}))}function q(...t){return H((e=>de(e,...t)),(()=>ue(...t)),"datetime format",(e=>e.d(...t)),(()=>Dt),(t=>w(t)))}function V(...t){return H((e=>pe(e,...t)),(()=>fe(...t)),"number format",(e=>e.n(...t)),(()=>Dt),(t=>w(t)))}function Y(t){return t.map((t=>w(t)?(0,ge.Wm)(ge.xv,null,t,0):t))}const G=t=>t,X={normalize:Y,interpolate:G,type:"vnode"};function J(...t){return H((e=>{let n;const o=e;try{o.processor=X,n=ee(o,...t)}finally{o.processor=null}return n}),(()=>ae(...t)),"translate",(e=>e[ke](...t)),(t=>[(0,ge.Wm)(ge.xv,null,t,0)]),(t=>v(t)))}function K(...t){return H((e=>pe(e,...t)),(()=>fe(...t)),"number format",(e=>e[Ee](...t)),(()=>[]),(t=>w(t)||v(t)))}function Z(...t){return H((e=>de(e,...t)),(()=>ue(...t)),"datetime format",(e=>e[$e](...t)),(()=>[]),(t=>w(t)||v(t)))}function Q(t){T=t,A.pluralRules=T}function tt(t,e){const n=w(e)?e:i.value,o=ot(n);return null!==j(o,t)}function et(t){let e=null;const n=Ut(A,r.value,i.value);for(let o=0;o{o&&(i.value=t,A.locale=t,Gt(A,i.value,r.value))})),(0,ge.YP)(e.fallbackLocale,(t=>{o&&(r.value=t,A.fallbackLocale=t,Gt(A,i.value,r.value))})));const ht={id:Ce,locale:R,fallbackLocale:O,get inheritLocale(){return o},set inheritLocale(t){o=t,t&&e&&(i.value=e.locale.value,r.value=e.fallbackLocale.value,Gt(A,i.value,r.value))},get availableLocales(){return Object.keys(a.value).sort()},messages:D,datetimeFormats:N,numberFormats:P,get modifiers(){return C},get pluralRules(){return T||{}},get isGlobal(){return n},get missingWarn(){return u},set missingWarn(t){u=t,A.missingWarn=u},get fallbackWarn(){return p},set fallbackWarn(t){p=t,A.fallbackWarn=p},get fallbackRoot(){return f},set fallbackRoot(t){f=t},get fallbackFormat(){return m},set fallbackFormat(t){m=t,A.fallbackFormat=m},get warnHtmlMessage(){return E},set warnHtmlMessage(t){E=t,A.warnHtmlMessage=t},get escapeParameter(){return _},set escapeParameter(t){_=t,A.escapeParameter=t},t:W,rt:U,d:q,n:V,te:tt,tm:nt,getLocaleMessage:ot,setLocaleMessage:it,mergeLocaleMessage:rt,getDateTimeFormat:at,setDateTimeFormat:st,mergeDateTimeFormat:lt,getNumberFormat:ct,setNumberFormat:dt,mergeNumberFormat:ut,getPostTranslationHandler:z,setPostTranslationHandler:M,getMissingHandler:B,setMissingHandler:F,[ke]:J,[Ee]:K,[$e]:Z,[Se]:Q,[_e]:t.__injectWithOption};return ht}function De(t){const e=w(t.locale)?t.locale:"en-US",n=w(t.fallbackLocale)||v(t.fallbackLocale)||S(t.fallbackLocale)||!1===t.fallbackLocale?t.fallbackLocale:e,o=y(t.missing)?t.missing:void 0,i=!x(t.silentTranslationWarn)&&!c(t.silentTranslationWarn)||!t.silentTranslationWarn,r=!x(t.silentFallbackWarn)&&!c(t.silentFallbackWarn)||!t.silentFallbackWarn,a=!x(t.fallbackRoot)||t.fallbackRoot,s=!!t.formatFallbackMessages,l=S(t.modifiers)?t.modifiers:{},d=t.pluralizationRules,u=y(t.postTranslation)?t.postTranslation:void 0,p=!w(t.warnHtmlInMessage)||"off"!==t.warnHtmlInMessage,f=!!t.escapeParameterHtml,m=!x(t.sync)||t.sync;let g=t.messages;if(S(t.sharedMessages)){const e=t.sharedMessages,n=Object.keys(e);g=n.reduce(((t,n)=>{const o=t[n]||(t[n]={});return h(o,e[n]),t}),g||{})}const{__i18n:b,__root:k,__injectWithOption:$}=t,E=t.datetimeFormats,_=t.numberFormats,C=t.flatJson;return{locale:e,fallbackLocale:n,messages:g,flatJson:C,datetimeFormats:E,numberFormats:_,missing:o,missingWarn:i,fallbackWarn:r,fallbackRoot:a,fallbackFormat:s,modifiers:l,pluralRules:d,postTranslation:u,warnHtmlMessage:p,escapeParameter:f,inheritLocale:m,__i18n:b,__root:k,__injectWithOption:$}}function Ne(t={}){const e=Oe(De(t)),n={id:e.id,get locale(){return e.locale.value},set locale(t){e.locale.value=t},get fallbackLocale(){return e.fallbackLocale.value},set fallbackLocale(t){e.fallbackLocale.value=t},get messages(){return e.messages.value},get datetimeFormats(){return e.datetimeFormats.value},get numberFormats(){return e.numberFormats.value},get availableLocales(){return e.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(t){},get missing(){return e.getMissingHandler()},set missing(t){e.setMissingHandler(t)},get silentTranslationWarn(){return x(e.missingWarn)?!e.missingWarn:e.missingWarn},set silentTranslationWarn(t){e.missingWarn=x(t)?!t:t},get silentFallbackWarn(){return x(e.fallbackWarn)?!e.fallbackWarn:e.fallbackWarn},set silentFallbackWarn(t){e.fallbackWarn=x(t)?!t:t},get modifiers(){return e.modifiers},get formatFallbackMessages(){return e.fallbackFormat},set formatFallbackMessages(t){e.fallbackFormat=t},get postTranslation(){return e.getPostTranslationHandler()},set postTranslation(t){e.setPostTranslationHandler(t)},get sync(){return e.inheritLocale},set sync(t){e.inheritLocale=t},get warnHtmlInMessage(){return e.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(t){e.warnHtmlMessage="off"!==t},get escapeParameterHtml(){return e.escapeParameter},set escapeParameterHtml(t){e.escapeParameter=t},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(t){},get pluralizationRules(){return e.pluralRules||{}},__composer:e,t(...t){const[n,o,i]=t,r={};let a=null,s=null;if(!w(n))throw we(15);const l=n;return w(o)?r.locale=o:v(o)?a=o:S(o)&&(s=o),v(i)?a=i:S(i)&&(s=i),e.t(l,a||s||{},r)},rt(...t){return e.rt(...t)},tc(...t){const[n,o,i]=t,r={plural:1};let a=null,l=null;if(!w(n))throw we(15);const c=n;return w(o)?r.locale=o:s(o)?r.plural=o:v(o)?a=o:S(o)&&(l=o),w(i)?r.locale=i:v(i)?a=i:S(i)&&(l=i),e.t(c,a||l||{},r)},te(t,n){return e.te(t,n)},tm(t){return e.tm(t)},getLocaleMessage(t){return e.getLocaleMessage(t)},setLocaleMessage(t,n){e.setLocaleMessage(t,n)},mergeLocaleMessage(t,n){e.mergeLocaleMessage(t,n)},d(...t){return e.d(...t)},getDateTimeFormat(t){return e.getDateTimeFormat(t)},setDateTimeFormat(t,n){e.setDateTimeFormat(t,n)},mergeDateTimeFormat(t,n){e.mergeDateTimeFormat(t,n)},n(...t){return e.n(...t)},getNumberFormat(t){return e.getNumberFormat(t)},setNumberFormat(t,n){e.setNumberFormat(t,n)},mergeNumberFormat(t,n){e.mergeNumberFormat(t,n)},getChoiceIndex(t,e){return-1},__onComponentInstanceCreated(e){const{componentInstanceCreatedListener:o}=t;o&&o(e,n)}};return n}const Pe={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>"parent"===t||"global"===t,default:"parent"},i18n:{type:Object}},ze={name:"i18n-t",props:h({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>s(t)||!isNaN(t)}},Pe),setup(t,e){const{slots:n,attrs:o}=e,i=t.i18n||Ze({useScope:t.scope,__useComponent:!0}),r=Object.keys(n).filter((t=>"_"!==t));return()=>{const n={};t.locale&&(n.locale=t.locale),void 0!==t.plural&&(n.plural=w(t.plural)?+t.plural:t.plural);const a=je(e,r),s=i[ke](t.keypath,a,n),l=h({},o);return w(t.tag)||k(t.tag)?(0,ge.h)(t.tag,l,s):(0,ge.h)(ge.HY,l,s)}}};function je({slots:t},e){return 1===e.length&&"default"===e[0]?t.default?t.default():[]:e.reduce(((e,n)=>{const o=t[n];return o&&(e[n]=o()),e}),{})}function Me(t,e,n,o){const{slots:i,attrs:r}=e;return()=>{const e={part:!0};let a={};t.locale&&(e.locale=t.locale),w(t.format)?e.key=t.format:k(t.format)&&(w(t.format.key)&&(e.key=t.format.key),a=Object.keys(t.format).reduce(((e,o)=>n.includes(o)?h({},e,{[o]:t.format[o]}):e),{}));const s=o(t.value,e,a);let l=[e.key];v(s)?l=s.map(((t,e)=>{const n=i[t.type];return n?n({[t.type]:t.value,index:e,parts:s}):[t.value]})):w(s)&&(l=[s]);const c=h({},r);return w(t.tag)||k(t.tag)?(0,ge.h)(t.tag,c,l):(0,ge.h)(ge.HY,c,l)}}const Be=["localeMatcher","style","unit","unitDisplay","currency","currencyDisplay","useGrouping","numberingSystem","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","notation","formatMatcher"],Fe={name:"i18n-n",props:h({value:{type:Number,required:!0},format:{type:[String,Object]}},Pe),setup(t,e){const n=t.i18n||Ze({useScope:"parent",__useComponent:!0});return Me(t,e,Be,((...t)=>n[Ee](...t)))}},He=["dateStyle","timeStyle","fractionalSecondDigits","calendar","dayPeriod","numberingSystem","localeMatcher","timeZone","hour12","hourCycle","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"],We={name:"i18n-d",props:h({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Pe),setup(t,e){const n=t.i18n||Ze({useScope:"parent",__useComponent:!0});return Me(t,e,He,((...t)=>n[$e](...t)))}};function Ue(t,e){const n=t;if("composition"===t.mode)return n.__getInstance(e)||t.global;{const o=n.__getInstance(e);return null!=o?o.__composer:t.global.__composer}}function qe(t){const e=(e,{instance:n,value:o,modifiers:i})=>{if(!n||!n.$)throw we(22);const r=Ue(t,n.$);const a=Ve(o);e.textContent=r.t(...Ye(a))};return{beforeMount:e,beforeUpdate:e}}function Ve(t){if(w(t))return{path:t};if(S(t)){if(!("path"in t))throw we(19,"path");return t}throw we(20)}function Ye(t){const{path:e,locale:n,args:o,choice:i,plural:r}=t,a={},l=o||{};return w(n)&&(a.locale=n),s(i)&&(a.plural=i),s(r)&&(a.plural=r),[e,l,a]}function Ge(t,e,...n){const o=S(n[0])?n[0]:{},i=!!o.useI18nComponentName,r=!x(o.globalInstall)||o.globalInstall;r&&(t.component(i?"i18n":ze.name,ze),t.component(Fe.name,Fe),t.component(We.name,We)),t.directive("t",qe(e))}function Xe(t,e,n){return{beforeCreate(){const o=(0,ge.FN)();if(!o)throw we(22);const i=this.$options;if(i.i18n){const n=i.i18n;i.__i18n&&(n.__i18n=i.__i18n),n.__root=e,this===this.$root?this.$i18n=Je(t,n):(n.__injectWithOption=!0,this.$i18n=Ne(n))}else i.__i18n?this===this.$root?this.$i18n=Je(t,i):this.$i18n=Ne({__i18n:i.__i18n,__injectWithOption:!0,__root:e}):this.$i18n=t;t.__onComponentInstanceCreated(this.$i18n),n.__setInstance(o,this.$i18n),this.$t=(...t)=>this.$i18n.t(...t),this.$rt=(...t)=>this.$i18n.rt(...t),this.$tc=(...t)=>this.$i18n.tc(...t),this.$te=(t,e)=>this.$i18n.te(t,e),this.$d=(...t)=>this.$i18n.d(...t),this.$n=(...t)=>this.$i18n.n(...t),this.$tm=t=>this.$i18n.tm(t)},mounted(){0},beforeUnmount(){const t=(0,ge.FN)();if(!t)throw we(22);delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,n.__deleteInstance(t),delete this.$i18n}}}function Je(t,e){t.locale=e.locale||t.locale,t.fallbackLocale=e.fallbackLocale||t.fallbackLocale,t.missing=e.missing||t.missing,t.silentTranslationWarn=e.silentTranslationWarn||t.silentFallbackWarn,t.silentFallbackWarn=e.silentFallbackWarn||t.silentFallbackWarn,t.formatFallbackMessages=e.formatFallbackMessages||t.formatFallbackMessages,t.postTranslation=e.postTranslation||t.postTranslation,t.warnHtmlInMessage=e.warnHtmlInMessage||t.warnHtmlInMessage,t.escapeParameterHtml=e.escapeParameterHtml||t.escapeParameterHtml,t.sync=e.sync||t.sync,t.__composer[Se](e.pluralizationRules||t.pluralizationRules);const n=Te(t.locale,{messages:e.messages,__i18n:e.__i18n});return Object.keys(n).forEach((e=>t.mergeLocaleMessage(e,n[e]))),e.datetimeFormats&&Object.keys(e.datetimeFormats).forEach((n=>t.mergeDateTimeFormat(n,e.datetimeFormats[n]))),e.numberFormats&&Object.keys(e.numberFormats).forEach((n=>t.mergeNumberFormat(n,e.numberFormats[n]))),t}function Ke(t={}){const e=__VUE_I18N_LEGACY_API__&&x(t.legacy)?t.legacy:__VUE_I18N_LEGACY_API__,n=!!t.globalInjection,o=new Map,r=__VUE_I18N_LEGACY_API__&&e?Ne(t):Oe(t),a=i(""),s={get mode(){return __VUE_I18N_LEGACY_API__&&e?"legacy":"composition"},async install(t,...o){t.__VUE_I18N_SYMBOL__=a,t.provide(t.__VUE_I18N_SYMBOL__,s),!e&&n&&on(t,s.global),__VUE_I18N_FULL_INSTALL__&&Ge(t,s,...o),__VUE_I18N_LEGACY_API__&&e&&t.mixin(Xe(r,r.__composer,s))},get global(){return r},__instances:o,__getInstance(t){return o.get(t)||null},__setInstance(t,e){o.set(t,e)},__deleteInstance(t){o.delete(t)}};return s}function Ze(t={}){const e=(0,ge.FN)();if(null==e)throw we(16);if(!e.appContext.app.__VUE_I18N_SYMBOL__)throw we(17);const n=(0,ge.f3)(e.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw we(22);const o="composition"===n.mode?n.global:n.global.__composer,i=d(t)?"__i18n"in e.type?"local":"global":t.useScope?t.useScope:"local";if("global"===i){let n=k(t.messages)?t.messages:{};"__i18nGlobal"in e.type&&(n=Te(o.locale.value,{messages:n,__i18n:e.type.__i18nGlobal}));const i=Object.keys(n);if(i.length&&i.forEach((t=>{o.mergeLocaleMessage(t,n[t])})),k(t.datetimeFormats)){const e=Object.keys(t.datetimeFormats);e.length&&e.forEach((e=>{o.mergeDateTimeFormat(e,t.datetimeFormats[e])}))}if(k(t.numberFormats)){const e=Object.keys(t.numberFormats);e.length&&e.forEach((e=>{o.mergeNumberFormat(e,t.numberFormats[e])}))}return o}if("parent"===i){let i=Qe(n,e,t.__useComponent);return null==i&&(i=o),i}if("legacy"===n.mode)throw we(18);const r=n;let a=r.__getInstance(e);if(null==a){const n=e.type,i=h({},t);n.__i18n&&(i.__i18n=n.__i18n),o&&(i.__root=o),a=Oe(i),tn(r,e,a),r.__setInstance(e,a)}return a}function Qe(t,e,n=!1){let o=null;const i=e.root;let r=e.parent;while(null!=r){const e=t;if("composition"===t.mode)o=e.__getInstance(r);else{const t=e.__getInstance(r);null!=t&&(o=t.__composer),n&&o&&!o[_e]&&(o=null)}if(null!=o)break;if(i===r)break;r=r.parent}return o}function tn(t,e,n){(0,ge.bv)((()=>{0}),e),(0,ge.Ah)((()=>{t.__deleteInstance(e)}),e)}const en=["locale","fallbackLocale","availableLocales"],nn=["t","rt","d","n","tm"];function on(t,e){const n=Object.create(null);en.forEach((t=>{const o=Object.getOwnPropertyDescriptor(e,t);if(!o)throw we(22);const i=(0,be.dq)(o.value)?{get(){return o.value.value},set(t){o.value.value=t}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,t,i)})),t.config.globalProperties.$i18n=n,nn.forEach((n=>{const o=Object.getOwnPropertyDescriptor(e,n);if(!o||!o.value)throw we(22);Object.defineProperty(t.config.globalProperties,`$${n}`,o)}))}if(zt(Kt),ye(),__INTLIFY_PROD_DEVTOOLS__){const t=f();t.__INTLIFY__=!0,At(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}},3744:function(t,e){"use strict";e.Z=(t,e)=>{const n=t.__vccOpts||t;for(const[o,i]of e)n[o]=i;return n}},2119:function(t,e,n){"use strict";n.d(e,{PO:function(){return q},XS:function(){return s},ZD:function(){return d},mB:function(){return Mt},p7:function(){return ne},tv:function(){return re},yj:function(){return ae}});var o=n(6252),i=n(2262); +/*! + * vue-router v4.0.16 + * (c) 2022 Eduardo San Martin Morote + * @license MIT + */ +const r="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag,a=t=>r?Symbol(t):"_vr_"+t,s=a("rvlm"),l=a("rvd"),c=a("r"),d=a("rl"),u=a("rvl"),h="undefined"!==typeof window;function p(t){return t.__esModule||r&&"Module"===t[Symbol.toStringTag]}const f=Object.assign;function m(t,e){const n={};for(const o in e){const i=e[o];n[o]=Array.isArray(i)?i.map(t):t(i)}return n}const g=()=>{};const b=/\/$/,v=t=>t.replace(b,"");function y(t,e,n="/"){let o,i={},r="",a="";const s=e.indexOf("?"),l=e.indexOf("#",s>-1?s:0);return s>-1&&(o=e.slice(0,s),r=e.slice(s+1,l>-1?l:e.length),i=t(r)),l>-1&&(o=o||e.slice(0,l),a=e.slice(l,e.length)),o=C(null!=o?o:e,n),{fullPath:o+(r&&"?")+r+a,path:o,query:i,hash:a}}function w(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function x(t,e){return e&&t.toLowerCase().startsWith(e.toLowerCase())?t.slice(e.length)||"/":t}function k(t,e,n){const o=e.matched.length-1,i=n.matched.length-1;return o>-1&&o===i&&$(e.matched[o],n.matched[i])&&E(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function $(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function E(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!S(t[n],e[n]))return!1;return!0}function S(t,e){return Array.isArray(t)?_(t,e):Array.isArray(e)?_(e,t):t===e}function _(t,e){return Array.isArray(e)?t.length===e.length&&t.every(((t,n)=>t===e[n])):1===t.length&&t[0]===e}function C(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),o=t.split("/");let i,r,a=n.length-1;for(i=0;i({left:window.pageXOffset,top:window.pageYOffset});function N(t){let e;if("el"in t){const n=t.el,o="string"===typeof n&&n.startsWith("#");0;const i="string"===typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;e=O(i,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(null!=e.left?e.left:window.pageXOffset,null!=e.top?e.top:window.pageYOffset)}function P(t,e){const n=history.state?history.state.position-e:-1;return n+t}const z=new Map;function j(t,e){z.set(t,e)}function M(t){const e=z.get(t);return z.delete(t),e}let B=()=>location.protocol+"//"+location.host;function F(t,e){const{pathname:n,search:o,hash:i}=e,r=t.indexOf("#");if(r>-1){let e=i.includes(t.slice(r))?t.slice(r).length:1,n=i.slice(e);return"/"!==n[0]&&(n="/"+n),x(n,"")}const a=x(n,t);return a+o+i}function H(t,e,n,o){let i=[],r=[],a=null;const s=({state:r})=>{const s=F(t,location),l=n.value,c=e.value;let d=0;if(r){if(n.value=s,e.value=r,a&&a===l)return void(a=null);d=c?r.position-c.position:0}else o(s);i.forEach((t=>{t(n.value,l,{delta:d,type:A.pop,direction:d?d>0?T.forward:T.back:T.unknown})}))};function l(){a=n.value}function c(t){i.push(t);const e=()=>{const e=i.indexOf(t);e>-1&&i.splice(e,1)};return r.push(e),e}function d(){const{history:t}=window;t.state&&t.replaceState(f({},t.state,{scroll:D()}),"")}function u(){for(const t of r)t();r=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",d),{pauseListeners:l,listen:c,destroy:u}}function W(t,e,n,o=!1,i=!1){return{back:t,current:e,forward:n,replaced:o,position:window.history.length,scroll:i?D():null}}function U(t){const{history:e,location:n}=window,o={value:F(t,n)},i={value:e.state};function r(o,r,a){const s=t.indexOf("#"),l=s>-1?(n.host&&document.querySelector("base")?t:t.slice(s))+o:B()+t+o;try{e[a?"replaceState":"pushState"](r,"",l),i.value=r}catch(c){console.error(c),n[a?"replace":"assign"](l)}}function a(t,n){const a=f({},e.state,W(i.value.back,t,i.value.forward,!0),n,{position:i.value.position});r(t,a,!0),o.value=t}function s(t,n){const a=f({},i.value,e.state,{forward:t,scroll:D()});r(a.current,a,!0);const s=f({},W(o.value,t,null),{position:a.position+1},n);r(t,s,!1),o.value=t}return i.value||r(o.value,{back:null,current:o.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0),{location:o,state:i,push:s,replace:a}}function q(t){t=I(t);const e=U(t),n=H(t,e.state,e.location,e.replace);function o(t,e=!0){e||n.pauseListeners(),history.go(t)}const i=f({location:"",base:t,go:o,createHref:R.bind(null,t)},e,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>e.state.value}),i}function V(t){return"string"===typeof t||t&&"object"===typeof t}function Y(t){return"string"===typeof t||"symbol"===typeof t}const G={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},X=a("nf");var J;(function(t){t[t["aborted"]=4]="aborted",t[t["cancelled"]=8]="cancelled",t[t["duplicated"]=16]="duplicated"})(J||(J={}));function K(t,e){return f(new Error,{type:t,[X]:!0},e)}function Z(t,e){return t instanceof Error&&X in t&&(null==e||!!(t.type&e))}const Q="[^/]+?",tt={sensitive:!1,strict:!1,start:!0,end:!0},et=/[.+*?^${}()[\]/\\]/g;function nt(t,e){const n=f({},tt,e),o=[];let i=n.start?"^":"";const r=[];for(const d of t){const t=d.length?[]:[90];n.strict&&!d.length&&(i+="/");for(let e=0;e1&&(n.endsWith("/")?n=n.slice(0,-1):o=!0)}n+=d}}return n}return{re:a,score:o,keys:r,parse:s,stringify:l}}function ot(t,e){let n=0;while(ne.length?1===e.length&&80===e[0]?1:-1:0}function it(t,e){let n=0;const o=t.score,i=e.score;while(n0&&e[e.length-1]<0}const at={type:0,value:""},st=/[a-zA-Z0-9_]/;function lt(t){if(!t)return[[]];if("/"===t)return[[at]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(t){throw new Error(`ERR (${n})/"${c}": ${t}`)}let n=0,o=n;const i=[];let r;function a(){r&&i.push(r),r=[]}let s,l=0,c="",d="";function u(){c&&(0===n?r.push({type:0,value:c}):1===n||2===n||3===n?(r.length>1&&("*"===s||"+"===s)&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:c,regexp:d,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):e("Invalid state to consume buffer"),c="")}function h(){c+=s}while(l{a(h)}:g}function a(t){if(Y(t)){const e=o.get(t);e&&(o.delete(t),n.splice(n.indexOf(e),1),e.children.forEach(a),e.alias.forEach(a))}else{const e=n.indexOf(t);e>-1&&(n.splice(e,1),t.record.name&&o.delete(t.record.name),t.children.forEach(a),t.alias.forEach(a))}}function s(){return n}function l(t){let e=0;while(e=0&&(t.record.path!==n[e].record.path||!bt(t,n[e])))e++;n.splice(e,0,t),t.record.name&&!ft(t)&&o.set(t.record.name,t)}function c(t,e){let i,r,a,s={};if("name"in t&&t.name){if(i=o.get(t.name),!i)throw K(1,{location:t});a=i.record.name,s=f(ut(e.params,i.keys.filter((t=>!t.optional)).map((t=>t.name))),t.params),r=i.stringify(s)}else if("path"in t)r=t.path,i=n.find((t=>t.re.test(r))),i&&(s=i.parse(r),a=i.record.name);else{if(i=e.name?o.get(e.name):n.find((t=>t.re.test(e.path))),!i)throw K(1,{location:t,currentLocation:e});a=i.record.name,s=f({},e.params,t.params),r=i.stringify(s)}const l=[];let c=i;while(c)l.unshift(c.record),c=c.parent;return{name:a,path:r,params:s,matched:l,meta:mt(l)}}return e=gt({strict:!1,end:!0,sensitive:!1},e),t.forEach((t=>r(t))),{addRoute:r,resolve:c,removeRoute:a,getRoutes:s,getRecordMatcher:i}}function ut(t,e){const n={};for(const o of e)o in t&&(n[o]=t[o]);return n}function ht(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:pt(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||{}:{default:t.component}}}function pt(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const o in t.components)e[o]="boolean"===typeof n?n:n[o];return e}function ft(t){while(t){if(t.record.aliasOf)return!0;t=t.parent}return!1}function mt(t){return t.reduce(((t,e)=>f(t,e.meta)),{})}function gt(t,e){const n={};for(const o in t)n[o]=o in e?e[o]:t[o];return n}function bt(t,e){return e.children.some((e=>e===t||bt(t,e)))}const vt=/#/g,yt=/&/g,wt=/\//g,xt=/=/g,kt=/\?/g,$t=/\+/g,Et=/%5B/g,St=/%5D/g,_t=/%5E/g,Ct=/%60/g,At=/%7B/g,Tt=/%7C/g,It=/%7D/g,Lt=/%20/g;function Rt(t){return encodeURI(""+t).replace(Tt,"|").replace(Et,"[").replace(St,"]")}function Ot(t){return Rt(t).replace(At,"{").replace(It,"}").replace(_t,"^")}function Dt(t){return Rt(t).replace($t,"%2B").replace(Lt,"+").replace(vt,"%23").replace(yt,"%26").replace(Ct,"`").replace(At,"{").replace(It,"}").replace(_t,"^")}function Nt(t){return Dt(t).replace(xt,"%3D")}function Pt(t){return Rt(t).replace(vt,"%23").replace(kt,"%3F")}function zt(t){return null==t?"":Pt(t).replace(wt,"%2F")}function jt(t){try{return decodeURIComponent(""+t)}catch(e){}return""+t}function Mt(t){const e={};if(""===t||"?"===t)return e;const n="?"===t[0],o=(n?t.slice(1):t).split("&");for(let i=0;it&&Dt(t))):[o&&Dt(o)];i.forEach((t=>{void 0!==t&&(e+=(e.length?"&":"")+n,null!=t&&(e+="="+t))}))}return e}function Ft(t){const e={};for(const n in t){const o=t[n];void 0!==o&&(e[n]=Array.isArray(o)?o.map((t=>null==t?null:""+t)):null==o?o:""+o)}return e}function Ht(){let t=[];function e(e){return t.push(e),()=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)}}function n(){t=[]}return{add:e,list:()=>t,reset:n}}function Wt(t,e,n,o,i){const r=o&&(o.enterCallbacks[i]=o.enterCallbacks[i]||[]);return()=>new Promise(((a,s)=>{const l=t=>{!1===t?s(K(4,{from:n,to:e})):t instanceof Error?s(t):V(t)?s(K(2,{from:e,to:t})):(r&&o.enterCallbacks[i]===r&&"function"===typeof t&&r.push(t),a())},c=t.call(o&&o.instances[i],e,n,l);let d=Promise.resolve(c);t.length<3&&(d=d.then(l)),d.catch((t=>s(t)))}))}function Ut(t,e,n,o){const i=[];for(const r of t)for(const t in r.components){let a=r.components[t];if("beforeRouteEnter"===e||r.instances[t])if(qt(a)){const s=a.__vccOpts||a,l=s[e];l&&i.push(Wt(l,n,o,r,t))}else{let s=a();0,i.push((()=>s.then((i=>{if(!i)return Promise.reject(new Error(`Couldn't resolve component "${t}" at "${r.path}"`));const a=p(i)?i.default:i;r.components[t]=a;const s=a.__vccOpts||a,l=s[e];return l&&Wt(l,n,o,r,t)()}))))}}return i}function qt(t){return"object"===typeof t||"displayName"in t||"props"in t||"__vccOpts"in t}function Vt(t){const e=(0,o.f3)(c),n=(0,o.f3)(d),r=(0,o.Fl)((()=>e.resolve((0,i.SU)(t.to)))),a=(0,o.Fl)((()=>{const{matched:t}=r.value,{length:e}=t,o=t[e-1],i=n.matched;if(!o||!i.length)return-1;const a=i.findIndex($.bind(null,o));if(a>-1)return a;const s=Kt(t[e-2]);return e>1&&Kt(o)===s&&i[i.length-1].path!==s?i.findIndex($.bind(null,t[e-2])):a})),s=(0,o.Fl)((()=>a.value>-1&&Jt(n.params,r.value.params))),l=(0,o.Fl)((()=>a.value>-1&&a.value===n.matched.length-1&&E(n.params,r.value.params)));function u(n={}){return Xt(n)?e[(0,i.SU)(t.replace)?"replace":"push"]((0,i.SU)(t.to)).catch(g):Promise.resolve()}return{route:r,href:(0,o.Fl)((()=>r.value.href)),isActive:s,isExactActive:l,navigate:u}}const Yt=(0,o.aZ)({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Vt,setup(t,{slots:e}){const n=(0,i.qj)(Vt(t)),{options:r}=(0,o.f3)(c),a=(0,o.Fl)((()=>({[Zt(t.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Zt(t.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const i=e.default&&e.default(n);return t.custom?i:(0,o.h)("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:a.value},i)}}}),Gt=Yt;function Xt(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&(void 0===t.button||0===t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function Jt(t,e){for(const n in e){const o=e[n],i=t[n];if("string"===typeof o){if(o!==i)return!1}else if(!Array.isArray(i)||i.length!==o.length||o.some(((t,e)=>t!==i[e])))return!1}return!0}function Kt(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Zt=(t,e,n)=>null!=t?t:null!=e?e:n,Qt=(0,o.aZ)({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const r=(0,o.f3)(u),a=(0,o.Fl)((()=>t.route||r.value)),c=(0,o.f3)(l,0),d=(0,o.Fl)((()=>a.value.matched[c]));(0,o.JJ)(l,c+1),(0,o.JJ)(s,d),(0,o.JJ)(u,a);const h=(0,i.iH)();return(0,o.YP)((()=>[h.value,d.value,t.name]),(([t,e,n],[o,i,r])=>{e&&(e.instances[n]=t,i&&i!==e&&t&&t===o&&(e.leaveGuards.size||(e.leaveGuards=i.leaveGuards),e.updateGuards.size||(e.updateGuards=i.updateGuards))),!t||!e||i&&$(e,i)&&o||(e.enterCallbacks[n]||[]).forEach((e=>e(t)))}),{flush:"post"}),()=>{const i=a.value,r=d.value,s=r&&r.components[t.name],l=t.name;if(!s)return te(n.default,{Component:s,route:i});const c=r.props[t.name],u=c?!0===c?i.params:"function"===typeof c?c(i):c:null,p=t=>{t.component.isUnmounted&&(r.instances[l]=null)},m=(0,o.h)(s,f({},u,e,{onVnodeUnmounted:p,ref:h}));return te(n.default,{Component:m,route:i})||m}}});function te(t,e){if(!t)return null;const n=t(e);return 1===n.length?n[0]:n}const ee=Qt;function ne(t){const e=dt(t.routes,t),n=t.parseQuery||Mt,r=t.stringifyQuery||Bt,a=t.history;const s=Ht(),l=Ht(),p=Ht(),b=(0,i.XI)(G);let v=G;h&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const x=m.bind(null,(t=>""+t)),$=m.bind(null,zt),E=m.bind(null,jt);function S(t,n){let o,i;return Y(t)?(o=e.getRecordMatcher(t),i=n):i=t,e.addRoute(i,o)}function _(t){const n=e.getRecordMatcher(t);n&&e.removeRoute(n)}function C(){return e.getRoutes().map((t=>t.record))}function T(t){return!!e.getRecordMatcher(t)}function I(t,o){if(o=f({},o||b.value),"string"===typeof t){const i=y(n,t,o.path),r=e.resolve({path:i.path},o),s=a.createHref(i.fullPath);return f(i,r,{params:E(r.params),hash:jt(i.hash),redirectedFrom:void 0,href:s})}let i;if("path"in t)i=f({},t,{path:y(n,t.path,o.path).path});else{const e=f({},t.params);for(const t in e)null==e[t]&&delete e[t];i=f({},t,{params:$(t.params)}),o.params=$(o.params)}const s=e.resolve(i,o),l=t.hash||"";s.params=x(E(s.params));const c=w(r,f({},t,{hash:Ot(l),path:s.path})),d=a.createHref(c);return f({fullPath:c,hash:l,query:r===Bt?Ft(t.query):t.query||{}},s,{redirectedFrom:void 0,href:d})}function L(t){return"string"===typeof t?y(n,t,b.value.path):f({},t)}function R(t,e){if(v!==t)return K(8,{from:e,to:t})}function O(t){return F(t)}function z(t){return O(f(L(t),{replace:!0}))}function B(t){const e=t.matched[t.matched.length-1];if(e&&e.redirect){const{redirect:n}=e;let o="function"===typeof n?n(t):n;return"string"===typeof o&&(o=o.includes("?")||o.includes("#")?o=L(o):{path:o},o.params={}),f({query:t.query,hash:t.hash,params:t.params},o)}}function F(t,e){const n=v=I(t),o=b.value,i=t.state,a=t.force,s=!0===t.replace,l=B(n);if(l)return F(f(L(l),{state:i,force:a,replace:s}),e||n);const c=n;let d;return c.redirectedFrom=e,!a&&k(r,o,n)&&(d=K(16,{to:c,from:o}),it(o,o,!0,!1)),(d?Promise.resolve(d):W(c,o)).catch((t=>Z(t)?Z(t,2)?t:ot(t):et(t,c,o))).then((t=>{if(t){if(Z(t,2))return F(f(L(t.to),{state:i,force:a,replace:s}),e||c)}else t=q(c,o,!0,s,i);return U(c,o,t),t}))}function H(t,e){const n=R(t,e);return n?Promise.reject(n):Promise.resolve()}function W(t,e){let n;const[o,i,r]=ie(t,e);n=Ut(o.reverse(),"beforeRouteLeave",t,e);for(const s of o)s.leaveGuards.forEach((o=>{n.push(Wt(o,t,e))}));const a=H.bind(null,t,e);return n.push(a),oe(n).then((()=>{n=[];for(const o of s.list())n.push(Wt(o,t,e));return n.push(a),oe(n)})).then((()=>{n=Ut(i,"beforeRouteUpdate",t,e);for(const o of i)o.updateGuards.forEach((o=>{n.push(Wt(o,t,e))}));return n.push(a),oe(n)})).then((()=>{n=[];for(const o of t.matched)if(o.beforeEnter&&!e.matched.includes(o))if(Array.isArray(o.beforeEnter))for(const i of o.beforeEnter)n.push(Wt(i,t,e));else n.push(Wt(o.beforeEnter,t,e));return n.push(a),oe(n)})).then((()=>(t.matched.forEach((t=>t.enterCallbacks={})),n=Ut(r,"beforeRouteEnter",t,e),n.push(a),oe(n)))).then((()=>{n=[];for(const o of l.list())n.push(Wt(o,t,e));return n.push(a),oe(n)})).catch((t=>Z(t,8)?t:Promise.reject(t)))}function U(t,e,n){for(const o of p.list())o(t,e,n)}function q(t,e,n,o,i){const r=R(t,e);if(r)return r;const s=e===G,l=h?history.state:{};n&&(o||s?a.replace(t.fullPath,f({scroll:s&&l&&l.scroll},i)):a.push(t.fullPath,i)),b.value=t,it(t,e,n,s),ot()}let V;function X(){V||(V=a.listen(((t,e,n)=>{const o=I(t),i=B(o);if(i)return void F(f(i,{replace:!0}),o).catch(g);v=o;const r=b.value;h&&j(P(r.fullPath,n.delta),D()),W(o,r).catch((t=>Z(t,12)?t:Z(t,2)?(F(t.to,o).then((t=>{Z(t,20)&&!n.delta&&n.type===A.pop&&a.go(-1,!1)})).catch(g),Promise.reject()):(n.delta&&a.go(-n.delta,!1),et(t,o,r)))).then((t=>{t=t||q(o,r,!1),t&&(n.delta?a.go(-n.delta,!1):n.type===A.pop&&Z(t,20)&&a.go(-1,!1)),U(o,r,t)})).catch(g)})))}let J,Q=Ht(),tt=Ht();function et(t,e,n){ot(t);const o=tt.list();return o.length?o.forEach((o=>o(t,e,n))):console.error(t),Promise.reject(t)}function nt(){return J&&b.value!==G?Promise.resolve():new Promise(((t,e)=>{Q.add([t,e])}))}function ot(t){return J||(J=!t,X(),Q.list().forEach((([e,n])=>t?n(t):e())),Q.reset()),t}function it(e,n,i,r){const{scrollBehavior:a}=t;if(!h||!a)return Promise.resolve();const s=!i&&M(P(e.fullPath,0))||(r||!i)&&history.state&&history.state.scroll||null;return(0,o.Y3)().then((()=>a(e,n,s))).then((t=>t&&N(t))).catch((t=>et(t,e,n)))}const rt=t=>a.go(t);let at;const st=new Set,lt={currentRoute:b,addRoute:S,removeRoute:_,hasRoute:T,getRoutes:C,resolve:I,options:t,push:O,replace:z,go:rt,back:()=>rt(-1),forward:()=>rt(1),beforeEach:s.add,beforeResolve:l.add,afterEach:p.add,onError:tt.add,isReady:nt,install(t){const e=this;t.component("RouterLink",Gt),t.component("RouterView",ee),t.config.globalProperties.$router=e,Object.defineProperty(t.config.globalProperties,"$route",{enumerable:!0,get:()=>(0,i.SU)(b)}),h&&!at&&b.value===G&&(at=!0,O(a.location).catch((t=>{0})));const n={};for(const i in G)n[i]=(0,o.Fl)((()=>b.value[i]));t.provide(c,e),t.provide(d,(0,i.qj)(n)),t.provide(u,b);const r=t.unmount;st.add(t),t.unmount=function(){st.delete(t),st.size<1&&(v=G,V&&V(),V=null,b.value=G,at=!1,J=!1),r()}}};return lt}function oe(t){return t.reduce(((t,e)=>t.then((()=>e()))),Promise.resolve())}function ie(t,e){const n=[],o=[],i=[],r=Math.max(e.matched.length,t.matched.length);for(let a=0;a$(t,r)))?o.push(r):n.push(r));const s=t.matched[a];s&&(e.matched.find((t=>$(t,s)))||i.push(s))}return[n,o,i]}function re(){return(0,o.f3)(c)}function ae(){return(0,o.f3)(d)}},8903:function(t,e,n){"use strict";n.d(e,{$1v:function(){return c},IHx:function(){return o},Pf6:function(){return r},QzP:function(){return i},UQi:function(){return d},euS:function(){return s},gtu:function(){return u},hkI:function(){return a},rI1:function(){return l}});const o="data:image/svg+xml;utf8,Add",i="data:image/svg+xml;utf8,Arrow Forward",r="data:image/svg+xml;utf8,Document",a="data:image/svg+xml;utf8,Lock Closed",s="data:image/svg+xml;utf8,Log Out",l="data:image/svg+xml;utf8,Pencil",c="data:image/svg+xml;utf8,Reader",d="data:image/svg+xml;utf8,Trash Bin",u="data:image/svg+xml;utf8,Trash"}}]); +//# sourceMappingURL=chunk-vendors.bd229e35.js.map \ No newline at end of file diff --git a/ios/App/App/public/js/chunk-vendors.bd229e35.js.map b/ios/App/App/public/js/chunk-vendors.bd229e35.js.map new file mode 100644 index 0000000..92dd023 --- /dev/null +++ b/ios/App/App/public/js/chunk-vendors.bd229e35.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/chunk-vendors.bd229e35.js","mappings":"4HAGO,SAASA,IACZ,GAAuB,qBAAZC,QAAyB,CAChC,IAAIC,EAA0B,qBAAXC,OAAyBA,OAAS,GACjDC,EAAyB,IAKzBC,EAAWC,KAAKC,MAChBC,GAAiB,EACrBN,EAAMO,SAASC,iBAAi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,CAC1F,QACA,gBAKE,GAA6BA,GAAgB,iBAAkB,GAAuB,CACxF,UAmBE,GAAuBA,GAAgB,UAAW,GAAuB,CAC3E,SACA,WACA,WACA,WACA,WACA,WACA,OACA,SACA,SACA,SACA,SACA,SACA,OACA,SACA,SACA,SACA,SACA,SACA,OACA,SACA,SACA,SACA,SACA,WAEE,GAA2BA,GAAgB,cAAe,GAAuB,CACnF,QACA,aACA,kBACA,UACA,UACA,eACA,iBACA,YACA,iBAqEE,GAA0BA,GAAgB,aAAc,GAAuB,CACjF,WACA,gBAEE,GAAuBA,GAAgB,UAAW,GAAuB,CAC3E,MACA,MACA,iBACA,gBACA,aAEE,GAAkCA,GAAgB,sBAAuB,GAAuB,CAClG,YACA,WACA,WACA,gBAEE,GAAyCA,GAAgB,8BAA+B,GAAuB,CACjH,iBACA,gBAEE,GAAyBA,GAAgB,YAAa,GAAuB,CAC/E,kBACA,QACA,SACA,iBACA,eACA,cACA,YACA,aACA,cACA,WACA,WACA,eACA,YACA,MACA,YACA,MACA,YACA,WACA,OACA,UACA,cACA,WACA,WACA,aACA,OACA,OACA,OACA,QACA,WACA,YACA,UACA,WACA,YACD,QAAS,eAAgB,aACtB,GAAwBA,GAAgB,WAAY,GAAuB,CAC7E,QACA,SACA,SACA,aACA,WACA,WACA,OACA,QACA,OACA,MACA,QACA,UACA,kBACA,kBACA,SACA,OACA,qBAyBE,GAAyBA,GAAgB,YAAa,GAAuB,CAC/E,QACA,WACA,WACA,aAEE,GAAwBA,GAAgB,WAAY,GAAuB,CAC7E,QACA,UAEE,GAA8BA,GAAgB,kBAAmB,GAAuB,CAC1F,QACA,UA2CE,GAAyBA,GAAgB,YAAa,GAAuB,CAC/E,QACA,OACA,WACA,QACA,WACA,WACA,WACD,QAAS,eAAgB,aA4BtB,GAA6BA,GAAgB,gBAAiB,GAAuB,CACvF,UACA,UACA,gBACA,mBACA,aACA,WACA,aACA,UACA,aAEE,GAAoCA,GAAgB,wBAAyB,GAAuB,CACtG,cAC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AO,CAACrB,EAAgBC,EAAiBC,GAO7C,SAASoB,KACL,OAAO,QAAOjS,GAMlB,SAASkS,KACL,OAAO,QAAOjS,K,4QCn5GX,MAGM74J,EAAM,mQAoDN+qK,EAAsB,sRAoXtBC,EAAkB,yeAuRlBC,EAAoB,gbASpBC,EAAgB,kXA2MhBC,EAAS,4ZAgHTC,EAAgB,sZAuOhBC,EAAW,yhBAGXC,EAAe","sources":["webpack://tainacan-mobile/./node_modules/@awesome-cordova-plugins/core/bootstrap.js","webpack://tainacan-mobile/./node_modules/tslib/tslib.es6.js","webpack://tainacan-mobile/./node_modules/rxjs/dist/esm5/internal/util/isFunction.js","webpack://tainacan-mobile/./node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js","webpack://tainacan-mobile/./node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js","webpack://tainacan-mobile/./node_modules/rxjs/dist/esm5/internal/util/arrRemove.js","webpack://tainacan-mobile/./node_modules/rxjs/dist/esm5/internal/Subscription.js","webpack://tainacan-mobile/./node_modules/rxjs/dist/esm5/internal/config.js","webpack://tainacan-mobile/./node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js","webpack://tainacan-mobile/./node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js","webpack://tainacan-mobile/./node_modules/rxjs/dist/esm5/internal/util/noop.js","webpack://tainacan-mobile/./node_modules/rxjs/dist/esm5/internal/NotificationFactories.js","webpack://tainacan-mobile/./node_modules/rxjs/dist/esm5/internal/util/errorContext.js","webpack://tainacan-mobile/./node_modules/rxjs/dist/esm5/internal/Subscriber.js","webpack://tainacan-mobile/./node_modules/rxjs/dist/esm5/internal/symbol/observable.js","webpack://tainacan-mobile/./node_modules/rxjs/dist/esm5/internal/util/identity.js","webpack://tainacan-mobile/./node_modules/rxjs/dist/esm5/internal/util/pipe.js","webpack://tainacan-mobile/./node_modules/rxjs/dist/esm5/internal/Observable.js","webpack://tainacan-mobile/./node_modules/@awesome-cordova-plugins/core/decorators/common.js","webpack://tainacan-mobile/./node_modules/@awesome-cordova-plugins/core/util.js","webpack://tainacan-mobile/./node_modules/@awesome-cordova-plugins/core/awesome-cordova-plugin.js","webpack://tainacan-mobile/./node_modules/@awesome-cordova-plugins/core/decorators/cordova-instance.js","webpack://tainacan-mobile/./node_modules/@awesome-cordova-plugins/core/index.js","webpack://tainacan-mobile/./node_modules/@awesome-cordova-plugins/in-app-browser/index.js","webpack://tainacan-mobile/./node_modules/@capacitor/core/dist/index.js","webpack://tainacan-mobile/./node_modules/@capacitor/device/dist/esm/index.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/animation.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/dir.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/gesture-controller.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/hardware-back-button.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/helpers.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/index2.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/index4.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/index7.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/index8.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/keyboard.js","webpack://tainacan-mobile/./node_modules/@ionic/storage/dist/esm/index.js","webpack://tainacan-mobile/./node_modules/@ionic/vue-router/dist/index.esm.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ionic-global.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/theme.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ripple-effect.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/button.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-button.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/buttons.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-buttons.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-card.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-card-header.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-card-title.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-col.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-content.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-header.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-img.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-infinite-scroll.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/index3.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/spinner.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-infinite-scroll-content.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-input.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/index6.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/icon.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/note.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/item.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-item.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/label.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-label.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/list.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-list.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/list-header.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-list-header.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/radio.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-radio.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/cubic-bezier.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/haptic.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-refresher.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-refresher-content.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-row.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-searchbar.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-spinner.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-thumbnail.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-title.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-toolbar.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/overlays.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-back-button.js","webpack://tainacan-mobile/./node_modules/ionicons/node_modules/@stencil/core/internal/app-data/index.js","webpack://tainacan-mobile/./node_modules/ionicons/node_modules/@stencil/core/internal/client/index.js","webpack://tainacan-mobile/./node_modules/ionicons/components/utils.js","webpack://tainacan-mobile/./node_modules/ionicons/components/ion-icon.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/framework-delegate.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-router-outlet.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-tab-button.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-tab-bar.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-app.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/button-active.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/backdrop.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/action-sheet.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-action-sheet.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-loading.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-toast.js","webpack://tainacan-mobile/./node_modules/@ionic/core/components/ion-modal.js","webpack://tainacan-mobile/./node_modules/@ionic/vue/dist/index.esm.js","webpack://tainacan-mobile/./node_modules/@stencil/core/internal/app-data/index.js","webpack://tainacan-mobile/./node_modules/@stencil/core/internal/client/index.js","webpack://tainacan-mobile/./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js","webpack://tainacan-mobile/./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js","webpack://tainacan-mobile/./node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js","webpack://tainacan-mobile/./node_modules/@vue/shared/dist/shared.esm-bundler.js","webpack://tainacan-mobile/./node_modules/axios/index.js","webpack://tainacan-mobile/./node_modules/axios/lib/adapters/xhr.js","webpack://tainacan-mobile/./node_modules/axios/lib/axios.js","webpack://tainacan-mobile/./node_modules/axios/lib/cancel/CancelToken.js","webpack://tainacan-mobile/./node_modules/axios/lib/cancel/CanceledError.js","webpack://tainacan-mobile/./node_modules/axios/lib/cancel/isCancel.js","webpack://tainacan-mobile/./node_modules/axios/lib/core/Axios.js","webpack://tainacan-mobile/./node_modules/axios/lib/core/AxiosError.js","webpack://tainacan-mobile/./node_modules/axios/lib/core/InterceptorManager.js","webpack://tainacan-mobile/./node_modules/axios/lib/core/buildFullPath.js","webpack://tainacan-mobile/./node_modules/axios/lib/core/dispatchRequest.js","webpack://tainacan-mobile/./node_modules/axios/lib/core/mergeConfig.js","webpack://tainacan-mobile/./node_modules/axios/lib/core/settle.js","webpack://tainacan-mobile/./node_modules/axios/lib/core/transformData.js","webpack://tainacan-mobile/./node_modules/axios/lib/defaults/index.js","webpack://tainacan-mobile/./node_modules/axios/lib/defaults/transitional.js","webpack://tainacan-mobile/./node_modules/axios/lib/env/data.js","webpack://tainacan-mobile/./node_modules/axios/lib/helpers/bind.js","webpack://tainacan-mobile/./node_modules/axios/lib/helpers/buildURL.js","webpack://tainacan-mobile/./node_modules/axios/lib/helpers/combineURLs.js","webpack://tainacan-mobile/./node_modules/axios/lib/helpers/cookies.js","webpack://tainacan-mobile/./node_modules/axios/lib/helpers/isAbsoluteURL.js","webpack://tainacan-mobile/./node_modules/axios/lib/helpers/isAxiosError.js","webpack://tainacan-mobile/./node_modules/axios/lib/helpers/isURLSameOrigin.js","webpack://tainacan-mobile/./node_modules/axios/lib/helpers/normalizeHeaderName.js","webpack://tainacan-mobile/./node_modules/axios/lib/helpers/null.js","webpack://tainacan-mobile/./node_modules/axios/lib/helpers/parseHeaders.js","webpack://tainacan-mobile/./node_modules/axios/lib/helpers/parseProtocol.js","webpack://tainacan-mobile/./node_modules/axios/lib/helpers/spread.js","webpack://tainacan-mobile/./node_modules/axios/lib/helpers/toFormData.js","webpack://tainacan-mobile/./node_modules/axios/lib/helpers/validator.js","webpack://tainacan-mobile/./node_modules/axios/lib/utils.js","webpack://tainacan-mobile/./node_modules/core-js/internals/a-callable.js","webpack://tainacan-mobile/./node_modules/core-js/internals/a-possible-prototype.js","webpack://tainacan-mobile/./node_modules/core-js/internals/add-to-unscopables.js","webpack://tainacan-mobile/./node_modules/core-js/internals/an-instance.js","webpack://tainacan-mobile/./node_modules/core-js/internals/an-object.js","webpack://tainacan-mobile/./node_modules/core-js/internals/array-includes.js","webpack://tainacan-mobile/./node_modules/core-js/internals/classof-raw.js","webpack://tainacan-mobile/./node_modules/core-js/internals/classof.js","webpack://tainacan-mobile/./node_modules/core-js/internals/clear-error-stack.js","webpack://tainacan-mobile/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://tainacan-mobile/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://tainacan-mobile/./node_modules/core-js/internals/create-property-descriptor.js","webpack://tainacan-mobile/./node_modules/core-js/internals/define-built-in.js","webpack://tainacan-mobile/./node_modules/core-js/internals/define-global-property.js","webpack://tainacan-mobile/./node_modules/core-js/internals/descriptors.js","webpack://tainacan-mobile/./node_modules/core-js/internals/document-create-element.js","webpack://tainacan-mobile/./node_modules/core-js/internals/dom-exception-constants.js","webpack://tainacan-mobile/./node_modules/core-js/internals/engine-user-agent.js","webpack://tainacan-mobile/./node_modules/core-js/internals/engine-v8-version.js","webpack://tainacan-mobile/./node_modules/core-js/internals/enum-bug-keys.js","webpack://tainacan-mobile/./node_modules/core-js/internals/export.js","webpack://tainacan-mobile/./node_modules/core-js/internals/fails.js","webpack://tainacan-mobile/./node_modules/core-js/internals/function-bind-native.js","webpack://tainacan-mobile/./node_modules/core-js/internals/function-call.js","webpack://tainacan-mobile/./node_modules/core-js/internals/function-name.js","webpack://tainacan-mobile/./node_modules/core-js/internals/function-uncurry-this.js","webpack://tainacan-mobile/./node_modules/core-js/internals/get-built-in.js","webpack://tainacan-mobile/./node_modules/core-js/internals/get-method.js","webpack://tainacan-mobile/./node_modules/core-js/internals/global.js","webpack://tainacan-mobile/./node_modules/core-js/internals/has-own-property.js","webpack://tainacan-mobile/./node_modules/core-js/internals/hidden-keys.js","webpack://tainacan-mobile/./node_modules/core-js/internals/html.js","webpack://tainacan-mobile/./node_modules/core-js/internals/ie8-dom-define.js","webpack://tainacan-mobile/./node_modules/core-js/internals/indexed-object.js","webpack://tainacan-mobile/./node_modules/core-js/internals/inherit-if-required.js","webpack://tainacan-mobile/./node_modules/core-js/internals/inspect-source.js","webpack://tainacan-mobile/./node_modules/core-js/internals/internal-state.js","webpack://tainacan-mobile/./node_modules/core-js/internals/is-callable.js","webpack://tainacan-mobile/./node_modules/core-js/internals/is-forced.js","webpack://tainacan-mobile/./node_modules/core-js/internals/is-object.js","webpack://tainacan-mobile/./node_modules/core-js/internals/is-pure.js","webpack://tainacan-mobile/./node_modules/core-js/internals/is-symbol.js","webpack://tainacan-mobile/./node_modules/core-js/internals/length-of-array-like.js","webpack://tainacan-mobile/./node_modules/core-js/internals/make-built-in.js","webpack://tainacan-mobile/./node_modules/core-js/internals/math-trunc.js","webpack://tainacan-mobile/./node_modules/core-js/internals/native-symbol.js","webpack://tainacan-mobile/./node_modules/core-js/internals/native-weak-map.js","webpack://tainacan-mobile/./node_modules/core-js/internals/normalize-string-argument.js","webpack://tainacan-mobile/./node_modules/core-js/internals/object-create.js","webpack://tainacan-mobile/./node_modules/core-js/internals/object-define-properties.js","webpack://tainacan-mobile/./node_modules/core-js/internals/object-define-property.js","webpack://tainacan-mobile/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://tainacan-mobile/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://tainacan-mobile/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://tainacan-mobile/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://tainacan-mobile/./node_modules/core-js/internals/object-keys-internal.js","webpack://tainacan-mobile/./node_modules/core-js/internals/object-keys.js","webpack://tainacan-mobile/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://tainacan-mobile/./node_modules/core-js/internals/object-set-prototype-of.js","webpack://tainacan-mobile/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://tainacan-mobile/./node_modules/core-js/internals/own-keys.js","webpack://tainacan-mobile/./node_modules/core-js/internals/require-object-coercible.js","webpack://tainacan-mobile/./node_modules/core-js/internals/shared-key.js","webpack://tainacan-mobile/./node_modules/core-js/internals/shared-store.js","webpack://tainacan-mobile/./node_modules/core-js/internals/shared.js","webpack://tainacan-mobile/./node_modules/core-js/internals/to-absolute-index.js","webpack://tainacan-mobile/./node_modules/core-js/internals/to-indexed-object.js","webpack://tainacan-mobile/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://tainacan-mobile/./node_modules/core-js/internals/to-length.js","webpack://tainacan-mobile/./node_modules/core-js/internals/to-object.js","webpack://tainacan-mobile/./node_modules/core-js/internals/to-primitive.js","webpack://tainacan-mobile/./node_modules/core-js/internals/to-property-key.js","webpack://tainacan-mobile/./node_modules/core-js/internals/to-string-tag-support.js","webpack://tainacan-mobile/./node_modules/core-js/internals/to-string.js","webpack://tainacan-mobile/./node_modules/core-js/internals/try-to-string.js","webpack://tainacan-mobile/./node_modules/core-js/internals/uid.js","webpack://tainacan-mobile/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://tainacan-mobile/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://tainacan-mobile/./node_modules/core-js/internals/well-known-symbol.js","webpack://tainacan-mobile/./node_modules/core-js/modules/es.array.includes.js","webpack://tainacan-mobile/./node_modules/core-js/modules/web.dom-exception.stack.js","webpack://tainacan-mobile/./node_modules/localforage/dist/localforage.js","webpack://tainacan-mobile/./node_modules/vue-demi/lib/index.mjs","webpack://tainacan-mobile/./node_modules/pinia/dist/pinia.esm-browser.js","webpack://tainacan-mobile/./node_modules/@intlify/shared/dist/shared.esm-bundler.js","webpack://tainacan-mobile/./node_modules/@intlify/message-resolver/dist/message-resolver.esm-bundler.js","webpack://tainacan-mobile/./node_modules/@intlify/runtime/dist/runtime.esm-bundler.js","webpack://tainacan-mobile/./node_modules/@intlify/message-compiler/dist/message-compiler.esm-bundler.js","webpack://tainacan-mobile/./node_modules/@intlify/devtools-if/dist/devtools-if.esm-bundler.js","webpack://tainacan-mobile/./node_modules/@intlify/core-base/dist/core-base.esm-bundler.js","webpack://tainacan-mobile/./node_modules/vue-i18n/dist/vue-i18n.esm-bundler.js","webpack://tainacan-mobile/./node_modules/vue-loader/dist/exportHelper.js","webpack://tainacan-mobile/./node_modules/vue-router/dist/vue-router.esm-bundler.js","webpack://tainacan-mobile/./node_modules/ionicons/icons/index.mjs"],"sourcesContent":["/**\n *\n */\nexport function checkReady() {\n if (typeof process === 'undefined') {\n var win_1 = typeof window !== 'undefined' ? window : {};\n var DEVICE_READY_TIMEOUT_1 = 5000;\n // To help developers using cordova, we listen for the device ready event and\n // log an error if it didn't fire in a reasonable amount of time. Generally,\n // when this happens, developers should remove and reinstall plugins, since\n // an inconsistent plugin is often the culprit.\n var before_1 = Date.now();\n var didFireReady_1 = false;\n win_1.document.addEventListener('deviceready', function () {\n console.log(\"Ionic Native: deviceready event fired after \" + (Date.now() - before_1) + \" ms\");\n didFireReady_1 = true;\n });\n setTimeout(function () {\n if (!didFireReady_1 && win_1.cordova) {\n console.warn(\"Ionic Native: deviceready did not fire within \" + DEVICE_READY_TIMEOUT_1 + \"ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.\");\n }\n }, DEVICE_READY_TIMEOUT_1);\n }\n}\n//# sourceMappingURL=bootstrap.js.map","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n","export function isFunction(value) {\n return typeof value === 'function';\n}\n//# sourceMappingURL=isFunction.js.map","export function createErrorClass(createImpl) {\n var _super = function (instance) {\n Error.call(instance);\n instance.stack = new Error().stack;\n };\n var ctorFunc = createImpl(_super);\n ctorFunc.prototype = Object.create(Error.prototype);\n ctorFunc.prototype.constructor = ctorFunc;\n return ctorFunc;\n}\n//# sourceMappingURL=createErrorClass.js.map","import { createErrorClass } from './createErrorClass';\nexport var UnsubscriptionError = createErrorClass(function (_super) {\n return function UnsubscriptionErrorImpl(errors) {\n _super(this);\n this.message = errors\n ? errors.length + \" errors occurred during unsubscription:\\n\" + errors.map(function (err, i) { return i + 1 + \") \" + err.toString(); }).join('\\n ')\n : '';\n this.name = 'UnsubscriptionError';\n this.errors = errors;\n };\n});\n//# sourceMappingURL=UnsubscriptionError.js.map","export function arrRemove(arr, item) {\n if (arr) {\n var index = arr.indexOf(item);\n 0 <= index && arr.splice(index, 1);\n }\n}\n//# sourceMappingURL=arrRemove.js.map","import { __read, __spreadArray, __values } from \"tslib\";\nimport { isFunction } from './util/isFunction';\nimport { UnsubscriptionError } from './util/UnsubscriptionError';\nimport { arrRemove } from './util/arrRemove';\nvar Subscription = (function () {\n function Subscription(initialTeardown) {\n this.initialTeardown = initialTeardown;\n this.closed = false;\n this._parentage = null;\n this._finalizers = null;\n }\n Subscription.prototype.unsubscribe = function () {\n var e_1, _a, e_2, _b;\n var errors;\n if (!this.closed) {\n this.closed = true;\n var _parentage = this._parentage;\n if (_parentage) {\n this._parentage = null;\n if (Array.isArray(_parentage)) {\n try {\n for (var _parentage_1 = __values(_parentage), _parentage_1_1 = _parentage_1.next(); !_parentage_1_1.done; _parentage_1_1 = _parentage_1.next()) {\n var parent_1 = _parentage_1_1.value;\n parent_1.remove(this);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_parentage_1_1 && !_parentage_1_1.done && (_a = _parentage_1.return)) _a.call(_parentage_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n }\n else {\n _parentage.remove(this);\n }\n }\n var initialFinalizer = this.initialTeardown;\n if (isFunction(initialFinalizer)) {\n try {\n initialFinalizer();\n }\n catch (e) {\n errors = e instanceof UnsubscriptionError ? e.errors : [e];\n }\n }\n var _finalizers = this._finalizers;\n if (_finalizers) {\n this._finalizers = null;\n try {\n for (var _finalizers_1 = __values(_finalizers), _finalizers_1_1 = _finalizers_1.next(); !_finalizers_1_1.done; _finalizers_1_1 = _finalizers_1.next()) {\n var finalizer = _finalizers_1_1.value;\n try {\n execFinalizer(finalizer);\n }\n catch (err) {\n errors = errors !== null && errors !== void 0 ? errors : [];\n if (err instanceof UnsubscriptionError) {\n errors = __spreadArray(__spreadArray([], __read(errors)), __read(err.errors));\n }\n else {\n errors.push(err);\n }\n }\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_finalizers_1_1 && !_finalizers_1_1.done && (_b = _finalizers_1.return)) _b.call(_finalizers_1);\n }\n finally { if (e_2) throw e_2.error; }\n }\n }\n if (errors) {\n throw new UnsubscriptionError(errors);\n }\n }\n };\n Subscription.prototype.add = function (teardown) {\n var _a;\n if (teardown && teardown !== this) {\n if (this.closed) {\n execFinalizer(teardown);\n }\n else {\n if (teardown instanceof Subscription) {\n if (teardown.closed || teardown._hasParent(this)) {\n return;\n }\n teardown._addParent(this);\n }\n (this._finalizers = (_a = this._finalizers) !== null && _a !== void 0 ? _a : []).push(teardown);\n }\n }\n };\n Subscription.prototype._hasParent = function (parent) {\n var _parentage = this._parentage;\n return _parentage === parent || (Array.isArray(_parentage) && _parentage.includes(parent));\n };\n Subscription.prototype._addParent = function (parent) {\n var _parentage = this._parentage;\n this._parentage = Array.isArray(_parentage) ? (_parentage.push(parent), _parentage) : _parentage ? [_parentage, parent] : parent;\n };\n Subscription.prototype._removeParent = function (parent) {\n var _parentage = this._parentage;\n if (_parentage === parent) {\n this._parentage = null;\n }\n else if (Array.isArray(_parentage)) {\n arrRemove(_parentage, parent);\n }\n };\n Subscription.prototype.remove = function (teardown) {\n var _finalizers = this._finalizers;\n _finalizers && arrRemove(_finalizers, teardown);\n if (teardown instanceof Subscription) {\n teardown._removeParent(this);\n }\n };\n Subscription.EMPTY = (function () {\n var empty = new Subscription();\n empty.closed = true;\n return empty;\n })();\n return Subscription;\n}());\nexport { Subscription };\nexport var EMPTY_SUBSCRIPTION = Subscription.EMPTY;\nexport function isSubscription(value) {\n return (value instanceof Subscription ||\n (value && 'closed' in value && isFunction(value.remove) && isFunction(value.add) && isFunction(value.unsubscribe)));\n}\nfunction execFinalizer(finalizer) {\n if (isFunction(finalizer)) {\n finalizer();\n }\n else {\n finalizer.unsubscribe();\n }\n}\n//# sourceMappingURL=Subscription.js.map","export var config = {\n onUnhandledError: null,\n onStoppedNotification: null,\n Promise: undefined,\n useDeprecatedSynchronousErrorHandling: false,\n useDeprecatedNextContext: false,\n};\n//# sourceMappingURL=config.js.map","import { __read, __spreadArray } from \"tslib\";\nexport var timeoutProvider = {\n setTimeout: function (handler, timeout) {\n var args = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n args[_i - 2] = arguments[_i];\n }\n var delegate = timeoutProvider.delegate;\n if (delegate === null || delegate === void 0 ? void 0 : delegate.setTimeout) {\n return delegate.setTimeout.apply(delegate, __spreadArray([handler, timeout], __read(args)));\n }\n return setTimeout.apply(void 0, __spreadArray([handler, timeout], __read(args)));\n },\n clearTimeout: function (handle) {\n var delegate = timeoutProvider.delegate;\n return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearTimeout) || clearTimeout)(handle);\n },\n delegate: undefined,\n};\n//# sourceMappingURL=timeoutProvider.js.map","import { config } from '../config';\nimport { timeoutProvider } from '../scheduler/timeoutProvider';\nexport function reportUnhandledError(err) {\n timeoutProvider.setTimeout(function () {\n var onUnhandledError = config.onUnhandledError;\n if (onUnhandledError) {\n onUnhandledError(err);\n }\n else {\n throw err;\n }\n });\n}\n//# sourceMappingURL=reportUnhandledError.js.map","export function noop() { }\n//# sourceMappingURL=noop.js.map","export var COMPLETE_NOTIFICATION = (function () { return createNotification('C', undefined, undefined); })();\nexport function errorNotification(error) {\n return createNotification('E', undefined, error);\n}\nexport function nextNotification(value) {\n return createNotification('N', value, undefined);\n}\nexport function createNotification(kind, value, error) {\n return {\n kind: kind,\n value: value,\n error: error,\n };\n}\n//# sourceMappingURL=NotificationFactories.js.map","import { config } from '../config';\nvar context = null;\nexport function errorContext(cb) {\n if (config.useDeprecatedSynchronousErrorHandling) {\n var isRoot = !context;\n if (isRoot) {\n context = { errorThrown: false, error: null };\n }\n cb();\n if (isRoot) {\n var _a = context, errorThrown = _a.errorThrown, error = _a.error;\n context = null;\n if (errorThrown) {\n throw error;\n }\n }\n }\n else {\n cb();\n }\n}\nexport function captureError(err) {\n if (config.useDeprecatedSynchronousErrorHandling && context) {\n context.errorThrown = true;\n context.error = err;\n }\n}\n//# sourceMappingURL=errorContext.js.map","import { __extends } from \"tslib\";\nimport { isFunction } from './util/isFunction';\nimport { isSubscription, Subscription } from './Subscription';\nimport { config } from './config';\nimport { reportUnhandledError } from './util/reportUnhandledError';\nimport { noop } from './util/noop';\nimport { nextNotification, errorNotification, COMPLETE_NOTIFICATION } from './NotificationFactories';\nimport { timeoutProvider } from './scheduler/timeoutProvider';\nimport { captureError } from './util/errorContext';\nvar Subscriber = (function (_super) {\n __extends(Subscriber, _super);\n function Subscriber(destination) {\n var _this = _super.call(this) || this;\n _this.isStopped = false;\n if (destination) {\n _this.destination = destination;\n if (isSubscription(destination)) {\n destination.add(_this);\n }\n }\n else {\n _this.destination = EMPTY_OBSERVER;\n }\n return _this;\n }\n Subscriber.create = function (next, error, complete) {\n return new SafeSubscriber(next, error, complete);\n };\n Subscriber.prototype.next = function (value) {\n if (this.isStopped) {\n handleStoppedNotification(nextNotification(value), this);\n }\n else {\n this._next(value);\n }\n };\n Subscriber.prototype.error = function (err) {\n if (this.isStopped) {\n handleStoppedNotification(errorNotification(err), this);\n }\n else {\n this.isStopped = true;\n this._error(err);\n }\n };\n Subscriber.prototype.complete = function () {\n if (this.isStopped) {\n handleStoppedNotification(COMPLETE_NOTIFICATION, this);\n }\n else {\n this.isStopped = true;\n this._complete();\n }\n };\n Subscriber.prototype.unsubscribe = function () {\n if (!this.closed) {\n this.isStopped = true;\n _super.prototype.unsubscribe.call(this);\n this.destination = null;\n }\n };\n Subscriber.prototype._next = function (value) {\n this.destination.next(value);\n };\n Subscriber.prototype._error = function (err) {\n try {\n this.destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n };\n Subscriber.prototype._complete = function () {\n try {\n this.destination.complete();\n }\n finally {\n this.unsubscribe();\n }\n };\n return Subscriber;\n}(Subscription));\nexport { Subscriber };\nvar _bind = Function.prototype.bind;\nfunction bind(fn, thisArg) {\n return _bind.call(fn, thisArg);\n}\nvar ConsumerObserver = (function () {\n function ConsumerObserver(partialObserver) {\n this.partialObserver = partialObserver;\n }\n ConsumerObserver.prototype.next = function (value) {\n var partialObserver = this.partialObserver;\n if (partialObserver.next) {\n try {\n partialObserver.next(value);\n }\n catch (error) {\n handleUnhandledError(error);\n }\n }\n };\n ConsumerObserver.prototype.error = function (err) {\n var partialObserver = this.partialObserver;\n if (partialObserver.error) {\n try {\n partialObserver.error(err);\n }\n catch (error) {\n handleUnhandledError(error);\n }\n }\n else {\n handleUnhandledError(err);\n }\n };\n ConsumerObserver.prototype.complete = function () {\n var partialObserver = this.partialObserver;\n if (partialObserver.complete) {\n try {\n partialObserver.complete();\n }\n catch (error) {\n handleUnhandledError(error);\n }\n }\n };\n return ConsumerObserver;\n}());\nvar SafeSubscriber = (function (_super) {\n __extends(SafeSubscriber, _super);\n function SafeSubscriber(observerOrNext, error, complete) {\n var _this = _super.call(this) || this;\n var partialObserver;\n if (isFunction(observerOrNext) || !observerOrNext) {\n partialObserver = {\n next: observerOrNext !== null && observerOrNext !== void 0 ? observerOrNext : undefined,\n error: error !== null && error !== void 0 ? error : undefined,\n complete: complete !== null && complete !== void 0 ? complete : undefined,\n };\n }\n else {\n var context_1;\n if (_this && config.useDeprecatedNextContext) {\n context_1 = Object.create(observerOrNext);\n context_1.unsubscribe = function () { return _this.unsubscribe(); };\n partialObserver = {\n next: observerOrNext.next && bind(observerOrNext.next, context_1),\n error: observerOrNext.error && bind(observerOrNext.error, context_1),\n complete: observerOrNext.complete && bind(observerOrNext.complete, context_1),\n };\n }\n else {\n partialObserver = observerOrNext;\n }\n }\n _this.destination = new ConsumerObserver(partialObserver);\n return _this;\n }\n return SafeSubscriber;\n}(Subscriber));\nexport { SafeSubscriber };\nfunction handleUnhandledError(error) {\n if (config.useDeprecatedSynchronousErrorHandling) {\n captureError(error);\n }\n else {\n reportUnhandledError(error);\n }\n}\nfunction defaultErrorHandler(err) {\n throw err;\n}\nfunction handleStoppedNotification(notification, subscriber) {\n var onStoppedNotification = config.onStoppedNotification;\n onStoppedNotification && timeoutProvider.setTimeout(function () { return onStoppedNotification(notification, subscriber); });\n}\nexport var EMPTY_OBSERVER = {\n closed: true,\n next: noop,\n error: defaultErrorHandler,\n complete: noop,\n};\n//# sourceMappingURL=Subscriber.js.map","export var observable = (function () { return (typeof Symbol === 'function' && Symbol.observable) || '@@observable'; })();\n//# sourceMappingURL=observable.js.map","export function identity(x) {\n return x;\n}\n//# sourceMappingURL=identity.js.map","import { identity } from './identity';\nexport function pipe() {\n var fns = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n fns[_i] = arguments[_i];\n }\n return pipeFromArray(fns);\n}\nexport function pipeFromArray(fns) {\n if (fns.length === 0) {\n return identity;\n }\n if (fns.length === 1) {\n return fns[0];\n }\n return function piped(input) {\n return fns.reduce(function (prev, fn) { return fn(prev); }, input);\n };\n}\n//# sourceMappingURL=pipe.js.map","import { SafeSubscriber, Subscriber } from './Subscriber';\nimport { isSubscription } from './Subscription';\nimport { observable as Symbol_observable } from './symbol/observable';\nimport { pipeFromArray } from './util/pipe';\nimport { config } from './config';\nimport { isFunction } from './util/isFunction';\nimport { errorContext } from './util/errorContext';\nvar Observable = (function () {\n function Observable(subscribe) {\n if (subscribe) {\n this._subscribe = subscribe;\n }\n }\n Observable.prototype.lift = function (operator) {\n var observable = new Observable();\n observable.source = this;\n observable.operator = operator;\n return observable;\n };\n Observable.prototype.subscribe = function (observerOrNext, error, complete) {\n var _this = this;\n var subscriber = isSubscriber(observerOrNext) ? observerOrNext : new SafeSubscriber(observerOrNext, error, complete);\n errorContext(function () {\n var _a = _this, operator = _a.operator, source = _a.source;\n subscriber.add(operator\n ?\n operator.call(subscriber, source)\n : source\n ?\n _this._subscribe(subscriber)\n :\n _this._trySubscribe(subscriber));\n });\n return subscriber;\n };\n Observable.prototype._trySubscribe = function (sink) {\n try {\n return this._subscribe(sink);\n }\n catch (err) {\n sink.error(err);\n }\n };\n Observable.prototype.forEach = function (next, promiseCtor) {\n var _this = this;\n promiseCtor = getPromiseCtor(promiseCtor);\n return new promiseCtor(function (resolve, reject) {\n var subscriber = new SafeSubscriber({\n next: function (value) {\n try {\n next(value);\n }\n catch (err) {\n reject(err);\n subscriber.unsubscribe();\n }\n },\n error: reject,\n complete: resolve,\n });\n _this.subscribe(subscriber);\n });\n };\n Observable.prototype._subscribe = function (subscriber) {\n var _a;\n return (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber);\n };\n Observable.prototype[Symbol_observable] = function () {\n return this;\n };\n Observable.prototype.pipe = function () {\n var operations = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n operations[_i] = arguments[_i];\n }\n return pipeFromArray(operations)(this);\n };\n Observable.prototype.toPromise = function (promiseCtor) {\n var _this = this;\n promiseCtor = getPromiseCtor(promiseCtor);\n return new promiseCtor(function (resolve, reject) {\n var value;\n _this.subscribe(function (x) { return (value = x); }, function (err) { return reject(err); }, function () { return resolve(value); });\n });\n };\n Observable.create = function (subscribe) {\n return new Observable(subscribe);\n };\n return Observable;\n}());\nexport { Observable };\nfunction getPromiseCtor(promiseCtor) {\n var _a;\n return (_a = promiseCtor !== null && promiseCtor !== void 0 ? promiseCtor : config.Promise) !== null && _a !== void 0 ? _a : Promise;\n}\nfunction isObserver(value) {\n return value && isFunction(value.next) && isFunction(value.error) && isFunction(value.complete);\n}\nfunction isSubscriber(value) {\n return (value && value instanceof Subscriber) || (isObserver(value) && isSubscription(value));\n}\n//# sourceMappingURL=Observable.js.map","import { fromEvent, Observable } from 'rxjs';\nexport var ERR_CORDOVA_NOT_AVAILABLE = { error: 'cordova_not_available' };\nexport var ERR_PLUGIN_NOT_INSTALLED = { error: 'plugin_not_installed' };\n/**\n * @param callback\n */\nexport function getPromise(callback) {\n var tryNativePromise = function () {\n if (Promise) {\n return new Promise(function (resolve, reject) {\n callback(resolve, reject);\n });\n }\n else {\n console.error('No Promise support or polyfill found. To enable Ionic Native support, please add the es6-promise polyfill before this script, or run with a library like Angular or on a recent browser.');\n }\n };\n if (typeof window !== 'undefined' && window.angular) {\n var doc = window.document;\n var injector = window.angular.element(doc.querySelector('[ng-app]') || doc.body).injector();\n if (injector) {\n var $q = injector.get('$q');\n return $q(function (resolve, reject) {\n callback(resolve, reject);\n });\n }\n console.warn(\"Angular 1 was detected but $q couldn't be retrieved. This is usually when the app is not bootstrapped on the html or body tag. Falling back to native promises which won't trigger an automatic digest when promises resolve.\");\n }\n return tryNativePromise();\n}\n/**\n * @param pluginObj\n * @param methodName\n * @param args\n * @param opts\n */\nexport function wrapPromise(pluginObj, methodName, args, opts) {\n if (opts === void 0) { opts = {}; }\n var pluginResult, rej;\n var p = getPromise(function (resolve, reject) {\n if (opts.destruct) {\n pluginResult = callCordovaPlugin(pluginObj, methodName, args, opts, function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return resolve(args);\n }, function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return reject(args);\n });\n }\n else {\n pluginResult = callCordovaPlugin(pluginObj, methodName, args, opts, resolve, reject);\n }\n rej = reject;\n });\n // Angular throws an error on unhandled rejection, but in this case we have already printed\n // a warning that Cordova is undefined or the plugin is uninstalled, so there is no reason\n // to error\n if (pluginResult && pluginResult.error) {\n p.catch(function () { });\n typeof rej === 'function' && rej(pluginResult.error);\n }\n return p;\n}\n/**\n * @param pluginObj\n * @param methodName\n * @param args\n * @param opts\n */\nfunction wrapOtherPromise(pluginObj, methodName, args, opts) {\n if (opts === void 0) { opts = {}; }\n return getPromise(function (resolve, reject) {\n var pluginResult = callCordovaPlugin(pluginObj, methodName, args, opts);\n if (pluginResult) {\n if (pluginResult.error) {\n reject(pluginResult.error);\n }\n else if (pluginResult.then) {\n pluginResult.then(resolve).catch(reject);\n }\n }\n else {\n reject({ error: 'unexpected_error' });\n }\n });\n}\n/**\n * @param pluginObj\n * @param methodName\n * @param args\n * @param opts\n */\nfunction wrapObservable(pluginObj, methodName, args, opts) {\n if (opts === void 0) { opts = {}; }\n return new Observable(function (observer) {\n var pluginResult;\n if (opts.destruct) {\n pluginResult = callCordovaPlugin(pluginObj, methodName, args, opts, function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return observer.next(args);\n }, function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return observer.error(args);\n });\n }\n else {\n pluginResult = callCordovaPlugin(pluginObj, methodName, args, opts, observer.next.bind(observer), observer.error.bind(observer));\n }\n if (pluginResult && pluginResult.error) {\n observer.error(pluginResult.error);\n observer.complete();\n }\n return function () {\n try {\n if (opts.clearFunction) {\n if (opts.clearWithArgs) {\n return callCordovaPlugin(pluginObj, opts.clearFunction, args, opts, observer.next.bind(observer), observer.error.bind(observer));\n }\n return callCordovaPlugin(pluginObj, opts.clearFunction, []);\n }\n }\n catch (e) {\n console.warn('Unable to clear the previous observable watch for', pluginObj.constructor.getPluginName(), methodName);\n console.warn(e);\n }\n };\n });\n}\n/**\n * Wrap the event with an observable\n *\n * @private\n * @param event event name\n * @param element The element to attach the event listener to\n * @returns {Observable}\n */\nfunction wrapEventObservable(event, element) {\n element =\n typeof window !== 'undefined' && element\n ? get(window, element)\n : element || (typeof window !== 'undefined' ? window : {});\n return fromEvent(element, event);\n}\n/**\n * @param plugin\n * @param methodName\n * @param pluginName\n */\nexport function checkAvailability(plugin, methodName, pluginName) {\n var pluginRef, pluginPackage;\n if (typeof plugin === 'string') {\n pluginRef = plugin;\n }\n else {\n pluginRef = plugin.constructor.getPluginRef();\n pluginName = plugin.constructor.getPluginName();\n pluginPackage = plugin.constructor.getPluginInstallName();\n }\n var pluginInstance = getPlugin(pluginRef);\n if (!pluginInstance || (!!methodName && typeof pluginInstance[methodName] === 'undefined')) {\n if (typeof window === 'undefined' || !window.cordova) {\n cordovaWarn(pluginName, methodName);\n return ERR_CORDOVA_NOT_AVAILABLE;\n }\n pluginWarn(pluginName, pluginPackage, methodName);\n return ERR_PLUGIN_NOT_INSTALLED;\n }\n return true;\n}\n/**\n * Checks if _objectInstance exists and has the method/property\n *\n * @param pluginObj\n * @param methodName\n * @private\n */\nexport function instanceAvailability(pluginObj, methodName) {\n return pluginObj._objectInstance && (!methodName || typeof pluginObj._objectInstance[methodName] !== 'undefined');\n}\n/**\n * @param args\n * @param opts\n * @param resolve\n * @param reject\n */\nexport function setIndex(args, opts, resolve, reject) {\n if (opts === void 0) { opts = {}; }\n // ignore resolve and reject in case sync\n if (opts.sync) {\n return args;\n }\n // If the plugin method expects myMethod(success, err, options)\n if (opts.callbackOrder === 'reverse') {\n // Get those arguments in the order [resolve, reject, ...restOfArgs]\n args.unshift(reject);\n args.unshift(resolve);\n }\n else if (opts.callbackStyle === 'node') {\n args.push(function (err, result) {\n if (err) {\n reject(err);\n }\n else {\n resolve(result);\n }\n });\n }\n else if (opts.callbackStyle === 'object' && opts.successName && opts.errorName) {\n var obj = {};\n obj[opts.successName] = resolve;\n obj[opts.errorName] = reject;\n args.push(obj);\n }\n else if (typeof opts.successIndex !== 'undefined' || typeof opts.errorIndex !== 'undefined') {\n var setSuccessIndex = function () {\n // If we've specified a success/error index\n if (opts.successIndex > args.length) {\n args[opts.successIndex] = resolve;\n }\n else {\n args.splice(opts.successIndex, 0, resolve);\n }\n };\n var setErrorIndex = function () {\n // We don't want that the reject cb gets spliced into the position of an optional argument that has not been\n // defined and thus causing non expected behavior.\n if (opts.errorIndex > args.length) {\n args[opts.errorIndex] = reject; // insert the reject fn at the correct specific index\n }\n else {\n args.splice(opts.errorIndex, 0, reject); // otherwise just splice it into the array\n }\n };\n if (opts.successIndex > opts.errorIndex) {\n setErrorIndex();\n setSuccessIndex();\n }\n else {\n setSuccessIndex();\n setErrorIndex();\n }\n }\n else {\n // Otherwise, let's tack them on to the end of the argument list\n // which is 90% of cases\n args.push(resolve);\n args.push(reject);\n }\n return args;\n}\n/**\n * @param pluginObj\n * @param methodName\n * @param args\n * @param opts\n * @param resolve\n * @param reject\n */\nexport function callCordovaPlugin(pluginObj, methodName, args, opts, resolve, reject) {\n if (opts === void 0) { opts = {}; }\n // Try to figure out where the success/error callbacks need to be bound\n // to our promise resolve/reject handlers.\n args = setIndex(args, opts, resolve, reject);\n var availabilityCheck = checkAvailability(pluginObj, methodName);\n if (availabilityCheck === true) {\n var pluginInstance = getPlugin(pluginObj.constructor.getPluginRef());\n // eslint-disable-next-line prefer-spread\n return pluginInstance[methodName].apply(pluginInstance, args);\n }\n else {\n return availabilityCheck;\n }\n}\n/**\n * @param pluginObj\n * @param methodName\n * @param args\n * @param opts\n * @param resolve\n * @param reject\n */\nexport function callInstance(pluginObj, methodName, args, opts, resolve, reject) {\n if (opts === void 0) { opts = {}; }\n args = setIndex(args, opts, resolve, reject);\n if (instanceAvailability(pluginObj, methodName)) {\n // eslint-disable-next-line prefer-spread\n return pluginObj._objectInstance[methodName].apply(pluginObj._objectInstance, args);\n }\n}\n/**\n * @param pluginRef\n */\nexport function getPlugin(pluginRef) {\n if (typeof window !== 'undefined') {\n return get(window, pluginRef);\n }\n return null;\n}\n/**\n * @param element\n * @param path\n */\nexport function get(element, path) {\n var paths = path.split('.');\n var obj = element;\n for (var i = 0; i < paths.length; i++) {\n if (!obj) {\n return null;\n }\n obj = obj[paths[i]];\n }\n return obj;\n}\n/**\n * @param pluginName\n * @param plugin\n * @param method\n */\nexport function pluginWarn(pluginName, plugin, method) {\n if (method) {\n console.warn('Native: tried calling ' + pluginName + '.' + method + ', but the ' + pluginName + ' plugin is not installed.');\n }\n else {\n console.warn(\"Native: tried accessing the \" + pluginName + \" plugin but it's not installed.\");\n }\n if (plugin) {\n console.warn(\"Install the \" + pluginName + \" plugin: 'ionic cordova plugin add \" + plugin + \"'\");\n }\n}\n/**\n * @private\n * @param pluginName\n * @param method\n */\nexport function cordovaWarn(pluginName, method) {\n if (typeof process === 'undefined') {\n if (method) {\n console.warn('Native: tried calling ' +\n pluginName +\n '.' +\n method +\n ', but Cordova is not available. Make sure to include cordova.js or run in a device/simulator');\n }\n else {\n console.warn('Native: tried accessing the ' +\n pluginName +\n ' plugin but Cordova is not available. Make sure to include cordova.js or run in a device/simulator');\n }\n }\n}\n/**\n * @param pluginObj\n * @param methodName\n * @param opts\n * @private\n */\nexport var wrap = function (pluginObj, methodName, opts) {\n if (opts === void 0) { opts = {}; }\n return function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n if (opts.sync) {\n // Sync doesn't wrap the plugin with a promise or observable, it returns the result as-is\n return callCordovaPlugin(pluginObj, methodName, args, opts);\n }\n else if (opts.observable) {\n return wrapObservable(pluginObj, methodName, args, opts);\n }\n else if (opts.eventObservable && opts.event) {\n return wrapEventObservable(opts.event, opts.element);\n }\n else if (opts.otherPromise) {\n return wrapOtherPromise(pluginObj, methodName, args, opts);\n }\n else {\n return wrapPromise(pluginObj, methodName, args, opts);\n }\n };\n};\n/**\n * @param pluginObj\n * @param methodName\n * @param opts\n * @private\n */\nexport function wrapInstance(pluginObj, methodName, opts) {\n if (opts === void 0) { opts = {}; }\n return function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n if (opts.sync) {\n return callInstance(pluginObj, methodName, args, opts);\n }\n else if (opts.observable) {\n return new Observable(function (observer) {\n var pluginResult;\n if (opts.destruct) {\n pluginResult = callInstance(pluginObj, methodName, args, opts, function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return observer.next(args);\n }, function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return observer.error(args);\n });\n }\n else {\n pluginResult = callInstance(pluginObj, methodName, args, opts, observer.next.bind(observer), observer.error.bind(observer));\n }\n if (pluginResult && pluginResult.error) {\n observer.error(pluginResult.error);\n }\n return function () {\n try {\n if (opts.clearWithArgs) {\n return callInstance(pluginObj, opts.clearFunction, args, opts, observer.next.bind(observer), observer.error.bind(observer));\n }\n return callInstance(pluginObj, opts.clearFunction, []);\n }\n catch (e) {\n console.warn('Unable to clear the previous observable watch for', pluginObj.constructor.getPluginName(), methodName);\n console.warn(e);\n }\n };\n });\n }\n else if (opts.otherPromise) {\n return getPromise(function (resolve, reject) {\n var result;\n if (opts.destruct) {\n result = callInstance(pluginObj, methodName, args, opts, function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return resolve(args);\n }, function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return reject(args);\n });\n }\n else {\n result = callInstance(pluginObj, methodName, args, opts, resolve, reject);\n }\n if (result && result.then) {\n result.then(resolve, reject);\n }\n else {\n reject();\n }\n });\n }\n else {\n var pluginResult_1, rej_1;\n var p = getPromise(function (resolve, reject) {\n if (opts.destruct) {\n pluginResult_1 = callInstance(pluginObj, methodName, args, opts, function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return resolve(args);\n }, function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return reject(args);\n });\n }\n else {\n pluginResult_1 = callInstance(pluginObj, methodName, args, opts, resolve, reject);\n }\n rej_1 = reject;\n });\n // Angular throws an error on unhandled rejection, but in this case we have already printed\n // a warning that Cordova is undefined or the plugin is uninstalled, so there is no reason\n // to error\n if (pluginResult_1 && pluginResult_1.error) {\n p.catch(function () { });\n typeof rej_1 === 'function' && rej_1(pluginResult_1.error);\n }\n return p;\n }\n };\n}\n//# sourceMappingURL=common.js.map","/**\n * @param element\n * @param path\n * @private\n */\nexport function get(element, path) {\n var paths = path.split('.');\n var obj = element;\n for (var i = 0; i < paths.length; i++) {\n if (!obj) {\n return null;\n }\n obj = obj[paths[i]];\n }\n return obj;\n}\n/**\n * @param callback\n * @private\n */\nexport function getPromise(callback) {\n if (callback === void 0) { callback = function () { }; }\n var tryNativePromise = function () {\n if (typeof Promise === 'function' || (typeof window !== 'undefined' && window.Promise)) {\n return new Promise(function (resolve, reject) {\n callback(resolve, reject);\n });\n }\n else {\n console.error('No Promise support or polyfill found. To enable Ionic Native support, please add the es6-promise polyfill before this script, or run with a library like Angular or on a recent browser.');\n }\n };\n return tryNativePromise();\n}\n//# sourceMappingURL=util.js.map","import { checkAvailability } from './decorators/common';\nimport { get } from './util';\nvar AwesomeCordovaNativePlugin = /** @class */ (function () {\n function AwesomeCordovaNativePlugin() {\n }\n /**\n * Returns a boolean that indicates whether the plugin is installed\n *\n * @returns {boolean}\n */\n AwesomeCordovaNativePlugin.installed = function () {\n var isAvailable = checkAvailability(this.pluginRef) === true;\n return isAvailable;\n };\n /**\n * Returns the original plugin object\n */\n AwesomeCordovaNativePlugin.getPlugin = function () {\n if (typeof window !== 'undefined') {\n return get(window, this.pluginRef);\n }\n return null;\n };\n /**\n * Returns the plugin's name\n */\n AwesomeCordovaNativePlugin.getPluginName = function () {\n var pluginName = this.pluginName;\n return pluginName;\n };\n /**\n * Returns the plugin's reference\n */\n AwesomeCordovaNativePlugin.getPluginRef = function () {\n var pluginRef = this.pluginRef;\n return pluginRef;\n };\n /**\n * Returns the plugin's install name\n */\n AwesomeCordovaNativePlugin.getPluginInstallName = function () {\n var plugin = this.plugin;\n return plugin;\n };\n /**\n * Returns the plugin's supported platforms\n */\n AwesomeCordovaNativePlugin.getSupportedPlatforms = function () {\n var platform = this.platforms;\n return platform;\n };\n AwesomeCordovaNativePlugin.pluginName = '';\n AwesomeCordovaNativePlugin.pluginRef = '';\n AwesomeCordovaNativePlugin.plugin = '';\n AwesomeCordovaNativePlugin.repo = '';\n AwesomeCordovaNativePlugin.platforms = [];\n AwesomeCordovaNativePlugin.install = '';\n return AwesomeCordovaNativePlugin;\n}());\nexport { AwesomeCordovaNativePlugin };\n//# sourceMappingURL=awesome-cordova-plugin.js.map","import { wrapInstance } from './common';\n/**\n * @param pluginObj\n * @param methodName\n * @param config\n * @param args\n */\nexport function cordovaInstance(pluginObj, methodName, config, args) {\n args = Array.from(args);\n return wrapInstance(pluginObj, methodName, config).apply(this, args);\n}\n//# sourceMappingURL=cordova-instance.js.map","import { checkReady } from './bootstrap';\nexport { AwesomeCordovaNativePlugin } from './awesome-cordova-plugin';\n// Decorators\nexport { checkAvailability, instanceAvailability, wrap, getPromise } from './decorators/common';\nexport * from './decorators/cordova';\nexport * from './decorators/cordova-function-override';\nexport * from './decorators/cordova-instance';\nexport * from './decorators/cordova-property';\nexport * from './decorators/instance-property';\nexport * from './decorators/interfaces';\ncheckReady();\n//# sourceMappingURL=index.js.map","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { AwesomeCordovaNativePlugin, instanceAvailability, cordovaInstance } from '@awesome-cordova-plugins/core';\nimport { Observable } from 'rxjs';\nvar InAppBrowserObject = /** @class */ (function () {\n /**\n * Opens a URL in a new InAppBrowserOriginal instance, the current browser instance, or the system browser.\n *\n * @param {string} url The URL to load.\n * @param {string} [target=\"self\"] The target in which to load the URL, an optional parameter that defaults to _self.\n * _self: Opens in the WebView if the URL is in the white list, otherwise it opens in the InAppBrowserOriginal.\n * _blank: Opens in the InAppBrowserOriginal.\n * _system: Opens in the system's web browser.\n * @param {string | InAppBrowserOptions} [options] Options for the InAppBrowserOriginal. Optional, defaulting to: location=yes.\n * The options string must not contain any blank space, and each feature's\n * name/value pairs must be separated by a comma. Feature names are case insensitive.\n */\n function InAppBrowserObject(url, target, options) {\n try {\n if (options && typeof options !== 'string') {\n options = Object.keys(options)\n .map(function (key) { return key + \"=\" + options[key]; })\n .join(',');\n }\n this._objectInstance = cordova.InAppBrowser.open(url, target, options);\n }\n catch (e) {\n if (typeof window !== 'undefined') {\n window.open(url, target);\n }\n console.warn('Native: InAppBrowserOriginal is not installed or you are running on a browser. Falling back to window.open.');\n }\n }\n InAppBrowserObject.prototype._loadAfterBeforeload = function (strUrl) { return cordovaInstance(this, \"_loadAfterBeforeload\", { \"sync\": true }, arguments); };\n InAppBrowserObject.prototype.show = function () { return cordovaInstance(this, \"show\", { \"sync\": true }, arguments); };\n InAppBrowserObject.prototype.close = function () { return cordovaInstance(this, \"close\", { \"sync\": true }, arguments); };\n InAppBrowserObject.prototype.hide = function () { return cordovaInstance(this, \"hide\", { \"sync\": true }, arguments); };\n InAppBrowserObject.prototype.executeScript = function (script) { return cordovaInstance(this, \"executeScript\", {}, arguments); };\n InAppBrowserObject.prototype.insertCSS = function (css) { return cordovaInstance(this, \"insertCSS\", {}, arguments); };\n InAppBrowserObject.prototype.on = function (event) {\n var _this = this;\n return (function () {\n if (instanceAvailability(_this) === true) {\n return new Observable(function (observer) {\n _this._objectInstance.addEventListener(event, observer.next.bind(observer));\n return function () { return _this._objectInstance.removeEventListener(event, observer.next.bind(observer)); };\n });\n }\n })();\n };\n InAppBrowserObject.prototype.on = function (event) {\n var _this = this;\n return (function () {\n if (instanceAvailability(_this) === true) {\n return new Observable(function (observer) {\n _this._objectInstance.addEventListener(event, observer.next.bind(observer));\n return function () { return _this._objectInstance.removeEventListener(event, observer.next.bind(observer)); };\n });\n }\n })();\n };\n return InAppBrowserObject;\n}());\nexport { InAppBrowserObject };\nvar InAppBrowserOriginal = /** @class */ (function (_super) {\n __extends(InAppBrowserOriginal, _super);\n function InAppBrowserOriginal() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * Opens a URL in a new InAppBrowserOriginal instance, the current browser instance, or the system browser.\n *\n * @param url {string} The URL to load.\n * @param target {string} The target in which to load the URL, an optional parameter that defaults to _self.\n * @param options {string} Options for the InAppBrowserOriginal. Optional, defaulting to: location=yes.\n * The options string must not contain any blank space, and each feature's\n * name/value pairs must be separated by a comma. Feature names are case insensitive.\n * @returns {InAppBrowserObject}\n */\n InAppBrowserOriginal.prototype.create = function (url, target, options) {\n return new InAppBrowserObject(url, target, options);\n };\n InAppBrowserOriginal.pluginName = \"InAppBrowser\";\n InAppBrowserOriginal.plugin = \"cordova-plugin-inappbrowser\";\n InAppBrowserOriginal.pluginRef = \"cordova.InAppBrowser\";\n InAppBrowserOriginal.repo = \"https://github.com/apache/cordova-plugin-inappbrowser\";\n InAppBrowserOriginal.platforms = [\"AmazonFire OS\", \"Android\", \"Browser\", \"iOS\", \"macOS\", \"Windows\"];\n return InAppBrowserOriginal;\n}(AwesomeCordovaNativePlugin));\nvar InAppBrowser = new InAppBrowserOriginal();\nexport { InAppBrowser };\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvQGF3ZXNvbWUtY29yZG92YS1wbHVnaW5zL3BsdWdpbnMvaW4tYXBwLWJyb3dzZXIvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7OztBQUNBLE9BQU8scUVBQXNFLE1BQU0sK0JBQStCLENBQUM7QUFDbkgsT0FBTyxFQUFFLFVBQVUsRUFBWSxNQUFNLE1BQU0sQ0FBQzs7SUFrSjFDOzs7Ozs7Ozs7OztPQVdHO0lBQ0gsNEJBQVksR0FBVyxFQUFFLE1BQWUsRUFBRSxPQUFzQztRQUM5RSxJQUFJO1lBQ0YsSUFBSSxPQUFPLElBQUksT0FBTyxPQUFPLEtBQUssUUFBUSxFQUFFO2dCQUMxQyxPQUFPLEdBQUcsTUFBTSxDQUFDLElBQUksQ0FBQyxPQUFPLENBQUM7cUJBQzNCLEdBQUcsQ0FBQyxVQUFDLEdBQVcsSUFBSyxPQUFHLEdBQUcsU0FBSyxPQUErQixDQUFDLEdBQUcsQ0FBRyxFQUFqRCxDQUFpRCxDQUFDO3FCQUN2RSxJQUFJLENBQ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249eWVzLlxuICAgKiAgICAgICAgICAgICAgICAgVGhlIG9wdGlvbnMgc3RyaW5nIG11c3Qgbm90IGNvbnRhaW4gYW55IGJsYW5rIHNwYWNlLCBhbmQgZWFjaCBmZWF0dXJlJ3NcbiAgICogICAgICAgICAgICAgICAgIG5hbWUvdmFsdWUgcGFpcnMgbXVzdCBiZSBzZXBhcmF0ZWQgYnkgYSBjb21tYS4gRmVhdHVyZSBuYW1lcyBhcmUgY2FzZSBpbnNlbnNpdGl2ZS5cbiAgICogQHJldHVybnMge0luQXBwQnJvd3Nlck9iamVjdH1cbiAgICovXG4gIGNyZWF0ZSh1cmw6IHN0cmluZywgdGFyZ2V0Pzogc3RyaW5nLCBvcHRpb25zPzogc3RyaW5nIHwgSW5BcHBCcm93c2VyT3B0aW9ucyk6IEluQXBwQnJvd3Nlck9iamVjdCB7XG4gICAgcmV0dXJuIG5ldyBJbkFwcEJyb3dzZXJPYmplY3QodXJsLCB0YXJnZXQsIG9wdGlvbnMpO1xuICB9XG59XG4iXX0=","/*! Capacitor: https://capacitorjs.com/ - MIT License */\nconst createCapacitorPlatforms = (win) => {\n const defaultPlatformMap = new Map();\n defaultPlatformMap.set('web', { name: 'web' });\n const capPlatforms = win.CapacitorPlatforms || {\n currentPlatform: { name: 'web' },\n platforms: defaultPlatformMap,\n };\n const addPlatform = (name, platform) => {\n capPlatforms.platforms.set(name, platform);\n };\n const setPlatform = (name) => {\n if (capPlatforms.platforms.has(name)) {\n capPlatforms.currentPlatform = capPlatforms.platforms.get(name);\n }\n };\n capPlatforms.addPlatform = addPlatform;\n capPlatforms.setPlatform = setPlatform;\n return capPlatforms;\n};\nconst initPlatforms = (win) => (win.CapacitorPlatforms = createCapacitorPlatforms(win));\n/**\n * @deprecated Set `CapacitorCustomPlatform` on the window object prior to runtime executing in the web app instead\n */\nconst CapacitorPlatforms = /*#__PURE__*/ initPlatforms((typeof globalThis !== 'undefined'\n ? globalThis\n : typeof self !== 'undefined'\n ? self\n : typeof window !== 'undefined'\n ? window\n : typeof global !== 'undefined'\n ? global\n : {}));\n/**\n * @deprecated Set `CapacitorCustomPlatform` on the window object prior to runtime executing in the web app instead\n */\nconst addPlatform = CapacitorPlatforms.addPlatform;\n/**\n * @deprecated Set `CapacitorCustomPlatform` on the window object prior to runtime executing in the web app instead\n */\nconst setPlatform = CapacitorPlatforms.setPlatform;\n\nconst legacyRegisterWebPlugin = (cap, webPlugin) => {\n var _a;\n const config = webPlugin.config;\n const Plugins = cap.Plugins;\n if (!config || !config.name) {\n // TODO: add link to upgrade guide\n throw new Error(`Capacitor WebPlugin is using the deprecated \"registerWebPlugin()\" function, but without the config. Please use \"registerPlugin()\" instead to register this web plugin.\"`);\n }\n // TODO: add link to upgrade guide\n console.warn(`Capacitor plugin \"${config.name}\" is using the deprecated \"registerWebPlugin()\" function`);\n if (!Plugins[config.name] || ((_a = config === null || config === void 0 ? void 0 : config.platforms) === null || _a === void 0 ? void 0 : _a.includes(cap.getPlatform()))) {\n // Add the web plugin into the plugins registry if there already isn't\n // an existing one. If it doesn't already exist, that means\n // there's no existing native implementation for it.\n // - OR -\n // If we already have a plugin registered (meaning it was defined in the native layer),\n // then we should only overwrite it if the corresponding web plugin activates on\n // a certain platform. For example: Geolocation uses the WebPlugin on Android but not iOS\n Plugins[config.name] = webPlugin;\n }\n};\n\nvar ExceptionCode;\n(function (ExceptionCode) {\n /**\n * API is not implemented.\n *\n * This usually means the API can't be used because it is not implemented for\n * the current platform.\n */\n ExceptionCode[\"Unimplemented\"] = \"UNIMPLEMENTED\";\n /**\n * API is not available.\n *\n * This means the API can't be used right now because:\n * - it is currently missing a prerequisite, such as network connectivity\n * - it requires a particular platform or browser version\n */\n ExceptionCode[\"Unavailable\"] = \"UNAVAILABLE\";\n})(ExceptionCode || (ExceptionCode = {}));\nclass CapacitorException extends Error {\n constructor(message, code) {\n super(message);\n this.message = message;\n this.code = code;\n }\n}\nconst getPlatformId = (win) => {\n var _a, _b;\n if (win === null || win === void 0 ? void 0 : win.androidBridge) {\n return 'android';\n }\n else if ((_b = (_a = win === null || win === void 0 ? void 0 : win.webkit) === null || _a === void 0 ? void 0 : _a.messageHandlers) === null || _b === void 0 ? void 0 : _b.bridge) {\n return 'ios';\n }\n else {\n return 'web';\n }\n};\n\nconst createCapacitor = (win) => {\n var _a, _b, _c, _d, _e;\n const capCustomPlatform = win.CapacitorCustomPlatform || null;\n const cap = win.Capacitor || {};\n const Plugins = (cap.Plugins = cap.Plugins || {});\n /**\n * @deprecated Use `capCustomPlatform` instead, default functions like registerPlugin will function with the new object.\n */\n const capPlatforms = win.CapacitorPlatforms;\n const defaultGetPlatform = () => {\n return capCustomPlatform !== null\n ? capCustomPlatform.name\n : getPlatformId(win);\n };\n const getPlatform = ((_a = capPlatforms === null || capPlatforms === void 0 ? void 0 : capPlatforms.currentPlatform) === null || _a === void 0 ? void 0 : _a.getPlatform) || defaultGetPlatform;\n const defaultIsNativePlatform = () => getPlatform() !== 'web';\n const isNativePlatform = ((_b = capPlatforms === null || capPlatforms === void 0 ? void 0 : capPlatforms.currentPlatform) === null || _b === void 0 ? void 0 : _b.isNativePlatform) || defaultIsNativePlatform;\n const defaultIsPluginAvailable = (pluginName) => {\n const plugin = registeredPlugins.get(pluginName);\n if (plugin === null || plugin === void 0 ? void 0 : plugin.platforms.has(getPlatform())) {\n // JS implementation available for the current platform.\n return true;\n }\n if (getPluginHeader(pluginName)) {\n // Native implementation available.\n return true;\n }\n return false;\n };\n const isPluginAvailable = ((_c = capPlatforms === null || capPlatforms === void 0 ? void 0 : capPlatforms.currentPlatform) === null || _c === void 0 ? void 0 : _c.isPluginAvailable) ||\n defaultIsPluginAvailable;\n const defaultGetPluginHeader = (pluginName) => { var _a; return (_a = cap.PluginHeaders) === null || _a === void 0 ? void 0 : _a.find(h => h.name === pluginName); };\n const getPluginHeader = ((_d = capPlatforms === null || capPlatforms === void 0 ? void 0 : capPlatforms.currentPlatform) === null || _d === void 0 ? void 0 : _d.getPluginHeader) || defaultGetPluginHeader;\n const handleError = (err) => win.console.error(err);\n const pluginMethodNoop = (_target, prop, pluginName) => {\n return Promise.reject(`${pluginName} does not have an implementation of \"${prop}\".`);\n };\n const registeredPlugins = new Map();\n const defaultRegisterPlugin = (pluginName, jsImplementations = {}) => {\n const registeredPlugin = registeredPlugins.get(pluginName);\n if (registeredPlugin) {\n console.warn(`Capacitor plugin \"${pluginName}\" already registered. Cannot register plugins twice.`);\n return registeredPlugin.proxy;\n }\n const platform = getPlatform();\n const pluginHeader = getPluginHeader(pluginName);\n let jsImplementation;\n const loadPluginImplementation = async () => {\n if (!jsImplementation && platform in jsImplementations) {\n jsImplementation =\n typeof jsImplementations[platform] === 'function'\n ? (jsImplementation = await jsImplementations[platform]())\n : (jsImplementation = jsImplementations[platform]);\n }\n else if (capCustomPlatform !== null &&\n !jsImplementation &&\n 'web' in jsImplementations) {\n jsImplementation =\n typeof jsImplementations['web'] === 'function'\n ? (jsImplementation = await jsImplementations['web']())\n : (jsImplementation = jsImplementations['web']);\n }\n return jsImplementation;\n };\n const createPluginMethod = (impl, prop) => {\n var _a, _b;\n if (pluginHeader) {\n const methodHeader = pluginHeader === null || pluginHeader === void 0 ? void 0 : pluginHeader.methods.find(m => prop === m.name);\n if (methodHeader) {\n if (methodHeader.rtype === 'promise') {\n return (options) => cap.nativePromise(pluginName, prop.toString(), options);\n }\n else {\n return (options, callback) => cap.nativeCallback(pluginName, prop.toString(), options, callback);\n }\n }\n else if (impl) {\n return (_a = impl[prop]) === null || _a === void 0 ? void 0 : _a.bind(impl);\n }\n }\n else if (impl) {\n return (_b = impl[prop]) === null || _b === void 0 ? void 0 : _b.bind(impl);\n }\n else {\n throw new CapacitorException(`\"${pluginName}\" plugin is not implemented on ${platform}`, ExceptionCode.Unimplemented);\n }\n };\n const createPluginMethodWrapper = (prop) => {\n let remove;\n const wrapper = (...args) => {\n const p = loadPluginImplementation().then(impl => {\n const fn = createPluginMethod(impl, prop);\n if (fn) {\n const p = fn(...args);\n remove = p === null || p === void 0 ? void 0 : p.remove;\n return p;\n }\n else {\n throw new CapacitorException(`\"${pluginName}.${prop}()\" is not implemented on ${platform}`, ExceptionCode.Unimplemented);\n }\n });\n if (prop === 'addListener') {\n p.remove = async () => remove();\n }\n return p;\n };\n // Some flair ✨\n wrapper.toString = () => `${prop.toString()}() { [capacitor code] }`;\n Object.defineProperty(wrapper, 'name', {\n value: prop,\n writable: false,\n configurable: false,\n });\n return wrapper;\n };\n const addListener = createPluginMethodWrapper('addListener');\n const removeListener = createPluginMethodWrapper('removeListener');\n const addListenerNative = (eventName, callback) => {\n const call = addListener({ eventName }, callback);\n const remove = async () => {\n const callbackId = await call;\n removeListener({\n eventName,\n callbackId,\n }, callback);\n };\n const p = new Promise(resolve => call.then(() => resolve({ remove })));\n p.remove = async () => {\n console.warn(`Using addListener() without 'await' is deprecated.`);\n await remove();\n };\n return p;\n };\n const proxy = new Proxy({}, {\n get(_, prop) {\n switch (prop) {\n // https://github.com/facebook/react/issues/20030\n case '$$typeof':\n return undefined;\n case 'toJSON':\n return () => ({});\n case 'addListener':\n return pluginHeader ? addListenerNative : addListener;\n case 'removeListener':\n return removeListener;\n default:\n return createPluginMethodWrapper(prop);\n }\n },\n });\n Plugins[pluginName] = proxy;\n registeredPlugins.set(pluginName, {\n name: pluginName,\n proxy,\n platforms: new Set([\n ...Object.keys(jsImplementations),\n ...(pluginHeader ? [platform] : []),\n ]),\n });\n return proxy;\n };\n const registerPlugin = ((_e = capPlatforms === null || capPlatforms === void 0 ? void 0 : capPlatforms.currentPlatform) === null || _e === void 0 ? void 0 : _e.registerPlugin) || defaultRegisterPlugin;\n // Add in convertFileSrc for web, it will already be available in native context\n if (!cap.convertFileSrc) {\n cap.convertFileSrc = filePath => filePath;\n }\n cap.getPlatform = getPlatform;\n cap.handleError = handleError;\n cap.isNativePlatform = isNativePlatform;\n cap.isPluginAvailable = isPluginAvailable;\n cap.pluginMethodNoop = pluginMethodNoop;\n cap.registerPlugin = registerPlugin;\n cap.Exception = CapacitorException;\n cap.DEBUG = !!cap.DEBUG;\n cap.isLoggingEnabled = !!cap.isLoggingEnabled;\n // Deprecated props\n cap.platform = cap.getPlatform();\n cap.isNative = cap.isNativePlatform();\n return cap;\n};\nconst initCapacitorGlobal = (win) => (win.Capacitor = createCapacitor(win));\n\nconst Capacitor = /*#__PURE__*/ initCapacitorGlobal(typeof globalThis !== 'undefined'\n ? globalThis\n : typeof self !== 'undefined'\n ? self\n : typeof window !== 'undefined'\n ? window\n : typeof global !== 'undefined'\n ? global\n : {});\nconst registerPlugin = Capacitor.registerPlugin;\n/**\n * @deprecated Provided for backwards compatibility for Capacitor v2 plugins.\n * Capacitor v3 plugins should import the plugin directly. This \"Plugins\"\n * export is deprecated in v3, and will be removed in v4.\n */\nconst Plugins = Capacitor.Plugins;\n/**\n * Provided for backwards compatibility. Use the registerPlugin() API\n * instead, and provide the web plugin as the \"web\" implmenetation.\n * For example\n *\n * export const Example = registerPlugin('Example', {\n * web: () => import('./web').then(m => new m.Example())\n * })\n *\n * @deprecated Deprecated in v3, will be removed from v4.\n */\nconst registerWebPlugin = (plugin) => legacyRegisterWebPlugin(Capacitor, plugin);\n\n/**\n * Base class web plugins should extend.\n */\nclass WebPlugin {\n constructor(config) {\n this.listeners = {};\n this.windowListeners = {};\n if (config) {\n // TODO: add link to upgrade guide\n console.warn(`Capacitor WebPlugin \"${config.name}\" config object was deprecated in v3 and will be removed in v4.`);\n this.config = config;\n }\n }\n addListener(eventName, listenerFunc) {\n const listeners = this.listeners[eventName];\n if (!listeners) {\n this.listeners[eventName] = [];\n }\n this.listeners[eventName].push(listenerFunc);\n // If we haven't added a window listener for this event and it requires one,\n // go ahead and add it\n const windowListener = this.windowListeners[eventName];\n if (windowListener && !windowListener.registered) {\n this.addWindowListener(windowListener);\n }\n const remove = async () => this.removeListener(eventName, listenerFunc);\n const p = Promise.resolve({ remove });\n Object.defineProperty(p, 'remove', {\n value: async () => {\n console.warn(`Using addListener() without 'await' is deprecated.`);\n await remove();\n },\n });\n return p;\n }\n async removeAllListeners() {\n this.listeners = {};\n for (const listener in this.windowListeners) {\n this.removeWindowListener(this.windowListeners[listener]);\n }\n this.windowListeners = {};\n }\n notifyListeners(eventName, data) {\n const listeners = this.listeners[eventName];\n if (listeners) {\n listeners.forEach(listener => listener(data));\n }\n }\n hasListeners(eventName) {\n return !!this.listeners[eventName].length;\n }\n registerWindowListener(windowEventName, pluginEventName) {\n this.windowListeners[pluginEventName] = {\n registered: false,\n windowEventName,\n pluginEventName,\n handler: event => {\n this.notifyListeners(pluginEventName, event);\n },\n };\n }\n unimplemented(msg = 'not implemented') {\n return new Capacitor.Exception(msg, ExceptionCode.Unimplemented);\n }\n unavailable(msg = 'not available') {\n return new Capacitor.Exception(msg, ExceptionCode.Unavailable);\n }\n async removeListener(eventName, listenerFunc) {\n const listeners = this.listeners[eventName];\n if (!listeners) {\n return;\n }\n const index = listeners.indexOf(listenerFunc);\n this.listeners[eventName].splice(index, 1);\n // If there are no more listeners for this type of event,\n // remove the window listener\n if (!this.listeners[eventName].length) {\n this.removeWindowListener(this.windowListeners[eventName]);\n }\n }\n addWindowListener(handle) {\n window.addEventListener(handle.windowEventName, handle.handler);\n handle.registered = true;\n }\n removeWindowListener(handle) {\n if (!handle) {\n return;\n }\n window.removeEventListener(handle.windowEventName, handle.handler);\n handle.registered = false;\n }\n}\n\nconst WebView = /*#__PURE__*/ registerPlugin('WebView');\n\nexport { Capacitor, CapacitorException, CapacitorPlatforms, ExceptionCode, Plugins, WebPlugin, WebView, addPlatform, registerPlugin, registerWebPlugin, setPlatform };\n//# sourceMappingURL=index.js.map\n","import { registerPlugin } from '@capacitor/core';\nconst Device = registerPlugin('Device', {\n web: () => import('./web').then(m => new m.DeviceWeb()),\n});\nexport * from './definitions';\nexport { Device };\n//# sourceMappingURL=index.js.map","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { r as raf } from './helpers.js';\n\nlet animationPrefix;\n/**\n * Web Animations requires hyphenated CSS properties\n * to be written in camelCase when animating\n */\nconst processKeyframes = (keyframes) => {\n keyframes.forEach((keyframe) => {\n for (const key in keyframe) {\n // eslint-disable-next-line no-prototype-builtins\n if (keyframe.hasOwnProperty(key)) {\n const value = keyframe[key];\n if (key === 'easing') {\n const newKey = 'animation-timing-function';\n keyframe[newKey] = value;\n delete keyframe[key];\n }\n else {\n const newKey = convertCamelCaseToHypen(key);\n if (newKey !== key) {\n keyframe[newKey] = value;\n delete keyframe[key];\n }\n }\n }\n }\n });\n return keyframes;\n};\nconst convertCamelCaseToHypen = (str) => {\n return str.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();\n};\nconst getAnimationPrefix = (el) => {\n if (animationPrefix === undefined) {\n const supportsUnprefixed = el.style.animationName !== undefined;\n const supportsWebkitPrefix = el.style.webkitAnimationName !== undefined;\n animationPrefix = !supportsUnprefixed && supportsWebkitPrefix ? '-webkit-' : '';\n }\n return animationPrefix;\n};\nconst setStyleProperty = (element, propertyName, value) => {\n const prefix = propertyName.startsWith('animation') ? getAnimationPrefix(element) : '';\n element.style.setProperty(prefix + propertyName, value);\n};\nconst removeStyleProperty = (element, propertyName) => {\n const prefix = propertyName.startsWith('animation') ? getAnimationPrefix(element) : '';\n element.style.removeProperty(prefix + propertyName);\n};\nconst animationEnd = (el, callback) => {\n let unRegTrans;\n const opts = { passive: true };\n const unregister = () => {\n if (unRegTrans) {\n unRegTrans();\n }\n };\n const onTransitionEnd = (ev) => {\n if (el === ev.target) {\n unregister();\n callback(ev);\n }\n };\n if (el) {\n el.addEventListener('webkitAnimationEnd', onTransitionEnd, opts);\n el.addEventListener('animationend', onTransitionEnd, opts);\n unRegTrans = () => {\n el.removeEventListener('webkitAnimationEnd', onTransitionEnd, opts);\n el.removeEventListener('animationend', onTransitionEnd, opts);\n };\n }\n return unregister;\n};\nconst generateKeyframeRules = (keyframes = []) => {\n return keyframes\n .map((keyframe) => {\n const offset = keyframe.offset;\n const frameString = [];\n for (const property in keyframe) {\n // eslint-disable-next-line no-prototype-builtins\n if (keyframe.hasOwnProperty(property) && property !== 'offset') {\n frameString.push(`${property}: ${keyframe[property]};`);\n }\n }\n return `${offset * 100}% { ${frameString.join(' ')} }`;\n })\n .join(' ');\n};\nconst keyframeIds = [];\nconst generateKeyframeName = (keyframeRules) => {\n let index = keyframeIds.indexOf(keyframeRules);\n if (index < 0) {\n index = keyframeIds.push(keyframeRules) - 1;\n }\n return `ion-animation-${index}`;\n};\nconst getStyleContainer = (element) => {\n const rootNode = element.getRootNode();\n return rootNode.head || rootNode;\n};\nconst createKeyframeStylesheet = (keyframeName, keyframeRules, element) => {\n const styleContainer = getStyleContainer(element);\n const keyframePrefix = getAnimationPrefix(element);\n const existingStylesheet = styleContainer.querySelector('#' + keyframeName);\n if (existingStylesheet) {\n return existingStylesheet;\n }\n const stylesheet = (element.ownerDocument || document).createElement('style');\n stylesheet.id = keyframeName;\n stylesheet.textContent = `@${keyframePrefix}keyframes ${keyframeName} { ${keyframeRules} } @${keyframePrefix}keyframes ${keyframeName}-alt { ${keyframeRules} }`;\n styleContainer.appendChild(stylesheet);\n return stylesheet;\n};\nconst addClassToArray = (classes = [], className) => {\n if (className !== undefined) {\n const classNameToAppend = Array.isArray(className) ? className : [className];\n return [...classes, ...classNameToAppend];\n }\n return classes;\n};\n\nconst createAnimation = (animationId) => {\n let _delay;\n let _duration;\n let _easing;\n let _iterations;\n let _fill;\n let _direction;\n let _keyframes = [];\n let beforeAddClasses = [];\n let beforeRemoveClasses = [];\n let initialized = false;\n let parentAnimation;\n let beforeStylesValue = {};\n let afterAddClasses = [];\n let afterRemoveClasses = [];\n let afterStylesValue = {};\n let numAnimationsRunning = 0;\n let shouldForceLinearEasing = false;\n let shouldForceSyncPlayback = false;\n let cssAnimationsTimerFallback;\n let forceDirectionValue;\n let forceDurationValue;\n let forceDelayValue;\n let willComplete = true;\n let finished = false;\n let shouldCalculateNumAnimations = true;\n let keyframeName;\n let ani;\n let paused = false;\n const id = animationId;\n const onFinishCallbacks = [];\n const onFinishOneTimeCallbacks = [];\n const elements = [];\n const childAnimations = [];\n const stylesheets = [];\n const _beforeAddReadFunctions = [];\n const _beforeAddWriteFunctions = [];\n const _afterAddReadFunctions = [];\n const _afterAddWriteFunctions = [];\n const webAnimations = [];\n const supportsAnimationEffect = typeof AnimationEffect === 'function' || typeof window.AnimationEffect === 'function';\n const supportsWebAnimations = typeof Element === 'function' &&\n typeof Element.prototype.animate === 'function' &&\n supportsAnimationEffect;\n const ANIMATION_END_FALLBACK_PADDING_MS = 100;\n const getWebAnimations = () => {\n return webAnimations;\n };\n const destroy = (clearStyleSheets) => {\n childAnimations.forEach((childAnimation) => {\n childAnimation.destroy(clearStyleSheets);\n });\n cleanUp(clearStyleSheets);\n elements.length = 0;\n childAnimations.length = 0;\n _keyframes.length = 0;\n clearOnFinish();\n initialized = false;\n shouldCalculateNumAnimations = true;\n return ani;\n };\n /**\n * Cancels any Web Animations, removes\n * any animation properties from the\n * animation's elements, and removes the\n * animation's stylesheets from the DOM.\n */\n const cleanUp = (clearStyleSheets) => {\n cleanUpElements();\n if (clearStyleSheets) {\n cleanUpStyleSheets();\n }\n };\n const resetFlags = () => {\n shouldForceLinearEasing = false;\n shouldForceSyncPlayback = false;\n shouldCalculateNumAnimations = true;\n forceDirectionValue = undefined;\n forceDurationValue = undefined;\n forceDelayValue = undefined;\n numAnimationsRunning = 0;\n finished = false;\n willComplete = true;\n paused = false;\n };\n const isRunning = () => {\n return numAnimationsRunning !== 0 && !paused;\n };\n const onFinish = (callback, opts) => {\n const callbacks = (opts === null || opts === void 0 ? void 0 : opts.oneTimeCallback) ? onFinishOneTimeCallbacks : onFinishCallbacks;\n callbacks.push({ c: callback, o: opts });\n return ani;\n };\n const clearOnFinish = () => {\n onFinishCallbacks.length = 0;\n onFinishOneTimeCallbacks.length = 0;\n return ani;\n };\n /**\n * Cancels any Web Animations and removes\n * any animation properties from the\n * the animation's elements.\n */\n const cleanUpElements = () => {\n if (supportsWebAnimations) {\n webAnimations.forEach((animation) => {\n animation.cancel();\n });\n webAnimations.length = 0;\n }\n else {\n const elementsArray = elements.slice();\n raf(() => {\n elementsArray.forEach((element) => {\n removeStyleProperty(element, 'animation-name');\n removeStyleProperty(element, 'animation-duration');\n removeStyleProperty(element, 'animation-timing-function');\n removeStyleProperty(element, 'animation-iteration-count');\n removeStyleProperty(element, 'animation-delay');\n removeStyleProperty(element, 'animation-play-state');\n removeStyleProperty(element, 'animation-fill-mode');\n removeStyleProperty(element, 'animation-direction');\n });\n });\n }\n };\n /**\n * Removes the animation's stylesheets\n * from the DOM.\n */\n const cleanUpStyleSheets = () => {\n stylesheets.forEach((stylesheet) => {\n /**\n * When sharing stylesheets, it's possible\n * for another animation to have already\n * cleaned up a particular stylesheet\n */\n if (stylesheet === null || stylesheet === void 0 ? void 0 : stylesheet.parentNode) {\n stylesheet.parentNode.removeChild(stylesheet);\n }\n });\n stylesheets.length = 0;\n };\n const beforeAddRead = (readFn) => {\n _beforeAddReadFunctions.push(readFn);\n return ani;\n };\n const beforeAddWrite = (writeFn) => {\n _beforeAddWriteFunctions.push(writeFn);\n return ani;\n };\n const afterAddRead = (readFn) => {\n _afterAddReadFunctions.push(readFn);\n return ani;\n };\n const afterAddWrite = (writeFn) => {\n _afterAddWriteFunctions.push(writeFn);\n return ani;\n };\n const beforeAddClass = (className) => {\n beforeAddClasses = addClassToArray(beforeAddClasses, className);\n return ani;\n };\n const beforeRemoveClass = (className) => {\n beforeRemoveClasses = addClassToArray(beforeRemoveClasses, className);\n return ani;\n };\n /**\n * Set CSS inline styles to the animation's\n * elements before the animation begins.\n */\n const beforeStyles = (styles = {}) => {\n beforeStylesValue = styles;\n return ani;\n };\n /**\n * Clear CSS inline styles from the animation's\n * elements before the animation begins.\n */\n const beforeClearStyles = (propertyNames = []) => {\n for (const property of propertyNames) {\n beforeStylesValue[property] = '';\n }\n return ani;\n };\n const afterAddClass = (className) => {\n afterAddClasses = addClassToArray(afterAddClasses, className);\n return ani;\n };\n const afterRemoveClass = (className) => {\n afterRemoveClasses = addClassToArray(afterRemoveClasses, className);\n return ani;\n };\n const afterStyles = (styles = {}) => {\n afterStylesValue = styles;\n return ani;\n };\n const afterClearStyles = (propertyNames = []) => {\n for (const property of propertyNames) {\n afterStylesValue[property] = '';\n }\n return ani;\n };\n const getFill = () => {\n if (_fill !== undefined) {\n return _fill;\n }\n if (parentAnimation) {\n return parentAnimation.getFill();\n }\n return 'both';\n };\n const getDirection = () => {\n if (forceDirectionValue !== undefined) {\n return forceDirectionValue;\n }\n if (_direction !== undefined) {\n return _direction;\n }\n if (parentAnimation) {\n return parentAnimation.getDirection();\n }\n return 'normal';\n };\n const getEasing = () => {\n if (shouldForceLinearEasing) {\n return 'linear';\n }\n if (_easing !== undefined) {\n return _easing;\n }\n if (parentAnimation) {\n return parentAnimation.getEasing();\n }\n return 'linear';\n };\n const getDuration = () => {\n if (shouldForceSyncPlayback) {\n return 0;\n }\n if (forceDurationValue !== undefined) {\n return forceDurationValue;\n }\n if (_duration !== undefined) {\n return _duration;\n }\n if (parentAnimation) {\n return parentAnimation.getDuration();\n }\n return 0;\n };\n const getIterations = () => {\n if (_iterations !== undefined) {\n return _iterations;\n }\n if (parentAnimation) {\n return parentAnimation.getIterations();\n }\n return 1;\n };\n const getDelay = () => {\n if (forceDelayValue !== undefined) {\n return forceDelayValue;\n }\n if (_delay !== undefined) {\n return _delay;\n }\n if (parentAnimation) {\n return parentAnimation.getDelay();\n }\n return 0;\n };\n const getKeyframes = () => {\n return _keyframes;\n };\n const direction = (animationDirection) => {\n _direction = animationDirection;\n update(true);\n return ani;\n };\n const fill = (animationFill) => {\n _fill = animationFill;\n update(true);\n return ani;\n };\n const delay = (animationDelay) => {\n _delay = animationDelay;\n update(true);\n return ani;\n };\n const easing = (animationEasing) => {\n _easing = animationEasing;\n update(true);\n return ani;\n };\n const duration = (animationDuration) => {\n /**\n * CSS Animation Durations of 0ms work fine on Chrome\n * but do not run on Safari, so force it to 1ms to\n * get it to run on both platforms.\n */\n if (!supportsWebAnimations && animationDuration === 0) {\n animationDuration = 1;\n }\n _duration = animationDuration;\n update(true);\n return ani;\n };\n const iterations = (animationIterations) => {\n _iterations = animationIterations;\n update(true);\n return ani;\n };\n const parent = (animation) => {\n parentAnimation = animation;\n return ani;\n };\n const addElement = (el) => {\n if (el != null) {\n if (el.nodeType === 1) {\n elements.push(el);\n }\n else if (el.length >= 0) {\n for (let i = 0; i < el.length; i++) {\n elements.push(el[i]);\n }\n }\n else {\n console.error('Invalid addElement value');\n }\n }\n return ani;\n };\n const addAnimation = (animationToAdd) => {\n if (animationToAdd != null) {\n if (Array.isArray(animationToAdd)) {\n for (const animation of animationToAdd) {\n animation.parent(ani);\n childAnimations.push(animation);\n }\n }\n else {\n animationToAdd.parent(ani);\n childAnimations.push(animationToAdd);\n }\n }\n return ani;\n };\n const keyframes = (keyframeValues) => {\n const different = _keyframes !== keyframeValues;\n _keyframes = keyframeValues;\n if (different) {\n updateKeyframes(_keyframes);\n }\n return ani;\n };\n const updateKeyframes = (keyframeValues) => {\n if (supportsWebAnimations) {\n getWebAnimations().forEach((animation) => {\n if (animation.effect.setKeyframes) {\n animation.effect.setKeyframes(keyframeValues);\n }\n else {\n const newEffect = new KeyframeEffect(animation.effect.target, keyframeValues, animation.effect.getTiming());\n animation.effect = newEffect;\n }\n });\n }\n else {\n initializeCSSAnimation();\n }\n };\n /**\n * Run all \"before\" animation hooks.\n */\n const beforeAnimation = () => {\n // Runs all before read callbacks\n _beforeAddReadFunctions.forEach((callback) => callback());\n // Runs all before write callbacks\n _beforeAddWriteFunctions.forEach((callback) => callback());\n // Updates styles and classes before animation runs\n const addClasses = beforeAddClasses;\n const removeClasses = beforeRemoveClasses;\n const styles = beforeStylesValue;\n elements.forEach((el) => {\n const elementClassList = el.classList;\n addClasses.forEach((c) => elementClassList.add(c));\n removeClasses.forEach((c) => elementClassList.remove(c));\n for (const property in styles) {\n // eslint-disable-next-line no-prototype-builtins\n if (styles.hasOwnProperty(property)) {\n setStyleProperty(el, property, styles[property]);\n }\n }\n });\n };\n /**\n * Run all \"after\" animation hooks.\n */\n const afterAnimation = () => {\n clearCSSAnimationsTimeout();\n // Runs all after read callbacks\n _afterAddReadFunctions.forEach((callback) => callback());\n // Runs all after write callbacks\n _afterAddWriteFunctions.forEach((callback) => callback());\n // Updates styles and classes before animation ends\n const currentStep = willComplete ? 1 : 0;\n const addClasses = afterAddClasses;\n const removeClasses = afterRemoveClasses;\n const styles = afterStylesValue;\n elements.forEach((el) => {\n const elementClassList = el.classList;\n addClasses.forEach((c) => elementClassList.add(c));\n removeClasses.forEach((c) => elementClassList.remove(c));\n for (const property in styles) {\n // eslint-disable-next-line no-prototype-builtins\n if (styles.hasOwnProperty(property)) {\n setStyleProperty(el, property, styles[property]);\n }\n }\n });\n onFinishCallbacks.forEach((onFinishCallback) => {\n return onFinishCallback.c(currentStep, ani);\n });\n onFinishOneTimeCallbacks.forEach((onFinishCallback) => {\n return onFinishCallback.c(currentStep, ani);\n });\n onFinishOneTimeCallbacks.length = 0;\n shouldCalculateNumAnimations = true;\n if (willComplete) {\n finished = true;\n }\n willComplete = true;\n };\n const animationFinish = () => {\n if (numAnimationsRunning === 0) {\n return;\n }\n numAnimationsRunning--;\n if (numAnimationsRunning === 0) {\n afterAnimation();\n if (parentAnimation) {\n parentAnimation.animationFinish();\n }\n }\n };\n const initializeCSSAnimation = (toggleAnimationName = true) => {\n cleanUpStyleSheets();\n const processedKeyframes = processKeyframes(_keyframes);\n elements.forEach((element) => {\n if (processedKeyframes.length > 0) {\n const keyframeRules = generateKeyframeRules(processedKeyframes);\n keyframeName = animationId !== undefined ? animationId : generateKeyframeName(keyframeRules);\n const stylesheet = createKeyframeStylesheet(keyframeName, keyframeRules, element);\n stylesheets.push(stylesheet);\n setStyleProperty(element, 'animation-duration', `${getDuration()}ms`);\n setStyleProperty(element, 'animation-timing-function', getEasing());\n setStyleProperty(element, 'animation-delay', `${getDelay()}ms`);\n setStyleProperty(element, 'animation-fill-mode', getFill());\n setStyleProperty(element, 'animation-direction', getDirection());\n const iterationsCount = getIterations() === Infinity ? 'infinite' : getIterations().toString();\n setStyleProperty(element, 'animation-iteration-count', iterationsCount);\n setStyleProperty(element, 'animation-play-state', 'paused');\n if (toggleAnimationName) {\n setStyleProperty(element, 'animation-name', `${stylesheet.id}-alt`);\n }\n raf(() => {\n setStyleProperty(element, 'animation-name', stylesheet.id || null);\n });\n }\n });\n };\n const initializeWebAnimation = () => {\n elements.forEach((element) => {\n const animation = element.animate(_keyframes, {\n id,\n delay: getDelay(),\n duration: getDuration(),\n easing: getEasing(),\n iterations: getIterations(),\n fill: getFill(),\n direction: getDirection(),\n });\n animation.pause();\n webAnimations.push(animation);\n });\n if (webAnimations.length > 0) {\n webAnimations[0].onfinish = () => {\n animationFinish();\n };\n }\n };\n const initializeAnimation = (toggleAnimationName = true) => {\n beforeAnimation();\n if (_keyframes.length > 0) {\n if (supportsWebAnimations) {\n initializeWebAnimation();\n }\n else {\n initializeCSSAnimation(toggleAnimationName);\n }\n }\n initialized = true;\n };\n const setAnimationStep = (step) => {\n step = Math.min(Math.max(step, 0), 0.9999);\n if (supportsWebAnimations) {\n webAnimations.forEach((animation) => {\n animation.currentTime = animation.effect.getComputedTiming().delay + getDuration() * step;\n animation.pause();\n });\n }\n else {\n const animationDuration = `-${getDuration() * step}ms`;\n elements.forEach((element) => {\n if (_keyframes.length > 0) {\n setStyleProperty(element, 'animation-delay', animationDuration);\n setStyleProperty(element, 'animation-play-state', 'paused');\n }\n });\n }\n };\n const updateWebAnimation = (step) => {\n webAnimations.forEach((animation) => {\n animation.effect.updateTiming({\n delay: getDelay(),\n duration: getDuration(),\n easing: getEasing(),\n iterations: getIterations(),\n fill: getFill(),\n direction: getDirection(),\n });\n });\n if (step !== undefined) {\n setAnimationStep(step);\n }\n };\n const updateCSSAnimation = (toggleAnimationName = true, step) => {\n raf(() => {\n elements.forEach((element) => {\n setStyleProperty(element, 'animation-name', keyframeName || null);\n setStyleProperty(element, 'animation-duration', `${getDuration()}ms`);\n setStyleProperty(element, 'animation-timing-function', getEasing());\n setStyleProperty(element, 'animation-delay', step !== undefined ? `-${step * getDuration()}ms` : `${getDelay()}ms`);\n setStyleProperty(element, 'animation-fill-mode', getFill() || null);\n setStyleProperty(element, 'animation-direction', getDirection() || null);\n const iterationsCount = getIterations() === Infinity ? 'infinite' : getIterations().toString();\n setStyleProperty(element, 'animation-iteration-count', iterationsCount);\n if (toggleAnimationName) {\n setStyleProperty(element, 'animation-name', `${keyframeName}-alt`);\n }\n raf(() => {\n setStyleProperty(element, 'animation-name', keyframeName || null);\n });\n });\n });\n };\n const update = (deep = false, toggleAnimationName = true, step) => {\n if (deep) {\n childAnimations.forEach((animation) => {\n animation.update(deep, toggleAnimationName, step);\n });\n }\n if (supportsWebAnimations) {\n updateWebAnimation(step);\n }\n else {\n updateCSSAnimation(toggleAnimationName, step);\n }\n return ani;\n };\n const progressStart = (forceLinearEasing = false, step) => {\n childAnimations.forEach((animation) => {\n animation.progressStart(forceLinearEasing, step);\n });\n pauseAnimation();\n shouldForceLinearEasing = forceLinearEasing;\n if (!initialized) {\n initializeAnimation();\n }\n update(false, true, step);\n return ani;\n };\n const progressStep = (step) => {\n childAnimations.forEach((animation) => {\n animation.progressStep(step);\n });\n setAnimationStep(step);\n return ani;\n };\n const progressEnd = (playTo, step, dur) => {\n shouldForceLinearEasing = false;\n childAnimations.forEach((animation) => {\n animation.progressEnd(playTo, step, dur);\n });\n if (dur !== undefined) {\n forceDurationValue = dur;\n }\n finished = false;\n willComplete = true;\n if (playTo === 0) {\n forceDirectionValue = getDirection() === 'reverse' ? 'normal' : 'reverse';\n if (forceDirectionValue === 'reverse') {\n willComplete = false;\n }\n if (supportsWebAnimations) {\n update();\n setAnimationStep(1 - step);\n }\n else {\n forceDelayValue = (1 - step) * getDuration() * -1;\n update(false, false);\n }\n }\n else if (playTo === 1) {\n if (supportsWebAnimations) {\n update();\n setAnimationStep(step);\n }\n else {\n forceDelayValue = step * getDuration() * -1;\n update(false, false);\n }\n }\n if (playTo !== undefined) {\n onFinish(() => {\n forceDurationValue = undefined;\n forceDirectionValue = undefined;\n forceDelayValue = undefined;\n }, {\n oneTimeCallback: true,\n });\n if (!parentAnimation) {\n play();\n }\n }\n return ani;\n };\n const pauseAnimation = () => {\n if (initialized) {\n if (supportsWebAnimations) {\n webAnimations.forEach((animation) => {\n animation.pause();\n });\n }\n else {\n elements.forEach((element) => {\n setStyleProperty(element, 'animation-play-state', 'paused');\n });\n }\n paused = true;\n }\n };\n const pause = () => {\n childAnimations.forEach((animation) => {\n animation.pause();\n });\n pauseAnimation();\n return ani;\n };\n const onAnimationEndFallback = () => {\n cssAnimationsTimerFallback = undefined;\n animationFinish();\n };\n const clearCSSAnimationsTimeout = () => {\n if (cssAnimationsTimerFallback) {\n clearTimeout(cssAnimationsTimerFallback);\n }\n };\n const playCSSAnimations = () => {\n clearCSSAnimationsTimeout();\n raf(() => {\n elements.forEach((element) => {\n if (_keyframes.length > 0) {\n setStyleProperty(element, 'animation-play-state', 'running');\n }\n });\n });\n if (_keyframes.length === 0 || elements.length === 0) {\n animationFinish();\n }\n else {\n /**\n * This is a catchall in the event that a CSS Animation did not finish.\n * The Web Animations API has mechanisms in place for preventing this.\n * CSS Animations will not fire an `animationend` event\n * for elements with `display: none`. The Web Animations API\n * accounts for this, but using raw CSS Animations requires\n * this workaround.\n */\n const animationDelay = getDelay() || 0;\n const animationDuration = getDuration() || 0;\n const animationIterations = getIterations() || 1;\n // No need to set a timeout when animation has infinite iterations\n if (isFinite(animationIterations)) {\n cssAnimationsTimerFallback = setTimeout(onAnimationEndFallback, animationDelay + animationDuration * animationIterations + ANIMATION_END_FALLBACK_PADDING_MS);\n }\n animationEnd(elements[0], () => {\n clearCSSAnimationsTimeout();\n /**\n * Ensure that clean up\n * is always done a frame\n * before the onFinish handlers\n * are fired. Otherwise, there\n * may be flickering if a new\n * animation is started on the same\n * element too quickly\n *\n * TODO: Is there a cleaner way to do this?\n */\n raf(() => {\n clearCSSAnimationPlayState();\n raf(animationFinish);\n });\n });\n }\n };\n const clearCSSAnimationPlayState = () => {\n elements.forEach((element) => {\n removeStyleProperty(element, 'animation-duration');\n removeStyleProperty(element, 'animation-delay');\n removeStyleProperty(element, 'animation-play-state');\n });\n };\n const playWebAnimations = () => {\n webAnimations.forEach((animation) => {\n animation.play();\n });\n if (_keyframes.length === 0 || elements.length === 0) {\n animationFinish();\n }\n };\n const resetAnimation = () => {\n if (supportsWebAnimations) {\n setAnimationStep(0);\n updateWebAnimation();\n }\n else {\n updateCSSAnimation();\n }\n };\n const play = (opts) => {\n return new Promise((resolve) => {\n if (opts === null || opts === void 0 ? void 0 : opts.sync) {\n shouldForceSyncPlayback = true;\n onFinish(() => (shouldForceSyncPlayback = false), { oneTimeCallback: true });\n }\n if (!initialized) {\n initializeAnimation();\n }\n if (finished) {\n resetAnimation();\n finished = false;\n }\n if (shouldCalculateNumAnimations) {\n numAnimationsRunning = childAnimations.length + 1;\n shouldCalculateNumAnimations = false;\n }\n onFinish(() => resolve(), { oneTimeCallback: true });\n childAnimations.forEach((animation) => {\n animation.play();\n });\n if (supportsWebAnimations) {\n playWebAnimations();\n }\n else {\n playCSSAnimations();\n }\n paused = false;\n });\n };\n const stop = () => {\n childAnimations.forEach((animation) => {\n animation.stop();\n });\n if (initialized) {\n cleanUpElements();\n initialized = false;\n }\n resetFlags();\n };\n const from = (property, value) => {\n const firstFrame = _keyframes[0];\n if (firstFrame !== undefined && (firstFrame.offset === undefined || firstFrame.offset === 0)) {\n firstFrame[property] = value;\n }\n else {\n _keyframes = [{ offset: 0, [property]: value }, ..._keyframes];\n }\n return ani;\n };\n const to = (property, value) => {\n const lastFrame = _keyframes[_keyframes.length - 1];\n if (lastFrame !== undefined && (lastFrame.offset === undefined || lastFrame.offset === 1)) {\n lastFrame[property] = value;\n }\n else {\n _keyframes = [..._keyframes, { offset: 1, [property]: value }];\n }\n return ani;\n };\n const fromTo = (property, fromValue, toValue) => {\n return from(property, fromValue).to(property, toValue);\n };\n return (ani = {\n parentAnimation,\n elements,\n childAnimations,\n id,\n animationFinish,\n from,\n to,\n fromTo,\n parent,\n play,\n pause,\n stop,\n destroy,\n keyframes,\n addAnimation,\n addElement,\n update,\n fill,\n direction,\n iterations,\n duration,\n easing,\n delay,\n getWebAnimations,\n getKeyframes,\n getFill,\n getDirection,\n getDelay,\n getIterations,\n getEasing,\n getDuration,\n afterAddRead,\n afterAddWrite,\n afterClearStyles,\n afterStyles,\n afterRemoveClass,\n afterAddClass,\n beforeAddRead,\n beforeAddWrite,\n beforeClearStyles,\n beforeStyles,\n beforeRemoveClass,\n beforeAddClass,\n onFinish,\n isRunning,\n progressStart,\n progressStep,\n progressEnd,\n });\n};\n\nexport { createAnimation as c };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\n/**\n * Returns `true` if the document or host element\n * has a `dir` set to `rtl`. The host value will always\n * take priority over the root document value.\n */\nconst isRTL = (hostEl) => {\n if (hostEl) {\n if (hostEl.dir !== '') {\n return hostEl.dir.toLowerCase() === 'rtl';\n }\n }\n return (document === null || document === void 0 ? void 0 : document.dir.toLowerCase()) === 'rtl';\n};\n\nexport { isRTL as i };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nclass GestureController {\n constructor() {\n this.gestureId = 0;\n this.requestedStart = new Map();\n this.disabledGestures = new Map();\n this.disabledScroll = new Set();\n }\n /**\n * Creates a gesture delegate based on the GestureConfig passed\n */\n createGesture(config) {\n return new GestureDelegate(this, this.newID(), config.name, config.priority || 0, !!config.disableScroll);\n }\n /**\n * Creates a blocker that will block any other gesture events from firing. Set in the ion-gesture component.\n */\n createBlocker(opts = {}) {\n return new BlockerDelegate(this, this.newID(), opts.disable, !!opts.disableScroll);\n }\n start(gestureName, id, priority) {\n if (!this.canStart(gestureName)) {\n this.requestedStart.delete(id);\n return false;\n }\n this.requestedStart.set(id, priority);\n return true;\n }\n capture(gestureName, id, priority) {\n if (!this.start(gestureName, id, priority)) {\n return false;\n }\n const requestedStart = this.requestedStart;\n let maxPriority = -10000;\n requestedStart.forEach((value) => {\n maxPriority = Math.max(maxPriority, value);\n });\n if (maxPriority === priority) {\n this.capturedId = id;\n requestedStart.clear();\n const event = new CustomEvent('ionGestureCaptured', { detail: { gestureName } });\n document.dispatchEvent(event);\n return true;\n }\n requestedStart.delete(id);\n return false;\n }\n release(id) {\n this.requestedStart.delete(id);\n if (this.capturedId === id) {\n this.capturedId = undefined;\n }\n }\n disableGesture(gestureName, id) {\n let set = this.disabledGestures.get(gestureName);\n if (set === undefined) {\n set = new Set();\n this.disabledGestures.set(gestureName, set);\n }\n set.add(id);\n }\n enableGesture(gestureName, id) {\n const set = this.disabledGestures.get(gestureName);\n if (set !== undefined) {\n set.delete(id);\n }\n }\n disableScroll(id) {\n this.disabledScroll.add(id);\n if (this.disabledScroll.size === 1) {\n document.body.classList.add(BACKDROP_NO_SCROLL);\n }\n }\n enableScroll(id) {\n this.disabledScroll.delete(id);\n if (this.disabledScroll.size === 0) {\n document.body.classList.remove(BACKDROP_NO_SCROLL);\n }\n }\n canStart(gestureName) {\n if (this.capturedId !== undefined) {\n // a gesture already captured\n return false;\n }\n if (this.isDisabled(gestureName)) {\n return false;\n }\n return true;\n }\n isCaptured() {\n return this.capturedId !== undefined;\n }\n isScrollDisabled() {\n return this.disabledScroll.size > 0;\n }\n isDisabled(gestureName) {\n const disabled = this.disabledGestures.get(gestureName);\n if (disabled && disabled.size > 0) {\n return true;\n }\n return false;\n }\n newID() {\n this.gestureId++;\n return this.gestureId;\n }\n}\nclass GestureDelegate {\n constructor(ctrl, id, name, priority, disableScroll) {\n this.id = id;\n this.name = name;\n this.disableScroll = disableScroll;\n this.priority = priority * 1000000 + id;\n this.ctrl = ctrl;\n }\n canStart() {\n if (!this.ctrl) {\n return false;\n }\n return this.ctrl.canStart(this.name);\n }\n start() {\n if (!this.ctrl) {\n return false;\n }\n return this.ctrl.start(this.name, this.id, this.priority);\n }\n capture() {\n if (!this.ctrl) {\n return false;\n }\n const captured = this.ctrl.capture(this.name, this.id, this.priority);\n if (captured && this.disableScroll) {\n this.ctrl.disableScroll(this.id);\n }\n return captured;\n }\n release() {\n if (this.ctrl) {\n this.ctrl.release(this.id);\n if (this.disableScroll) {\n this.ctrl.enableScroll(this.id);\n }\n }\n }\n destroy() {\n this.release();\n this.ctrl = undefined;\n }\n}\nclass BlockerDelegate {\n constructor(ctrl, id, disable, disableScroll) {\n this.id = id;\n this.disable = disable;\n this.disableScroll = disableScroll;\n this.ctrl = ctrl;\n }\n block() {\n if (!this.ctrl) {\n return;\n }\n if (this.disable) {\n for (const gesture of this.disable) {\n this.ctrl.disableGesture(gesture, this.id);\n }\n }\n if (this.disableScroll) {\n this.ctrl.disableScroll(this.id);\n }\n }\n unblock() {\n if (!this.ctrl) {\n return;\n }\n if (this.disable) {\n for (const gesture of this.disable) {\n this.ctrl.enableGesture(gesture, this.id);\n }\n }\n if (this.disableScroll) {\n this.ctrl.enableScroll(this.id);\n }\n }\n destroy() {\n this.unblock();\n this.ctrl = undefined;\n }\n}\nconst BACKDROP_NO_SCROLL = 'backdrop-no-scroll';\nconst GESTURE_CONTROLLER = new GestureController();\n\nexport { GESTURE_CONTROLLER as G };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\n/**\n * When hardwareBackButton: false in config,\n * we need to make sure we also block the default\n * webview behavior. If we don't then it will be\n * possible for users to navigate backward while\n * an overlay is still open. Additionally, it will\n * give the appearance that the hardwareBackButton\n * config is not working as the page transition\n * will still happen.\n */\nconst blockHardwareBackButton = () => {\n document.addEventListener('backbutton', () => { }); // eslint-disable-line\n};\nconst startHardwareBackButton = () => {\n const doc = document;\n let busy = false;\n doc.addEventListener('backbutton', () => {\n if (busy) {\n return;\n }\n let index = 0;\n let handlers = [];\n const ev = new CustomEvent('ionBackButton', {\n bubbles: false,\n detail: {\n register(priority, handler) {\n handlers.push({ priority, handler, id: index++ });\n },\n },\n });\n doc.dispatchEvent(ev);\n const executeAction = async (handlerRegister) => {\n try {\n if (handlerRegister === null || handlerRegister === void 0 ? void 0 : handlerRegister.handler) {\n const result = handlerRegister.handler(processHandlers);\n if (result != null) {\n await result;\n }\n }\n }\n catch (e) {\n console.error(e);\n }\n };\n const processHandlers = () => {\n if (handlers.length > 0) {\n let selectedHandler = {\n priority: Number.MIN_SAFE_INTEGER,\n handler: () => undefined,\n id: -1,\n };\n handlers.forEach((handler) => {\n if (handler.priority >= selectedHandler.priority) {\n selectedHandler = handler;\n }\n });\n busy = true;\n handlers = handlers.filter((handler) => handler.id !== selectedHandler.id);\n executeAction(selectedHandler).then(() => (busy = false));\n }\n };\n processHandlers();\n });\n};\nconst OVERLAY_BACK_BUTTON_PRIORITY = 100;\nconst MENU_BACK_BUTTON_PRIORITY = 99; // 1 less than overlay priority since menu is displayed behind overlays\n\nexport { MENU_BACK_BUTTON_PRIORITY, OVERLAY_BACK_BUTTON_PRIORITY, blockHardwareBackButton, startHardwareBackButton };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nconst transitionEndAsync = (el, expectedDuration = 0) => {\n return new Promise((resolve) => {\n transitionEnd(el, expectedDuration, resolve);\n });\n};\n/**\n * Allows developer to wait for a transition\n * to finish and fallback to a timer if the\n * transition is cancelled or otherwise\n * never finishes. Also see transitionEndAsync\n * which is an await-able version of this.\n */\nconst transitionEnd = (el, expectedDuration = 0, callback) => {\n let unRegTrans;\n let animationTimeout;\n const opts = { passive: true };\n const ANIMATION_FALLBACK_TIMEOUT = 500;\n const unregister = () => {\n if (unRegTrans) {\n unRegTrans();\n }\n };\n const onTransitionEnd = (ev) => {\n if (ev === undefined || el === ev.target) {\n unregister();\n callback(ev);\n }\n };\n if (el) {\n el.addEventListener('webkitTransitionEnd', onTransitionEnd, opts);\n el.addEventListener('transitionend', onTransitionEnd, opts);\n animationTimeout = setTimeout(onTransitionEnd, expectedDuration + ANIMATION_FALLBACK_TIMEOUT);\n unRegTrans = () => {\n if (animationTimeout) {\n clearTimeout(animationTimeout);\n animationTimeout = undefined;\n }\n el.removeEventListener('webkitTransitionEnd', onTransitionEnd, opts);\n el.removeEventListener('transitionend', onTransitionEnd, opts);\n };\n }\n return unregister;\n};\n/**\n * Waits for a component to be ready for\n * both custom element and non-custom element builds.\n * If non-custom element build, el.componentOnReady\n * will be used.\n * For custom element builds, we wait a frame\n * so that the inner contents of the component\n * have a chance to render.\n *\n * Use this utility rather than calling\n * el.componentOnReady yourself.\n */\nconst componentOnReady = (el, callback) => {\n if (el.componentOnReady) {\n el.componentOnReady().then((resolvedEl) => callback(resolvedEl));\n }\n else {\n raf(() => callback(el));\n }\n};\n/**\n * Elements inside of web components sometimes need to inherit global attributes\n * set on the host. For example, the inner input in `ion-input` should inherit\n * the `title` attribute that developers set directly on `ion-input`. This\n * helper function should be called in componentWillLoad and assigned to a variable\n * that is later used in the render function.\n *\n * This does not need to be reactive as changing attributes on the host element\n * does not trigger a re-render.\n */\nconst inheritAttributes = (el, attributes = []) => {\n const attributeObject = {};\n attributes.forEach((attr) => {\n if (el.hasAttribute(attr)) {\n const value = el.getAttribute(attr);\n if (value !== null) {\n attributeObject[attr] = el.getAttribute(attr);\n }\n el.removeAttribute(attr);\n }\n });\n return attributeObject;\n};\n/**\n * List of available ARIA attributes + `role`.\n * Removed deprecated attributes.\n * https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes\n */\nconst ariaAttributes = [\n 'role',\n 'aria-activedescendant',\n 'aria-atomic',\n 'aria-autocomplete',\n 'aria-braillelabel',\n 'aria-brailleroledescription',\n 'aria-busy',\n 'aria-checked',\n 'aria-colcount',\n 'aria-colindex',\n 'aria-colindextext',\n 'aria-colspan',\n 'aria-controls',\n 'aria-current',\n 'aria-describedby',\n 'aria-description',\n 'aria-details',\n 'aria-disabled',\n 'aria-errormessage',\n 'aria-expanded',\n 'aria-flowto',\n 'aria-haspopup',\n 'aria-hidden',\n 'aria-invalid',\n 'aria-keyshortcuts',\n 'aria-label',\n 'aria-labelledby',\n 'aria-level',\n 'aria-live',\n 'aria-multiline',\n 'aria-multiselectable',\n 'aria-orientation',\n 'aria-owns',\n 'aria-placeholder',\n 'aria-posinset',\n 'aria-pressed',\n 'aria-readonly',\n 'aria-relevant',\n 'aria-required',\n 'aria-roledescription',\n 'aria-rowcount',\n 'aria-rowindex',\n 'aria-rowindextext',\n 'aria-rowspan',\n 'aria-selected',\n 'aria-setsize',\n 'aria-sort',\n 'aria-valuemax',\n 'aria-valuemin',\n 'aria-valuenow',\n 'aria-valuetext',\n];\n/**\n * Returns an array of aria attributes that should be copied from\n * the shadow host element to a target within the light DOM.\n * @param el The element that the attributes should be copied from.\n */\nconst inheritAriaAttributes = (el) => {\n return inheritAttributes(el, ariaAttributes);\n};\nconst addEventListener = (el, eventName, callback, opts) => {\n var _a;\n if (typeof window !== 'undefined') {\n const win = window;\n const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;\n if (config) {\n const ael = config.get('_ael');\n if (ael) {\n return ael(el, eventName, callback, opts);\n }\n else if (config._ael) {\n return config._ael(el, eventName, callback, opts);\n }\n }\n }\n return el.addEventListener(eventName, callback, opts);\n};\nconst removeEventListener = (el, eventName, callback, opts) => {\n var _a;\n if (typeof window !== 'undefined') {\n const win = window;\n const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;\n if (config) {\n const rel = config.get('_rel');\n if (rel) {\n return rel(el, eventName, callback, opts);\n }\n else if (config._rel) {\n return config._rel(el, eventName, callback, opts);\n }\n }\n }\n return el.removeEventListener(eventName, callback, opts);\n};\n/**\n * Gets the root context of a shadow dom element\n * On newer browsers this will be the shadowRoot,\n * but for older browser this may just be the\n * element itself.\n *\n * Useful for whenever you need to explicitly\n * do \"myElement.shadowRoot!.querySelector(...)\".\n */\nconst getElementRoot = (el, fallback = el) => {\n return el.shadowRoot || fallback;\n};\n/**\n * Patched version of requestAnimationFrame that avoids ngzone\n * Use only when you know ngzone should not run\n */\nconst raf = (h) => {\n if (typeof __zone_symbol__requestAnimationFrame === 'function') {\n return __zone_symbol__requestAnimationFrame(h);\n }\n if (typeof requestAnimationFrame === 'function') {\n return requestAnimationFrame(h);\n }\n return setTimeout(h);\n};\nconst hasShadowDom = (el) => {\n return !!el.shadowRoot && !!el.attachShadow;\n};\nconst findItemLabel = (componentEl) => {\n const itemEl = componentEl.closest('ion-item');\n if (itemEl) {\n return itemEl.querySelector('ion-label');\n }\n return null;\n};\nconst focusElement = (el) => {\n el.focus();\n /**\n * When programmatically focusing an element,\n * the focus-visible utility will not run because\n * it is expecting a keyboard event to have triggered this;\n * however, there are times when we need to manually control\n * this behavior so we call the `setFocus` method on ion-app\n * which will let us explicitly set the elements to focus.\n */\n if (el.classList.contains('ion-focusable')) {\n const app = el.closest('ion-app');\n if (app) {\n app.setFocus([el]);\n }\n }\n};\n/**\n * This method is used for Ionic's input components that use Shadow DOM. In\n * order to properly label the inputs to work with screen readers, we need\n * to get the text content of the label outside of the shadow root and pass\n * it to the input inside of the shadow root.\n *\n * Referencing label elements by id from outside of the component is\n * impossible due to the shadow boundary, read more here:\n * https://developer.salesforce.com/blogs/2020/01/accessibility-for-web-components.html\n *\n * @param componentEl The shadow element that needs the aria label\n * @param inputId The unique identifier for the input\n */\nconst getAriaLabel = (componentEl, inputId) => {\n let labelText;\n // If the user provides their own label via the aria-labelledby attr\n // we should use that instead of looking for an ion-label\n const labelledBy = componentEl.getAttribute('aria-labelledby');\n // Grab the id off of the component in case they are using\n // a custom label using the label element\n const componentId = componentEl.id;\n let labelId = labelledBy !== null && labelledBy.trim() !== '' ? labelledBy : inputId + '-lbl';\n let label = labelledBy !== null && labelledBy.trim() !== '' ? document.getElementById(labelledBy) : findItemLabel(componentEl);\n if (label) {\n if (labelledBy === null) {\n label.id = labelId;\n }\n labelText = label.textContent;\n label.setAttribute('aria-hidden', 'true');\n // if there is no label, check to see if the user has provided\n // one by setting an id on the component and using the label element\n }\n else if (componentId.trim() !== '') {\n label = document.querySelector(`label[for=\"${componentId}\"]`);\n if (label) {\n if (label.id !== '') {\n labelId = label.id;\n }\n else {\n label.id = labelId = `${componentId}-lbl`;\n }\n labelText = label.textContent;\n }\n }\n return { label, labelId, labelText };\n};\n/**\n * This method is used to add a hidden input to a host element that contains\n * a Shadow DOM. It does not add the input inside of the Shadow root which\n * allows it to be picked up inside of forms. It should contain the same\n * values as the host element.\n *\n * @param always Add a hidden input even if the container does not use Shadow\n * @param container The element where the input will be added\n * @param name The name of the input\n * @param value The value of the input\n * @param disabled If true, the input is disabled\n */\nconst renderHiddenInput = (always, container, name, value, disabled) => {\n if (always || hasShadowDom(container)) {\n let input = container.querySelector('input.aux-input');\n if (!input) {\n input = container.ownerDocument.createElement('input');\n input.type = 'hidden';\n input.classList.add('aux-input');\n container.appendChild(input);\n }\n input.disabled = disabled;\n input.name = name;\n input.value = value || '';\n }\n};\nconst clamp = (min, n, max) => {\n return Math.max(min, Math.min(n, max));\n};\nconst assert = (actual, reason) => {\n if (!actual) {\n const message = 'ASSERT: ' + reason;\n console.error(message);\n debugger; // eslint-disable-line\n throw new Error(message);\n }\n};\nconst now = (ev) => {\n return ev.timeStamp || Date.now();\n};\nconst pointerCoord = (ev) => {\n // get X coordinates for either a mouse click\n // or a touch depending on the given event\n if (ev) {\n const changedTouches = ev.changedTouches;\n if (changedTouches && changedTouches.length > 0) {\n const touch = changedTouches[0];\n return { x: touch.clientX, y: touch.clientY };\n }\n if (ev.pageX !== undefined) {\n return { x: ev.pageX, y: ev.pageY };\n }\n }\n return { x: 0, y: 0 };\n};\n/**\n * @hidden\n * Given a side, return if it should be on the end\n * based on the value of dir\n * @param side the side\n * @param isRTL whether the application dir is rtl\n */\nconst isEndSide = (side) => {\n const isRTL = document.dir === 'rtl';\n switch (side) {\n case 'start':\n return isRTL;\n case 'end':\n return !isRTL;\n default:\n throw new Error(`\"${side}\" is not a valid value for [side]. Use \"start\" or \"end\" instead.`);\n }\n};\nconst debounceEvent = (event, wait) => {\n const original = event._original || event;\n return {\n _original: event,\n emit: debounce(original.emit.bind(original), wait),\n };\n};\nconst debounce = (func, wait = 0) => {\n let timer;\n return (...args) => {\n clearTimeout(timer);\n timer = setTimeout(func, wait, ...args);\n };\n};\n/**\n * Check whether the two string maps are shallow equal.\n *\n * undefined is treated as an empty map.\n *\n * @returns whether the keys are the same and the values are shallow equal.\n */\nconst shallowEqualStringMap = (map1, map2) => {\n map1 !== null && map1 !== void 0 ? map1 : (map1 = {});\n map2 !== null && map2 !== void 0 ? map2 : (map2 = {});\n if (map1 === map2) {\n return true;\n }\n const keys1 = Object.keys(map1);\n if (keys1.length !== Object.keys(map2).length) {\n return false;\n }\n for (const k1 of keys1) {\n if (!(k1 in map2)) {\n return false;\n }\n if (map1[k1] !== map2[k1]) {\n return false;\n }\n }\n return true;\n};\n\nexport { addEventListener as a, removeEventListener as b, componentOnReady as c, getAriaLabel as d, renderHiddenInput as e, focusElement as f, getElementRoot as g, hasShadowDom as h, inheritAriaAttributes as i, clamp as j, inheritAttributes as k, debounceEvent as l, findItemLabel as m, isEndSide as n, assert as o, debounce as p, pointerCoord as q, raf as r, shallowEqualStringMap as s, transitionEndAsync as t, now as u };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { G as GESTURE_CONTROLLER } from './gesture-controller.js';\nexport { G as GESTURE_CONTROLLER } from './gesture-controller.js';\n\nconst addEventListener = (el, eventName, callback, opts) => {\n // use event listener options when supported\n // otherwise it's just a boolean for the \"capture\" arg\n const listenerOpts = supportsPassive(el)\n ? {\n capture: !!opts.capture,\n passive: !!opts.passive,\n }\n : !!opts.capture;\n let add;\n let remove;\n if (el['__zone_symbol__addEventListener']) {\n add = '__zone_symbol__addEventListener';\n remove = '__zone_symbol__removeEventListener';\n }\n else {\n add = 'addEventListener';\n remove = 'removeEventListener';\n }\n el[add](eventName, callback, listenerOpts);\n return () => {\n el[remove](eventName, callback, listenerOpts);\n };\n};\nconst supportsPassive = (node) => {\n if (_sPassive === undefined) {\n try {\n const opts = Object.defineProperty({}, 'passive', {\n get: () => {\n _sPassive = true;\n },\n });\n node.addEventListener('optsTest', () => {\n return;\n }, opts);\n }\n catch (e) {\n _sPassive = false;\n }\n }\n return !!_sPassive;\n};\nlet _sPassive;\n\nconst MOUSE_WAIT = 2000;\nconst createPointerEvents = (el, pointerDown, pointerMove, pointerUp, options) => {\n let rmTouchStart;\n let rmTouchMove;\n let rmTouchEnd;\n let rmTouchCancel;\n let rmMouseStart;\n let rmMouseMove;\n let rmMouseUp;\n let lastTouchEvent = 0;\n const handleTouchStart = (ev) => {\n lastTouchEvent = Date.now() + MOUSE_WAIT;\n if (!pointerDown(ev)) {\n return;\n }\n if (!rmTouchMove && pointerMove) {\n rmTouchMove = addEventListener(el, 'touchmove', pointerMove, options);\n }\n /**\n * Events are dispatched on the element that is tapped and bubble up to\n * the reference element in the gesture. In the event that the element this\n * event was first dispatched on is removed from the DOM, the event will no\n * longer bubble up to our reference element. This leaves the gesture in an\n * unusable state. To account for this, the touchend and touchcancel listeners\n * should be added to the event target so that they still fire even if the target\n * is removed from the DOM.\n */\n if (!rmTouchEnd) {\n rmTouchEnd = addEventListener(ev.target, 'touchend', handleTouchEnd, options);\n }\n if (!rmTouchCancel) {\n rmTouchCancel = addEventListener(ev.target, 'touchcancel', handleTouchEnd, options);\n }\n };\n const handleMouseDown = (ev) => {\n if (lastTouchEvent > Date.now()) {\n return;\n }\n if (!pointerDown(ev)) {\n return;\n }\n if (!rmMouseMove && pointerMove) {\n rmMouseMove = addEventListener(getDocument(el), 'mousemove', pointerMove, options);\n }\n if (!rmMouseUp) {\n rmMouseUp = addEventListener(getDocument(el), 'mouseup', handleMouseUp, options);\n }\n };\n const handleTouchEnd = (ev) => {\n stopTouch();\n if (pointerUp) {\n pointerUp(ev);\n }\n };\n const handleMouseUp = (ev) => {\n stopMouse();\n if (pointerUp) {\n pointerUp(ev);\n }\n };\n const stopTouch = () => {\n if (rmTouchMove) {\n rmTouchMove();\n }\n if (rmTouchEnd) {\n rmTouchEnd();\n }\n if (rmTouchCancel) {\n rmTouchCancel();\n }\n rmTouchMove = rmTouchEnd = rmTouchCancel = undefined;\n };\n const stopMouse = () => {\n if (rmMouseMove) {\n rmMouseMove();\n }\n if (rmMouseUp) {\n rmMouseUp();\n }\n rmMouseMove = rmMouseUp = undefined;\n };\n const stop = () => {\n stopTouch();\n stopMouse();\n };\n const enable = (isEnabled = true) => {\n if (!isEnabled) {\n if (rmTouchStart) {\n rmTouchStart();\n }\n if (rmMouseStart) {\n rmMouseStart();\n }\n rmTouchStart = rmMouseStart = undefined;\n stop();\n }\n else {\n if (!rmTouchStart) {\n rmTouchStart = addEventListener(el, 'touchstart', handleTouchStart, options);\n }\n if (!rmMouseStart) {\n rmMouseStart = addEventListener(el, 'mousedown', handleMouseDown, options);\n }\n }\n };\n const destroy = () => {\n enable(false);\n pointerUp = pointerMove = pointerDown = undefined;\n };\n return {\n enable,\n stop,\n destroy,\n };\n};\nconst getDocument = (node) => {\n return node instanceof Document ? node : node.ownerDocument;\n};\n\nconst createPanRecognizer = (direction, thresh, maxAngle) => {\n const radians = maxAngle * (Math.PI / 180);\n const isDirX = direction === 'x';\n const maxCosine = Math.cos(radians);\n const threshold = thresh * thresh;\n let startX = 0;\n let startY = 0;\n let dirty = false;\n let isPan = 0;\n return {\n start(x, y) {\n startX = x;\n startY = y;\n isPan = 0;\n dirty = true;\n },\n detect(x, y) {\n if (!dirty) {\n return false;\n }\n const deltaX = x - startX;\n const deltaY = y - startY;\n const distance = deltaX * deltaX + deltaY * deltaY;\n if (distance < threshold) {\n return false;\n }\n const hypotenuse = Math.sqrt(distance);\n const cosine = (isDirX ? deltaX : deltaY) / hypotenuse;\n if (cosine > maxCosine) {\n isPan = 1;\n }\n else if (cosine < -maxCosine) {\n isPan = -1;\n }\n else {\n isPan = 0;\n }\n dirty = false;\n return true;\n },\n isGesture() {\n return isPan !== 0;\n },\n getDirection() {\n return isPan;\n },\n };\n};\n\nconst createGesture = (config) => {\n let hasCapturedPan = false;\n let hasStartedPan = false;\n let hasFiredStart = true;\n let isMoveQueued = false;\n const finalConfig = Object.assign({ disableScroll: false, direction: 'x', gesturePriority: 0, passive: true, maxAngle: 40, threshold: 10 }, config);\n const canStart = finalConfig.canStart;\n const onWillStart = finalConfig.onWillStart;\n const onStart = finalConfig.onStart;\n const onEnd = finalConfig.onEnd;\n const notCaptured = finalConfig.notCaptured;\n const onMove = finalConfig.onMove;\n const threshold = finalConfig.threshold;\n const passive = finalConfig.passive;\n const blurOnStart = finalConfig.blurOnStart;\n const detail = {\n type: 'pan',\n startX: 0,\n startY: 0,\n startTime: 0,\n currentX: 0,\n currentY: 0,\n velocityX: 0,\n velocityY: 0,\n deltaX: 0,\n deltaY: 0,\n currentTime: 0,\n event: undefined,\n data: undefined,\n };\n const pan = createPanRecognizer(finalConfig.direction, finalConfig.threshold, finalConfig.maxAngle);\n const gesture = GESTURE_CONTROLLER.createGesture({\n name: config.gestureName,\n priority: config.gesturePriority,\n disableScroll: config.disableScroll,\n });\n const pointerDown = (ev) => {\n const timeStamp = now(ev);\n if (hasStartedPan || !hasFiredStart) {\n return false;\n }\n updateDetail(ev, detail);\n detail.startX = detail.currentX;\n detail.startY = detail.currentY;\n detail.startTime = detail.currentTime = timeStamp;\n detail.velocityX = detail.velocityY = detail.deltaX = detail.deltaY = 0;\n detail.event = ev;\n // Check if gesture can start\n if (canStart && canStart(detail) === false) {\n return false;\n }\n // Release fallback\n gesture.release();\n // Start gesture\n if (!gesture.start()) {\n return false;\n }\n hasStartedPan = true;\n if (threshold === 0) {\n return tryToCapturePan();\n }\n pan.start(detail.startX, detail.startY);\n return true;\n };\n const pointerMove = (ev) => {\n // fast path, if gesture is currently captured\n // do minimum job to get user-land even dispatched\n if (hasCapturedPan) {\n if (!isMoveQueued && hasFiredStart) {\n isMoveQueued = true;\n calcGestureData(detail, ev);\n requestAnimationFrame(fireOnMove);\n }\n return;\n }\n // gesture is currently being detected\n calcGestureData(detail, ev);\n if (pan.detect(detail.currentX, detail.currentY)) {\n if (!pan.isGesture() || !tryToCapturePan()) {\n abortGesture();\n }\n }\n };\n const fireOnMove = () => {\n // Since fireOnMove is called inside a RAF, onEnd() might be called,\n // we must double check hasCapturedPan\n if (!hasCapturedPan) {\n return;\n }\n isMoveQueued = false;\n if (onMove) {\n onMove(detail);\n }\n };\n const tryToCapturePan = () => {\n if (gesture && !gesture.capture()) {\n return false;\n }\n hasCapturedPan = true;\n hasFiredStart = false;\n // reset start position since the real user-land event starts here\n // If the pan detector threshold is big, not resetting the start position\n // will cause a jump in the animation equal to the detector threshold.\n // the array of positions used to calculate the gesture velocity does not\n // need to be cleaned, more points in the positions array always results in a\n // more accurate value of the velocity.\n detail.startX = detail.currentX;\n detail.startY = detail.currentY;\n detail.startTime = detail.currentTime;\n if (onWillStart) {\n onWillStart(detail).then(fireOnStart);\n }\n else {\n fireOnStart();\n }\n return true;\n };\n const blurActiveElement = () => {\n if (typeof document !== 'undefined') {\n const activeElement = document.activeElement;\n if (activeElement === null || activeElement === void 0 ? void 0 : activeElement.blur) {\n activeElement.blur();\n }\n }\n };\n const fireOnStart = () => {\n if (blurOnStart) {\n blurActiveElement();\n }\n if (onStart) {\n onStart(detail);\n }\n hasFiredStart = true;\n };\n const reset = () => {\n hasCapturedPan = false;\n hasStartedPan = false;\n isMoveQueued = false;\n hasFiredStart = true;\n gesture.release();\n };\n // END *************************\n const pointerUp = (ev) => {\n const tmpHasCaptured = hasCapturedPan;\n const tmpHasFiredStart = hasFiredStart;\n reset();\n if (!tmpHasFiredStart) {\n return;\n }\n calcGestureData(detail, ev);\n // Try to capture press\n if (tmpHasCaptured) {\n if (onEnd) {\n onEnd(detail);\n }\n return;\n }\n // Not captured any event\n if (notCaptured) {\n notCaptured(detail);\n }\n };\n const pointerEvents = createPointerEvents(finalConfig.el, pointerDown, pointerMove, pointerUp, {\n capture: false,\n passive,\n });\n const abortGesture = () => {\n reset();\n pointerEvents.stop();\n if (notCaptured) {\n notCaptured(detail);\n }\n };\n return {\n enable(enable = true) {\n if (!enable) {\n if (hasCapturedPan) {\n pointerUp(undefined);\n }\n reset();\n }\n pointerEvents.enable(enable);\n },\n destroy() {\n gesture.destroy();\n pointerEvents.destroy();\n },\n };\n};\nconst calcGestureData = (detail, ev) => {\n if (!ev) {\n return;\n }\n const prevX = detail.currentX;\n const prevY = detail.currentY;\n const prevT = detail.currentTime;\n updateDetail(ev, detail);\n const currentX = detail.currentX;\n const currentY = detail.currentY;\n const timestamp = (detail.currentTime = now(ev));\n const timeDelta = timestamp - prevT;\n if (timeDelta > 0 && timeDelta < 100) {\n const velocityX = (currentX - prevX) / timeDelta;\n const velocityY = (currentY - prevY) / timeDelta;\n detail.velocityX = velocityX * 0.7 + detail.velocityX * 0.3;\n detail.velocityY = velocityY * 0.7 + detail.velocityY * 0.3;\n }\n detail.deltaX = currentX - detail.startX;\n detail.deltaY = currentY - detail.startY;\n detail.event = ev;\n};\nconst updateDetail = (ev, detail) => {\n // get X coordinates for either a mouse click\n // or a touch depending on the given event\n let x = 0;\n let y = 0;\n if (ev) {\n const changedTouches = ev.changedTouches;\n if (changedTouches && changedTouches.length > 0) {\n const touch = changedTouches[0];\n x = touch.clientX;\n y = touch.clientY;\n }\n else if (ev.pageX !== undefined) {\n x = ev.pageX;\n y = ev.pageY;\n }\n }\n detail.currentX = x;\n detail.currentY = y;\n};\nconst now = (ev) => {\n return ev.timeStamp || Date.now();\n};\n\nexport { createGesture };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { writeTask, Build } from '@stencil/core/internal/client';\nimport { c as componentOnReady, r as raf } from './helpers.js';\n\nconst LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';\nconst LIFECYCLE_DID_ENTER = 'ionViewDidEnter';\nconst LIFECYCLE_WILL_LEAVE = 'ionViewWillLeave';\nconst LIFECYCLE_DID_LEAVE = 'ionViewDidLeave';\nconst LIFECYCLE_WILL_UNLOAD = 'ionViewWillUnload';\n\nconst iosTransitionAnimation = () => import('./ios.transition.js');\nconst mdTransitionAnimation = () => import('./md.transition.js');\nconst transition = (opts) => {\n return new Promise((resolve, reject) => {\n writeTask(() => {\n beforeTransition(opts);\n runTransition(opts).then((result) => {\n if (result.animation) {\n result.animation.destroy();\n }\n afterTransition(opts);\n resolve(result);\n }, (error) => {\n afterTransition(opts);\n reject(error);\n });\n });\n });\n};\nconst beforeTransition = (opts) => {\n const enteringEl = opts.enteringEl;\n const leavingEl = opts.leavingEl;\n setZIndex(enteringEl, leavingEl, opts.direction);\n if (opts.showGoBack) {\n enteringEl.classList.add('can-go-back');\n }\n else {\n enteringEl.classList.remove('can-go-back');\n }\n setPageHidden(enteringEl, false);\n /**\n * When transitioning, the page should not\n * respond to click events. This resolves small\n * issues like users double tapping the ion-back-button.\n * These pointer events are removed in `afterTransition`.\n */\n enteringEl.style.setProperty('pointer-events', 'none');\n if (leavingEl) {\n setPageHidden(leavingEl, false);\n leavingEl.style.setProperty('pointer-events', 'none');\n }\n};\nconst runTransition = async (opts) => {\n const animationBuilder = await getAnimationBuilder(opts);\n const ani = animationBuilder && Build.isBrowser ? animation(animationBuilder, opts) : noAnimation(opts); // fast path for no animation\n return ani;\n};\nconst afterTransition = (opts) => {\n const enteringEl = opts.enteringEl;\n const leavingEl = opts.leavingEl;\n enteringEl.classList.remove('ion-page-invisible');\n enteringEl.style.removeProperty('pointer-events');\n if (leavingEl !== undefined) {\n leavingEl.classList.remove('ion-page-invisible');\n leavingEl.style.removeProperty('pointer-events');\n }\n};\nconst getAnimationBuilder = async (opts) => {\n if (!opts.leavingEl || !opts.animated || opts.duration === 0) {\n return undefined;\n }\n if (opts.animationBuilder) {\n return opts.animationBuilder;\n }\n const getAnimation = opts.mode === 'ios'\n ? (await iosTransitionAnimation()).iosTransitionAnimation\n : (await mdTransitionAnimation()).mdTransitionAnimation;\n return getAnimation;\n};\nconst animation = async (animationBuilder, opts) => {\n await waitForReady(opts, true);\n const trans = animationBuilder(opts.baseEl, opts);\n fireWillEvents(opts.enteringEl, opts.leavingEl);\n const didComplete = await playTransition(trans, opts);\n if (opts.progressCallback) {\n opts.progressCallback(undefined);\n }\n if (didComplete) {\n fireDidEvents(opts.enteringEl, opts.leavingEl);\n }\n return {\n hasCompleted: didComplete,\n animation: trans,\n };\n};\nconst noAnimation = async (opts) => {\n const enteringEl = opts.enteringEl;\n const leavingEl = opts.leavingEl;\n await waitForReady(opts, false);\n fireWillEvents(enteringEl, leavingEl);\n fireDidEvents(enteringEl, leavingEl);\n return {\n hasCompleted: true,\n };\n};\nconst waitForReady = async (opts, defaultDeep) => {\n const deep = opts.deepWait !== undefined ? opts.deepWait : defaultDeep;\n const promises = deep\n ? [deepReady(opts.enteringEl), deepReady(opts.leavingEl)]\n : [shallowReady(opts.enteringEl), shallowReady(opts.leavingEl)];\n await Promise.all(promises);\n await notifyViewReady(opts.viewIsReady, opts.enteringEl);\n};\nconst notifyViewReady = async (viewIsReady, enteringEl) => {\n if (viewIsReady) {\n await viewIsReady(enteringEl);\n }\n};\nconst playTransition = (trans, opts) => {\n const progressCallback = opts.progressCallback;\n const promise = new Promise((resolve) => {\n trans.onFinish((currentStep) => resolve(currentStep === 1));\n });\n // cool, let's do this, start the transition\n if (progressCallback) {\n // this is a swipe to go back, just get the transition progress ready\n // kick off the swipe animation start\n trans.progressStart(true);\n progressCallback(trans);\n }\n else {\n // only the top level transition should actually start \"play\"\n // kick it off and let it play through\n // ******** DOM WRITE ****************\n trans.play();\n }\n // create a callback for when the animation is done\n return promise;\n};\nconst fireWillEvents = (enteringEl, leavingEl) => {\n lifecycle(leavingEl, LIFECYCLE_WILL_LEAVE);\n lifecycle(enteringEl, LIFECYCLE_WILL_ENTER);\n};\nconst fireDidEvents = (enteringEl, leavingEl) => {\n lifecycle(enteringEl, LIFECYCLE_DID_ENTER);\n lifecycle(leavingEl, LIFECYCLE_DID_LEAVE);\n};\nconst lifecycle = (el, eventName) => {\n if (el) {\n const ev = new CustomEvent(eventName, {\n bubbles: false,\n cancelable: false,\n });\n el.dispatchEvent(ev);\n }\n};\nconst shallowReady = (el) => {\n if (el) {\n return new Promise((resolve) => componentOnReady(el, resolve));\n }\n return Promise.resolve();\n};\nconst deepReady = async (el) => {\n const element = el;\n if (element) {\n if (element.componentOnReady != null) {\n const stencilEl = await element.componentOnReady();\n if (stencilEl != null) {\n return;\n }\n /**\n * Custom elements in Stencil will have __registerHost.\n */\n }\n else if (element.__registerHost != null) {\n /**\n * Non-lazy loaded custom elements need to wait\n * one frame for component to be loaded.\n */\n const waitForCustomElement = new Promise((resolve) => raf(resolve));\n await waitForCustomElement;\n return;\n }\n await Promise.all(Array.from(element.children).map(deepReady));\n }\n};\nconst setPageHidden = (el, hidden) => {\n if (hidden) {\n el.setAttribute('aria-hidden', 'true');\n el.classList.add('ion-page-hidden');\n }\n else {\n el.hidden = false;\n el.removeAttribute('aria-hidden');\n el.classList.remove('ion-page-hidden');\n }\n};\nconst setZIndex = (enteringEl, leavingEl, direction) => {\n if (enteringEl !== undefined) {\n enteringEl.style.zIndex = direction === 'back' ? '99' : '101';\n }\n if (leavingEl !== undefined) {\n leavingEl.style.zIndex = '100';\n }\n};\nconst getIonPageElement = (element) => {\n if (element.classList.contains('ion-page')) {\n return element;\n }\n const ionPage = element.querySelector(':scope > .ion-page, :scope > ion-nav, :scope > ion-tabs');\n if (ionPage) {\n return ionPage;\n }\n // idk, return the original element so at least something animates and we don't have a null pointer\n return element;\n};\n\nexport { LIFECYCLE_WILL_ENTER as L, LIFECYCLE_DID_ENTER as a, LIFECYCLE_WILL_LEAVE as b, LIFECYCLE_DID_LEAVE as c, LIFECYCLE_WILL_UNLOAD as d, deepReady as e, getIonPageElement as g, lifecycle as l, setPageHidden as s, transition as t };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\n/**\n * Logs a warning to the console with an Ionic prefix\n * to indicate the library that is warning the developer.\n *\n * @param message - The string message to be logged to the console.\n */\nconst printIonWarning = (message) => {\n return console.warn(`[Ionic Warning]: ${message}`);\n};\n/*\n * Logs an error to the console with an Ionic prefix\n * to indicate the library that is warning the developer.\n *\n * @param message - The string message to be logged to the console.\n * @param params - Additional arguments to supply to the console.error.\n */\nconst printIonError = (message, ...params) => {\n return console.error(`[Ionic Error]: ${message}`, ...params);\n};\n/**\n * Prints an error informing developers that an implementation requires an element to be used\n * within a specific selector.\n *\n * @param el The web component element this is requiring the element.\n * @param targetSelectors The selector or selectors that were not found.\n */\nconst printRequiredElementError = (el, ...targetSelectors) => {\n return console.error(`<${el.tagName.toLowerCase()}> must be used inside ${targetSelectors.join(' or ')}.`);\n};\n\nexport { printIonError as a, printRequiredElementError as b, printIonWarning as p };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { c as componentOnReady } from './helpers.js';\nimport { b as printRequiredElementError } from './index7.js';\n\nconst ION_CONTENT_TAG_NAME = 'ION-CONTENT';\nconst ION_CONTENT_ELEMENT_SELECTOR = 'ion-content';\nconst ION_CONTENT_CLASS_SELECTOR = '.ion-content-scroll-host';\n/**\n * Selector used for implementations reliant on `` for scroll event changes.\n *\n * Developers should use the `.ion-content-scroll-host` selector to target the element emitting\n * scroll events. With virtual scroll implementations this will be the host element for\n * the scroll viewport.\n */\nconst ION_CONTENT_SELECTOR = `${ION_CONTENT_ELEMENT_SELECTOR}, ${ION_CONTENT_CLASS_SELECTOR}`;\nconst isIonContent = (el) => el && el.tagName === ION_CONTENT_TAG_NAME;\n/**\n * Waits for the element host fully initialize before\n * returning the inner scroll element.\n *\n * For `ion-content` the scroll target will be the result\n * of the `getScrollElement` function.\n *\n * For custom implementations it will be the element host\n * or a selector within the host, if supplied through `scrollTarget`.\n */\nconst getScrollElement = async (el) => {\n if (isIonContent(el)) {\n await new Promise((resolve) => componentOnReady(el, resolve));\n return el.getScrollElement();\n }\n return el;\n};\n/**\n * Queries the element matching the selector for IonContent.\n * See ION_CONTENT_SELECTOR for the selector used.\n */\nconst findIonContent = (el) => {\n /**\n * First we try to query the custom scroll host selector in cases where\n * the implementation is using an outer `ion-content` with an inner custom\n * scroll container.\n */\n const customContentHost = el.querySelector(ION_CONTENT_CLASS_SELECTOR);\n if (customContentHost) {\n return customContentHost;\n }\n return el.querySelector(ION_CONTENT_SELECTOR);\n};\n/**\n * Queries the closest element matching the selector for IonContent.\n */\nconst findClosestIonContent = (el) => {\n return el.closest(ION_CONTENT_SELECTOR);\n};\n/**\n * Scrolls to the top of the element. If an `ion-content` is found, it will scroll\n * using the public API `scrollToTop` with a duration.\n */\nconst scrollToTop = (el, durationMs) => {\n if (isIonContent(el)) {\n const content = el;\n return content.scrollToTop(durationMs);\n }\n return Promise.resolve(el.scrollTo({\n top: 0,\n left: 0,\n behavior: durationMs > 0 ? 'smooth' : 'auto',\n }));\n};\n/**\n * Scrolls by a specified X/Y distance in the component. If an `ion-content` is found, it will scroll\n * using the public API `scrollByPoint` with a duration.\n */\nconst scrollByPoint = (el, x, y, durationMs) => {\n if (isIonContent(el)) {\n const content = el;\n return content.scrollByPoint(x, y, durationMs);\n }\n return Promise.resolve(el.scrollBy({\n top: y,\n left: x,\n behavior: durationMs > 0 ? 'smooth' : 'auto',\n }));\n};\n/**\n * Prints an error informing developers that an implementation requires an element to be used\n * within either the `ion-content` selector or the `.ion-content-scroll-host` class.\n */\nconst printIonContentErrorMsg = (el) => {\n return printRequiredElementError(el, ION_CONTENT_ELEMENT_SELECTOR);\n};\n/**\n * Several components in Ionic need to prevent scrolling\n * during a gesture (card modal, range, item sliding, etc).\n * Use this utility to account for ion-content and custom content hosts.\n */\nconst disableContentScrollY = (contentEl) => {\n if (isIonContent(contentEl)) {\n const ionContent = contentEl;\n const initialScrollY = ionContent.scrollY;\n ionContent.scrollY = false;\n /**\n * This should be passed into resetContentScrollY\n * so that we can revert ion-content's scrollY to the\n * correct state. For example, if scrollY = false\n * initially, we do not want to enable scrolling\n * when we call resetContentScrollY.\n */\n return initialScrollY;\n }\n else {\n contentEl.style.setProperty('overflow', 'hidden');\n return true;\n }\n};\nconst resetContentScrollY = (contentEl, initialScrollY) => {\n if (isIonContent(contentEl)) {\n contentEl.scrollY = initialScrollY;\n }\n else {\n contentEl.style.removeProperty('overflow');\n }\n};\n\nexport { ION_CONTENT_ELEMENT_SELECTOR as I, findClosestIonContent as a, ION_CONTENT_CLASS_SELECTOR as b, scrollByPoint as c, disableContentScrollY as d, findIonContent as f, getScrollElement as g, isIonContent as i, printIonContentErrorMsg as p, resetContentScrollY as r, scrollToTop as s };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nconst KEYBOARD_DID_OPEN = 'ionKeyboardDidShow';\nconst KEYBOARD_DID_CLOSE = 'ionKeyboardDidHide';\nconst KEYBOARD_THRESHOLD = 150;\nlet previousVisualViewport = {};\nlet currentVisualViewport = {};\nlet keyboardOpen = false;\n/**\n * This is only used for tests\n */\nconst resetKeyboardAssist = () => {\n previousVisualViewport = {};\n currentVisualViewport = {};\n keyboardOpen = false;\n};\nconst startKeyboardAssist = (win) => {\n startNativeListeners(win);\n if (!win.visualViewport) {\n return;\n }\n currentVisualViewport = copyVisualViewport(win.visualViewport);\n win.visualViewport.onresize = () => {\n trackViewportChanges(win);\n if (keyboardDidOpen() || keyboardDidResize(win)) {\n setKeyboardOpen(win);\n }\n else if (keyboardDidClose(win)) {\n setKeyboardClose(win);\n }\n };\n};\n/**\n * Listen for events fired by native keyboard plugin\n * in Capacitor/Cordova so devs only need to listen\n * in one place.\n */\nconst startNativeListeners = (win) => {\n win.addEventListener('keyboardDidShow', (ev) => setKeyboardOpen(win, ev));\n win.addEventListener('keyboardDidHide', () => setKeyboardClose(win));\n};\nconst setKeyboardOpen = (win, ev) => {\n fireKeyboardOpenEvent(win, ev);\n keyboardOpen = true;\n};\nconst setKeyboardClose = (win) => {\n fireKeyboardCloseEvent(win);\n keyboardOpen = false;\n};\n/**\n * Returns `true` if the `keyboardOpen` flag is not\n * set, the previous visual viewport width equal the current\n * visual viewport width, and if the scaled difference\n * of the previous visual viewport height minus the current\n * visual viewport height is greater than KEYBOARD_THRESHOLD\n *\n * We need to be able to accommodate users who have zooming\n * enabled in their browser (or have zoomed in manually) which\n * is why we take into account the current visual viewport's\n * scale value.\n */\nconst keyboardDidOpen = () => {\n const scaledHeightDifference = (previousVisualViewport.height - currentVisualViewport.height) * currentVisualViewport.scale;\n return (!keyboardOpen &&\n previousVisualViewport.width === currentVisualViewport.width &&\n scaledHeightDifference > KEYBOARD_THRESHOLD);\n};\n/**\n * Returns `true` if the keyboard is open,\n * but the keyboard did not close\n */\nconst keyboardDidResize = (win) => {\n return keyboardOpen && !keyboardDidClose(win);\n};\n/**\n * Determine if the keyboard was closed\n * Returns `true` if the `keyboardOpen` flag is set and\n * the current visual viewport height equals the\n * layout viewport height.\n */\nconst keyboardDidClose = (win) => {\n return keyboardOpen && currentVisualViewport.height === win.innerHeight;\n};\n/**\n * Dispatch a keyboard open event\n */\nconst fireKeyboardOpenEvent = (win, nativeEv) => {\n const keyboardHeight = nativeEv ? nativeEv.keyboardHeight : win.innerHeight - currentVisualViewport.height;\n const ev = new CustomEvent(KEYBOARD_DID_OPEN, {\n detail: { keyboardHeight },\n });\n win.dispatchEvent(ev);\n};\n/**\n * Dispatch a keyboard close event\n */\nconst fireKeyboardCloseEvent = (win) => {\n const ev = new CustomEvent(KEYBOARD_DID_CLOSE);\n win.dispatchEvent(ev);\n};\n/**\n * Given a window object, create a copy of\n * the current visual and layout viewport states\n * while also preserving the previous visual and\n * layout viewport states\n */\nconst trackViewportChanges = (win) => {\n previousVisualViewport = Object.assign({}, currentVisualViewport);\n currentVisualViewport = copyVisualViewport(win.visualViewport);\n};\n/**\n * Creates a deep copy of the visual viewport\n * at a given state\n */\nconst copyVisualViewport = (visualViewport) => {\n return {\n width: Math.round(visualViewport.width),\n height: Math.round(visualViewport.height),\n offsetTop: visualViewport.offsetTop,\n offsetLeft: visualViewport.offsetLeft,\n pageTop: visualViewport.pageTop,\n pageLeft: visualViewport.pageLeft,\n scale: visualViewport.scale,\n };\n};\n\nexport { KEYBOARD_DID_CLOSE, KEYBOARD_DID_OPEN, copyVisualViewport, keyboardDidClose, keyboardDidOpen, keyboardDidResize, resetKeyboardAssist, setKeyboardClose, setKeyboardOpen, startKeyboardAssist, trackViewportChanges };\n","import LocalForage from 'localforage';\n/** @hidden */\nexport const Drivers = {\n SecureStorage: 'ionicSecureStorage',\n IndexedDB: LocalForage.INDEXEDDB,\n LocalStorage: LocalForage.LOCALSTORAGE\n};\nconst defaultConfig = {\n name: '_ionicstorage',\n storeName: '_ionickv',\n dbKey: '_ionickey',\n driverOrder: [\n Drivers.SecureStorage,\n Drivers.IndexedDB,\n Drivers.LocalStorage\n ]\n};\nexport class Storage {\n /**\n * Create a new Storage instance using the order of drivers and any additional config\n * options to pass to LocalForage.\n *\n * Possible default driverOrder options are: ['indexeddb', 'localstorage'] and the\n * default is that exact ordering.\n *\n * When using Ionic Secure Storage (enterprise only), use ['ionicSecureStorage', 'indexeddb', 'localstorage'] to ensure\n * Secure Storage is used when available, or fall back to IndexedDB or LocalStorage on the web.\n */\n constructor(config = defaultConfig) {\n this._db = null;\n this._secureStorageDriver = null;\n const actualConfig = Object.assign({}, defaultConfig, config || {});\n this._config = actualConfig;\n }\n async create() {\n const db = LocalForage.createInstance(this._config);\n this._db = db;\n await db.setDriver(this._config.driverOrder || []);\n return this;\n }\n /**\n * Define a new Driver. Must be called before\n * initializing the database. Example:\n *\n * await storage.defineDriver(myDriver);\n * await storage.create();\n */\n async defineDriver(driver) {\n if (driver._driver === Drivers.SecureStorage) {\n this._secureStorageDriver = driver;\n }\n return LocalForage.defineDriver(driver);\n }\n /**\n * Get the name of the driver being used.\n * @returns Name of the driver\n */\n get driver() {\n var _a;\n return ((_a = this._db) === null || _a === void 0 ? void 0 : _a.driver()) || null;\n }\n assertDb() {\n if (!this._db) {\n throw new Error('Database not created. Must call create() first');\n }\n return this._db;\n }\n /**\n * Get the value associated with the given key.\n * @param key the key to identify this value\n * @returns Returns a promise with the value of the given key\n */\n get(key) {\n const db = this.assertDb();\n return db.getItem(key);\n }\n /**\n * Set the value for the given key.\n * @param key the key to identify this value\n * @param value the value for this key\n * @returns Returns a promise that resolves when the key and value are set\n */\n set(key, value) {\n const db = this.assertDb();\n return db.setItem(key, value);\n }\n /**\n * Remove any value associated with this key.\n * @param key the key to identify this value\n * @returns Returns a promise that resolves when the value is removed\n */\n remove(key) {\n const db = this.assertDb();\n return db.removeItem(key);\n }\n /**\n * Clear the entire key value store. WARNING: HOT!\n * @returns Returns a promise that resolves when the store is cleared\n */\n clear() {\n const db = this.assertDb();\n return db.clear();\n }\n /**\n * @returns Returns a promise that resolves with the number of keys stored.\n */\n length() {\n const db = this.assertDb();\n return db.length();\n }\n /**\n * @returns Returns a promise that resolves with the keys in the store.\n */\n keys() {\n const db = this.assertDb();\n return db.keys();\n }\n /**\n * Iterate through each key,value pair.\n * @param iteratorCallback a callback of the form (value, key, iterationNumber)\n * @returns Returns a promise that resolves when the iteration has finished.\n */\n forEach(iteratorCallback) {\n const db = this.assertDb();\n return db.iterate(iteratorCallback);\n }\n setEncryptionKey(key) {\n var _a;\n if (!this._secureStorageDriver) {\n throw new Error('@ionic-enterprise/secure-storage not installed. Encryption support not available');\n }\n else {\n (_a = this._secureStorageDriver) === null || _a === void 0 ? void 0 : _a.setEncryptionKey(key);\n }\n }\n}\n//# sourceMappingURL=index.js.map","import { parseQuery, createRouter as createRouter$1, createWebHistory as createWebHistory$1, createWebHashHistory as createWebHashHistory$1, createMemoryHistory as createMemoryHistory$1 } from 'vue-router';\nimport { shallowRef } from 'vue';\n\nconst createLocationHistory = () => {\n const locationHistory = [];\n const tabsHistory = {};\n const add = (routeInfo) => {\n switch (routeInfo.routerAction) {\n case \"pop\":\n pop(routeInfo);\n break;\n default:\n addRoute(routeInfo);\n break;\n }\n if (routeInfo.routerDirection === 'root') {\n clearHistory();\n addRoute(routeInfo);\n }\n };\n const update = (routeInfo) => {\n const locationIndex = locationHistory.findIndex(x => x.id === routeInfo.id);\n if (locationIndex > -1) {\n locationHistory.splice(locationIndex, 1, routeInfo);\n }\n const tabArray = tabsHistory[routeInfo.tab || ''];\n if (tabArray) {\n const tabIndex = tabArray.findIndex(x => x.id === routeInfo.id);\n if (tabIndex > -1) {\n tabArray.splice(tabIndex, 1, routeInfo);\n }\n else {\n tabArray.push(routeInfo);\n }\n }\n else if (routeInfo.tab) {\n tabsHistory[routeInfo.tab] = [routeInfo];\n }\n };\n const pop = (routeInfo) => {\n const tabHistory = getTabsHistory(routeInfo.tab);\n let ri;\n if (tabHistory) {\n // Pop all routes until we are back\n ri = tabHistory[tabHistory.length - 1];\n while (ri && ri.id !== routeInfo.id) {\n tabHistory.pop();\n ri = tabHistory[tabHistory.length - 1];\n }\n // Replace with updated route\n tabHistory.pop();\n tabHistory.push(routeInfo);\n }\n ri = locationHistory[locationHistory.length - 1];\n while (ri && ri.id !== routeInfo.id) {\n locationHistory.pop();\n ri = locationHistory[locationHistory.length - 1];\n }\n // Replace with updated route\n locationHistory.pop();\n locationHistory.push(routeInfo);\n };\n const addRoute = (routeInfo) => {\n const tabHistory = getTabsHistory(routeInfo.tab);\n if (tabHistory) {\n // If the latest routeInfo is the same (going back and forth between tabs), replace it\n if (tabHistory[tabHistory.length - 1] && tabHistory[tabHistory.length - 1].id === routeInfo.id) {\n tabHistory.pop();\n }\n tabHistory.push(routeInfo);\n }\n locationHistory.push(routeInfo);\n };\n /**\n * Wipes the location history arrays.\n * You can optionally provide a routeInfo\n * object which will wipe that entry\n * and every entry that appears after it.\n */\n const clearHistory = (routeInfo) => {\n if (routeInfo) {\n const { position, tab } = routeInfo;\n /**\n * If there is no route index in locationHistory\n * then there will not be any route index in\n * tabs either.\n */\n const existingRouteIndex = locationHistory.findIndex(r => r.position === position);\n if (existingRouteIndex === -1)\n return;\n locationHistory.splice(existingRouteIndex);\n const clearTabHistory = (tab) => {\n const existingTabRouteIndex = tabsHistory[tab].findIndex(r => r.position === position);\n if (existingTabRouteIndex === -1)\n return;\n tabsHistory[tab].splice(existingTabRouteIndex);\n };\n /**\n * We also need to search the current tab\n * to correctly reset the individual tab\n * stack. We should not clear the entire\n * tab stack as that means we will lose\n * a reference to the root tab route.\n */\n const tabHistory = tabsHistory[tab];\n if (tab && tabHistory) {\n clearTabHistory(tab);\n /**\n * If we are not clearing items after\n * a tabs page, it is still possible\n * that there are future tabs pages to clear.\n * As a result, we need to search through\n * all the tab stacks and remove views that appear\n * after the given routeInfo.\n *\n * Example: /non-tabs-page --> /tabs/tab1 --> /non-tabs-page\n * (via router.go(-1)) --> /tabs/tab2. The /tabs/tab1 history\n * has been overwritten with /tabs/tab2. As a result,\n * the /tabs/tab1 route info in the Tab 1 stack should be removed.\n */\n }\n else {\n for (const tab in tabsHistory) {\n clearTabHistory(tab);\n }\n }\n }\n else {\n for (const tab in tabsHistory) {\n tabsHistory[tab] = [];\n }\n locationHistory.length = 0;\n }\n };\n const getTabsHistory = (tab) => {\n let history;\n if (tab) {\n history = tabsHistory[tab];\n if (!history) {\n history = tabsHistory[tab] = [];\n }\n }\n return history;\n };\n const size = () => locationHistory.length;\n /**\n * Finds and returns the location history item\n * given the state of browser's history API.\n * This is useful when jumping around in browser\n * history using router.go.\n */\n const current = (initialHistory, currentHistory) => {\n /**\n * initialHistory does not always start at 0 if users navigated\n * to app from another website, so doing this math lets us\n * find the correct index in our locationHistory array.\n */\n const index = currentHistory - initialHistory;\n return locationHistory[index] || last();\n };\n const last = () => locationHistory[locationHistory.length - 1];\n /**\n * With the introduction of router.go support, we no longer remove\n * items from locationHistory as they may be needed again in the future.\n * As a result, we need to look at the current position in location history\n * to see if users can navigate back n pages. Previously we were checking\n * the length of locationHistory, but that only worked since we were pruning\n * the array.\n */\n const canGoBack = (deep = 1, initialHistory, currentHistory) => {\n return currentHistory - deep >= initialHistory;\n };\n const getFirstRouteInfoForTab = (tab) => {\n const tabHistory = getTabsHistory(tab);\n if (tabHistory) {\n return tabHistory[0];\n }\n return undefined;\n };\n const getCurrentRouteInfoForTab = (tab) => {\n const tabHistory = getTabsHistory(tab);\n if (tabHistory) {\n return tabHistory[tabHistory.length - 1];\n }\n return undefined;\n };\n /**\n * Finds and returns the previous view based upon\n * what originally pushed it (pushedByRoute).\n * When `delta` < -1 then we should just index into\n * to array because the previous view that we want is not\n * necessarily the view that pushed our current view.\n * Additionally, when jumping around in history, we\n * do not modify the locationHistory stack so we would\n * not update pushedByRoute anyways.\n */\n const findLastLocation = (routeInfo, delta = -1) => {\n const routeInfos = getTabsHistory(routeInfo.tab);\n if (routeInfos) {\n if (delta < -1) {\n return routeInfos[routeInfos.length - 1 + delta];\n }\n else {\n for (let i = routeInfos.length - 2; i >= 0; i--) {\n const ri = routeInfos[i];\n if (ri) {\n if (ri.pathname === routeInfo.pushedByRoute) {\n return ri;\n }\n }\n }\n }\n }\n if (delta < -1) {\n return locationHistory[locationHistory.length - 1 + delta];\n }\n else {\n for (let i = locationHistory.length - 2; i >= 0; i--) {\n const ri = locationHistory[i];\n if (ri) {\n if (ri.pathname === routeInfo.pushedByRoute) {\n return ri;\n }\n }\n }\n }\n return undefined;\n };\n return {\n current,\n size,\n last,\n add,\n canGoBack,\n update,\n getFirstRouteInfoForTab,\n getCurrentRouteInfoForTab,\n findLastLocation,\n clearHistory\n };\n};\n\nconst ids = { main: 0 };\nconst generateId = (type = 'main') => {\n var _a;\n const id = ((_a = ids[type]) !== null && _a !== void 0 ? _a : 0) + 1;\n ids[type] = id;\n return (id).toString();\n};\n\nconst createIonRouter = (opts, router) => {\n let currentNavigationInfo = { direction: undefined, action: undefined, delta: undefined };\n /**\n * Ionic Vue should only react to navigation\n * changes once they have been confirmed and should\n * never affect the outcome of navigation (with the\n * exception of going back or selecting a tab).\n * As a result, we should do our work in afterEach\n * which is fired once navigation is confirmed\n * and any user guards have run.\n */\n router.afterEach((to, _, failure) => {\n if (failure)\n return;\n const { direction, action, delta } = currentNavigationInfo;\n /**\n * When calling router.replace, we are not informed\n * about the replace action in opts.history.listen\n * but we can check to see if the latest routing action\n * was a replace action by looking at the history state.\n * We need to use opts.history rather than window.history\n * because window.history will be undefined when using SSR.\n */\n currentHistoryPosition = opts.history.state.position;\n const replaceAction = opts.history.state.replaced ? 'replace' : undefined;\n handleHistoryChange(to, action || replaceAction, direction, delta);\n currentNavigationInfo = { direction: undefined, action: undefined, delta: undefined };\n });\n const locationHistory = createLocationHistory();\n /**\n * Keeping track of the history position\n * allows us to determine if a user is pushing\n * new pages or updating history via the forward\n * and back browser buttons.\n */\n let initialHistoryPosition = opts.history.state.position;\n let currentHistoryPosition = opts.history.state.position;\n let currentRouteInfo;\n let incomingRouteParams;\n // TODO types\n let historyChangeListeners = [];\n if (typeof document !== 'undefined') {\n document.addEventListener('ionBackButton', (ev) => {\n ev.detail.register(0, (processNextHandler) => {\n opts.history.go(-1);\n processNextHandler();\n });\n });\n }\n opts.history.listen((_, _x, info) => {\n /**\n * history.listen only fires on certain\n * event such as when the user clicks the\n * browser back button. It also gives us\n * additional information as to the type\n * of navigation (forward, backward, etc).\n *\n * We can use this to better handle the\n * `handleHistoryChange` call in\n * router.beforeEach\n */\n currentNavigationInfo = {\n delta: info.delta,\n /**\n * Both the browser forward and backward actions\n * are considered \"pop\" actions, but when going forward\n * we want to make sure the forward animation is used.\n */\n action: (info.type === 'pop' && info.delta >= 1) ? 'push' : info.type,\n direction: info.direction === '' ? 'forward' : info.direction\n };\n });\n const handleNavigateBack = (defaultHref, routerAnimation) => {\n // todo grab default back button href from config\n const routeInfo = locationHistory.current(initialHistoryPosition, currentHistoryPosition);\n if (routeInfo && routeInfo.pushedByRoute) {\n const prevInfo = locationHistory.findLastLocation(routeInfo);\n if (prevInfo) {\n incomingRouteParams = Object.assign(Object.assign({}, prevInfo), { routerAction: 'pop', routerDirection: 'back', routerAnimation: routerAnimation || routeInfo.routerAnimation });\n if (routeInfo.lastPathname === routeInfo.pushedByRoute ||\n (\n /**\n * We need to exclude tab switches/tab\n * context changes here because tabbed\n * navigation is not linear, but router.back()\n * will go back in a linear fashion.\n */\n prevInfo.pathname === routeInfo.pushedByRoute &&\n routeInfo.tab === '' && prevInfo.tab === '')) {\n router.back();\n }\n else {\n /**\n * When going back to a child page of a tab\n * after being on another tab, we need to use\n * router.go() here instead of pushing or replacing.\n * Consider the following example:\n * /tabs/tab1 --> /tabs/tab1/child1 --> /tabs/tab1/child2\n * --> /tabs/tab2 (via Tab 2 button) --> /tabs/tab1/child2 (via Tab 1 button)\n *\n * Pressing the ion-back-button on /tabs/tab1/child2 should take\n * us back to /tabs/tab1/child1 not /tabs/tab2 because each tab\n * is its own stack.\n *\n * If we called pressed the ion-back-button and this code called\n * router.replace, then the state of /tabs/tab1/child2 would\n * be replaced with /tabs/tab1/child1. However, this means that\n * there would be two /tabs/tab1/child1 entries in the location\n * history as the original /tabs/tab1/child1 entry is still there.\n * As a result, clicking the ion-back-button on /tabs/tab1/child1 does\n * nothing because this code would try to route to the same page\n * we are currently on.\n *\n * If we called router.push instead then we would push a\n * new /tabs/tab1/child1 entry to the location history. This\n * is not good because we would have two /tabs/tab1/child1 entries\n * separated by a /tabs/tab1/child2 entry.\n */\n router.go(prevInfo.position - routeInfo.position);\n }\n }\n else {\n handleNavigate(defaultHref, 'pop', 'back');\n }\n }\n else {\n handleNavigate(defaultHref, 'pop', 'back');\n }\n };\n const handleNavigate = (path, routerAction, routerDirection, routerAnimation, tab) => {\n setIncomingRouteParams(routerAction, routerDirection, routerAnimation, tab);\n if (routerAction === 'push') {\n router.push(path);\n }\n else {\n router.replace(path);\n }\n };\n // TODO RouteLocationNormalized\n const handleHistoryChange = (location, action, direction, delta) => {\n let leavingLocationInfo;\n if (incomingRouteParams) {\n /**\n * If we are replacing the state of a route\n * with another route, the \"leaving\" route\n * is at the same position in location history\n * as where the replaced route will exist.\n */\n if (incomingRouteParams.routerAction === 'replace') {\n leavingLocationInfo = locationHistory.current(initialHistoryPosition, currentHistoryPosition);\n }\n else if (incomingRouteParams.routerAction === 'pop') {\n leavingLocationInfo = locationHistory.current(initialHistoryPosition, currentHistoryPosition + 1);\n /**\n * If the Ionic Router action was \"pop\"\n * and the browser history action was \"replace\", then\n * it is the case that the user clicked an IonBackButton\n * that is trying to go back to the route specified\n * by the defaultHref property.\n *\n * The problem is that this route currently does\n * not exist in the browser history, and we cannot\n * prepend an item in the browser's history stack.\n * To work around this, we replace the state of\n * the current item instead.\n * Given this scenario:\n * /page2 --> /page3 --> (back) /page2 --> (defaultHref) /page1\n * We would replace the state of /page2 with the state of /page1.\n *\n * When doing this, we are essentially re-writing past\n * history which makes the future history no longer relevant.\n * As a result, we clear out the location history so that users\n * can begin pushing new routes to the stack.\n *\n * This pattern is aligned with how the browser handles\n * pushing new routes after going back as well as how\n * other stack based operations such as undo/redo work.\n * For example, if you do tasks A, B, C, undo B and C, and\n * then do task D, you cannot \"redo\" B and C because you\n * rewrote the stack's past history.\n *\n * With browser history, it is a similar concept.\n * Going /page1 --> /page2 --> /page3 and then doing\n * router.go(-2) will bring you back to /page1.\n * If you then push /page4, you have rewritten\n * the past history and you can no longer go\n * forward to /page2 or /page3.\n */\n if (action === 'replace') {\n locationHistory.clearHistory();\n }\n }\n else {\n /**\n * If the routerDirection was specified as \"root\", then\n * we are replacing the initial state of location history\n * with this incoming route. As a result, the leaving\n * history info is stored at the same location as\n * where the incoming history location will be stored.\n *\n * Otherwise, we can assume this is just another route\n * that will be pushed onto the end of location history,\n * so we can grab the previous item in history relative\n * to where the history state currently is.\n */\n const position = (incomingRouteParams.routerDirection === 'root') ? currentHistoryPosition : currentHistoryPosition - 1;\n leavingLocationInfo = locationHistory.current(initialHistoryPosition, position);\n }\n }\n else {\n leavingLocationInfo = currentRouteInfo;\n }\n if (!leavingLocationInfo) {\n leavingLocationInfo = {\n pathname: '',\n search: ''\n };\n }\n const leavingUrl = leavingLocationInfo.pathname + leavingLocationInfo.search;\n if (leavingUrl !== location.fullPath) {\n if (!incomingRouteParams) {\n if (action === 'replace') {\n incomingRouteParams = {\n routerAction: 'replace',\n routerDirection: 'none'\n };\n }\n else if (action === 'pop') {\n const routeInfo = locationHistory.current(initialHistoryPosition, currentHistoryPosition - delta);\n if (routeInfo && routeInfo.pushedByRoute) {\n const prevRouteInfo = locationHistory.findLastLocation(routeInfo, delta);\n incomingRouteParams = Object.assign(Object.assign({}, prevRouteInfo), { routerAction: 'pop', routerDirection: 'back' });\n }\n else {\n incomingRouteParams = {\n routerAction: 'pop',\n routerDirection: 'none'\n };\n }\n }\n if (!incomingRouteParams) {\n incomingRouteParams = {\n routerAction: 'push',\n routerDirection: direction || 'forward'\n };\n }\n }\n let routeInfo;\n if (incomingRouteParams === null || incomingRouteParams === void 0 ? void 0 : incomingRouteParams.id) {\n routeInfo = Object.assign(Object.assign({}, incomingRouteParams), { lastPathname: leavingLocationInfo.pathname });\n }\n else {\n const isPushed = incomingRouteParams.routerAction === 'push' && incomingRouteParams.routerDirection === 'forward';\n routeInfo = Object.assign(Object.assign({ id: generateId('routeInfo') }, incomingRouteParams), { lastPathname: leavingLocationInfo.pathname, pathname: location.path, search: location.fullPath && location.fullPath.split('?')[1] || '', params: location.params && location.params, prevRouteLastPathname: leavingLocationInfo.lastPathname });\n if (isPushed) {\n routeInfo.pushedByRoute = (leavingLocationInfo.pathname !== '') ? leavingLocationInfo.pathname : undefined;\n }\n else if (routeInfo.routerAction === 'pop') {\n const route = locationHistory.findLastLocation(routeInfo);\n routeInfo.pushedByRoute = route === null || route === void 0 ? void 0 : route.pushedByRoute;\n }\n else if (routeInfo.routerAction === 'push' && routeInfo.tab !== leavingLocationInfo.tab) {\n const lastRoute = locationHistory.getCurrentRouteInfoForTab(routeInfo.tab);\n routeInfo.pushedByRoute = lastRoute === null || lastRoute === void 0 ? void 0 : lastRoute.pushedByRoute;\n }\n else if (routeInfo.routerAction === 'replace') {\n /**\n * When replacing a route, we want to make sure we select the current route\n * that we are on, not the last route in the stack. The last route in the stack\n * is not always the current route.\n * Example:\n * Given the following history: /page1 --> /page2\n * Doing router.go(-1) would bring you to /page1.\n * If you then did router.replace('/page3'), /page1 should\n * be replaced with /page3 even though /page2 is the last\n * item in the stack/\n */\n const currentRouteInfo = locationHistory.current(initialHistoryPosition, currentHistoryPosition);\n /**\n * If going from /home to /child, then replacing from\n * /child to /home, we don't want the route info to\n * say that /home was pushed by /home which is not correct.\n */\n const currentPushedBy = currentRouteInfo === null || currentRouteInfo === void 0 ? void 0 : currentRouteInfo.pushedByRoute;\n const pushedByRoute = (currentPushedBy !== undefined && currentPushedBy !== routeInfo.pathname) ? currentPushedBy : routeInfo.pushedByRoute;\n routeInfo.lastPathname = (currentRouteInfo === null || currentRouteInfo === void 0 ? void 0 : currentRouteInfo.pathname) || routeInfo.lastPathname;\n routeInfo.pushedByRoute = pushedByRoute;\n routeInfo.routerDirection = (currentRouteInfo === null || currentRouteInfo === void 0 ? void 0 : currentRouteInfo.routerDirection) || routeInfo.routerDirection;\n routeInfo.routerAnimation = (currentRouteInfo === null || currentRouteInfo === void 0 ? void 0 : currentRouteInfo.routerAnimation) || routeInfo.routerAnimation;\n routeInfo.prevRouteLastPathname = currentRouteInfo === null || currentRouteInfo === void 0 ? void 0 : currentRouteInfo.lastPathname;\n }\n }\n routeInfo.position = currentHistoryPosition;\n routeInfo.delta = delta;\n const historySize = locationHistory.size();\n const historyDiff = currentHistoryPosition - initialHistoryPosition;\n /**\n * If the size of location history is greater\n * than the difference between the current history\n * position and the initial history position\n * then we are guaranteed to already have a history\n * item for this route. In other words, a user\n * is navigating within the history without pushing\n * new items within the stack.\n *\n * If the historySize === historyDiff,\n * then we are still re-writing history\n * by replacing the current route state\n * with a new route state. The initial\n * action when loading an app is\n * going to be replace operation, so\n * we want to make sure we exclude that\n * action by ensuring historySize > 0.\n */\n const isReplacing = historySize === historyDiff && historySize > 0 && action === 'replace';\n if (historySize > historyDiff || isReplacing) {\n /**\n * When navigating back through the history,\n * if users then push a new route the future\n * history stack is no longer relevant. As\n * a result, we need to clear out all entries\n * that appear after the current routeInfo\n * so that we can then append the new history.\n *\n * This does not apply when using router.go\n * as that is traversing through the history,\n * not altering it.\n *\n * Previously we had only updated the existing route\n * and then left the future history alone. That\n * worked for some use cases but was not sufficient\n * in other scenarios.\n */\n if ((routeInfo.routerAction === 'push' || routeInfo.routerAction === 'replace') &&\n delta === undefined) {\n locationHistory.clearHistory(routeInfo);\n locationHistory.add(routeInfo);\n }\n }\n else {\n locationHistory.add(routeInfo);\n }\n /**\n * If we recently reset the location history\n * then we also need to update the initial\n * history position.\n */\n if (locationHistory.size() === 1) {\n initialHistoryPosition = routeInfo.position;\n }\n currentRouteInfo = routeInfo;\n }\n incomingRouteParams = undefined;\n historyChangeListeners.forEach(cb => cb(currentRouteInfo));\n };\n const getCurrentRouteInfo = () => currentRouteInfo;\n const canGoBack = (deep = 1) => locationHistory.canGoBack(deep, initialHistoryPosition, currentHistoryPosition);\n const navigate = (navigationOptions) => {\n const { routerAnimation, routerDirection, routerLink } = navigationOptions;\n setIncomingRouteParams('push', routerDirection, routerAnimation);\n router.push(routerLink);\n };\n const resetTab = (tab) => {\n /**\n * Resetting the tab should go back\n * to the initial view in the tab stack.\n * It should not push a new instance of the\n * root tab page onto the stack.\n *\n * To do this, we get the initial view in the\n * tab stack and subtract the position of that\n * entry from our current position. From there\n * we call router.go() to move us back the\n * appropriate number of positions.\n */\n const routeInfo = locationHistory.getFirstRouteInfoForTab(tab);\n if (routeInfo) {\n router.go(routeInfo.position - currentHistoryPosition);\n }\n };\n const changeTab = (tab, path) => {\n if (!path)\n return;\n const routeInfo = locationHistory.getCurrentRouteInfoForTab(tab);\n const [pathname] = path.split('?');\n if (routeInfo) {\n incomingRouteParams = Object.assign(Object.assign({}, incomingRouteParams), { routerAction: 'push', routerDirection: 'none', tab });\n /**\n * When going back to a tab\n * you just left, it's possible\n * for the route info to be incorrect\n * as the tab you want is not the\n * tab you are on.\n */\n if (routeInfo.pathname === pathname) {\n router.push({ path: routeInfo.pathname, query: parseQuery(routeInfo.search) });\n }\n else {\n router.push({ path: pathname, query: parseQuery(routeInfo.search) });\n }\n }\n else {\n handleNavigate(pathname, 'push', 'none', undefined, tab);\n }\n };\n /**\n * This method is invoked by the IonTabs component\n * during a history change callback. It is responsible\n * for ensuring that tabbed routes have the correct\n * \"tab\" field in its routeInfo object.\n *\n * IonTabs will determine if the current route\n * is in tabs and assign it the correct tab.\n * If the current route is not in tabs,\n * then IonTabs will not invoke this.\n */\n const handleSetCurrentTab = (tab) => {\n /**\n * Note that the current page that we\n * are on is not necessarily the last item\n * in the locationHistory stack. As a result,\n * we cannot use locationHistory.last() here.\n */\n const ri = Object.assign({}, locationHistory.current(initialHistoryPosition, currentHistoryPosition));\n /**\n * handleHistoryChange is tabs-agnostic by design.\n * One side effect of this is that certain tabs\n * routes have extraneous/incorrect information\n * that we need to remove. To not tightly couple\n * handleHistoryChange with tabs, we let the\n * handleSetCurrentTab function. This function is\n * only called by IonTabs.\n */\n if (ri.tab !== tab) {\n ri.tab = tab;\n locationHistory.update(ri);\n }\n /**\n * lastPathname typically equals pushedByRoute\n * when navigating in a linear manner. When switching between\n * tabs, this is almost never the case.\n *\n * Example: /tabs/tabs1 --> /tabs/tab2 --> /tabs/tab1\n * The latest Tab 1 route would have the following information\n * lastPathname: '/tabs/tab2'\n * pushedByRoute: '/tabs/tab2'\n *\n * A tab cannot push another tab, so we need to set\n * pushedByRoute to `undefined`. Alternative way of thinking\n * about this: You cannot swipe to go back from Tab 1 to Tab 2.\n *\n * However, there are some instances where we do want to keep\n * the pushedByRoute. As a result, we need to ensure that\n * we only wipe the pushedByRoute state when the both of the\n * following conditions are met:\n * 1. pushedByRoute is different from lastPathname\n * 2. The tab for the pushedByRoute info is different\n * from the current route tab.\n *\n * Example of when we would not want to clear pushedByRoute:\n * /tabs/tab1 --> /tabs/tab1/child --> /tabs/tab2 --> /tabs/tab1/child\n * The latest Tab 1 Child route would have the following information:\n * lastPathname: '/tabs/tab2'\n * pushedByRoute: '/tabs/tab1\n *\n * In this case, /tabs/tab1/child should be able to swipe to go back\n * to /tabs/tab1 so we want to keep the pushedByRoute.\n */\n const pushedByRoute = locationHistory.findLastLocation(ri);\n if (ri.pushedByRoute !== ri.lastPathname && (pushedByRoute === null || pushedByRoute === void 0 ? void 0 : pushedByRoute.tab) !== tab) {\n ri.pushedByRoute = undefined;\n locationHistory.update(ri);\n }\n };\n // TODO types\n const registerHistoryChangeListener = (cb) => {\n historyChangeListeners.push(cb);\n };\n const setIncomingRouteParams = (routerAction = 'push', routerDirection = 'forward', routerAnimation, tab) => {\n incomingRouteParams = {\n routerAction,\n routerDirection,\n routerAnimation,\n tab\n };\n };\n const goBack = (routerAnimation) => {\n setIncomingRouteParams('pop', 'back', routerAnimation);\n router.back();\n };\n const goForward = (routerAnimation) => {\n setIncomingRouteParams('push', 'forward', routerAnimation);\n router.forward();\n };\n const getLeavingRouteInfo = () => {\n return locationHistory.current(initialHistoryPosition, currentHistoryPosition);\n };\n return {\n handleNavigate,\n getLeavingRouteInfo,\n handleNavigateBack,\n handleSetCurrentTab,\n getCurrentRouteInfo,\n canGoBack,\n navigate,\n resetTab,\n changeTab,\n registerHistoryChangeListener,\n goBack,\n goForward\n };\n};\n\nconst createViewStacks = (router) => {\n let viewStacks = {};\n /**\n * Returns the number of active stacks.\n * This is useful for determining if an app\n * is using linear navigation only or non-linear\n * navigation. Multiple stacks indiciate an app\n * is using non-linear navigation.\n */\n const size = () => Object.keys(viewStacks).length;\n const clear = (outletId) => {\n delete viewStacks[outletId];\n };\n const getViewStack = (outletId) => {\n return viewStacks[outletId];\n };\n const registerIonPage = (viewItem, ionPage) => {\n viewItem.ionPageElement = ionPage;\n viewItem.ionRoute = true;\n /**\n * This is needed otherwise Vue Router\n * will not consider this component mounted\n * and will not run route guards that\n * are written in the component.\n */\n viewItem.matchedRoute.instances = { default: viewItem.vueComponentRef.value };\n };\n const findViewItemByRouteInfo = (routeInfo, outletId) => {\n return findViewItemByPath(routeInfo.pathname, outletId, false);\n };\n const findLeavingViewItemByRouteInfo = (routeInfo, outletId, mustBeIonRoute = true) => {\n return findViewItemByPath(routeInfo.lastPathname, outletId, mustBeIonRoute);\n };\n const findViewItemByPathname = (pathname, outletId) => {\n return findViewItemByPath(pathname, outletId, false);\n };\n const findViewItemInStack = (path, stack) => {\n return stack.find((viewItem) => {\n if (viewItem.pathname === path) {\n return viewItem;\n }\n return undefined;\n });\n };\n const findViewItemByPath = (path, outletId, mustBeIonRoute = false) => {\n const matchView = (viewItem) => {\n if ((mustBeIonRoute && !viewItem.ionRoute) ||\n path === '') {\n return false;\n }\n const resolvedPath = router.resolve(path);\n const findMatchedRoute = resolvedPath.matched.find((matchedRoute) => matchedRoute === viewItem.matchedRoute);\n if (findMatchedRoute) {\n /**\n * /page/1 and /page/2 should not match\n * to the same view item otherwise there will\n * be not page transition and we will need to\n * explicitly clear out parameters from page 1\n * so the page 2 params are properly passed\n * to the developer's app.\n */\n const hasParameter = findMatchedRoute.path.includes(':');\n if (hasParameter && path !== viewItem.pathname) {\n return false;\n }\n return viewItem;\n }\n return undefined;\n };\n if (outletId) {\n const stack = viewStacks[outletId];\n if (!stack)\n return undefined;\n const match = (router) ? stack.find(matchView) : findViewItemInStack(path, stack);\n if (match)\n return match;\n }\n else {\n for (let outletId in viewStacks) {\n const stack = viewStacks[outletId];\n const viewItem = findViewItemInStack(path, stack);\n if (viewItem) {\n return viewItem;\n }\n }\n }\n return undefined;\n };\n const createViewItem = (outletId, vueComponent, matchedRoute, routeInfo, ionPage) => {\n return {\n id: generateId('viewItem'),\n pathname: routeInfo.pathname,\n outletId,\n matchedRoute,\n ionPageElement: ionPage,\n vueComponent,\n vueComponentRef: shallowRef(),\n ionRoute: false,\n mount: false,\n exact: routeInfo.pathname === matchedRoute.path,\n params: routeInfo.params,\n vueComponentData: {}\n };\n };\n const add = (viewItem) => {\n const { outletId } = viewItem;\n if (!viewStacks[outletId]) {\n viewStacks[outletId] = [viewItem];\n }\n else {\n viewStacks[outletId].push(viewItem);\n }\n };\n const remove = (viewItem, outletId) => {\n if (!outletId) {\n throw Error('outletId required');\n }\n const viewStack = viewStacks[outletId];\n if (viewStack) {\n viewStacks[outletId] = viewStack.filter(item => item.id !== viewItem.id);\n }\n };\n const getChildrenToRender = (outletId) => {\n const viewStack = viewStacks[outletId];\n if (viewStack) {\n const components = viewStacks[outletId].filter(v => v.mount);\n return components;\n }\n return [];\n };\n /**\n * When navigating backwards, we need to clean up and\n * leaving pages so that they are re-created if\n * we ever navigate back to them. This is especially\n * important when using router.go and stepping back\n * multiple pages at a time.\n */\n const unmountLeavingViews = (outletId, viewItem, delta = 1) => {\n const viewStack = viewStacks[outletId];\n if (!viewStack)\n return;\n const startIndex = viewStack.findIndex(v => v === viewItem);\n for (let i = startIndex + 1; i < startIndex - delta; i++) {\n const viewItem = viewStack[i];\n viewItem.mount = false;\n viewItem.ionPageElement = undefined;\n viewItem.ionRoute = false;\n viewItem.matchedRoute.instances = {};\n }\n };\n /**\n * When navigating forward it is possible for\n * developers to step forward over multiple views.\n * The intermediary views need to be remounted so that\n * swipe to go back works properly.\n * We need to account for the delta value here too because\n * we do not want to remount an unrelated view.\n * Example:\n * /home --> /page2 --> router.back() --> /page3\n * Going to /page3 would remount /page2 since we do\n * not prune /page2 from the stack. However, /page2\n * needs to remain in the stack.\n * Example:\n * /home --> /page2 --> /page3 --> router.go(-2) --> router.go(2)\n * We would end up on /page3, but users need to be able to swipe\n * to go back to /page2 and /home, so we need both pages mounted\n * in the DOM.\n */\n const mountIntermediaryViews = (outletId, viewItem, delta = 1) => {\n const viewStack = viewStacks[outletId];\n if (!viewStack)\n return;\n const startIndex = viewStack.findIndex(v => v === viewItem);\n for (let i = startIndex + 1; i < startIndex + delta; i++) {\n viewStack[i].mount = true;\n }\n };\n return {\n unmountLeavingViews,\n mountIntermediaryViews,\n clear,\n findViewItemByRouteInfo,\n findLeavingViewItemByRouteInfo,\n findViewItemByPathname,\n createViewItem,\n getChildrenToRender,\n add,\n remove,\n registerIonPage,\n getViewStack,\n size\n };\n};\n\nconst createRouter = (opts) => {\n const routerOptions = Object.assign({}, opts);\n delete routerOptions.tabsPrefix;\n const router = createRouter$1(routerOptions);\n const ionRouter = createIonRouter(opts, router);\n const viewStacks = createViewStacks(router);\n const oldInstall = router.install.bind(router);\n router.install = (app) => {\n app.provide('navManager', ionRouter);\n app.provide('viewStacks', viewStacks);\n oldInstall(app);\n };\n const oldIsReady = router.isReady.bind(router);\n router.isReady = () => oldIsReady();\n return router;\n};\nconst createWebHistory = (base) => createWebHistory$1(base);\nconst createWebHashHistory = (base) => createWebHashHistory$1(base);\nconst createMemoryHistory = (base) => createMemoryHistory$1(base);\n\nexport { createMemoryHistory, createRouter, createWebHashHistory, createWebHistory };\n//# sourceMappingURL=index.esm.js.map\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { Context, setPlatformHelpers, setMode, getMode } from '@stencil/core/internal/client';\n\nclass Config {\n constructor() {\n this.m = new Map();\n }\n reset(configObj) {\n this.m = new Map(Object.entries(configObj));\n }\n get(key, fallback) {\n const value = this.m.get(key);\n return value !== undefined ? value : fallback;\n }\n getBoolean(key, fallback = false) {\n const val = this.m.get(key);\n if (val === undefined) {\n return fallback;\n }\n if (typeof val === 'string') {\n return val === 'true';\n }\n return !!val;\n }\n getNumber(key, fallback) {\n const val = parseFloat(this.m.get(key));\n return isNaN(val) ? (fallback !== undefined ? fallback : NaN) : val;\n }\n set(key, value) {\n this.m.set(key, value);\n }\n}\nconst config = /*@__PURE__*/ new Config();\nconst configFromSession = (win) => {\n try {\n const configStr = win.sessionStorage.getItem(IONIC_SESSION_KEY);\n return configStr !== null ? JSON.parse(configStr) : {};\n }\n catch (e) {\n return {};\n }\n};\nconst saveConfig = (win, c) => {\n try {\n win.sessionStorage.setItem(IONIC_SESSION_KEY, JSON.stringify(c));\n }\n catch (e) {\n return;\n }\n};\nconst configFromURL = (win) => {\n const configObj = {};\n win.location.search\n .slice(1)\n .split('&')\n .map((entry) => entry.split('='))\n .map(([key, value]) => [decodeURIComponent(key), decodeURIComponent(value)])\n .filter(([key]) => startsWith(key, IONIC_PREFIX))\n .map(([key, value]) => [key.slice(IONIC_PREFIX.length), value])\n .forEach(([key, value]) => {\n configObj[key] = value;\n });\n return configObj;\n};\nconst startsWith = (input, search) => {\n return input.substr(0, search.length) === search;\n};\nconst IONIC_PREFIX = 'ionic:';\nconst IONIC_SESSION_KEY = 'ionic-persist-config';\n\nconst getPlatforms = (win) => setupPlatforms(win);\nconst isPlatform = (winOrPlatform, platform) => {\n if (typeof winOrPlatform === 'string') {\n platform = winOrPlatform;\n winOrPlatform = undefined;\n }\n return getPlatforms(winOrPlatform).includes(platform);\n};\nconst setupPlatforms = (win = window) => {\n if (typeof win === 'undefined') {\n return [];\n }\n win.Ionic = win.Ionic || {};\n let platforms = win.Ionic.platforms;\n if (platforms == null) {\n platforms = win.Ionic.platforms = detectPlatforms(win);\n platforms.forEach((p) => win.document.documentElement.classList.add(`plt-${p}`));\n }\n return platforms;\n};\nconst detectPlatforms = (win) => {\n const customPlatformMethods = config.get('platform');\n return Object.keys(PLATFORMS_MAP).filter((p) => {\n const customMethod = customPlatformMethods === null || customPlatformMethods === void 0 ? void 0 : customPlatformMethods[p];\n return typeof customMethod === 'function' ? customMethod(win) : PLATFORMS_MAP[p](win);\n });\n};\nconst isMobileWeb = (win) => isMobile(win) && !isHybrid(win);\nconst isIpad = (win) => {\n // iOS 12 and below\n if (testUserAgent(win, /iPad/i)) {\n return true;\n }\n // iOS 13+\n if (testUserAgent(win, /Macintosh/i) && isMobile(win)) {\n return true;\n }\n return false;\n};\nconst isIphone = (win) => testUserAgent(win, /iPhone/i);\nconst isIOS = (win) => testUserAgent(win, /iPhone|iPod/i) || isIpad(win);\nconst isAndroid = (win) => testUserAgent(win, /android|sink/i);\nconst isAndroidTablet = (win) => {\n return isAndroid(win) && !testUserAgent(win, /mobile/i);\n};\nconst isPhablet = (win) => {\n const width = win.innerWidth;\n const height = win.innerHeight;\n const smallest = Math.min(width, height);\n const largest = Math.max(width, height);\n return smallest > 390 && smallest < 520 && largest > 620 && largest < 800;\n};\nconst isTablet = (win) => {\n const width = win.innerWidth;\n const height = win.innerHeight;\n const smallest = Math.min(width, height);\n const largest = Math.max(width, height);\n return isIpad(win) || isAndroidTablet(win) || (smallest > 460 && smallest < 820 && largest > 780 && largest < 1400);\n};\nconst isMobile = (win) => matchMedia(win, '(any-pointer:coarse)');\nconst isDesktop = (win) => !isMobile(win);\nconst isHybrid = (win) => isCordova(win) || isCapacitorNative(win);\nconst isCordova = (win) => !!(win['cordova'] || win['phonegap'] || win['PhoneGap']);\nconst isCapacitorNative = (win) => {\n const capacitor = win['Capacitor'];\n return !!(capacitor === null || capacitor === void 0 ? void 0 : capacitor.isNative);\n};\nconst isElectron = (win) => testUserAgent(win, /electron/i);\nconst isPWA = (win) => { var _a; return !!(((_a = win.matchMedia) === null || _a === void 0 ? void 0 : _a.call(win, '(display-mode: standalone)').matches) || win.navigator.standalone); };\nconst testUserAgent = (win, expr) => expr.test(win.navigator.userAgent);\nconst matchMedia = (win, query) => { var _a; return (_a = win.matchMedia) === null || _a === void 0 ? void 0 : _a.call(win, query).matches; };\nconst PLATFORMS_MAP = {\n ipad: isIpad,\n iphone: isIphone,\n ios: isIOS,\n android: isAndroid,\n phablet: isPhablet,\n tablet: isTablet,\n cordova: isCordova,\n capacitor: isCapacitorNative,\n electron: isElectron,\n pwa: isPWA,\n mobile: isMobile,\n mobileweb: isMobileWeb,\n desktop: isDesktop,\n hybrid: isHybrid,\n};\n\nlet defaultMode;\nconst getIonMode = (ref) => {\n return (ref && getMode(ref)) || defaultMode;\n};\nconst initialize = (userConfig = {}) => {\n if (typeof window === 'undefined') {\n return;\n }\n const doc = window.document;\n const win = window;\n Context.config = config;\n const Ionic = (win.Ionic = win.Ionic || {});\n const platformHelpers = {};\n if (userConfig._ael) {\n platformHelpers.ael = userConfig._ael;\n }\n if (userConfig._rel) {\n platformHelpers.rel = userConfig._rel;\n }\n if (userConfig._ce) {\n platformHelpers.ce = userConfig._ce;\n }\n setPlatformHelpers(platformHelpers);\n // create the Ionic.config from raw config object (if it exists)\n // and convert Ionic.config into a ConfigApi that has a get() fn\n const configObj = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, configFromSession(win)), { persistConfig: false }), Ionic.config), configFromURL(win)), userConfig);\n config.reset(configObj);\n if (config.getBoolean('persistConfig')) {\n saveConfig(win, configObj);\n }\n // Setup platforms\n setupPlatforms(win);\n // first see if the mode was set as an attribute on \n // which could have been set by the user, or by pre-rendering\n // otherwise get the mode via config settings, and fallback to md\n Ionic.config = config;\n Ionic.mode = defaultMode = config.get('mode', doc.documentElement.getAttribute('mode') || (isPlatform(win, 'ios') ? 'ios' : 'md'));\n config.set('mode', defaultMode);\n doc.documentElement.setAttribute('mode', defaultMode);\n doc.documentElement.classList.add(defaultMode);\n if (config.getBoolean('_testing')) {\n config.set('animated', false);\n }\n const isIonicElement = (elm) => { var _a; return (_a = elm.tagName) === null || _a === void 0 ? void 0 : _a.startsWith('ION-'); };\n const isAllowedIonicModeValue = (elmMode) => ['ios', 'md'].includes(elmMode);\n setMode((elm) => {\n while (elm) {\n const elmMode = elm.mode || elm.getAttribute('mode');\n if (elmMode) {\n if (isAllowedIonicModeValue(elmMode)) {\n return elmMode;\n }\n else if (isIonicElement(elm)) {\n console.warn('Invalid ionic mode: \"' + elmMode + '\", expected: \"ios\" or \"md\"');\n }\n }\n elm = elm.parentElement;\n }\n return defaultMode;\n });\n};\n\nexport { isPlatform as a, getIonMode as b, config as c, getPlatforms as g, initialize as i };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nconst hostContext = (selector, el) => {\n return el.closest(selector) !== null;\n};\n/**\n * Create the mode and color classes for the component based on the classes passed in\n */\nconst createColorClasses = (color, cssClassMap) => {\n return typeof color === 'string' && color.length > 0\n ? Object.assign({ 'ion-color': true, [`ion-color-${color}`]: true }, cssClassMap) : cssClassMap;\n};\nconst getClassList = (classes) => {\n if (classes !== undefined) {\n const array = Array.isArray(classes) ? classes : classes.split(' ');\n return array\n .filter((c) => c != null)\n .map((c) => c.trim())\n .filter((c) => c !== '');\n }\n return [];\n};\nconst getClassMap = (classes) => {\n const map = {};\n getClassList(classes).forEach((c) => (map[c] = true));\n return map;\n};\nconst SCHEME = /^[a-z][a-z0-9+\\-.]*:/;\nconst openURL = async (url, ev, direction, animation) => {\n if (url != null && url[0] !== '#' && !SCHEME.test(url)) {\n const router = document.querySelector('ion-router');\n if (router) {\n if (ev != null) {\n ev.preventDefault();\n }\n return router.push(url, direction, animation);\n }\n }\n return false;\n};\n\nexport { createColorClasses as c, getClassMap as g, hostContext as h, openURL as o };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { proxyCustomElement, HTMLElement, readTask, writeTask, h, Host } from '@stencil/core/internal/client';\nimport { b as getIonMode } from './ionic-global.js';\n\nconst rippleEffectCss = \":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:strict;pointer-events:none}:host(.unbounded){contain:layout size style}.ripple-effect{border-radius:50%;position:absolute;background-color:currentColor;color:inherit;contain:strict;opacity:0;-webkit-animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;will-change:transform, opacity;pointer-events:none}.fade-out{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1));-webkit-animation:150ms fadeOutAnimation forwards;animation:150ms fadeOutAnimation forwards}@-webkit-keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@-webkit-keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@-webkit-keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}@keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}\";\n\nconst RippleEffect = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n this.__attachShadow();\n /**\n * Sets the type of ripple-effect:\n *\n * - `bounded`: the ripple effect expands from the user's click position\n * - `unbounded`: the ripple effect expands from the center of the button and overflows the container.\n *\n * NOTE: Surfaces for bounded ripples should have the overflow property set to hidden,\n * while surfaces for unbounded ripples should have it set to visible.\n */\n this.type = 'bounded';\n }\n /**\n * Adds the ripple effect to the parent element.\n *\n * @param x The horizontal coordinate of where the ripple should start.\n * @param y The vertical coordinate of where the ripple should start.\n */\n async addRipple(x, y) {\n return new Promise((resolve) => {\n readTask(() => {\n const rect = this.el.getBoundingClientRect();\n const width = rect.width;\n const height = rect.height;\n const hypotenuse = Math.sqrt(width * width + height * height);\n const maxDim = Math.max(height, width);\n const maxRadius = this.unbounded ? maxDim : hypotenuse + PADDING;\n const initialSize = Math.floor(maxDim * INITIAL_ORIGIN_SCALE);\n const finalScale = maxRadius / initialSize;\n let posX = x - rect.left;\n let posY = y - rect.top;\n if (this.unbounded) {\n posX = width * 0.5;\n posY = height * 0.5;\n }\n const styleX = posX - initialSize * 0.5;\n const styleY = posY - initialSize * 0.5;\n const moveX = width * 0.5 - posX;\n const moveY = height * 0.5 - posY;\n writeTask(() => {\n const div = document.createElement('div');\n div.classList.add('ripple-effect');\n const style = div.style;\n style.top = styleY + 'px';\n style.left = styleX + 'px';\n style.width = style.height = initialSize + 'px';\n style.setProperty('--final-scale', `${finalScale}`);\n style.setProperty('--translate-end', `${moveX}px, ${moveY}px`);\n const container = this.el.shadowRoot || this.el;\n container.appendChild(div);\n setTimeout(() => {\n resolve(() => {\n removeRipple(div);\n });\n }, 225 + 100);\n });\n });\n });\n }\n get unbounded() {\n return this.type === 'unbounded';\n }\n render() {\n const mode = getIonMode(this);\n return (h(Host, { role: \"presentation\", class: {\n [mode]: true,\n unbounded: this.unbounded,\n } }));\n }\n get el() { return this; }\n static get style() { return rippleEffectCss; }\n}, [1, \"ion-ripple-effect\", {\n \"type\": [1],\n \"addRipple\": [64]\n }]);\nconst removeRipple = (ripple) => {\n ripple.classList.add('fade-out');\n setTimeout(() => {\n ripple.remove();\n }, 200);\n};\nconst PADDING = 10;\nconst INITIAL_ORIGIN_SCALE = 0.5;\nfunction defineCustomElement() {\n if (typeof customElements === \"undefined\") {\n return;\n }\n const components = [\"ion-ripple-effect\"];\n components.forEach(tagName => { switch (tagName) {\n case \"ion-ripple-effect\":\n if (!customElements.get(tagName)) {\n customElements.define(tagName, RippleEffect);\n }\n break;\n } });\n}\n\nexport { RippleEffect as R, defineCustomElement as d };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';\nimport { b as getIonMode } from './ionic-global.js';\nimport { h as hasShadowDom, i as inheritAriaAttributes } from './helpers.js';\nimport { o as openURL, c as createColorClasses, h as hostContext } from './theme.js';\nimport { d as defineCustomElement$1 } from './ripple-effect.js';\n\nconst buttonIosCss = \":host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #3880ff);--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;display:block;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;display:block;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted(ion-icon){font-size:1.4em;pointer-events:none}::slotted(ion-icon[slot=start]){margin-left:-0.3em;margin-right:0.3em;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em}}::slotted(ion-icon[slot=end]){margin-left:0.3em;margin-right:-0.2em;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em}}::slotted(ion-icon[slot=icon-only]){font-size:1.8em}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\\\"\\\";opacity:0}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host{--border-radius:10px;--padding-top:0;--padding-bottom:0;--padding-start:1em;--padding-end:1em;--transition:background-color, opacity 100ms linear;margin-left:2px;margin-right:2px;margin-top:4px;margin-bottom:4px;height:2.8em;font-size:16px;font-weight:500;letter-spacing:-0.03em}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}:host(.button-solid){--background-activated:var(--ion-color-primary-shade, #3171e0);--background-focused:var(--ion-color-primary-shade, #3171e0);--background-hover:var(--ion-color-primary-tint, #4c8dff);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1}:host(.button-outline){--border-radius:10px;--border-width:1px;--border-style:solid;--background-activated:var(--ion-color-primary, #3880ff);--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;--color-activated:var(--ion-color-primary-contrast, #fff)}:host(.button-clear){--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;font-size:17px;font-weight:normal;letter-spacing:0}:host(.button-large){--border-radius:12px;--padding-top:0;--padding-start:1em;--padding-end:1em;--padding-bottom:0;height:2.8em;font-size:20px}:host(.button-small){--border-radius:6px;--padding-top:0;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:0;height:2.1em;font-size:13px}:host(.button-round){--border-radius:64px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-strong){font-weight:600}:host(.button-clear.ion-activated){opacity:0.4}:host(.button-outline.ion-activated.ion-color) .button-native{color:var(--ion-color-contrast)}:host(.button-outline.ion-activated.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}:host(.button-outline.ion-focused.ion-color) .button-native,:host(.button-clear.ion-focused.ion-color) .button-native{color:var(--ion-color-base)}:host(.button-outline.ion-focused.ion-color) .button-native::after,:host(.button-clear.ion-focused.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.button-clear:hover),:host(.button-outline:hover){opacity:0.6}:host(.button-clear.ion-color:hover) .button-native,:host(.button-outline.ion-color:hover) .button-native{color:var(--ion-color-base)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:transparent}:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}:host(:hover.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native::after{background:#fff;opacity:0.1}}\";\n\nconst buttonMdCss = \":host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #3880ff);--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;display:block;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;display:block;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted(ion-icon){font-size:1.4em;pointer-events:none}::slotted(ion-icon[slot=start]){margin-left:-0.3em;margin-right:0.3em;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em}}::slotted(ion-icon[slot=end]){margin-left:0.3em;margin-right:-0.2em;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em}}::slotted(ion-icon[slot=icon-only]){font-size:1.8em}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\\\"\\\";opacity:0}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host{--border-radius:4px;--padding-top:0;--padding-bottom:0;--padding-start:1.1em;--padding-end:1.1em;--transition:box-shadow 280ms cubic-bezier(.4, 0, .2, 1),\\n background-color 15ms linear,\\n color 15ms linear;margin-left:2px;margin-right:2px;margin-top:4px;margin-bottom:4px;height:36px;font-size:14px;font-weight:500;letter-spacing:0.06em;text-transform:uppercase}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}:host(.button-solid){--background-activated:transparent;--background-hover:var(--ion-color-primary-contrast, #fff);--background-focused:var(--ion-color-primary-contrast, #fff);--background-activated-opacity:0;--background-focused-opacity:.24;--background-hover-opacity:.08;--box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}:host(.button-solid.ion-activated){--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12)}:host(.button-outline){--border-width:2px;--border-style:solid;--box-shadow:none;--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:var(--ion-color-primary, #3880ff);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-outline.ion-activated.ion-color) .button-native{background:transparent}:host(.button-clear){--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:var(--ion-color-primary, #3880ff);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-round){--border-radius:64px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-large){--padding-top:0;--padding-start:1em;--padding-end:1em;--padding-bottom:0;height:2.8em;font-size:20px}:host(.button-small){--padding-top:0;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:0;height:2.1em;font-size:13px}:host(.button-strong){font-weight:bold}::slotted(ion-icon[slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color.ion-focused) .button-native::after,:host(.button-outline.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}\";\n\nconst Button = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n this.__attachShadow();\n this.ionFocus = createEvent(this, \"ionFocus\", 7);\n this.ionBlur = createEvent(this, \"ionBlur\", 7);\n this.inItem = false;\n this.inListHeader = false;\n this.inToolbar = false;\n this.inheritedAttributes = {};\n /**\n * The type of button.\n */\n this.buttonType = 'button';\n /**\n * If `true`, the user cannot interact with the button.\n */\n this.disabled = false;\n /**\n * When using a router, it specifies the transition direction when navigating to\n * another page using `href`.\n */\n this.routerDirection = 'forward';\n /**\n * If `true`, activates a button with a heavier font weight.\n */\n this.strong = false;\n /**\n * The type of the button.\n */\n this.type = 'button';\n this.handleClick = (ev) => {\n if (this.type === 'button') {\n openURL(this.href, ev, this.routerDirection, this.routerAnimation);\n }\n else if (hasShadowDom(this.el)) {\n // this button wants to specifically submit a form\n // climb up the dom to see if we're in a
\n // and if so, then use JS to submit it\n const form = this.el.closest('form');\n if (form) {\n ev.preventDefault();\n const fakeButton = document.createElement('button');\n fakeButton.type = this.type;\n fakeButton.style.display = 'none';\n form.appendChild(fakeButton);\n fakeButton.click();\n fakeButton.remove();\n }\n }\n };\n this.onFocus = () => {\n this.ionFocus.emit();\n };\n this.onBlur = () => {\n this.ionBlur.emit();\n };\n }\n componentWillLoad() {\n this.inToolbar = !!this.el.closest('ion-buttons');\n this.inListHeader = !!this.el.closest('ion-list-header');\n this.inItem = !!this.el.closest('ion-item') || !!this.el.closest('ion-item-divider');\n this.inheritedAttributes = inheritAriaAttributes(this.el);\n }\n get hasIconOnly() {\n return !!this.el.querySelector('[slot=\"icon-only\"]');\n }\n get rippleType() {\n const hasClearFill = this.fill === undefined || this.fill === 'clear';\n // If the button is in a toolbar, has a clear fill (which is the default)\n // and only has an icon we use the unbounded \"circular\" ripple effect\n if (hasClearFill && this.hasIconOnly && this.inToolbar) {\n return 'unbounded';\n }\n return 'bounded';\n }\n render() {\n const mode = getIonMode(this);\n const { buttonType, type, disabled, rel, target, size, href, color, expand, hasIconOnly, shape, strong, inheritedAttributes, } = this;\n const finalSize = size === undefined && this.inItem ? 'small' : size;\n const TagType = href === undefined ? 'button' : 'a';\n const attrs = TagType === 'button'\n ? { type }\n : {\n download: this.download,\n href,\n rel,\n target,\n };\n let fill = this.fill;\n if (fill === undefined) {\n fill = this.inToolbar || this.inListHeader ? 'clear' : 'solid';\n }\n return (h(Host, { onClick: this.handleClick, \"aria-disabled\": disabled ? 'true' : null, class: createColorClasses(color, {\n [mode]: true,\n [buttonType]: true,\n [`${buttonType}-${expand}`]: expand !== undefined,\n [`${buttonType}-${finalSize}`]: finalSize !== undefined,\n [`${buttonType}-${shape}`]: shape !== undefined,\n [`${buttonType}-${fill}`]: true,\n [`${buttonType}-strong`]: strong,\n 'in-toolbar': hostContext('ion-toolbar', this.el),\n 'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),\n 'button-has-icon-only': hasIconOnly,\n 'button-disabled': disabled,\n 'ion-activatable': true,\n 'ion-focusable': true,\n }) }, h(TagType, Object.assign({}, attrs, { class: \"button-native\", part: \"native\", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur }, inheritedAttributes), h(\"span\", { class: \"button-inner\" }, h(\"slot\", { name: \"icon-only\" }), h(\"slot\", { name: \"start\" }), h(\"slot\", null), h(\"slot\", { name: \"end\" })), mode === 'md' && h(\"ion-ripple-effect\", { type: this.rippleType }))));\n }\n get el() { return this; }\n static get style() { return {\n ios: buttonIosCss,\n md: buttonMdCss\n }; }\n}, [33, \"ion-button\", {\n \"color\": [513],\n \"buttonType\": [1025, \"button-type\"],\n \"disabled\": [516],\n \"expand\": [513],\n \"fill\": [1537],\n \"routerDirection\": [1, \"router-direction\"],\n \"routerAnimation\": [16],\n \"download\": [1],\n \"href\": [1],\n \"rel\": [1],\n \"shape\": [513],\n \"size\": [513],\n \"strong\": [4],\n \"target\": [1],\n \"type\": [1]\n }]);\nfunction defineCustomElement() {\n if (typeof customElements === \"undefined\") {\n return;\n }\n const components = [\"ion-button\", \"ion-ripple-effect\"];\n components.forEach(tagName => { switch (tagName) {\n case \"ion-button\":\n if (!customElements.get(tagName)) {\n customElements.define(tagName, Button);\n }\n break;\n case \"ion-ripple-effect\":\n if (!customElements.get(tagName)) {\n defineCustomElement$1();\n }\n break;\n } });\n}\n\nexport { Button as B, defineCustomElement as d };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { B as Button, d as defineCustomElement$1 } from './button.js';\n\nconst IonButton = Button;\nconst defineCustomElement = defineCustomElement$1;\n\nexport { IonButton, defineCustomElement };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';\nimport { b as getIonMode } from './ionic-global.js';\n\nconst buttonsIosCss = \".sc-ion-buttons-ios-h{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:99}.sc-ion-buttons-ios-s ion-button{--padding-top:0;--padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-buttons-ios-s ion-button{--padding-start:5px;--padding-end:5px;margin-left:2px;margin-right:2px;height:32px;font-size:17px;font-weight:400}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.sc-ion-buttons-ios-s ion-button{margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}.sc-ion-buttons-ios-s ion-button:not(.button-round){--border-radius:4px}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button{--color:initial;--border-color:initial;--background-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-solid,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-solid{--background:var(--ion-color-contrast);--background-focused:#000;--background-focused-opacity:.12;--background-activated:#000;--background-activated-opacity:.12;--background-hover:var(--ion-color-base);--background-hover-opacity:0.45;--color:var(--ion-color-base);--color-focused:var(--ion-color-base)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-clear,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-clear{--color-activated:var(--ion-color-contrast);--color-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-outline,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-outline{--color-activated:var(--ion-color-base);--color-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-s .button-clear,.sc-ion-buttons-ios-s .button-outline{--background-activated:transparent;--background-focused:currentColor;--background-hover:transparent}.sc-ion-buttons-ios-s .button-solid:not(.ion-color){--background-focused:#000;--background-focused-opacity:.12;--background-activated:#000;--background-activated-opacity:.12}.sc-ion-buttons-ios-s ion-icon[slot=start]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;margin-right:0.3em;font-size:24px;line-height:0.67}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.sc-ion-buttons-ios-s ion-icon[slot=start]{margin-right:unset;-webkit-margin-end:0.3em;margin-inline-end:0.3em}}.sc-ion-buttons-ios-s ion-icon[slot=end]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;margin-left:0.4em;font-size:24px;line-height:0.67}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.sc-ion-buttons-ios-s ion-icon[slot=end]{margin-left:unset;-webkit-margin-start:0.4em;margin-inline-start:0.4em}}.sc-ion-buttons-ios-s ion-icon[slot=icon-only]{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;font-size:28px;line-height:0.67}\";\n\nconst buttonsMdCss = \".sc-ion-buttons-md-h{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:99}.sc-ion-buttons-md-s ion-button{--padding-top:0;--padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-buttons-md-s ion-button{--padding-top:0;--padding-bottom:0;--padding-start:8px;--padding-end:8px;--box-shadow:none;margin-left:2px;margin-right:2px;height:32px;font-size:14px;font-weight:500}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.sc-ion-buttons-md-s ion-button{margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}.sc-ion-buttons-md-s ion-button:not(.button-round){--border-radius:2px}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button{--color:initial;--color-focused:var(--ion-color-contrast);--color-hover:var(--ion-color-contrast);--background-activated:transparent;--background-focused:var(--ion-color-contrast);--background-hover:var(--ion-color-contrast)}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button-solid,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button-solid{--background:var(--ion-color-contrast);--background-activated:transparent;--background-focused:var(--ion-color-shade);--background-hover:var(--ion-color-base);--color:var(--ion-color-base);--color-focused:var(--ion-color-base);--color-hover:var(--ion-color-base)}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button-outline,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button-outline{--border-color:var(--ion-color-contrast)}.sc-ion-buttons-md-s .button-has-icon-only.button-clear{--padding-top:12px;--padding-end:12px;--padding-bottom:12px;--padding-start:12px;--border-radius:50%;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:48px;height:48px}.sc-ion-buttons-md-s .button{--background-hover:currentColor}.sc-ion-buttons-md-s .button-solid{--color:var(--ion-toolbar-background, var(--ion-background-color, #fff));--background:var(--ion-toolbar-color, var(--ion-text-color, #424242));--background-activated:transparent;--background-focused:currentColor}.sc-ion-buttons-md-s .button-outline{--color:initial;--background:transparent;--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--border-color:currentColor}.sc-ion-buttons-md-s .button-clear{--color:initial;--background:transparent;--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor}.sc-ion-buttons-md-s ion-icon[slot=start]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;margin-right:0.3em;font-size:1.4em}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.sc-ion-buttons-md-s ion-icon[slot=start]{margin-right:unset;-webkit-margin-end:0.3em;margin-inline-end:0.3em}}.sc-ion-buttons-md-s ion-icon[slot=end]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;margin-left:0.4em;font-size:1.4em}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.sc-ion-buttons-md-s ion-icon[slot=end]{margin-left:unset;-webkit-margin-start:0.4em;margin-inline-start:0.4em}}.sc-ion-buttons-md-s ion-icon[slot=icon-only]{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;font-size:1.8em}\";\n\nconst Buttons = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n /**\n * If true, buttons will disappear when its\n * parent toolbar has fully collapsed if the toolbar\n * is not the first toolbar. If the toolbar is the\n * first toolbar, the buttons will be hidden and will\n * only be shown once all toolbars have fully collapsed.\n *\n * Only applies in `ios` mode with `collapse` set to\n * `true` on `ion-header`.\n *\n * Typically used for [Collapsible Large Titles](https://ionicframework.com/docs/api/title#collapsible-large-titles)\n */\n this.collapse = false;\n }\n render() {\n const mode = getIonMode(this);\n return (h(Host, { class: {\n [mode]: true,\n ['buttons-collapse']: this.collapse,\n } }));\n }\n static get style() { return {\n ios: buttonsIosCss,\n md: buttonsMdCss\n }; }\n}, [34, \"ion-buttons\", {\n \"collapse\": [4]\n }]);\nfunction defineCustomElement() {\n if (typeof customElements === \"undefined\") {\n return;\n }\n const components = [\"ion-buttons\"];\n components.forEach(tagName => { switch (tagName) {\n case \"ion-buttons\":\n if (!customElements.get(tagName)) {\n customElements.define(tagName, Buttons);\n }\n break;\n } });\n}\n\nexport { Buttons as B, defineCustomElement as d };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { B as Buttons, d as defineCustomElement$1 } from './buttons.js';\n\nconst IonButtons = Buttons;\nconst defineCustomElement = defineCustomElement$1;\n\nexport { IonButtons, defineCustomElement };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';\nimport { b as getIonMode } from './ionic-global.js';\nimport { o as openURL, c as createColorClasses } from './theme.js';\nimport { d as defineCustomElement$2 } from './ripple-effect.js';\n\nconst cardIosCss = \":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-600, #666666)));margin-left:16px;margin-right:16px;margin-top:24px;margin-bottom:24px;border-radius:8px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1), -webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);font-size:14px;-webkit-box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);box-shadow:0 4px 16px rgba(0, 0, 0, 0.12)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px}}:host(.ion-activated){-webkit-transform:scale3d(0.97, 0.97, 1);transform:scale3d(0.97, 0.97, 1)}\";\n\nconst cardMdCss = \":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-550, #737373)));margin-left:10px;margin-right:10px;margin-top:10px;margin-bottom:10px;border-radius:4px;font-size:14px;-webkit-box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}\";\n\nconst Card = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n this.__attachShadow();\n /**\n * If `true`, a button tag will be rendered and the card will be tappable.\n */\n this.button = false;\n /**\n * The type of the button. Only used when an `onclick` or `button` property is present.\n */\n this.type = 'button';\n /**\n * If `true`, the user cannot interact with the card.\n */\n this.disabled = false;\n /**\n * When using a router, it specifies the transition direction when navigating to\n * another page using `href`.\n */\n this.routerDirection = 'forward';\n }\n isClickable() {\n return this.href !== undefined || this.button;\n }\n renderCard(mode) {\n const clickable = this.isClickable();\n if (!clickable) {\n return [h(\"slot\", null)];\n }\n const { href, routerAnimation, routerDirection } = this;\n const TagType = clickable ? (href === undefined ? 'button' : 'a') : 'div';\n const attrs = TagType === 'button'\n ? { type: this.type }\n : {\n download: this.download,\n href: this.href,\n rel: this.rel,\n target: this.target,\n };\n return (h(TagType, Object.assign({}, attrs, { class: \"card-native\", part: \"native\", disabled: this.disabled, onClick: (ev) => openURL(href, ev, routerDirection, routerAnimation) }), h(\"slot\", null), clickable && mode === 'md' && h(\"ion-ripple-effect\", null)));\n }\n render() {\n const mode = getIonMode(this);\n return (h(Host, { class: createColorClasses(this.color, {\n [mode]: true,\n 'card-disabled': this.disabled,\n 'ion-activatable': this.isClickable(),\n }) }, this.renderCard(mode)));\n }\n static get style() { return {\n ios: cardIosCss,\n md: cardMdCss\n }; }\n}, [33, \"ion-card\", {\n \"color\": [513],\n \"button\": [4],\n \"type\": [1],\n \"disabled\": [4],\n \"download\": [1],\n \"href\": [1],\n \"rel\": [1],\n \"routerDirection\": [1, \"router-direction\"],\n \"routerAnimation\": [16],\n \"target\": [1]\n }]);\nfunction defineCustomElement$1() {\n if (typeof customElements === \"undefined\") {\n return;\n }\n const components = [\"ion-card\", \"ion-ripple-effect\"];\n components.forEach(tagName => { switch (tagName) {\n case \"ion-card\":\n if (!customElements.get(tagName)) {\n customElements.define(tagName, Card);\n }\n break;\n case \"ion-ripple-effect\":\n if (!customElements.get(tagName)) {\n defineCustomElement$2();\n }\n break;\n } });\n}\n\nconst IonCard = Card;\nconst defineCustomElement = defineCustomElement$1;\n\nexport { IonCard, defineCustomElement };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';\nimport { b as getIonMode } from './ionic-global.js';\nimport { c as createColorClasses } from './theme.js';\n\nconst cardHeaderIosCss = \":host{--background:transparent;--color:inherit;display:block;position:relative;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{padding-left:20px;padding-right:20px;padding-top:20px;padding-bottom:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.card-header-translucent){background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);-webkit-backdrop-filter:saturate(180%) blur(30px);backdrop-filter:saturate(180%) blur(30px)}}\";\n\nconst cardHeaderMdCss = \":host{--background:transparent;--color:inherit;display:block;position:relative;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{padding-left:16px;padding-right:16px;padding-top:16px;padding-bottom:16px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}::slotted(ion-card-title:not(:first-child)),::slotted(ion-card-subtitle:not(:first-child)){margin-top:8px}\";\n\nconst CardHeader = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n this.__attachShadow();\n /**\n * If `true`, the card header will be translucent.\n * Only applies when the mode is `\"ios\"` and the device supports\n * [`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility).\n */\n this.translucent = false;\n }\n render() {\n const mode = getIonMode(this);\n return (h(Host, { class: createColorClasses(this.color, {\n 'card-header-translucent': this.translucent,\n 'ion-inherit-color': true,\n [mode]: true,\n }) }, h(\"slot\", null)));\n }\n static get style() { return {\n ios: cardHeaderIosCss,\n md: cardHeaderMdCss\n }; }\n}, [33, \"ion-card-header\", {\n \"color\": [513],\n \"translucent\": [4]\n }]);\nfunction defineCustomElement$1() {\n if (typeof customElements === \"undefined\") {\n return;\n }\n const components = [\"ion-card-header\"];\n components.forEach(tagName => { switch (tagName) {\n case \"ion-card-header\":\n if (!customElements.get(tagName)) {\n customElements.define(tagName, CardHeader);\n }\n break;\n } });\n}\n\nconst IonCardHeader = CardHeader;\nconst defineCustomElement = defineCustomElement$1;\n\nexport { IonCardHeader, defineCustomElement };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';\nimport { b as getIonMode } from './ionic-global.js';\nimport { c as createColorClasses } from './theme.js';\n\nconst cardTitleIosCss = \":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-text-color, #000);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:28px;font-weight:700;line-height:1.2}\";\n\nconst cardTitleMdCss = \":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-850, #262626);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:20px;font-weight:500;line-height:1.2}\";\n\nconst CardTitle = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n this.__attachShadow();\n }\n render() {\n const mode = getIonMode(this);\n return (h(Host, { role: \"heading\", \"aria-level\": \"2\", class: createColorClasses(this.color, {\n 'ion-inherit-color': true,\n [mode]: true,\n }) }, h(\"slot\", null)));\n }\n static get style() { return {\n ios: cardTitleIosCss,\n md: cardTitleMdCss\n }; }\n}, [33, \"ion-card-title\", {\n \"color\": [513]\n }]);\nfunction defineCustomElement$1() {\n if (typeof customElements === \"undefined\") {\n return;\n }\n const components = [\"ion-card-title\"];\n components.forEach(tagName => { switch (tagName) {\n case \"ion-card-title\":\n if (!customElements.get(tagName)) {\n customElements.define(tagName, CardTitle);\n }\n break;\n } });\n}\n\nconst IonCardTitle = CardTitle;\nconst defineCustomElement = defineCustomElement$1;\n\nexport { IonCardTitle, defineCustomElement };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { proxyCustomElement, HTMLElement, forceUpdate, h, Host } from '@stencil/core/internal/client';\nimport { b as getIonMode } from './ionic-global.js';\n\nconst SIZE_TO_MEDIA = {\n xs: '(min-width: 0px)',\n sm: '(min-width: 576px)',\n md: '(min-width: 768px)',\n lg: '(min-width: 992px)',\n xl: '(min-width: 1200px)',\n};\n// Check if the window matches the media query\n// at the breakpoint passed\n// e.g. matchBreakpoint('sm') => true if screen width exceeds 576px\nconst matchBreakpoint = (breakpoint) => {\n if (breakpoint === undefined || breakpoint === '') {\n return true;\n }\n if (window.matchMedia) {\n const mediaQuery = SIZE_TO_MEDIA[breakpoint];\n return window.matchMedia(mediaQuery).matches;\n }\n return false;\n};\n\nconst colCss = \":host{padding-left:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-right:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;width:100%;max-width:100%;min-height:1px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px))}}@media (min-width: 576px){:host{padding-left:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-right:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px))}}}@media (min-width: 768px){:host{padding-left:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-right:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px))}}}@media (min-width: 992px){:host{padding-left:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-right:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px))}}}@media (min-width: 1200px){:host{padding-left:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-right:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px))}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px))}}}\";\n\nconst win = typeof window !== 'undefined' ? window : undefined;\n// eslint-disable-next-line @typescript-eslint/prefer-optional-chain\nconst SUPPORTS_VARS = win && !!(win.CSS && win.CSS.supports && win.CSS.supports('--a: 0'));\nconst BREAKPOINTS = ['', 'xs', 'sm', 'md', 'lg', 'xl'];\nconst Col = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n this.__attachShadow();\n }\n onResize() {\n forceUpdate(this);\n }\n // Loop through all of the breakpoints to see if the media query\n // matches and grab the column value from the relevant prop if so\n getColumns(property) {\n let matched;\n for (const breakpoint of BREAKPOINTS) {\n const matches = matchBreakpoint(breakpoint);\n // Grab the value of the property, if it exists and our\n // media query matches we return the value\n const columns = this[property + breakpoint.charAt(0).toUpperCase() + breakpoint.slice(1)];\n if (matches && columns !== undefined) {\n matched = columns;\n }\n }\n // Return the last matched columns since the breakpoints\n // increase in size and we want to return the largest match\n return matched;\n }\n calculateSize() {\n const columns = this.getColumns('size');\n // If size wasn't set for any breakpoint\n // or if the user set the size without a value\n // it means we need to stick with the default and return\n // e.g. \n if (!columns || columns === '') {\n return;\n }\n // If the size is set to auto then don't calculate a size\n const colSize = columns === 'auto'\n ? 'auto'\n : // If CSS supports variables we should use the grid columns var\n SUPPORTS_VARS\n ? `calc(calc(${columns} / var(--ion-grid-columns, 12)) * 100%)`\n : // Convert the columns to a percentage by dividing by the total number\n // of columns (12) and then multiplying by 100\n (columns / 12) * 100 + '%';\n return {\n flex: `0 0 ${colSize}`,\n width: `${colSize}`,\n 'max-width': `${colSize}`,\n };\n }\n // Called by push, pull, and offset since they use the same calculations\n calculatePosition(property, modifier) {\n const columns = this.getColumns(property);\n if (!columns) {\n return;\n }\n // If the number of columns passed are greater than 0 and less than\n // 12 we can position the column, else default to auto\n const amount = SUPPORTS_VARS\n ? // If CSS supports variables we should use the grid columns var\n `calc(calc(${columns} / var(--ion-grid-columns, 12)) * 100%)`\n : // Convert the columns to a percentage by dividing by the total number\n // of columns (12) and then multiplying by 100\n columns > 0 && columns < 12\n ? (columns / 12) * 100 + '%'\n : 'auto';\n return {\n [modifier]: amount,\n };\n }\n calculateOffset(isRTL) {\n return this.calculatePosition('offset', isRTL ? 'margin-right' : 'margin-left');\n }\n calculatePull(isRTL) {\n return this.calculatePosition('pull', isRTL ? 'left' : 'right');\n }\n calculatePush(isRTL) {\n return this.calculatePosition('push', isRTL ? 'right' : 'left');\n }\n render() {\n const isRTL = document.dir === 'rtl';\n const mode = getIonMode(this);\n return (h(Host, { class: {\n [mode]: true,\n }, style: Object.assign(Object.assign(Object.assign(Object.assign({}, this.calculateOffset(isRTL)), this.calculatePull(isRTL)), this.calculatePush(isRTL)), this.calculateSize()) }, h(\"slot\", null)));\n }\n static get style() { return colCss; }\n}, [1, \"ion-col\", {\n \"offset\": [1],\n \"offsetXs\": [1, \"offset-xs\"],\n \"offsetSm\": [1, \"offset-sm\"],\n \"offsetMd\": [1, \"offset-md\"],\n \"offsetLg\": [1, \"offset-lg\"],\n \"offsetXl\": [1, \"offset-xl\"],\n \"pull\": [1],\n \"pullXs\": [1, \"pull-xs\"],\n \"pullSm\": [1, \"pull-sm\"],\n \"pullMd\": [1, \"pull-md\"],\n \"pullLg\": [1, \"pull-lg\"],\n \"pullXl\": [1, \"pull-xl\"],\n \"push\": [1],\n \"pushXs\": [1, \"push-xs\"],\n \"pushSm\": [1, \"push-sm\"],\n \"pushMd\": [1, \"push-md\"],\n \"pushLg\": [1, \"push-lg\"],\n \"pushXl\": [1, \"push-xl\"],\n \"size\": [1],\n \"sizeXs\": [1, \"size-xs\"],\n \"sizeSm\": [1, \"size-sm\"],\n \"sizeMd\": [1, \"size-md\"],\n \"sizeLg\": [1, \"size-lg\"],\n \"sizeXl\": [1, \"size-xl\"]\n }, [[9, \"resize\", \"onResize\"]]]);\nfunction defineCustomElement$1() {\n if (typeof customElements === \"undefined\") {\n return;\n }\n const components = [\"ion-col\"];\n components.forEach(tagName => { switch (tagName) {\n case \"ion-col\":\n if (!customElements.get(tagName)) {\n customElements.define(tagName, Col);\n }\n break;\n } });\n}\n\nconst IonCol = Col;\nconst defineCustomElement = defineCustomElement$1;\n\nexport { IonCol, defineCustomElement };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { proxyCustomElement, HTMLElement, createEvent, readTask, forceUpdate, h, Host } from '@stencil/core/internal/client';\nimport { b as getIonMode, a as isPlatform } from './ionic-global.js';\nimport { c as componentOnReady } from './helpers.js';\nimport { i as isRTL } from './dir.js';\nimport { c as createColorClasses, h as hostContext } from './theme.js';\n\nconst contentCss = \":host{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.outer-content){--background:var(--ion-color-step-50, #f2f2f2)}#background-content{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);position:absolute;background:var(--background)}.inner-scroll{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:calc(var(--padding-top) + var(--offset-top));padding-bottom:calc(var(--padding-bottom) + var(--keyboard-offset) + var(--offset-bottom));position:absolute;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;-ms-touch-action:pan-x pan-y pinch-zoom;touch-action:pan-x pan-y pinch-zoom}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.inner-scroll{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.scroll-y,.scroll-x{-webkit-overflow-scrolling:touch;z-index:0;will-change:scroll-position}.scroll-y{overflow-y:var(--overflow);overscroll-behavior-y:contain}.scroll-x{overflow-x:var(--overflow);overscroll-behavior-x:contain}.overscroll::before,.overscroll::after{position:absolute;width:1px;height:1px;content:\\\"\\\"}.overscroll::before{bottom:-1px}.overscroll::after{top:-1px}:host(.content-sizing){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:0;contain:none}:host(.content-sizing) .inner-scroll{position:relative;top:0;bottom:0;margin-top:calc(var(--offset-top) * -1);margin-bottom:calc(var(--offset-bottom) * -1)}.transition-effect{display:none;position:absolute;width:100%;height:100vh;opacity:0;pointer-events:none}:host(.content-ltr) .transition-effect{left:-100%;}:host(.content-rtl) .transition-effect{right:-100%;}.transition-cover{position:absolute;right:0;width:100%;height:100%;background:black;opacity:0.1}.transition-shadow{display:block;position:absolute;width:10px;height:100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAgCAYAAAAIXrg4AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MTE3MDgzRkQ5QTkyMTFFOUEwNzQ5MkJFREE1NUY2MjQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MTE3MDgzRkU5QTkyMTFFOUEwNzQ5MkJFREE1NUY2MjQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDoxMTcwODNGQjlBOTIxMUU5QTA3NDkyQkVEQTU1RjYyNCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDoxMTcwODNGQzlBOTIxMUU5QTA3NDkyQkVEQTU1RjYyNCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PmePEuQAAABNSURBVHjaYvz//z8DIxAwMDAwATGMhmFmPDQuOSZks0AMmoJBaQHjkPfB0Lfg/2gQjVow+HPy/yHvg9GiYjQfjMbBqAWjFgy/4hogwADYqwdzxy5BuwAAAABJRU5ErkJggg==);background-repeat:repeat-y;background-size:10px 16px}:host(.content-ltr) .transition-shadow{right:0;}:host(.content-rtl) .transition-shadow{left:0;-webkit-transform:scaleX(-1);transform:scaleX(-1)}::slotted([slot=fixed]){position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0)}\";\n\nconst Content = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n this.__attachShadow();\n this.ionScrollStart = createEvent(this, \"ionScrollStart\", 7);\n this.ionScroll = createEvent(this, \"ionScroll\", 7);\n this.ionScrollEnd = createEvent(this, \"ionScrollEnd\", 7);\n this.isScrolling = false;\n this.lastScroll = 0;\n this.queued = false;\n this.cTop = -1;\n this.cBottom = -1;\n this.isMainContent = true;\n // Detail is used in a hot loop in the scroll event, by allocating it here\n // V8 will be able to inline any read/write to it since it's a monomorphic class.\n // https://mrale.ph/blog/2015/01/11/whats-up-with-monomorphism.html\n this.detail = {\n scrollTop: 0,\n scrollLeft: 0,\n type: 'scroll',\n event: undefined,\n startX: 0,\n startY: 0,\n startTime: 0,\n currentX: 0,\n currentY: 0,\n velocityX: 0,\n velocityY: 0,\n deltaX: 0,\n deltaY: 0,\n currentTime: 0,\n data: undefined,\n isScrolling: true,\n };\n /**\n * If `true`, the content will scroll behind the headers\n * and footers. This effect can easily be seen by setting the toolbar\n * to transparent.\n */\n this.fullscreen = false;\n /**\n * If you want to enable the content scrolling in the X axis, set this property to `true`.\n */\n this.scrollX = false;\n /**\n * If you want to disable the content scrolling in the Y axis, set this property to `false`.\n */\n this.scrollY = true;\n /**\n * Because of performance reasons, ionScroll events are disabled by default, in order to enable them\n * and start listening from (ionScroll), set this property to `true`.\n */\n this.scrollEvents = false;\n }\n connectedCallback() {\n this.isMainContent = this.el.closest('ion-menu, ion-popover, ion-modal') === null;\n }\n disconnectedCallback() {\n this.onScrollEnd();\n }\n onAppLoad() {\n this.resize();\n }\n shouldForceOverscroll() {\n const { forceOverscroll } = this;\n const mode = getIonMode(this);\n return forceOverscroll === undefined ? mode === 'ios' && isPlatform('ios') : forceOverscroll;\n }\n resize() {\n if (this.fullscreen) {\n readTask(() => this.readDimensions());\n }\n else if (this.cTop !== 0 || this.cBottom !== 0) {\n this.cTop = this.cBottom = 0;\n forceUpdate(this);\n }\n }\n readDimensions() {\n const page = getPageElement(this.el);\n const top = Math.max(this.el.offsetTop, 0);\n const bottom = Math.max(page.offsetHeight - top - this.el.offsetHeight, 0);\n const dirty = top !== this.cTop || bottom !== this.cBottom;\n if (dirty) {\n this.cTop = top;\n this.cBottom = bottom;\n forceUpdate(this);\n }\n }\n onScroll(ev) {\n const timeStamp = Date.now();\n const shouldStart = !this.isScrolling;\n this.lastScroll = timeStamp;\n if (shouldStart) {\n this.onScrollStart();\n }\n if (!this.queued && this.scrollEvents) {\n this.queued = true;\n readTask((ts) => {\n this.queued = false;\n this.detail.event = ev;\n updateScrollDetail(this.detail, this.scrollEl, ts, shouldStart);\n this.ionScroll.emit(this.detail);\n });\n }\n }\n /**\n * Get the element where the actual scrolling takes place.\n * This element can be used to subscribe to `scroll` events or manually modify\n * `scrollTop`. However, it's recommended to use the API provided by `ion-content`:\n *\n * i.e. Using `ionScroll`, `ionScrollStart`, `ionScrollEnd` for scrolling events\n * and `scrollToPoint()` to scroll the content into a certain point.\n */\n async getScrollElement() {\n /**\n * If this gets called in certain early lifecycle hooks (ex: Vue onMounted),\n * scrollEl won't be defined yet with the custom elements build, so wait for it to load in.\n */\n if (!this.scrollEl) {\n await new Promise((resolve) => componentOnReady(this.el, resolve));\n }\n return Promise.resolve(this.scrollEl);\n }\n /**\n * Scroll to the top of the component.\n *\n * @param duration The amount of time to take scrolling to the top. Defaults to `0`.\n */\n scrollToTop(duration = 0) {\n return this.scrollToPoint(undefined, 0, duration);\n }\n /**\n * Scroll to the bottom of the component.\n *\n * @param duration The amount of time to take scrolling to the bottom. Defaults to `0`.\n */\n async scrollToBottom(duration = 0) {\n const scrollEl = await this.getScrollElement();\n const y = scrollEl.scrollHeight - scrollEl.clientHeight;\n return this.scrollToPoint(undefined, y, duration);\n }\n /**\n * Scroll by a specified X/Y distance in the component.\n *\n * @param x The amount to scroll by on the horizontal axis.\n * @param y The amount to scroll by on the vertical axis.\n * @param duration The amount of time to take scrolling by that amount.\n */\n async scrollByPoint(x, y, duration) {\n const scrollEl = await this.getScrollElement();\n return this.scrollToPoint(x + scrollEl.scrollLeft, y + scrollEl.scrollTop, duration);\n }\n /**\n * Scroll to a specified X/Y location in the component.\n *\n * @param x The point to scroll to on the horizontal axis.\n * @param y The point to scroll to on the vertical axis.\n * @param duration The amount of time to take scrolling to that point. Defaults to `0`.\n */\n async scrollToPoint(x, y, duration = 0) {\n const el = await this.getScrollElement();\n if (duration < 32) {\n if (y != null) {\n el.scrollTop = y;\n }\n if (x != null) {\n el.scrollLeft = x;\n }\n return;\n }\n let resolve;\n let startTime = 0;\n const promise = new Promise((r) => (resolve = r));\n const fromY = el.scrollTop;\n const fromX = el.scrollLeft;\n const deltaY = y != null ? y - fromY : 0;\n const deltaX = x != null ? x - fromX : 0;\n // scroll loop\n const step = (timeStamp) => {\n const linearTime = Math.min(1, (timeStamp - startTime) / duration) - 1;\n const easedT = Math.pow(linearTime, 3) + 1;\n if (deltaY !== 0) {\n el.scrollTop = Math.floor(easedT * deltaY + fromY);\n }\n if (deltaX !== 0) {\n el.scrollLeft = Math.floor(easedT * deltaX + fromX);\n }\n if (easedT < 1) {\n // do not use DomController here\n // must use nativeRaf in order to fire in the next frame\n // TODO: remove as any\n requestAnimationFrame(step);\n }\n else {\n resolve();\n }\n };\n // chill out for a frame first\n requestAnimationFrame((ts) => {\n startTime = ts;\n step(ts);\n });\n return promise;\n }\n onScrollStart() {\n this.isScrolling = true;\n this.ionScrollStart.emit({\n isScrolling: true,\n });\n if (this.watchDog) {\n clearInterval(this.watchDog);\n }\n // watchdog\n this.watchDog = setInterval(() => {\n if (this.lastScroll < Date.now() - 120) {\n this.onScrollEnd();\n }\n }, 100);\n }\n onScrollEnd() {\n clearInterval(this.watchDog);\n this.watchDog = null;\n if (this.isScrolling) {\n this.isScrolling = false;\n this.ionScrollEnd.emit({\n isScrolling: false,\n });\n }\n }\n render() {\n const { isMainContent, scrollX, scrollY, el } = this;\n const rtl = isRTL(el) ? 'rtl' : 'ltr';\n const mode = getIonMode(this);\n const forceOverscroll = this.shouldForceOverscroll();\n const transitionShadow = mode === 'ios';\n const TagType = isMainContent ? 'main' : 'div';\n this.resize();\n return (h(Host, { class: createColorClasses(this.color, {\n [mode]: true,\n 'content-sizing': hostContext('ion-popover', this.el),\n overscroll: forceOverscroll,\n [`content-${rtl}`]: true,\n }), style: {\n '--offset-top': `${this.cTop}px`,\n '--offset-bottom': `${this.cBottom}px`,\n } }, h(\"div\", { id: \"background-content\", part: \"background\" }), h(TagType, { class: {\n 'inner-scroll': true,\n 'scroll-x': scrollX,\n 'scroll-y': scrollY,\n overscroll: (scrollX || scrollY) && forceOverscroll,\n }, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: \"scroll\" }, h(\"slot\", null)), transitionShadow ? (h(\"div\", { class: \"transition-effect\" }, h(\"div\", { class: \"transition-cover\" }), h(\"div\", { class: \"transition-shadow\" }))) : null, h(\"slot\", { name: \"fixed\" })));\n }\n get el() { return this; }\n static get style() { return contentCss; }\n}, [1, \"ion-content\", {\n \"color\": [513],\n \"fullscreen\": [4],\n \"forceOverscroll\": [1028, \"force-overscroll\"],\n \"scrollX\": [4, \"scroll-x\"],\n \"scrollY\": [4, \"scroll-y\"],\n \"scrollEvents\": [4, \"scroll-events\"],\n \"getScrollElement\": [64],\n \"scrollToTop\": [64],\n \"scrollToBottom\": [64],\n \"scrollByPoint\": [64],\n \"scrollToPoint\": [64]\n }, [[8, \"appload\", \"onAppLoad\"]]]);\nconst getParentElement = (el) => {\n var _a;\n if (el.parentElement) {\n // normal element with a parent element\n return el.parentElement;\n }\n if ((_a = el.parentNode) === null || _a === void 0 ? void 0 : _a.host) {\n // shadow dom's document fragment\n return el.parentNode.host;\n }\n return null;\n};\nconst getPageElement = (el) => {\n const tabs = el.closest('ion-tabs');\n if (tabs) {\n return tabs;\n }\n /**\n * If we're in a popover, we need to use its wrapper so we can account for space\n * between the popover and the edges of the screen. But if the popover contains\n * its own page element, we should use that instead.\n */\n const page = el.closest('ion-app, ion-page, .ion-page, page-inner, .popover-content');\n if (page) {\n return page;\n }\n return getParentElement(el);\n};\n// ******** DOM READ ****************\nconst updateScrollDetail = (detail, el, timestamp, shouldStart) => {\n const prevX = detail.currentX;\n const prevY = detail.currentY;\n const prevT = detail.currentTime;\n const currentX = el.scrollLeft;\n const currentY = el.scrollTop;\n const timeDelta = timestamp - prevT;\n if (shouldStart) {\n // remember the start positions\n detail.startTime = timestamp;\n detail.startX = currentX;\n detail.startY = currentY;\n detail.velocityX = detail.velocityY = 0;\n }\n detail.currentTime = timestamp;\n detail.currentX = detail.scrollLeft = currentX;\n detail.currentY = detail.scrollTop = currentY;\n detail.deltaX = currentX - detail.startX;\n detail.deltaY = currentY - detail.startY;\n if (timeDelta > 0 && timeDelta < 100) {\n const velocityX = (currentX - prevX) / timeDelta;\n const velocityY = (currentY - prevY) / timeDelta;\n detail.velocityX = velocityX * 0.7 + detail.velocityX * 0.3;\n detail.velocityY = velocityY * 0.7 + detail.velocityY * 0.3;\n }\n};\nfunction defineCustomElement$1() {\n if (typeof customElements === \"undefined\") {\n return;\n }\n const components = [\"ion-content\"];\n components.forEach(tagName => { switch (tagName) {\n case \"ion-content\":\n if (!customElements.get(tagName)) {\n customElements.define(tagName, Content);\n }\n break;\n } });\n}\n\nconst IonContent = Content;\nconst defineCustomElement = defineCustomElement$1;\n\nexport { IonContent, defineCustomElement };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { readTask, writeTask, proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';\nimport { b as getIonMode } from './ionic-global.js';\nimport { g as getScrollElement, f as findIonContent, p as printIonContentErrorMsg } from './index8.js';\nimport { j as clamp, i as inheritAriaAttributes } from './helpers.js';\nimport { h as hostContext } from './theme.js';\n\nconst TRANSITION = 'all 0.2s ease-in-out';\nconst cloneElement = (tagName) => {\n const getCachedEl = document.querySelector(`${tagName}.ion-cloned-element`);\n if (getCachedEl !== null) {\n return getCachedEl;\n }\n const clonedEl = document.createElement(tagName);\n clonedEl.classList.add('ion-cloned-element');\n clonedEl.style.setProperty('display', 'none');\n document.body.appendChild(clonedEl);\n return clonedEl;\n};\nconst createHeaderIndex = (headerEl) => {\n if (!headerEl) {\n return;\n }\n const toolbars = headerEl.querySelectorAll('ion-toolbar');\n return {\n el: headerEl,\n toolbars: Array.from(toolbars).map((toolbar) => {\n const ionTitleEl = toolbar.querySelector('ion-title');\n return {\n el: toolbar,\n background: toolbar.shadowRoot.querySelector('.toolbar-background'),\n ionTitleEl,\n innerTitleEl: ionTitleEl ? ionTitleEl.shadowRoot.querySelector('.toolbar-title') : null,\n ionButtonsEl: Array.from(toolbar.querySelectorAll('ion-buttons')) || [],\n };\n }) || [],\n };\n};\nconst handleContentScroll = (scrollEl, scrollHeaderIndex, contentEl) => {\n readTask(() => {\n const scrollTop = scrollEl.scrollTop;\n const scale = clamp(1, 1 + -scrollTop / 500, 1.1);\n // Native refresher should not cause titles to scale\n const nativeRefresher = contentEl.querySelector('ion-refresher.refresher-native');\n if (nativeRefresher === null) {\n writeTask(() => {\n scaleLargeTitles(scrollHeaderIndex.toolbars, scale);\n });\n }\n });\n};\nconst setToolbarBackgroundOpacity = (headerEl, opacity) => {\n /**\n * Fading in the backdrop opacity\n * should happen after the large title\n * has collapsed, so it is handled\n * by handleHeaderFade()\n */\n if (headerEl.collapse === 'fade') {\n return;\n }\n if (opacity === undefined) {\n headerEl.style.removeProperty('--opacity-scale');\n }\n else {\n headerEl.style.setProperty('--opacity-scale', opacity.toString());\n }\n};\nconst handleToolbarBorderIntersection = (ev, mainHeaderIndex, scrollTop) => {\n if (!ev[0].isIntersecting) {\n return;\n }\n /**\n * There is a bug in Safari where overflow scrolling on a non-body element\n * does not always reset the scrollTop position to 0 when letting go. It will\n * set to 1 once the rubber band effect has ended. This causes the background to\n * appear slightly on certain app setups.\n *\n * Additionally, we check if user is rubber banding (scrolling is negative)\n * as this can mean they are using pull to refresh. Once the refresher starts,\n * the content is transformed which can cause the intersection observer to erroneously\n * fire here as well.\n */\n const scale = ev[0].intersectionRatio > 0.9 || scrollTop <= 0 ? 0 : ((1 - ev[0].intersectionRatio) * 100) / 75;\n setToolbarBackgroundOpacity(mainHeaderIndex.el, scale === 1 ? undefined : scale);\n};\n/**\n * If toolbars are intersecting, hide the scrollable toolbar content\n * and show the primary toolbar content. If the toolbars are not intersecting,\n * hide the primary toolbar content and show the scrollable toolbar content\n */\nconst handleToolbarIntersection = (ev, mainHeaderIndex, scrollHeaderIndex, scrollEl) => {\n writeTask(() => {\n const scrollTop = scrollEl.scrollTop;\n handleToolbarBorderIntersection(ev, mainHeaderIndex, scrollTop);\n const event = ev[0];\n const intersection = event.intersectionRect;\n const intersectionArea = intersection.width * intersection.height;\n const rootArea = event.rootBounds.width * event.rootBounds.height;\n const isPageHidden = intersectionArea === 0 && rootArea === 0;\n const leftDiff = Math.abs(intersection.left - event.boundingClientRect.left);\n const rightDiff = Math.abs(intersection.right - event.boundingClientRect.right);\n const isPageTransitioning = intersectionArea > 0 && (leftDiff >= 5 || rightDiff >= 5);\n if (isPageHidden || isPageTransitioning) {\n return;\n }\n if (event.isIntersecting) {\n setHeaderActive(mainHeaderIndex, false);\n setHeaderActive(scrollHeaderIndex);\n }\n else {\n /**\n * There is a bug with IntersectionObserver on Safari\n * where `event.isIntersecting === false` when cancelling\n * a swipe to go back gesture. Checking the intersection\n * x, y, width, and height provides a workaround. This bug\n * does not happen when using Safari + Web Animations,\n * only Safari + CSS Animations.\n */\n const hasValidIntersection = (intersection.x === 0 && intersection.y === 0) || (intersection.width !== 0 && intersection.height !== 0);\n if (hasValidIntersection && scrollTop > 0) {\n setHeaderActive(mainHeaderIndex);\n setHeaderActive(scrollHeaderIndex, false);\n setToolbarBackgroundOpacity(mainHeaderIndex.el);\n }\n }\n });\n};\nconst setHeaderActive = (headerIndex, active = true) => {\n if (active) {\n headerIndex.el.classList.remove('header-collapse-condense-inactive');\n }\n else {\n headerIndex.el.classList.add('header-collapse-condense-inactive');\n }\n};\nconst scaleLargeTitles = (toolbars = [], scale = 1, transition = false) => {\n toolbars.forEach((toolbar) => {\n const ionTitle = toolbar.ionTitleEl;\n const titleDiv = toolbar.innerTitleEl;\n if (!ionTitle || ionTitle.size !== 'large') {\n return;\n }\n titleDiv.style.transition = transition ? TRANSITION : '';\n titleDiv.style.transform = `scale3d(${scale}, ${scale}, 1)`;\n });\n};\nconst handleHeaderFade = (scrollEl, baseEl, condenseHeader) => {\n readTask(() => {\n const scrollTop = scrollEl.scrollTop;\n const baseElHeight = baseEl.clientHeight;\n const fadeStart = condenseHeader ? condenseHeader.clientHeight : 0;\n /**\n * If we are using fade header with a condense\n * header, then the toolbar backgrounds should\n * not begin to fade in until the condense\n * header has fully collapsed.\n *\n * Additionally, the main content should not\n * overflow out of the container until the\n * condense header has fully collapsed. When\n * using just the condense header the content\n * should overflow out of the container.\n */\n if (condenseHeader !== null && scrollTop < fadeStart) {\n baseEl.style.setProperty('--opacity-scale', '0');\n scrollEl.style.setProperty('clip-path', `inset(${baseElHeight}px 0px 0px 0px)`);\n return;\n }\n const distanceToStart = scrollTop - fadeStart;\n const fadeDuration = 10;\n const scale = clamp(0, distanceToStart / fadeDuration, 1);\n writeTask(() => {\n scrollEl.style.removeProperty('clip-path');\n baseEl.style.setProperty('--opacity-scale', scale.toString());\n });\n });\n};\n\nconst headerIosCss = \"ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-ios ion-toolbar:last-of-type{--border-width:0 0 0.55px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.header-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.header-translucent-ios ion-toolbar{--opacity:.8}.header-collapse-condense-inactive .header-background{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}}.header-ios.ion-no-border ion-toolbar:last-of-type{--border-width:0}.header-collapse-fade ion-toolbar{--opacity-scale:inherit}.header-collapse-condense{z-index:9}.header-collapse-condense ion-toolbar{position:-webkit-sticky;position:sticky;top:0}.header-collapse-condense ion-toolbar:first-of-type{padding-top:7px;z-index:1}.header-collapse-condense ion-toolbar{--background:var(--ion-background-color, #fff);z-index:0}.header-collapse-condense ion-toolbar:last-of-type{--border-width:0px}.header-collapse-condense ion-toolbar ion-searchbar{height:48px;padding-top:0px;padding-bottom:13px}.header-collapse-main{--opacity-scale:1}.header-collapse-main ion-toolbar{--opacity-scale:inherit}.header-collapse-main ion-toolbar.in-toolbar ion-title,.header-collapse-main ion-toolbar.in-toolbar ion-buttons{-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-buttons.buttons-collapse{opacity:0;pointer-events:none}.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-buttons.buttons-collapse{visibility:hidden}\";\n\nconst headerMdCss = \"ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-md::after{left:0;bottom:-5px;background-position:left 0 top -2px;position:absolute;width:100%;height:5px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAHBAMAAADzDtBxAAAAD1BMVEUAAAAAAAAAAAAAAAAAAABPDueNAAAABXRSTlMUCS0gBIh/TXEAAAAaSURBVAjXYxCEAgY4UIICBmMogMsgFLtAAQCNSwXZKOdPxgAAAABJRU5ErkJggg==);background-repeat:repeat-x;content:\\\"\\\"}[dir=rtl] .header-md::after,:host-context([dir=rtl]) .header-md::after{left:unset;right:unset;right:0}[dir=rtl] .header-md::after,:host-context([dir=rtl]) .header-md::after{background-position:right 0 top -2px}.header-collapse-condense{display:none}.header-md.ion-no-border::after{display:none}\";\n\nconst Header = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n this.inheritedAttributes = {};\n /**\n * If `true`, the header will be translucent.\n * Only applies when the mode is `\"ios\"` and the device supports\n * [`backdrop-filter`](https://developer.mozilla.org/en-US/docs/Web/CSS/backdrop-filter#Browser_compatibility).\n *\n * Note: In order to scroll content behind the header, the `fullscreen`\n * attribute needs to be set on the content.\n */\n this.translucent = false;\n this.setupFadeHeader = async (contentEl, condenseHeader) => {\n const scrollEl = (this.scrollEl = await getScrollElement(contentEl));\n /**\n * Handle fading of toolbars on scroll\n */\n this.contentScrollCallback = () => {\n handleHeaderFade(this.scrollEl, this.el, condenseHeader);\n };\n scrollEl.addEventListener('scroll', this.contentScrollCallback);\n handleHeaderFade(this.scrollEl, this.el, condenseHeader);\n };\n }\n componentWillLoad() {\n this.inheritedAttributes = inheritAriaAttributes(this.el);\n }\n componentDidLoad() {\n this.checkCollapsibleHeader();\n }\n componentDidUpdate() {\n this.checkCollapsibleHeader();\n }\n disconnectedCallback() {\n this.destroyCollapsibleHeader();\n }\n async checkCollapsibleHeader() {\n const mode = getIonMode(this);\n if (mode !== 'ios') {\n return;\n }\n const { collapse } = this;\n const hasCondense = collapse === 'condense';\n const hasFade = collapse === 'fade';\n this.destroyCollapsibleHeader();\n if (hasCondense) {\n const pageEl = this.el.closest('ion-app,ion-page,.ion-page,page-inner');\n const contentEl = pageEl ? findIonContent(pageEl) : null;\n // Cloned elements are always needed in iOS transition\n writeTask(() => {\n const title = cloneElement('ion-title');\n title.size = 'large';\n cloneElement('ion-back-button');\n });\n await this.setupCondenseHeader(contentEl, pageEl);\n }\n else if (hasFade) {\n const pageEl = this.el.closest('ion-app,ion-page,.ion-page,page-inner');\n const contentEl = pageEl ? findIonContent(pageEl) : null;\n if (!contentEl) {\n printIonContentErrorMsg(this.el);\n return;\n }\n const condenseHeader = contentEl.querySelector('ion-header[collapse=\"condense\"]');\n await this.setupFadeHeader(contentEl, condenseHeader);\n }\n }\n destroyCollapsibleHeader() {\n if (this.intersectionObserver) {\n this.intersectionObserver.disconnect();\n this.intersectionObserver = undefined;\n }\n if (this.scrollEl && this.contentScrollCallback) {\n this.scrollEl.removeEventListener('scroll', this.contentScrollCallback);\n this.contentScrollCallback = undefined;\n }\n if (this.collapsibleMainHeader) {\n this.collapsibleMainHeader.classList.remove('header-collapse-main');\n this.collapsibleMainHeader = undefined;\n }\n }\n async setupCondenseHeader(contentEl, pageEl) {\n if (!contentEl || !pageEl) {\n printIonContentErrorMsg(this.el);\n return;\n }\n if (typeof IntersectionObserver === 'undefined') {\n return;\n }\n this.scrollEl = await getScrollElement(contentEl);\n const headers = pageEl.querySelectorAll('ion-header');\n this.collapsibleMainHeader = Array.from(headers).find((header) => header.collapse !== 'condense');\n if (!this.collapsibleMainHeader) {\n return;\n }\n const mainHeaderIndex = createHeaderIndex(this.collapsibleMainHeader);\n const scrollHeaderIndex = createHeaderIndex(this.el);\n if (!mainHeaderIndex || !scrollHeaderIndex) {\n return;\n }\n setHeaderActive(mainHeaderIndex, false);\n setToolbarBackgroundOpacity(mainHeaderIndex.el, 0);\n /**\n * Handle interaction between toolbar collapse and\n * showing/hiding content in the primary ion-header\n * as well as progressively showing/hiding the main header\n * border as the top-most toolbar collapses or expands.\n */\n const toolbarIntersection = (ev) => {\n handleToolbarIntersection(ev, mainHeaderIndex, scrollHeaderIndex, this.scrollEl);\n };\n this.intersectionObserver = new IntersectionObserver(toolbarIntersection, {\n root: contentEl,\n threshold: [0.25, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1],\n });\n this.intersectionObserver.observe(scrollHeaderIndex.toolbars[scrollHeaderIndex.toolbars.length - 1].el);\n /**\n * Handle scaling of large iOS titles and\n * showing/hiding border on last toolbar\n * in primary header\n */\n this.contentScrollCallback = () => {\n handleContentScroll(this.scrollEl, scrollHeaderIndex, contentEl);\n };\n this.scrollEl.addEventListener('scroll', this.contentScrollCallback);\n writeTask(() => {\n if (this.collapsibleMainHeader !== undefined) {\n this.collapsibleMainHeader.classList.add('header-collapse-main');\n }\n });\n }\n render() {\n const { translucent, inheritedAttributes } = this;\n const mode = getIonMode(this);\n const collapse = this.collapse || 'none';\n // banner role must be at top level, so remove role if inside a menu\n const roleType = hostContext('ion-menu', this.el) ? 'none' : 'banner';\n return (h(Host, Object.assign({ role: roleType, class: {\n [mode]: true,\n // Used internally for styling\n [`header-${mode}`]: true,\n [`header-translucent`]: this.translucent,\n [`header-collapse-${collapse}`]: true,\n [`header-translucent-${mode}`]: this.translucent,\n } }, inheritedAttributes), mode === 'ios' && translucent && h(\"div\", { class: \"header-background\" }), h(\"slot\", null)));\n }\n get el() { return this; }\n static get style() { return {\n ios: headerIosCss,\n md: headerMdCss\n }; }\n}, [36, \"ion-header\", {\n \"collapse\": [1],\n \"translucent\": [4]\n }]);\nfunction defineCustomElement$1() {\n if (typeof customElements === \"undefined\") {\n return;\n }\n const components = [\"ion-header\"];\n components.forEach(tagName => { switch (tagName) {\n case \"ion-header\":\n if (!customElements.get(tagName)) {\n customElements.define(tagName, Header);\n }\n break;\n } });\n}\n\nconst IonHeader = Header;\nconst defineCustomElement = defineCustomElement$1;\n\nexport { IonHeader, defineCustomElement };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';\nimport { b as getIonMode } from './ionic-global.js';\nimport { k as inheritAttributes } from './helpers.js';\n\nconst imgCss = \":host{display:block;-o-object-fit:contain;object-fit:contain}img{display:block;width:100%;height:100%;-o-object-fit:inherit;object-fit:inherit;-o-object-position:inherit;object-position:inherit}\";\n\nconst Img = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n this.__attachShadow();\n this.ionImgWillLoad = createEvent(this, \"ionImgWillLoad\", 7);\n this.ionImgDidLoad = createEvent(this, \"ionImgDidLoad\", 7);\n this.ionError = createEvent(this, \"ionError\", 7);\n this.inheritedAttributes = {};\n this.onLoad = () => {\n this.ionImgDidLoad.emit();\n };\n this.onError = () => {\n this.ionError.emit();\n };\n }\n srcChanged() {\n this.addIO();\n }\n componentWillLoad() {\n this.inheritedAttributes = inheritAttributes(this.el, ['draggable']);\n }\n componentDidLoad() {\n this.addIO();\n }\n addIO() {\n if (this.src === undefined) {\n return;\n }\n if (typeof window !== 'undefined' &&\n 'IntersectionObserver' in window &&\n 'IntersectionObserverEntry' in window &&\n 'isIntersecting' in window.IntersectionObserverEntry.prototype) {\n this.removeIO();\n this.io = new IntersectionObserver((data) => {\n /**\n * On slower devices, it is possible for an intersection observer entry to contain multiple\n * objects in the array. This happens when quickly scrolling an image into view and then out of\n * view. In this case, the last object represents the current state of the component.\n */\n if (data[data.length - 1].isIntersecting) {\n this.load();\n this.removeIO();\n }\n });\n this.io.observe(this.el);\n }\n else {\n // fall back to setTimeout for Safari and IE\n setTimeout(() => this.load(), 200);\n }\n }\n load() {\n this.loadError = this.onError;\n this.loadSrc = this.src;\n this.ionImgWillLoad.emit();\n }\n removeIO() {\n if (this.io) {\n this.io.disconnect();\n this.io = undefined;\n }\n }\n render() {\n const { loadSrc, alt, onLoad, loadError, inheritedAttributes } = this;\n const { draggable } = inheritedAttributes;\n return (h(Host, { class: getIonMode(this) }, h(\"img\", { decoding: \"async\", src: loadSrc, alt: alt, onLoad: onLoad, onError: loadError, part: \"image\", draggable: isDraggable(draggable) })));\n }\n get el() { return this; }\n static get watchers() { return {\n \"src\": [\"srcChanged\"]\n }; }\n static get style() { return imgCss; }\n}, [1, \"ion-img\", {\n \"alt\": [1],\n \"src\": [1],\n \"loadSrc\": [32],\n \"loadError\": [32]\n }]);\n/**\n * Enumerated strings must be set as booleans\n * as Stencil will not render 'false' in the DOM.\n * The need to explicitly render draggable=\"true\"\n * as only certain elements are draggable by default.\n * https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/draggable.\n */\nconst isDraggable = (draggable) => {\n switch (draggable) {\n case 'true':\n return true;\n case 'false':\n return false;\n default:\n return undefined;\n }\n};\nfunction defineCustomElement$1() {\n if (typeof customElements === \"undefined\") {\n return;\n }\n const components = [\"ion-img\"];\n components.forEach(tagName => { switch (tagName) {\n case \"ion-img\":\n if (!customElements.get(tagName)) {\n customElements.define(tagName, Img);\n }\n break;\n } });\n}\n\nconst IonImg = Img;\nconst defineCustomElement = defineCustomElement$1;\n\nexport { IonImg, defineCustomElement };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { proxyCustomElement, HTMLElement, createEvent, writeTask, readTask, h, Host } from '@stencil/core/internal/client';\nimport { b as getIonMode } from './ionic-global.js';\nimport { a as findClosestIonContent, p as printIonContentErrorMsg, g as getScrollElement } from './index8.js';\n\nconst infiniteScrollCss = \"ion-infinite-scroll{display:none;width:100%}.infinite-scroll-enabled{display:block}\";\n\nconst InfiniteScroll = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n this.ionInfinite = createEvent(this, \"ionInfinite\", 7);\n this.thrPx = 0;\n this.thrPc = 0;\n this.didFire = false;\n this.isBusy = false;\n this.isLoading = false;\n /**\n * The threshold distance from the bottom\n * of the content to call the `infinite` output event when scrolled.\n * The threshold value can be either a percent, or\n * in pixels. For example, use the value of `10%` for the `infinite`\n * output event to get called when the user has scrolled 10%\n * from the bottom of the page. Use the value `100px` when the\n * scroll is within 100 pixels from the bottom of the page.\n */\n this.threshold = '15%';\n /**\n * If `true`, the infinite scroll will be hidden and scroll event listeners\n * will be removed.\n *\n * Set this to true to disable the infinite scroll from actively\n * trying to receive new data while scrolling. This is useful\n * when it is known that there is no more data that can be added, and\n * the infinite scroll is no longer needed.\n */\n this.disabled = false;\n /**\n * The position of the infinite scroll element.\n * The value can be either `top` or `bottom`.\n */\n this.position = 'bottom';\n this.onScroll = () => {\n const scrollEl = this.scrollEl;\n if (!scrollEl || !this.canStart()) {\n return 1;\n }\n const infiniteHeight = this.el.offsetHeight;\n if (infiniteHeight === 0) {\n // if there is no height of this element then do nothing\n return 2;\n }\n const scrollTop = scrollEl.scrollTop;\n const scrollHeight = scrollEl.scrollHeight;\n const height = scrollEl.offsetHeight;\n const threshold = this.thrPc !== 0 ? height * this.thrPc : this.thrPx;\n const distanceFromInfinite = this.position === 'bottom'\n ? scrollHeight - infiniteHeight - scrollTop - threshold - height\n : scrollTop - infiniteHeight - threshold;\n if (distanceFromInfinite < 0) {\n if (!this.didFire) {\n this.isLoading = true;\n this.didFire = true;\n this.ionInfinite.emit();\n return 3;\n }\n }\n else {\n this.didFire = false;\n }\n return 4;\n };\n }\n thresholdChanged() {\n const val = this.threshold;\n if (val.lastIndexOf('%') > -1) {\n this.thrPx = 0;\n this.thrPc = parseFloat(val) / 100;\n }\n else {\n this.thrPx = parseFloat(val);\n this.thrPc = 0;\n }\n }\n disabledChanged() {\n const disabled = this.disabled;\n if (disabled) {\n this.isLoading = false;\n this.isBusy = false;\n }\n this.enableScrollEvents(!disabled);\n }\n async connectedCallback() {\n const contentEl = findClosestIonContent(this.el);\n if (!contentEl) {\n printIonContentErrorMsg(this.el);\n return;\n }\n this.scrollEl = await getScrollElement(contentEl);\n this.thresholdChanged();\n this.disabledChanged();\n if (this.position === 'top') {\n writeTask(() => {\n if (this.scrollEl) {\n this.scrollEl.scrollTop = this.scrollEl.scrollHeight - this.scrollEl.clientHeight;\n }\n });\n }\n }\n disconnectedCallback() {\n this.enableScrollEvents(false);\n this.scrollEl = undefined;\n }\n /**\n * Call `complete()` within the `ionInfinite` output event handler when\n * your async operation has completed. For example, the `loading`\n * state is while the app is performing an asynchronous operation,\n * such as receiving more data from an AJAX request to add more items\n * to a data list. Once the data has been received and UI updated, you\n * then call this method to signify that the loading has completed.\n * This method will change the infinite scroll's state from `loading`\n * to `enabled`.\n */\n async complete() {\n const scrollEl = this.scrollEl;\n if (!this.isLoading || !scrollEl) {\n return;\n }\n this.isLoading = false;\n if (this.position === 'top') {\n /**\n * New content is being added at the top, but the scrollTop position stays the same,\n * which causes a scroll jump visually. This algorithm makes sure to prevent this.\n * (Frame 1)\n * - complete() is called, but the UI hasn't had time to update yet.\n * - Save the current content dimensions.\n * - Wait for the next frame using _dom.read, so the UI will be updated.\n * (Frame 2)\n * - Read the new content dimensions.\n * - Calculate the height difference and the new scroll position.\n * - Delay the scroll position change until other possible dom reads are done using _dom.write to be performant.\n * (Still frame 2, if I'm correct)\n * - Change the scroll position (= visually maintain the scroll position).\n * - Change the state to re-enable the InfiniteScroll.\n * - This should be after changing the scroll position, or it could\n * cause the InfiniteScroll to be triggered again immediately.\n * (Frame 3)\n * Done.\n */\n this.isBusy = true;\n // ******** DOM READ ****************\n // Save the current content dimensions before the UI updates\n const prev = scrollEl.scrollHeight - scrollEl.scrollTop;\n // ******** DOM READ ****************\n requestAnimationFrame(() => {\n readTask(() => {\n // UI has updated, save the new content dimensions\n const scrollHeight = scrollEl.scrollHeight;\n // New content was added on top, so the scroll position should be changed immediately to prevent it from jumping around\n const newScrollTop = scrollHeight - prev;\n // ******** DOM WRITE ****************\n requestAnimationFrame(() => {\n writeTask(() => {\n scrollEl.scrollTop = newScrollTop;\n this.isBusy = false;\n });\n });\n });\n });\n }\n }\n canStart() {\n return !this.disabled && !this.isBusy && !!this.scrollEl && !this.isLoading;\n }\n enableScrollEvents(shouldListen) {\n if (this.scrollEl) {\n if (shouldListen) {\n this.scrollEl.addEventListener('scroll', this.onScroll);\n }\n else {\n this.scrollEl.removeEventListener('scroll', this.onScroll);\n }\n }\n }\n render() {\n const mode = getIonMode(this);\n const disabled = this.disabled;\n return (h(Host, { class: {\n [mode]: true,\n 'infinite-scroll-loading': this.isLoading,\n 'infinite-scroll-enabled': !disabled,\n } }));\n }\n get el() { return this; }\n static get watchers() { return {\n \"threshold\": [\"thresholdChanged\"],\n \"disabled\": [\"disabledChanged\"]\n }; }\n static get style() { return infiniteScrollCss; }\n}, [0, \"ion-infinite-scroll\", {\n \"threshold\": [1],\n \"disabled\": [4],\n \"position\": [1],\n \"isLoading\": [32],\n \"complete\": [64]\n }]);\nfunction defineCustomElement$1() {\n if (typeof customElements === \"undefined\") {\n return;\n }\n const components = [\"ion-infinite-scroll\"];\n components.forEach(tagName => { switch (tagName) {\n case \"ion-infinite-scroll\":\n if (!customElements.get(tagName)) {\n customElements.define(tagName, InfiniteScroll);\n }\n break;\n } });\n}\n\nconst IonInfiniteScroll = InfiniteScroll;\nconst defineCustomElement = defineCustomElement$1;\n\nexport { IonInfiniteScroll, defineCustomElement };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\n/**\n * Does a simple sanitization of all elements\n * in an untrusted string\n */\nconst sanitizeDOMString = (untrustedString) => {\n try {\n if (untrustedString instanceof IonicSafeString) {\n return untrustedString.value;\n }\n if (!isSanitizerEnabled() || typeof untrustedString !== 'string' || untrustedString === '') {\n return untrustedString;\n }\n /**\n * Create a document fragment\n * separate from the main DOM,\n * create a div to do our work in\n */\n const documentFragment = document.createDocumentFragment();\n const workingDiv = document.createElement('div');\n documentFragment.appendChild(workingDiv);\n workingDiv.innerHTML = untrustedString;\n /**\n * Remove any elements\n * that are blocked\n */\n blockedTags.forEach((blockedTag) => {\n const getElementsToRemove = documentFragment.querySelectorAll(blockedTag);\n for (let elementIndex = getElementsToRemove.length - 1; elementIndex >= 0; elementIndex--) {\n const element = getElementsToRemove[elementIndex];\n if (element.parentNode) {\n element.parentNode.removeChild(element);\n }\n else {\n documentFragment.removeChild(element);\n }\n /**\n * We still need to sanitize\n * the children of this element\n * as they are left behind\n */\n const childElements = getElementChildren(element);\n /* eslint-disable-next-line */\n for (let childIndex = 0; childIndex < childElements.length; childIndex++) {\n sanitizeElement(childElements[childIndex]);\n }\n }\n });\n /**\n * Go through remaining elements and remove\n * non-allowed attribs\n */\n // IE does not support .children on document fragments, only .childNodes\n const dfChildren = getElementChildren(documentFragment);\n /* eslint-disable-next-line */\n for (let childIndex = 0; childIndex < dfChildren.length; childIndex++) {\n sanitizeElement(dfChildren[childIndex]);\n }\n // Append document fragment to div\n const fragmentDiv = document.createElement('div');\n fragmentDiv.appendChild(documentFragment);\n // First child is always the div we did our work in\n const getInnerDiv = fragmentDiv.querySelector('div');\n return getInnerDiv !== null ? getInnerDiv.innerHTML : fragmentDiv.innerHTML;\n }\n catch (err) {\n console.error(err);\n return '';\n }\n};\n/**\n * Clean up current element based on allowed attributes\n * and then recursively dig down into any child elements to\n * clean those up as well\n */\nconst sanitizeElement = (element) => {\n // IE uses childNodes, so ignore nodes that are not elements\n if (element.nodeType && element.nodeType !== 1) {\n return;\n }\n for (let i = element.attributes.length - 1; i >= 0; i--) {\n const attribute = element.attributes.item(i);\n const attributeName = attribute.name;\n // remove non-allowed attribs\n if (!allowedAttributes.includes(attributeName.toLowerCase())) {\n element.removeAttribute(attributeName);\n continue;\n }\n // clean up any allowed attribs\n // that attempt to do any JS funny-business\n const attributeValue = attribute.value;\n /* eslint-disable-next-line */\n if (attributeValue != null && attributeValue.toLowerCase().includes('javascript:')) {\n element.removeAttribute(attributeName);\n }\n }\n /**\n * Sanitize any nested children\n */\n const childElements = getElementChildren(element);\n /* eslint-disable-next-line */\n for (let i = 0; i < childElements.length; i++) {\n sanitizeElement(childElements[i]);\n }\n};\n/**\n * IE doesn't always support .children\n * so we revert to .childNodes instead\n */\nconst getElementChildren = (el) => {\n return el.children != null ? el.children : el.childNodes;\n};\nconst isSanitizerEnabled = () => {\n var _a;\n const win = window;\n const config = (_a = win === null || win === void 0 ? void 0 : win.Ionic) === null || _a === void 0 ? void 0 : _a.config;\n if (config) {\n if (config.get) {\n return config.get('sanitizerEnabled', true);\n }\n else {\n return config.sanitizerEnabled === true || config.sanitizerEnabled === undefined;\n }\n }\n return true;\n};\nconst allowedAttributes = ['class', 'id', 'href', 'src', 'name', 'slot'];\nconst blockedTags = ['script', 'style', 'iframe', 'meta', 'link', 'object', 'embed'];\nclass IonicSafeString {\n constructor(value) {\n this.value = value;\n }\n}\n\nexport { IonicSafeString as I, sanitizeDOMString as s };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';\nimport { c as config, b as getIonMode } from './ionic-global.js';\nimport { c as createColorClasses } from './theme.js';\n\nconst spinners = {\n bubbles: {\n dur: 1000,\n circles: 9,\n fn: (dur, index, total) => {\n const animationDelay = `${(dur * index) / total - dur}ms`;\n const angle = (2 * Math.PI * index) / total;\n return {\n r: 5,\n style: {\n top: `${9 * Math.sin(angle)}px`,\n left: `${9 * Math.cos(angle)}px`,\n 'animation-delay': animationDelay,\n },\n };\n },\n },\n circles: {\n dur: 1000,\n circles: 8,\n fn: (dur, index, total) => {\n const step = index / total;\n const animationDelay = `${dur * step - dur}ms`;\n const angle = 2 * Math.PI * step;\n return {\n r: 5,\n style: {\n top: `${9 * Math.sin(angle)}px`,\n left: `${9 * Math.cos(angle)}px`,\n 'animation-delay': animationDelay,\n },\n };\n },\n },\n circular: {\n dur: 1400,\n elmDuration: true,\n circles: 1,\n fn: () => {\n return {\n r: 20,\n cx: 48,\n cy: 48,\n fill: 'none',\n viewBox: '24 24 48 48',\n transform: 'translate(0,0)',\n style: {},\n };\n },\n },\n crescent: {\n dur: 750,\n circles: 1,\n fn: () => {\n return {\n r: 26,\n style: {},\n };\n },\n },\n dots: {\n dur: 750,\n circles: 3,\n fn: (_, index) => {\n const animationDelay = -(110 * index) + 'ms';\n return {\n r: 6,\n style: {\n left: `${9 - 9 * index}px`,\n 'animation-delay': animationDelay,\n },\n };\n },\n },\n lines: {\n dur: 1000,\n lines: 8,\n fn: (dur, index, total) => {\n const transform = `rotate(${(360 / total) * index + (index < total / 2 ? 180 : -180)}deg)`;\n const animationDelay = `${(dur * index) / total - dur}ms`;\n return {\n y1: 14,\n y2: 26,\n style: {\n transform: transform,\n 'animation-delay': animationDelay,\n },\n };\n },\n },\n 'lines-small': {\n dur: 1000,\n lines: 8,\n fn: (dur, index, total) => {\n const transform = `rotate(${(360 / total) * index + (index < total / 2 ? 180 : -180)}deg)`;\n const animationDelay = `${(dur * index) / total - dur}ms`;\n return {\n y1: 12,\n y2: 20,\n style: {\n transform: transform,\n 'animation-delay': animationDelay,\n },\n };\n },\n },\n 'lines-sharp': {\n dur: 1000,\n lines: 12,\n fn: (dur, index, total) => {\n const transform = `rotate(${30 * index + (index < 6 ? 180 : -180)}deg)`;\n const animationDelay = `${(dur * index) / total - dur}ms`;\n return {\n y1: 17,\n y2: 29,\n style: {\n transform: transform,\n 'animation-delay': animationDelay,\n },\n };\n },\n },\n 'lines-sharp-small': {\n dur: 1000,\n lines: 12,\n fn: (dur, index, total) => {\n const transform = `rotate(${30 * index + (index < 6 ? 180 : -180)}deg)`;\n const animationDelay = `${(dur * index) / total - dur}ms`;\n return {\n y1: 12,\n y2: 20,\n style: {\n transform: transform,\n 'animation-delay': animationDelay,\n },\n };\n },\n },\n};\nconst SPINNERS = spinners;\n\nconst spinnerCss = \":host{display:inline-block;position:relative;width:28px;height:28px;color:var(--color);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.ion-color){color:var(--ion-color-base)}svg{-webkit-transform-origin:center;transform-origin:center;position:absolute;top:0;left:0;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0)}[dir=rtl] svg,:host-context([dir=rtl]) svg{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}:host(.spinner-lines) line,:host(.spinner-lines-small) line{stroke-width:7px}:host(.spinner-lines-sharp) line,:host(.spinner-lines-sharp-small) line{stroke-width:4px}:host(.spinner-lines) line,:host(.spinner-lines-small) line,:host(.spinner-lines-sharp) line,:host(.spinner-lines-sharp-small) line{stroke-linecap:round;stroke:currentColor}:host(.spinner-lines) svg,:host(.spinner-lines-small) svg,:host(.spinner-lines-sharp) svg,:host(.spinner-lines-sharp-small) svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite}:host(.spinner-bubbles) svg{-webkit-animation:spinner-scale-out 1s linear infinite;animation:spinner-scale-out 1s linear infinite;fill:currentColor}:host(.spinner-circles) svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite;fill:currentColor}:host(.spinner-crescent) circle{fill:transparent;stroke-width:4px;stroke-dasharray:128px;stroke-dashoffset:82px;stroke:currentColor}:host(.spinner-crescent) svg{-webkit-animation:spinner-rotate 1s linear infinite;animation:spinner-rotate 1s linear infinite}:host(.spinner-dots) circle{stroke-width:0;fill:currentColor}:host(.spinner-dots) svg{-webkit-animation:spinner-dots 1s linear infinite;animation:spinner-dots 1s linear infinite}:host(.spinner-circular) svg{-webkit-animation:spinner-circular linear infinite;animation:spinner-circular linear infinite}:host(.spinner-circular) circle{-webkit-animation:spinner-circular-inner ease-in-out infinite;animation:spinner-circular-inner ease-in-out infinite;stroke:currentColor;stroke-dasharray:80px, 200px;stroke-dashoffset:0px;stroke-width:5.6;fill:none}:host(.spinner-paused),:host(.spinner-paused) svg,:host(.spinner-paused) circle{-webkit-animation-play-state:paused;animation-play-state:paused}@-webkit-keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes spinner-scale-out{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}100%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}}@keyframes spinner-scale-out{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}100%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}}@-webkit-keyframes spinner-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-dots{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}50%{-webkit-transform:scale(0.4, 0.4);transform:scale(0.4, 0.4);opacity:0.3}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}}@keyframes spinner-dots{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}50%{-webkit-transform:scale(0.4, 0.4);transform:scale(0.4, 0.4);opacity:0.3}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}}@-webkit-keyframes spinner-circular{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-circular{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}@keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}\";\n\nconst Spinner = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n this.__attachShadow();\n /**\n * If `true`, the spinner's animation will be paused.\n */\n this.paused = false;\n }\n getName() {\n const spinnerName = this.name || config.get('spinner');\n const mode = getIonMode(this);\n if (spinnerName) {\n return spinnerName;\n }\n return mode === 'ios' ? 'lines' : 'circular';\n }\n render() {\n const self = this;\n const mode = getIonMode(self);\n const spinnerName = self.getName();\n const spinner = SPINNERS[spinnerName] || SPINNERS['lines'];\n const duration = typeof self.duration === 'number' && self.duration > 10 ? self.duration : spinner.dur;\n const svgs = [];\n if (spinner.circles !== undefined) {\n for (let i = 0; i < spinner.circles; i++) {\n svgs.push(buildCircle(spinner, duration, i, spinner.circles));\n }\n }\n else if (spinner.lines !== undefined) {\n for (let i = 0; i < spinner.lines; i++) {\n svgs.push(buildLine(spinner, duration, i, spinner.lines));\n }\n }\n return (h(Host, { class: createColorClasses(self.color, {\n [mode]: true,\n [`spinner-${spinnerName}`]: true,\n 'spinner-paused': self.paused || config.getBoolean('_testing'),\n }), role: \"progressbar\", style: spinner.elmDuration ? { animationDuration: duration + 'ms' } : {} }, svgs));\n }\n static get style() { return spinnerCss; }\n}, [1, \"ion-spinner\", {\n \"color\": [513],\n \"duration\": [2],\n \"name\": [1],\n \"paused\": [4]\n }]);\nconst buildCircle = (spinner, duration, index, total) => {\n const data = spinner.fn(duration, index, total);\n data.style['animation-duration'] = duration + 'ms';\n return (h(\"svg\", { viewBox: data.viewBox || '0 0 64 64', style: data.style }, h(\"circle\", { transform: data.transform || 'translate(32,32)', cx: data.cx, cy: data.cy, r: data.r, style: spinner.elmDuration ? { animationDuration: duration + 'ms' } : {} })));\n};\nconst buildLine = (spinner, duration, index, total) => {\n const data = spinner.fn(duration, index, total);\n data.style['animation-duration'] = duration + 'ms';\n return (h(\"svg\", { viewBox: data.viewBox || '0 0 64 64', style: data.style }, h(\"line\", { transform: \"translate(32,32)\", y1: data.y1, y2: data.y2 })));\n};\nfunction defineCustomElement() {\n if (typeof customElements === \"undefined\") {\n return;\n }\n const components = [\"ion-spinner\"];\n components.forEach(tagName => { switch (tagName) {\n case \"ion-spinner\":\n if (!customElements.get(tagName)) {\n customElements.define(tagName, Spinner);\n }\n break;\n } });\n}\n\nexport { SPINNERS as S, Spinner as a, defineCustomElement as d };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';\nimport { b as getIonMode, c as config } from './ionic-global.js';\nimport { s as sanitizeDOMString } from './index3.js';\nimport { d as defineCustomElement$2 } from './spinner.js';\n\nconst infiniteScrollContentIosCss = \"ion-infinite-scroll-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:84px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.infinite-loading{margin-left:0;margin-right:0;margin-top:0;margin-bottom:32px;display:none;width:100%}.infinite-loading-text{margin-left:32px;margin-right:32px;margin-top:4px;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.infinite-loading-text{margin-left:unset;margin-right:unset;-webkit-margin-start:32px;margin-inline-start:32px;-webkit-margin-end:32px;margin-inline-end:32px}}.infinite-scroll-loading ion-infinite-scroll-content>.infinite-loading{display:block}.infinite-scroll-content-ios .infinite-loading-text{color:var(--ion-color-step-600, #666666)}.infinite-scroll-content-ios .infinite-loading-spinner .spinner-lines-ios line,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-lines-small-ios line,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-crescent circle{stroke:var(--ion-color-step-600, #666666)}.infinite-scroll-content-ios .infinite-loading-spinner .spinner-bubbles circle,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-circles circle,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-dots circle{fill:var(--ion-color-step-600, #666666)}\";\n\nconst infiniteScrollContentMdCss = \"ion-infinite-scroll-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:84px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.infinite-loading{margin-left:0;margin-right:0;margin-top:0;margin-bottom:32px;display:none;width:100%}.infinite-loading-text{margin-left:32px;margin-right:32px;margin-top:4px;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.infinite-loading-text{margin-left:unset;margin-right:unset;-webkit-margin-start:32px;margin-inline-start:32px;-webkit-margin-end:32px;margin-inline-end:32px}}.infinite-scroll-loading ion-infinite-scroll-content>.infinite-loading{display:block}.infinite-scroll-content-md .infinite-loading-text{color:var(--ion-color-step-600, #666666)}.infinite-scroll-content-md .infinite-loading-spinner .spinner-lines-md line,.infinite-scroll-content-md .infinite-loading-spinner .spinner-lines-small-md line,.infinite-scroll-content-md .infinite-loading-spinner .spinner-crescent circle{stroke:var(--ion-color-step-600, #666666)}.infinite-scroll-content-md .infinite-loading-spinner .spinner-bubbles circle,.infinite-scroll-content-md .infinite-loading-spinner .spinner-circles circle,.infinite-scroll-content-md .infinite-loading-spinner .spinner-dots circle{fill:var(--ion-color-step-600, #666666)}\";\n\nconst InfiniteScrollContent = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n }\n componentDidLoad() {\n if (this.loadingSpinner === undefined) {\n const mode = getIonMode(this);\n this.loadingSpinner = config.get('infiniteLoadingSpinner', config.get('spinner', mode === 'ios' ? 'lines' : 'crescent'));\n }\n }\n render() {\n const mode = getIonMode(this);\n return (h(Host, { class: {\n [mode]: true,\n // Used internally for styling\n [`infinite-scroll-content-${mode}`]: true,\n } }, h(\"div\", { class: \"infinite-loading\" }, this.loadingSpinner && (h(\"div\", { class: \"infinite-loading-spinner\" }, h(\"ion-spinner\", { name: this.loadingSpinner }))), this.loadingText && h(\"div\", { class: \"infinite-loading-text\", innerHTML: sanitizeDOMString(this.loadingText) }))));\n }\n static get style() { return {\n ios: infiniteScrollContentIosCss,\n md: infiniteScrollContentMdCss\n }; }\n}, [32, \"ion-infinite-scroll-content\", {\n \"loadingSpinner\": [1025, \"loading-spinner\"],\n \"loadingText\": [1, \"loading-text\"]\n }]);\nfunction defineCustomElement$1() {\n if (typeof customElements === \"undefined\") {\n return;\n }\n const components = [\"ion-infinite-scroll-content\", \"ion-spinner\"];\n components.forEach(tagName => { switch (tagName) {\n case \"ion-infinite-scroll-content\":\n if (!customElements.get(tagName)) {\n customElements.define(tagName, InfiniteScrollContent);\n }\n break;\n case \"ion-spinner\":\n if (!customElements.get(tagName)) {\n defineCustomElement$2();\n }\n break;\n } });\n}\n\nconst IonInfiniteScrollContent = InfiniteScrollContent;\nconst defineCustomElement = defineCustomElement$1;\n\nexport { IonInfiniteScrollContent, defineCustomElement };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { proxyCustomElement, HTMLElement, createEvent, Build, h, Host } from '@stencil/core/internal/client';\nimport { b as getIonMode } from './ionic-global.js';\nimport { l as debounceEvent, i as inheritAriaAttributes, k as inheritAttributes, m as findItemLabel } from './helpers.js';\nimport { c as createColorClasses } from './theme.js';\n\nconst inputIosCss = \".sc-ion-input-ios-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:.5;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--background:transparent;--color:initial;display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;width:100%;padding:0 !important;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2}ion-item.sc-ion-input-ios-h:not(.item-label),ion-item:not(.item-label) .sc-ion-input-ios-h{--padding-start:0}.ion-color.sc-ion-input-ios-h{color:var(--ion-color-base)}.native-input.sc-ion-input-ios{border-radius:var(--border-radius);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:inline-block;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.native-input.sc-ion-input-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.native-input.sc-ion-input-ios::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios:-webkit-autofill{background-color:transparent}.native-input.sc-ion-input-ios:invalid{-webkit-box-shadow:none;box-shadow:none}.native-input.sc-ion-input-ios::-ms-clear{display:none}.native-input[disabled].sc-ion-input-ios{opacity:0.4}.cloned-input.sc-ion-input-ios{left:0;top:0;position:absolute;pointer-events:none}[dir=rtl].sc-ion-input-ios .cloned-input.sc-ion-input-ios,[dir=rtl].sc-ion-input-ios-h .cloned-input.sc-ion-input-ios,[dir=rtl] .sc-ion-input-ios-h .cloned-input.sc-ion-input-ios{left:unset;right:unset;right:0}.input-clear-icon.sc-ion-input-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;background-position:center;border:0;outline:none;background-color:transparent;background-repeat:no-repeat;visibility:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}.input-clear-icon.sc-ion-input-ios:focus{opacity:0.5}.has-value.sc-ion-input-ios-h .input-clear-icon.sc-ion-input-ios{visibility:visible}.has-focus.sc-ion-input-ios-h{pointer-events:none}.has-focus.sc-ion-input-ios-h input.sc-ion-input-ios,.has-focus.sc-ion-input-ios-h a.sc-ion-input-ios,.has-focus.sc-ion-input-ios-h button.sc-ion-input-ios{pointer-events:auto}.item-label-floating.item-has-placeholder.sc-ion-input-ios-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-input-ios-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-input-ios-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-input-ios-h{-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.sc-ion-input-ios-h{--padding-top:10px;--padding-end:10px;--padding-bottom:10px;--padding-start:0;font-size:inherit}.item-label-stacked.sc-ion-input-ios-h,.item-label-stacked .sc-ion-input-ios-h,.item-label-floating.sc-ion-input-ios-h,.item-label-floating .sc-ion-input-ios-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0px}.input-clear-icon.sc-ion-input-ios{background-image:url(\\\"data:image/svg+xml;charset=utf-8,\\\");width:30px;height:30px;background-size:18px}\";\n\nconst inputMdCss = \".sc-ion-input-md-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:.5;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--background:transparent;--color:initial;display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;width:100%;padding:0 !important;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2}ion-item.sc-ion-input-md-h:not(.item-label),ion-item:not(.item-label) .sc-ion-input-md-h{--padding-start:0}.ion-color.sc-ion-input-md-h{color:var(--ion-color-base)}.native-input.sc-ion-input-md{border-radius:var(--border-radius);padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:inline-block;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.native-input.sc-ion-input-md{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.native-input.sc-ion-input-md::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md:-webkit-autofill{background-color:transparent}.native-input.sc-ion-input-md:invalid{-webkit-box-shadow:none;box-shadow:none}.native-input.sc-ion-input-md::-ms-clear{display:none}.native-input[disabled].sc-ion-input-md{opacity:0.4}.cloned-input.sc-ion-input-md{left:0;top:0;position:absolute;pointer-events:none}[dir=rtl].sc-ion-input-md .cloned-input.sc-ion-input-md,[dir=rtl].sc-ion-input-md-h .cloned-input.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h .cloned-input.sc-ion-input-md{left:unset;right:unset;right:0}.input-clear-icon.sc-ion-input-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;background-position:center;border:0;outline:none;background-color:transparent;background-repeat:no-repeat;visibility:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}.input-clear-icon.sc-ion-input-md:focus{opacity:0.5}.has-value.sc-ion-input-md-h .input-clear-icon.sc-ion-input-md{visibility:visible}.has-focus.sc-ion-input-md-h{pointer-events:none}.has-focus.sc-ion-input-md-h input.sc-ion-input-md,.has-focus.sc-ion-input-md-h a.sc-ion-input-md,.has-focus.sc-ion-input-md-h button.sc-ion-input-md{pointer-events:auto}.item-label-floating.item-has-placeholder.sc-ion-input-md-h:not(.item-has-value),.item-label-floating.item-has-placeholder:not(.item-has-value) .sc-ion-input-md-h{opacity:0}.item-label-floating.item-has-placeholder.sc-ion-input-md-h:not(.item-has-value).item-has-focus,.item-label-floating.item-has-placeholder:not(.item-has-value).item-has-focus .sc-ion-input-md-h{-webkit-transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);opacity:1}.sc-ion-input-md-h{--padding-top:10px;--padding-end:0;--padding-bottom:10px;--padding-start:8px;font-size:inherit}.item-label-stacked.sc-ion-input-md-h,.item-label-stacked .sc-ion-input-md-h,.item-label-floating.sc-ion-input-md-h,.item-label-floating .sc-ion-input-md-h{--padding-top:8px;--padding-bottom:8px;--padding-start:0}.input-clear-icon.sc-ion-input-md{background-image:url(\\\"data:image/svg+xml;charset=utf-8,\\\");width:30px;height:30px;background-size:22px}\";\n\nconst Input = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n this.ionInput = createEvent(this, \"ionInput\", 7);\n this.ionChange = createEvent(this, \"ionChange\", 7);\n this.ionBlur = createEvent(this, \"ionBlur\", 7);\n this.ionFocus = createEvent(this, \"ionFocus\", 7);\n this.ionStyle = createEvent(this, \"ionStyle\", 7);\n this.inputId = `ion-input-${inputIds++}`;\n this.didBlurAfterEdit = false;\n this.inheritedAttributes = {};\n this.isComposing = false;\n /**\n * This is required for a WebKit bug which requires us to\n * blur and focus an input to properly focus the input in\n * an item with delegatesFocus. It will no longer be needed\n * with iOS 14.\n *\n * @internal\n */\n this.fireFocusEvents = true;\n this.hasFocus = false;\n /**\n * Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.\n * Available options: `\"off\"`, `\"none\"`, `\"on\"`, `\"sentences\"`, `\"words\"`, `\"characters\"`.\n */\n this.autocapitalize = 'off';\n /**\n * Indicates whether the value of the control can be automatically completed by the browser.\n */\n this.autocomplete = 'off';\n /**\n * Whether auto correction should be enabled when the user is entering/editing the text value.\n */\n this.autocorrect = 'off';\n /**\n * This Boolean attribute lets you specify that a form control should have input focus when the page loads.\n */\n this.autofocus = false;\n /**\n * If `true`, a clear icon will appear in the input when there is a value. Clicking it clears the input.\n */\n this.clearInput = false;\n /**\n * Set the amount of time, in milliseconds, to wait to trigger the `ionChange` event after each keystroke. This also impacts form bindings such as `ngModel` or `v-model`.\n */\n this.debounce = 0;\n /**\n * If `true`, the user cannot interact with the input.\n */\n this.disabled = false;\n /**\n * The name of the control, which is submitted with the form data.\n */\n this.name = this.inputId;\n /**\n * If `true`, the user cannot modify the value.\n */\n this.readonly = false;\n /**\n * If `true`, the user must fill in a value before submitting a form.\n */\n this.required = false;\n /**\n * If `true`, the element will have its spelling and grammar checked.\n */\n this.spellcheck = false;\n /**\n * The type of control to display. The default type is text.\n */\n this.type = 'text';\n /**\n * The value of the input.\n */\n this.value = '';\n this.onInput = (ev) => {\n const input = ev.target;\n if (input) {\n this.value = input.value || '';\n }\n this.ionInput.emit(ev);\n };\n this.onBlur = (ev) => {\n this.hasFocus = false;\n this.focusChanged();\n this.emitStyle();\n if (this.fireFocusEvents) {\n this.ionBlur.emit(ev);\n }\n };\n this.onFocus = (ev) => {\n this.hasFocus = true;\n this.focusChanged();\n this.emitStyle();\n if (this.fireFocusEvents) {\n this.ionFocus.emit(ev);\n }\n };\n this.onKeydown = (ev) => {\n if (this.shouldClearOnEdit()) {\n // Did the input value change after it was blurred and edited?\n // Do not clear if user is hitting Enter to submit form\n if (this.didBlurAfterEdit && this.hasValue() && ev.key !== 'Enter') {\n // Clear the input\n this.clearTextInput();\n }\n // Reset the flag\n this.didBlurAfterEdit = false;\n }\n };\n this.onCompositionStart = () => {\n this.isComposing = true;\n };\n this.onCompositionEnd = () => {\n this.isComposing = false;\n };\n this.clearTextOnEnter = (ev) => {\n if (ev.key === 'Enter') {\n this.clearTextInput(ev);\n }\n };\n this.clearTextInput = (ev) => {\n if (this.clearInput && !this.readonly && !this.disabled && ev) {\n ev.preventDefault();\n ev.stopPropagation();\n // Attempt to focus input again after pressing clear button\n this.setFocus();\n }\n this.value = '';\n /**\n * This is needed for clearOnEdit\n * Otherwise the value will not be cleared\n * if user is inside the input\n */\n if (this.nativeInput) {\n this.nativeInput.value = '';\n }\n };\n }\n debounceChanged() {\n this.ionChange = debounceEvent(this.ionChange, this.debounce);\n }\n disabledChanged() {\n this.emitStyle();\n }\n /**\n * Update the item classes when the placeholder changes\n */\n placeholderChanged() {\n this.emitStyle();\n }\n /**\n * Update the native input element when the value changes\n */\n valueChanged() {\n const nativeInput = this.nativeInput;\n const value = this.getValue();\n if (nativeInput && nativeInput.value !== value && !this.isComposing) {\n /**\n * Assigning the native input's value on attribute\n * value change, allows `ionInput` implementations\n * to override the control's value.\n *\n * Used for patterns such as input trimming (removing whitespace),\n * or input masking.\n */\n nativeInput.value = value;\n }\n this.emitStyle();\n this.ionChange.emit({ value: this.value == null ? this.value : this.value.toString() });\n }\n componentWillLoad() {\n this.inheritedAttributes = Object.assign(Object.assign({}, inheritAriaAttributes(this.el)), inheritAttributes(this.el, ['tabindex', 'title']));\n }\n connectedCallback() {\n this.emitStyle();\n this.debounceChanged();\n if (Build.isBrowser) {\n document.dispatchEvent(new CustomEvent('ionInputDidLoad', {\n detail: this.el,\n }));\n }\n }\n componentDidLoad() {\n const nativeInput = this.nativeInput;\n if (nativeInput) {\n // TODO: FW-729 Update to JSX bindings when Stencil resolves bug with:\n // https://github.com/ionic-team/stencil/issues/3235\n nativeInput.addEventListener('compositionstart', this.onCompositionStart);\n nativeInput.addEventListener('compositionend', this.onCompositionEnd);\n }\n }\n disconnectedCallback() {\n if (Build.isBrowser) {\n document.dispatchEvent(new CustomEvent('ionInputDidUnload', {\n detail: this.el,\n }));\n }\n const nativeInput = this.nativeInput;\n if (nativeInput) {\n nativeInput.removeEventListener('compositionstart', this.onCompositionStart);\n nativeInput.removeEventListener('compositionEnd', this.onCompositionEnd);\n }\n }\n /**\n * Sets focus on the native `input` in `ion-input`. Use this method instead of the global\n * `input.focus()`.\n */\n async setFocus() {\n if (this.nativeInput) {\n this.nativeInput.focus();\n }\n }\n /**\n * Sets blur on the native `input` in `ion-input`. Use this method instead of the global\n * `input.blur()`.\n * @internal\n */\n async setBlur() {\n if (this.nativeInput) {\n this.nativeInput.blur();\n }\n }\n /**\n * Returns the native `` element used under the hood.\n */\n getInputElement() {\n return Promise.resolve(this.nativeInput);\n }\n shouldClearOnEdit() {\n const { type, clearOnEdit } = this;\n return clearOnEdit === undefined ? type === 'password' : clearOnEdit;\n }\n getValue() {\n return typeof this.value === 'number' ? this.value.toString() : (this.value || '').toString();\n }\n emitStyle() {\n this.ionStyle.emit({\n interactive: true,\n input: true,\n 'has-placeholder': this.placeholder !== undefined,\n 'has-value': this.hasValue(),\n 'has-focus': this.hasFocus,\n 'interactive-disabled': this.disabled,\n });\n }\n focusChanged() {\n // If clearOnEdit is enabled and the input blurred but has a value, set a flag\n if (!this.hasFocus && this.shouldClearOnEdit() && this.hasValue()) {\n this.didBlurAfterEdit = true;\n }\n }\n hasValue() {\n return this.getValue().length > 0;\n }\n render() {\n const mode = getIonMode(this);\n const value = this.getValue();\n const labelId = this.inputId + '-lbl';\n const label = findItemLabel(this.el);\n if (label) {\n label.id = labelId;\n }\n return (h(Host, { \"aria-disabled\": this.disabled ? 'true' : null, class: createColorClasses(this.color, {\n [mode]: true,\n 'has-value': this.hasValue(),\n 'has-focus': this.hasFocus,\n }) }, h(\"input\", Object.assign({ class: \"native-input\", ref: (input) => (this.nativeInput = input), \"aria-labelledby\": label ? labelId : null, disabled: this.disabled, accept: this.accept, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, multiple: this.multiple, name: this.name, pattern: this.pattern, placeholder: this.placeholder || '', readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, size: this.size, type: this.type, value: value, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeydown }, this.inheritedAttributes)), this.clearInput && !this.readonly && !this.disabled && (h(\"button\", { \"aria-label\": \"reset\", type: \"button\", class: \"input-clear-icon\", onTouchStart: this.clearTextInput, onMouseDown: this.clearTextInput, onKeyDown: this.clearTextOnEnter }))));\n }\n get el() { return this; }\n static get watchers() { return {\n \"debounce\": [\"debounceChanged\"],\n \"disabled\": [\"disabledChanged\"],\n \"placeholder\": [\"placeholderChanged\"],\n \"value\": [\"valueChanged\"]\n }; }\n static get style() { return {\n ios: inputIosCss,\n md: inputMdCss\n }; }\n}, [34, \"ion-input\", {\n \"fireFocusEvents\": [4, \"fire-focus-events\"],\n \"color\": [513],\n \"accept\": [1],\n \"autocapitalize\": [1],\n \"autocomplete\": [1],\n \"autocorrect\": [1],\n \"autofocus\": [4],\n \"clearInput\": [4, \"clear-input\"],\n \"clearOnEdit\": [4, \"clear-on-edit\"],\n \"debounce\": [2],\n \"disabled\": [4],\n \"enterkeyhint\": [1],\n \"inputmode\": [1],\n \"max\": [8],\n \"maxlength\": [2],\n \"min\": [8],\n \"minlength\": [2],\n \"multiple\": [4],\n \"name\": [1],\n \"pattern\": [1],\n \"placeholder\": [1],\n \"readonly\": [4],\n \"required\": [4],\n \"spellcheck\": [4],\n \"step\": [1],\n \"size\": [2],\n \"type\": [1],\n \"value\": [1032],\n \"hasFocus\": [32],\n \"setFocus\": [64],\n \"setBlur\": [64],\n \"getInputElement\": [64]\n }]);\nlet inputIds = 0;\nfunction defineCustomElement$1() {\n if (typeof customElements === \"undefined\") {\n return;\n }\n const components = [\"ion-input\"];\n components.forEach(tagName => { switch (tagName) {\n case \"ion-input\":\n if (!customElements.get(tagName)) {\n customElements.define(tagName, Input);\n }\n break;\n } });\n}\n\nconst IonInput = Input;\nconst defineCustomElement = defineCustomElement$1;\n\nexport { IonInput, defineCustomElement };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\n/* Ionicons v6.0.2, ES Modules */\nconst arrowBackSharp = \"data:image/svg+xml;utf8,Arrow Back\";\nconst arrowDown = \"data:image/svg+xml;utf8,Arrow Down\";\nconst caretBackSharp = \"data:image/svg+xml;utf8,Caret Back\";\nconst caretDownSharp = \"data:image/svg+xml;utf8,Caret Down\";\nconst caretUpSharp = \"data:image/svg+xml;utf8,Caret Up\";\nconst chevronBack = \"data:image/svg+xml;utf8,Chevron Back\";\nconst chevronDown = \"data:image/svg+xml;utf8,Chevron Down\";\nconst chevronForward = \"data:image/svg+xml;utf8,Chevron Forward\";\nconst chevronForwardOutline = \"data:image/svg+xml;utf8,Chevron Forward\";\nconst close = \"data:image/svg+xml;utf8,Close\";\nconst closeCircle = \"data:image/svg+xml;utf8,Close Circle\";\nconst closeSharp = \"data:image/svg+xml;utf8,Close\";\nconst ellipsisHorizontal = \"data:image/svg+xml;utf8,Ellipsis Horizontal\";\nconst menuOutline = \"data:image/svg+xml;utf8,Menu\";\nconst menuSharp = \"data:image/svg+xml;utf8,Menu\";\nconst reorderThreeOutline = \"data:image/svg+xml;utf8,Reorder Three\";\nconst reorderTwoSharp = \"data:image/svg+xml;utf8,Reorder Two\";\nconst searchOutline = \"data:image/svg+xml;utf8,Search\";\nconst searchSharp = \"data:image/svg+xml;utf8,Search\";\n\nexport { chevronBack as a, arrowBackSharp as b, chevronDown as c, chevronForwardOutline as d, ellipsisHorizontal as e, chevronForward as f, caretUpSharp as g, caretDownSharp as h, close as i, menuSharp as j, caretBackSharp as k, arrowDown as l, menuOutline as m, reorderTwoSharp as n, closeCircle as o, closeSharp as p, searchSharp as q, reorderThreeOutline as r, searchOutline as s };\n","/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { getAssetPath, proxyCustomElement, HTMLElement, Build, h, Host } from '@stencil/core/internal/client';\n\nlet CACHED_MAP;\nconst getIconMap = () => {\n if (typeof window === 'undefined') {\n return new Map();\n }\n else {\n if (!CACHED_MAP) {\n const win = window;\n win.Ionicons = win.Ionicons || {};\n CACHED_MAP = win.Ionicons.map = win.Ionicons.map || new Map();\n }\n return CACHED_MAP;\n }\n};\nconst getUrl = (i) => {\n let url = getSrc(i.src);\n if (url) {\n return url;\n }\n url = getName(i.name, i.icon, i.mode, i.ios, i.md);\n if (url) {\n return getNamedUrl(url);\n }\n if (i.icon) {\n url = getSrc(i.icon);\n if (url) {\n return url;\n }\n url = getSrc(i.icon[i.mode]);\n if (url) {\n return url;\n }\n }\n return null;\n};\nconst getNamedUrl = (iconName) => {\n const url = getIconMap().get(iconName);\n if (url) {\n return url;\n }\n return getAssetPath(`svg/${iconName}.svg`);\n};\nconst getName = (iconName, icon, mode, ios, md) => {\n // default to \"md\" if somehow the mode wasn't set\n mode = (mode && toLower(mode)) === 'ios' ? 'ios' : 'md';\n // if an icon was passed in using the ios or md attributes\n // set the iconName to whatever was passed in\n if (ios && mode === 'ios') {\n iconName = toLower(ios);\n }\n else if (md && mode === 'md') {\n iconName = toLower(md);\n }\n else {\n if (!iconName && icon && !isSrc(icon)) {\n iconName = icon;\n }\n if (isStr(iconName)) {\n iconName = toLower(iconName);\n }\n }\n if (!isStr(iconName) || iconName.trim() === '') {\n return null;\n }\n // only allow alpha characters and dash\n const invalidChars = iconName.replace(/[a-z]|-|\\d/gi, '');\n if (invalidChars !== '') {\n return null;\n }\n return iconName;\n};\nconst getSrc = (src) => {\n if (isStr(src)) {\n src = src.trim();\n if (isSrc(src)) {\n return src;\n }\n }\n return null;\n};\nconst isSrc = (str) => str.length > 0 && /(\\/|\\.)/.test(str);\nconst isStr = (val) => typeof val === 'string';\nconst toLower = (val) => val.toLowerCase();\n/**\n * Elements inside of web components sometimes need to inherit global attributes\n * set on the host. For example, the inner input in `ion-input` should inherit\n * the `title` attribute that developers set directly on `ion-input`. This\n * helper function should be called in componentWillLoad and assigned to a variable\n * that is later used in the render function.\n *\n * This does not need to be reactive as changing attributes on the host element\n * does not trigger a re-render.\n */\nconst inheritAttributes = (el, attributes = []) => {\n const attributeObject = {};\n attributes.forEach(attr => {\n if (el.hasAttribute(attr)) {\n const value = el.getAttribute(attr);\n if (value !== null) {\n attributeObject[attr] = el.getAttribute(attr);\n }\n el.removeAttribute(attr);\n }\n });\n return attributeObject;\n};\n\nconst validateContent = (svgContent) => {\n const div = document.createElement('div');\n div.innerHTML = svgContent;\n // setup this way to ensure it works on our buddy IE\n for (let i = div.childNodes.length - 1; i >= 0; i--) {\n if (div.childNodes[i].nodeName.toLowerCase() !== 'svg') {\n div.removeChild(div.childNodes[i]);\n }\n }\n // must only have 1 root element\n const svgElm = div.firstElementChild;\n if (svgElm && svgElm.nodeName.toLowerCase() === 'svg') {\n const svgClass = svgElm.getAttribute('class') || '';\n svgElm.setAttribute('class', (svgClass + ' s-ion-icon').trim());\n // root element must be an svg\n // lets double check we've got valid elements\n // do not allow scripts\n if (isValid(svgElm)) {\n return div.innerHTML;\n }\n }\n return '';\n};\nconst isValid = (elm) => {\n if (elm.nodeType === 1) {\n if (elm.nodeName.toLowerCase() === 'script') {\n return false;\n }\n for (let i = 0; i < elm.attributes.length; i++) {\n const val = elm.attributes[i].value;\n if (isStr(val) && val.toLowerCase().indexOf('on') === 0) {\n return false;\n }\n }\n for (let i = 0; i < elm.childNodes.length; i++) {\n if (!isValid(elm.childNodes[i])) {\n return false;\n }\n }\n }\n return true;\n};\n\nconst ioniconContent = new Map();\nconst requests = new Map();\nconst getSvgContent = (url, sanitize) => {\n // see if we already have a request for this url\n let req = requests.get(url);\n if (!req) {\n if (typeof fetch !== 'undefined' && typeof document !== 'undefined') {\n // we don't already have a request\n req = fetch(url).then((rsp) => {\n if (rsp.ok) {\n return rsp.text().then((svgContent) => {\n if (svgContent && sanitize !== false) {\n svgContent = validateContent(svgContent);\n }\n ioniconContent.set(url, svgContent || '');\n });\n }\n ioniconContent.set(url, '');\n });\n // cache for the same requests\n requests.set(url, req);\n }\n else {\n // set to empty for ssr scenarios and resolve promise\n ioniconContent.set(url, '');\n return Promise.resolve();\n }\n }\n return req;\n};\n\nconst iconCss = \":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}:host(.flip-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.icon-small){font-size:18px !important}:host(.icon-large){font-size:32px !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}\";\n\nconst Icon = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n this.__attachShadow();\n this.iconName = null;\n this.inheritedAttributes = {};\n this.isVisible = false;\n /**\n * The mode determines which platform styles to use.\n */\n this.mode = getIonMode();\n /**\n * If enabled, ion-icon will be loaded lazily when it's visible in the viewport.\n * Default, `false`.\n */\n this.lazy = false;\n /**\n * When set to `false`, SVG content that is HTTP fetched will not be checked\n * if the response SVG content has any `\n // ```\n // In this case if we do not unshadow here and use the value of the shadowing property, attributeChangedCallback\n // will be called with `newValue = \"some-value\"` and will set the shadowed property (this.someAttribute = \"another-value\")\n // to the value that was set inline i.e. \"some-value\" from above example. When\n // the connectedCallback attempts to unshadow it will use \"some-value\" as the initial value rather than \"another-value\"\n //\n // The case where the attribute was NOT set inline but was not set programmatically shall be handled/unshadowed\n // by connectedCallback as this attributeChangedCallback will not fire.\n //\n // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties\n //\n // TODO(STENCIL-16) we should think about whether or not we actually want to be reflecting the attributes to\n // properties here given that this goes against best practices outlined here\n // https://developers.google.com/web/fundamentals/web-components/best-practices#avoid-reentrancy\n if (this.hasOwnProperty(propName)) {\n newValue = this[propName];\n delete this[propName];\n }\n else if (prototype.hasOwnProperty(propName) &&\n typeof this[propName] === 'number' &&\n this[propName] == newValue) {\n // if the propName exists on the prototype of `Cstr`, this update may be a result of Stencil using native\n // APIs to reflect props as attributes. Calls to `setAttribute(someElement, propName)` will result in\n // `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.\n return;\n }\n this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;\n });\n };\n // create an array of attributes to observe\n // and also create a map of html attribute name to js property name\n Cstr.observedAttributes = members\n .filter(([_, m]) => m[0] & 15 /* HasAttribute */) // filter to only keep props that should match attributes\n .map(([propName, m]) => {\n const attrName = m[1] || propName;\n attrNameToPropName.set(attrName, propName);\n if (BUILD.reflect && m[0] & 512 /* ReflectAttr */) {\n cmpMeta.$attrsToReflect$.push([propName, attrName]);\n }\n return attrName;\n });\n }\n }\n return Cstr;\n};\nconst initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {\n // initializeComponent\n if ((BUILD.lazyLoad || BUILD.hydrateServerSide || BUILD.style) &&\n (hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {\n if (BUILD.lazyLoad || BUILD.hydrateClientSide) {\n // we haven't initialized this element yet\n hostRef.$flags$ |= 32 /* hasInitializedComponent */;\n // lazy loaded components\n // request the component's implementation to be\n // wired up with the host element\n Cstr = loadModule(cmpMeta, hostRef, hmrVersionId);\n if (Cstr.then) {\n // Await creates a micro-task avoid if possible\n const endLoad = uniqueTime(`st:load:${cmpMeta.$tagName$}:${hostRef.$modeName$}`, `[Stencil] Load module for <${cmpMeta.$tagName$}>`);\n Cstr = await Cstr;\n endLoad();\n }\n if ((BUILD.isDev || BUILD.isDebug) && !Cstr) {\n throw new Error(`Constructor for \"${cmpMeta.$tagName$}#${hostRef.$modeName$}\" was not found`);\n }\n if (BUILD.member && !Cstr.isProxied) {\n // we've never proxied this Constructor before\n // let's add the getters/setters to its prototype before\n // the first time we create an instance of the implementation\n if (BUILD.watchCallback) {\n cmpMeta.$watchers$ = Cstr.watchers;\n }\n proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);\n Cstr.isProxied = true;\n }\n const endNewInstance = createTime('createInstance', cmpMeta.$tagName$);\n // ok, time to construct the instance\n // but let's keep track of when we start and stop\n // so that the getters/setters don't incorrectly step on data\n if (BUILD.member) {\n hostRef.$flags$ |= 8 /* isConstructingInstance */;\n }\n // construct the lazy-loaded component implementation\n // passing the hostRef is very important during\n // construction in order to directly wire together the\n // host element and the lazy-loaded instance\n try {\n new Cstr(hostRef);\n }\n catch (e) {\n consoleError(e);\n }\n if (BUILD.member) {\n hostRef.$flags$ &= ~8 /* isConstructingInstance */;\n }\n if (BUILD.watchCallback) {\n hostRef.$flags$ |= 128 /* isWatchReady */;\n }\n endNewInstance();\n fireConnectedCallback(hostRef.$lazyInstance$);\n }\n else {\n // sync constructor component\n Cstr = elm.constructor;\n hostRef.$flags$ |= 32 /* hasInitializedComponent */;\n // wait for the CustomElementRegistry to mark the component as ready before setting `isWatchReady`. Otherwise,\n // watchers may fire prematurely if `customElements.get()`/`customElements.whenDefined()` resolves _before_\n // Stencil has completed instantiating the component.\n customElements.whenDefined(cmpMeta.$tagName$).then(() => (hostRef.$flags$ |= 128 /* isWatchReady */));\n }\n if (BUILD.style && Cstr.style) {\n // this component has styles but we haven't registered them yet\n let style = Cstr.style;\n if (BUILD.mode && typeof style !== 'string') {\n style = style[(hostRef.$modeName$ = computeMode(elm))];\n if (BUILD.hydrateServerSide && hostRef.$modeName$) {\n elm.setAttribute('s-mode', hostRef.$modeName$);\n }\n }\n const scopeId = getScopeId(cmpMeta, hostRef.$modeName$);\n if (!styles.has(scopeId)) {\n const endRegisterStyles = createTime('registerStyles', cmpMeta.$tagName$);\n if (!BUILD.hydrateServerSide &&\n BUILD.shadowDom &&\n BUILD.shadowDomShim &&\n cmpMeta.$flags$ & 8 /* needsShadowDomShim */) {\n style = await import('./shadow-css.js').then((m) => m.scopeCss(style, scopeId, false));\n }\n registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));\n endRegisterStyles();\n }\n }\n }\n // we've successfully created a lazy instance\n const ancestorComponent = hostRef.$ancestorComponent$;\n const schedule = () => scheduleUpdate(hostRef, true);\n if (BUILD.asyncLoading && ancestorComponent && ancestorComponent['s-rc']) {\n // this is the initial load and this component it has an ancestor component\n // but the ancestor component has NOT fired its will update lifecycle yet\n // so let's just cool our jets and wait for the ancestor to continue first\n // this will get fired off when the ancestor component\n // finally gets around to rendering its lazy self\n // fire off the initial update\n ancestorComponent['s-rc'].push(schedule);\n }\n else {\n schedule();\n }\n};\nconst fireConnectedCallback = (instance) => {\n if (BUILD.lazyLoad && BUILD.connectedCallback) {\n safeCall(instance, 'connectedCallback');\n }\n};\nconst connectedCallback = (elm) => {\n if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {\n const hostRef = getHostRef(elm);\n const cmpMeta = hostRef.$cmpMeta$;\n const endConnected = createTime('connectedCallback', cmpMeta.$tagName$);\n if (BUILD.hostListenerTargetParent) {\n // only run if we have listeners being attached to a parent\n addHostEventListeners(elm, hostRef, cmpMeta.$listeners$, true);\n }\n if (!(hostRef.$flags$ & 1 /* hasConnected */)) {\n // first time this component has connected\n hostRef.$flags$ |= 1 /* hasConnected */;\n let hostId;\n if (BUILD.hydrateClientSide) {\n hostId = elm.getAttribute(HYDRATE_ID);\n if (hostId) {\n if (BUILD.shadowDom && supportsShadow && cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {\n const scopeId = BUILD.mode\n ? addStyle(elm.shadowRoot, cmpMeta, elm.getAttribute('s-mode'))\n : addStyle(elm.shadowRoot, cmpMeta);\n elm.classList.remove(scopeId + '-h', scopeId + '-s');\n }\n initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);\n }\n }\n if (BUILD.slotRelocation && !hostId) {\n // initUpdate\n // if the slot polyfill is required we'll need to put some nodes\n // in here to act as original content anchors as we move nodes around\n // host element has been connected to the DOM\n if (BUILD.hydrateServerSide ||\n ((BUILD.slot || BUILD.shadowDom) &&\n cmpMeta.$flags$ & (4 /* hasSlotRelocation */ | 8 /* needsShadowDomShim */))) {\n setContentReference(elm);\n }\n }\n if (BUILD.asyncLoading) {\n // find the first ancestor component (if there is one) and register\n // this component as one of the actively loading child components for its ancestor\n let ancestorComponent = elm;\n while ((ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host)) {\n // climb up the ancestors looking for the first\n // component that hasn't finished its lifecycle update yet\n if ((BUILD.hydrateClientSide &&\n ancestorComponent.nodeType === 1 /* ElementNode */ &&\n ancestorComponent.hasAttribute('s-id') &&\n ancestorComponent['s-p']) ||\n ancestorComponent['s-p']) {\n // we found this components first ancestor component\n // keep a reference to this component's ancestor component\n attachToAncestor(hostRef, (hostRef.$ancestorComponent$ = ancestorComponent));\n break;\n }\n }\n }\n // Lazy properties\n // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties\n if (BUILD.prop && !BUILD.hydrateServerSide && cmpMeta.$members$) {\n Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {\n if (memberFlags & 31 /* Prop */ && elm.hasOwnProperty(memberName)) {\n const value = elm[memberName];\n delete elm[memberName];\n elm[memberName] = value;\n }\n });\n }\n if (BUILD.initializeNextTick) {\n // connectedCallback, taskQueue, initialLoad\n // angular sets attribute AFTER connectCallback\n // https://github.com/angular/angular/issues/18909\n // https://github.com/angular/angular/issues/19940\n nextTick(() => initializeComponent(elm, hostRef, cmpMeta));\n }\n else {\n initializeComponent(elm, hostRef, cmpMeta);\n }\n }\n else {\n // not the first time this has connected\n // reattach any event listeners to the host\n // since they would have been removed when disconnected\n addHostEventListeners(elm, hostRef, cmpMeta.$listeners$, false);\n // fire off connectedCallback() on component instance\n fireConnectedCallback(hostRef.$lazyInstance$);\n }\n endConnected();\n }\n};\nconst setContentReference = (elm) => {\n // only required when we're NOT using native shadow dom (slot)\n // or this browser doesn't support native shadow dom\n // and this host element was NOT created with SSR\n // let's pick out the inner content for slot projection\n // create a node to represent where the original\n // content was first placed, which is useful later on\n const contentRefElm = (elm['s-cr'] = doc.createComment(BUILD.isDebug ? `content-ref (host=${elm.localName})` : ''));\n contentRefElm['s-cn'] = true;\n elm.insertBefore(contentRefElm, elm.firstChild);\n};\nconst disconnectedCallback = (elm) => {\n if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {\n const hostRef = getHostRef(elm);\n const instance = BUILD.lazyLoad ? hostRef.$lazyInstance$ : elm;\n if (BUILD.hostListener) {\n if (hostRef.$rmListeners$) {\n hostRef.$rmListeners$.map((rmListener) => rmListener());\n hostRef.$rmListeners$ = undefined;\n }\n }\n // clear CSS var-shim tracking\n if (BUILD.cssVarShim && plt.$cssShim$) {\n plt.$cssShim$.removeHost(elm);\n }\n if (BUILD.lazyLoad && BUILD.disconnectedCallback) {\n safeCall(instance, 'disconnectedCallback');\n }\n if (BUILD.cmpDidUnload) {\n safeCall(instance, 'componentDidUnload');\n }\n }\n};\nconst defineCustomElement = (Cstr, compactMeta) => {\n customElements.define(compactMeta[1], proxyCustomElement(Cstr, compactMeta));\n};\nconst proxyCustomElement = (Cstr, compactMeta) => {\n const cmpMeta = {\n $flags$: compactMeta[0],\n $tagName$: compactMeta[1],\n };\n if (BUILD.member) {\n cmpMeta.$members$ = compactMeta[2];\n }\n if (BUILD.hostListener) {\n cmpMeta.$listeners$ = compactMeta[3];\n }\n if (BUILD.watchCallback) {\n cmpMeta.$watchers$ = Cstr.$watchers$;\n }\n if (BUILD.reflect) {\n cmpMeta.$attrsToReflect$ = [];\n }\n if (BUILD.shadowDom && !supportsShadow && cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {\n cmpMeta.$flags$ |= 8 /* needsShadowDomShim */;\n }\n const originalConnectedCallback = Cstr.prototype.connectedCallback;\n const originalDisconnectedCallback = Cstr.prototype.disconnectedCallback;\n Object.assign(Cstr.prototype, {\n __registerHost() {\n registerHost(this, cmpMeta);\n },\n connectedCallback() {\n connectedCallback(this);\n if (BUILD.connectedCallback && originalConnectedCallback) {\n originalConnectedCallback.call(this);\n }\n },\n disconnectedCallback() {\n disconnectedCallback(this);\n if (BUILD.disconnectedCallback && originalDisconnectedCallback) {\n originalDisconnectedCallback.call(this);\n }\n },\n __attachShadow() {\n if (supportsShadow) {\n if (BUILD.shadowDelegatesFocus) {\n this.attachShadow({\n mode: 'open',\n delegatesFocus: !!(cmpMeta.$flags$ & 16 /* shadowDelegatesFocus */),\n });\n }\n else {\n this.attachShadow({ mode: 'open' });\n }\n }\n else {\n this.shadowRoot = this;\n }\n },\n });\n Cstr.is = cmpMeta.$tagName$;\n return proxyComponent(Cstr, cmpMeta, 1 /* isElementConstructor */ | 2 /* proxyState */);\n};\nconst forceModeUpdate = (elm) => {\n if (BUILD.style && BUILD.mode && !BUILD.lazyLoad) {\n const mode = computeMode(elm);\n const hostRef = getHostRef(elm);\n if (hostRef.$modeName$ !== mode) {\n const cmpMeta = hostRef.$cmpMeta$;\n const oldScopeId = elm['s-sc'];\n const scopeId = getScopeId(cmpMeta, mode);\n const style = elm.constructor.style[mode];\n const flags = cmpMeta.$flags$;\n if (style) {\n if (!styles.has(scopeId)) {\n registerStyle(scopeId, style, !!(flags & 1 /* shadowDomEncapsulation */));\n }\n hostRef.$modeName$ = mode;\n elm.classList.remove(oldScopeId + '-h', oldScopeId + '-s');\n attachStyles(hostRef);\n forceUpdate(elm);\n }\n }\n }\n};\nconst hmrStart = (elm, cmpMeta, hmrVersionId) => {\n // ¯\\_(ツ)_/¯\n const hostRef = getHostRef(elm);\n // reset state flags to only have been connected\n hostRef.$flags$ = 1 /* hasConnected */;\n // TODO\n // detatch any event listeners that may have been added\n // because we're not passing an exact event name it'll\n // remove all of this element's event, which is good\n // create a callback for when this component finishes hmr\n elm['s-hmr-load'] = () => {\n // finished hmr for this element\n delete elm['s-hmr-load'];\n };\n // re-initialize the component\n initializeComponent(elm, hostRef, cmpMeta, hmrVersionId);\n};\nconst patchCloneNode = (HostElementPrototype) => {\n const orgCloneNode = HostElementPrototype.cloneNode;\n HostElementPrototype.cloneNode = function (deep) {\n const srcNode = this;\n const isShadowDom = BUILD.shadowDom ? srcNode.shadowRoot && supportsShadow : false;\n const clonedNode = orgCloneNode.call(srcNode, isShadowDom ? deep : false);\n if (BUILD.slot && !isShadowDom && deep) {\n let i = 0;\n let slotted, nonStencilNode;\n const stencilPrivates = [\n 's-id',\n 's-cr',\n 's-lr',\n 's-rc',\n 's-sc',\n 's-p',\n 's-cn',\n 's-sr',\n 's-sn',\n 's-hn',\n 's-ol',\n 's-nr',\n 's-si',\n ];\n for (; i < srcNode.childNodes.length; i++) {\n slotted = srcNode.childNodes[i]['s-nr'];\n nonStencilNode = stencilPrivates.every((privateField) => !srcNode.childNodes[i][privateField]);\n if (slotted) {\n if (BUILD.appendChildSlotFix && clonedNode.__appendChild) {\n clonedNode.__appendChild(slotted.cloneNode(true));\n }\n else {\n clonedNode.appendChild(slotted.cloneNode(true));\n }\n }\n if (nonStencilNode) {\n clonedNode.appendChild(srcNode.childNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nconst patchSlotAppendChild = (HostElementPrototype) => {\n HostElementPrototype.__appendChild = HostElementPrototype.appendChild;\n HostElementPrototype.appendChild = function (newChild) {\n const slotName = (newChild['s-sn'] = getSlotName(newChild));\n const slotNode = getHostSlotNode(this.childNodes, slotName);\n if (slotNode) {\n const slotChildNodes = getHostSlotChildNodes(slotNode, slotName);\n const appendAfter = slotChildNodes[slotChildNodes.length - 1];\n return appendAfter.parentNode.insertBefore(newChild, appendAfter.nextSibling);\n }\n return this.__appendChild(newChild);\n };\n};\n/**\n * Patches the text content of an unnamed slotted node inside a scoped component\n * @param hostElementPrototype the `Element` to be patched\n * @param cmpMeta component runtime metadata used to determine if the component should be patched or not\n */\nconst patchTextContent = (hostElementPrototype, cmpMeta) => {\n if (BUILD.scoped && cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {\n const descriptor = Object.getOwnPropertyDescriptor(Node.prototype, 'textContent');\n Object.defineProperty(hostElementPrototype, '__textContent', descriptor);\n Object.defineProperty(hostElementPrototype, 'textContent', {\n get() {\n var _a;\n // get the 'default slot', which would be the first slot in a shadow tree (if we were using one), whose name is\n // the empty string\n const slotNode = getHostSlotNode(this.childNodes, '');\n // when a slot node is found, the textContent _may_ be found in the next sibling (text) node, depending on how\n // nodes were reordered during the vdom render. first try to get the text content from the sibling.\n if (((_a = slotNode === null || slotNode === void 0 ? void 0 : slotNode.nextSibling) === null || _a === void 0 ? void 0 : _a.nodeType) === 3 /* TEXT_NODE */) {\n return slotNode.nextSibling.textContent;\n }\n else if (slotNode) {\n return slotNode.textContent;\n }\n else {\n // fallback to the original implementation\n return this.__textContent;\n }\n },\n set(value) {\n var _a;\n // get the 'default slot', which would be the first slot in a shadow tree (if we were using one), whose name is\n // the empty string\n const slotNode = getHostSlotNode(this.childNodes, '');\n // when a slot node is found, the textContent _may_ need to be placed in the next sibling (text) node,\n // depending on how nodes were reordered during the vdom render. first try to set the text content on the\n // sibling.\n if (((_a = slotNode === null || slotNode === void 0 ? void 0 : slotNode.nextSibling) === null || _a === void 0 ? void 0 : _a.nodeType) === 3 /* TEXT_NODE */) {\n slotNode.nextSibling.textContent = value;\n }\n else if (slotNode) {\n slotNode.textContent = value;\n }\n else {\n // we couldn't find a slot, but that doesn't mean that there isn't one. if this check ran before the DOM\n // loaded, we could have missed it. check for a content reference element on the scoped component and insert\n // it there\n this.__textContent = value;\n const contentRefElm = this['s-cr'];\n if (contentRefElm) {\n this.insertBefore(contentRefElm, this.firstChild);\n }\n }\n },\n });\n }\n};\nconst patchChildSlotNodes = (elm, cmpMeta) => {\n class FakeNodeList extends Array {\n item(n) {\n return this[n];\n }\n }\n if (cmpMeta.$flags$ & 8 /* needsShadowDomShim */) {\n const childNodesFn = elm.__lookupGetter__('childNodes');\n Object.defineProperty(elm, 'children', {\n get() {\n return this.childNodes.map((n) => n.nodeType === 1);\n },\n });\n Object.defineProperty(elm, 'childElementCount', {\n get() {\n return elm.children.length;\n },\n });\n Object.defineProperty(elm, 'childNodes', {\n get() {\n const childNodes = childNodesFn.call(this);\n if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0 &&\n getHostRef(this).$flags$ & 2 /* hasRendered */) {\n const result = new FakeNodeList();\n for (let i = 0; i < childNodes.length; i++) {\n const slot = childNodes[i]['s-nr'];\n if (slot) {\n result.push(slot);\n }\n }\n return result;\n }\n return FakeNodeList.from(childNodes);\n },\n });\n }\n};\nconst getSlotName = (node) => node['s-sn'] || (node.nodeType === 1 && node.getAttribute('slot')) || '';\n/**\n * Recursively searches a series of child nodes for a slot with the provided name.\n * @param childNodes the nodes to search for a slot with a specific name.\n * @param slotName the name of the slot to match on.\n * @returns a reference to the slot node that matches the provided name, `null` otherwise\n */\nconst getHostSlotNode = (childNodes, slotName) => {\n let i = 0;\n let childNode;\n for (; i < childNodes.length; i++) {\n childNode = childNodes[i];\n if (childNode['s-sr'] && childNode['s-sn'] === slotName) {\n return childNode;\n }\n childNode = getHostSlotNode(childNode.childNodes, slotName);\n if (childNode) {\n return childNode;\n }\n }\n return null;\n};\nconst getHostSlotChildNodes = (n, slotName) => {\n const childNodes = [n];\n while ((n = n.nextSibling) && n['s-sn'] === slotName) {\n childNodes.push(n);\n }\n return childNodes;\n};\nconst bootstrapLazy = (lazyBundles, options = {}) => {\n if (BUILD.profile && performance.mark) {\n performance.mark('st:app:start');\n }\n installDevTools();\n const endBootstrap = createTime('bootstrapLazy');\n const cmpTags = [];\n const exclude = options.exclude || [];\n const customElements = win.customElements;\n const head = doc.head;\n const metaCharset = /*@__PURE__*/ head.querySelector('meta[charset]');\n const visibilityStyle = /*@__PURE__*/ doc.createElement('style');\n const deferredConnectedCallbacks = [];\n const styles = /*@__PURE__*/ doc.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);\n let appLoadFallback;\n let isBootstrapping = true;\n let i = 0;\n Object.assign(plt, options);\n plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;\n if (BUILD.asyncQueue) {\n if (options.syncQueue) {\n plt.$flags$ |= 4 /* queueSync */;\n }\n }\n if (BUILD.hydrateClientSide) {\n // If the app is already hydrated there is not point to disable the\n // async queue. This will improve the first input delay\n plt.$flags$ |= 2 /* appLoaded */;\n }\n if (BUILD.hydrateClientSide && BUILD.shadowDom) {\n for (; i < styles.length; i++) {\n registerStyle(styles[i].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles[i].innerHTML), true);\n }\n }\n lazyBundles.map((lazyBundle) => {\n lazyBundle[1].map((compactMeta) => {\n const cmpMeta = {\n $flags$: compactMeta[0],\n $tagName$: compactMeta[1],\n $members$: compactMeta[2],\n $listeners$: compactMeta[3],\n };\n if (BUILD.member) {\n cmpMeta.$members$ = compactMeta[2];\n }\n if (BUILD.hostListener) {\n cmpMeta.$listeners$ = compactMeta[3];\n }\n if (BUILD.reflect) {\n cmpMeta.$attrsToReflect$ = [];\n }\n if (BUILD.watchCallback) {\n cmpMeta.$watchers$ = {};\n }\n if (BUILD.shadowDom && !supportsShadow && cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {\n cmpMeta.$flags$ |= 8 /* needsShadowDomShim */;\n }\n const tagName = BUILD.transformTagName && options.transformTagName\n ? options.transformTagName(cmpMeta.$tagName$)\n : cmpMeta.$tagName$;\n const HostElement = class extends HTMLElement {\n // StencilLazyHost\n constructor(self) {\n // @ts-ignore\n super(self);\n self = this;\n registerHost(self, cmpMeta);\n if (BUILD.shadowDom && cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {\n // this component is using shadow dom\n // and this browser supports shadow dom\n // add the read-only property \"shadowRoot\" to the host element\n // adding the shadow root build conditionals to minimize runtime\n if (supportsShadow) {\n if (BUILD.shadowDelegatesFocus) {\n self.attachShadow({\n mode: 'open',\n delegatesFocus: !!(cmpMeta.$flags$ & 16 /* shadowDelegatesFocus */),\n });\n }\n else {\n self.attachShadow({ mode: 'open' });\n }\n }\n else if (!BUILD.hydrateServerSide && !('shadowRoot' in self)) {\n self.shadowRoot = self;\n }\n }\n if (BUILD.slotChildNodesFix) {\n patchChildSlotNodes(self, cmpMeta);\n }\n }\n connectedCallback() {\n if (appLoadFallback) {\n clearTimeout(appLoadFallback);\n appLoadFallback = null;\n }\n if (isBootstrapping) {\n // connectedCallback will be processed once all components have been registered\n deferredConnectedCallbacks.push(this);\n }\n else {\n plt.jmp(() => connectedCallback(this));\n }\n }\n disconnectedCallback() {\n plt.jmp(() => disconnectedCallback(this));\n }\n componentOnReady() {\n return getHostRef(this).$onReadyPromise$;\n }\n };\n if (BUILD.cloneNodeFix) {\n patchCloneNode(HostElement.prototype);\n }\n if (BUILD.appendChildSlotFix) {\n patchSlotAppendChild(HostElement.prototype);\n }\n if (BUILD.hotModuleReplacement) {\n HostElement.prototype['s-hmr'] = function (hmrVersionId) {\n hmrStart(this, cmpMeta, hmrVersionId);\n };\n }\n if (BUILD.scopedSlotTextContentFix) {\n patchTextContent(HostElement.prototype, cmpMeta);\n }\n cmpMeta.$lazyBundleId$ = lazyBundle[0];\n if (!exclude.includes(tagName) && !customElements.get(tagName)) {\n cmpTags.push(tagName);\n customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));\n }\n });\n });\n if (BUILD.invisiblePrehydration && (BUILD.hydratedClass || BUILD.hydratedAttribute)) {\n visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;\n visibilityStyle.setAttribute('data-styles', '');\n head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);\n }\n // Process deferred connectedCallbacks now all components have been registered\n isBootstrapping = false;\n if (deferredConnectedCallbacks.length) {\n deferredConnectedCallbacks.map((host) => host.connectedCallback());\n }\n else {\n if (BUILD.profile) {\n plt.jmp(() => (appLoadFallback = setTimeout(appDidLoad, 30, 'timeout')));\n }\n else {\n plt.jmp(() => (appLoadFallback = setTimeout(appDidLoad, 30)));\n }\n }\n // Fallback appLoad event\n endBootstrap();\n};\nconst getAssetPath = (path) => {\n const assetUrl = new URL(path, plt.$resourcesUrl$);\n return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;\n};\nconst setAssetPath = (path) => (plt.$resourcesUrl$ = path);\nconst getConnect = (_ref, tagName) => {\n const componentOnReady = () => {\n let elm = doc.querySelector(tagName);\n if (!elm) {\n elm = doc.createElement(tagName);\n doc.body.appendChild(elm);\n }\n return typeof elm.componentOnReady === 'function' ? elm.componentOnReady() : Promise.resolve(elm);\n };\n const create = (...args) => {\n return componentOnReady().then((el) => el.create(...args));\n };\n return {\n create,\n componentOnReady,\n };\n};\nconst getContext = (_elm, context) => {\n if (context in Context) {\n return Context[context];\n }\n else if (context === 'window') {\n return win;\n }\n else if (context === 'document') {\n return doc;\n }\n else if (context === 'isServer' || context === 'isPrerender') {\n return BUILD.hydrateServerSide ? true : false;\n }\n else if (context === 'isClient') {\n return BUILD.hydrateServerSide ? false : true;\n }\n else if (context === 'resourcesUrl' || context === 'publicPath') {\n return getAssetPath('.');\n }\n else if (context === 'queue') {\n return {\n write: writeTask,\n read: readTask,\n tick: {\n then(cb) {\n return nextTick(cb);\n },\n },\n };\n }\n return undefined;\n};\nconst insertVdomAnnotations = (doc, staticComponents) => {\n if (doc != null) {\n const docData = {\n hostIds: 0,\n rootLevelIds: 0,\n staticComponents: new Set(staticComponents),\n };\n const orgLocationNodes = [];\n parseVNodeAnnotations(doc, doc.body, docData, orgLocationNodes);\n orgLocationNodes.forEach((orgLocationNode) => {\n if (orgLocationNode != null) {\n const nodeRef = orgLocationNode['s-nr'];\n let hostId = nodeRef['s-host-id'];\n let nodeId = nodeRef['s-node-id'];\n let childId = `${hostId}.${nodeId}`;\n if (hostId == null) {\n hostId = 0;\n docData.rootLevelIds++;\n nodeId = docData.rootLevelIds;\n childId = `${hostId}.${nodeId}`;\n if (nodeRef.nodeType === 1 /* ElementNode */) {\n nodeRef.setAttribute(HYDRATE_CHILD_ID, childId);\n }\n else if (nodeRef.nodeType === 3 /* TextNode */) {\n if (hostId === 0) {\n const textContent = nodeRef.nodeValue.trim();\n if (textContent === '') {\n // useless whitespace node at the document root\n orgLocationNode.remove();\n return;\n }\n }\n const commentBeforeTextNode = doc.createComment(childId);\n commentBeforeTextNode.nodeValue = `${TEXT_NODE_ID}.${childId}`;\n nodeRef.parentNode.insertBefore(commentBeforeTextNode, nodeRef);\n }\n }\n let orgLocationNodeId = `${ORG_LOCATION_ID}.${childId}`;\n const orgLocationParentNode = orgLocationNode.parentElement;\n if (orgLocationParentNode) {\n if (orgLocationParentNode['s-en'] === '') {\n // ending with a \".\" means that the parent element\n // of this node's original location is a SHADOW dom element\n // and this node is apart of the root level light dom\n orgLocationNodeId += `.`;\n }\n else if (orgLocationParentNode['s-en'] === 'c') {\n // ending with a \".c\" means that the parent element\n // of this node's original location is a SCOPED element\n // and this node is apart of the root level light dom\n orgLocationNodeId += `.c`;\n }\n }\n orgLocationNode.nodeValue = orgLocationNodeId;\n }\n });\n }\n};\nconst parseVNodeAnnotations = (doc, node, docData, orgLocationNodes) => {\n if (node == null) {\n return;\n }\n if (node['s-nr'] != null) {\n orgLocationNodes.push(node);\n }\n if (node.nodeType === 1 /* ElementNode */) {\n node.childNodes.forEach((childNode) => {\n const hostRef = getHostRef(childNode);\n if (hostRef != null && !docData.staticComponents.has(childNode.nodeName.toLowerCase())) {\n const cmpData = {\n nodeIds: 0,\n };\n insertVNodeAnnotations(doc, childNode, hostRef.$vnode$, docData, cmpData);\n }\n parseVNodeAnnotations(doc, childNode, docData, orgLocationNodes);\n });\n }\n};\nconst insertVNodeAnnotations = (doc, hostElm, vnode, docData, cmpData) => {\n if (vnode != null) {\n const hostId = ++docData.hostIds;\n hostElm.setAttribute(HYDRATE_ID, hostId);\n if (hostElm['s-cr'] != null) {\n hostElm['s-cr'].nodeValue = `${CONTENT_REF_ID}.${hostId}`;\n }\n if (vnode.$children$ != null) {\n const depth = 0;\n vnode.$children$.forEach((vnodeChild, index) => {\n insertChildVNodeAnnotations(doc, vnodeChild, cmpData, hostId, depth, index);\n });\n }\n if (hostElm && vnode && vnode.$elm$ && !hostElm.hasAttribute('c-id')) {\n const parent = hostElm.parentElement;\n if (parent && parent.childNodes) {\n const parentChildNodes = Array.from(parent.childNodes);\n const comment = parentChildNodes.find((node) => node.nodeType === 8 /* CommentNode */ && node['s-sr']);\n if (comment) {\n const index = parentChildNodes.indexOf(hostElm) - 1;\n vnode.$elm$.setAttribute(HYDRATE_CHILD_ID, `${comment['s-host-id']}.${comment['s-node-id']}.0.${index}`);\n }\n }\n }\n }\n};\nconst insertChildVNodeAnnotations = (doc, vnodeChild, cmpData, hostId, depth, index) => {\n const childElm = vnodeChild.$elm$;\n if (childElm == null) {\n return;\n }\n const nodeId = cmpData.nodeIds++;\n const childId = `${hostId}.${nodeId}.${depth}.${index}`;\n childElm['s-host-id'] = hostId;\n childElm['s-node-id'] = nodeId;\n if (childElm.nodeType === 1 /* ElementNode */) {\n childElm.setAttribute(HYDRATE_CHILD_ID, childId);\n }\n else if (childElm.nodeType === 3 /* TextNode */) {\n const parentNode = childElm.parentNode;\n const nodeName = parentNode.nodeName;\n if (nodeName !== 'STYLE' && nodeName !== 'SCRIPT') {\n const textNodeId = `${TEXT_NODE_ID}.${childId}`;\n const commentBeforeTextNode = doc.createComment(textNodeId);\n parentNode.insertBefore(commentBeforeTextNode, childElm);\n }\n }\n else if (childElm.nodeType === 8 /* CommentNode */) {\n if (childElm['s-sr']) {\n const slotName = childElm['s-sn'] || '';\n const slotNodeId = `${SLOT_NODE_ID}.${childId}.${slotName}`;\n childElm.nodeValue = slotNodeId;\n }\n }\n if (vnodeChild.$children$ != null) {\n const childDepth = depth + 1;\n vnodeChild.$children$.forEach((vnode, index) => {\n insertChildVNodeAnnotations(doc, vnode, cmpData, hostId, childDepth, index);\n });\n }\n};\nconst setPlatformOptions = (opts) => Object.assign(plt, opts);\nconst Fragment = (_, children) => children;\nconst hostRefs = new WeakMap();\nconst getHostRef = (ref) => hostRefs.get(ref);\nconst registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);\nconst registerHost = (elm, cmpMeta) => {\n const hostRef = {\n $flags$: 0,\n $hostElement$: elm,\n $cmpMeta$: cmpMeta,\n $instanceValues$: new Map(),\n };\n if (BUILD.isDev) {\n hostRef.$renderCount$ = 0;\n }\n if (BUILD.method && BUILD.lazyLoad) {\n hostRef.$onInstancePromise$ = new Promise((r) => (hostRef.$onInstanceResolve$ = r));\n }\n if (BUILD.asyncLoading) {\n hostRef.$onReadyPromise$ = new Promise((r) => (hostRef.$onReadyResolve$ = r));\n elm['s-p'] = [];\n elm['s-rc'] = [];\n }\n addHostEventListeners(elm, hostRef, cmpMeta.$listeners$, false);\n return hostRefs.set(elm, hostRef);\n};\nconst isMemberInElement = (elm, memberName) => memberName in elm;\nconst consoleError = (e, el) => (customError || console.error)(e, el);\nconst STENCIL_DEV_MODE = BUILD.isTesting\n ? ['STENCIL:'] // E2E testing\n : [\n '%cstencil',\n 'color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px',\n ];\nconst consoleDevError = (...m) => console.error(...STENCIL_DEV_MODE, ...m);\nconst consoleDevWarn = (...m) => console.warn(...STENCIL_DEV_MODE, ...m);\nconst consoleDevInfo = (...m) => console.info(...STENCIL_DEV_MODE, ...m);\nconst setErrorHandler = (handler) => (customError = handler);\nconst cmpModules = /*@__PURE__*/ new Map();\nconst loadModule = (cmpMeta, hostRef, hmrVersionId) => {\n // loadModuleImport\n const exportName = cmpMeta.$tagName$.replace(/-/g, '_');\n const bundleId = cmpMeta.$lazyBundleId$;\n if (BUILD.isDev && typeof bundleId !== 'string') {\n consoleDevError(`Trying to lazily load component <${cmpMeta.$tagName$}> with style mode \"${hostRef.$modeName$}\", but it does not exist.`);\n return undefined;\n }\n const module = !BUILD.hotModuleReplacement ? cmpModules.get(bundleId) : false;\n if (module) {\n return module[exportName];\n }\n /*!__STENCIL_STATIC_IMPORT_SWITCH__*/\n return import(\n /* @vite-ignore */\n /* webpackInclude: /\\.entry\\.js$/ */\n /* webpackExclude: /\\.system\\.entry\\.js$/ */\n /* webpackMode: \"lazy\" */\n `./${bundleId}.entry.js${BUILD.hotModuleReplacement && hmrVersionId ? '?s-hmr=' + hmrVersionId : ''}`).then((importedModule) => {\n if (!BUILD.hotModuleReplacement) {\n cmpModules.set(bundleId, importedModule);\n }\n return importedModule[exportName];\n }, consoleError);\n};\nconst styles = new Map();\nconst modeResolutionChain = [];\nconst queueDomReads = [];\nconst queueDomWrites = [];\nconst queueDomWritesLow = [];\nconst queueTask = (queue, write) => (cb) => {\n queue.push(cb);\n if (!queuePending) {\n queuePending = true;\n if (write && plt.$flags$ & 4 /* queueSync */) {\n nextTick(flush);\n }\n else {\n plt.raf(flush);\n }\n }\n};\nconst consume = (queue) => {\n for (let i = 0; i < queue.length; i++) {\n try {\n queue[i](performance.now());\n }\n catch (e) {\n consoleError(e);\n }\n }\n queue.length = 0;\n};\nconst consumeTimeout = (queue, timeout) => {\n let i = 0;\n let ts = 0;\n while (i < queue.length && (ts = performance.now()) < timeout) {\n try {\n queue[i++](ts);\n }\n catch (e) {\n consoleError(e);\n }\n }\n if (i === queue.length) {\n queue.length = 0;\n }\n else if (i !== 0) {\n queue.splice(0, i);\n }\n};\nconst flush = () => {\n if (BUILD.asyncQueue) {\n queueCongestion++;\n }\n // always force a bunch of medium callbacks to run, but still have\n // a throttle on how many can run in a certain time\n // DOM READS!!!\n consume(queueDomReads);\n // DOM WRITES!!!\n if (BUILD.asyncQueue) {\n const timeout = (plt.$flags$ & 6 /* queueMask */) === 2 /* appLoaded */\n ? performance.now() + 14 * Math.ceil(queueCongestion * (1.0 / 10.0))\n : Infinity;\n consumeTimeout(queueDomWrites, timeout);\n consumeTimeout(queueDomWritesLow, timeout);\n if (queueDomWrites.length > 0) {\n queueDomWritesLow.push(...queueDomWrites);\n queueDomWrites.length = 0;\n }\n if ((queuePending = queueDomReads.length + queueDomWrites.length + queueDomWritesLow.length > 0)) {\n // still more to do yet, but we've run out of time\n // let's let this thing cool off and try again in the next tick\n plt.raf(flush);\n }\n else {\n queueCongestion = 0;\n }\n }\n else {\n consume(queueDomWrites);\n if ((queuePending = queueDomReads.length > 0)) {\n // still more to do yet, but we've run out of time\n // let's let this thing cool off and try again in the next tick\n plt.raf(flush);\n }\n }\n};\nconst nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);\nconst readTask = /*@__PURE__*/ queueTask(queueDomReads, false);\nconst writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);\nconst Build = {\n isDev: BUILD.isDev ? true : false,\n isBrowser: true,\n isServer: false,\n isTesting: BUILD.isTesting ? true : false,\n};\nexport { BUILD, Env, NAMESPACE } from '@stencil/core/internal/app-data';\nexport { Build, CSS, Context, Fragment, H, H as HTMLElement, Host, STENCIL_DEV_MODE, addHostEventListeners, bootstrapLazy, cmpModules, connectedCallback, consoleDevError, consoleDevInfo, consoleDevWarn, consoleError, createEvent, defineCustomElement, disconnectedCallback, doc, forceModeUpdate, forceUpdate, getAssetPath, getConnect, getContext, getElement, getHostRef, getMode, getRenderingRef, getValue, h, insertVdomAnnotations, isMemberInElement, loadModule, modeResolutionChain, nextTick, parsePropertyValue, plt, postUpdateComponent, promiseResolve, proxyComponent, proxyCustomElement, readTask, registerHost, registerInstance, renderVdom, setAssetPath, setErrorHandler, setMode, setPlatformHelpers, setPlatformOptions, setValue, styles, supportsConstructibleStylesheets, supportsListenerOptions, supportsShadow, win, writeTask };\n","import { getAssetPath } from '@stencil/core/internal/client';\n\nlet CACHED_MAP;\nconst getIconMap = () => {\n if (typeof window === 'undefined') {\n return new Map();\n }\n else {\n if (!CACHED_MAP) {\n const win = window;\n win.Ionicons = win.Ionicons || {};\n CACHED_MAP = win.Ionicons.map = win.Ionicons.map || new Map();\n }\n return CACHED_MAP;\n }\n};\nconst addIcons = (icons) => {\n const map = getIconMap();\n Object.keys(icons).forEach(name => map.set(name, icons[name]));\n};\nconst getUrl = (i) => {\n let url = getSrc(i.src);\n if (url) {\n return url;\n }\n url = getName(i.name, i.icon, i.mode, i.ios, i.md);\n if (url) {\n return getNamedUrl(url);\n }\n if (i.icon) {\n url = getSrc(i.icon);\n if (url) {\n return url;\n }\n url = getSrc(i.icon[i.mode]);\n if (url) {\n return url;\n }\n }\n return null;\n};\nconst getNamedUrl = (iconName) => {\n const url = getIconMap().get(iconName);\n if (url) {\n return url;\n }\n return getAssetPath(`svg/${iconName}.svg`);\n};\nconst getName = (iconName, icon, mode, ios, md) => {\n // default to \"md\" if somehow the mode wasn't set\n mode = (mode && toLower(mode)) === 'ios' ? 'ios' : 'md';\n // if an icon was passed in using the ios or md attributes\n // set the iconName to whatever was passed in\n if (ios && mode === 'ios') {\n iconName = toLower(ios);\n }\n else if (md && mode === 'md') {\n iconName = toLower(md);\n }\n else {\n if (!iconName && icon && !isSrc(icon)) {\n iconName = icon;\n }\n if (isStr(iconName)) {\n iconName = toLower(iconName);\n }\n }\n if (!isStr(iconName) || iconName.trim() === '') {\n return null;\n }\n // only allow alpha characters and dash\n const invalidChars = iconName.replace(/[a-z]|-|\\d/gi, '');\n if (invalidChars !== '') {\n return null;\n }\n return iconName;\n};\nconst getSrc = (src) => {\n if (isStr(src)) {\n src = src.trim();\n if (isSrc(src)) {\n return src;\n }\n }\n return null;\n};\nconst isSrc = (str) => str.length > 0 && /(\\/|\\.)/.test(str);\nconst isStr = (val) => typeof val === 'string';\nconst toLower = (val) => val.toLowerCase();\n/**\n * Elements inside of web components sometimes need to inherit global attributes\n * set on the host. For example, the inner input in `ion-input` should inherit\n * the `title` attribute that developers set directly on `ion-input`. This\n * helper function should be called in componentWillLoad and assigned to a variable\n * that is later used in the render function.\n *\n * This does not need to be reactive as changing attributes on the host element\n * does not trigger a re-render.\n */\nconst inheritAttributes = (el, attributes = []) => {\n const attributeObject = {};\n attributes.forEach(attr => {\n if (el.hasAttribute(attr)) {\n const value = el.getAttribute(attr);\n if (value !== null) {\n attributeObject[attr] = el.getAttribute(attr);\n }\n el.removeAttribute(attr);\n }\n });\n return attributeObject;\n};\n\nexport { addIcons as a, inheritAttributes as b, getName as c, getUrl as g, isStr as i };\n","import { proxyCustomElement, HTMLElement, Build, h, Host } from '@stencil/core/internal/client';\nimport { i as isStr, b as inheritAttributes, g as getUrl, c as getName } from './utils.js';\n\nconst validateContent = (svgContent) => {\n const div = document.createElement('div');\n div.innerHTML = svgContent;\n // setup this way to ensure it works on our buddy IE\n for (let i = div.childNodes.length - 1; i >= 0; i--) {\n if (div.childNodes[i].nodeName.toLowerCase() !== 'svg') {\n div.removeChild(div.childNodes[i]);\n }\n }\n // must only have 1 root element\n const svgElm = div.firstElementChild;\n if (svgElm && svgElm.nodeName.toLowerCase() === 'svg') {\n const svgClass = svgElm.getAttribute('class') || '';\n svgElm.setAttribute('class', (svgClass + ' s-ion-icon').trim());\n // root element must be an svg\n // lets double check we've got valid elements\n // do not allow scripts\n if (isValid(svgElm)) {\n return div.innerHTML;\n }\n }\n return '';\n};\nconst isValid = (elm) => {\n if (elm.nodeType === 1) {\n if (elm.nodeName.toLowerCase() === 'script') {\n return false;\n }\n for (let i = 0; i < elm.attributes.length; i++) {\n const val = elm.attributes[i].value;\n if (isStr(val) && val.toLowerCase().indexOf('on') === 0) {\n return false;\n }\n }\n for (let i = 0; i < elm.childNodes.length; i++) {\n if (!isValid(elm.childNodes[i])) {\n return false;\n }\n }\n }\n return true;\n};\n\nconst ioniconContent = new Map();\nconst requests = new Map();\nconst getSvgContent = (url, sanitize) => {\n // see if we already have a request for this url\n let req = requests.get(url);\n if (!req) {\n if (typeof fetch !== 'undefined' && typeof document !== 'undefined') {\n // we don't already have a request\n req = fetch(url).then((rsp) => {\n if (rsp.ok) {\n return rsp.text().then((svgContent) => {\n if (svgContent && sanitize !== false) {\n svgContent = validateContent(svgContent);\n }\n ioniconContent.set(url, svgContent || '');\n });\n }\n ioniconContent.set(url, '');\n });\n // cache for the same requests\n requests.set(url, req);\n }\n else {\n // set to empty for ssr scenarios and resolve promise\n ioniconContent.set(url, '');\n return Promise.resolve();\n }\n }\n return req;\n};\n\nconst iconCss = \":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}:host(.flip-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.icon-small){font-size:18px !important}:host(.icon-large){font-size:32px !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}\";\n\nconst Icon = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n this.__attachShadow();\n this.iconName = null;\n this.inheritedAttributes = {};\n this.isVisible = false;\n /**\n * The mode determines which platform styles to use.\n */\n this.mode = getIonMode();\n /**\n * If enabled, ion-icon will be loaded lazily when it's visible in the viewport.\n * Default, `false`.\n */\n this.lazy = false;\n /**\n * When set to `false`, SVG content that is HTTP fetched will not be checked\n * if the response SVG content has any `\n // ```\n // In this case if we do not unshadow here and use the value of the shadowing property, attributeChangedCallback\n // will be called with `newValue = \"some-value\"` and will set the shadowed property (this.someAttribute = \"another-value\")\n // to the value that was set inline i.e. \"some-value\" from above example. When\n // the connectedCallback attempts to unshadow it will use \"some-value\" as the initial value rather than \"another-value\"\n //\n // The case where the attribute was NOT set inline but was not set programmatically shall be handled/unshadowed\n // by connectedCallback as this attributeChangedCallback will not fire.\n //\n // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties\n //\n // TODO(STENCIL-16) we should think about whether or not we actually want to be reflecting the attributes to\n // properties here given that this goes against best practices outlined here\n // https://developers.google.com/web/fundamentals/web-components/best-practices#avoid-reentrancy\n if (this.hasOwnProperty(propName)) {\n newValue = this[propName];\n delete this[propName];\n }\n else if (prototype.hasOwnProperty(propName) &&\n typeof this[propName] === 'number' &&\n this[propName] == newValue) {\n // if the propName exists on the prototype of `Cstr`, this update may be a result of Stencil using native\n // APIs to reflect props as attributes. Calls to `setAttribute(someElement, propName)` will result in\n // `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.\n return;\n }\n this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;\n });\n };\n // create an array of attributes to observe\n // and also create a map of html attribute name to js property name\n Cstr.observedAttributes = members\n .filter(([_, m]) => m[0] & 15 /* HasAttribute */) // filter to only keep props that should match attributes\n .map(([propName, m]) => {\n const attrName = m[1] || propName;\n attrNameToPropName.set(attrName, propName);\n if (BUILD.reflect && m[0] & 512 /* ReflectAttr */) {\n cmpMeta.$attrsToReflect$.push([propName, attrName]);\n }\n return attrName;\n });\n }\n }\n return Cstr;\n};\nconst initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {\n // initializeComponent\n if ((BUILD.lazyLoad || BUILD.hydrateServerSide || BUILD.style) &&\n (hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {\n if (BUILD.lazyLoad || BUILD.hydrateClientSide) {\n // we haven't initialized this element yet\n hostRef.$flags$ |= 32 /* hasInitializedComponent */;\n // lazy loaded components\n // request the component's implementation to be\n // wired up with the host element\n Cstr = loadModule(cmpMeta, hostRef, hmrVersionId);\n if (Cstr.then) {\n // Await creates a micro-task avoid if possible\n const endLoad = uniqueTime(`st:load:${cmpMeta.$tagName$}:${hostRef.$modeName$}`, `[Stencil] Load module for <${cmpMeta.$tagName$}>`);\n Cstr = await Cstr;\n endLoad();\n }\n if ((BUILD.isDev || BUILD.isDebug) && !Cstr) {\n throw new Error(`Constructor for \"${cmpMeta.$tagName$}#${hostRef.$modeName$}\" was not found`);\n }\n if (BUILD.member && !Cstr.isProxied) {\n // we've never proxied this Constructor before\n // let's add the getters/setters to its prototype before\n // the first time we create an instance of the implementation\n if (BUILD.watchCallback) {\n cmpMeta.$watchers$ = Cstr.watchers;\n }\n proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);\n Cstr.isProxied = true;\n }\n const endNewInstance = createTime('createInstance', cmpMeta.$tagName$);\n // ok, time to construct the instance\n // but let's keep track of when we start and stop\n // so that the getters/setters don't incorrectly step on data\n if (BUILD.member) {\n hostRef.$flags$ |= 8 /* isConstructingInstance */;\n }\n // construct the lazy-loaded component implementation\n // passing the hostRef is very important during\n // construction in order to directly wire together the\n // host element and the lazy-loaded instance\n try {\n new Cstr(hostRef);\n }\n catch (e) {\n consoleError(e);\n }\n if (BUILD.member) {\n hostRef.$flags$ &= ~8 /* isConstructingInstance */;\n }\n if (BUILD.watchCallback) {\n hostRef.$flags$ |= 128 /* isWatchReady */;\n }\n endNewInstance();\n fireConnectedCallback(hostRef.$lazyInstance$);\n }\n else {\n // sync constructor component\n Cstr = elm.constructor;\n hostRef.$flags$ |= 32 /* hasInitializedComponent */;\n // wait for the CustomElementRegistry to mark the component as ready before setting `isWatchReady`. Otherwise,\n // watchers may fire prematurely if `customElements.get()`/`customElements.whenDefined()` resolves _before_\n // Stencil has completed instantiating the component.\n customElements.whenDefined(cmpMeta.$tagName$).then(() => (hostRef.$flags$ |= 128 /* isWatchReady */));\n }\n if (BUILD.style && Cstr.style) {\n // this component has styles but we haven't registered them yet\n let style = Cstr.style;\n if (BUILD.mode && typeof style !== 'string') {\n style = style[(hostRef.$modeName$ = computeMode(elm))];\n if (BUILD.hydrateServerSide && hostRef.$modeName$) {\n elm.setAttribute('s-mode', hostRef.$modeName$);\n }\n }\n const scopeId = getScopeId(cmpMeta, hostRef.$modeName$);\n if (!styles.has(scopeId)) {\n const endRegisterStyles = createTime('registerStyles', cmpMeta.$tagName$);\n if (!BUILD.hydrateServerSide &&\n BUILD.shadowDom &&\n BUILD.shadowDomShim &&\n cmpMeta.$flags$ & 8 /* needsShadowDomShim */) {\n style = await import('./shadow-css.js').then((m) => m.scopeCss(style, scopeId, false));\n }\n registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));\n endRegisterStyles();\n }\n }\n }\n // we've successfully created a lazy instance\n const ancestorComponent = hostRef.$ancestorComponent$;\n const schedule = () => scheduleUpdate(hostRef, true);\n if (BUILD.asyncLoading && ancestorComponent && ancestorComponent['s-rc']) {\n // this is the initial load and this component it has an ancestor component\n // but the ancestor component has NOT fired its will update lifecycle yet\n // so let's just cool our jets and wait for the ancestor to continue first\n // this will get fired off when the ancestor component\n // finally gets around to rendering its lazy self\n // fire off the initial update\n ancestorComponent['s-rc'].push(schedule);\n }\n else {\n schedule();\n }\n};\nconst fireConnectedCallback = (instance) => {\n if (BUILD.lazyLoad && BUILD.connectedCallback) {\n safeCall(instance, 'connectedCallback');\n }\n};\nconst connectedCallback = (elm) => {\n if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {\n const hostRef = getHostRef(elm);\n const cmpMeta = hostRef.$cmpMeta$;\n const endConnected = createTime('connectedCallback', cmpMeta.$tagName$);\n if (BUILD.hostListenerTargetParent) {\n // only run if we have listeners being attached to a parent\n addHostEventListeners(elm, hostRef, cmpMeta.$listeners$, true);\n }\n if (!(hostRef.$flags$ & 1 /* hasConnected */)) {\n // first time this component has connected\n hostRef.$flags$ |= 1 /* hasConnected */;\n let hostId;\n if (BUILD.hydrateClientSide) {\n hostId = elm.getAttribute(HYDRATE_ID);\n if (hostId) {\n if (BUILD.shadowDom && supportsShadow && cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {\n const scopeId = BUILD.mode\n ? addStyle(elm.shadowRoot, cmpMeta, elm.getAttribute('s-mode'))\n : addStyle(elm.shadowRoot, cmpMeta);\n elm.classList.remove(scopeId + '-h', scopeId + '-s');\n }\n initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);\n }\n }\n if (BUILD.slotRelocation && !hostId) {\n // initUpdate\n // if the slot polyfill is required we'll need to put some nodes\n // in here to act as original content anchors as we move nodes around\n // host element has been connected to the DOM\n if (BUILD.hydrateServerSide ||\n ((BUILD.slot || BUILD.shadowDom) &&\n cmpMeta.$flags$ & (4 /* hasSlotRelocation */ | 8 /* needsShadowDomShim */))) {\n setContentReference(elm);\n }\n }\n if (BUILD.asyncLoading) {\n // find the first ancestor component (if there is one) and register\n // this component as one of the actively loading child components for its ancestor\n let ancestorComponent = elm;\n while ((ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host)) {\n // climb up the ancestors looking for the first\n // component that hasn't finished its lifecycle update yet\n if ((BUILD.hydrateClientSide &&\n ancestorComponent.nodeType === 1 /* ElementNode */ &&\n ancestorComponent.hasAttribute('s-id') &&\n ancestorComponent['s-p']) ||\n ancestorComponent['s-p']) {\n // we found this components first ancestor component\n // keep a reference to this component's ancestor component\n attachToAncestor(hostRef, (hostRef.$ancestorComponent$ = ancestorComponent));\n break;\n }\n }\n }\n // Lazy properties\n // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties\n if (BUILD.prop && !BUILD.hydrateServerSide && cmpMeta.$members$) {\n Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {\n if (memberFlags & 31 /* Prop */ && elm.hasOwnProperty(memberName)) {\n const value = elm[memberName];\n delete elm[memberName];\n elm[memberName] = value;\n }\n });\n }\n if (BUILD.initializeNextTick) {\n // connectedCallback, taskQueue, initialLoad\n // angular sets attribute AFTER connectCallback\n // https://github.com/angular/angular/issues/18909\n // https://github.com/angular/angular/issues/19940\n nextTick(() => initializeComponent(elm, hostRef, cmpMeta));\n }\n else {\n initializeComponent(elm, hostRef, cmpMeta);\n }\n }\n else {\n // not the first time this has connected\n // reattach any event listeners to the host\n // since they would have been removed when disconnected\n addHostEventListeners(elm, hostRef, cmpMeta.$listeners$, false);\n // fire off connectedCallback() on component instance\n fireConnectedCallback(hostRef.$lazyInstance$);\n }\n endConnected();\n }\n};\nconst setContentReference = (elm) => {\n // only required when we're NOT using native shadow dom (slot)\n // or this browser doesn't support native shadow dom\n // and this host element was NOT created with SSR\n // let's pick out the inner content for slot projection\n // create a node to represent where the original\n // content was first placed, which is useful later on\n const contentRefElm = (elm['s-cr'] = doc.createComment(BUILD.isDebug ? `content-ref (host=${elm.localName})` : ''));\n contentRefElm['s-cn'] = true;\n elm.insertBefore(contentRefElm, elm.firstChild);\n};\nconst disconnectedCallback = (elm) => {\n if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {\n const hostRef = getHostRef(elm);\n const instance = BUILD.lazyLoad ? hostRef.$lazyInstance$ : elm;\n if (BUILD.hostListener) {\n if (hostRef.$rmListeners$) {\n hostRef.$rmListeners$.map((rmListener) => rmListener());\n hostRef.$rmListeners$ = undefined;\n }\n }\n // clear CSS var-shim tracking\n if (BUILD.cssVarShim && plt.$cssShim$) {\n plt.$cssShim$.removeHost(elm);\n }\n if (BUILD.lazyLoad && BUILD.disconnectedCallback) {\n safeCall(instance, 'disconnectedCallback');\n }\n if (BUILD.cmpDidUnload) {\n safeCall(instance, 'componentDidUnload');\n }\n }\n};\nconst defineCustomElement = (Cstr, compactMeta) => {\n customElements.define(compactMeta[1], proxyCustomElement(Cstr, compactMeta));\n};\nconst proxyCustomElement = (Cstr, compactMeta) => {\n const cmpMeta = {\n $flags$: compactMeta[0],\n $tagName$: compactMeta[1],\n };\n if (BUILD.member) {\n cmpMeta.$members$ = compactMeta[2];\n }\n if (BUILD.hostListener) {\n cmpMeta.$listeners$ = compactMeta[3];\n }\n if (BUILD.watchCallback) {\n cmpMeta.$watchers$ = Cstr.$watchers$;\n }\n if (BUILD.reflect) {\n cmpMeta.$attrsToReflect$ = [];\n }\n if (BUILD.shadowDom && !supportsShadow && cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {\n cmpMeta.$flags$ |= 8 /* needsShadowDomShim */;\n }\n const originalConnectedCallback = Cstr.prototype.connectedCallback;\n const originalDisconnectedCallback = Cstr.prototype.disconnectedCallback;\n Object.assign(Cstr.prototype, {\n __registerHost() {\n registerHost(this, cmpMeta);\n },\n connectedCallback() {\n connectedCallback(this);\n if (BUILD.connectedCallback && originalConnectedCallback) {\n originalConnectedCallback.call(this);\n }\n },\n disconnectedCallback() {\n disconnectedCallback(this);\n if (BUILD.disconnectedCallback && originalDisconnectedCallback) {\n originalDisconnectedCallback.call(this);\n }\n },\n __attachShadow() {\n if (supportsShadow) {\n if (BUILD.shadowDelegatesFocus) {\n this.attachShadow({\n mode: 'open',\n delegatesFocus: !!(cmpMeta.$flags$ & 16 /* shadowDelegatesFocus */),\n });\n }\n else {\n this.attachShadow({ mode: 'open' });\n }\n }\n else {\n this.shadowRoot = this;\n }\n },\n });\n Cstr.is = cmpMeta.$tagName$;\n return proxyComponent(Cstr, cmpMeta, 1 /* isElementConstructor */ | 2 /* proxyState */);\n};\nconst forceModeUpdate = (elm) => {\n if (BUILD.style && BUILD.mode && !BUILD.lazyLoad) {\n const mode = computeMode(elm);\n const hostRef = getHostRef(elm);\n if (hostRef.$modeName$ !== mode) {\n const cmpMeta = hostRef.$cmpMeta$;\n const oldScopeId = elm['s-sc'];\n const scopeId = getScopeId(cmpMeta, mode);\n const style = elm.constructor.style[mode];\n const flags = cmpMeta.$flags$;\n if (style) {\n if (!styles.has(scopeId)) {\n registerStyle(scopeId, style, !!(flags & 1 /* shadowDomEncapsulation */));\n }\n hostRef.$modeName$ = mode;\n elm.classList.remove(oldScopeId + '-h', oldScopeId + '-s');\n attachStyles(hostRef);\n forceUpdate(elm);\n }\n }\n }\n};\nconst hmrStart = (elm, cmpMeta, hmrVersionId) => {\n // ¯\\_(ツ)_/¯\n const hostRef = getHostRef(elm);\n // reset state flags to only have been connected\n hostRef.$flags$ = 1 /* hasConnected */;\n // TODO\n // detatch any event listeners that may have been added\n // because we're not passing an exact event name it'll\n // remove all of this element's event, which is good\n // create a callback for when this component finishes hmr\n elm['s-hmr-load'] = () => {\n // finished hmr for this element\n delete elm['s-hmr-load'];\n };\n // re-initialize the component\n initializeComponent(elm, hostRef, cmpMeta, hmrVersionId);\n};\nconst patchCloneNode = (HostElementPrototype) => {\n const orgCloneNode = HostElementPrototype.cloneNode;\n HostElementPrototype.cloneNode = function (deep) {\n const srcNode = this;\n const isShadowDom = BUILD.shadowDom ? srcNode.shadowRoot && supportsShadow : false;\n const clonedNode = orgCloneNode.call(srcNode, isShadowDom ? deep : false);\n if (BUILD.slot && !isShadowDom && deep) {\n let i = 0;\n let slotted, nonStencilNode;\n const stencilPrivates = [\n 's-id',\n 's-cr',\n 's-lr',\n 's-rc',\n 's-sc',\n 's-p',\n 's-cn',\n 's-sr',\n 's-sn',\n 's-hn',\n 's-ol',\n 's-nr',\n 's-si',\n ];\n for (; i < srcNode.childNodes.length; i++) {\n slotted = srcNode.childNodes[i]['s-nr'];\n nonStencilNode = stencilPrivates.every((privateField) => !srcNode.childNodes[i][privateField]);\n if (slotted) {\n if (BUILD.appendChildSlotFix && clonedNode.__appendChild) {\n clonedNode.__appendChild(slotted.cloneNode(true));\n }\n else {\n clonedNode.appendChild(slotted.cloneNode(true));\n }\n }\n if (nonStencilNode) {\n clonedNode.appendChild(srcNode.childNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nconst patchSlotAppendChild = (HostElementPrototype) => {\n HostElementPrototype.__appendChild = HostElementPrototype.appendChild;\n HostElementPrototype.appendChild = function (newChild) {\n const slotName = (newChild['s-sn'] = getSlotName(newChild));\n const slotNode = getHostSlotNode(this.childNodes, slotName);\n if (slotNode) {\n const slotChildNodes = getHostSlotChildNodes(slotNode, slotName);\n const appendAfter = slotChildNodes[slotChildNodes.length - 1];\n return appendAfter.parentNode.insertBefore(newChild, appendAfter.nextSibling);\n }\n return this.__appendChild(newChild);\n };\n};\n/**\n * Patches the text content of an unnamed slotted node inside a scoped component\n * @param hostElementPrototype the `Element` to be patched\n * @param cmpMeta component runtime metadata used to determine if the component should be patched or not\n */\nconst patchTextContent = (hostElementPrototype, cmpMeta) => {\n if (BUILD.scoped && cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {\n const descriptor = Object.getOwnPropertyDescriptor(Node.prototype, 'textContent');\n Object.defineProperty(hostElementPrototype, '__textContent', descriptor);\n Object.defineProperty(hostElementPrototype, 'textContent', {\n get() {\n var _a;\n // get the 'default slot', which would be the first slot in a shadow tree (if we were using one), whose name is\n // the empty string\n const slotNode = getHostSlotNode(this.childNodes, '');\n // when a slot node is found, the textContent _may_ be found in the next sibling (text) node, depending on how\n // nodes were reordered during the vdom render. first try to get the text content from the sibling.\n if (((_a = slotNode === null || slotNode === void 0 ? void 0 : slotNode.nextSibling) === null || _a === void 0 ? void 0 : _a.nodeType) === 3 /* TEXT_NODE */) {\n return slotNode.nextSibling.textContent;\n }\n else if (slotNode) {\n return slotNode.textContent;\n }\n else {\n // fallback to the original implementation\n return this.__textContent;\n }\n },\n set(value) {\n var _a;\n // get the 'default slot', which would be the first slot in a shadow tree (if we were using one), whose name is\n // the empty string\n const slotNode = getHostSlotNode(this.childNodes, '');\n // when a slot node is found, the textContent _may_ need to be placed in the next sibling (text) node,\n // depending on how nodes were reordered during the vdom render. first try to set the text content on the\n // sibling.\n if (((_a = slotNode === null || slotNode === void 0 ? void 0 : slotNode.nextSibling) === null || _a === void 0 ? void 0 : _a.nodeType) === 3 /* TEXT_NODE */) {\n slotNode.nextSibling.textContent = value;\n }\n else if (slotNode) {\n slotNode.textContent = value;\n }\n else {\n // we couldn't find a slot, but that doesn't mean that there isn't one. if this check ran before the DOM\n // loaded, we could have missed it. check for a content reference element on the scoped component and insert\n // it there\n this.__textContent = value;\n const contentRefElm = this['s-cr'];\n if (contentRefElm) {\n this.insertBefore(contentRefElm, this.firstChild);\n }\n }\n },\n });\n }\n};\nconst patchChildSlotNodes = (elm, cmpMeta) => {\n class FakeNodeList extends Array {\n item(n) {\n return this[n];\n }\n }\n if (cmpMeta.$flags$ & 8 /* needsShadowDomShim */) {\n const childNodesFn = elm.__lookupGetter__('childNodes');\n Object.defineProperty(elm, 'children', {\n get() {\n return this.childNodes.map((n) => n.nodeType === 1);\n },\n });\n Object.defineProperty(elm, 'childElementCount', {\n get() {\n return elm.children.length;\n },\n });\n Object.defineProperty(elm, 'childNodes', {\n get() {\n const childNodes = childNodesFn.call(this);\n if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0 &&\n getHostRef(this).$flags$ & 2 /* hasRendered */) {\n const result = new FakeNodeList();\n for (let i = 0; i < childNodes.length; i++) {\n const slot = childNodes[i]['s-nr'];\n if (slot) {\n result.push(slot);\n }\n }\n return result;\n }\n return FakeNodeList.from(childNodes);\n },\n });\n }\n};\nconst getSlotName = (node) => node['s-sn'] || (node.nodeType === 1 && node.getAttribute('slot')) || '';\n/**\n * Recursively searches a series of child nodes for a slot with the provided name.\n * @param childNodes the nodes to search for a slot with a specific name.\n * @param slotName the name of the slot to match on.\n * @returns a reference to the slot node that matches the provided name, `null` otherwise\n */\nconst getHostSlotNode = (childNodes, slotName) => {\n let i = 0;\n let childNode;\n for (; i < childNodes.length; i++) {\n childNode = childNodes[i];\n if (childNode['s-sr'] && childNode['s-sn'] === slotName) {\n return childNode;\n }\n childNode = getHostSlotNode(childNode.childNodes, slotName);\n if (childNode) {\n return childNode;\n }\n }\n return null;\n};\nconst getHostSlotChildNodes = (n, slotName) => {\n const childNodes = [n];\n while ((n = n.nextSibling) && n['s-sn'] === slotName) {\n childNodes.push(n);\n }\n return childNodes;\n};\nconst bootstrapLazy = (lazyBundles, options = {}) => {\n if (BUILD.profile && performance.mark) {\n performance.mark('st:app:start');\n }\n installDevTools();\n const endBootstrap = createTime('bootstrapLazy');\n const cmpTags = [];\n const exclude = options.exclude || [];\n const customElements = win.customElements;\n const head = doc.head;\n const metaCharset = /*@__PURE__*/ head.querySelector('meta[charset]');\n const visibilityStyle = /*@__PURE__*/ doc.createElement('style');\n const deferredConnectedCallbacks = [];\n const styles = /*@__PURE__*/ doc.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);\n let appLoadFallback;\n let isBootstrapping = true;\n let i = 0;\n Object.assign(plt, options);\n plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;\n if (BUILD.asyncQueue) {\n if (options.syncQueue) {\n plt.$flags$ |= 4 /* queueSync */;\n }\n }\n if (BUILD.hydrateClientSide) {\n // If the app is already hydrated there is not point to disable the\n // async queue. This will improve the first input delay\n plt.$flags$ |= 2 /* appLoaded */;\n }\n if (BUILD.hydrateClientSide && BUILD.shadowDom) {\n for (; i < styles.length; i++) {\n registerStyle(styles[i].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles[i].innerHTML), true);\n }\n }\n lazyBundles.map((lazyBundle) => {\n lazyBundle[1].map((compactMeta) => {\n const cmpMeta = {\n $flags$: compactMeta[0],\n $tagName$: compactMeta[1],\n $members$: compactMeta[2],\n $listeners$: compactMeta[3],\n };\n if (BUILD.member) {\n cmpMeta.$members$ = compactMeta[2];\n }\n if (BUILD.hostListener) {\n cmpMeta.$listeners$ = compactMeta[3];\n }\n if (BUILD.reflect) {\n cmpMeta.$attrsToReflect$ = [];\n }\n if (BUILD.watchCallback) {\n cmpMeta.$watchers$ = {};\n }\n if (BUILD.shadowDom && !supportsShadow && cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {\n cmpMeta.$flags$ |= 8 /* needsShadowDomShim */;\n }\n const tagName = BUILD.transformTagName && options.transformTagName\n ? options.transformTagName(cmpMeta.$tagName$)\n : cmpMeta.$tagName$;\n const HostElement = class extends HTMLElement {\n // StencilLazyHost\n constructor(self) {\n // @ts-ignore\n super(self);\n self = this;\n registerHost(self, cmpMeta);\n if (BUILD.shadowDom && cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {\n // this component is using shadow dom\n // and this browser supports shadow dom\n // add the read-only property \"shadowRoot\" to the host element\n // adding the shadow root build conditionals to minimize runtime\n if (supportsShadow) {\n if (BUILD.shadowDelegatesFocus) {\n self.attachShadow({\n mode: 'open',\n delegatesFocus: !!(cmpMeta.$flags$ & 16 /* shadowDelegatesFocus */),\n });\n }\n else {\n self.attachShadow({ mode: 'open' });\n }\n }\n else if (!BUILD.hydrateServerSide && !('shadowRoot' in self)) {\n self.shadowRoot = self;\n }\n }\n if (BUILD.slotChildNodesFix) {\n patchChildSlotNodes(self, cmpMeta);\n }\n }\n connectedCallback() {\n if (appLoadFallback) {\n clearTimeout(appLoadFallback);\n appLoadFallback = null;\n }\n if (isBootstrapping) {\n // connectedCallback will be processed once all components have been registered\n deferredConnectedCallbacks.push(this);\n }\n else {\n plt.jmp(() => connectedCallback(this));\n }\n }\n disconnectedCallback() {\n plt.jmp(() => disconnectedCallback(this));\n }\n componentOnReady() {\n return getHostRef(this).$onReadyPromise$;\n }\n };\n if (BUILD.cloneNodeFix) {\n patchCloneNode(HostElement.prototype);\n }\n if (BUILD.appendChildSlotFix) {\n patchSlotAppendChild(HostElement.prototype);\n }\n if (BUILD.hotModuleReplacement) {\n HostElement.prototype['s-hmr'] = function (hmrVersionId) {\n hmrStart(this, cmpMeta, hmrVersionId);\n };\n }\n if (BUILD.scopedSlotTextContentFix) {\n patchTextContent(HostElement.prototype, cmpMeta);\n }\n cmpMeta.$lazyBundleId$ = lazyBundle[0];\n if (!exclude.includes(tagName) && !customElements.get(tagName)) {\n cmpTags.push(tagName);\n customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));\n }\n });\n });\n if (BUILD.invisiblePrehydration && (BUILD.hydratedClass || BUILD.hydratedAttribute)) {\n visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;\n visibilityStyle.setAttribute('data-styles', '');\n head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);\n }\n // Process deferred connectedCallbacks now all components have been registered\n isBootstrapping = false;\n if (deferredConnectedCallbacks.length) {\n deferredConnectedCallbacks.map((host) => host.connectedCallback());\n }\n else {\n if (BUILD.profile) {\n plt.jmp(() => (appLoadFallback = setTimeout(appDidLoad, 30, 'timeout')));\n }\n else {\n plt.jmp(() => (appLoadFallback = setTimeout(appDidLoad, 30)));\n }\n }\n // Fallback appLoad event\n endBootstrap();\n};\nconst getAssetPath = (path) => {\n const assetUrl = new URL(path, plt.$resourcesUrl$);\n return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;\n};\nconst setAssetPath = (path) => (plt.$resourcesUrl$ = path);\nconst getConnect = (_ref, tagName) => {\n const componentOnReady = () => {\n let elm = doc.querySelector(tagName);\n if (!elm) {\n elm = doc.createElement(tagName);\n doc.body.appendChild(elm);\n }\n return typeof elm.componentOnReady === 'function' ? elm.componentOnReady() : Promise.resolve(elm);\n };\n const create = (...args) => {\n return componentOnReady().then((el) => el.create(...args));\n };\n return {\n create,\n componentOnReady,\n };\n};\nconst getContext = (_elm, context) => {\n if (context in Context) {\n return Context[context];\n }\n else if (context === 'window') {\n return win;\n }\n else if (context === 'document') {\n return doc;\n }\n else if (context === 'isServer' || context === 'isPrerender') {\n return BUILD.hydrateServerSide ? true : false;\n }\n else if (context === 'isClient') {\n return BUILD.hydrateServerSide ? false : true;\n }\n else if (context === 'resourcesUrl' || context === 'publicPath') {\n return getAssetPath('.');\n }\n else if (context === 'queue') {\n return {\n write: writeTask,\n read: readTask,\n tick: {\n then(cb) {\n return nextTick(cb);\n },\n },\n };\n }\n return undefined;\n};\nconst insertVdomAnnotations = (doc, staticComponents) => {\n if (doc != null) {\n const docData = {\n hostIds: 0,\n rootLevelIds: 0,\n staticComponents: new Set(staticComponents),\n };\n const orgLocationNodes = [];\n parseVNodeAnnotations(doc, doc.body, docData, orgLocationNodes);\n orgLocationNodes.forEach((orgLocationNode) => {\n if (orgLocationNode != null) {\n const nodeRef = orgLocationNode['s-nr'];\n let hostId = nodeRef['s-host-id'];\n let nodeId = nodeRef['s-node-id'];\n let childId = `${hostId}.${nodeId}`;\n if (hostId == null) {\n hostId = 0;\n docData.rootLevelIds++;\n nodeId = docData.rootLevelIds;\n childId = `${hostId}.${nodeId}`;\n if (nodeRef.nodeType === 1 /* ElementNode */) {\n nodeRef.setAttribute(HYDRATE_CHILD_ID, childId);\n }\n else if (nodeRef.nodeType === 3 /* TextNode */) {\n if (hostId === 0) {\n const textContent = nodeRef.nodeValue.trim();\n if (textContent === '') {\n // useless whitespace node at the document root\n orgLocationNode.remove();\n return;\n }\n }\n const commentBeforeTextNode = doc.createComment(childId);\n commentBeforeTextNode.nodeValue = `${TEXT_NODE_ID}.${childId}`;\n nodeRef.parentNode.insertBefore(commentBeforeTextNode, nodeRef);\n }\n }\n let orgLocationNodeId = `${ORG_LOCATION_ID}.${childId}`;\n const orgLocationParentNode = orgLocationNode.parentElement;\n if (orgLocationParentNode) {\n if (orgLocationParentNode['s-en'] === '') {\n // ending with a \".\" means that the parent element\n // of this node's original location is a SHADOW dom element\n // and this node is apart of the root level light dom\n orgLocationNodeId += `.`;\n }\n else if (orgLocationParentNode['s-en'] === 'c') {\n // ending with a \".c\" means that the parent element\n // of this node's original location is a SCOPED element\n // and this node is apart of the root level light dom\n orgLocationNodeId += `.c`;\n }\n }\n orgLocationNode.nodeValue = orgLocationNodeId;\n }\n });\n }\n};\nconst parseVNodeAnnotations = (doc, node, docData, orgLocationNodes) => {\n if (node == null) {\n return;\n }\n if (node['s-nr'] != null) {\n orgLocationNodes.push(node);\n }\n if (node.nodeType === 1 /* ElementNode */) {\n node.childNodes.forEach((childNode) => {\n const hostRef = getHostRef(childNode);\n if (hostRef != null && !docData.staticComponents.has(childNode.nodeName.toLowerCase())) {\n const cmpData = {\n nodeIds: 0,\n };\n insertVNodeAnnotations(doc, childNode, hostRef.$vnode$, docData, cmpData);\n }\n parseVNodeAnnotations(doc, childNode, docData, orgLocationNodes);\n });\n }\n};\nconst insertVNodeAnnotations = (doc, hostElm, vnode, docData, cmpData) => {\n if (vnode != null) {\n const hostId = ++docData.hostIds;\n hostElm.setAttribute(HYDRATE_ID, hostId);\n if (hostElm['s-cr'] != null) {\n hostElm['s-cr'].nodeValue = `${CONTENT_REF_ID}.${hostId}`;\n }\n if (vnode.$children$ != null) {\n const depth = 0;\n vnode.$children$.forEach((vnodeChild, index) => {\n insertChildVNodeAnnotations(doc, vnodeChild, cmpData, hostId, depth, index);\n });\n }\n if (hostElm && vnode && vnode.$elm$ && !hostElm.hasAttribute('c-id')) {\n const parent = hostElm.parentElement;\n if (parent && parent.childNodes) {\n const parentChildNodes = Array.from(parent.childNodes);\n const comment = parentChildNodes.find((node) => node.nodeType === 8 /* CommentNode */ && node['s-sr']);\n if (comment) {\n const index = parentChildNodes.indexOf(hostElm) - 1;\n vnode.$elm$.setAttribute(HYDRATE_CHILD_ID, `${comment['s-host-id']}.${comment['s-node-id']}.0.${index}`);\n }\n }\n }\n }\n};\nconst insertChildVNodeAnnotations = (doc, vnodeChild, cmpData, hostId, depth, index) => {\n const childElm = vnodeChild.$elm$;\n if (childElm == null) {\n return;\n }\n const nodeId = cmpData.nodeIds++;\n const childId = `${hostId}.${nodeId}.${depth}.${index}`;\n childElm['s-host-id'] = hostId;\n childElm['s-node-id'] = nodeId;\n if (childElm.nodeType === 1 /* ElementNode */) {\n childElm.setAttribute(HYDRATE_CHILD_ID, childId);\n }\n else if (childElm.nodeType === 3 /* TextNode */) {\n const parentNode = childElm.parentNode;\n const nodeName = parentNode.nodeName;\n if (nodeName !== 'STYLE' && nodeName !== 'SCRIPT') {\n const textNodeId = `${TEXT_NODE_ID}.${childId}`;\n const commentBeforeTextNode = doc.createComment(textNodeId);\n parentNode.insertBefore(commentBeforeTextNode, childElm);\n }\n }\n else if (childElm.nodeType === 8 /* CommentNode */) {\n if (childElm['s-sr']) {\n const slotName = childElm['s-sn'] || '';\n const slotNodeId = `${SLOT_NODE_ID}.${childId}.${slotName}`;\n childElm.nodeValue = slotNodeId;\n }\n }\n if (vnodeChild.$children$ != null) {\n const childDepth = depth + 1;\n vnodeChild.$children$.forEach((vnode, index) => {\n insertChildVNodeAnnotations(doc, vnode, cmpData, hostId, childDepth, index);\n });\n }\n};\nconst setPlatformOptions = (opts) => Object.assign(plt, opts);\nconst Fragment = (_, children) => children;\nconst hostRefs = new WeakMap();\nconst getHostRef = (ref) => hostRefs.get(ref);\nconst registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);\nconst registerHost = (elm, cmpMeta) => {\n const hostRef = {\n $flags$: 0,\n $hostElement$: elm,\n $cmpMeta$: cmpMeta,\n $instanceValues$: new Map(),\n };\n if (BUILD.isDev) {\n hostRef.$renderCount$ = 0;\n }\n if (BUILD.method && BUILD.lazyLoad) {\n hostRef.$onInstancePromise$ = new Promise((r) => (hostRef.$onInstanceResolve$ = r));\n }\n if (BUILD.asyncLoading) {\n hostRef.$onReadyPromise$ = new Promise((r) => (hostRef.$onReadyResolve$ = r));\n elm['s-p'] = [];\n elm['s-rc'] = [];\n }\n addHostEventListeners(elm, hostRef, cmpMeta.$listeners$, false);\n return hostRefs.set(elm, hostRef);\n};\nconst isMemberInElement = (elm, memberName) => memberName in elm;\nconst consoleError = (e, el) => (customError || console.error)(e, el);\nconst STENCIL_DEV_MODE = BUILD.isTesting\n ? ['STENCIL:'] // E2E testing\n : [\n '%cstencil',\n 'color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px',\n ];\nconst consoleDevError = (...m) => console.error(...STENCIL_DEV_MODE, ...m);\nconst consoleDevWarn = (...m) => console.warn(...STENCIL_DEV_MODE, ...m);\nconst consoleDevInfo = (...m) => console.info(...STENCIL_DEV_MODE, ...m);\nconst setErrorHandler = (handler) => (customError = handler);\nconst cmpModules = /*@__PURE__*/ new Map();\nconst loadModule = (cmpMeta, hostRef, hmrVersionId) => {\n // loadModuleImport\n const exportName = cmpMeta.$tagName$.replace(/-/g, '_');\n const bundleId = cmpMeta.$lazyBundleId$;\n if (BUILD.isDev && typeof bundleId !== 'string') {\n consoleDevError(`Trying to lazily load component <${cmpMeta.$tagName$}> with style mode \"${hostRef.$modeName$}\", but it does not exist.`);\n return undefined;\n }\n const module = !BUILD.hotModuleReplacement ? cmpModules.get(bundleId) : false;\n if (module) {\n return module[exportName];\n }\n /*!__STENCIL_STATIC_IMPORT_SWITCH__*/\n return import(\n /* @vite-ignore */\n /* webpackInclude: /\\.entry\\.js$/ */\n /* webpackExclude: /\\.system\\.entry\\.js$/ */\n /* webpackMode: \"lazy\" */\n `./${bundleId}.entry.js${BUILD.hotModuleReplacement && hmrVersionId ? '?s-hmr=' + hmrVersionId : ''}`).then((importedModule) => {\n if (!BUILD.hotModuleReplacement) {\n cmpModules.set(bundleId, importedModule);\n }\n return importedModule[exportName];\n }, consoleError);\n};\nconst styles = new Map();\nconst modeResolutionChain = [];\nconst queueDomReads = [];\nconst queueDomWrites = [];\nconst queueDomWritesLow = [];\nconst queueTask = (queue, write) => (cb) => {\n queue.push(cb);\n if (!queuePending) {\n queuePending = true;\n if (write && plt.$flags$ & 4 /* queueSync */) {\n nextTick(flush);\n }\n else {\n plt.raf(flush);\n }\n }\n};\nconst consume = (queue) => {\n for (let i = 0; i < queue.length; i++) {\n try {\n queue[i](performance.now());\n }\n catch (e) {\n consoleError(e);\n }\n }\n queue.length = 0;\n};\nconst consumeTimeout = (queue, timeout) => {\n let i = 0;\n let ts = 0;\n while (i < queue.length && (ts = performance.now()) < timeout) {\n try {\n queue[i++](ts);\n }\n catch (e) {\n consoleError(e);\n }\n }\n if (i === queue.length) {\n queue.length = 0;\n }\n else if (i !== 0) {\n queue.splice(0, i);\n }\n};\nconst flush = () => {\n if (BUILD.asyncQueue) {\n queueCongestion++;\n }\n // always force a bunch of medium callbacks to run, but still have\n // a throttle on how many can run in a certain time\n // DOM READS!!!\n consume(queueDomReads);\n // DOM WRITES!!!\n if (BUILD.asyncQueue) {\n const timeout = (plt.$flags$ & 6 /* queueMask */) === 2 /* appLoaded */\n ? performance.now() + 14 * Math.ceil(queueCongestion * (1.0 / 10.0))\n : Infinity;\n consumeTimeout(queueDomWrites, timeout);\n consumeTimeout(queueDomWritesLow, timeout);\n if (queueDomWrites.length > 0) {\n queueDomWritesLow.push(...queueDomWrites);\n queueDomWrites.length = 0;\n }\n if ((queuePending = queueDomReads.length + queueDomWrites.length + queueDomWritesLow.length > 0)) {\n // still more to do yet, but we've run out of time\n // let's let this thing cool off and try again in the next tick\n plt.raf(flush);\n }\n else {\n queueCongestion = 0;\n }\n }\n else {\n consume(queueDomWrites);\n if ((queuePending = queueDomReads.length > 0)) {\n // still more to do yet, but we've run out of time\n // let's let this thing cool off and try again in the next tick\n plt.raf(flush);\n }\n }\n};\nconst nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);\nconst readTask = /*@__PURE__*/ queueTask(queueDomReads, false);\nconst writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);\nconst Build = {\n isDev: BUILD.isDev ? true : false,\n isBrowser: true,\n isServer: false,\n isTesting: BUILD.isTesting ? true : false,\n};\nexport { BUILD, Env, NAMESPACE } from '@stencil/core/internal/app-data';\nexport { Build, CSS, Context, Fragment, H, H as HTMLElement, Host, STENCIL_DEV_MODE, addHostEventListeners, bootstrapLazy, cmpModules, connectedCallback, consoleDevError, consoleDevInfo, consoleDevWarn, consoleError, createEvent, defineCustomElement, disconnectedCallback, doc, forceModeUpdate, forceUpdate, getAssetPath, getConnect, getContext, getElement, getHostRef, getMode, getRenderingRef, getValue, h, insertVdomAnnotations, isMemberInElement, loadModule, modeResolutionChain, nextTick, parsePropertyValue, plt, postUpdateComponent, promiseResolve, proxyComponent, proxyCustomElement, readTask, registerHost, registerInstance, renderVdom, setAssetPath, setErrorHandler, setMode, setPlatformHelpers, setPlatformOptions, setValue, styles, supportsConstructibleStylesheets, supportsListenerOptions, supportsShadow, win, writeTask };\n","import { extend, isArray, isMap, isIntegerKey, hasOwn, isSymbol, isObject, hasChanged, makeMap, capitalize, toRawType, def, isFunction, NOOP } from '@vue/shared';\n\nfunction warn(msg, ...args) {\r\n console.warn(`[Vue warn] ${msg}`, ...args);\r\n}\n\nlet activeEffectScope;\r\nclass EffectScope {\r\n constructor(detached = false) {\r\n /**\r\n * @internal\r\n */\r\n this.active = true;\r\n /**\r\n * @internal\r\n */\r\n this.effects = [];\r\n /**\r\n * @internal\r\n */\r\n this.cleanups = [];\r\n if (!detached && activeEffectScope) {\r\n this.parent = activeEffectScope;\r\n this.index =\r\n (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(this) - 1;\r\n }\r\n }\r\n run(fn) {\r\n if (this.active) {\r\n const currentEffectScope = activeEffectScope;\r\n try {\r\n activeEffectScope = this;\r\n return fn();\r\n }\r\n finally {\r\n activeEffectScope = currentEffectScope;\r\n }\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`cannot run an inactive effect scope.`);\r\n }\r\n }\r\n /**\r\n * This should only be called on non-detached scopes\r\n * @internal\r\n */\r\n on() {\r\n activeEffectScope = this;\r\n }\r\n /**\r\n * This should only be called on non-detached scopes\r\n * @internal\r\n */\r\n off() {\r\n activeEffectScope = this.parent;\r\n }\r\n stop(fromParent) {\r\n if (this.active) {\r\n let i, l;\r\n for (i = 0, l = this.effects.length; i < l; i++) {\r\n this.effects[i].stop();\r\n }\r\n for (i = 0, l = this.cleanups.length; i < l; i++) {\r\n this.cleanups[i]();\r\n }\r\n if (this.scopes) {\r\n for (i = 0, l = this.scopes.length; i < l; i++) {\r\n this.scopes[i].stop(true);\r\n }\r\n }\r\n // nested scope, dereference from parent to avoid memory leaks\r\n if (this.parent && !fromParent) {\r\n // optimized O(1) removal\r\n const last = this.parent.scopes.pop();\r\n if (last && last !== this) {\r\n this.parent.scopes[this.index] = last;\r\n last.index = this.index;\r\n }\r\n }\r\n this.active = false;\r\n }\r\n }\r\n}\r\nfunction effectScope(detached) {\r\n return new EffectScope(detached);\r\n}\r\nfunction recordEffectScope(effect, scope = activeEffectScope) {\r\n if (scope && scope.active) {\r\n scope.effects.push(effect);\r\n }\r\n}\r\nfunction getCurrentScope() {\r\n return activeEffectScope;\r\n}\r\nfunction onScopeDispose(fn) {\r\n if (activeEffectScope) {\r\n activeEffectScope.cleanups.push(fn);\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`onScopeDispose() is called when there is no active effect scope` +\r\n ` to be associated with.`);\r\n }\r\n}\n\nconst createDep = (effects) => {\r\n const dep = new Set(effects);\r\n dep.w = 0;\r\n dep.n = 0;\r\n return dep;\r\n};\r\nconst wasTracked = (dep) => (dep.w & trackOpBit) > 0;\r\nconst newTracked = (dep) => (dep.n & trackOpBit) > 0;\r\nconst initDepMarkers = ({ deps }) => {\r\n if (deps.length) {\r\n for (let i = 0; i < deps.length; i++) {\r\n deps[i].w |= trackOpBit; // set was tracked\r\n }\r\n }\r\n};\r\nconst finalizeDepMarkers = (effect) => {\r\n const { deps } = effect;\r\n if (deps.length) {\r\n let ptr = 0;\r\n for (let i = 0; i < deps.length; i++) {\r\n const dep = deps[i];\r\n if (wasTracked(dep) && !newTracked(dep)) {\r\n dep.delete(effect);\r\n }\r\n else {\r\n deps[ptr++] = dep;\r\n }\r\n // clear bits\r\n dep.w &= ~trackOpBit;\r\n dep.n &= ~trackOpBit;\r\n }\r\n deps.length = ptr;\r\n }\r\n};\n\nconst targetMap = new WeakMap();\r\n// The number of effects currently being tracked recursively.\r\nlet effectTrackDepth = 0;\r\nlet trackOpBit = 1;\r\n/**\r\n * The bitwise track markers support at most 30 levels of recursion.\r\n * This value is chosen to enable modern JS engines to use a SMI on all platforms.\r\n * When recursion depth is greater, fall back to using a full cleanup.\r\n */\r\nconst maxMarkerBits = 30;\r\nlet activeEffect;\r\nconst ITERATE_KEY = Symbol((process.env.NODE_ENV !== 'production') ? 'iterate' : '');\r\nconst MAP_KEY_ITERATE_KEY = Symbol((process.env.NODE_ENV !== 'production') ? 'Map key iterate' : '');\r\nclass ReactiveEffect {\r\n constructor(fn, scheduler = null, scope) {\r\n this.fn = fn;\r\n this.scheduler = scheduler;\r\n this.active = true;\r\n this.deps = [];\r\n this.parent = undefined;\r\n recordEffectScope(this, scope);\r\n }\r\n run() {\r\n if (!this.active) {\r\n return this.fn();\r\n }\r\n let parent = activeEffect;\r\n let lastShouldTrack = shouldTrack;\r\n while (parent) {\r\n if (parent === this) {\r\n return;\r\n }\r\n parent = parent.parent;\r\n }\r\n try {\r\n this.parent = activeEffect;\r\n activeEffect = this;\r\n shouldTrack = true;\r\n trackOpBit = 1 << ++effectTrackDepth;\r\n if (effectTrackDepth <= maxMarkerBits) {\r\n initDepMarkers(this);\r\n }\r\n else {\r\n cleanupEffect(this);\r\n }\r\n return this.fn();\r\n }\r\n finally {\r\n if (effectTrackDepth <= maxMarkerBits) {\r\n finalizeDepMarkers(this);\r\n }\r\n trackOpBit = 1 << --effectTrackDepth;\r\n activeEffect = this.parent;\r\n shouldTrack = lastShouldTrack;\r\n this.parent = undefined;\r\n if (this.deferStop) {\r\n this.stop();\r\n }\r\n }\r\n }\r\n stop() {\r\n // stopped while running itself - defer the cleanup\r\n if (activeEffect === this) {\r\n this.deferStop = true;\r\n }\r\n else if (this.active) {\r\n cleanupEffect(this);\r\n if (this.onStop) {\r\n this.onStop();\r\n }\r\n this.active = false;\r\n }\r\n }\r\n}\r\nfunction cleanupEffect(effect) {\r\n const { deps } = effect;\r\n if (deps.length) {\r\n for (let i = 0; i < deps.length; i++) {\r\n deps[i].delete(effect);\r\n }\r\n deps.length = 0;\r\n }\r\n}\r\nfunction effect(fn, options) {\r\n if (fn.effect) {\r\n fn = fn.effect.fn;\r\n }\r\n const _effect = new ReactiveEffect(fn);\r\n if (options) {\r\n extend(_effect, options);\r\n if (options.scope)\r\n recordEffectScope(_effect, options.scope);\r\n }\r\n if (!options || !options.lazy) {\r\n _effect.run();\r\n }\r\n const runner = _effect.run.bind(_effect);\r\n runner.effect = _effect;\r\n return runner;\r\n}\r\nfunction stop(runner) {\r\n runner.effect.stop();\r\n}\r\nlet shouldTrack = true;\r\nconst trackStack = [];\r\nfunction pauseTracking() {\r\n trackStack.push(shouldTrack);\r\n shouldTrack = false;\r\n}\r\nfunction enableTracking() {\r\n trackStack.push(shouldTrack);\r\n shouldTrack = true;\r\n}\r\nfunction resetTracking() {\r\n const last = trackStack.pop();\r\n shouldTrack = last === undefined ? true : last;\r\n}\r\nfunction track(target, type, key) {\r\n if (shouldTrack && activeEffect) {\r\n let depsMap = targetMap.get(target);\r\n if (!depsMap) {\r\n targetMap.set(target, (depsMap = new Map()));\r\n }\r\n let dep = depsMap.get(key);\r\n if (!dep) {\r\n depsMap.set(key, (dep = createDep()));\r\n }\r\n const eventInfo = (process.env.NODE_ENV !== 'production')\r\n ? { effect: activeEffect, target, type, key }\r\n : undefined;\r\n trackEffects(dep, eventInfo);\r\n }\r\n}\r\nfunction trackEffects(dep, debuggerEventExtraInfo) {\r\n let shouldTrack = false;\r\n if (effectTrackDepth <= maxMarkerBits) {\r\n if (!newTracked(dep)) {\r\n dep.n |= trackOpBit; // set newly tracked\r\n shouldTrack = !wasTracked(dep);\r\n }\r\n }\r\n else {\r\n // Full cleanup mode.\r\n shouldTrack = !dep.has(activeEffect);\r\n }\r\n if (shouldTrack) {\r\n dep.add(activeEffect);\r\n activeEffect.deps.push(dep);\r\n if ((process.env.NODE_ENV !== 'production') && activeEffect.onTrack) {\r\n activeEffect.onTrack(Object.assign({ effect: activeEffect }, debuggerEventExtraInfo));\r\n }\r\n }\r\n}\r\nfunction trigger(target, type, key, newValue, oldValue, oldTarget) {\r\n const depsMap = targetMap.get(target);\r\n if (!depsMap) {\r\n // never been tracked\r\n return;\r\n }\r\n let deps = [];\r\n if (type === \"clear\" /* CLEAR */) {\r\n // collection being cleared\r\n // trigger all effects for target\r\n deps = [...depsMap.values()];\r\n }\r\n else if (key === 'length' && isArray(target)) {\r\n depsMap.forEach((dep, key) => {\r\n if (key === 'length' || key >= newValue) {\r\n deps.push(dep);\r\n }\r\n });\r\n }\r\n else {\r\n // schedule runs for SET | ADD | DELETE\r\n if (key !== void 0) {\r\n deps.push(depsMap.get(key));\r\n }\r\n // also run for iteration key on ADD | DELETE | Map.SET\r\n switch (type) {\r\n case \"add\" /* ADD */:\r\n if (!isArray(target)) {\r\n deps.push(depsMap.get(ITERATE_KEY));\r\n if (isMap(target)) {\r\n deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));\r\n }\r\n }\r\n else if (isIntegerKey(key)) {\r\n // new index added to array -> length changes\r\n deps.push(depsMap.get('length'));\r\n }\r\n break;\r\n case \"delete\" /* DELETE */:\r\n if (!isArray(target)) {\r\n deps.push(depsMap.get(ITERATE_KEY));\r\n if (isMap(target)) {\r\n deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));\r\n }\r\n }\r\n break;\r\n case \"set\" /* SET */:\r\n if (isMap(target)) {\r\n deps.push(depsMap.get(ITERATE_KEY));\r\n }\r\n break;\r\n }\r\n }\r\n const eventInfo = (process.env.NODE_ENV !== 'production')\r\n ? { target, type, key, newValue, oldValue, oldTarget }\r\n : undefined;\r\n if (deps.length === 1) {\r\n if (deps[0]) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n triggerEffects(deps[0], eventInfo);\r\n }\r\n else {\r\n triggerEffects(deps[0]);\r\n }\r\n }\r\n }\r\n else {\r\n const effects = [];\r\n for (const dep of deps) {\r\n if (dep) {\r\n effects.push(...dep);\r\n }\r\n }\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n triggerEffects(createDep(effects), eventInfo);\r\n }\r\n else {\r\n triggerEffects(createDep(effects));\r\n }\r\n }\r\n}\r\nfunction triggerEffects(dep, debuggerEventExtraInfo) {\r\n // spread into array for stabilization\r\n const effects = isArray(dep) ? dep : [...dep];\r\n for (const effect of effects) {\r\n if (effect.computed) {\r\n triggerEffect(effect, debuggerEventExtraInfo);\r\n }\r\n }\r\n for (const effect of effects) {\r\n if (!effect.computed) {\r\n triggerEffect(effect, debuggerEventExtraInfo);\r\n }\r\n }\r\n}\r\nfunction triggerEffect(effect, debuggerEventExtraInfo) {\r\n if (effect !== activeEffect || effect.allowRecurse) {\r\n if ((process.env.NODE_ENV !== 'production') && effect.onTrigger) {\r\n effect.onTrigger(extend({ effect }, debuggerEventExtraInfo));\r\n }\r\n if (effect.scheduler) {\r\n effect.scheduler();\r\n }\r\n else {\r\n effect.run();\r\n }\r\n }\r\n}\n\nconst isNonTrackableKeys = /*#__PURE__*/ makeMap(`__proto__,__v_isRef,__isVue`);\r\nconst builtInSymbols = new Set(\r\n/*#__PURE__*/\r\nObject.getOwnPropertyNames(Symbol)\r\n // ios10.x Object.getOwnPropertyNames(Symbol) can enumerate 'arguments' and 'caller'\r\n // but accessing them on Symbol leads to TypeError because Symbol is a strict mode\r\n // function\r\n .filter(key => key !== 'arguments' && key !== 'caller')\r\n .map(key => Symbol[key])\r\n .filter(isSymbol));\r\nconst get = /*#__PURE__*/ createGetter();\r\nconst shallowGet = /*#__PURE__*/ createGetter(false, true);\r\nconst readonlyGet = /*#__PURE__*/ createGetter(true);\r\nconst shallowReadonlyGet = /*#__PURE__*/ createGetter(true, true);\r\nconst arrayInstrumentations = /*#__PURE__*/ createArrayInstrumentations();\r\nfunction createArrayInstrumentations() {\r\n const instrumentations = {};\r\n ['includes', 'indexOf', 'lastIndexOf'].forEach(key => {\r\n instrumentations[key] = function (...args) {\r\n const arr = toRaw(this);\r\n for (let i = 0, l = this.length; i < l; i++) {\r\n track(arr, \"get\" /* GET */, i + '');\r\n }\r\n // we run the method using the original args first (which may be reactive)\r\n const res = arr[key](...args);\r\n if (res === -1 || res === false) {\r\n // if that didn't work, run it again using raw values.\r\n return arr[key](...args.map(toRaw));\r\n }\r\n else {\r\n return res;\r\n }\r\n };\r\n });\r\n ['push', 'pop', 'shift', 'unshift', 'splice'].forEach(key => {\r\n instrumentations[key] = function (...args) {\r\n pauseTracking();\r\n const res = toRaw(this)[key].apply(this, args);\r\n resetTracking();\r\n return res;\r\n };\r\n });\r\n return instrumentations;\r\n}\r\nfunction createGetter(isReadonly = false, shallow = false) {\r\n return function get(target, key, receiver) {\r\n if (key === \"__v_isReactive\" /* IS_REACTIVE */) {\r\n return !isReadonly;\r\n }\r\n else if (key === \"__v_isReadonly\" /* IS_READONLY */) {\r\n return isReadonly;\r\n }\r\n else if (key === \"__v_isShallow\" /* IS_SHALLOW */) {\r\n return shallow;\r\n }\r\n else if (key === \"__v_raw\" /* RAW */ &&\r\n receiver ===\r\n (isReadonly\r\n ? shallow\r\n ? shallowReadonlyMap\r\n : readonlyMap\r\n : shallow\r\n ? shallowReactiveMap\r\n : reactiveMap).get(target)) {\r\n return target;\r\n }\r\n const targetIsArray = isArray(target);\r\n if (!isReadonly && targetIsArray && hasOwn(arrayInstrumentations, key)) {\r\n return Reflect.get(arrayInstrumentations, key, receiver);\r\n }\r\n const res = Reflect.get(target, key, receiver);\r\n if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {\r\n return res;\r\n }\r\n if (!isReadonly) {\r\n track(target, \"get\" /* GET */, key);\r\n }\r\n if (shallow) {\r\n return res;\r\n }\r\n if (isRef(res)) {\r\n // ref unwrapping - skip unwrap for Array + integer key.\r\n return targetIsArray && isIntegerKey(key) ? res : res.value;\r\n }\r\n if (isObject(res)) {\r\n // Convert returned value into a proxy as well. we do the isObject check\r\n // here to avoid invalid value warning. Also need to lazy access readonly\r\n // and reactive here to avoid circular dependency.\r\n return isReadonly ? readonly(res) : reactive(res);\r\n }\r\n return res;\r\n };\r\n}\r\nconst set = /*#__PURE__*/ createSetter();\r\nconst shallowSet = /*#__PURE__*/ createSetter(true);\r\nfunction createSetter(shallow = false) {\r\n return function set(target, key, value, receiver) {\r\n let oldValue = target[key];\r\n if (isReadonly(oldValue) && isRef(oldValue) && !isRef(value)) {\r\n return false;\r\n }\r\n if (!shallow && !isReadonly(value)) {\r\n if (!isShallow(value)) {\r\n value = toRaw(value);\r\n oldValue = toRaw(oldValue);\r\n }\r\n if (!isArray(target) && isRef(oldValue) && !isRef(value)) {\r\n oldValue.value = value;\r\n return true;\r\n }\r\n }\r\n const hadKey = isArray(target) && isIntegerKey(key)\r\n ? Number(key) < target.length\r\n : hasOwn(target, key);\r\n const result = Reflect.set(target, key, value, receiver);\r\n // don't trigger if target is something up in the prototype chain of original\r\n if (target === toRaw(receiver)) {\r\n if (!hadKey) {\r\n trigger(target, \"add\" /* ADD */, key, value);\r\n }\r\n else if (hasChanged(value, oldValue)) {\r\n trigger(target, \"set\" /* SET */, key, value, oldValue);\r\n }\r\n }\r\n return result;\r\n };\r\n}\r\nfunction deleteProperty(target, key) {\r\n const hadKey = hasOwn(target, key);\r\n const oldValue = target[key];\r\n const result = Reflect.deleteProperty(target, key);\r\n if (result && hadKey) {\r\n trigger(target, \"delete\" /* DELETE */, key, undefined, oldValue);\r\n }\r\n return result;\r\n}\r\nfunction has(target, key) {\r\n const result = Reflect.has(target, key);\r\n if (!isSymbol(key) || !builtInSymbols.has(key)) {\r\n track(target, \"has\" /* HAS */, key);\r\n }\r\n return result;\r\n}\r\nfunction ownKeys(target) {\r\n track(target, \"iterate\" /* ITERATE */, isArray(target) ? 'length' : ITERATE_KEY);\r\n return Reflect.ownKeys(target);\r\n}\r\nconst mutableHandlers = {\r\n get,\r\n set,\r\n deleteProperty,\r\n has,\r\n ownKeys\r\n};\r\nconst readonlyHandlers = {\r\n get: readonlyGet,\r\n set(target, key) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`Set operation on key \"${String(key)}\" failed: target is readonly.`, target);\r\n }\r\n return true;\r\n },\r\n deleteProperty(target, key) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`Delete operation on key \"${String(key)}\" failed: target is readonly.`, target);\r\n }\r\n return true;\r\n }\r\n};\r\nconst shallowReactiveHandlers = /*#__PURE__*/ extend({}, mutableHandlers, {\r\n get: shallowGet,\r\n set: shallowSet\r\n});\r\n// Props handlers are special in the sense that it should not unwrap top-level\r\n// refs (in order to allow refs to be explicitly passed down), but should\r\n// retain the reactivity of the normal readonly object.\r\nconst shallowReadonlyHandlers = /*#__PURE__*/ extend({}, readonlyHandlers, {\r\n get: shallowReadonlyGet\r\n});\n\nconst toShallow = (value) => value;\r\nconst getProto = (v) => Reflect.getPrototypeOf(v);\r\nfunction get$1(target, key, isReadonly = false, isShallow = false) {\r\n // #1772: readonly(reactive(Map)) should return readonly + reactive version\r\n // of the value\r\n target = target[\"__v_raw\" /* RAW */];\r\n const rawTarget = toRaw(target);\r\n const rawKey = toRaw(key);\r\n if (!isReadonly) {\r\n if (key !== rawKey) {\r\n track(rawTarget, \"get\" /* GET */, key);\r\n }\r\n track(rawTarget, \"get\" /* GET */, rawKey);\r\n }\r\n const { has } = getProto(rawTarget);\r\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\r\n if (has.call(rawTarget, key)) {\r\n return wrap(target.get(key));\r\n }\r\n else if (has.call(rawTarget, rawKey)) {\r\n return wrap(target.get(rawKey));\r\n }\r\n else if (target !== rawTarget) {\r\n // #3602 readonly(reactive(Map))\r\n // ensure that the nested reactive `Map` can do tracking for itself\r\n target.get(key);\r\n }\r\n}\r\nfunction has$1(key, isReadonly = false) {\r\n const target = this[\"__v_raw\" /* RAW */];\r\n const rawTarget = toRaw(target);\r\n const rawKey = toRaw(key);\r\n if (!isReadonly) {\r\n if (key !== rawKey) {\r\n track(rawTarget, \"has\" /* HAS */, key);\r\n }\r\n track(rawTarget, \"has\" /* HAS */, rawKey);\r\n }\r\n return key === rawKey\r\n ? target.has(key)\r\n : target.has(key) || target.has(rawKey);\r\n}\r\nfunction size(target, isReadonly = false) {\r\n target = target[\"__v_raw\" /* RAW */];\r\n !isReadonly && track(toRaw(target), \"iterate\" /* ITERATE */, ITERATE_KEY);\r\n return Reflect.get(target, 'size', target);\r\n}\r\nfunction add(value) {\r\n value = toRaw(value);\r\n const target = toRaw(this);\r\n const proto = getProto(target);\r\n const hadKey = proto.has.call(target, value);\r\n if (!hadKey) {\r\n target.add(value);\r\n trigger(target, \"add\" /* ADD */, value, value);\r\n }\r\n return this;\r\n}\r\nfunction set$1(key, value) {\r\n value = toRaw(value);\r\n const target = toRaw(this);\r\n const { has, get } = getProto(target);\r\n let hadKey = has.call(target, key);\r\n if (!hadKey) {\r\n key = toRaw(key);\r\n hadKey = has.call(target, key);\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n checkIdentityKeys(target, has, key);\r\n }\r\n const oldValue = get.call(target, key);\r\n target.set(key, value);\r\n if (!hadKey) {\r\n trigger(target, \"add\" /* ADD */, key, value);\r\n }\r\n else if (hasChanged(value, oldValue)) {\r\n trigger(target, \"set\" /* SET */, key, value, oldValue);\r\n }\r\n return this;\r\n}\r\nfunction deleteEntry(key) {\r\n const target = toRaw(this);\r\n const { has, get } = getProto(target);\r\n let hadKey = has.call(target, key);\r\n if (!hadKey) {\r\n key = toRaw(key);\r\n hadKey = has.call(target, key);\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n checkIdentityKeys(target, has, key);\r\n }\r\n const oldValue = get ? get.call(target, key) : undefined;\r\n // forward the operation before queueing reactions\r\n const result = target.delete(key);\r\n if (hadKey) {\r\n trigger(target, \"delete\" /* DELETE */, key, undefined, oldValue);\r\n }\r\n return result;\r\n}\r\nfunction clear() {\r\n const target = toRaw(this);\r\n const hadItems = target.size !== 0;\r\n const oldTarget = (process.env.NODE_ENV !== 'production')\r\n ? isMap(target)\r\n ? new Map(target)\r\n : new Set(target)\r\n : undefined;\r\n // forward the operation before queueing reactions\r\n const result = target.clear();\r\n if (hadItems) {\r\n trigger(target, \"clear\" /* CLEAR */, undefined, undefined, oldTarget);\r\n }\r\n return result;\r\n}\r\nfunction createForEach(isReadonly, isShallow) {\r\n return function forEach(callback, thisArg) {\r\n const observed = this;\r\n const target = observed[\"__v_raw\" /* RAW */];\r\n const rawTarget = toRaw(target);\r\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\r\n !isReadonly && track(rawTarget, \"iterate\" /* ITERATE */, ITERATE_KEY);\r\n return target.forEach((value, key) => {\r\n // important: make sure the callback is\r\n // 1. invoked with the reactive map as `this` and 3rd arg\r\n // 2. the value received should be a corresponding reactive/readonly.\r\n return callback.call(thisArg, wrap(value), wrap(key), observed);\r\n });\r\n };\r\n}\r\nfunction createIterableMethod(method, isReadonly, isShallow) {\r\n return function (...args) {\r\n const target = this[\"__v_raw\" /* RAW */];\r\n const rawTarget = toRaw(target);\r\n const targetIsMap = isMap(rawTarget);\r\n const isPair = method === 'entries' || (method === Symbol.iterator && targetIsMap);\r\n const isKeyOnly = method === 'keys' && targetIsMap;\r\n const innerIterator = target[method](...args);\r\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\r\n !isReadonly &&\r\n track(rawTarget, \"iterate\" /* ITERATE */, isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY);\r\n // return a wrapped iterator which returns observed versions of the\r\n // values emitted from the real iterator\r\n return {\r\n // iterator protocol\r\n next() {\r\n const { value, done } = innerIterator.next();\r\n return done\r\n ? { value, done }\r\n : {\r\n value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value),\r\n done\r\n };\r\n },\r\n // iterable protocol\r\n [Symbol.iterator]() {\r\n return this;\r\n }\r\n };\r\n };\r\n}\r\nfunction createReadonlyMethod(type) {\r\n return function (...args) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n const key = args[0] ? `on key \"${args[0]}\" ` : ``;\r\n console.warn(`${capitalize(type)} operation ${key}failed: target is readonly.`, toRaw(this));\r\n }\r\n return type === \"delete\" /* DELETE */ ? false : this;\r\n };\r\n}\r\nfunction createInstrumentations() {\r\n const mutableInstrumentations = {\r\n get(key) {\r\n return get$1(this, key);\r\n },\r\n get size() {\r\n return size(this);\r\n },\r\n has: has$1,\r\n add,\r\n set: set$1,\r\n delete: deleteEntry,\r\n clear,\r\n forEach: createForEach(false, false)\r\n };\r\n const shallowInstrumentations = {\r\n get(key) {\r\n return get$1(this, key, false, true);\r\n },\r\n get size() {\r\n return size(this);\r\n },\r\n has: has$1,\r\n add,\r\n set: set$1,\r\n delete: deleteEntry,\r\n clear,\r\n forEach: createForEach(false, true)\r\n };\r\n const readonlyInstrumentations = {\r\n get(key) {\r\n return get$1(this, key, true);\r\n },\r\n get size() {\r\n return size(this, true);\r\n },\r\n has(key) {\r\n return has$1.call(this, key, true);\r\n },\r\n add: createReadonlyMethod(\"add\" /* ADD */),\r\n set: createReadonlyMethod(\"set\" /* SET */),\r\n delete: createReadonlyMethod(\"delete\" /* DELETE */),\r\n clear: createReadonlyMethod(\"clear\" /* CLEAR */),\r\n forEach: createForEach(true, false)\r\n };\r\n const shallowReadonlyInstrumentations = {\r\n get(key) {\r\n return get$1(this, key, true, true);\r\n },\r\n get size() {\r\n return size(this, true);\r\n },\r\n has(key) {\r\n return has$1.call(this, key, true);\r\n },\r\n add: createReadonlyMethod(\"add\" /* ADD */),\r\n set: createReadonlyMethod(\"set\" /* SET */),\r\n delete: createReadonlyMethod(\"delete\" /* DELETE */),\r\n clear: createReadonlyMethod(\"clear\" /* CLEAR */),\r\n forEach: createForEach(true, true)\r\n };\r\n const iteratorMethods = ['keys', 'values', 'entries', Symbol.iterator];\r\n iteratorMethods.forEach(method => {\r\n mutableInstrumentations[method] = createIterableMethod(method, false, false);\r\n readonlyInstrumentations[method] = createIterableMethod(method, true, false);\r\n shallowInstrumentations[method] = createIterableMethod(method, false, true);\r\n shallowReadonlyInstrumentations[method] = createIterableMethod(method, true, true);\r\n });\r\n return [\r\n mutableInstrumentations,\r\n readonlyInstrumentations,\r\n shallowInstrumentations,\r\n shallowReadonlyInstrumentations\r\n ];\r\n}\r\nconst [mutableInstrumentations, readonlyInstrumentations, shallowInstrumentations, shallowReadonlyInstrumentations] = /* #__PURE__*/ createInstrumentations();\r\nfunction createInstrumentationGetter(isReadonly, shallow) {\r\n const instrumentations = shallow\r\n ? isReadonly\r\n ? shallowReadonlyInstrumentations\r\n : shallowInstrumentations\r\n : isReadonly\r\n ? readonlyInstrumentations\r\n : mutableInstrumentations;\r\n return (target, key, receiver) => {\r\n if (key === \"__v_isReactive\" /* IS_REACTIVE */) {\r\n return !isReadonly;\r\n }\r\n else if (key === \"__v_isReadonly\" /* IS_READONLY */) {\r\n return isReadonly;\r\n }\r\n else if (key === \"__v_raw\" /* RAW */) {\r\n return target;\r\n }\r\n return Reflect.get(hasOwn(instrumentations, key) && key in target\r\n ? instrumentations\r\n : target, key, receiver);\r\n };\r\n}\r\nconst mutableCollectionHandlers = {\r\n get: /*#__PURE__*/ createInstrumentationGetter(false, false)\r\n};\r\nconst shallowCollectionHandlers = {\r\n get: /*#__PURE__*/ createInstrumentationGetter(false, true)\r\n};\r\nconst readonlyCollectionHandlers = {\r\n get: /*#__PURE__*/ createInstrumentationGetter(true, false)\r\n};\r\nconst shallowReadonlyCollectionHandlers = {\r\n get: /*#__PURE__*/ createInstrumentationGetter(true, true)\r\n};\r\nfunction checkIdentityKeys(target, has, key) {\r\n const rawKey = toRaw(key);\r\n if (rawKey !== key && has.call(target, rawKey)) {\r\n const type = toRawType(target);\r\n console.warn(`Reactive ${type} contains both the raw and reactive ` +\r\n `versions of the same object${type === `Map` ? ` as keys` : ``}, ` +\r\n `which can lead to inconsistencies. ` +\r\n `Avoid differentiating between the raw and reactive versions ` +\r\n `of an object and only use the reactive version if possible.`);\r\n }\r\n}\n\nconst reactiveMap = new WeakMap();\r\nconst shallowReactiveMap = new WeakMap();\r\nconst readonlyMap = new WeakMap();\r\nconst shallowReadonlyMap = new WeakMap();\r\nfunction targetTypeMap(rawType) {\r\n switch (rawType) {\r\n case 'Object':\r\n case 'Array':\r\n return 1 /* COMMON */;\r\n case 'Map':\r\n case 'Set':\r\n case 'WeakMap':\r\n case 'WeakSet':\r\n return 2 /* COLLECTION */;\r\n default:\r\n return 0 /* INVALID */;\r\n }\r\n}\r\nfunction getTargetType(value) {\r\n return value[\"__v_skip\" /* SKIP */] || !Object.isExtensible(value)\r\n ? 0 /* INVALID */\r\n : targetTypeMap(toRawType(value));\r\n}\r\nfunction reactive(target) {\r\n // if trying to observe a readonly proxy, return the readonly version.\r\n if (isReadonly(target)) {\r\n return target;\r\n }\r\n return createReactiveObject(target, false, mutableHandlers, mutableCollectionHandlers, reactiveMap);\r\n}\r\n/**\r\n * Return a shallowly-reactive copy of the original object, where only the root\r\n * level properties are reactive. It also does not auto-unwrap refs (even at the\r\n * root level).\r\n */\r\nfunction shallowReactive(target) {\r\n return createReactiveObject(target, false, shallowReactiveHandlers, shallowCollectionHandlers, shallowReactiveMap);\r\n}\r\n/**\r\n * Creates a readonly copy of the original object. Note the returned copy is not\r\n * made reactive, but `readonly` can be called on an already reactive object.\r\n */\r\nfunction readonly(target) {\r\n return createReactiveObject(target, true, readonlyHandlers, readonlyCollectionHandlers, readonlyMap);\r\n}\r\n/**\r\n * Returns a reactive-copy of the original object, where only the root level\r\n * properties are readonly, and does NOT unwrap refs nor recursively convert\r\n * returned properties.\r\n * This is used for creating the props proxy object for stateful components.\r\n */\r\nfunction shallowReadonly(target) {\r\n return createReactiveObject(target, true, shallowReadonlyHandlers, shallowReadonlyCollectionHandlers, shallowReadonlyMap);\r\n}\r\nfunction createReactiveObject(target, isReadonly, baseHandlers, collectionHandlers, proxyMap) {\r\n if (!isObject(target)) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n console.warn(`value cannot be made reactive: ${String(target)}`);\r\n }\r\n return target;\r\n }\r\n // target is already a Proxy, return it.\r\n // exception: calling readonly() on a reactive object\r\n if (target[\"__v_raw\" /* RAW */] &&\r\n !(isReadonly && target[\"__v_isReactive\" /* IS_REACTIVE */])) {\r\n return target;\r\n }\r\n // target already has corresponding Proxy\r\n const existingProxy = proxyMap.get(target);\r\n if (existingProxy) {\r\n return existingProxy;\r\n }\r\n // only specific value types can be observed.\r\n const targetType = getTargetType(target);\r\n if (targetType === 0 /* INVALID */) {\r\n return target;\r\n }\r\n const proxy = new Proxy(target, targetType === 2 /* COLLECTION */ ? collectionHandlers : baseHandlers);\r\n proxyMap.set(target, proxy);\r\n return proxy;\r\n}\r\nfunction isReactive(value) {\r\n if (isReadonly(value)) {\r\n return isReactive(value[\"__v_raw\" /* RAW */]);\r\n }\r\n return !!(value && value[\"__v_isReactive\" /* IS_REACTIVE */]);\r\n}\r\nfunction isReadonly(value) {\r\n return !!(value && value[\"__v_isReadonly\" /* IS_READONLY */]);\r\n}\r\nfunction isShallow(value) {\r\n return !!(value && value[\"__v_isShallow\" /* IS_SHALLOW */]);\r\n}\r\nfunction isProxy(value) {\r\n return isReactive(value) || isReadonly(value);\r\n}\r\nfunction toRaw(observed) {\r\n const raw = observed && observed[\"__v_raw\" /* RAW */];\r\n return raw ? toRaw(raw) : observed;\r\n}\r\nfunction markRaw(value) {\r\n def(value, \"__v_skip\" /* SKIP */, true);\r\n return value;\r\n}\r\nconst toReactive = (value) => isObject(value) ? reactive(value) : value;\r\nconst toReadonly = (value) => isObject(value) ? readonly(value) : value;\n\nfunction trackRefValue(ref) {\r\n if (shouldTrack && activeEffect) {\r\n ref = toRaw(ref);\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n trackEffects(ref.dep || (ref.dep = createDep()), {\r\n target: ref,\r\n type: \"get\" /* GET */,\r\n key: 'value'\r\n });\r\n }\r\n else {\r\n trackEffects(ref.dep || (ref.dep = createDep()));\r\n }\r\n }\r\n}\r\nfunction triggerRefValue(ref, newVal) {\r\n ref = toRaw(ref);\r\n if (ref.dep) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n triggerEffects(ref.dep, {\r\n target: ref,\r\n type: \"set\" /* SET */,\r\n key: 'value',\r\n newValue: newVal\r\n });\r\n }\r\n else {\r\n triggerEffects(ref.dep);\r\n }\r\n }\r\n}\r\nfunction isRef(r) {\r\n return !!(r && r.__v_isRef === true);\r\n}\r\nfunction ref(value) {\r\n return createRef(value, false);\r\n}\r\nfunction shallowRef(value) {\r\n return createRef(value, true);\r\n}\r\nfunction createRef(rawValue, shallow) {\r\n if (isRef(rawValue)) {\r\n return rawValue;\r\n }\r\n return new RefImpl(rawValue, shallow);\r\n}\r\nclass RefImpl {\r\n constructor(value, __v_isShallow) {\r\n this.__v_isShallow = __v_isShallow;\r\n this.dep = undefined;\r\n this.__v_isRef = true;\r\n this._rawValue = __v_isShallow ? value : toRaw(value);\r\n this._value = __v_isShallow ? value : toReactive(value);\r\n }\r\n get value() {\r\n trackRefValue(this);\r\n return this._value;\r\n }\r\n set value(newVal) {\r\n newVal = this.__v_isShallow ? newVal : toRaw(newVal);\r\n if (hasChanged(newVal, this._rawValue)) {\r\n this._rawValue = newVal;\r\n this._value = this.__v_isShallow ? newVal : toReactive(newVal);\r\n triggerRefValue(this, newVal);\r\n }\r\n }\r\n}\r\nfunction triggerRef(ref) {\r\n triggerRefValue(ref, (process.env.NODE_ENV !== 'production') ? ref.value : void 0);\r\n}\r\nfunction unref(ref) {\r\n return isRef(ref) ? ref.value : ref;\r\n}\r\nconst shallowUnwrapHandlers = {\r\n get: (target, key, receiver) => unref(Reflect.get(target, key, receiver)),\r\n set: (target, key, value, receiver) => {\r\n const oldValue = target[key];\r\n if (isRef(oldValue) && !isRef(value)) {\r\n oldValue.value = value;\r\n return true;\r\n }\r\n else {\r\n return Reflect.set(target, key, value, receiver);\r\n }\r\n }\r\n};\r\nfunction proxyRefs(objectWithRefs) {\r\n return isReactive(objectWithRefs)\r\n ? objectWithRefs\r\n : new Proxy(objectWithRefs, shallowUnwrapHandlers);\r\n}\r\nclass CustomRefImpl {\r\n constructor(factory) {\r\n this.dep = undefined;\r\n this.__v_isRef = true;\r\n const { get, set } = factory(() => trackRefValue(this), () => triggerRefValue(this));\r\n this._get = get;\r\n this._set = set;\r\n }\r\n get value() {\r\n return this._get();\r\n }\r\n set value(newVal) {\r\n this._set(newVal);\r\n }\r\n}\r\nfunction customRef(factory) {\r\n return new CustomRefImpl(factory);\r\n}\r\nfunction toRefs(object) {\r\n if ((process.env.NODE_ENV !== 'production') && !isProxy(object)) {\r\n console.warn(`toRefs() expects a reactive object but received a plain one.`);\r\n }\r\n const ret = isArray(object) ? new Array(object.length) : {};\r\n for (const key in object) {\r\n ret[key] = toRef(object, key);\r\n }\r\n return ret;\r\n}\r\nclass ObjectRefImpl {\r\n constructor(_object, _key, _defaultValue) {\r\n this._object = _object;\r\n this._key = _key;\r\n this._defaultValue = _defaultValue;\r\n this.__v_isRef = true;\r\n }\r\n get value() {\r\n const val = this._object[this._key];\r\n return val === undefined ? this._defaultValue : val;\r\n }\r\n set value(newVal) {\r\n this._object[this._key] = newVal;\r\n }\r\n}\r\nfunction toRef(object, key, defaultValue) {\r\n const val = object[key];\r\n return isRef(val)\r\n ? val\r\n : new ObjectRefImpl(object, key, defaultValue);\r\n}\n\nclass ComputedRefImpl {\r\n constructor(getter, _setter, isReadonly, isSSR) {\r\n this._setter = _setter;\r\n this.dep = undefined;\r\n this.__v_isRef = true;\r\n this._dirty = true;\r\n this.effect = new ReactiveEffect(getter, () => {\r\n if (!this._dirty) {\r\n this._dirty = true;\r\n triggerRefValue(this);\r\n }\r\n });\r\n this.effect.computed = this;\r\n this.effect.active = this._cacheable = !isSSR;\r\n this[\"__v_isReadonly\" /* IS_READONLY */] = isReadonly;\r\n }\r\n get value() {\r\n // the computed ref may get wrapped by other proxies e.g. readonly() #3376\r\n const self = toRaw(this);\r\n trackRefValue(self);\r\n if (self._dirty || !self._cacheable) {\r\n self._dirty = false;\r\n self._value = self.effect.run();\r\n }\r\n return self._value;\r\n }\r\n set value(newValue) {\r\n this._setter(newValue);\r\n }\r\n}\r\nfunction computed(getterOrOptions, debugOptions, isSSR = false) {\r\n let getter;\r\n let setter;\r\n const onlyGetter = isFunction(getterOrOptions);\r\n if (onlyGetter) {\r\n getter = getterOrOptions;\r\n setter = (process.env.NODE_ENV !== 'production')\r\n ? () => {\r\n console.warn('Write operation failed: computed value is readonly');\r\n }\r\n : NOOP;\r\n }\r\n else {\r\n getter = getterOrOptions.get;\r\n setter = getterOrOptions.set;\r\n }\r\n const cRef = new ComputedRefImpl(getter, setter, onlyGetter || !setter, isSSR);\r\n if ((process.env.NODE_ENV !== 'production') && debugOptions && !isSSR) {\r\n cRef.effect.onTrack = debugOptions.onTrack;\r\n cRef.effect.onTrigger = debugOptions.onTrigger;\r\n }\r\n return cRef;\r\n}\n\nvar _a;\r\nconst tick = /*#__PURE__*/ Promise.resolve();\r\nconst queue = [];\r\nlet queued = false;\r\nconst scheduler = (fn) => {\r\n queue.push(fn);\r\n if (!queued) {\r\n queued = true;\r\n tick.then(flush);\r\n }\r\n};\r\nconst flush = () => {\r\n for (let i = 0; i < queue.length; i++) {\r\n queue[i]();\r\n }\r\n queue.length = 0;\r\n queued = false;\r\n};\r\nclass DeferredComputedRefImpl {\r\n constructor(getter) {\r\n this.dep = undefined;\r\n this._dirty = true;\r\n this.__v_isRef = true;\r\n this[_a] = true;\r\n let compareTarget;\r\n let hasCompareTarget = false;\r\n let scheduled = false;\r\n this.effect = new ReactiveEffect(getter, (computedTrigger) => {\r\n if (this.dep) {\r\n if (computedTrigger) {\r\n compareTarget = this._value;\r\n hasCompareTarget = true;\r\n }\r\n else if (!scheduled) {\r\n const valueToCompare = hasCompareTarget ? compareTarget : this._value;\r\n scheduled = true;\r\n hasCompareTarget = false;\r\n scheduler(() => {\r\n if (this.effect.active && this._get() !== valueToCompare) {\r\n triggerRefValue(this);\r\n }\r\n scheduled = false;\r\n });\r\n }\r\n // chained upstream computeds are notified synchronously to ensure\r\n // value invalidation in case of sync access; normal effects are\r\n // deferred to be triggered in scheduler.\r\n for (const e of this.dep) {\r\n if (e.computed instanceof DeferredComputedRefImpl) {\r\n e.scheduler(true /* computedTrigger */);\r\n }\r\n }\r\n }\r\n this._dirty = true;\r\n });\r\n this.effect.computed = this;\r\n }\r\n _get() {\r\n if (this._dirty) {\r\n this._dirty = false;\r\n return (this._value = this.effect.run());\r\n }\r\n return this._value;\r\n }\r\n get value() {\r\n trackRefValue(this);\r\n // the computed ref may get wrapped by other proxies e.g. readonly() #3376\r\n return toRaw(this)._get();\r\n }\r\n}\r\n_a = \"__v_isReadonly\" /* IS_READONLY */;\r\nfunction deferredComputed(getter) {\r\n return new DeferredComputedRefImpl(getter);\r\n}\n\nexport { EffectScope, ITERATE_KEY, ReactiveEffect, computed, customRef, deferredComputed, effect, effectScope, enableTracking, getCurrentScope, isProxy, isReactive, isReadonly, isRef, isShallow, markRaw, onScopeDispose, pauseTracking, proxyRefs, reactive, readonly, ref, resetTracking, shallowReactive, shallowReadonly, shallowRef, stop, toRaw, toRef, toRefs, track, trigger, triggerRef, unref };\n","import { pauseTracking, resetTracking, isRef, toRaw, isShallow as isShallow$1, isReactive, ReactiveEffect, ref, shallowReadonly, track, reactive, shallowReactive, trigger, isProxy, EffectScope, markRaw, proxyRefs, computed as computed$1, isReadonly } from '@vue/reactivity';\nexport { EffectScope, ReactiveEffect, customRef, effect, effectScope, getCurrentScope, isProxy, isReactive, isReadonly, isRef, isShallow, markRaw, onScopeDispose, proxyRefs, reactive, readonly, ref, shallowReactive, shallowReadonly, shallowRef, stop, toRaw, toRef, toRefs, triggerRef, unref } from '@vue/reactivity';\nimport { isString, isFunction, isPromise, isArray, NOOP, getGlobalThis, extend, EMPTY_OBJ, toHandlerKey, toNumber, hyphenate, camelize, isOn, hasOwn, isModelListener, hasChanged, remove, isObject, isSet, isMap, isPlainObject, invokeArrayFns, isBuiltInDirective, capitalize, isGloballyWhitelisted, def, isReservedProp, EMPTY_ARR, toRawType, makeMap, NO, normalizeClass, normalizeStyle } from '@vue/shared';\nexport { camelize, capitalize, normalizeClass, normalizeProps, normalizeStyle, toDisplayString, toHandlerKey } from '@vue/shared';\n\nconst stack = [];\r\nfunction pushWarningContext(vnode) {\r\n stack.push(vnode);\r\n}\r\nfunction popWarningContext() {\r\n stack.pop();\r\n}\r\nfunction warn(msg, ...args) {\r\n // avoid props formatting or warn handler tracking deps that might be mutated\r\n // during patch, leading to infinite recursion.\r\n pauseTracking();\r\n const instance = stack.length ? stack[stack.length - 1].component : null;\r\n const appWarnHandler = instance && instance.appContext.config.warnHandler;\r\n const trace = getComponentTrace();\r\n if (appWarnHandler) {\r\n callWithErrorHandling(appWarnHandler, instance, 11 /* APP_WARN_HANDLER */, [\r\n msg + args.join(''),\r\n instance && instance.proxy,\r\n trace\r\n .map(({ vnode }) => `at <${formatComponentName(instance, vnode.type)}>`)\r\n .join('\\n'),\r\n trace\r\n ]);\r\n }\r\n else {\r\n const warnArgs = [`[Vue warn]: ${msg}`, ...args];\r\n /* istanbul ignore if */\r\n if (trace.length &&\r\n // avoid spamming console during tests\r\n !false) {\r\n warnArgs.push(`\\n`, ...formatTrace(trace));\r\n }\r\n console.warn(...warnArgs);\r\n }\r\n resetTracking();\r\n}\r\nfunction getComponentTrace() {\r\n let currentVNode = stack[stack.length - 1];\r\n if (!currentVNode) {\r\n return [];\r\n }\r\n // we can't just use the stack because it will be incomplete during updates\r\n // that did not start from the root. Re-construct the parent chain using\r\n // instance parent pointers.\r\n const normalizedStack = [];\r\n while (currentVNode) {\r\n const last = normalizedStack[0];\r\n if (last && last.vnode === currentVNode) {\r\n last.recurseCount++;\r\n }\r\n else {\r\n normalizedStack.push({\r\n vnode: currentVNode,\r\n recurseCount: 0\r\n });\r\n }\r\n const parentInstance = currentVNode.component && currentVNode.component.parent;\r\n currentVNode = parentInstance && parentInstance.vnode;\r\n }\r\n return normalizedStack;\r\n}\r\n/* istanbul ignore next */\r\nfunction formatTrace(trace) {\r\n const logs = [];\r\n trace.forEach((entry, i) => {\r\n logs.push(...(i === 0 ? [] : [`\\n`]), ...formatTraceEntry(entry));\r\n });\r\n return logs;\r\n}\r\nfunction formatTraceEntry({ vnode, recurseCount }) {\r\n const postfix = recurseCount > 0 ? `... (${recurseCount} recursive calls)` : ``;\r\n const isRoot = vnode.component ? vnode.component.parent == null : false;\r\n const open = ` at <${formatComponentName(vnode.component, vnode.type, isRoot)}`;\r\n const close = `>` + postfix;\r\n return vnode.props\r\n ? [open, ...formatProps(vnode.props), close]\r\n : [open + close];\r\n}\r\n/* istanbul ignore next */\r\nfunction formatProps(props) {\r\n const res = [];\r\n const keys = Object.keys(props);\r\n keys.slice(0, 3).forEach(key => {\r\n res.push(...formatProp(key, props[key]));\r\n });\r\n if (keys.length > 3) {\r\n res.push(` ...`);\r\n }\r\n return res;\r\n}\r\n/* istanbul ignore next */\r\nfunction formatProp(key, value, raw) {\r\n if (isString(value)) {\r\n value = JSON.stringify(value);\r\n return raw ? value : [`${key}=${value}`];\r\n }\r\n else if (typeof value === 'number' ||\r\n typeof value === 'boolean' ||\r\n value == null) {\r\n return raw ? value : [`${key}=${value}`];\r\n }\r\n else if (isRef(value)) {\r\n value = formatProp(key, toRaw(value.value), true);\r\n return raw ? value : [`${key}=Ref<`, value, `>`];\r\n }\r\n else if (isFunction(value)) {\r\n return [`${key}=fn${value.name ? `<${value.name}>` : ``}`];\r\n }\r\n else {\r\n value = toRaw(value);\r\n return raw ? value : [`${key}=`, value];\r\n }\r\n}\n\nconst ErrorTypeStrings = {\r\n [\"sp\" /* SERVER_PREFETCH */]: 'serverPrefetch hook',\r\n [\"bc\" /* BEFORE_CREATE */]: 'beforeCreate hook',\r\n [\"c\" /* CREATED */]: 'created hook',\r\n [\"bm\" /* BEFORE_MOUNT */]: 'beforeMount hook',\r\n [\"m\" /* MOUNTED */]: 'mounted hook',\r\n [\"bu\" /* BEFORE_UPDATE */]: 'beforeUpdate hook',\r\n [\"u\" /* UPDATED */]: 'updated',\r\n [\"bum\" /* BEFORE_UNMOUNT */]: 'beforeUnmount hook',\r\n [\"um\" /* UNMOUNTED */]: 'unmounted hook',\r\n [\"a\" /* ACTIVATED */]: 'activated hook',\r\n [\"da\" /* DEACTIVATED */]: 'deactivated hook',\r\n [\"ec\" /* ERROR_CAPTURED */]: 'errorCaptured hook',\r\n [\"rtc\" /* RENDER_TRACKED */]: 'renderTracked hook',\r\n [\"rtg\" /* RENDER_TRIGGERED */]: 'renderTriggered hook',\r\n [0 /* SETUP_FUNCTION */]: 'setup function',\r\n [1 /* RENDER_FUNCTION */]: 'render function',\r\n [2 /* WATCH_GETTER */]: 'watcher getter',\r\n [3 /* WATCH_CALLBACK */]: 'watcher callback',\r\n [4 /* WATCH_CLEANUP */]: 'watcher cleanup function',\r\n [5 /* NATIVE_EVENT_HANDLER */]: 'native event handler',\r\n [6 /* COMPONENT_EVENT_HANDLER */]: 'component event handler',\r\n [7 /* VNODE_HOOK */]: 'vnode hook',\r\n [8 /* DIRECTIVE_HOOK */]: 'directive hook',\r\n [9 /* TRANSITION_HOOK */]: 'transition hook',\r\n [10 /* APP_ERROR_HANDLER */]: 'app errorHandler',\r\n [11 /* APP_WARN_HANDLER */]: 'app warnHandler',\r\n [12 /* FUNCTION_REF */]: 'ref function',\r\n [13 /* ASYNC_COMPONENT_LOADER */]: 'async component loader',\r\n [14 /* SCHEDULER */]: 'scheduler flush. This is likely a Vue internals bug. ' +\r\n 'Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core'\r\n};\r\nfunction callWithErrorHandling(fn, instance, type, args) {\r\n let res;\r\n try {\r\n res = args ? fn(...args) : fn();\r\n }\r\n catch (err) {\r\n handleError(err, instance, type);\r\n }\r\n return res;\r\n}\r\nfunction callWithAsyncErrorHandling(fn, instance, type, args) {\r\n if (isFunction(fn)) {\r\n const res = callWithErrorHandling(fn, instance, type, args);\r\n if (res && isPromise(res)) {\r\n res.catch(err => {\r\n handleError(err, instance, type);\r\n });\r\n }\r\n return res;\r\n }\r\n const values = [];\r\n for (let i = 0; i < fn.length; i++) {\r\n values.push(callWithAsyncErrorHandling(fn[i], instance, type, args));\r\n }\r\n return values;\r\n}\r\nfunction handleError(err, instance, type, throwInDev = true) {\r\n const contextVNode = instance ? instance.vnode : null;\r\n if (instance) {\r\n let cur = instance.parent;\r\n // the exposed instance is the render proxy to keep it consistent with 2.x\r\n const exposedInstance = instance.proxy;\r\n // in production the hook receives only the error code\r\n const errorInfo = (process.env.NODE_ENV !== 'production') ? ErrorTypeStrings[type] : type;\r\n while (cur) {\r\n const errorCapturedHooks = cur.ec;\r\n if (errorCapturedHooks) {\r\n for (let i = 0; i < errorCapturedHooks.length; i++) {\r\n if (errorCapturedHooks[i](err, exposedInstance, errorInfo) === false) {\r\n return;\r\n }\r\n }\r\n }\r\n cur = cur.parent;\r\n }\r\n // app-level handling\r\n const appErrorHandler = instance.appContext.config.errorHandler;\r\n if (appErrorHandler) {\r\n callWithErrorHandling(appErrorHandler, null, 10 /* APP_ERROR_HANDLER */, [err, exposedInstance, errorInfo]);\r\n return;\r\n }\r\n }\r\n logError(err, type, contextVNode, throwInDev);\r\n}\r\nfunction logError(err, type, contextVNode, throwInDev = true) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n const info = ErrorTypeStrings[type];\r\n if (contextVNode) {\r\n pushWarningContext(contextVNode);\r\n }\r\n warn(`Unhandled error${info ? ` during execution of ${info}` : ``}`);\r\n if (contextVNode) {\r\n popWarningContext();\r\n }\r\n // crash in dev by default so it's more noticeable\r\n if (throwInDev) {\r\n throw err;\r\n }\r\n else {\r\n console.error(err);\r\n }\r\n }\r\n else {\r\n // recover in prod to reduce the impact on end-user\r\n console.error(err);\r\n }\r\n}\n\nlet isFlushing = false;\r\nlet isFlushPending = false;\r\nconst queue = [];\r\nlet flushIndex = 0;\r\nconst pendingPreFlushCbs = [];\r\nlet activePreFlushCbs = null;\r\nlet preFlushIndex = 0;\r\nconst pendingPostFlushCbs = [];\r\nlet activePostFlushCbs = null;\r\nlet postFlushIndex = 0;\r\nconst resolvedPromise = /*#__PURE__*/ Promise.resolve();\r\nlet currentFlushPromise = null;\r\nlet currentPreFlushParentJob = null;\r\nconst RECURSION_LIMIT = 100;\r\nfunction nextTick(fn) {\r\n const p = currentFlushPromise || resolvedPromise;\r\n return fn ? p.then(this ? fn.bind(this) : fn) : p;\r\n}\r\n// #2768\r\n// Use binary-search to find a suitable position in the queue,\r\n// so that the queue maintains the increasing order of job's id,\r\n// which can prevent the job from being skipped and also can avoid repeated patching.\r\nfunction findInsertionIndex(id) {\r\n // the start index should be `flushIndex + 1`\r\n let start = flushIndex + 1;\r\n let end = queue.length;\r\n while (start < end) {\r\n const middle = (start + end) >>> 1;\r\n const middleJobId = getId(queue[middle]);\r\n middleJobId < id ? (start = middle + 1) : (end = middle);\r\n }\r\n return start;\r\n}\r\nfunction queueJob(job) {\r\n // the dedupe search uses the startIndex argument of Array.includes()\r\n // by default the search index includes the current job that is being run\r\n // so it cannot recursively trigger itself again.\r\n // if the job is a watch() callback, the search will start with a +1 index to\r\n // allow it recursively trigger itself - it is the user's responsibility to\r\n // ensure it doesn't end up in an infinite loop.\r\n if ((!queue.length ||\r\n !queue.includes(job, isFlushing && job.allowRecurse ? flushIndex + 1 : flushIndex)) &&\r\n job !== currentPreFlushParentJob) {\r\n if (job.id == null) {\r\n queue.push(job);\r\n }\r\n else {\r\n queue.splice(findInsertionIndex(job.id), 0, job);\r\n }\r\n queueFlush();\r\n }\r\n}\r\nfunction queueFlush() {\r\n if (!isFlushing && !isFlushPending) {\r\n isFlushPending = true;\r\n currentFlushPromise = resolvedPromise.then(flushJobs);\r\n }\r\n}\r\nfunction invalidateJob(job) {\r\n const i = queue.indexOf(job);\r\n if (i > flushIndex) {\r\n queue.splice(i, 1);\r\n }\r\n}\r\nfunction queueCb(cb, activeQueue, pendingQueue, index) {\r\n if (!isArray(cb)) {\r\n if (!activeQueue ||\r\n !activeQueue.includes(cb, cb.allowRecurse ? index + 1 : index)) {\r\n pendingQueue.push(cb);\r\n }\r\n }\r\n else {\r\n // if cb is an array, it is a component lifecycle hook which can only be\r\n // triggered by a job, which is already deduped in the main queue, so\r\n // we can skip duplicate check here to improve perf\r\n pendingQueue.push(...cb);\r\n }\r\n queueFlush();\r\n}\r\nfunction queuePreFlushCb(cb) {\r\n queueCb(cb, activePreFlushCbs, pendingPreFlushCbs, preFlushIndex);\r\n}\r\nfunction queuePostFlushCb(cb) {\r\n queueCb(cb, activePostFlushCbs, pendingPostFlushCbs, postFlushIndex);\r\n}\r\nfunction flushPreFlushCbs(seen, parentJob = null) {\r\n if (pendingPreFlushCbs.length) {\r\n currentPreFlushParentJob = parentJob;\r\n activePreFlushCbs = [...new Set(pendingPreFlushCbs)];\r\n pendingPreFlushCbs.length = 0;\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n seen = seen || new Map();\r\n }\r\n for (preFlushIndex = 0; preFlushIndex < activePreFlushCbs.length; preFlushIndex++) {\r\n if ((process.env.NODE_ENV !== 'production') &&\r\n checkRecursiveUpdates(seen, activePreFlushCbs[preFlushIndex])) {\r\n continue;\r\n }\r\n activePreFlushCbs[preFlushIndex]();\r\n }\r\n activePreFlushCbs = null;\r\n preFlushIndex = 0;\r\n currentPreFlushParentJob = null;\r\n // recursively flush until it drains\r\n flushPreFlushCbs(seen, parentJob);\r\n }\r\n}\r\nfunction flushPostFlushCbs(seen) {\r\n // flush any pre cbs queued during the flush (e.g. pre watchers)\r\n flushPreFlushCbs();\r\n if (pendingPostFlushCbs.length) {\r\n const deduped = [...new Set(pendingPostFlushCbs)];\r\n pendingPostFlushCbs.length = 0;\r\n // #1947 already has active queue, nested flushPostFlushCbs call\r\n if (activePostFlushCbs) {\r\n activePostFlushCbs.push(...deduped);\r\n return;\r\n }\r\n activePostFlushCbs = deduped;\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n seen = seen || new Map();\r\n }\r\n activePostFlushCbs.sort((a, b) => getId(a) - getId(b));\r\n for (postFlushIndex = 0; postFlushIndex < activePostFlushCbs.length; postFlushIndex++) {\r\n if ((process.env.NODE_ENV !== 'production') &&\r\n checkRecursiveUpdates(seen, activePostFlushCbs[postFlushIndex])) {\r\n continue;\r\n }\r\n activePostFlushCbs[postFlushIndex]();\r\n }\r\n activePostFlushCbs = null;\r\n postFlushIndex = 0;\r\n }\r\n}\r\nconst getId = (job) => job.id == null ? Infinity : job.id;\r\nfunction flushJobs(seen) {\r\n isFlushPending = false;\r\n isFlushing = true;\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n seen = seen || new Map();\r\n }\r\n flushPreFlushCbs(seen);\r\n // Sort queue before flush.\r\n // This ensures that:\r\n // 1. Components are updated from parent to child. (because parent is always\r\n // created before the child so its render effect will have smaller\r\n // priority number)\r\n // 2. If a component is unmounted during a parent component's update,\r\n // its update can be skipped.\r\n queue.sort((a, b) => getId(a) - getId(b));\r\n // conditional usage of checkRecursiveUpdate must be determined out of\r\n // try ... catch block since Rollup by default de-optimizes treeshaking\r\n // inside try-catch. This can leave all warning code unshaked. Although\r\n // they would get eventually shaken by a minifier like terser, some minifiers\r\n // would fail to do that (e.g. https://github.com/evanw/esbuild/issues/1610)\r\n const check = (process.env.NODE_ENV !== 'production')\r\n ? (job) => checkRecursiveUpdates(seen, job)\r\n : NOOP;\r\n try {\r\n for (flushIndex = 0; flushIndex < queue.length; flushIndex++) {\r\n const job = queue[flushIndex];\r\n if (job && job.active !== false) {\r\n if ((process.env.NODE_ENV !== 'production') && check(job)) {\r\n continue;\r\n }\r\n // console.log(`running:`, job.id)\r\n callWithErrorHandling(job, null, 14 /* SCHEDULER */);\r\n }\r\n }\r\n }\r\n finally {\r\n flushIndex = 0;\r\n queue.length = 0;\r\n flushPostFlushCbs(seen);\r\n isFlushing = false;\r\n currentFlushPromise = null;\r\n // some postFlushCb queued jobs!\r\n // keep flushing until it drains.\r\n if (queue.length ||\r\n pendingPreFlushCbs.length ||\r\n pendingPostFlushCbs.length) {\r\n flushJobs(seen);\r\n }\r\n }\r\n}\r\nfunction checkRecursiveUpdates(seen, fn) {\r\n if (!seen.has(fn)) {\r\n seen.set(fn, 1);\r\n }\r\n else {\r\n const count = seen.get(fn);\r\n if (count > RECURSION_LIMIT) {\r\n const instance = fn.ownerInstance;\r\n const componentName = instance && getComponentName(instance.type);\r\n warn(`Maximum recursive updates exceeded${componentName ? ` in component <${componentName}>` : ``}. ` +\r\n `This means you have a reactive effect that is mutating its own ` +\r\n `dependencies and thus recursively triggering itself. Possible sources ` +\r\n `include component template, render function, updated hook or ` +\r\n `watcher source function.`);\r\n return true;\r\n }\r\n else {\r\n seen.set(fn, count + 1);\r\n }\r\n }\r\n}\n\n/* eslint-disable no-restricted-globals */\r\nlet isHmrUpdating = false;\r\nconst hmrDirtyComponents = new Set();\r\n// Expose the HMR runtime on the global object\r\n// This makes it entirely tree-shakable without polluting the exports and makes\r\n// it easier to be used in toolings like vue-loader\r\n// Note: for a component to be eligible for HMR it also needs the __hmrId option\r\n// to be set so that its instances can be registered / removed.\r\nif ((process.env.NODE_ENV !== 'production')) {\r\n getGlobalThis().__VUE_HMR_RUNTIME__ = {\r\n createRecord: tryWrap(createRecord),\r\n rerender: tryWrap(rerender),\r\n reload: tryWrap(reload)\r\n };\r\n}\r\nconst map = new Map();\r\nfunction registerHMR(instance) {\r\n const id = instance.type.__hmrId;\r\n let record = map.get(id);\r\n if (!record) {\r\n createRecord(id, instance.type);\r\n record = map.get(id);\r\n }\r\n record.instances.add(instance);\r\n}\r\nfunction unregisterHMR(instance) {\r\n map.get(instance.type.__hmrId).instances.delete(instance);\r\n}\r\nfunction createRecord(id, initialDef) {\r\n if (map.has(id)) {\r\n return false;\r\n }\r\n map.set(id, {\r\n initialDef: normalizeClassComponent(initialDef),\r\n instances: new Set()\r\n });\r\n return true;\r\n}\r\nfunction normalizeClassComponent(component) {\r\n return isClassComponent(component) ? component.__vccOpts : component;\r\n}\r\nfunction rerender(id, newRender) {\r\n const record = map.get(id);\r\n if (!record) {\r\n return;\r\n }\r\n // update initial record (for not-yet-rendered component)\r\n record.initialDef.render = newRender;\r\n [...record.instances].forEach(instance => {\r\n if (newRender) {\r\n instance.render = newRender;\r\n normalizeClassComponent(instance.type).render = newRender;\r\n }\r\n instance.renderCache = [];\r\n // this flag forces child components with slot content to update\r\n isHmrUpdating = true;\r\n instance.update();\r\n isHmrUpdating = false;\r\n });\r\n}\r\nfunction reload(id, newComp) {\r\n const record = map.get(id);\r\n if (!record)\r\n return;\r\n newComp = normalizeClassComponent(newComp);\r\n // update initial def (for not-yet-rendered components)\r\n updateComponentDef(record.initialDef, newComp);\r\n // create a snapshot which avoids the set being mutated during updates\r\n const instances = [...record.instances];\r\n for (const instance of instances) {\r\n const oldComp = normalizeClassComponent(instance.type);\r\n if (!hmrDirtyComponents.has(oldComp)) {\r\n // 1. Update existing comp definition to match new one\r\n if (oldComp !== record.initialDef) {\r\n updateComponentDef(oldComp, newComp);\r\n }\r\n // 2. mark definition dirty. This forces the renderer to replace the\r\n // component on patch.\r\n hmrDirtyComponents.add(oldComp);\r\n }\r\n // 3. invalidate options resolution cache\r\n instance.appContext.optionsCache.delete(instance.type);\r\n // 4. actually update\r\n if (instance.ceReload) {\r\n // custom element\r\n hmrDirtyComponents.add(oldComp);\r\n instance.ceReload(newComp.styles);\r\n hmrDirtyComponents.delete(oldComp);\r\n }\r\n else if (instance.parent) {\r\n // 4. Force the parent instance to re-render. This will cause all updated\r\n // components to be unmounted and re-mounted. Queue the update so that we\r\n // don't end up forcing the same parent to re-render multiple times.\r\n queueJob(instance.parent.update);\r\n // instance is the inner component of an async custom element\r\n // invoke to reset styles\r\n if (instance.parent.type.__asyncLoader &&\r\n instance.parent.ceReload) {\r\n instance.parent.ceReload(newComp.styles);\r\n }\r\n }\r\n else if (instance.appContext.reload) {\r\n // root instance mounted via createApp() has a reload method\r\n instance.appContext.reload();\r\n }\r\n else if (typeof window !== 'undefined') {\r\n // root instance inside tree created via raw render(). Force reload.\r\n window.location.reload();\r\n }\r\n else {\r\n console.warn('[HMR] Root or manually mounted instance modified. Full reload required.');\r\n }\r\n }\r\n // 5. make sure to cleanup dirty hmr components after update\r\n queuePostFlushCb(() => {\r\n for (const instance of instances) {\r\n hmrDirtyComponents.delete(normalizeClassComponent(instance.type));\r\n }\r\n });\r\n}\r\nfunction updateComponentDef(oldComp, newComp) {\r\n extend(oldComp, newComp);\r\n for (const key in oldComp) {\r\n if (key !== '__file' && !(key in newComp)) {\r\n delete oldComp[key];\r\n }\r\n }\r\n}\r\nfunction tryWrap(fn) {\r\n return (id, arg) => {\r\n try {\r\n return fn(id, arg);\r\n }\r\n catch (e) {\r\n console.error(e);\r\n console.warn(`[HMR] Something went wrong during Vue component hot-reload. ` +\r\n `Full reload required.`);\r\n }\r\n };\r\n}\n\nlet devtools;\r\nlet buffer = [];\r\nlet devtoolsNotInstalled = false;\r\nfunction emit(event, ...args) {\r\n if (devtools) {\r\n devtools.emit(event, ...args);\r\n }\r\n else if (!devtoolsNotInstalled) {\r\n buffer.push({ event, args });\r\n }\r\n}\r\nfunction setDevtoolsHook(hook, target) {\r\n var _a, _b;\r\n devtools = hook;\r\n if (devtools) {\r\n devtools.enabled = true;\r\n buffer.forEach(({ event, args }) => devtools.emit(event, ...args));\r\n buffer = [];\r\n }\r\n else if (\r\n // handle late devtools injection - only do this if we are in an actual\r\n // browser environment to avoid the timer handle stalling test runner exit\r\n // (#4815)\r\n typeof window !== 'undefined' &&\r\n // some envs mock window but not fully\r\n window.HTMLElement &&\r\n // also exclude jsdom\r\n !((_b = (_a = window.navigator) === null || _a === void 0 ? void 0 : _a.userAgent) === null || _b === void 0 ? void 0 : _b.includes('jsdom'))) {\r\n const replay = (target.__VUE_DEVTOOLS_HOOK_REPLAY__ =\r\n target.__VUE_DEVTOOLS_HOOK_REPLAY__ || []);\r\n replay.push((newHook) => {\r\n setDevtoolsHook(newHook, target);\r\n });\r\n // clear buffer after 3s - the user probably doesn't have devtools installed\r\n // at all, and keeping the buffer will cause memory leaks (#4738)\r\n setTimeout(() => {\r\n if (!devtools) {\r\n target.__VUE_DEVTOOLS_HOOK_REPLAY__ = null;\r\n devtoolsNotInstalled = true;\r\n buffer = [];\r\n }\r\n }, 3000);\r\n }\r\n else {\r\n // non-browser env, assume not installed\r\n devtoolsNotInstalled = true;\r\n buffer = [];\r\n }\r\n}\r\nfunction devtoolsInitApp(app, version) {\r\n emit(\"app:init\" /* APP_INIT */, app, version, {\r\n Fragment,\r\n Text,\r\n Comment,\r\n Static\r\n });\r\n}\r\nfunction devtoolsUnmountApp(app) {\r\n emit(\"app:unmount\" /* APP_UNMOUNT */, app);\r\n}\r\nconst devtoolsComponentAdded = /*#__PURE__*/ createDevtoolsComponentHook(\"component:added\" /* COMPONENT_ADDED */);\r\nconst devtoolsComponentUpdated = \r\n/*#__PURE__*/ createDevtoolsComponentHook(\"component:updated\" /* COMPONENT_UPDATED */);\r\nconst devtoolsComponentRemoved = \r\n/*#__PURE__*/ createDevtoolsComponentHook(\"component:removed\" /* COMPONENT_REMOVED */);\r\nfunction createDevtoolsComponentHook(hook) {\r\n return (component) => {\r\n emit(hook, component.appContext.app, component.uid, component.parent ? component.parent.uid : undefined, component);\r\n };\r\n}\r\nconst devtoolsPerfStart = /*#__PURE__*/ createDevtoolsPerformanceHook(\"perf:start\" /* PERFORMANCE_START */);\r\nconst devtoolsPerfEnd = /*#__PURE__*/ createDevtoolsPerformanceHook(\"perf:end\" /* PERFORMANCE_END */);\r\nfunction createDevtoolsPerformanceHook(hook) {\r\n return (component, type, time) => {\r\n emit(hook, component.appContext.app, component.uid, component, type, time);\r\n };\r\n}\r\nfunction devtoolsComponentEmit(component, event, params) {\r\n emit(\"component:emit\" /* COMPONENT_EMIT */, component.appContext.app, component, event, params);\r\n}\n\nfunction emit$1(instance, event, ...rawArgs) {\r\n if (instance.isUnmounted)\r\n return;\r\n const props = instance.vnode.props || EMPTY_OBJ;\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n const { emitsOptions, propsOptions: [propsOptions] } = instance;\r\n if (emitsOptions) {\r\n if (!(event in emitsOptions) &&\r\n !(false )) {\r\n if (!propsOptions || !(toHandlerKey(event) in propsOptions)) {\r\n warn(`Component emitted event \"${event}\" but it is neither declared in ` +\r\n `the emits option nor as an \"${toHandlerKey(event)}\" prop.`);\r\n }\r\n }\r\n else {\r\n const validator = emitsOptions[event];\r\n if (isFunction(validator)) {\r\n const isValid = validator(...rawArgs);\r\n if (!isValid) {\r\n warn(`Invalid event arguments: event validation failed for event \"${event}\".`);\r\n }\r\n }\r\n }\r\n }\r\n }\r\n let args = rawArgs;\r\n const isModelListener = event.startsWith('update:');\r\n // for v-model update:xxx events, apply modifiers on args\r\n const modelArg = isModelListener && event.slice(7);\r\n if (modelArg && modelArg in props) {\r\n const modifiersKey = `${modelArg === 'modelValue' ? 'model' : modelArg}Modifiers`;\r\n const { number, trim } = props[modifiersKey] || EMPTY_OBJ;\r\n if (trim) {\r\n args = rawArgs.map(a => a.trim());\r\n }\r\n if (number) {\r\n args = rawArgs.map(toNumber);\r\n }\r\n }\r\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n devtoolsComponentEmit(instance, event, args);\r\n }\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n const lowerCaseEvent = event.toLowerCase();\r\n if (lowerCaseEvent !== event && props[toHandlerKey(lowerCaseEvent)]) {\r\n warn(`Event \"${lowerCaseEvent}\" is emitted in component ` +\r\n `${formatComponentName(instance, instance.type)} but the handler is registered for \"${event}\". ` +\r\n `Note that HTML attributes are case-insensitive and you cannot use ` +\r\n `v-on to listen to camelCase events when using in-DOM templates. ` +\r\n `You should probably use \"${hyphenate(event)}\" instead of \"${event}\".`);\r\n }\r\n }\r\n let handlerName;\r\n let handler = props[(handlerName = toHandlerKey(event))] ||\r\n // also try camelCase event handler (#2249)\r\n props[(handlerName = toHandlerKey(camelize(event)))];\r\n // for v-model update:xxx events, also trigger kebab-case equivalent\r\n // for props passed via kebab-case\r\n if (!handler && isModelListener) {\r\n handler = props[(handlerName = toHandlerKey(hyphenate(event)))];\r\n }\r\n if (handler) {\r\n callWithAsyncErrorHandling(handler, instance, 6 /* COMPONENT_EVENT_HANDLER */, args);\r\n }\r\n const onceHandler = props[handlerName + `Once`];\r\n if (onceHandler) {\r\n if (!instance.emitted) {\r\n instance.emitted = {};\r\n }\r\n else if (instance.emitted[handlerName]) {\r\n return;\r\n }\r\n instance.emitted[handlerName] = true;\r\n callWithAsyncErrorHandling(onceHandler, instance, 6 /* COMPONENT_EVENT_HANDLER */, args);\r\n }\r\n}\r\nfunction normalizeEmitsOptions(comp, appContext, asMixin = false) {\r\n const cache = appContext.emitsCache;\r\n const cached = cache.get(comp);\r\n if (cached !== undefined) {\r\n return cached;\r\n }\r\n const raw = comp.emits;\r\n let normalized = {};\r\n // apply mixin/extends props\r\n let hasExtends = false;\r\n if (__VUE_OPTIONS_API__ && !isFunction(comp)) {\r\n const extendEmits = (raw) => {\r\n const normalizedFromExtend = normalizeEmitsOptions(raw, appContext, true);\r\n if (normalizedFromExtend) {\r\n hasExtends = true;\r\n extend(normalized, normalizedFromExtend);\r\n }\r\n };\r\n if (!asMixin && appContext.mixins.length) {\r\n appContext.mixins.forEach(extendEmits);\r\n }\r\n if (comp.extends) {\r\n extendEmits(comp.extends);\r\n }\r\n if (comp.mixins) {\r\n comp.mixins.forEach(extendEmits);\r\n }\r\n }\r\n if (!raw && !hasExtends) {\r\n cache.set(comp, null);\r\n return null;\r\n }\r\n if (isArray(raw)) {\r\n raw.forEach(key => (normalized[key] = null));\r\n }\r\n else {\r\n extend(normalized, raw);\r\n }\r\n cache.set(comp, normalized);\r\n return normalized;\r\n}\r\n// Check if an incoming prop key is a declared emit event listener.\r\n// e.g. With `emits: { click: null }`, props named `onClick` and `onclick` are\r\n// both considered matched listeners.\r\nfunction isEmitListener(options, key) {\r\n if (!options || !isOn(key)) {\r\n return false;\r\n }\r\n key = key.slice(2).replace(/Once$/, '');\r\n return (hasOwn(options, key[0].toLowerCase() + key.slice(1)) ||\r\n hasOwn(options, hyphenate(key)) ||\r\n hasOwn(options, key));\r\n}\n\n/**\r\n * mark the current rendering instance for asset resolution (e.g.\r\n * resolveComponent, resolveDirective) during render\r\n */\r\nlet currentRenderingInstance = null;\r\nlet currentScopeId = null;\r\n/**\r\n * Note: rendering calls maybe nested. The function returns the parent rendering\r\n * instance if present, which should be restored after the render is done:\r\n *\r\n * ```js\r\n * const prev = setCurrentRenderingInstance(i)\r\n * // ...render\r\n * setCurrentRenderingInstance(prev)\r\n * ```\r\n */\r\nfunction setCurrentRenderingInstance(instance) {\r\n const prev = currentRenderingInstance;\r\n currentRenderingInstance = instance;\r\n currentScopeId = (instance && instance.type.__scopeId) || null;\r\n return prev;\r\n}\r\n/**\r\n * Set scope id when creating hoisted vnodes.\r\n * @private compiler helper\r\n */\r\nfunction pushScopeId(id) {\r\n currentScopeId = id;\r\n}\r\n/**\r\n * Technically we no longer need this after 3.0.8 but we need to keep the same\r\n * API for backwards compat w/ code generated by compilers.\r\n * @private\r\n */\r\nfunction popScopeId() {\r\n currentScopeId = null;\r\n}\r\n/**\r\n * Only for backwards compat\r\n * @private\r\n */\r\nconst withScopeId = (_id) => withCtx;\r\n/**\r\n * Wrap a slot function to memoize current rendering instance\r\n * @private compiler helper\r\n */\r\nfunction withCtx(fn, ctx = currentRenderingInstance, isNonScopedSlot // false only\r\n) {\r\n if (!ctx)\r\n return fn;\r\n // already normalized\r\n if (fn._n) {\r\n return fn;\r\n }\r\n const renderFnWithContext = (...args) => {\r\n // If a user calls a compiled slot inside a template expression (#1745), it\r\n // can mess up block tracking, so by default we disable block tracking and\r\n // force bail out when invoking a compiled slot (indicated by the ._d flag).\r\n // This isn't necessary if rendering a compiled ``, so we flip the\r\n // ._d flag off when invoking the wrapped fn inside `renderSlot`.\r\n if (renderFnWithContext._d) {\r\n setBlockTracking(-1);\r\n }\r\n const prevInstance = setCurrentRenderingInstance(ctx);\r\n const res = fn(...args);\r\n setCurrentRenderingInstance(prevInstance);\r\n if (renderFnWithContext._d) {\r\n setBlockTracking(1);\r\n }\r\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\r\n devtoolsComponentUpdated(ctx);\r\n }\r\n return res;\r\n };\r\n // mark normalized to avoid duplicated wrapping\r\n renderFnWithContext._n = true;\r\n // mark this as compiled by default\r\n // this is used in vnode.ts -> normalizeChildren() to set the slot\r\n // rendering flag.\r\n renderFnWithContext._c = true;\r\n // disable block tracking by default\r\n renderFnWithContext._d = true;\r\n return renderFnWithContext;\r\n}\n\n/**\r\n * dev only flag to track whether $attrs was used during render.\r\n * If $attrs was used during render then the warning for failed attrs\r\n * fallthrough can be suppressed.\r\n */\r\nlet accessedAttrs = false;\r\nfunction markAttrsAccessed() {\r\n accessedAttrs = true;\r\n}\r\nfunction renderComponentRoot(instance) {\r\n const { type: Component, vnode, proxy, withProxy, props, propsOptions: [propsOptions], slots, attrs, emit, render, renderCache, data, setupState, ctx, inheritAttrs } = instance;\r\n let result;\r\n let fallthroughAttrs;\r\n const prev = setCurrentRenderingInstance(instance);\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n accessedAttrs = false;\r\n }\r\n try {\r\n if (vnode.shapeFlag & 4 /* STATEFUL_COMPONENT */) {\r\n // withProxy is a proxy with a different `has` trap only for\r\n // runtime-compiled render functions using `with` block.\r\n const proxyToUse = withProxy || proxy;\r\n result = normalizeVNode(render.call(proxyToUse, proxyToUse, renderCache, props, setupState, data, ctx));\r\n fallthroughAttrs = attrs;\r\n }\r\n else {\r\n // functional\r\n const render = Component;\r\n // in dev, mark attrs accessed if optional props (attrs === props)\r\n if ((process.env.NODE_ENV !== 'production') && attrs === props) {\r\n markAttrsAccessed();\r\n }\r\n result = normalizeVNode(render.length > 1\r\n ? render(props, (process.env.NODE_ENV !== 'production')\r\n ? {\r\n get attrs() {\r\n markAttrsAccessed();\r\n return attrs;\r\n },\r\n slots,\r\n emit\r\n }\r\n : { attrs, slots, emit })\r\n : render(props, null /* we know it doesn't need it */));\r\n fallthroughAttrs = Component.props\r\n ? attrs\r\n : getFunctionalFallthrough(attrs);\r\n }\r\n }\r\n catch (err) {\r\n blockStack.length = 0;\r\n handleError(err, instance, 1 /* RENDER_FUNCTION */);\r\n result = createVNode(Comment);\r\n }\r\n // attr merging\r\n // in dev mode, comments are preserved, and it's possible for a template\r\n // to have comments along side the root element which makes it a fragment\r\n let root = result;\r\n let setRoot = undefined;\r\n if ((process.env.NODE_ENV !== 'production') &&\r\n result.patchFlag > 0 &&\r\n result.patchFlag & 2048 /* DEV_ROOT_FRAGMENT */) {\r\n [root, setRoot] = getChildRoot(result);\r\n }\r\n if (fallthroughAttrs && inheritAttrs !== false) {\r\n const keys = Object.keys(fallthroughAttrs);\r\n const { shapeFlag } = root;\r\n if (keys.length) {\r\n if (shapeFlag & (1 /* ELEMENT */ | 6 /* COMPONENT */)) {\r\n if (propsOptions && keys.some(isModelListener)) {\r\n // If a v-model listener (onUpdate:xxx) has a corresponding declared\r\n // prop, it indicates this component expects to handle v-model and\r\n // it should not fallthrough.\r\n // related: #1543, #1643, #1989\r\n fallthroughAttrs = filterModelListeners(fallthroughAttrs, propsOptions);\r\n }\r\n root = cloneVNode(root, fallthroughAttrs);\r\n }\r\n else if ((process.env.NODE_ENV !== 'production') && !accessedAttrs && root.type !== Comment) {\r\n const allAttrs = Object.keys(attrs);\r\n const eventAttrs = [];\r\n const extraAttrs = [];\r\n for (let i = 0, l = allAttrs.length; i < l; i++) {\r\n const key = allAttrs[i];\r\n if (isOn(key)) {\r\n // ignore v-model handlers when they fail to fallthrough\r\n if (!isModelListener(key)) {\r\n // remove `on`, lowercase first letter to reflect event casing\r\n // accurately\r\n eventAttrs.push(key[2].toLowerCase() + key.slice(3));\r\n }\r\n }\r\n else {\r\n extraAttrs.push(key);\r\n }\r\n }\r\n if (extraAttrs.length) {\r\n warn(`Extraneous non-props attributes (` +\r\n `${extraAttrs.join(', ')}) ` +\r\n `were passed to component but could not be automatically inherited ` +\r\n `because component renders fragment or text root nodes.`);\r\n }\r\n if (eventAttrs.length) {\r\n warn(`Extraneous non-emits event listeners (` +\r\n `${eventAttrs.join(', ')}) ` +\r\n `were passed to component but could not be automatically inherited ` +\r\n `because component renders fragment or text root nodes. ` +\r\n `If the listener is intended to be a component custom event listener only, ` +\r\n `declare it using the \"emits\" option.`);\r\n }\r\n }\r\n }\r\n }\r\n // inherit directives\r\n if (vnode.dirs) {\r\n if ((process.env.NODE_ENV !== 'production') && !isElementRoot(root)) {\r\n warn(`Runtime directive used on component with non-element root node. ` +\r\n `The directives will not function as intended.`);\r\n }\r\n // clone before mutating since the root may be a hoisted vnode\r\n root = cloneVNode(root);\r\n root.dirs = root.dirs ? root.dirs.concat(vnode.dirs) : vnode.dirs;\r\n }\r\n // inherit transition data\r\n if (vnode.transition) {\r\n if ((process.env.NODE_ENV !== 'production') && !isElementRoot(root)) {\r\n warn(`Component inside renders non-element root node ` +\r\n `that cannot be animated.`);\r\n }\r\n root.transition = vnode.transition;\r\n }\r\n if ((process.env.NODE_ENV !== 'production') && setRoot) {\r\n setRoot(root);\r\n }\r\n else {\r\n result = root;\r\n }\r\n setCurrentRenderingInstance(prev);\r\n return result;\r\n}\r\n/**\r\n * dev only\r\n * In dev mode, template root level comments are rendered, which turns the\r\n * template into a fragment root, but we need to locate the single element\r\n * root for attrs and scope id processing.\r\n */\r\nconst getChildRoot = (vnode) => {\r\n const rawChildren = vnode.children;\r\n const dynamicChildren = vnode.dynamicChildren;\r\n const childRoot = filterSingleRoot(rawChildren);\r\n if (!childRoot) {\r\n return [vnode, undefined];\r\n }\r\n const index = rawChildren.indexOf(childRoot);\r\n const dynamicIndex = dynamicChildren ? dynamicChildren.indexOf(childRoot) : -1;\r\n const setRoot = (updatedRoot) => {\r\n rawChildren[index] = updatedRoot;\r\n if (dynamicChildren) {\r\n if (dynamicIndex > -1) {\r\n dynamicChildren[dynamicIndex] = updatedRoot;\r\n }\r\n else if (updatedRoot.patchFlag > 0) {\r\n vnode.dynamicChildren = [...dynamicChildren, updatedRoot];\r\n }\r\n }\r\n };\r\n return [normalizeVNode(childRoot), setRoot];\r\n};\r\nfunction filterSingleRoot(children) {\r\n let singleRoot;\r\n for (let i = 0; i < children.length; i++) {\r\n const child = children[i];\r\n if (isVNode(child)) {\r\n // ignore user comment\r\n if (child.type !== Comment || child.children === 'v-if') {\r\n if (singleRoot) {\r\n // has more than 1 non-comment child, return now\r\n return;\r\n }\r\n else {\r\n singleRoot = child;\r\n }\r\n }\r\n }\r\n else {\r\n return;\r\n }\r\n }\r\n return singleRoot;\r\n}\r\nconst getFunctionalFallthrough = (attrs) => {\r\n let res;\r\n for (const key in attrs) {\r\n if (key === 'class' || key === 'style' || isOn(key)) {\r\n (res || (res = {}))[key] = attrs[key];\r\n }\r\n }\r\n return res;\r\n};\r\nconst filterModelListeners = (attrs, props) => {\r\n const res = {};\r\n for (const key in attrs) {\r\n if (!isModelListener(key) || !(key.slice(9) in props)) {\r\n res[key] = attrs[key];\r\n }\r\n }\r\n return res;\r\n};\r\nconst isElementRoot = (vnode) => {\r\n return (vnode.shapeFlag & (6 /* COMPONENT */ | 1 /* ELEMENT */) ||\r\n vnode.type === Comment // potential v-if branch switch\r\n );\r\n};\r\nfunction shouldUpdateComponent(prevVNode, nextVNode, optimized) {\r\n const { props: prevProps, children: prevChildren, component } = prevVNode;\r\n const { props: nextProps, children: nextChildren, patchFlag } = nextVNode;\r\n const emits = component.emitsOptions;\r\n // Parent component's render function was hot-updated. Since this may have\r\n // caused the child component's slots content to have changed, we need to\r\n // force the child to update as well.\r\n if ((process.env.NODE_ENV !== 'production') && (prevChildren || nextChildren) && isHmrUpdating) {\r\n return true;\r\n }\r\n // force child update for runtime directive or transition on component vnode.\r\n if (nextVNode.dirs || nextVNode.transition) {\r\n return true;\r\n }\r\n if (optimized && patchFlag >= 0) {\r\n if (patchFlag & 1024 /* DYNAMIC_SLOTS */) {\r\n // slot content that references values that might have changed,\r\n // e.g. in a v-for\r\n return true;\r\n }\r\n if (patchFlag & 16 /* FULL_PROPS */) {\r\n if (!prevProps) {\r\n return !!nextProps;\r\n }\r\n // presence of this flag indicates props are always non-null\r\n return hasPropsChanged(prevProps, nextProps, emits);\r\n }\r\n else if (patchFlag & 8 /* PROPS */) {\r\n const dynamicProps = nextVNode.dynamicProps;\r\n for (let i = 0; i < dynamicProps.length; i++) {\r\n const key = dynamicProps[i];\r\n if (nextProps[key] !== prevProps[key] &&\r\n !isEmitListener(emits, key)) {\r\n return true;\r\n }\r\n }\r\n }\r\n }\r\n else {\r\n // this path is only taken by manually written render functions\r\n // so presence of any children leads to a forced update\r\n if (prevChildren || nextChildren) {\r\n if (!nextChildren || !nextChildren.$stable) {\r\n return true;\r\n }\r\n }\r\n if (prevProps === nextProps) {\r\n return false;\r\n }\r\n if (!prevProps) {\r\n return !!nextProps;\r\n }\r\n if (!nextProps) {\r\n return true;\r\n }\r\n return hasPropsChanged(prevProps, nextProps, emits);\r\n }\r\n return false;\r\n}\r\nfunction hasPropsChanged(prevProps, nextProps, emitsOptions) {\r\n const nextKeys = Object.keys(nextProps);\r\n if (nextKeys.length !== Object.keys(prevProps).length) {\r\n return true;\r\n }\r\n for (let i = 0; i < nextKeys.length; i++) {\r\n const key = nextKeys[i];\r\n if (nextProps[key] !== prevProps[key] &&\r\n !isEmitListener(emitsOptions, key)) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n}\r\nfunction updateHOCHostEl({ vnode, parent }, el // HostNode\r\n) {\r\n while (parent && parent.subTree === vnode) {\r\n (vnode = parent.vnode).el = el;\r\n parent = parent.parent;\r\n }\r\n}\n\nconst isSuspense = (type) => type.__isSuspense;\r\n// Suspense exposes a component-like API, and is treated like a component\r\n// in the compiler, but internally it's a special built-in type that hooks\r\n// directly into the renderer.\r\nconst SuspenseImpl = {\r\n name: 'Suspense',\r\n // In order to make Suspense tree-shakable, we need to avoid importing it\r\n // directly in the renderer. The renderer checks for the __isSuspense flag\r\n // on a vnode's type and calls the `process` method, passing in renderer\r\n // internals.\r\n __isSuspense: true,\r\n process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, \r\n // platform-specific impl passed from renderer\r\n rendererInternals) {\r\n if (n1 == null) {\r\n mountSuspense(n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals);\r\n }\r\n else {\r\n patchSuspense(n1, n2, container, anchor, parentComponent, isSVG, slotScopeIds, optimized, rendererInternals);\r\n }\r\n },\r\n hydrate: hydrateSuspense,\r\n create: createSuspenseBoundary,\r\n normalize: normalizeSuspenseChildren\r\n};\r\n// Force-casted public typing for h and TSX props inference\r\nconst Suspense = (SuspenseImpl );\r\nfunction triggerEvent(vnode, name) {\r\n const eventListener = vnode.props && vnode.props[name];\r\n if (isFunction(eventListener)) {\r\n eventListener();\r\n }\r\n}\r\nfunction mountSuspense(vnode, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals) {\r\n const { p: patch, o: { createElement } } = rendererInternals;\r\n const hiddenContainer = createElement('div');\r\n const suspense = (vnode.suspense = createSuspenseBoundary(vnode, parentSuspense, parentComponent, container, hiddenContainer, anchor, isSVG, slotScopeIds, optimized, rendererInternals));\r\n // start mounting the content subtree in an off-dom container\r\n patch(null, (suspense.pendingBranch = vnode.ssContent), hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds);\r\n // now check if we have encountered any async deps\r\n if (suspense.deps > 0) {\r\n // has async\r\n // invoke @fallback event\r\n triggerEvent(vnode, 'onPending');\r\n triggerEvent(vnode, 'onFallback');\r\n // mount the fallback tree\r\n patch(null, vnode.ssFallback, container, anchor, parentComponent, null, // fallback tree will not have suspense context\r\n isSVG, slotScopeIds);\r\n setActiveBranch(suspense, vnode.ssFallback);\r\n }\r\n else {\r\n // Suspense has no async deps. Just resolve.\r\n suspense.resolve();\r\n }\r\n}\r\nfunction patchSuspense(n1, n2, container, anchor, parentComponent, isSVG, slotScopeIds, optimized, { p: patch, um: unmount, o: { createElement } }) {\r\n const suspense = (n2.suspense = n1.suspense);\r\n suspense.vnode = n2;\r\n n2.el = n1.el;\r\n const newBranch = n2.ssContent;\r\n const newFallback = n2.ssFallback;\r\n const { activeBranch, pendingBranch, isInFallback, isHydrating } = suspense;\r\n if (pendingBranch) {\r\n suspense.pendingBranch = newBranch;\r\n if (isSameVNodeType(newBranch, pendingBranch)) {\r\n // same root type but content may have changed.\r\n patch(pendingBranch, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);\r\n if (suspense.deps <= 0) {\r\n suspense.resolve();\r\n }\r\n else if (isInFallback) {\r\n patch(activeBranch, newFallback, container, anchor, parentComponent, null, // fallback tree will not have suspense context\r\n isSVG, slotScopeIds, optimized);\r\n setActiveBranch(suspense, newFallback);\r\n }\r\n }\r\n else {\r\n // toggled before pending tree is resolved\r\n suspense.pendingId++;\r\n if (isHydrating) {\r\n // if toggled before hydration is finished, the current DOM tree is\r\n // no longer valid. set it as the active branch so it will be unmounted\r\n // when resolved\r\n suspense.isHydrating = false;\r\n suspense.activeBranch = pendingBranch;\r\n }\r\n else {\r\n unmount(pendingBranch, parentComponent, suspense);\r\n }\r\n // increment pending ID. this is used to invalidate async callbacks\r\n // reset suspense state\r\n suspense.deps = 0;\r\n // discard effects from pending branch\r\n suspense.effects.length = 0;\r\n // discard previous container\r\n suspense.hiddenContainer = createElement('div');\r\n if (isInFallback) {\r\n // already in fallback state\r\n patch(null, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);\r\n if (suspense.deps <= 0) {\r\n suspense.resolve();\r\n }\r\n else {\r\n patch(activeBranch, newFallback, container, anchor, parentComponent, null, // fallback tree will not have suspense context\r\n isSVG, slotScopeIds, optimized);\r\n setActiveBranch(suspense, newFallback);\r\n }\r\n }\r\n else if (activeBranch && isSameVNodeType(newBranch, activeBranch)) {\r\n // toggled \"back\" to current active branch\r\n patch(activeBranch, newBranch, container, anchor, parentComponent, suspense, isSVG, slotScopeIds, optimized);\r\n // force resolve\r\n suspense.resolve(true);\r\n }\r\n else {\r\n // switched to a 3rd branch\r\n patch(null, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);\r\n if (suspense.deps <= 0) {\r\n suspense.resolve();\r\n }\r\n }\r\n }\r\n }\r\n else {\r\n if (activeBranch && isSameVNodeType(newBranch, activeBranch)) {\r\n // root did not change, just normal patch\r\n patch(activeBranch, newBranch, container, anchor, parentComponent, suspense, isSVG, slotScopeIds, optimized);\r\n setActiveBranch(suspense, newBranch);\r\n }\r\n else {\r\n // root node toggled\r\n // invoke @pending event\r\n triggerEvent(n2, 'onPending');\r\n // mount pending branch in off-dom container\r\n suspense.pendingBranch = newBranch;\r\n suspense.pendingId++;\r\n patch(null, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);\r\n if (suspense.deps <= 0) {\r\n // incoming branch has no async deps, resolve now.\r\n suspense.resolve();\r\n }\r\n else {\r\n const { timeout, pendingId } = suspense;\r\n if (timeout > 0) {\r\n setTimeout(() => {\r\n if (suspense.pendingId === pendingId) {\r\n suspense.fallback(newFallback);\r\n }\r\n }, timeout);\r\n }\r\n else if (timeout === 0) {\r\n suspense.fallback(newFallback);\r\n }\r\n }\r\n }\r\n }\r\n}\r\nlet hasWarned = false;\r\nfunction createSuspenseBoundary(vnode, parent, parentComponent, container, hiddenContainer, anchor, isSVG, slotScopeIds, optimized, rendererInternals, isHydrating = false) {\r\n /* istanbul ignore if */\r\n if ((process.env.NODE_ENV !== 'production') && !false && !hasWarned) {\r\n hasWarned = true;\r\n // @ts-ignore `console.info` cannot be null error\r\n console[console.info ? 'info' : 'log'](` is an experimental feature and its API will likely change.`);\r\n }\r\n const { p: patch, m: move, um: unmount, n: next, o: { parentNode, remove } } = rendererInternals;\r\n const timeout = toNumber(vnode.props && vnode.props.timeout);\r\n const suspense = {\r\n vnode,\r\n parent,\r\n parentComponent,\r\n isSVG,\r\n container,\r\n hiddenContainer,\r\n anchor,\r\n deps: 0,\r\n pendingId: 0,\r\n timeout: typeof timeout === 'number' ? timeout : -1,\r\n activeBranch: null,\r\n pendingBranch: null,\r\n isInFallback: true,\r\n isHydrating,\r\n isUnmounted: false,\r\n effects: [],\r\n resolve(resume = false) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n if (!resume && !suspense.pendingBranch) {\r\n throw new Error(`suspense.resolve() is called without a pending branch.`);\r\n }\r\n if (suspense.isUnmounted) {\r\n throw new Error(`suspense.resolve() is called on an already unmounted suspense boundary.`);\r\n }\r\n }\r\n const { vnode, activeBranch, pendingBranch, pendingId, effects, parentComponent, container } = suspense;\r\n if (suspense.isHydrating) {\r\n suspense.isHydrating = false;\r\n }\r\n else if (!resume) {\r\n const delayEnter = activeBranch &&\r\n pendingBranch.transition &&\r\n pendingBranch.transition.mode === 'out-in';\r\n if (delayEnter) {\r\n activeBranch.transition.afterLeave = () => {\r\n if (pendingId === suspense.pendingId) {\r\n move(pendingBranch, container, anchor, 0 /* ENTER */);\r\n }\r\n };\r\n }\r\n // this is initial anchor on mount\r\n let { anchor } = suspense;\r\n // unmount current active tree\r\n if (activeBranch) {\r\n // if the fallback tree was mounted, it may have been moved\r\n // as part of a parent suspense. get the latest anchor for insertion\r\n anchor = next(activeBranch);\r\n unmount(activeBranch, parentComponent, suspense, true);\r\n }\r\n if (!delayEnter) {\r\n // move content from off-dom container to actual container\r\n move(pendingBranch, container, anchor, 0 /* ENTER */);\r\n }\r\n }\r\n setActiveBranch(suspense, pendingBranch);\r\n suspense.pendingBranch = null;\r\n suspense.isInFallback = false;\r\n // flush buffered effects\r\n // check if there is a pending parent suspense\r\n let parent = suspense.parent;\r\n let hasUnresolvedAncestor = false;\r\n while (parent) {\r\n if (parent.pendingBranch) {\r\n // found a pending parent suspense, merge buffered post jobs\r\n // into that parent\r\n parent.effects.push(...effects);\r\n hasUnresolvedAncestor = true;\r\n break;\r\n }\r\n parent = parent.parent;\r\n }\r\n // no pending parent suspense, flush all jobs\r\n if (!hasUnresolvedAncestor) {\r\n queuePostFlushCb(effects);\r\n }\r\n suspense.effects = [];\r\n // invoke @resolve event\r\n triggerEvent(vnode, 'onResolve');\r\n },\r\n fallback(fallbackVNode) {\r\n if (!suspense.pendingBranch) {\r\n return;\r\n }\r\n const { vnode, activeBranch, parentComponent, container, isSVG } = suspense;\r\n // invoke @fallback event\r\n triggerEvent(vnode, 'onFallback');\r\n const anchor = next(activeBranch);\r\n const mountFallback = () => {\r\n if (!suspense.isInFallback) {\r\n return;\r\n }\r\n // mount the fallback tree\r\n patch(null, fallbackVNode, container, anchor, parentComponent, null, // fallback tree will not have suspense context\r\n isSVG, slotScopeIds, optimized);\r\n setActiveBranch(suspense, fallbackVNode);\r\n };\r\n const delayEnter = fallbackVNode.transition && fallbackVNode.transition.mode === 'out-in';\r\n if (delayEnter) {\r\n activeBranch.transition.afterLeave = mountFallback;\r\n }\r\n suspense.isInFallback = true;\r\n // unmount current active branch\r\n unmount(activeBranch, parentComponent, null, // no suspense so unmount hooks fire now\r\n true // shouldRemove\r\n );\r\n if (!delayEnter) {\r\n mountFallback();\r\n }\r\n },\r\n move(container, anchor, type) {\r\n suspense.activeBranch &&\r\n move(suspense.activeBranch, container, anchor, type);\r\n suspense.container = container;\r\n },\r\n next() {\r\n return suspense.activeBranch && next(suspense.activeBranch);\r\n },\r\n registerDep(instance, setupRenderEffect) {\r\n const isInPendingSuspense = !!suspense.pendingBranch;\r\n if (isInPendingSuspense) {\r\n suspense.deps++;\r\n }\r\n const hydratedEl = instance.vnode.el;\r\n instance\r\n .asyncDep.catch(err => {\r\n handleError(err, instance, 0 /* SETUP_FUNCTION */);\r\n })\r\n .then(asyncSetupResult => {\r\n // retry when the setup() promise resolves.\r\n // component may have been unmounted before resolve.\r\n if (instance.isUnmounted ||\r\n suspense.isUnmounted ||\r\n suspense.pendingId !== instance.suspenseId) {\r\n return;\r\n }\r\n // retry from this component\r\n instance.asyncResolved = true;\r\n const { vnode } = instance;\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n pushWarningContext(vnode);\r\n }\r\n handleSetupResult(instance, asyncSetupResult, false);\r\n if (hydratedEl) {\r\n // vnode may have been replaced if an update happened before the\r\n // async dep is resolved.\r\n vnode.el = hydratedEl;\r\n }\r\n const placeholder = !hydratedEl && instance.subTree.el;\r\n setupRenderEffect(instance, vnode, \r\n // component may have been moved before resolve.\r\n // if this is not a hydration, instance.subTree will be the comment\r\n // placeholder.\r\n parentNode(hydratedEl || instance.subTree.el), \r\n // anchor will not be used if this is hydration, so only need to\r\n // consider the comment placeholder case.\r\n hydratedEl ? null : next(instance.subTree), suspense, isSVG, optimized);\r\n if (placeholder) {\r\n remove(placeholder);\r\n }\r\n updateHOCHostEl(instance, vnode.el);\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n popWarningContext();\r\n }\r\n // only decrease deps count if suspense is not already resolved\r\n if (isInPendingSuspense && --suspense.deps === 0) {\r\n suspense.resolve();\r\n }\r\n });\r\n },\r\n unmount(parentSuspense, doRemove) {\r\n suspense.isUnmounted = true;\r\n if (suspense.activeBranch) {\r\n unmount(suspense.activeBranch, parentComponent, parentSuspense, doRemove);\r\n }\r\n if (suspense.pendingBranch) {\r\n unmount(suspense.pendingBranch, parentComponent, parentSuspense, doRemove);\r\n }\r\n }\r\n };\r\n return suspense;\r\n}\r\nfunction hydrateSuspense(node, vnode, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals, hydrateNode) {\r\n /* eslint-disable no-restricted-globals */\r\n const suspense = (vnode.suspense = createSuspenseBoundary(vnode, parentSuspense, parentComponent, node.parentNode, document.createElement('div'), null, isSVG, slotScopeIds, optimized, rendererInternals, true /* hydrating */));\r\n // there are two possible scenarios for server-rendered suspense:\r\n // - success: ssr content should be fully resolved\r\n // - failure: ssr content should be the fallback branch.\r\n // however, on the client we don't really know if it has failed or not\r\n // attempt to hydrate the DOM assuming it has succeeded, but we still\r\n // need to construct a suspense boundary first\r\n const result = hydrateNode(node, (suspense.pendingBranch = vnode.ssContent), parentComponent, suspense, slotScopeIds, optimized);\r\n if (suspense.deps === 0) {\r\n suspense.resolve();\r\n }\r\n return result;\r\n /* eslint-enable no-restricted-globals */\r\n}\r\nfunction normalizeSuspenseChildren(vnode) {\r\n const { shapeFlag, children } = vnode;\r\n const isSlotChildren = shapeFlag & 32 /* SLOTS_CHILDREN */;\r\n vnode.ssContent = normalizeSuspenseSlot(isSlotChildren ? children.default : children);\r\n vnode.ssFallback = isSlotChildren\r\n ? normalizeSuspenseSlot(children.fallback)\r\n : createVNode(Comment);\r\n}\r\nfunction normalizeSuspenseSlot(s) {\r\n let block;\r\n if (isFunction(s)) {\r\n const trackBlock = isBlockTreeEnabled && s._c;\r\n if (trackBlock) {\r\n // disableTracking: false\r\n // allow block tracking for compiled slots\r\n // (see ./componentRenderContext.ts)\r\n s._d = false;\r\n openBlock();\r\n }\r\n s = s();\r\n if (trackBlock) {\r\n s._d = true;\r\n block = currentBlock;\r\n closeBlock();\r\n }\r\n }\r\n if (isArray(s)) {\r\n const singleChild = filterSingleRoot(s);\r\n if ((process.env.NODE_ENV !== 'production') && !singleChild) {\r\n warn(` slots expect a single root node.`);\r\n }\r\n s = singleChild;\r\n }\r\n s = normalizeVNode(s);\r\n if (block && !s.dynamicChildren) {\r\n s.dynamicChildren = block.filter(c => c !== s);\r\n }\r\n return s;\r\n}\r\nfunction queueEffectWithSuspense(fn, suspense) {\r\n if (suspense && suspense.pendingBranch) {\r\n if (isArray(fn)) {\r\n suspense.effects.push(...fn);\r\n }\r\n else {\r\n suspense.effects.push(fn);\r\n }\r\n }\r\n else {\r\n queuePostFlushCb(fn);\r\n }\r\n}\r\nfunction setActiveBranch(suspense, branch) {\r\n suspense.activeBranch = branch;\r\n const { vnode, parentComponent } = suspense;\r\n const el = (vnode.el = branch.el);\r\n // in case suspense is the root node of a component,\r\n // recursively update the HOC el\r\n if (parentComponent && parentComponent.subTree === vnode) {\r\n parentComponent.vnode.el = el;\r\n updateHOCHostEl(parentComponent, el);\r\n }\r\n}\n\nfunction provide(key, value) {\r\n if (!currentInstance) {\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`provide() can only be used inside setup().`);\r\n }\r\n }\r\n else {\r\n let provides = currentInstance.provides;\r\n // by default an instance inherits its parent's provides object\r\n // but when it needs to provide values of its own, it creates its\r\n // own provides object using parent provides object as prototype.\r\n // this way in `inject` we can simply look up injections from direct\r\n // parent and let the prototype chain do the work.\r\n const parentProvides = currentInstance.parent && currentInstance.parent.provides;\r\n if (parentProvides === provides) {\r\n provides = currentInstance.provides = Object.create(parentProvides);\r\n }\r\n // TS doesn't allow symbol as index type\r\n provides[key] = value;\r\n }\r\n}\r\nfunction inject(key, defaultValue, treatDefaultAsFactory = false) {\r\n // fallback to `currentRenderingInstance` so that this can be called in\r\n // a functional component\r\n const instance = currentInstance || currentRenderingInstance;\r\n if (instance) {\r\n // #2400\r\n // to support `app.use` plugins,\r\n // fallback to appContext's `provides` if the instance is at root\r\n const provides = instance.parent == null\r\n ? instance.vnode.appContext && instance.vnode.appContext.provides\r\n : instance.parent.provides;\r\n if (provides && key in provides) {\r\n // TS doesn't allow symbol as index type\r\n return provides[key];\r\n }\r\n else if (arguments.length > 1) {\r\n return treatDefaultAsFactory && isFunction(defaultValue)\r\n ? defaultValue.call(instance.proxy)\r\n : defaultValue;\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`injection \"${String(key)}\" not found.`);\r\n }\r\n }\r\n else if ((process.env.NODE_ENV !== 'production')) {\r\n warn(`inject() can only be used inside setup() or functional components.`);\r\n }\r\n}\n\n// Simple effect.\r\nfunction watchEffect(effect, options) {\r\n return doWatch(effect, null, options);\r\n}\r\nfunction watchPostEffect(effect, options) {\r\n return doWatch(effect, null, ((process.env.NODE_ENV !== 'production')\r\n ? Object.assign(Object.assign({}, options), { flush: 'post' }) : { flush: 'post' }));\r\n}\r\nfunction watchSyncEffect(effect, options) {\r\n return doWatch(effect, null, ((process.env.NODE_ENV !== 'production')\r\n ? Object.assign(Object.assign({}, options), { flush: 'sync' }) : { flush: 'sync' }));\r\n}\r\n// initial value for watchers to trigger on undefined initial values\r\nconst INITIAL_WATCHER_VALUE = {};\r\n// implementation\r\nfunction watch(source, cb, options) {\r\n if ((process.env.NODE_ENV !== 'production') && !isFunction(cb)) {\r\n warn(`\\`watch(fn, options?)\\` signature has been moved to a separate API. ` +\r\n `Use \\`watchEffect(fn, options?)\\` instead. \\`watch\\` now only ` +\r\n `supports \\`watch(source, cb, options?) signature.`);\r\n }\r\n return doWatch(source, cb, options);\r\n}\r\nfunction doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EMPTY_OBJ) {\r\n if ((process.env.NODE_ENV !== 'production') && !cb) {\r\n if (immediate !== undefined) {\r\n warn(`watch() \"immediate\" option is only respected when using the ` +\r\n `watch(source, callback, options?) signature.`);\r\n }\r\n if (deep !== undefined) {\r\n warn(`watch() \"deep\" option is only respected when using the ` +\r\n `watch(source, callback, options?) signature.`);\r\n }\r\n }\r\n const warnInvalidSource = (s) => {\r\n warn(`Invalid watch source: `, s, `A watch source can only be a getter/effect function, a ref, ` +\r\n `a reactive object, or an array of these types.`);\r\n };\r\n const instance = currentInstance;\r\n let getter;\r\n let forceTrigger = false;\r\n let isMultiSource = false;\r\n if (isRef(source)) {\r\n getter = () => source.value;\r\n forceTrigger = isShallow$1(source);\r\n }\r\n else if (isReactive(source)) {\r\n getter = () => source;\r\n deep = true;\r\n }\r\n else if (isArray(source)) {\r\n isMultiSource = true;\r\n forceTrigger = source.some(s => isReactive(s) || isShallow$1(s));\r\n getter = () => source.map(s => {\r\n if (isRef(s)) {\r\n return s.value;\r\n }\r\n else if (isReactive(s)) {\r\n return traverse(s);\r\n }\r\n else if (isFunction(s)) {\r\n return callWithErrorHandling(s, instance, 2 /* WATCH_GETTER */);\r\n }\r\n else {\r\n (process.env.NODE_ENV !== 'production') && warnInvalidSource(s);\r\n }\r\n });\r\n }\r\n else if (isFunction(source)) {\r\n if (cb) {\r\n // getter with cb\r\n getter = () => callWithErrorHandling(source, instance, 2 /* WATCH_GETTER */);\r\n }\r\n else {\r\n // no cb -> simple effect\r\n getter = () => {\r\n if (instance && instance.isUnmounted) {\r\n return;\r\n }\r\n if (cleanup) {\r\n cleanup();\r\n }\r\n return callWithAsyncErrorHandling(source, instance, 3 /* WATCH_CALLBACK */, [onCleanup]);\r\n };\r\n }\r\n }\r\n else {\r\n getter = NOOP;\r\n (process.env.NODE_ENV !== 'production') && warnInvalidSource(source);\r\n }\r\n if (cb && deep) {\r\n const baseGetter = getter;\r\n getter = () => traverse(baseGetter());\r\n }\r\n let cleanup;\r\n let onCleanup = (fn) => {\r\n cleanup = effect.onStop = () => {\r\n callWithErrorHandling(fn, instance, 4 /* WATCH_CLEANUP */);\r\n };\r\n };\r\n // in SSR there is no need to setup an actual effect, and it should be noop\r\n // unless it's eager\r\n if (isInSSRComponentSetup) {\r\n // we will also not call the invalidate callback (+ runner is not set up)\r\n onCleanup = NOOP;\r\n if (!cb) {\r\n getter();\r\n }\r\n else if (immediate) {\r\n callWithAsyncErrorHandling(cb, instance, 3 /* WATCH_CALLBACK */, [\r\n getter(),\r\n isMultiSource ? [] : undefined,\r\n onCleanup\r\n ]);\r\n }\r\n return NOOP;\r\n }\r\n let oldValue = isMultiSource ? [] : INITIAL_WATCHER_VALUE;\r\n const job = () => {\r\n if (!effect.active) {\r\n return;\r\n }\r\n if (cb) {\r\n // watch(source, cb)\r\n const newValue = effect.run();\r\n if (deep ||\r\n forceTrigger ||\r\n (isMultiSource\r\n ? newValue.some((v, i) => hasChanged(v, oldValue[i]))\r\n : hasChanged(newValue, oldValue)) ||\r\n (false )) {\r\n // cleanup before running cb again\r\n if (cleanup) {\r\n cleanup();\r\n }\r\n callWithAsyncErrorHandling(cb, instance, 3 /* WATCH_CALLBACK */, [\r\n newValue,\r\n // pass undefined as the old value when it's changed for the first time\r\n oldValue === INITIAL_WATCHER_VALUE ? undefined : oldValue,\r\n onCleanup\r\n ]);\r\n oldValue = newValue;\r\n }\r\n }\r\n else {\r\n // watchEffect\r\n effect.run();\r\n }\r\n };\r\n // important: mark the job as a watcher callback so that scheduler knows\r\n // it is allowed to self-trigger (#1727)\r\n job.allowRecurse = !!cb;\r\n let scheduler;\r\n if (flush === 'sync') {\r\n scheduler = job; // the scheduler function gets called directly\r\n }\r\n else if (flush === 'post') {\r\n scheduler = () => queuePostRenderEffect(job, instance && instance.suspense);\r\n }\r\n else {\r\n // default: 'pre'\r\n scheduler = () => queuePreFlushCb(job);\r\n }\r\n const effect = new ReactiveEffect(getter, scheduler);\r\n if ((process.env.NODE_ENV !== 'production')) {\r\n effect.onTrack = onTrack;\r\n effect.onTrigger = onTrigger;\r\n }\r\n // initial run\r\n if (cb) {\r\n if (immediate) {\r\n job();\r\n }\r\n else {\r\n oldValue = effect.run();\r\n }\r\n }\r\n else if (flush === 'post') {\r\n queuePostRenderEffect(effect.run.bind(effect), instance && instance.suspense);\r\n }\r\n else {\r\n effect.run();\r\n }\r\n return () => {\r\n effect.stop();\r\n if (instance && instance.scope) {\r\n remove(instance.scope.effects, effect);\r\n }\r\n };\r\n}\r\n// this.$watch\r\nfunction instanceWatch(source, value, options) {\r\n const publicThis = this.proxy;\r\n const getter = isString(source)\r\n ? source.includes('.')\r\n ? createPathGetter(publicThis, source)\r\n : () => publicThis[source]\r\n : source.bind(publicThis, publicThis);\r\n let cb;\r\n if (isFunction(value)) {\r\n cb = value;\r\n }\r\n else {\r\n cb = value.handler;\r\n options = value;\r\n }\r\n const cur = currentInstance;\r\n setCurrentInstance(this);\r\n const res = doWatch(getter, cb.bind(publicThis), options);\r\n if (cur) {\r\n setCurrentInstance(cur);\r\n }\r\n else {\r\n unsetCurrentInstance();\r\n }\r\n return res;\r\n}\r\nfunction createPathGetter(ctx, path) {\r\n const segments = path.split('.');\r\n return () => {\r\n let cur = ctx;\r\n for (let i = 0; i < segments.length && cur; i++) {\r\n cur = cur[segments[i]];\r\n }\r\n return cur;\r\n };\r\n}\r\nfunction traverse(value, seen) {\r\n if (!isObject(value) || value[\"__v_skip\" /* SKIP */]) {\r\n return value;\r\n }\r\n seen = seen || new Set();\r\n if (seen.has(value)) {\r\n return value;\r\n }\r\n seen.add(value);\r\n if (isRef(value)) {\r\n traverse(value.value, seen);\r\n }\r\n else if (isArray(value)) {\r\n for (let i = 0; i < value.length; i++) {\r\n traverse(value[i], seen);\r\n }\r\n }\r\n else if (isSet(value) || isMap(value)) {\r\n value.forEach((v) => {\r\n traverse(v, seen);\r\n });\r\n }\r\n else if (isPlainObject(value)) {\r\n for (const key in value) {\r\n traverse(value[key], seen);\r\n }\r\n }\r\n return value;\r\n}\n\nfunction useTransitionState() {\r\n const state = {\r\n isMounted: false,\r\n isLeaving: false,\r\n isUnmounting: false,\r\n leavingVNodes: new Map()\r\n };\r\n onMounted(() => {\r\n state.isMounted = true;\r\n });\r\n onBeforeUnmount(() => {\r\n state.isUnmounting = true;\r\n });\r\n return state;\r\n}\r\nconst TransitionHookValidator = [Function, Array];\r\nconst BaseTransitionImpl = {\r\n name: `BaseTransition`,\r\n props: {\r\n mode: String,\r\n appear: Boolean,\r\n persisted: Boolean,\r\n // enter\r\n onBeforeEnter: TransitionHookValidator,\r\n onEnter: TransitionHookValidator,\r\n onAfterEnter: TransitionHookValidator,\r\n onEnterCancelled: TransitionHookValidator,\r\n // leave\r\n onBeforeLeave: TransitionHookValidator,\r\n onLeave: TransitionHookValidator,\r\n onAfterLeave: TransitionHookValidator,\r\n onLeaveCancelled: TransitionHookValidator,\r\n // appear\r\n onBeforeAppear: TransitionHookValidator,\r\n onAppear: TransitionHookValidator,\r\n onAfterAppear: TransitionHookValidator,\r\n onAppearCancelled: TransitionHookValidator\r\n },\r\n setup(props, { slots }) {\r\n const instance = getCurrentInstance();\r\n const state = useTransitionState();\r\n let prevTransitionKey;\r\n return () => {\r\n const children = slots.default && getTransitionRawChildren(slots.default(), true);\r\n if (!children || !children.length) {\r\n return;\r\n }\r\n let child = children[0];\r\n if (children.length > 1) {\r\n let hasFound = false;\r\n // locate first non-comment child\r\n for (const c of children) {\r\n if (c.type !== Comment) {\r\n if ((process.env.NODE_ENV !== 'production') && hasFound) {\r\n // warn more than one non-comment child\r\n warn(' can only be used on a single element or component. ' +\r\n 'Use for lists.');\r\n break;\r\n }\r\n child = c;\r\n hasFound = true;\r\n if (!(process.env.NODE_ENV !== 'production'))\r\n break;\r\n }\r\n }\r\n }\r\n // there's no need to track reactivity for these props so use the raw\r\n // props for a bit better perf\r\n const rawProps = toRaw(props);\r\n const { mode } = rawProps;\r\n // check mode\r\n if ((process.env.NODE_ENV !== 'production') &&\r\n mode &&\r\n mode !== 'in-out' &&\r\n mode !== 'out-in' &&\r\n mode !== 'default') {\r\n warn(`invalid mode: ${mode}`);\r\n }\r\n if (state.isLeaving) {\r\n return emptyPlaceholder(child);\r\n }\r\n // in the case of , we need to\r\n // compare the type of the kept-alive children.\r\n const innerChild = getKeepAliveChild(child);\r\n if (!innerChild) {\r\n return emptyPlaceholder(child);\r\n }\r\n const enterHooks = resolveTransitionHooks(innerChild, rawProps, state, instance);\r\n setTransitionHooks(innerChild, enterHooks);\r\n const oldChild = instance.subTree;\r\n const oldInnerChild = oldChild && getKeepAliveChild(oldChild);\r\n let transitionKeyChanged = false;\r\n const { getTransitionKey } = innerChild.type;\r\n if (getTransitionKey) {\r\n const key = getTransitionKey();\r\n if (prevTransitionKey === undefined) {\r\n prevTransitionKey = key;\r\n }\r\n else if (key !== prevTransitionKey) {\r\n prevTransitionKey = key;\r\n transitionKeyChanged = true;\r\n }\r\n }\r\n // handle mode\r\n if (oldInnerChild &&\r\n oldInnerChild.type !== Comment &&\r\n (!isSameVNodeType(innerChild, oldInnerChild) || transitionKeyChanged)) {\r\n const leavingHooks = resolveTransitionHooks(oldInnerChild, rawProps, state, instance);\r\n // update old tree's hooks in case of dynamic transition\r\n setTransitionHooks(oldInnerChild, leavingHooks);\r\n // switching between different views\r\n if (mode === 'out-in') {\r\n state.isLeaving = true;\r\n // return placeholder node and queue update when leave finishes\r\n leavingHooks.afterLeave = () => {\r\n state.isLeaving = false;\r\n instance.update();\r\n };\r\n return emptyPlaceholder(child);\r\n }\r\n else if (mode === 'in-out' && innerChild.type !== Comment) {\r\n leavingHooks.delayLeave = (el, earlyRemove, delayedLeave) => {\r\n const leavingVNodesCache = getLeavingNodesForType(state, oldInnerChild);\r\n leavingVNodesCache[String(oldInnerChild.key)] = oldInnerChild;\r\n // early removal callback\r\n el._leaveCb = () => {\r\n earlyRemove();\r\n el._leaveCb = undefined;\r\n delete enterHooks.delayedLeave;\r\n };\r\n enterHooks.delayedLeave = delayedLeave;\r\n };\r\n }\r\n }\r\n return child;\r\n };\r\n }\r\n};\r\n// export the public type for h/tsx inference\r\n// also to avoid inline import() in generated d.ts files\r\nconst BaseTransition = BaseTransitionImpl;\r\nfunction getLeavingNodesForType(state, vnode) {\r\n const { leavingVNodes } = state;\r\n let leavingVNodesCache = leavingVNodes.get(vnode.type);\r\n if (!leavingVNodesCache) {\r\n leavingVNodesCache = Object.create(null);\r\n leavingVNodes.set(vnode.type, leavingVNodesCache);\r\n }\r\n return leavingVNodesCache;\r\n}\r\n// The transition hooks are attached to the vnode as vnode.transition\r\n// and will be called at appropriate timing in the renderer.\r\nfunction resolveTransitionHooks(vnode, props, state, instance) {\r\n const { appear, mode, persisted = false, onBeforeEnter, onEnter, onAfterEnter, onEnterCancelled, onBeforeLeave, onLeave, onAfterLeave, onLeaveCancelled, onBeforeAppear, onAppear, onAfterAppear, onAppearCancelled } = props;\r\n const key = String(vnode.key);\r\n const leavingVNodesCache = getLeavingNodesForType(state, vnode);\r\n const callHook = (hook, args) => {\r\n hook &&\r\n callWithAsyncErrorHandling(hook, instance, 9 /* TRANSITION_HOOK */, args);\r\n };\r\n const callAsyncHook = (hook, args) => {\r\n const done = args[1];\r\n callHook(hook, args);\r\n if (isArray(hook)) {\r\n if (hook.every(hook => hook.length <= 1))\r\n done();\r\n }\r\n else if (hook.length <= 1) {\r\n done();\r\n }\r\n };\r\n const hooks = {\r\n mode,\r\n persisted,\r\n beforeEnter(el) {\r\n let hook = onBeforeEnter;\r\n if (!state.isMounted) {\r\n if (appear) {\r\n hook = onBeforeAppear || onBeforeEnter;\r\n }\r\n else {\r\n return;\r\n }\r\n }\r\n // for same element (v-show)\r\n if (el._leaveCb) {\r\n el._leaveCb(true /* cancelled */);\r\n }\r\n // for toggled element with same key (v-if)\r\n const leavingVNode = leavingVNodesCache[key];\r\n if (leavingVNode &&\r\n isSameVNodeType(vnode, leavingVNode) &&\r\n leavingVNode.el._leaveCb) {\r\n // force early removal (not cancelled)\r\n leavingVNode.el._leaveCb();\r\n }\r\n callHook(hook, [el]);\r\n },\r\n enter(el) {\r\n let hook = onEnter;\r\n let afterHook = onAfterEnter;\r\n let cancelHook = onEnterCancelled;\r\n if (!state.isMounted) {\r\n if (appear) {\r\n hook = onAppear || onEnter;\r\n afterHook = onAfterAppear || onAfterEnter;\r\n cancelHook = onAppearCancelled || onEnterCancelled;\r\n }\r\n else {\r\n return;\r\n }\r\n }\r\n let called = false;\r\n const done = (el._enterCb = (cancelled) => {\r\n if (called)\r\n return;\r\n called = true;\r\n if (cancelled) {\r\n callHook(cancelHook, [el]);\r\n }\r\n else {\r\n callHook(afterHook, [el]);\r\n }\r\n if (hooks.delayedLeave) {\r\n hooks.delayedLeave();\r\n }\r\n el._enterCb = undefined;\r\n });\r\n if (hook) {\r\n callAsyncHook(hook, [el, done]);\r\n }\r\n else {\r\n done();\r\n }\r\n },\r\n leave(el, remove) {\r\n const key = String(vnode.key);\r\n if (el._enterCb) {\r\n el._enterCb(true /* cancelled */);\r\n }\r\n if (state.isUnmounting) {\r\n return remove();\r\n }\r\n callHook(onBeforeLeave, [el]);\r\n let called = false;\r\n const done = (el._leaveCb = (cancelled) => {\r\n if (called)\r\n return;\r\n called = true;\r\n remove();\r\n if (cancelled) {\r\n callHook(onLeaveCancelled, [el]);\r\n }\r\n else {\r\n callHook(onAfterLeave, [el]);\r\n }\r\n el._leaveCb = undefined;\r\n if (leavingVNodesCache[key] === vnode) {\r\n delete leavingVNodesCache[key];\r\n }\r\n });\r\n leavingVNodesCache[key] = vnode;\r\n if (onLeave) {\r\n callAsyncHook(onLeave, [el, done]);\r\n }\r\n else {\r\n done();\r\n }\r\n },\r\n clone(vnode) {\r\n return resolveTransitionHooks(vnode, props, state, instance);\r\n }\r\n };\r\n return hooks;\r\n}\r\n// the placeholder really only handles one special case: KeepAlive\r\n// in the case of a KeepAlive in a leave phase we need to return a KeepAlive\r\n// placeholder with empty content to avoid the KeepAlive instance from being\r\n// unmounted.\r\nfunction emptyPlaceholder(vnode) {\r\n if (isKeepAlive(vnode)) {\r\n vnode = cloneVNode(vnode);\r\n vnode.children = null;\r\n return vnode;\r\n }\r\n}\r\nfunction getKeepAliveChild(vnode) {\r\n return isKeepAlive(vnode)\r\n ? vnode.children\r\n ? vnode.children[0]\r\n : undefined\r\n : vnode;\r\n}\r\nfunction setTransitionHooks(vnode, hooks) {\r\n if (vnode.shapeFlag & 6 /* COMPONENT */ && vnode.component) {\r\n setTransitionHooks(vnode.component.subTree, hooks);\r\n }\r\n else if (vnode.shapeFlag & 128 /* SUSPENSE */) {\r\n vnode.ssContent.transition = hooks.clone(vnode.ssContent);\r\n vnode.ssFallback.transition = hooks.clone(vnode.ssFallback);\r\n }\r\n else {\r\n vnode.transition = hooks;\r\n }\r\n}\r\nfunction getTransitionRawChildren(children, keepComment = false, parentKey) {\r\n let ret = [];\r\n let keyedFragmentCount = 0;\r\n for (let i = 0; i < children.length; i++) {\r\n let child = children[i];\r\n // #5360 inherit parent key in case of