Files
WrenchBoardIonic2023/.angular/cache/14.2.0/babel-webpack/67d9b563f10d0e46f4d298aa07903723.json
T
CHIEFSOFT\ameye cea49e295a first commit
2023-05-12 22:30:08 -04:00

1 line
49 KiB
JSON

{"ast":null,"code":"/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { r as registerInstance, e as createEvent, h, H as Host, i as getElement } from './index-1a99aeb7.js';\nimport { m as chevronForwardOutline, n as ellipsisHorizontal } from './index-45ecc7ca.js';\nimport { b as getIonMode } from './ionic-global-04e268e7.js';\nimport { i as inheritAriaAttributes } from './helpers-4d272360.js';\nimport { o as openURL, c as createColorClasses, h as hostContext } from './theme-7670341c.js';\nconst breadcrumbIosCss = \":host{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-align:center;align-items:center;color:var(--color);font-size:16px;font-weight:400;line-height:1.5}.breadcrumb-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:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;outline:none;background:inherit}:host(.breadcrumb-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.breadcrumb-active){color:var(--color-active)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .breadcrumb-native{background:var(--background-focused)}@media (any-hover: hover){:host(.ion-activatable:hover){color:var(--color-hover)}:host(.ion-activatable.in-breadcrumbs-color:hover),:host(.ion-activatable.ion-color:hover){color:var(--ion-color-shade)}}.breadcrumb-separator{display:-ms-inline-flexbox;display:inline-flex}:host(.breadcrumb-collapsed) .breadcrumb-native{display:none}:host(.in-breadcrumbs-color),:host(.in-breadcrumbs-color.breadcrumb-active){color:var(--ion-color-base)}:host(.in-breadcrumbs-color) .breadcrumb-separator{color:var(--ion-color-base)}:host(.ion-color){color:var(--ion-color-base)}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumb-separator{color:rgba(var(--ion-color-contrast-rgb), 0.8)}:host(.in-toolbar-color.breadcrumb-active){color:var(--ion-color-contrast)}.breadcrumbs-collapsed-indicator{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:14px;margin-right:14px;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex:1 1 100%;flex:1 1 100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:32px;height:18px;border:0;outline:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.breadcrumbs-collapsed-indicator{margin-left:unset;margin-right:unset;-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:14px;margin-inline-end:14px}}.breadcrumbs-collapsed-indicator ion-icon{margin-top:1px;font-size:22px}:host{--color:var(--ion-color-step-850, #2d4665);--color-active:var(--ion-text-color, #03060b);--color-hover:var(--ion-text-color, #03060b);--color-focused:var(--color-active);--background-focused:var(--ion-color-step-50, rgba(233, 237, 243, 0.7))}:host(.breadcrumb-active){font-weight:600}.breadcrumb-native{border-radius:4px;padding-left:12px;padding-right:12px;padding-top:5px;padding-bottom:5px;border:1px solid transparent}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.breadcrumb-native{padding-left:unset;padding-right:unset;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px}}:host(.ion-focused) .breadcrumb-native{border-radius:8px}:host(.in-breadcrumbs-color.ion-focused) .breadcrumb-native,:host(.ion-color.ion-focused) .breadcrumb-native{background:rgba(var(--ion-color-base-rgb), 0.1);color:var(--ion-color-base)}:host(.ion-focused) ::slotted(ion-icon),:host(.in-breadcrumbs-color.ion-focused) ::slotted(ion-icon),:host(.ion-color.ion-focused) ::slotted(ion-icon){color:var(--ion-color-step-750, #445b78)}.breadcrumb-separator{color:var(--ion-color-step-550, #73849a)}::slotted(ion-icon){color:var(--ion-color-step-400, #92a0b3);font-size:18px}::slotted(ion-icon[slot=start]){margin-right:8px}@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:8px;margin-inline-end:8px}}::slotted(ion-icon[slot=end]){margin-left:8px}@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:8px;margin-inline-start:8px}}:host(.breadcrumb-active) ::slotted(ion-icon){color:var(--ion-color-step-850, #242d39)}.breadcrumbs-collapsed-indicator{border-radius:4px;background:var(--ion-color-step-100, #e9edf3);color:var(--ion-color-step-550, #73849a)}.breadcrumbs-collapsed-indicator:hover{opacity:0.45}.breadcrumbs-collapsed-indicator:focus{background:var(--ion-color-step-150, #d9e0ea)}\";\nconst breadcrumbMdCss = \":host{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-align:center;align-items:center;color:var(--color);font-size:16px;font-weight:400;line-height:1.5}.breadcrumb-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:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;outline:none;background:inherit}:host(.breadcrumb-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.breadcrumb-active){color:var(--color-active)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .breadcrumb-native{background:var(--background-focused)}@media (any-hover: hover){:host(.ion-activatable:hover){color:var(--color-hover)}:host(.ion-activatable.in-breadcrumbs-color:hover),:host(.ion-activatable.ion-color:hover){color:var(--ion-color-shade)}}.breadcrumb-separator{display:-ms-inline-flexbox;display:inline-flex}:host(.breadcrumb-collapsed) .breadcrumb-native{display:none}:host(.in-breadcrumbs-color),:host(.in-breadcrumbs-color.breadcrumb-active){color:var(--ion-color-base)}:host(.in-breadcrumbs-color) .breadcrumb-separator{color:var(--ion-color-base)}:host(.ion-color){color:var(--ion-color-base)}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumb-separator{color:rgba(var(--ion-color-contrast-rgb), 0.8)}:host(.in-toolbar-color.breadcrumb-active){color:var(--ion-color-contrast)}.breadcrumbs-collapsed-indicator{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:14px;margin-right:14px;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex:1 1 100%;flex:1 1 100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:32px;height:18px;border:0;outline:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.breadcrumbs-collapsed-indicator{margin-left:unset;margin-right:unset;-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:14px;margin-inline-end:14px}}.breadcrumbs-collapsed-indicator ion-icon{margin-top:1px;font-size:22px}:host{--color:var(--ion-color-step-600, #677483);--color-active:var(--ion-text-color, #03060b);--color-hover:var(--ion-text-color, #03060b);--color-focused:var(--ion-color-step-800, #35404e);--background-focused:$breadcrumb-md-background-focused}:host(.breadcrumb-active){font-weight:500}.breadcrumb-native{padding-left:12px;padding-right:12px;padding-top:6px;padding-bottom:6px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.breadcrumb-native{padding-left:unset;padding-right:unset;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px}}.breadcrumb-separator{margin-left:10px;margin-right:10px;margin-top:-1px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.breadcrumb-separator{margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}:host(.ion-focused) .breadcrumb-native{border-radius:4px;-webkit-box-shadow:0px 1px 2px rgba(0, 0, 0, 0.2), 0px 2px 8px rgba(0, 0, 0, 0.12);box-shadow:0px 1px 2px rgba(0, 0, 0, 0.2), 0px 2px 8px rgba(0, 0, 0, 0.12)}.breadcrumb-separator{color:var(--ion-color-step-550, #73849a)}::slotted(ion-icon){color:var(--ion-color-step-550, #7d8894);font-size:18px}::slotted(ion-icon[slot=start]){margin-right:8px}@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:8px;margin-inline-end:8px}}::slotted(ion-icon[slot=end]){margin-left:8px}@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:8px;margin-inline-start:8px}}:host(.breadcrumb-active) ::slotted(ion-icon){color:var(--ion-color-step-850, #222d3a)}.breadcrumbs-collapsed-indicator{border-radius:2px;background:var(--ion-color-step-100, #eef1f3);color:var(--ion-color-step-550, #73849a)}.breadcrumbs-collapsed-indicator:hover{opacity:0.7}.breadcrumbs-collapsed-indicator:focus{background:var(--ion-color-step-150, #dfe5e8)}\";\nconst Breadcrumb = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.ionFocus = createEvent(this, \"ionFocus\", 7);\n this.ionBlur = createEvent(this, \"ionBlur\", 7);\n this.collapsedClick = createEvent(this, \"collapsedClick\", 7);\n this.inheritedAttributes = {};\n /** @internal */\n\n this.collapsed = false;\n /**\n * If `true`, the breadcrumb will take on a different look to show that\n * it is the currently active breadcrumb. Defaults to `true` for the\n * last breadcrumb if it is not set on any.\n */\n\n this.active = false;\n /**\n * If `true`, the user cannot interact with the breadcrumb.\n */\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\n this.routerDirection = 'forward';\n\n this.onFocus = () => {\n this.ionFocus.emit();\n };\n\n this.onBlur = () => {\n this.ionBlur.emit();\n };\n\n this.collapsedIndicatorClick = () => {\n this.collapsedClick.emit({\n ionShadowTarget: this.collapsedRef\n });\n };\n }\n\n componentWillLoad() {\n this.inheritedAttributes = inheritAriaAttributes(this.el);\n }\n\n isClickable() {\n return this.href !== undefined;\n }\n\n render() {\n const {\n color,\n active,\n collapsed,\n disabled,\n download,\n el,\n inheritedAttributes,\n last,\n routerAnimation,\n routerDirection,\n separator,\n showCollapsedIndicator,\n target\n } = this;\n const clickable = this.isClickable();\n const TagType = this.href === undefined ? 'span' : 'a'; // Links can still be tabbed to when set to disabled if they have an href\n // in order to truly disable them we can keep it as an anchor but remove the href\n\n const href = disabled ? undefined : this.href;\n const mode = getIonMode(this);\n const attrs = TagType === 'span' ? {} : {\n download,\n href,\n target\n }; // If the breadcrumb is collapsed, check if it contains the collapsed indicator\n // to show the separator as long as it isn't also the last breadcrumb\n // otherwise if not collapsed use the value in separator\n\n const showSeparator = last ? false : collapsed ? showCollapsedIndicator && !last ? true : false : separator;\n return h(Host, {\n onClick: ev => openURL(href, ev, routerDirection, routerAnimation),\n \"aria-disabled\": disabled ? 'true' : null,\n class: createColorClasses(color, {\n [mode]: true,\n 'breadcrumb-active': active,\n 'breadcrumb-collapsed': collapsed,\n 'breadcrumb-disabled': disabled,\n 'in-breadcrumbs-color': hostContext('ion-breadcrumbs[color]', el),\n 'in-toolbar': hostContext('ion-toolbar', this.el),\n 'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),\n 'ion-activatable': clickable,\n 'ion-focusable': clickable\n })\n }, h(TagType, Object.assign({}, attrs, {\n class: \"breadcrumb-native\",\n part: \"native\",\n disabled: disabled,\n onFocus: this.onFocus,\n onBlur: this.onBlur\n }, inheritedAttributes), h(\"slot\", {\n name: \"start\"\n }), h(\"slot\", null), h(\"slot\", {\n name: \"end\"\n })), showCollapsedIndicator && h(\"button\", {\n part: \"collapsed-indicator\",\n onClick: () => this.collapsedIndicatorClick(),\n ref: collapsedEl => this.collapsedRef = collapsedEl,\n class: {\n 'breadcrumbs-collapsed-indicator': true\n }\n }, h(\"ion-icon\", {\n icon: ellipsisHorizontal,\n lazy: false\n })), showSeparator &&\n /**\n * Separators should not be announced by narrators.\n * We add aria-hidden on the span so that this applies\n * to any custom separators too.\n */\n h(\"span\", {\n class: \"breadcrumb-separator\",\n part: \"separator\",\n \"aria-hidden\": \"true\"\n }, h(\"slot\", {\n name: \"separator\"\n }, mode === 'ios' ? h(\"ion-icon\", {\n icon: chevronForwardOutline,\n lazy: false,\n \"flip-rtl\": true\n }) : h(\"span\", null, \"/\"))));\n }\n\n get el() {\n return getElement(this);\n }\n\n};\nBreadcrumb.style = {\n ios: breadcrumbIosCss,\n md: breadcrumbMdCss\n};\nconst breadcrumbsIosCss = \":host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator ion-icon{color:var(--ion-color-contrast)}:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator{background:rgba(var(--ion-color-contrast-rgb), 0.11)}:host(.in-toolbar){padding-left:20px;padding-right:20px;padding-top:0;padding-bottom:0;-ms-flex-pack:center;justify-content:center}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-toolbar){padding-left:unset;padding-right:unset;-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px}}\";\nconst breadcrumbsMdCss = \":host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator ion-icon{color:var(--ion-color-contrast)}:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator{background:rgba(var(--ion-color-contrast-rgb), 0.11)}:host(.in-toolbar){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){:host(.in-toolbar){padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}\";\nconst Breadcrumbs = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.ionCollapsedClick = createEvent(this, \"ionCollapsedClick\", 7);\n /**\n * The number of breadcrumbs to show before the collapsed indicator.\n * If `itemsBeforeCollapse` + `itemsAfterCollapse` is greater than `maxItems`,\n * the breadcrumbs will not be collapsed.\n */\n\n this.itemsBeforeCollapse = 1;\n /**\n * The number of breadcrumbs to show after the collapsed indicator.\n * If `itemsBeforeCollapse` + `itemsAfterCollapse` is greater than `maxItems`,\n * the breadcrumbs will not be collapsed.\n */\n\n this.itemsAfterCollapse = 1;\n\n this.breadcrumbsInit = () => {\n this.setBreadcrumbSeparator();\n this.setMaxItems();\n };\n\n this.resetActiveBreadcrumb = () => {\n const breadcrumbs = this.getBreadcrumbs(); // Only reset the active breadcrumb if we were the ones to change it\n // otherwise use the one set on the component\n\n const activeBreadcrumb = breadcrumbs.find(breadcrumb => breadcrumb.active);\n\n if (activeBreadcrumb && this.activeChanged) {\n activeBreadcrumb.active = false;\n }\n };\n\n this.setMaxItems = () => {\n const {\n itemsAfterCollapse,\n itemsBeforeCollapse,\n maxItems\n } = this;\n const breadcrumbs = this.getBreadcrumbs();\n\n for (const breadcrumb of breadcrumbs) {\n breadcrumb.showCollapsedIndicator = false;\n breadcrumb.collapsed = false;\n } // If the number of breadcrumbs exceeds the maximum number of items\n // that should show and the items before / after collapse do not\n // exceed the maximum items then we need to collapse the breadcrumbs\n\n\n const shouldCollapse = maxItems !== undefined && breadcrumbs.length > maxItems && itemsBeforeCollapse + itemsAfterCollapse <= maxItems;\n\n if (shouldCollapse) {\n // Show the collapsed indicator in the first breadcrumb that collapses\n breadcrumbs.forEach((breadcrumb, index) => {\n if (index === itemsBeforeCollapse) {\n breadcrumb.showCollapsedIndicator = true;\n } // Collapse all breadcrumbs that have an index greater than or equal to\n // the number before collapse and an index less than the total number\n // of breadcrumbs minus the items that should show after the collapse\n\n\n if (index >= itemsBeforeCollapse && index < breadcrumbs.length - itemsAfterCollapse) {\n breadcrumb.collapsed = true;\n }\n });\n }\n };\n\n this.setBreadcrumbSeparator = () => {\n const {\n itemsAfterCollapse,\n itemsBeforeCollapse,\n maxItems\n } = this;\n const breadcrumbs = this.getBreadcrumbs(); // Check if an active breadcrumb exists already\n\n const active = breadcrumbs.find(breadcrumb => breadcrumb.active); // Set the separator on all but the last breadcrumb\n\n for (const breadcrumb of breadcrumbs) {\n // The only time the last breadcrumb changes is when\n // itemsAfterCollapse is set to 0, in this case the\n // last breadcrumb will be the collapsed indicator\n const last = maxItems !== undefined && itemsAfterCollapse === 0 ? breadcrumb === breadcrumbs[itemsBeforeCollapse] : breadcrumb === breadcrumbs[breadcrumbs.length - 1];\n breadcrumb.last = last; // If the breadcrumb has defined whether or not to show the\n // separator then use that value, otherwise check if it's the\n // last breadcrumb\n\n const separator = breadcrumb.separator !== undefined ? breadcrumb.separator : last ? undefined : true;\n breadcrumb.separator = separator; // If there is not an active breadcrumb already\n // set the last one to active\n\n if (!active && last) {\n breadcrumb.active = true;\n this.activeChanged = true;\n }\n }\n };\n\n this.getBreadcrumbs = () => {\n return Array.from(this.el.querySelectorAll('ion-breadcrumb'));\n };\n }\n\n onCollapsedClick(ev) {\n const breadcrumbs = this.getBreadcrumbs();\n const collapsedBreadcrumbs = breadcrumbs.filter(breadcrumb => breadcrumb.collapsed);\n this.ionCollapsedClick.emit(Object.assign(Object.assign({}, ev.detail), {\n collapsedBreadcrumbs\n }));\n }\n\n maxItemsChanged() {\n this.resetActiveBreadcrumb();\n this.breadcrumbsInit();\n }\n\n componentWillLoad() {\n this.breadcrumbsInit();\n }\n\n render() {\n const {\n color,\n collapsed\n } = this;\n const mode = getIonMode(this);\n return h(Host, {\n class: createColorClasses(color, {\n [mode]: true,\n 'in-toolbar': hostContext('ion-toolbar', this.el),\n 'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),\n 'breadcrumbs-collapsed': collapsed\n })\n }, h(\"slot\", null));\n }\n\n get el() {\n return getElement(this);\n }\n\n static get watchers() {\n return {\n \"maxItems\": [\"maxItemsChanged\"],\n \"itemsBeforeCollapse\": [\"maxItemsChanged\"],\n \"itemsAfterCollapse\": [\"maxItemsChanged\"]\n };\n }\n\n};\nBreadcrumbs.style = {\n ios: breadcrumbsIosCss,\n md: breadcrumbsMdCss\n};\nexport { Breadcrumb as ion_breadcrumb, Breadcrumbs as ion_breadcrumbs };","map":{"version":3,"names":["r","registerInstance","e","createEvent","h","H","Host","i","getElement","m","chevronForwardOutline","n","ellipsisHorizontal","b","getIonMode","inheritAriaAttributes","o","openURL","c","createColorClasses","hostContext","breadcrumbIosCss","breadcrumbMdCss","Breadcrumb","constructor","hostRef","ionFocus","ionBlur","collapsedClick","inheritedAttributes","collapsed","active","disabled","routerDirection","onFocus","emit","onBlur","collapsedIndicatorClick","ionShadowTarget","collapsedRef","componentWillLoad","el","isClickable","href","undefined","render","color","download","last","routerAnimation","separator","showCollapsedIndicator","target","clickable","TagType","mode","attrs","showSeparator","onClick","ev","class","Object","assign","part","name","ref","collapsedEl","icon","lazy","style","ios","md","breadcrumbsIosCss","breadcrumbsMdCss","Breadcrumbs","ionCollapsedClick","itemsBeforeCollapse","itemsAfterCollapse","breadcrumbsInit","setBreadcrumbSeparator","setMaxItems","resetActiveBreadcrumb","breadcrumbs","getBreadcrumbs","activeBreadcrumb","find","breadcrumb","activeChanged","maxItems","shouldCollapse","length","forEach","index","Array","from","querySelectorAll","onCollapsedClick","collapsedBreadcrumbs","filter","detail","maxItemsChanged","watchers","ion_breadcrumb","ion_breadcrumbs"],"sources":["D:/MobileDev/WRB/WrenchBoard2023a/node_modules/@ionic/core/dist/esm/ion-breadcrumb_2.entry.js"],"sourcesContent":["/*!\n * (C) Ionic http://ionicframework.com - MIT License\n */\nimport { r as registerInstance, e as createEvent, h, H as Host, i as getElement } from './index-1a99aeb7.js';\nimport { m as chevronForwardOutline, n as ellipsisHorizontal } from './index-45ecc7ca.js';\nimport { b as getIonMode } from './ionic-global-04e268e7.js';\nimport { i as inheritAriaAttributes } from './helpers-4d272360.js';\nimport { o as openURL, c as createColorClasses, h as hostContext } from './theme-7670341c.js';\n\nconst breadcrumbIosCss = \":host{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-align:center;align-items:center;color:var(--color);font-size:16px;font-weight:400;line-height:1.5}.breadcrumb-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:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;outline:none;background:inherit}:host(.breadcrumb-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.breadcrumb-active){color:var(--color-active)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .breadcrumb-native{background:var(--background-focused)}@media (any-hover: hover){:host(.ion-activatable:hover){color:var(--color-hover)}:host(.ion-activatable.in-breadcrumbs-color:hover),:host(.ion-activatable.ion-color:hover){color:var(--ion-color-shade)}}.breadcrumb-separator{display:-ms-inline-flexbox;display:inline-flex}:host(.breadcrumb-collapsed) .breadcrumb-native{display:none}:host(.in-breadcrumbs-color),:host(.in-breadcrumbs-color.breadcrumb-active){color:var(--ion-color-base)}:host(.in-breadcrumbs-color) .breadcrumb-separator{color:var(--ion-color-base)}:host(.ion-color){color:var(--ion-color-base)}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumb-separator{color:rgba(var(--ion-color-contrast-rgb), 0.8)}:host(.in-toolbar-color.breadcrumb-active){color:var(--ion-color-contrast)}.breadcrumbs-collapsed-indicator{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:14px;margin-right:14px;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex:1 1 100%;flex:1 1 100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:32px;height:18px;border:0;outline:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.breadcrumbs-collapsed-indicator{margin-left:unset;margin-right:unset;-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:14px;margin-inline-end:14px}}.breadcrumbs-collapsed-indicator ion-icon{margin-top:1px;font-size:22px}:host{--color:var(--ion-color-step-850, #2d4665);--color-active:var(--ion-text-color, #03060b);--color-hover:var(--ion-text-color, #03060b);--color-focused:var(--color-active);--background-focused:var(--ion-color-step-50, rgba(233, 237, 243, 0.7))}:host(.breadcrumb-active){font-weight:600}.breadcrumb-native{border-radius:4px;padding-left:12px;padding-right:12px;padding-top:5px;padding-bottom:5px;border:1px solid transparent}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.breadcrumb-native{padding-left:unset;padding-right:unset;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px}}:host(.ion-focused) .breadcrumb-native{border-radius:8px}:host(.in-breadcrumbs-color.ion-focused) .breadcrumb-native,:host(.ion-color.ion-focused) .breadcrumb-native{background:rgba(var(--ion-color-base-rgb), 0.1);color:var(--ion-color-base)}:host(.ion-focused) ::slotted(ion-icon),:host(.in-breadcrumbs-color.ion-focused) ::slotted(ion-icon),:host(.ion-color.ion-focused) ::slotted(ion-icon){color:var(--ion-color-step-750, #445b78)}.breadcrumb-separator{color:var(--ion-color-step-550, #73849a)}::slotted(ion-icon){color:var(--ion-color-step-400, #92a0b3);font-size:18px}::slotted(ion-icon[slot=start]){margin-right:8px}@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:8px;margin-inline-end:8px}}::slotted(ion-icon[slot=end]){margin-left:8px}@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:8px;margin-inline-start:8px}}:host(.breadcrumb-active) ::slotted(ion-icon){color:var(--ion-color-step-850, #242d39)}.breadcrumbs-collapsed-indicator{border-radius:4px;background:var(--ion-color-step-100, #e9edf3);color:var(--ion-color-step-550, #73849a)}.breadcrumbs-collapsed-indicator:hover{opacity:0.45}.breadcrumbs-collapsed-indicator:focus{background:var(--ion-color-step-150, #d9e0ea)}\";\n\nconst breadcrumbMdCss = \":host{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-align:center;align-items:center;color:var(--color);font-size:16px;font-weight:400;line-height:1.5}.breadcrumb-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:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;outline:none;background:inherit}:host(.breadcrumb-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.breadcrumb-active){color:var(--color-active)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .breadcrumb-native{background:var(--background-focused)}@media (any-hover: hover){:host(.ion-activatable:hover){color:var(--color-hover)}:host(.ion-activatable.in-breadcrumbs-color:hover),:host(.ion-activatable.ion-color:hover){color:var(--ion-color-shade)}}.breadcrumb-separator{display:-ms-inline-flexbox;display:inline-flex}:host(.breadcrumb-collapsed) .breadcrumb-native{display:none}:host(.in-breadcrumbs-color),:host(.in-breadcrumbs-color.breadcrumb-active){color:var(--ion-color-base)}:host(.in-breadcrumbs-color) .breadcrumb-separator{color:var(--ion-color-base)}:host(.ion-color){color:var(--ion-color-base)}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumb-separator{color:rgba(var(--ion-color-contrast-rgb), 0.8)}:host(.in-toolbar-color.breadcrumb-active){color:var(--ion-color-contrast)}.breadcrumbs-collapsed-indicator{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:14px;margin-right:14px;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex:1 1 100%;flex:1 1 100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:32px;height:18px;border:0;outline:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.breadcrumbs-collapsed-indicator{margin-left:unset;margin-right:unset;-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:14px;margin-inline-end:14px}}.breadcrumbs-collapsed-indicator ion-icon{margin-top:1px;font-size:22px}:host{--color:var(--ion-color-step-600, #677483);--color-active:var(--ion-text-color, #03060b);--color-hover:var(--ion-text-color, #03060b);--color-focused:var(--ion-color-step-800, #35404e);--background-focused:$breadcrumb-md-background-focused}:host(.breadcrumb-active){font-weight:500}.breadcrumb-native{padding-left:12px;padding-right:12px;padding-top:6px;padding-bottom:6px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.breadcrumb-native{padding-left:unset;padding-right:unset;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px}}.breadcrumb-separator{margin-left:10px;margin-right:10px;margin-top:-1px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.breadcrumb-separator{margin-left:unset;margin-right:unset;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px}}:host(.ion-focused) .breadcrumb-native{border-radius:4px;-webkit-box-shadow:0px 1px 2px rgba(0, 0, 0, 0.2), 0px 2px 8px rgba(0, 0, 0, 0.12);box-shadow:0px 1px 2px rgba(0, 0, 0, 0.2), 0px 2px 8px rgba(0, 0, 0, 0.12)}.breadcrumb-separator{color:var(--ion-color-step-550, #73849a)}::slotted(ion-icon){color:var(--ion-color-step-550, #7d8894);font-size:18px}::slotted(ion-icon[slot=start]){margin-right:8px}@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:8px;margin-inline-end:8px}}::slotted(ion-icon[slot=end]){margin-left:8px}@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:8px;margin-inline-start:8px}}:host(.breadcrumb-active) ::slotted(ion-icon){color:var(--ion-color-step-850, #222d3a)}.breadcrumbs-collapsed-indicator{border-radius:2px;background:var(--ion-color-step-100, #eef1f3);color:var(--ion-color-step-550, #73849a)}.breadcrumbs-collapsed-indicator:hover{opacity:0.7}.breadcrumbs-collapsed-indicator:focus{background:var(--ion-color-step-150, #dfe5e8)}\";\n\nconst Breadcrumb = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.ionFocus = createEvent(this, \"ionFocus\", 7);\n this.ionBlur = createEvent(this, \"ionBlur\", 7);\n this.collapsedClick = createEvent(this, \"collapsedClick\", 7);\n this.inheritedAttributes = {};\n /** @internal */\n this.collapsed = false;\n /**\n * If `true`, the breadcrumb will take on a different look to show that\n * it is the currently active breadcrumb. Defaults to `true` for the\n * last breadcrumb if it is not set on any.\n */\n this.active = false;\n /**\n * If `true`, the user cannot interact with the breadcrumb.\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 this.onFocus = () => {\n this.ionFocus.emit();\n };\n this.onBlur = () => {\n this.ionBlur.emit();\n };\n this.collapsedIndicatorClick = () => {\n this.collapsedClick.emit({ ionShadowTarget: this.collapsedRef });\n };\n }\n componentWillLoad() {\n this.inheritedAttributes = inheritAriaAttributes(this.el);\n }\n isClickable() {\n return this.href !== undefined;\n }\n render() {\n const { color, active, collapsed, disabled, download, el, inheritedAttributes, last, routerAnimation, routerDirection, separator, showCollapsedIndicator, target, } = this;\n const clickable = this.isClickable();\n const TagType = this.href === undefined ? 'span' : 'a';\n // Links can still be tabbed to when set to disabled if they have an href\n // in order to truly disable them we can keep it as an anchor but remove the href\n const href = disabled ? undefined : this.href;\n const mode = getIonMode(this);\n const attrs = TagType === 'span'\n ? {}\n : {\n download,\n href,\n target,\n };\n // If the breadcrumb is collapsed, check if it contains the collapsed indicator\n // to show the separator as long as it isn't also the last breadcrumb\n // otherwise if not collapsed use the value in separator\n const showSeparator = last ? false : collapsed ? (showCollapsedIndicator && !last ? true : false) : separator;\n return (h(Host, { onClick: (ev) => openURL(href, ev, routerDirection, routerAnimation), \"aria-disabled\": disabled ? 'true' : null, class: createColorClasses(color, {\n [mode]: true,\n 'breadcrumb-active': active,\n 'breadcrumb-collapsed': collapsed,\n 'breadcrumb-disabled': disabled,\n 'in-breadcrumbs-color': hostContext('ion-breadcrumbs[color]', el),\n 'in-toolbar': hostContext('ion-toolbar', this.el),\n 'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),\n 'ion-activatable': clickable,\n 'ion-focusable': clickable,\n }) }, h(TagType, Object.assign({}, attrs, { class: \"breadcrumb-native\", part: \"native\", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur }, inheritedAttributes), h(\"slot\", { name: \"start\" }), h(\"slot\", null), h(\"slot\", { name: \"end\" })), showCollapsedIndicator && (h(\"button\", { part: \"collapsed-indicator\", onClick: () => this.collapsedIndicatorClick(), ref: (collapsedEl) => (this.collapsedRef = collapsedEl), class: {\n 'breadcrumbs-collapsed-indicator': true,\n } }, h(\"ion-icon\", { icon: ellipsisHorizontal, lazy: false }))), showSeparator && (\n /**\n * Separators should not be announced by narrators.\n * We add aria-hidden on the span so that this applies\n * to any custom separators too.\n */\n h(\"span\", { class: \"breadcrumb-separator\", part: \"separator\", \"aria-hidden\": \"true\" }, h(\"slot\", { name: \"separator\" }, mode === 'ios' ? (h(\"ion-icon\", { icon: chevronForwardOutline, lazy: false, \"flip-rtl\": true })) : (h(\"span\", null, \"/\")))))));\n }\n get el() { return getElement(this); }\n};\nBreadcrumb.style = {\n ios: breadcrumbIosCss,\n md: breadcrumbMdCss\n};\n\nconst breadcrumbsIosCss = \":host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator ion-icon{color:var(--ion-color-contrast)}:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator{background:rgba(var(--ion-color-contrast-rgb), 0.11)}:host(.in-toolbar){padding-left:20px;padding-right:20px;padding-top:0;padding-bottom:0;-ms-flex-pack:center;justify-content:center}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host(.in-toolbar){padding-left:unset;padding-right:unset;-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px}}\";\n\nconst breadcrumbsMdCss = \":host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator ion-icon{color:var(--ion-color-contrast)}:host(.in-toolbar-color) .breadcrumbs-collapsed-indicator{background:rgba(var(--ion-color-contrast-rgb), 0.11)}:host(.in-toolbar){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){:host(.in-toolbar){padding-left:unset;padding-right:unset;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px}}\";\n\nconst Breadcrumbs = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.ionCollapsedClick = createEvent(this, \"ionCollapsedClick\", 7);\n /**\n * The number of breadcrumbs to show before the collapsed indicator.\n * If `itemsBeforeCollapse` + `itemsAfterCollapse` is greater than `maxItems`,\n * the breadcrumbs will not be collapsed.\n */\n this.itemsBeforeCollapse = 1;\n /**\n * The number of breadcrumbs to show after the collapsed indicator.\n * If `itemsBeforeCollapse` + `itemsAfterCollapse` is greater than `maxItems`,\n * the breadcrumbs will not be collapsed.\n */\n this.itemsAfterCollapse = 1;\n this.breadcrumbsInit = () => {\n this.setBreadcrumbSeparator();\n this.setMaxItems();\n };\n this.resetActiveBreadcrumb = () => {\n const breadcrumbs = this.getBreadcrumbs();\n // Only reset the active breadcrumb if we were the ones to change it\n // otherwise use the one set on the component\n const activeBreadcrumb = breadcrumbs.find((breadcrumb) => breadcrumb.active);\n if (activeBreadcrumb && this.activeChanged) {\n activeBreadcrumb.active = false;\n }\n };\n this.setMaxItems = () => {\n const { itemsAfterCollapse, itemsBeforeCollapse, maxItems } = this;\n const breadcrumbs = this.getBreadcrumbs();\n for (const breadcrumb of breadcrumbs) {\n breadcrumb.showCollapsedIndicator = false;\n breadcrumb.collapsed = false;\n }\n // If the number of breadcrumbs exceeds the maximum number of items\n // that should show and the items before / after collapse do not\n // exceed the maximum items then we need to collapse the breadcrumbs\n const shouldCollapse = maxItems !== undefined && breadcrumbs.length > maxItems && itemsBeforeCollapse + itemsAfterCollapse <= maxItems;\n if (shouldCollapse) {\n // Show the collapsed indicator in the first breadcrumb that collapses\n breadcrumbs.forEach((breadcrumb, index) => {\n if (index === itemsBeforeCollapse) {\n breadcrumb.showCollapsedIndicator = true;\n }\n // Collapse all breadcrumbs that have an index greater than or equal to\n // the number before collapse and an index less than the total number\n // of breadcrumbs minus the items that should show after the collapse\n if (index >= itemsBeforeCollapse && index < breadcrumbs.length - itemsAfterCollapse) {\n breadcrumb.collapsed = true;\n }\n });\n }\n };\n this.setBreadcrumbSeparator = () => {\n const { itemsAfterCollapse, itemsBeforeCollapse, maxItems } = this;\n const breadcrumbs = this.getBreadcrumbs();\n // Check if an active breadcrumb exists already\n const active = breadcrumbs.find((breadcrumb) => breadcrumb.active);\n // Set the separator on all but the last breadcrumb\n for (const breadcrumb of breadcrumbs) {\n // The only time the last breadcrumb changes is when\n // itemsAfterCollapse is set to 0, in this case the\n // last breadcrumb will be the collapsed indicator\n const last = maxItems !== undefined && itemsAfterCollapse === 0\n ? breadcrumb === breadcrumbs[itemsBeforeCollapse]\n : breadcrumb === breadcrumbs[breadcrumbs.length - 1];\n breadcrumb.last = last;\n // If the breadcrumb has defined whether or not to show the\n // separator then use that value, otherwise check if it's the\n // last breadcrumb\n const separator = breadcrumb.separator !== undefined ? breadcrumb.separator : last ? undefined : true;\n breadcrumb.separator = separator;\n // If there is not an active breadcrumb already\n // set the last one to active\n if (!active && last) {\n breadcrumb.active = true;\n this.activeChanged = true;\n }\n }\n };\n this.getBreadcrumbs = () => {\n return Array.from(this.el.querySelectorAll('ion-breadcrumb'));\n };\n }\n onCollapsedClick(ev) {\n const breadcrumbs = this.getBreadcrumbs();\n const collapsedBreadcrumbs = breadcrumbs.filter((breadcrumb) => breadcrumb.collapsed);\n this.ionCollapsedClick.emit(Object.assign(Object.assign({}, ev.detail), { collapsedBreadcrumbs }));\n }\n maxItemsChanged() {\n this.resetActiveBreadcrumb();\n this.breadcrumbsInit();\n }\n componentWillLoad() {\n this.breadcrumbsInit();\n }\n render() {\n const { color, collapsed } = this;\n const mode = getIonMode(this);\n return (h(Host, { class: createColorClasses(color, {\n [mode]: true,\n 'in-toolbar': hostContext('ion-toolbar', this.el),\n 'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),\n 'breadcrumbs-collapsed': collapsed,\n }) }, h(\"slot\", null)));\n }\n get el() { return getElement(this); }\n static get watchers() { return {\n \"maxItems\": [\"maxItemsChanged\"],\n \"itemsBeforeCollapse\": [\"maxItemsChanged\"],\n \"itemsAfterCollapse\": [\"maxItemsChanged\"]\n }; }\n};\nBreadcrumbs.style = {\n ios: breadcrumbsIosCss,\n md: breadcrumbsMdCss\n};\n\nexport { Breadcrumb as ion_breadcrumb, Breadcrumbs as ion_breadcrumbs };\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,CAAC,IAAIC,gBAAd,EAAgCC,CAAC,IAAIC,WAArC,EAAkDC,CAAlD,EAAqDC,CAAC,IAAIC,IAA1D,EAAgEC,CAAC,IAAIC,UAArE,QAAuF,qBAAvF;AACA,SAASC,CAAC,IAAIC,qBAAd,EAAqCC,CAAC,IAAIC,kBAA1C,QAAoE,qBAApE;AACA,SAASC,CAAC,IAAIC,UAAd,QAAgC,4BAAhC;AACA,SAASP,CAAC,IAAIQ,qBAAd,QAA2C,uBAA3C;AACA,SAASC,CAAC,IAAIC,OAAd,EAAuBC,CAAC,IAAIC,kBAA5B,EAAgDf,CAAC,IAAIgB,WAArD,QAAwE,qBAAxE;AAEA,MAAMC,gBAAgB,GAAG,o8IAAzB;AAEA,MAAMC,eAAe,GAAG,6/IAAxB;AAEA,MAAMC,UAAU,GAAG,MAAM;EACvBC,WAAW,CAACC,OAAD,EAAU;IACnBxB,gBAAgB,CAAC,IAAD,EAAOwB,OAAP,CAAhB;IACA,KAAKC,QAAL,GAAgBvB,WAAW,CAAC,IAAD,EAAO,UAAP,EAAmB,CAAnB,CAA3B;IACA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