{"version":3,"sources":["webpack:///./node_modules/@ionic/core/dist/esm/legacy/ion-app_8-ios.entry.js"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAiC;AAC4G;AAC1E;AACtC;AACmD;AACjC;AACkC;AAC3B;AACtD;AACA;AACA,QAAQ,4DAAgB;AACxB;AACA;AACA,QAAQ,4DAAG;AACX,iBAAiB,oDAAM;AACvB,gBAAgB,gLAAiC,yBAAyB,6BAA6B,oDAAM,EAAE,EAAE;AACjH;AACA,gBAAgB,oDAAM,yBAAyB,4DAAU;AACzD,gBAAgB,kLAAkC,yBAAyB,gCAAgC,EAAE;AAC7G;AACA,gBAAgB,oDAAM;AACtB,gBAAgB,oLAAmC,yBAAyB,+BAA+B,oDAAM,EAAE,EAAE;AACrH;AACA,YAAY,wLAAqC,yBAAyB,mCAAmC,EAAE;AAC/G,SAAS;AACT;AACA;AACA;AACA,mBAAmB,4DAAU;AAC7B;AACA,2BAA2B;AAC3B;AACA;AACA,gDAAgD,oDAAM;AACtD;AACA;AACA;AACA;AACA,0BAA0B,QAAQ,4DAAU,OAAO,EAAE;AACrD;AACA;AACA,KAAK;AACL,wCAAwC,QAAQ,4DAAC,CAAC,oDAAI,mBAAmB;AACzE;AACA,0BAA0B,iCAAiC,yBAAyB,sBAAsB,qBAAqB,iBAAiB,gCAAgC,yBAAyB,EAAE,EAAE;AAC7M;AACA;AACA,KAAK;AACL;AACA,CAAC;AACD;AACA,WAAW,4DAAU,mBAAmB,4DAAU;AAClD;AACA;AACA;AACA,QAAQ,4DAAgB;AACxB;AACA;AACA;AACA,mBAAmB,4DAAU;AAC7B;AACA,2BAA2B;AAC3B;AACA;AACA;AACA;AACA,4CAA4C,QAAQ,4DAAC,CAAC,oDAAI,mBAAmB;AAC7E;AACA,0BAA0B,+BAA+B,oBAAoB,aAAa,sBAAsB,mBAAmB,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U;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,4DAAQ;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,4DAAQ;AACpB;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC,cAAc;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC,cAAc;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC,cAAc;AAChD,eAAe,+CAAiB;AAChC;AACA,mBAAmB,iDAAmB;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oDAAoD,oBAAoB,EAAE;AAC1E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA,mBAAmB,4DAAU;AAC7B;AACA;AACA,gBAAgB,4DAAC,CAAC,oDAAI,GAAG,wBAAwB,EAAE,4DAAkB,sBAAsB,0CAA0C,4DAAW;AAChJ;AACA;AACA,aAAa,EAAE,EAAE,4DAAC,SAAS;AAC3B;AACA;AACA;AACA;AACA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T;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,+CAAiB;AAChC;AACA,mBAAmB,iDAAmB;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA,eAAe,+CAAiB;AAChC;AACA,mBAAmB,iDAAmB;AACtC;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA,eAAe,+CAAiB;AAChC;AACA,mBAAmB,iDAAmB;AACtC;AACA;AACA;AACA;AACA,qBAAqB;AACrB,aAAa;AACb,SAAS;AACT;AACA;AACA,eAAe,+CAAiB;AAChC;AACA,mBAAmB,iDAAmB;AACtC;AACA;AACA;AACA;AACA;AACA;AACA,6CAA6C,4DAAe;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6CAA6C,4DAAe;AAC5D;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA,8BAA8B,WAAW;AACzC,eAAe,+CAAiB;AAChC;AACA;AACA,mBAAmB,iDAAmB;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oDAAoD,oDAAM;AAC1D,sFAAsF,oDAAM;AAC5F,6CAA6C,4DAAU,gBAAgB;AACvE;AACA;AACA;AACA;AACA,sDAAsD,wBAAwB;AAC9E,kDAAkD;AAClD;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA,eAAe,+CAAiB;AAChC;AACA,mBAAmB,iDAAmB;AACtC;AACA;AACA;AACA,qEAAqE,oBAAoB,EAAE;AAC3F;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA,gBAAgB,4DAAC;AACjB;AACA;AACA,0BAA0B,QAAQ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Ae,uBAAuB,WAAW,oBAAoB,gDAAgD,OAAO,QAAQ,SAAS,kBAAkB,MAAM,yEAAyE,4DAA4D,iHAAiH,kBAAkB,qBAAqB,oBAAoB,kBAAkB,kBAAkB,iBAAiB,WAAW,OAAO,iBAAiB,QAAQ,YAAY,wBAAwB,kBAAkB,wBAAwB,iBAAiB,QAAQ,4BAA4B,iBAAiB,QAAQ,0BAA0B,iBAAiB,QAAQ,eAAe,sBAAsB,iBAAiB,QAAQ,eAAe,EAAE,EAAE;AACrqF;AACA;AACA,KAAK;AACL;AACA,CAAC;AAC2M","file":"17.js","sourcesContent":["import * as tslib_1 from \"tslib\";\nimport { r as registerInstance, c as getIonMode, e as getElement, h, H as Host, d as createEvent, f as readTask } from './chunk-09ec7fc0.js';\nimport { b as config, i as isPlatform } from './chunk-1074393c.js';\nimport './chunk-94c4865f.js';\nimport { c as createColorClasses, h as hostContext } from './chunk-ba834eff.js';\nimport { a as rIC } from './chunk-c90aaa66.js';\nimport { a as attachComponent, d as detachComponent } from './chunk-00265c49.js';\nimport { t as transition } from './chunk-638b009b.js';\nvar App = /** @class */ (function () {\n function App(hostRef) {\n registerInstance(this, hostRef);\n }\n App.prototype.componentDidLoad = function () {\n rIC(function () {\n if (!config.getBoolean('_testing')) {\n import('./tap-click-c672ad5e.js').then(function (module) { return module.startTapClick(config); });\n }\n if (config.getBoolean('statusTap', isPlatform(window, 'hybrid'))) {\n import('./status-tap-a777fe7a.js').then(function (module) { return module.startStatusTap(); });\n }\n if (config.getBoolean('inputShims', needInputShims())) {\n import('./input-shims-09d70723.js').then(function (module) { return module.startInputShims(config); });\n }\n import('./focus-visible-70161a50.js').then(function (module) { return module.startFocusVisible(); });\n });\n };\n App.prototype.hostData = function () {\n var _a;\n var mode = getIonMode(this);\n return {\n class: (_a = {},\n _a[mode] = true,\n _a['ion-page'] = true,\n _a['force-statusbar-padding'] = config.getBoolean('_forceStatusbarPadding'),\n _a)\n };\n };\n Object.defineProperty(App.prototype, \"el\", {\n get: function () { return getElement(this); },\n enumerable: true,\n configurable: true\n });\n App.prototype.render = function () { return h(Host, this.hostData()); };\n Object.defineProperty(App, \"style\", {\n get: function () { return \"html.plt-mobile ion-app{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ion-app.force-statusbar-padding{--ion-safe-area-top:20px}\"; },\n enumerable: true,\n configurable: true\n });\n return App;\n}());\nvar needInputShims = function () {\n return isPlatform(window, 'ios') && isPlatform(window, 'mobile');\n};\nvar Buttons = /** @class */ (function () {\n function Buttons(hostRef) {\n registerInstance(this, hostRef);\n }\n Buttons.prototype.hostData = function () {\n var _a;\n var mode = getIonMode(this);\n return {\n class: (_a = {},\n _a[mode] = true,\n _a)\n };\n };\n Buttons.prototype.render = function () { return h(Host, this.hostData()); };\n Object.defineProperty(Buttons, \"style\", {\n get: function () { return \".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;--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:rgba(var(--ion-color-contrast-rgb),0.1)}.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-activated:rgba(var(--ion-color-contrast-rgb),0.8);--background-focused:rgba(var(--ion-color-contrast-rgb),0.6);--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 {--background-focused:rgba(var(--ion-color-contrast-rgb),0.1);--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 {--background-activated:var(--ion-color-contrast);--background-focused:rgba(var(--ion-color-contrast-rgb),0.1);--color-activated:var(--ion-color-base);--color-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-hion-toolbar:not(.ion-color).sc-ion-buttons-ios-s .button-clear , ion-toolbar:not(.ion-color) .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-clear {--color:var(--ion-toolbar-color,var(--ion-color-primary,#3880ff));--color-activated:var(--ion-toolbar-color-activated,var(--ion-color-primary,#3880ff));--color-focused:var(--ion-toolbar-color,var(--ion-color-primary,#3880ff))}.sc-ion-buttons-ios-hion-toolbar:not(.ion-color).sc-ion-buttons-ios-s .button-outline , ion-toolbar:not(.ion-color) .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-outline {--color:var(--ion-toolbar-color,var(--ion-color-primary,#3880ff));--color-activated:var(--ion-toolbar-background,var(--ion-color-primary-contrast,#fff));--color-focused:var(--ion-toolbar-color,var(--ion-color-primary,#3880ff));--border-color:var(--ion-toolbar-color,var(--ion-color-primary,#3880ff));--background-activated:var(--ion-toolbar-color,var(--ion-color-primary,#3880ff))}.sc-ion-buttons-ios-hion-toolbar:not(.ion-color).sc-ion-buttons-ios-s .button-solid , ion-toolbar:not(.ion-color) .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-solid {--color:var(--ion-toolbar-background,var(--ion-color-step-50,#fff));--color-activated:var(--ion-toolbar-background,var(--ion-color-step-50,#fff));--color-focused:var(--ion-toolbar-background,var(--ion-color-step-50,#fff));--background:var(--ion-toolbar-color,var(--ion-color-primary,#3880ff));--background-activated:var(--ion-toolbar-color-activated,var(--ion-color-primary-shade,#3171e0));--background-focused:var(--ion-toolbar-color-activated,var(--ion-color-primary-shade,#3171e0))}.sc-ion-buttons-ios-s ion-icon[slot=start] {margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;margin-right:.3em;font-size:24px;line-height:.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:.3em;margin-inline-end:.3em}}.sc-ion-buttons-ios-s ion-icon[slot=end] {margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;margin-left:.4em;font-size:24px;line-height:.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:.4em;margin-inline-start:.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:31px;line-height:.67}\"; },\n enumerable: true,\n configurable: true\n });\n return Buttons;\n}());\n/**\n * @slot - Content is placed in the scrollable area if provided without a slot.\n * @slot fixed - Should be used for fixed content that should not scroll.\n */\nvar Content = /** @class */ (function () {\n function Content(hostRef) {\n registerInstance(this, hostRef);\n this.isScrolling = false;\n this.lastScroll = 0;\n this.queued = false;\n this.cTop = -1;\n this.cBottom = -1;\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 startTimeStamp: 0,\n currentX: 0,\n currentY: 0,\n velocityX: 0,\n velocityY: 0,\n deltaX: 0,\n deltaY: 0,\n timeStamp: 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 this.ionScrollStart = createEvent(this, \"ionScrollStart\", 7);\n this.ionScroll = createEvent(this, \"ionScroll\", 7);\n this.ionScrollEnd = createEvent(this, \"ionScrollEnd\", 7);\n }\n Content.prototype.componentWillLoad = function () {\n if (this.forceOverscroll === undefined) {\n var mode = getIonMode(this);\n this.forceOverscroll = mode === 'ios' && isPlatform(window, 'mobile');\n }\n };\n Content.prototype.componentDidLoad = function () {\n this.resize();\n };\n Content.prototype.componentDidUnload = function () {\n this.onScrollEnd();\n };\n Content.prototype.onClick = function (ev) {\n if (this.isScrolling) {\n ev.preventDefault();\n ev.stopPropagation();\n }\n };\n Content.prototype.resize = function () {\n if (this.fullscreen) {\n readTask(this.readDimensions.bind(this));\n }\n else if (this.cTop !== 0 || this.cBottom !== 0) {\n this.cTop = this.cBottom = 0;\n this.el.forceUpdate();\n }\n };\n Content.prototype.readDimensions = function () {\n var page = getPageElement(this.el);\n var top = Math.max(this.el.offsetTop, 0);\n var bottom = Math.max(page.offsetHeight - top - this.el.offsetHeight, 0);\n var dirty = top !== this.cTop || bottom !== this.cBottom;\n if (dirty) {\n this.cTop = top;\n this.cBottom = bottom;\n this.el.forceUpdate();\n }\n };\n Content.prototype.onScroll = function (ev) {\n var _this = this;\n var timeStamp = Date.now();\n var 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(function (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 Content.prototype.getScrollElement = function () {\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 Content.prototype.scrollToTop = function (duration) {\n if (duration === void 0) { 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 Content.prototype.scrollToBottom = function (duration) {\n if (duration === void 0) { duration = 0; }\n var y = this.scrollEl.scrollHeight - this.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 Content.prototype.scrollByPoint = function (x, y, duration) {\n return this.scrollToPoint(x + this.scrollEl.scrollLeft, y + this.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 Content.prototype.scrollToPoint = function (x, y, duration) {\n if (duration === void 0) { duration = 0; }\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var el, resolve, startTime, promise, fromY, fromX, deltaY, deltaX, step;\n return tslib_1.__generator(this, function (_a) {\n el = this.scrollEl;\n if (duration < 32) {\n if (y != null) {\n el.scrollTop = y;\n }\n if (x != null) {\n el.scrollLeft = x;\n }\n return [2 /*return*/];\n }\n startTime = 0;\n promise = new Promise(function (r) { return resolve = r; });\n fromY = el.scrollTop;\n fromX = el.scrollLeft;\n deltaY = y != null ? y - fromY : 0;\n deltaX = x != null ? x - fromX : 0;\n step = function (timeStamp) {\n var linearTime = Math.min(1, ((timeStamp - startTime) / duration)) - 1;\n var 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(function (ts) {\n startTime = ts;\n step(ts);\n });\n return [2 /*return*/, promise];\n });\n });\n };\n Content.prototype.onScrollStart = function () {\n var _this = this;\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(function () {\n if (_this.lastScroll < Date.now() - 120) {\n _this.onScrollEnd();\n }\n }, 100);\n };\n Content.prototype.onScrollEnd = function () {\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 Content.prototype.render = function () {\n var _a;\n var _this = this;\n var mode = getIonMode(this);\n var _b = this, scrollX = _b.scrollX, scrollY = _b.scrollY, forceOverscroll = _b.forceOverscroll;\n this.resize();\n return (h(Host, { class: Object.assign({}, createColorClasses(this.color), (_a = {}, _a[mode] = true, _a['content-sizing'] = hostContext('ion-popover', this.el), _a['overscroll'] = !!this.forceOverscroll, _a)), style: {\n '--offset-top': this.cTop + \"px\",\n '--offset-bottom': this.cBottom + \"px\",\n } }, h(\"div\", { class: {\n 'inner-scroll': true,\n 'scroll-x': scrollX,\n 'scroll-y': scrollY,\n 'overscroll': (scrollX || scrollY) && !!forceOverscroll\n }, ref: function (el) { return _this.scrollEl = el; }, onScroll: function (ev) { return _this.onScroll(ev); } }, h(\"slot\", null)), h(\"slot\", { name: \"fixed\" })));\n };\n Object.defineProperty(Content.prototype, \"el\", {\n get: function () { return getElement(this); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Content, \"style\", {\n get: function () { return \":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)}.inner-scroll{left:0;right:0;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;background:var(--background);color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden}\\@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-x,.scroll-y{-webkit-overflow-scrolling:touch;will-change:scroll-position;-ms-scroll-chaining:none;overscroll-behavior:contain}.scroll-y{-ms-touch-action:pan-y;touch-action:pan-y;overflow-y:var(--overflow)}.scroll-x{-ms-touch-action:pan-x;touch-action:pan-x;overflow-x:var(--overflow)}.scroll-x.scroll-y{-ms-touch-action:auto;touch-action:auto}.overscroll:after,.overscroll:before{position:absolute;width:1px;height:1px;content:\\\"\\\"}.overscroll:before{bottom:-1px}.overscroll:after{top:-1px}:host(.content-sizing){contain:none}:host(.content-sizing) .inner-scroll{position:relative}\"; },\n enumerable: true,\n configurable: true\n });\n return Content;\n}());\nvar getParentElement = function (el) {\n if (el.parentElement) {\n // normal element with a parent element\n return el.parentElement;\n }\n if (el.parentNode && el.parentNode.host) {\n // shadow dom's document fragment\n return el.parentNode.host;\n }\n return null;\n};\nvar getPageElement = function (el) {\n var tabs = el.closest('ion-tabs');\n if (tabs) {\n return tabs;\n }\n var page = el.closest('ion-app,ion-page,.ion-page,page-inner');\n if (page) {\n return page;\n }\n return getParentElement(el);\n};\n// ******** DOM READ ****************\nvar updateScrollDetail = function (detail, el, timestamp, shouldStart) {\n var prevX = detail.currentX;\n var prevY = detail.currentY;\n var prevT = detail.timeStamp;\n var currentX = el.scrollLeft;\n var currentY = el.scrollTop;\n if (shouldStart) {\n // remember the start positions\n detail.startTimeStamp = timestamp;\n detail.startX = currentX;\n detail.startY = currentY;\n detail.velocityX = detail.velocityY = 0;\n }\n detail.timeStamp = 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 var timeDelta = timestamp - prevT;\n if (timeDelta > 0 && timeDelta < 100) {\n var velocityX = (currentX - prevX) / timeDelta;\n var 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};\n/**\n * @virtualProp {\"ios\" | \"md\"} mode - The mode determines which platform styles to use.\n */\nvar Footer = /** @class */ (function () {\n function Footer(hostRef) {\n registerInstance(this, hostRef);\n /**\n * If `true`, the footer will be translucent. Only applies to `ios` mode.\n * Note: In order to scroll content behind the footer, the `fullscreen`\n * attribute needs to be set on the content.\n */\n this.translucent = false;\n }\n Footer.prototype.hostData = function () {\n var _a;\n var mode = getIonMode(this);\n return {\n class: (_a = {},\n _a[mode] = true,\n // Used internally for styling\n _a[\"footer-\" + mode] = true,\n _a[\"footer-translucent\"] = this.translucent,\n _a[\"footer-translucent-\" + mode] = this.translucent,\n _a)\n };\n };\n Footer.prototype.render = function () { return h(Host, this.hostData()); };\n Object.defineProperty(Footer, \"style\", {\n get: function () { return \"ion-footer{display:block;position:relative;-ms-flex-order:1;order:1;width:100%;z-index:10}ion-footer ion-toolbar:last-child{padding-bottom:var(--ion-safe-area-bottom,0)}.footer-ios ion-toolbar:first-child{--border-width:0.55px 0 0}.footer-ios[no-border] ion-toolbar:first-child{--border-width:0}.footer-translucent-ios{-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.footer-translucent-ios ion-toolbar{--opacity:.8;--backdrop-filter:saturate(180%) blur(20px)}\"; },\n enumerable: true,\n configurable: true\n });\n return Footer;\n}());\n/**\n * @virtualProp {\"ios\" | \"md\"} mode - The mode determines which platform styles to use.\n */\nvar Header = /** @class */ (function () {\n function Header(hostRef) {\n registerInstance(this, hostRef);\n /**\n * If `true`, the header will be translucent. Only applies to `ios` mode.\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 }\n Header.prototype.hostData = function () {\n var _a;\n var mode = getIonMode(this);\n return {\n class: (_a = {},\n _a[mode] = true,\n // Used internally for styling\n _a[\"header-\" + mode] = true,\n _a[\"header-translucent\"] = this.translucent,\n _a[\"header-translucent-\" + mode] = this.translucent,\n _a)\n };\n };\n Header.prototype.render = function () { return h(Host, this.hostData()); };\n Object.defineProperty(Header, \"style\", {\n get: function () { return \"ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-child{padding-top:var(--ion-safe-area-top,0)}.header-ios ion-toolbar:last-child{--border-width:0 0 0.55px}.header-ios[no-border] ion-toolbar:last-child{--border-width:0}.header-translucent-ios{-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.header-translucent-ios ion-toolbar{--opacity:.8;--backdrop-filter:saturate(180%) blur(20px)}\"; },\n enumerable: true,\n configurable: true\n });\n return Header;\n}());\nvar RouterOutlet = /** @class */ (function () {\n function RouterOutlet(hostRef) {\n registerInstance(this, hostRef);\n /**\n * The mode determines which platform styles to use.\n */\n this.mode = getIonMode(this);\n /**\n * If `true`, the router-outlet should animate the transition of components.\n */\n this.animated = true;\n this.ionNavWillLoad = createEvent(this, \"ionNavWillLoad\", 7);\n this.ionNavWillChange = createEvent(this, \"ionNavWillChange\", 3);\n this.ionNavDidChange = createEvent(this, \"ionNavDidChange\", 3);\n }\n RouterOutlet.prototype.swipeHandlerChanged = function () {\n if (this.gesture) {\n this.gesture.setDisabled(this.swipeHandler === undefined);\n }\n };\n RouterOutlet.prototype.componentWillLoad = function () {\n this.ionNavWillLoad.emit();\n };\n RouterOutlet.prototype.componentDidLoad = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var _a;\n var _this = this;\n return tslib_1.__generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n _a = this;\n return [4 /*yield*/, import('./swipe-back-560f72e7.js')];\n case 1:\n _a.gesture = (_b.sent()).createSwipeBackGesture(this.el, function () { return !!_this.swipeHandler && _this.swipeHandler.canStart(); }, function () { return _this.swipeHandler && _this.swipeHandler.onStart(); }, function (step) { return _this.ani && _this.ani.progressStep(step); }, function (shouldComplete, step, dur) {\n if (_this.ani) {\n _this.ani.progressEnd(shouldComplete, step, dur);\n }\n if (_this.swipeHandler) {\n _this.swipeHandler.onEnd(shouldComplete);\n }\n });\n this.swipeHandlerChanged();\n return [2 /*return*/];\n }\n });\n });\n };\n RouterOutlet.prototype.componentDidUnload = function () {\n this.activeEl = this.activeComponent = undefined;\n if (this.gesture) {\n this.gesture.destroy();\n this.gesture = undefined;\n }\n };\n /** @internal */\n RouterOutlet.prototype.commit = function (enteringEl, leavingEl, opts) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var unlock, changed, e_1;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.lock()];\n case 1:\n unlock = _a.sent();\n changed = false;\n _a.label = 2;\n case 2:\n _a.trys.push([2, 4, , 5]);\n return [4 /*yield*/, this.transition(enteringEl, leavingEl, opts)];\n case 3:\n changed = _a.sent();\n return [3 /*break*/, 5];\n case 4:\n e_1 = _a.sent();\n console.error(e_1);\n return [3 /*break*/, 5];\n case 5:\n unlock();\n return [2 /*return*/, changed];\n }\n });\n });\n };\n /** @internal */\n RouterOutlet.prototype.setRouteId = function (id, params, direction) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var changed;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, this.setRoot(id, params, {\n duration: direction === 'root' ? 0 : undefined,\n direction: direction === 'back' ? 'back' : 'forward',\n })];\n case 1:\n changed = _a.sent();\n return [2 /*return*/, {\n changed: changed,\n element: this.activeEl\n }];\n }\n });\n });\n };\n /** @internal */\n RouterOutlet.prototype.getRouteId = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var active;\n return tslib_1.__generator(this, function (_a) {\n active = this.activeEl;\n return [2 /*return*/, active ? {\n id: active.tagName,\n element: active,\n } : undefined];\n });\n });\n };\n RouterOutlet.prototype.setRoot = function (component, params, opts) {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var leavingEl, enteringEl;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (this.activeComponent === component) {\n return [2 /*return*/, false];\n }\n leavingEl = this.activeEl;\n return [4 /*yield*/, attachComponent(this.delegate, this.el, component, ['ion-page', 'ion-page-invisible'], params)];\n case 1:\n enteringEl = _a.sent();\n this.activeComponent = component;\n this.activeEl = enteringEl;\n // commit animation\n return [4 /*yield*/, this.commit(enteringEl, leavingEl, opts)];\n case 2:\n // commit animation\n _a.sent();\n return [4 /*yield*/, detachComponent(this.delegate, leavingEl)];\n case 3:\n _a.sent();\n return [2 /*return*/, true];\n }\n });\n });\n };\n RouterOutlet.prototype.transition = function (enteringEl, leavingEl, opts) {\n if (opts === void 0) { opts = {}; }\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var _a, el, mode, animated, animationBuilder;\n var _this = this;\n return tslib_1.__generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n if (leavingEl === enteringEl) {\n return [2 /*return*/, false];\n }\n // emit nav will change event\n this.ionNavWillChange.emit();\n _a = this, el = _a.el, mode = _a.mode;\n animated = this.animated && config.getBoolean('animated', true);\n animationBuilder = this.animation || opts.animationBuilder || config.get('navAnimation');\n return [4 /*yield*/, transition(Object.assign({ mode: mode,\n animated: animated,\n animationBuilder: animationBuilder,\n enteringEl: enteringEl,\n leavingEl: leavingEl, baseEl: el, progressCallback: (opts.progressAnimation\n ? function (ani) { return _this.ani = ani; }\n : undefined) }, opts))];\n case 1:\n _b.sent();\n // emit nav changed event\n this.ionNavDidChange.emit();\n return [2 /*return*/, true];\n }\n });\n });\n };\n RouterOutlet.prototype.lock = function () {\n return tslib_1.__awaiter(this, void 0, void 0, function () {\n var p, resolve;\n return tslib_1.__generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n p = this.waitPromise;\n this.waitPromise = new Promise(function (r) { return resolve = r; });\n if (!(p !== undefined)) return [3 /*break*/, 2];\n return [4 /*yield*/, p];\n case 1:\n _a.sent();\n _a.label = 2;\n case 2: return [2 /*return*/, resolve];\n }\n });\n });\n };\n RouterOutlet.prototype.render = function () {\n return (h(\"slot\", null));\n };\n Object.defineProperty(RouterOutlet.prototype, \"el\", {\n get: function () { return getElement(this); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RouterOutlet, \"watchers\", {\n get: function () {\n return {\n \"swipeHandler\": [\"swipeHandlerChanged\"]\n };\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RouterOutlet, \"style\", {\n get: function () { return \":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;overflow:hidden;z-index:0}\"; },\n enumerable: true,\n configurable: true\n });\n return RouterOutlet;\n}());\nvar ToolbarTitle = /** @class */ (function () {\n function ToolbarTitle(hostRef) {\n registerInstance(this, hostRef);\n }\n ToolbarTitle.prototype.getMode = function () {\n var mode = getIonMode(this);\n var toolbar = this.el.closest('ion-toolbar');\n return (toolbar && toolbar.mode) || mode;\n };\n ToolbarTitle.prototype.hostData = function () {\n var _a;\n var mode = this.getMode();\n return {\n class: Object.assign((_a = {}, _a[mode] = true, _a[\"title-\" + mode] = true, _a), createColorClasses(this.color))\n };\n };\n ToolbarTitle.prototype.__stencil_render = function () {\n return [\n h(\"div\", { class: \"toolbar-title\" }, h(\"slot\", null))\n ];\n };\n Object.defineProperty(ToolbarTitle.prototype, \"el\", {\n get: function () { return getElement(this); },\n enumerable: true,\n configurable: true\n });\n ToolbarTitle.prototype.render = function () { return h(Host, this.hostData(), this.__stencil_render()); };\n Object.defineProperty(ToolbarTitle, \"style\", {\n get: function () { return \":host{--color:initial;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;color:var(--color)}:host,:host(.title-ios){-webkit-transform:translateZ(0);transform:translateZ(0)}:host(.title-ios){left:0;top:0;padding-left:90px;padding-right:90px;padding-top:0;padding-bottom:0;position:absolute;width:100%;height:100%;font-size:17px;font-weight:600;letter-spacing:-.03em;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host-context([dir=rtl]).title-ios,:host-context([dir=rtl]):host(.title-ios){left:unset;right:unset;right:0}\\@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){:host(.title-ios){padding-left:unset;padding-right:unset;-webkit-padding-start:90px;padding-inline-start:90px;-webkit-padding-end:90px;padding-inline-end:90px}}:host(.title-md){padding-left:20px;padding-right:20px;padding-top:0;padding-bottom:0;font-size:20px;font-weight:500;letter-spacing:.0125em}\\@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){:host(.title-md){padding-left:unset;padding-right:unset;-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px}}: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}\"; },\n enumerable: true,\n configurable: true\n });\n return ToolbarTitle;\n}());\n/**\n * @virtualProp {\"ios\" | \"md\"} mode - The mode determines which platform styles to use.\n *\n * @slot - Content is placed between the named slots if provided without a slot.\n * @slot start - Content is placed to the left of the toolbar text in LTR, and to the right in RTL.\n * @slot secondary - Content is placed to the left of the toolbar text in `ios` mode, and directly to the right in `md` mode.\n * @slot primary - Content is placed to the right of the toolbar text in `ios` mode, and to the far right in `md` mode.\n * @slot end - Content is placed to the right of the toolbar text in LTR, and to the left in RTL.\n */\nvar Toolbar = /** @class */ (function () {\n function Toolbar(hostRef) {\n registerInstance(this, hostRef);\n this.childrenStyles = new Map();\n }\n Toolbar.prototype.componentWillLoad = function () {\n var buttons = Array.from(this.el.querySelectorAll('ion-buttons'));\n var firstButtons = buttons.find(function (button) {\n return button.slot === 'start';\n });\n if (firstButtons) {\n firstButtons.classList.add('buttons-first-slot');\n }\n var buttonsReversed = buttons.reverse();\n var lastButtons = buttonsReversed.find(function (button) { return button.slot === 'end'; }) ||\n buttonsReversed.find(function (button) { return button.slot === 'primary'; }) ||\n buttonsReversed.find(function (button) { return button.slot === 'secondary'; });\n if (lastButtons) {\n lastButtons.classList.add('buttons-last-slot');\n }\n };\n Toolbar.prototype.childrenStyle = function (ev) {\n ev.stopPropagation();\n var tagName = ev.target.tagName;\n var updatedStyles = ev.detail;\n var newStyles = {};\n var childStyles = this.childrenStyles.get(tagName) || {};\n var hasStyleChange = false;\n Object.keys(updatedStyles).forEach(function (key) {\n var childKey = \"toolbar-\" + key;\n var newValue = updatedStyles[key];\n if (newValue !== childStyles[childKey]) {\n hasStyleChange = true;\n }\n if (newValue) {\n newStyles[childKey] = true;\n }\n });\n if (hasStyleChange) {\n this.childrenStyles.set(tagName, newStyles);\n this.el.forceUpdate();\n }\n };\n Toolbar.prototype.render = function () {\n var _a;\n var mode = getIonMode(this);\n var childStyles = {};\n this.childrenStyles.forEach(function (value) {\n Object.assign(childStyles, value);\n });\n return (h(Host, { class: Object.assign((_a = {}, _a[mode] = true, _a), childStyles, createColorClasses(this.color)) }, h(\"div\", { class: \"toolbar-background\" }), h(\"div\", { class: \"toolbar-container\" }, h(\"slot\", { name: \"start\" }), h(\"slot\", { name: \"secondary\" }), h(\"div\", { class: \"toolbar-content\" }, h(\"slot\", null)), h(\"slot\", { name: \"primary\" }), h(\"slot\", { name: \"end\" }))));\n };\n Object.defineProperty(Toolbar.prototype, \"el\", {\n get: function () { return getElement(this); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Toolbar, \"style\", {\n get: function () { return \":host{--border-width:0;--border-style:solid;--opacity: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{top:0;-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:var(--opacity);z-index:-1;pointer-events:none}.toolbar-background,::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background,var(--ion-color-step-50,#fff));--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:4px;--padding-bottom:4px;--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){--min-height:auto}::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}\"; },\n enumerable: true,\n configurable: true\n });\n return Toolbar;\n}());\nexport { App as ion_app, Buttons as ion_buttons, Content as ion_content, Footer as ion_footer, Header as ion_header, RouterOutlet as ion_router_outlet, ToolbarTitle as ion_title, Toolbar as ion_toolbar };\n"],"sourceRoot":""}