1 |
- {"ast":null,"code":"import _asyncToGenerator from \"F:/workspace/202226701027/huinongbao-app/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\";\n/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';\nimport { E as ENABLE_HTML_CONTENT_DEFAULT, a as sanitizeDOMString } from './config.js';\nimport { r as raf } from './helpers.js';\nimport { c as createLockController } from './lock-controller.js';\nimport { d as createDelegateController, e as createTriggerController, B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod } from './overlays.js';\nimport { g as getClassMap } from './theme.js';\nimport { c as config, b as getIonMode } from './ionic-global.js';\nimport { c as createAnimation } from './animation.js';\nimport { d as defineCustomElement$3 } from './backdrop.js';\nimport { d as defineCustomElement$2 } from './spinner.js';\n\n/**\n * iOS Loading Enter Animation\n */\nconst iosEnterAnimation = baseEl => {\n const baseAnimation = createAnimation();\n const backdropAnimation = createAnimation();\n const wrapperAnimation = createAnimation();\n backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 0.01, 'var(--backdrop-opacity)').beforeStyles({\n 'pointer-events': 'none'\n }).afterClearStyles(['pointer-events']);\n wrapperAnimation.addElement(baseEl.querySelector('.loading-wrapper')).keyframes([{\n offset: 0,\n opacity: 0.01,\n transform: 'scale(1.1)'\n }, {\n offset: 1,\n opacity: 1,\n transform: 'scale(1)'\n }]);\n return baseAnimation.addElement(baseEl).easing('ease-in-out').duration(200).addAnimation([backdropAnimation, wrapperAnimation]);\n};\n\n/**\n * iOS Loading Leave Animation\n */\nconst iosLeaveAnimation = baseEl => {\n const baseAnimation = createAnimation();\n const backdropAnimation = createAnimation();\n const wrapperAnimation = createAnimation();\n backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 'var(--backdrop-opacity)', 0);\n wrapperAnimation.addElement(baseEl.querySelector('.loading-wrapper')).keyframes([{\n offset: 0,\n opacity: 0.99,\n transform: 'scale(1)'\n }, {\n offset: 1,\n opacity: 0,\n transform: 'scale(0.9)'\n }]);\n return baseAnimation.addElement(baseEl).easing('ease-in-out').duration(200).addAnimation([backdropAnimation, wrapperAnimation]);\n};\n\n/**\n * Md Loading Enter Animation\n */\nconst mdEnterAnimation = baseEl => {\n const baseAnimation = createAnimation();\n const backdropAnimation = createAnimation();\n const wrapperAnimation = createAnimation();\n backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 0.01, 'var(--backdrop-opacity)').beforeStyles({\n 'pointer-events': 'none'\n }).afterClearStyles(['pointer-events']);\n wrapperAnimation.addElement(baseEl.querySelector('.loading-wrapper')).keyframes([{\n offset: 0,\n opacity: 0.01,\n transform: 'scale(1.1)'\n }, {\n offset: 1,\n opacity: 1,\n transform: 'scale(1)'\n }]);\n return baseAnimation.addElement(baseEl).easing('ease-in-out').duration(200).addAnimation([backdropAnimation, wrapperAnimation]);\n};\n\n/**\n * Md Loading Leave Animation\n */\nconst mdLeaveAnimation = baseEl => {\n const baseAnimation = createAnimation();\n const backdropAnimation = createAnimation();\n const wrapperAnimation = createAnimation();\n backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 'var(--backdrop-opacity)', 0);\n wrapperAnimation.addElement(baseEl.querySelector('.loading-wrapper')).keyframes([{\n offset: 0,\n opacity: 0.99,\n transform: 'scale(1)'\n }, {\n offset: 1,\n opacity: 0,\n transform: 'scale(0.9)'\n }]);\n return baseAnimation.addElement(baseEl).easing('ease-in-out').duration(200).addAnimation([backdropAnimation, wrapperAnimation]);\n};\nconst loadingIosCss = \".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, var(--ion-background-color-step-100, #f9f9f9)));--max-width:270px;--max-height:90%;--spinner-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));--backdrop-opacity:var(--ion-backdrop-opacity, 0.3);color:var(--ion-text-color, #000);font-size:0.875rem}.loading-wrapper.sc-ion-loading-ios{border-radius:8px;-webkit-padding-start:34px;padding-inline-start:34px;-webkit-padding-end:34px;padding-inline-end:34px;padding-top:24px;padding-bottom:24px}@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{-webkit-margin-start:16px;margin-inline-start:16px}\";\nconst IonLoadingIosStyle0 = loadingIosCss;\nconst loadingMdCss = \".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, var(--ion-background-color-step-50, #f2f2f2));--max-width:280px;--max-height:90%;--spinner-color:var(--ion-color-primary, #0054e9);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));font-size:0.875rem}.loading-wrapper.sc-ion-loading-md{border-radius:2px;-webkit-padding-start:24px;padding-inline-start:24px;-webkit-padding-end:24px;padding-inline-end: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)}.loading-spinner.sc-ion-loading-md+.loading-content.sc-ion-loading-md{-webkit-margin-start:16px;margin-inline-start:16px}\";\nconst IonLoadingMdStyle0 = loadingMdCss;\nconst Loading = /*@__PURE__*/proxyCustomElement(class Loading extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n this.didPresent = createEvent(this, \"ionLoadingDidPresent\", 7);\n this.willPresent = createEvent(this, \"ionLoadingWillPresent\", 7);\n this.willDismiss = createEvent(this, \"ionLoadingWillDismiss\", 7);\n this.didDismiss = createEvent(this, \"ionLoadingDidDismiss\", 7);\n this.didPresentShorthand = createEvent(this, \"didPresent\", 7);\n this.willPresentShorthand = createEvent(this, \"willPresent\", 7);\n this.willDismissShorthand = createEvent(this, \"willDismiss\", 7);\n this.didDismissShorthand = createEvent(this, \"didDismiss\", 7);\n this.delegateController = createDelegateController(this);\n this.lockController = createLockController();\n this.triggerController = createTriggerController();\n this.customHTMLEnabled = config.get('innerHTMLTemplatesEnabled', ENABLE_HTML_CONTENT_DEFAULT);\n this.presented = false;\n this.onBackdropTap = () => {\n this.dismiss(undefined, BACKDROP);\n };\n this.overlayIndex = undefined;\n this.delegate = undefined;\n this.hasController = false;\n this.keyboardClose = true;\n this.enterAnimation = undefined;\n this.leaveAnimation = undefined;\n this.message = undefined;\n this.cssClass = undefined;\n this.duration = 0;\n this.backdropDismiss = false;\n this.showBackdrop = true;\n this.spinner = undefined;\n this.translucent = false;\n this.animated = true;\n this.htmlAttributes = undefined;\n this.isOpen = false;\n this.trigger = undefined;\n }\n onIsOpenChange(newValue, oldValue) {\n if (newValue === true && oldValue === false) {\n this.present();\n } else if (newValue === false && oldValue === true) {\n this.dismiss();\n }\n }\n triggerChanged() {\n const {\n trigger,\n el,\n triggerController\n } = this;\n if (trigger) {\n triggerController.addClickListener(el, trigger);\n }\n }\n connectedCallback() {\n prepareOverlay(this.el);\n this.triggerChanged();\n }\n componentWillLoad() {\n var _a;\n if (this.spinner === undefined) {\n const mode = getIonMode(this);\n this.spinner = config.get('loadingSpinner', config.get('spinner', mode === 'ios' ? 'lines' : 'crescent'));\n }\n if (!((_a = this.htmlAttributes) === null || _a === void 0 ? void 0 : _a.id)) {\n setOverlayId(this.el);\n }\n }\n componentDidLoad() {\n /**\n * If loading indicator was rendered with isOpen=\"true\"\n * then we should open loading indicator immediately.\n */\n if (this.isOpen === true) {\n raf(() => this.present());\n }\n /**\n * When binding values in frameworks such as Angular\n * it is possible for the value to be set after the Web Component\n * initializes but before the value watcher is set up in Stencil.\n * As a result, the watcher callback may not be fired.\n * We work around this by manually calling the watcher\n * callback when the component has loaded and the watcher\n * is configured.\n */\n this.triggerChanged();\n }\n disconnectedCallback() {\n this.triggerController.removeClickListener();\n }\n /**\n * Present the loading overlay after it has been created.\n */\n present() {\n var _this = this;\n return _asyncToGenerator(function* () {\n const unlock = yield _this.lockController.lock();\n yield _this.delegateController.attachViewToDom();\n yield present(_this, 'loadingEnter', iosEnterAnimation, mdEnterAnimation);\n if (_this.duration > 0) {\n _this.durationTimeout = setTimeout(() => _this.dismiss(), _this.duration + 10);\n }\n unlock();\n })();\n }\n /**\n * Dismiss the loading overlay after it has been presented.\n *\n * @param data Any data to emit in the dismiss events.\n * @param role The role of the element that is dismissing the loading.\n * This can be useful in a button handler for determining which button was\n * clicked to dismiss the loading.\n * Some examples include: ``\"cancel\"`, `\"destructive\"`, \"selected\"`, and `\"backdrop\"`.\n *\n * This is a no-op if the overlay has not been presented yet. If you want\n * to remove an overlay from the DOM that was never presented, use the\n * [remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method.\n */\n dismiss(data, role) {\n var _this2 = this;\n return _asyncToGenerator(function* () {\n const unlock = yield _this2.lockController.lock();\n if (_this2.durationTimeout) {\n clearTimeout(_this2.durationTimeout);\n }\n const dismissed = yield dismiss(_this2, data, role, 'loadingLeave', iosLeaveAnimation, mdLeaveAnimation);\n if (dismissed) {\n _this2.delegateController.removeViewFromDom();\n }\n unlock();\n return dismissed;\n })();\n }\n /**\n * Returns a promise that resolves when the loading did dismiss.\n */\n onDidDismiss() {\n return eventMethod(this.el, 'ionLoadingDidDismiss');\n }\n /**\n * Returns a promise that resolves when the loading will dismiss.\n */\n onWillDismiss() {\n return eventMethod(this.el, 'ionLoadingWillDismiss');\n }\n renderLoadingMessage(msgId) {\n const {\n customHTMLEnabled,\n message\n } = this;\n if (customHTMLEnabled) {\n return h(\"div\", {\n class: \"loading-content\",\n id: msgId,\n innerHTML: sanitizeDOMString(message)\n });\n }\n return h(\"div\", {\n class: \"loading-content\",\n id: msgId\n }, message);\n }\n render() {\n const {\n message,\n spinner,\n htmlAttributes,\n overlayIndex\n } = this;\n const mode = getIonMode(this);\n const msgId = `loading-${overlayIndex}-msg`;\n /**\n * If the message is defined, use that as the label.\n * Otherwise, don't set aria-labelledby.\n */\n const ariaLabelledBy = message !== undefined ? msgId : null;\n return h(Host, Object.assign({\n key: 'd97f536b7f443ea19a2bbf2dcbc7f546b8e0a092',\n role: \"dialog\",\n \"aria-modal\": \"true\",\n \"aria-labelledby\": ariaLabelledBy,\n tabindex: \"-1\"\n }, htmlAttributes, {\n style: {\n zIndex: `${40000 + this.overlayIndex}`\n },\n onIonBackdropTap: this.onBackdropTap,\n class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), {\n [mode]: true,\n 'overlay-hidden': true,\n 'loading-translucent': this.translucent\n })\n }), h(\"ion-backdrop\", {\n key: '6cd39bd7912fd080ab59d041644054c96d238ea9',\n visible: this.showBackdrop,\n tappable: this.backdropDismiss\n }), h(\"div\", {\n key: 'c14ca5a9308844f11bcb010257e15208a75b39bc',\n tabindex: \"0\",\n \"aria-hidden\": \"true\"\n }), h(\"div\", {\n key: '118bceefa8e1cf8b225a858f224e6d919cf03c26',\n class: \"loading-wrapper ion-overlay-wrapper\"\n }, spinner && h(\"div\", {\n key: '490d6e8ae4433835fe273162d7b90deab944fb39',\n class: \"loading-spinner\"\n }, h(\"ion-spinner\", {\n key: 'c5cf6549c43df4cb23814b3e62ec4d9e7ea2b64f',\n name: spinner,\n \"aria-hidden\": \"true\"\n })), message !== undefined && this.renderLoadingMessage(msgId)), h(\"div\", {\n key: '2b888362122d3b66b0492d53b0c21bd6a2a97501',\n tabindex: \"0\",\n \"aria-hidden\": \"true\"\n }));\n }\n get el() {\n return this;\n }\n static get watchers() {\n return {\n \"isOpen\": [\"onIsOpenChange\"],\n \"trigger\": [\"triggerChanged\"]\n };\n }\n static get style() {\n return {\n ios: IonLoadingIosStyle0,\n md: IonLoadingMdStyle0\n };\n }\n}, [34, \"ion-loading\", {\n \"overlayIndex\": [2, \"overlay-index\"],\n \"delegate\": [16],\n \"hasController\": [4, \"has-controller\"],\n \"keyboardClose\": [4, \"keyboard-close\"],\n \"enterAnimation\": [16],\n \"leaveAnimation\": [16],\n \"message\": [1],\n \"cssClass\": [1, \"css-class\"],\n \"duration\": [2],\n \"backdropDismiss\": [4, \"backdrop-dismiss\"],\n \"showBackdrop\": [4, \"show-backdrop\"],\n \"spinner\": [1025],\n \"translucent\": [4],\n \"animated\": [4],\n \"htmlAttributes\": [16],\n \"isOpen\": [4, \"is-open\"],\n \"trigger\": [1],\n \"present\": [64],\n \"dismiss\": [64],\n \"onDidDismiss\": [64],\n \"onWillDismiss\": [64]\n}, undefined, {\n \"isOpen\": [\"onIsOpenChange\"],\n \"trigger\": [\"triggerChanged\"]\n}]);\nfunction defineCustomElement$1() {\n if (typeof customElements === \"undefined\") {\n return;\n }\n const components = [\"ion-loading\", \"ion-backdrop\", \"ion-spinner\"];\n components.forEach(tagName => {\n switch (tagName) {\n case \"ion-loading\":\n if (!customElements.get(tagName)) {\n customElements.define(tagName, Loading);\n }\n break;\n case \"ion-backdrop\":\n if (!customElements.get(tagName)) {\n defineCustomElement$3();\n }\n break;\n case \"ion-spinner\":\n if (!customElements.get(tagName)) {\n defineCustomElement$2();\n }\n break;\n }\n });\n}\nconst IonLoading = Loading;\nconst defineCustomElement = defineCustomElement$1;\nexport { IonLoading, defineCustomElement };","map":{"version":3,"names":["proxyCustomElement","HTMLElement","createEvent","h","Host","E","ENABLE_HTML_CONTENT_DEFAULT","a","sanitizeDOMString","r","raf","c","createLockController","d","createDelegateController","e","createTriggerController","B","BACKDROP","j","prepareOverlay","k","setOverlayId","f","present","g","dismiss","eventMethod","getClassMap","config","b","getIonMode","createAnimation","defineCustomElement$3","defineCustomElement$2","iosEnterAnimation","baseEl","baseAnimation","backdropAnimation","wrapperAnimation","addElement","querySelector","fromTo","beforeStyles","afterClearStyles","keyframes","offset","opacity","transform","easing","duration","addAnimation","iosLeaveAnimation","mdEnterAnimation","mdLeaveAnimation","loadingIosCss","IonLoadingIosStyle0","loadingMdCss","IonLoadingMdStyle0","Loading","constructor","__registerHost","didPresent","willPresent","willDismiss","didDismiss","didPresentShorthand","willPresentShorthand","willDismissShorthand","didDismissShorthand","delegateController","lockController","triggerController","customHTMLEnabled","get","presented","onBackdropTap","undefined","overlayIndex","delegate","hasController","keyboardClose","enterAnimation","leaveAnimation","message","cssClass","backdropDismiss","showBackdrop","spinner","translucent","animated","htmlAttributes","isOpen","trigger","onIsOpenChange","newValue","oldValue","triggerChanged","el","addClickListener","connectedCallback","componentWillLoad","_a","mode","id","componentDidLoad","disconnectedCallback","removeClickListener","_this","_asyncToGenerator","unlock","lock","attachViewToDom","durationTimeout","setTimeout","data","role","_this2","clearTimeout","dismissed","removeViewFromDom","onDidDismiss","onWillDismiss","renderLoadingMessage","msgId","class","innerHTML","render","ariaLabelledBy","Object","assign","key","tabindex","style","zIndex","onIonBackdropTap","visible","tappable","name","watchers","ios","md","defineCustomElement$1","customElements","components","forEach","tagName","define","IonLoading","defineCustomElement"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/@ionic/core/components/ion-loading.js"],"sourcesContent":["/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';\nimport { E as ENABLE_HTML_CONTENT_DEFAULT, a as sanitizeDOMString } from './config.js';\nimport { r as raf } from './helpers.js';\nimport { c as createLockController } from './lock-controller.js';\nimport { d as createDelegateController, e as createTriggerController, B as BACKDROP, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod } from './overlays.js';\nimport { g as getClassMap } from './theme.js';\nimport { c as config, b as getIonMode } from './ionic-global.js';\nimport { c as createAnimation } from './animation.js';\nimport { d as defineCustomElement$3 } from './backdrop.js';\nimport { d as defineCustomElement$2 } from './spinner.js';\n\n/**\n * iOS Loading Enter Animation\n */\nconst iosEnterAnimation = (baseEl) => {\n const baseAnimation = createAnimation();\n const backdropAnimation = createAnimation();\n const wrapperAnimation = createAnimation();\n backdropAnimation\n .addElement(baseEl.querySelector('ion-backdrop'))\n .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')\n .beforeStyles({\n 'pointer-events': 'none',\n })\n .afterClearStyles(['pointer-events']);\n wrapperAnimation.addElement(baseEl.querySelector('.loading-wrapper')).keyframes([\n { offset: 0, opacity: 0.01, transform: 'scale(1.1)' },\n { offset: 1, opacity: 1, transform: 'scale(1)' },\n ]);\n return baseAnimation\n .addElement(baseEl)\n .easing('ease-in-out')\n .duration(200)\n .addAnimation([backdropAnimation, wrapperAnimation]);\n};\n\n/**\n * iOS Loading Leave Animation\n */\nconst iosLeaveAnimation = (baseEl) => {\n const baseAnimation = createAnimation();\n const backdropAnimation = createAnimation();\n const wrapperAnimation = createAnimation();\n backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 'var(--backdrop-opacity)', 0);\n wrapperAnimation.addElement(baseEl.querySelector('.loading-wrapper')).keyframes([\n { offset: 0, opacity: 0.99, transform: 'scale(1)' },\n { offset: 1, opacity: 0, transform: 'scale(0.9)' },\n ]);\n return baseAnimation\n .addElement(baseEl)\n .easing('ease-in-out')\n .duration(200)\n .addAnimation([backdropAnimation, wrapperAnimation]);\n};\n\n/**\n * Md Loading Enter Animation\n */\nconst mdEnterAnimation = (baseEl) => {\n const baseAnimation = createAnimation();\n const backdropAnimation = createAnimation();\n const wrapperAnimation = createAnimation();\n backdropAnimation\n .addElement(baseEl.querySelector('ion-backdrop'))\n .fromTo('opacity', 0.01, 'var(--backdrop-opacity)')\n .beforeStyles({\n 'pointer-events': 'none',\n })\n .afterClearStyles(['pointer-events']);\n wrapperAnimation.addElement(baseEl.querySelector('.loading-wrapper')).keyframes([\n { offset: 0, opacity: 0.01, transform: 'scale(1.1)' },\n { offset: 1, opacity: 1, transform: 'scale(1)' },\n ]);\n return baseAnimation\n .addElement(baseEl)\n .easing('ease-in-out')\n .duration(200)\n .addAnimation([backdropAnimation, wrapperAnimation]);\n};\n\n/**\n * Md Loading Leave Animation\n */\nconst mdLeaveAnimation = (baseEl) => {\n const baseAnimation = createAnimation();\n const backdropAnimation = createAnimation();\n const wrapperAnimation = createAnimation();\n backdropAnimation.addElement(baseEl.querySelector('ion-backdrop')).fromTo('opacity', 'var(--backdrop-opacity)', 0);\n wrapperAnimation.addElement(baseEl.querySelector('.loading-wrapper')).keyframes([\n { offset: 0, opacity: 0.99, transform: 'scale(1)' },\n { offset: 1, opacity: 0, transform: 'scale(0.9)' },\n ]);\n return baseAnimation\n .addElement(baseEl)\n .easing('ease-in-out')\n .duration(200)\n .addAnimation([backdropAnimation, wrapperAnimation]);\n};\n\nconst loadingIosCss = \".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, var(--ion-background-color-step-100, #f9f9f9)));--max-width:270px;--max-height:90%;--spinner-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));--backdrop-opacity:var(--ion-backdrop-opacity, 0.3);color:var(--ion-text-color, #000);font-size:0.875rem}.loading-wrapper.sc-ion-loading-ios{border-radius:8px;-webkit-padding-start:34px;padding-inline-start:34px;-webkit-padding-end:34px;padding-inline-end:34px;padding-top:24px;padding-bottom:24px}@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{-webkit-margin-start:16px;margin-inline-start:16px}\";\nconst IonLoadingIosStyle0 = loadingIosCss;\n\nconst loadingMdCss = \".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, var(--ion-background-color-step-50, #f2f2f2));--max-width:280px;--max-height:90%;--spinner-color:var(--ion-color-primary, #0054e9);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));font-size:0.875rem}.loading-wrapper.sc-ion-loading-md{border-radius:2px;-webkit-padding-start:24px;padding-inline-start:24px;-webkit-padding-end:24px;padding-inline-end: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)}.loading-spinner.sc-ion-loading-md+.loading-content.sc-ion-loading-md{-webkit-margin-start:16px;margin-inline-start:16px}\";\nconst IonLoadingMdStyle0 = loadingMdCss;\n\nconst Loading = /*@__PURE__*/ proxyCustomElement(class Loading extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n this.didPresent = createEvent(this, \"ionLoadingDidPresent\", 7);\n this.willPresent = createEvent(this, \"ionLoadingWillPresent\", 7);\n this.willDismiss = createEvent(this, \"ionLoadingWillDismiss\", 7);\n this.didDismiss = createEvent(this, \"ionLoadingDidDismiss\", 7);\n this.didPresentShorthand = createEvent(this, \"didPresent\", 7);\n this.willPresentShorthand = createEvent(this, \"willPresent\", 7);\n this.willDismissShorthand = createEvent(this, \"willDismiss\", 7);\n this.didDismissShorthand = createEvent(this, \"didDismiss\", 7);\n this.delegateController = createDelegateController(this);\n this.lockController = createLockController();\n this.triggerController = createTriggerController();\n this.customHTMLEnabled = config.get('innerHTMLTemplatesEnabled', ENABLE_HTML_CONTENT_DEFAULT);\n this.presented = false;\n this.onBackdropTap = () => {\n this.dismiss(undefined, BACKDROP);\n };\n this.overlayIndex = undefined;\n this.delegate = undefined;\n this.hasController = false;\n this.keyboardClose = true;\n this.enterAnimation = undefined;\n this.leaveAnimation = undefined;\n this.message = undefined;\n this.cssClass = undefined;\n this.duration = 0;\n this.backdropDismiss = false;\n this.showBackdrop = true;\n this.spinner = undefined;\n this.translucent = false;\n this.animated = true;\n this.htmlAttributes = undefined;\n this.isOpen = false;\n this.trigger = undefined;\n }\n onIsOpenChange(newValue, oldValue) {\n if (newValue === true && oldValue === false) {\n this.present();\n }\n else if (newValue === false && oldValue === true) {\n this.dismiss();\n }\n }\n triggerChanged() {\n const { trigger, el, triggerController } = this;\n if (trigger) {\n triggerController.addClickListener(el, trigger);\n }\n }\n connectedCallback() {\n prepareOverlay(this.el);\n this.triggerChanged();\n }\n componentWillLoad() {\n var _a;\n if (this.spinner === undefined) {\n const mode = getIonMode(this);\n this.spinner = config.get('loadingSpinner', config.get('spinner', mode === 'ios' ? 'lines' : 'crescent'));\n }\n if (!((_a = this.htmlAttributes) === null || _a === void 0 ? void 0 : _a.id)) {\n setOverlayId(this.el);\n }\n }\n componentDidLoad() {\n /**\n * If loading indicator was rendered with isOpen=\"true\"\n * then we should open loading indicator immediately.\n */\n if (this.isOpen === true) {\n raf(() => this.present());\n }\n /**\n * When binding values in frameworks such as Angular\n * it is possible for the value to be set after the Web Component\n * initializes but before the value watcher is set up in Stencil.\n * As a result, the watcher callback may not be fired.\n * We work around this by manually calling the watcher\n * callback when the component has loaded and the watcher\n * is configured.\n */\n this.triggerChanged();\n }\n disconnectedCallback() {\n this.triggerController.removeClickListener();\n }\n /**\n * Present the loading overlay after it has been created.\n */\n async present() {\n const unlock = await this.lockController.lock();\n await this.delegateController.attachViewToDom();\n await present(this, 'loadingEnter', iosEnterAnimation, mdEnterAnimation);\n if (this.duration > 0) {\n this.durationTimeout = setTimeout(() => this.dismiss(), this.duration + 10);\n }\n unlock();\n }\n /**\n * Dismiss the loading overlay after it has been presented.\n *\n * @param data Any data to emit in the dismiss events.\n * @param role The role of the element that is dismissing the loading.\n * This can be useful in a button handler for determining which button was\n * clicked to dismiss the loading.\n * Some examples include: ``\"cancel\"`, `\"destructive\"`, \"selected\"`, and `\"backdrop\"`.\n *\n * This is a no-op if the overlay has not been presented yet. If you want\n * to remove an overlay from the DOM that was never presented, use the\n * [remove](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove) method.\n */\n async dismiss(data, role) {\n const unlock = await this.lockController.lock();\n if (this.durationTimeout) {\n clearTimeout(this.durationTimeout);\n }\n const dismissed = await dismiss(this, data, role, 'loadingLeave', iosLeaveAnimation, mdLeaveAnimation);\n if (dismissed) {\n this.delegateController.removeViewFromDom();\n }\n unlock();\n return dismissed;\n }\n /**\n * Returns a promise that resolves when the loading did dismiss.\n */\n onDidDismiss() {\n return eventMethod(this.el, 'ionLoadingDidDismiss');\n }\n /**\n * Returns a promise that resolves when the loading will dismiss.\n */\n onWillDismiss() {\n return eventMethod(this.el, 'ionLoadingWillDismiss');\n }\n renderLoadingMessage(msgId) {\n const { customHTMLEnabled, message } = this;\n if (customHTMLEnabled) {\n return h(\"div\", { class: \"loading-content\", id: msgId, innerHTML: sanitizeDOMString(message) });\n }\n return (h(\"div\", { class: \"loading-content\", id: msgId }, message));\n }\n render() {\n const { message, spinner, htmlAttributes, overlayIndex } = this;\n const mode = getIonMode(this);\n const msgId = `loading-${overlayIndex}-msg`;\n /**\n * If the message is defined, use that as the label.\n * Otherwise, don't set aria-labelledby.\n */\n const ariaLabelledBy = message !== undefined ? msgId : null;\n return (h(Host, Object.assign({ key: 'd97f536b7f443ea19a2bbf2dcbc7f546b8e0a092', role: \"dialog\", \"aria-modal\": \"true\", \"aria-labelledby\": ariaLabelledBy, tabindex: \"-1\" }, htmlAttributes, { style: {\n zIndex: `${40000 + this.overlayIndex}`,\n }, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), h(\"ion-backdrop\", { key: '6cd39bd7912fd080ab59d041644054c96d238ea9', visible: this.showBackdrop, tappable: this.backdropDismiss }), h(\"div\", { key: 'c14ca5a9308844f11bcb010257e15208a75b39bc', tabindex: \"0\", \"aria-hidden\": \"true\" }), h(\"div\", { key: '118bceefa8e1cf8b225a858f224e6d919cf03c26', class: \"loading-wrapper ion-overlay-wrapper\" }, spinner && (h(\"div\", { key: '490d6e8ae4433835fe273162d7b90deab944fb39', class: \"loading-spinner\" }, h(\"ion-spinner\", { key: 'c5cf6549c43df4cb23814b3e62ec4d9e7ea2b64f', name: spinner, \"aria-hidden\": \"true\" }))), message !== undefined && this.renderLoadingMessage(msgId)), h(\"div\", { key: '2b888362122d3b66b0492d53b0c21bd6a2a97501', tabindex: \"0\", \"aria-hidden\": \"true\" })));\n }\n get el() { return this; }\n static get watchers() { return {\n \"isOpen\": [\"onIsOpenChange\"],\n \"trigger\": [\"triggerChanged\"]\n }; }\n static get style() { return {\n ios: IonLoadingIosStyle0,\n md: IonLoadingMdStyle0\n }; }\n}, [34, \"ion-loading\", {\n \"overlayIndex\": [2, \"overlay-index\"],\n \"delegate\": [16],\n \"hasController\": [4, \"has-controller\"],\n \"keyboardClose\": [4, \"keyboard-close\"],\n \"enterAnimation\": [16],\n \"leaveAnimation\": [16],\n \"message\": [1],\n \"cssClass\": [1, \"css-class\"],\n \"duration\": [2],\n \"backdropDismiss\": [4, \"backdrop-dismiss\"],\n \"showBackdrop\": [4, \"show-backdrop\"],\n \"spinner\": [1025],\n \"translucent\": [4],\n \"animated\": [4],\n \"htmlAttributes\": [16],\n \"isOpen\": [4, \"is-open\"],\n \"trigger\": [1],\n \"present\": [64],\n \"dismiss\": [64],\n \"onDidDismiss\": [64],\n \"onWillDismiss\": [64]\n }, undefined, {\n \"isOpen\": [\"onIsOpenChange\"],\n \"trigger\": [\"triggerChanged\"]\n }]);\nfunction defineCustomElement$1() {\n if (typeof customElements === \"undefined\") {\n return;\n }\n const components = [\"ion-loading\", \"ion-backdrop\", \"ion-spinner\"];\n components.forEach(tagName => { switch (tagName) {\n case \"ion-loading\":\n if (!customElements.get(tagName)) {\n customElements.define(tagName, Loading);\n }\n break;\n case \"ion-backdrop\":\n if (!customElements.get(tagName)) {\n defineCustomElement$3();\n }\n break;\n case \"ion-spinner\":\n if (!customElements.get(tagName)) {\n defineCustomElement$2();\n }\n break;\n } });\n}\n\nconst IonLoading = Loading;\nconst defineCustomElement = defineCustomElement$1;\n\nexport { IonLoading, defineCustomElement };\n"],"mappings":";AAAA;AACA;AACA;AACA,SAASA,kBAAkB,EAAEC,WAAW,EAAEC,WAAW,EAAEC,CAAC,EAAEC,IAAI,QAAQ,+BAA+B;AACrG,SAASC,CAAC,IAAIC,2BAA2B,EAAEC,CAAC,IAAIC,iBAAiB,QAAQ,aAAa;AACtF,SAASC,CAAC,IAAIC,GAAG,QAAQ,cAAc;AACvC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