{"version":3,"sources":["webpack:///./node_modules/@ionic/core/dist/esm/legacy/ion-tab-bar_2-ios.entry.js"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA8H;AAC5E;AACY;AAC9D;AACA,iBAAiB,aAAa;AAC9B;AACA;AACA;AACA,QAAQ,4DAAgB;AACxB;AACA;AACA;AACA;AACA;AACA,gCAAgC,4DAAW;AAC3C;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA,gCAAgC,sCAAsC,EAAE;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,4DAAU;AAC7B;AACA;AACA;AACA,mCAAmC,EAAE,4DAAkB,iBAAiB;AACxE;AACA;AACA;AACA,gBAAgB,4DAAC;AACjB;AACA;AACA,0BAA0B,QAAQ,4DAAU,OAAO,EAAE;AACrD;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL,2CAA2C,QAAQ,4DAAC,CAAC,oDAAI,4CAA4C;AACrG;AACA,0BAA0B,eAAe,uCAAuC,yCAAyC,oBAAoB,aAAa,sBAAsB,mBAAmB,qBAAqB,uBAAuB,WAAW,6CAA6C,yBAAyB,6BAA6B,mBAAmB,kBAAkB,eAAe,yBAAyB,sBAAsB,qBAAqB,iBAAiB,WAAW,yCAAyC,iCAAiC,6FAA6F,MAAM,mBAAmB,oBAAoB,gDAAgD,+CAA+C,+CAA+C,+CAA+C,4CAA4C,4CAA4C,2CAA2C,2CAA2C,gCAAgC,8DAA8D,6CAA6C,iCAAiC,0HAA0H,qCAAqC,sDAAsD,uBAAuB,kBAAkB,iBAAiB,aAAa,4BAA4B,uBAAuB,uBAAuB,MAAM,4EAA4E,mEAAmE,wHAAwH,mEAAmE,qFAAqF,YAAY,4BAA4B,mEAAmE,kDAAkD,0CAA0C,sCAAsC,8CAA8C,kEAAkE,gEAAgE,EAAE,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.js","sourcesContent":["import { r as registerInstance, d as createEvent, c as getIonMode, h, e as getElement, H as Host } from './chunk-09ec7fc0.js';\nimport { b as config } from './chunk-1074393c.js';\nimport { c as createColorClasses } from './chunk-ba834eff.js';\n/**\n * @virtualProp {\"ios\" | \"md\"} mode - The mode determines which platform styles to use.\n */\nvar TabBar = /** @class */ (function () {\n function TabBar(hostRef) {\n registerInstance(this, hostRef);\n this.keyboardVisible = false;\n /**\n * If `true`, the tab bar will be translucent.\n */\n this.translucent = false;\n this.ionTabBarChanged = createEvent(this, \"ionTabBarChanged\", 7);\n }\n TabBar.prototype.selectedTabChanged = function () {\n if (this.selectedTab !== undefined) {\n this.ionTabBarChanged.emit({\n tab: this.selectedTab\n });\n }\n };\n TabBar.prototype.onKeyboardWillHide = function () {\n var _this = this;\n setTimeout(function () { return _this.keyboardVisible = false; }, 50);\n };\n TabBar.prototype.onKeyboardWillShow = function () {\n if (this.el.getAttribute('slot') !== 'top') {\n this.keyboardVisible = true;\n }\n };\n TabBar.prototype.componentWillLoad = function () {\n this.selectedTabChanged();\n };\n TabBar.prototype.hostData = function () {\n var _a;\n var _b = this, color = _b.color, translucent = _b.translucent, keyboardVisible = _b.keyboardVisible;\n var mode = getIonMode(this);\n return {\n 'role': 'tablist',\n 'aria-hidden': keyboardVisible ? 'true' : null,\n class: Object.assign({}, createColorClasses(color), (_a = {}, _a[mode] = true, _a['tab-bar-translucent'] = translucent, _a['tab-bar-hidden'] = keyboardVisible, _a))\n };\n };\n TabBar.prototype.__stencil_render = function () {\n return (h(\"slot\", null));\n };\n Object.defineProperty(TabBar.prototype, \"el\", {\n get: function () { return getElement(this); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(TabBar, \"watchers\", {\n get: function () {\n return {\n \"selectedTab\": [\"selectedTabChanged\"]\n };\n },\n enumerable: true,\n configurable: true\n });\n TabBar.prototype.render = function () { return h(Host, this.hostData(), this.__stencil_render()); };\n Object.defineProperty(TabBar, \"style\", {\n get: function () { return \":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),.7);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-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: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-450,#8c8c8c));--color-selected:var(--ion-tab-bar-color-activated,var(--ion-color-primary,#3880ff));height:50px}: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),.8)}:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:rgba(var(--ion-background-color-rgb,255,255,255),.6)}\"; },\n enumerable: true,\n configurable: true\n });\n return TabBar;\n}());\n/**\n * @virtualProp {\"ios\" | \"md\"} mode - The mode determines which platform styles to use.\n */\nvar TabButton = /** @class */ (function () {\n function TabButton(hostRef) {\n var _this = this;\n registerInstance(this, hostRef);\n /**\n * If `true`, the user cannot interact with the tab button.\n */\n this.disabled = false;\n /**\n * The selected tab component\n */\n this.selected = false;\n this.onKeyUp = function (ev) {\n if (ev.key === 'Enter' || ev.key === ' ') {\n _this.selectTab(ev);\n }\n };\n this.onClick = function (ev) {\n _this.selectTab(ev);\n };\n this.ionTabButtonClick = createEvent(this, \"ionTabButtonClick\", 7);\n }\n TabButton.prototype.onTabBarChanged = function (ev) {\n this.selected = this.tab === ev.detail.tab;\n };\n TabButton.prototype.componentWillLoad = function () {\n if (this.layout === undefined) {\n this.layout = config.get('tabButtonLayout', 'icon-top');\n }\n };\n TabButton.prototype.selectTab = function (ev) {\n if (this.tab !== undefined) {\n if (!this.disabled) {\n this.ionTabButtonClick.emit({\n tab: this.tab,\n href: this.href,\n selected: this.selected\n });\n }\n ev.preventDefault();\n }\n };\n Object.defineProperty(TabButton.prototype, \"hasLabel\", {\n get: function () {\n return !!this.el.querySelector('ion-label');\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(TabButton.prototype, \"hasIcon\", {\n get: function () {\n return !!this.el.querySelector('ion-icon');\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(TabButton.prototype, \"tabIndex\", {\n get: function () {\n if (this.disabled) {\n return -1;\n }\n var hasTabIndex = this.el.hasAttribute('tabindex');\n if (hasTabIndex) {\n return this.el.getAttribute('tabindex');\n }\n return 0;\n },\n enumerable: true,\n configurable: true\n });\n TabButton.prototype.render = function () {\n var _a;\n var _b = this, disabled = _b.disabled, hasIcon = _b.hasIcon, hasLabel = _b.hasLabel, tabIndex = _b.tabIndex, href = _b.href, rel = _b.rel, target = _b.target, layout = _b.layout, selected = _b.selected, tab = _b.tab;\n var mode = getIonMode(this);\n var attrs = {\n download: this.download,\n href: href,\n rel: rel,\n target: target\n };\n return (h(Host, { onClick: this.onClick, onKeyup: this.onKeyUp, role: \"tab\", tabindex: tabIndex, \"aria-selected\": selected ? 'true' : null, id: tab !== undefined ? \"tab-button-\" + tab : null, class: (_a = {},\n _a[mode] = true,\n _a['tab-selected'] = selected,\n _a['tab-disabled'] = disabled,\n _a['tab-has-label'] = hasLabel,\n _a['tab-has-icon'] = hasIcon,\n _a['tab-has-label-only'] = hasLabel && !hasIcon,\n _a['tab-has-icon-only'] = hasIcon && !hasLabel,\n _a[\"tab-layout-\" + layout] = true,\n _a['ion-activatable'] = true,\n _a['ion-selectable'] = true,\n _a['ion-focusable'] = true,\n _a) }, h(\"a\", Object.assign({}, attrs, { tabIndex: -1 }), h(\"slot\", null), mode === 'md' && h(\"ion-ripple-effect\", { type: \"unbounded\" }))));\n };\n Object.defineProperty(TabButton.prototype, \"el\", {\n get: function () { return getElement(this); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(TabButton, \"style\", {\n get: function () { return \":host{--ripple-color:var(--color-selected);-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;background:var(--background);color:var(--color)}:host,a{height:100%;outline:none}a{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-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%;border:0;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){a{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)}}:host(.ion-focused){background:var(--background-focused)}\\@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:.4}::slotted(ion-icon),::slotted(ion-label){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),: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}: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}::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}}:host-context([dir=rtl]) ::slotted(ion-badge),[dir=rtl] ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 6px)}::slotted(ion-icon){margin-top:4px;font-size:30px}::slotted(ion-icon:before){vertical-align:top}::slotted(ion-label){margin-top:0;margin-bottom:1px;min-height:11px}:host(.tab-layout-icon-end) ::slotted(ion-label),:host(.tab-layout-icon-hide) ::slotted(ion-label),:host(.tab-layout-icon-start) ::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]).tab-layout-icon-bottom ::slotted(ion-badge),:host-context([dir=rtl]):host(.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-end) ::slotted(ion-badge),:host(.tab-layout-icon-start) ::slotted(ion-badge){left:calc(50% + 35px);top:10px}:host-context([dir=rtl]).tab-layout-icon-end ::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]):host(.tab-layout-icon-start) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 35px)}:host(.tab-has-label-only) ::slotted(ion-badge),:host(.tab-layout-icon-hide) ::slotted(ion-badge){left:calc(50% + 30px);top:10px}:host-context([dir=rtl]).tab-has-label-only ::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]):host(.tab-layout-icon-hide) ::slotted(ion-badge){left:unset;right:unset;right:calc(50% + 30px)}:host(.tab-has-icon-only) ::slotted(ion-badge),:host(.tab-layout-label-hide) ::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}\"; },\n enumerable: true,\n configurable: true\n });\n return TabButton;\n}());\nexport { TabBar as ion_tab_bar, TabButton as ion_tab_button };\n"],"sourceRoot":""}