import {
  e as e4
} from "./chunk-ZANXXOCD.js";
import "./chunk-ZFUHKE2B.js";
import {
  a,
  c as c3,
  o as o3
} from "./chunk-BBRZG4XY.js";
import {
  o as o4
} from "./chunk-6GY55RSK.js";
import {
  h,
  i as i2,
  s as s4
} from "./chunk-7D2IXJO2.js";
import {
  t as t5
} from "./chunk-FZZSIR43.js";
import {
  i as i4,
  r as r3,
  t as t4
} from "./chunk-X4NBNE3H.js";
import {
  a as a2,
  e as e3,
  f as f3,
  h as h2,
  i as i3,
  l as l3,
  n as n3,
  p as p2,
  t as t3
} from "./chunk-6N3PHHCR.js";
import {
  NG_VALUE_ACCESSOR,
  NgControl
} from "./chunk-VD6QIYHN.js";
import {
  ActivatedRoute,
  AppstoreOutline,
  ArrowLeftOutline,
  ArrowRightOutline,
  AuthService,
  BookOutline,
  BulbFill,
  BulbOutline,
  CheckCircleFill,
  CheckCircleOutline,
  CheckOutline,
  ChildrenOutletContexts,
  CloseOutline,
  CommonModule,
  DeleteOutline,
  DomRendererFactory2,
  EditOutline,
  EyeOutline,
  FileOutline,
  FileTextOutline,
  FormStyle,
  LinkOutline,
  LoadingOutline,
  Location,
  LocationStrategy,
  LockOutline,
  LogoutOutline,
  MailOutline,
  MenuFoldOutline,
  MenuUnfoldOutline,
  NavigationCancel,
  NavigationError,
  NavigationStart,
  NgIf,
  NgTemplateOutlet,
  PRIMARY_OUTLET,
  PlusOutline,
  ReadOutline,
  Router,
  RouterLink,
  RouterOutlet,
  SearchOutline,
  StarOutline,
  TranslationWidth,
  UrlSerializer,
  UserOutline,
  VideoCameraOutline,
  _defineProperty,
  _typeof,
  bootstrapApplication,
  formatDate,
  getLocaleDayPeriods,
  isNotNil,
  provideHttpClient,
  provideNzIcons,
  provideRouter,
  registerLocaleData,
  toPropertyKey,
  warn
} from "./chunk-2TRRHRR7.js";
import {
  ANIMATION_MODULE_TYPE,
  APP_INITIALIZER,
  ApplicationRef,
  Attribute,
  BehaviorSubject,
  ChangeDetectionScheduler,
  ChangeDetectionStrategy,
  ChangeDetectorRef,
  Component,
  ContentChild,
  ContentChildren,
  DOCUMENT,
  Directive,
  ElementRef,
  EnvironmentInjector,
  EventEmitter,
  HostListener,
  Inject,
  Injectable,
  InjectionToken,
  Injector,
  Input,
  NgModule,
  NgZone,
  Optional,
  Output,
  Pipe,
  RendererFactory2,
  RuntimeError,
  SkipSelf,
  Subject,
  TemplateRef,
  ViewChild,
  ViewContainerRef,
  __decorate,
  combineLatest,
  createComponent,
  distinctUntilChanged,
  filter,
  forwardRef,
  fromEvent,
  inject,
  makeEnvironmentProviders,
  of,
  performanceMarkFeature,
  provideBrowserGlobalErrorListeners,
  provideZoneChangeDetection,
  reflectComponentType,
  setClassMetadata,
  switchMap,
  ɵsetClassDebugInfo,
  ɵɵInheritDefinitionFeature,
  ɵɵNgOnChangesFeature,
  ɵɵProvidersFeature,
  ɵɵadvance,
  ɵɵcontentQuery,
  ɵɵdefineComponent,
  ɵɵdefineDirective,
  ɵɵdefineInjectable,
  ɵɵdefineInjector,
  ɵɵdefineNgModule,
  ɵɵdefinePipe,
  ɵɵdirectiveInject,
  ɵɵdomElementContainerEnd,
  ɵɵdomElementContainerStart,
  ɵɵelement,
  ɵɵelementContainer,
  ɵɵelementEnd,
  ɵɵelementStart,
  ɵɵgetCurrentView,
  ɵɵgetInheritedFactory,
  ɵɵinject,
  ɵɵinjectAttribute,
  ɵɵinvalidFactory,
  ɵɵlistener,
  ɵɵloadQuery,
  ɵɵnextContext,
  ɵɵprojection,
  ɵɵprojectionDef,
  ɵɵproperty,
  ɵɵqueryRefresh,
  ɵɵresetView,
  ɵɵrestoreView,
  ɵɵtemplate,
  ɵɵviewQuery
} from "./chunk-WI7WFVZR.js";
import "./chunk-JU2IP4WP.js";
import {
  B,
  D,
  E,
  L,
  c as c2,
  l as l2,
  r,
  r2,
  s as s3,
  t as t2,
  v as v2
} from "./chunk-ZFK5GH7F.js";
import {
  d,
  o as o2
} from "./chunk-YAS4LRVC.js";
import {
  T,
  _,
  b,
  c,
  d as d2,
  e as e2,
  f as f2,
  i,
  l,
  m,
  n as n2,
  p,
  s as s2,
  t,
  u as u2,
  v,
  x,
  y
} from "./chunk-LE25MNGD.js";
import {
  Ct,
  Dn,
  I,
  It,
  Jt,
  P,
  Pt,
  Rn,
  Vn,
  W,
  Zn,
  e,
  f,
  n,
  o,
  q,
  qt,
  s,
  u
} from "./chunk-6F64OIHP.js";
import {
  __async,
  __objRest,
  __spreadProps,
  __spreadValues
} from "./chunk-WDMUDEB6.js";

// src/app/guards/auth.guard.ts
var authGuard = () => {
  const authService = inject(AuthService);
  const router = inject(Router);
  if (authService.isLoggedIn()) {
    return true;
  }
  return router.createUrlTree(["/auth"]);
};

// src/app/app.routes.ts
var routes = [
  { path: "", pathMatch: "full", redirectTo: "/catalog" },
  {
    path: "auth",
    loadChildren: () => import("./chunk-IOBMADH6.js").then((m28) => m28.AUTH_ROUTES)
  },
  {
    path: "catalog",
    loadChildren: () => import("./chunk-IM6TR7DF.js").then((m28) => m28.CATALOG_ROUTES),
    canActivate: [authGuard]
  },
  {
    path: "my-courses",
    loadChildren: () => import("./chunk-DVN263EA.js").then((m28) => m28.MY_COURSES_ROUTES),
    canActivate: [authGuard]
  },
  {
    path: "create",
    loadChildren: () => import("./chunk-OVXDZVBT.js").then((m28) => m28.COURSE_EDITOR_ROUTES),
    canActivate: [authGuard]
  },
  {
    path: "courses/:id",
    loadChildren: () => import("./chunk-UQBCWTZZ.js").then((m28) => m28.COURSE_VIEWER_ROUTES),
    canActivate: [authGuard]
  },
  {
    path: "courses/:id/edit",
    loadChildren: () => import("./chunk-OVXDZVBT.js").then((m28) => m28.COURSE_EDITOR_ROUTES),
    canActivate: [authGuard]
  }
];

// src/app/icons-provider.ts
var icons = [
  BookOutline,
  UserOutline,
  SearchOutline,
  AppstoreOutline,
  PlusOutline,
  ReadOutline,
  LogoutOutline,
  BulbOutline,
  BulbFill,
  ArrowLeftOutline,
  ArrowRightOutline,
  EditOutline,
  DeleteOutline,
  CheckCircleOutline,
  CheckCircleFill,
  LockOutline,
  MailOutline,
  StarOutline,
  LinkOutline,
  VideoCameraOutline,
  FileOutline,
  FileTextOutline,
  MenuFoldOutline,
  MenuUnfoldOutline,
  CheckOutline,
  EyeOutline,
  CloseOutline,
  LoadingOutline
];

// node_modules/date-fns/esm/_lib/toInteger/index.js
function toInteger(dirtyNumber) {
  if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) {
    return NaN;
  }
  var number = Number(dirtyNumber);
  if (isNaN(number)) {
    return number;
  }
  return number < 0 ? Math.ceil(number) : Math.floor(number);
}

// node_modules/date-fns/esm/_lib/requiredArgs/index.js
function requiredArgs(required, args) {
  if (args.length < required) {
    throw new TypeError(required + " argument" + (required > 1 ? "s" : "") + " required, but only " + args.length + " present");
  }
}

// node_modules/date-fns/esm/toDate/index.js
function toDate(argument) {
  requiredArgs(1, arguments);
  var argStr = Object.prototype.toString.call(argument);
  if (argument instanceof Date || _typeof(argument) === "object" && argStr === "[object Date]") {
    return new Date(argument.getTime());
  } else if (typeof argument === "number" || argStr === "[object Number]") {
    return new Date(argument);
  } else {
    if ((typeof argument === "string" || argStr === "[object String]") && typeof console !== "undefined") {
      console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments");
      console.warn(new Error().stack);
    }
    return /* @__PURE__ */ new Date(NaN);
  }
}

// node_modules/date-fns/esm/addMilliseconds/index.js
function addMilliseconds(dirtyDate, dirtyAmount) {
  requiredArgs(2, arguments);
  var timestamp = toDate(dirtyDate).getTime();
  var amount = toInteger(dirtyAmount);
  return new Date(timestamp + amount);
}

// node_modules/date-fns/esm/_lib/defaultOptions/index.js
var defaultOptions = {};
function getDefaultOptions() {
  return defaultOptions;
}

// node_modules/date-fns/esm/startOfWeek/index.js
function startOfWeek(dirtyDate, options) {
  var _ref, _ref2, _ref3, _options$weekStartsOn, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2;
  requiredArgs(1, arguments);
  var defaultOptions2 = getDefaultOptions();
  var weekStartsOn = toInteger((_ref = (_ref2 = (_ref3 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions2.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions2.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.weekStartsOn) !== null && _ref !== void 0 ? _ref : 0);
  if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {
    throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
  }
  var date = toDate(dirtyDate);
  var day = date.getDay();
  var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
  date.setDate(date.getDate() - diff);
  date.setHours(0, 0, 0, 0);
  return date;
}

// node_modules/date-fns/esm/startOfISOWeek/index.js
function startOfISOWeek(dirtyDate) {
  requiredArgs(1, arguments);
  return startOfWeek(dirtyDate, {
    weekStartsOn: 1
  });
}

// node_modules/date-fns/esm/getISOWeekYear/index.js
function getISOWeekYear(dirtyDate) {
  requiredArgs(1, arguments);
  var date = toDate(dirtyDate);
  var year = date.getFullYear();
  var fourthOfJanuaryOfNextYear = /* @__PURE__ */ new Date(0);
  fourthOfJanuaryOfNextYear.setFullYear(year + 1, 0, 4);
  fourthOfJanuaryOfNextYear.setHours(0, 0, 0, 0);
  var startOfNextYear = startOfISOWeek(fourthOfJanuaryOfNextYear);
  var fourthOfJanuaryOfThisYear = /* @__PURE__ */ new Date(0);
  fourthOfJanuaryOfThisYear.setFullYear(year, 0, 4);
  fourthOfJanuaryOfThisYear.setHours(0, 0, 0, 0);
  var startOfThisYear = startOfISOWeek(fourthOfJanuaryOfThisYear);
  if (date.getTime() >= startOfNextYear.getTime()) {
    return year + 1;
  } else if (date.getTime() >= startOfThisYear.getTime()) {
    return year;
  } else {
    return year - 1;
  }
}

// node_modules/date-fns/esm/startOfISOWeekYear/index.js
function startOfISOWeekYear(dirtyDate) {
  requiredArgs(1, arguments);
  var year = getISOWeekYear(dirtyDate);
  var fourthOfJanuary = /* @__PURE__ */ new Date(0);
  fourthOfJanuary.setFullYear(year, 0, 4);
  fourthOfJanuary.setHours(0, 0, 0, 0);
  var date = startOfISOWeek(fourthOfJanuary);
  return date;
}

// node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.js
function getTimezoneOffsetInMilliseconds(date) {
  var utcDate = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds()));
  utcDate.setUTCFullYear(date.getFullYear());
  return date.getTime() - utcDate.getTime();
}

// node_modules/date-fns/esm/constants/index.js
var daysInYear = 365.2425;
var maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1e3;
var millisecondsInMinute = 6e4;
var millisecondsInHour = 36e5;
var millisecondsInSecond = 1e3;
var minTime = -maxTime;
var secondsInHour = 3600;
var secondsInDay = secondsInHour * 24;
var secondsInWeek = secondsInDay * 7;
var secondsInYear = secondsInDay * daysInYear;
var secondsInMonth = secondsInYear / 12;
var secondsInQuarter = secondsInMonth * 3;

// node_modules/date-fns/esm/isDate/index.js
function isDate(value) {
  requiredArgs(1, arguments);
  return value instanceof Date || _typeof(value) === "object" && Object.prototype.toString.call(value) === "[object Date]";
}

// node_modules/date-fns/esm/isValid/index.js
function isValid(dirtyDate) {
  requiredArgs(1, arguments);
  if (!isDate(dirtyDate) && typeof dirtyDate !== "number") {
    return false;
  }
  var date = toDate(dirtyDate);
  return !isNaN(Number(date));
}

// node_modules/date-fns/esm/getQuarter/index.js
function getQuarter(dirtyDate) {
  requiredArgs(1, arguments);
  var date = toDate(dirtyDate);
  var quarter = Math.floor(date.getMonth() / 3) + 1;
  return quarter;
}

// node_modules/date-fns/esm/subMilliseconds/index.js
function subMilliseconds(dirtyDate, dirtyAmount) {
  requiredArgs(2, arguments);
  var amount = toInteger(dirtyAmount);
  return addMilliseconds(dirtyDate, -amount);
}

// node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.js
var MILLISECONDS_IN_DAY = 864e5;
function getUTCDayOfYear(dirtyDate) {
  requiredArgs(1, arguments);
  var date = toDate(dirtyDate);
  var timestamp = date.getTime();
  date.setUTCMonth(0, 1);
  date.setUTCHours(0, 0, 0, 0);
  var startOfYearTimestamp = date.getTime();
  var difference = timestamp - startOfYearTimestamp;
  return Math.floor(difference / MILLISECONDS_IN_DAY) + 1;
}

// node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.js
function startOfUTCISOWeek(dirtyDate) {
  requiredArgs(1, arguments);
  var weekStartsOn = 1;
  var date = toDate(dirtyDate);
  var day = date.getUTCDay();
  var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
  date.setUTCDate(date.getUTCDate() - diff);
  date.setUTCHours(0, 0, 0, 0);
  return date;
}

// node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.js
function getUTCISOWeekYear(dirtyDate) {
  requiredArgs(1, arguments);
  var date = toDate(dirtyDate);
  var year = date.getUTCFullYear();
  var fourthOfJanuaryOfNextYear = /* @__PURE__ */ new Date(0);
  fourthOfJanuaryOfNextYear.setUTCFullYear(year + 1, 0, 4);
  fourthOfJanuaryOfNextYear.setUTCHours(0, 0, 0, 0);
  var startOfNextYear = startOfUTCISOWeek(fourthOfJanuaryOfNextYear);
  var fourthOfJanuaryOfThisYear = /* @__PURE__ */ new Date(0);
  fourthOfJanuaryOfThisYear.setUTCFullYear(year, 0, 4);
  fourthOfJanuaryOfThisYear.setUTCHours(0, 0, 0, 0);
  var startOfThisYear = startOfUTCISOWeek(fourthOfJanuaryOfThisYear);
  if (date.getTime() >= startOfNextYear.getTime()) {
    return year + 1;
  } else if (date.getTime() >= startOfThisYear.getTime()) {
    return year;
  } else {
    return year - 1;
  }
}

// node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.js
function startOfUTCISOWeekYear(dirtyDate) {
  requiredArgs(1, arguments);
  var year = getUTCISOWeekYear(dirtyDate);
  var fourthOfJanuary = /* @__PURE__ */ new Date(0);
  fourthOfJanuary.setUTCFullYear(year, 0, 4);
  fourthOfJanuary.setUTCHours(0, 0, 0, 0);
  var date = startOfUTCISOWeek(fourthOfJanuary);
  return date;
}

// node_modules/date-fns/esm/_lib/getUTCISOWeek/index.js
var MILLISECONDS_IN_WEEK = 6048e5;
function getUTCISOWeek(dirtyDate) {
  requiredArgs(1, arguments);
  var date = toDate(dirtyDate);
  var diff = startOfUTCISOWeek(date).getTime() - startOfUTCISOWeekYear(date).getTime();
  return Math.round(diff / MILLISECONDS_IN_WEEK) + 1;
}

// node_modules/date-fns/esm/_lib/startOfUTCWeek/index.js
function startOfUTCWeek(dirtyDate, options) {
  var _ref, _ref2, _ref3, _options$weekStartsOn, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2;
  requiredArgs(1, arguments);
  var defaultOptions2 = getDefaultOptions();
  var weekStartsOn = toInteger((_ref = (_ref2 = (_ref3 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions2.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions2.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.weekStartsOn) !== null && _ref !== void 0 ? _ref : 0);
  if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {
    throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
  }
  var date = toDate(dirtyDate);
  var day = date.getUTCDay();
  var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
  date.setUTCDate(date.getUTCDate() - diff);
  date.setUTCHours(0, 0, 0, 0);
  return date;
}

// node_modules/date-fns/esm/_lib/getUTCWeekYear/index.js
function getUTCWeekYear(dirtyDate, options) {
  var _ref, _ref2, _ref3, _options$firstWeekCon, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2;
  requiredArgs(1, arguments);
  var date = toDate(dirtyDate);
  var year = date.getUTCFullYear();
  var defaultOptions2 = getDefaultOptions();
  var firstWeekContainsDate = toInteger((_ref = (_ref2 = (_ref3 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions2.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions2.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref !== void 0 ? _ref : 1);
  if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {
    throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
  }
  var firstWeekOfNextYear = /* @__PURE__ */ new Date(0);
  firstWeekOfNextYear.setUTCFullYear(year + 1, 0, firstWeekContainsDate);
  firstWeekOfNextYear.setUTCHours(0, 0, 0, 0);
  var startOfNextYear = startOfUTCWeek(firstWeekOfNextYear, options);
  var firstWeekOfThisYear = /* @__PURE__ */ new Date(0);
  firstWeekOfThisYear.setUTCFullYear(year, 0, firstWeekContainsDate);
  firstWeekOfThisYear.setUTCHours(0, 0, 0, 0);
  var startOfThisYear = startOfUTCWeek(firstWeekOfThisYear, options);
  if (date.getTime() >= startOfNextYear.getTime()) {
    return year + 1;
  } else if (date.getTime() >= startOfThisYear.getTime()) {
    return year;
  } else {
    return year - 1;
  }
}

// node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.js
function startOfUTCWeekYear(dirtyDate, options) {
  var _ref, _ref2, _ref3, _options$firstWeekCon, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2;
  requiredArgs(1, arguments);
  var defaultOptions2 = getDefaultOptions();
  var firstWeekContainsDate = toInteger((_ref = (_ref2 = (_ref3 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions2.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions2.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref !== void 0 ? _ref : 1);
  var year = getUTCWeekYear(dirtyDate, options);
  var firstWeek = /* @__PURE__ */ new Date(0);
  firstWeek.setUTCFullYear(year, 0, firstWeekContainsDate);
  firstWeek.setUTCHours(0, 0, 0, 0);
  var date = startOfUTCWeek(firstWeek, options);
  return date;
}

// node_modules/date-fns/esm/_lib/getUTCWeek/index.js
var MILLISECONDS_IN_WEEK2 = 6048e5;
function getUTCWeek(dirtyDate, options) {
  requiredArgs(1, arguments);
  var date = toDate(dirtyDate);
  var diff = startOfUTCWeek(date, options).getTime() - startOfUTCWeekYear(date, options).getTime();
  return Math.round(diff / MILLISECONDS_IN_WEEK2) + 1;
}

// node_modules/date-fns/esm/_lib/addLeadingZeros/index.js
function addLeadingZeros(number, targetLength) {
  var sign = number < 0 ? "-" : "";
  var output = Math.abs(number).toString();
  while (output.length < targetLength) {
    output = "0" + output;
  }
  return sign + output;
}

// node_modules/date-fns/esm/_lib/format/lightFormatters/index.js
var formatters = {
  // Year
  y: function y2(date, token) {
    var signedYear = date.getUTCFullYear();
    var year = signedYear > 0 ? signedYear : 1 - signedYear;
    return addLeadingZeros(token === "yy" ? year % 100 : year, token.length);
  },
  // Month
  M: function M(date, token) {
    var month = date.getUTCMonth();
    return token === "M" ? String(month + 1) : addLeadingZeros(month + 1, 2);
  },
  // Day of the month
  d: function d3(date, token) {
    return addLeadingZeros(date.getUTCDate(), token.length);
  },
  // AM or PM
  a: function a3(date, token) {
    var dayPeriodEnumValue = date.getUTCHours() / 12 >= 1 ? "pm" : "am";
    switch (token) {
      case "a":
      case "aa":
        return dayPeriodEnumValue.toUpperCase();
      case "aaa":
        return dayPeriodEnumValue;
      case "aaaaa":
        return dayPeriodEnumValue[0];
      case "aaaa":
      default:
        return dayPeriodEnumValue === "am" ? "a.m." : "p.m.";
    }
  },
  // Hour [1-12]
  h: function h3(date, token) {
    return addLeadingZeros(date.getUTCHours() % 12 || 12, token.length);
  },
  // Hour [0-23]
  H: function H(date, token) {
    return addLeadingZeros(date.getUTCHours(), token.length);
  },
  // Minute
  m: function m2(date, token) {
    return addLeadingZeros(date.getUTCMinutes(), token.length);
  },
  // Second
  s: function s5(date, token) {
    return addLeadingZeros(date.getUTCSeconds(), token.length);
  },
  // Fraction of second
  S: function S(date, token) {
    var numberOfDigits = token.length;
    var milliseconds = date.getUTCMilliseconds();
    var fractionalSeconds = Math.floor(milliseconds * Math.pow(10, numberOfDigits - 3));
    return addLeadingZeros(fractionalSeconds, token.length);
  }
};
var lightFormatters_default = formatters;

// node_modules/date-fns/esm/_lib/format/formatters/index.js
var dayPeriodEnum = {
  am: "am",
  pm: "pm",
  midnight: "midnight",
  noon: "noon",
  morning: "morning",
  afternoon: "afternoon",
  evening: "evening",
  night: "night"
};
var formatters2 = {
  // Era
  G: function G(date, token, localize2) {
    var era = date.getUTCFullYear() > 0 ? 1 : 0;
    switch (token) {
      // AD, BC
      case "G":
      case "GG":
      case "GGG":
        return localize2.era(era, {
          width: "abbreviated"
        });
      // A, B
      case "GGGGG":
        return localize2.era(era, {
          width: "narrow"
        });
      // Anno Domini, Before Christ
      case "GGGG":
      default:
        return localize2.era(era, {
          width: "wide"
        });
    }
  },
  // Year
  y: function y3(date, token, localize2) {
    if (token === "yo") {
      var signedYear = date.getUTCFullYear();
      var year = signedYear > 0 ? signedYear : 1 - signedYear;
      return localize2.ordinalNumber(year, {
        unit: "year"
      });
    }
    return lightFormatters_default.y(date, token);
  },
  // Local week-numbering year
  Y: function Y(date, token, localize2, options) {
    var signedWeekYear = getUTCWeekYear(date, options);
    var weekYear = signedWeekYear > 0 ? signedWeekYear : 1 - signedWeekYear;
    if (token === "YY") {
      var twoDigitYear = weekYear % 100;
      return addLeadingZeros(twoDigitYear, 2);
    }
    if (token === "Yo") {
      return localize2.ordinalNumber(weekYear, {
        unit: "year"
      });
    }
    return addLeadingZeros(weekYear, token.length);
  },
  // ISO week-numbering year
  R: function R(date, token) {
    var isoWeekYear = getUTCISOWeekYear(date);
    return addLeadingZeros(isoWeekYear, token.length);
  },
  // Extended year. This is a single number designating the year of this calendar system.
  // The main difference between `y` and `u` localizers are B.C. years:
  // | Year | `y` | `u` |
  // |------|-----|-----|
  // | AC 1 |   1 |   1 |
  // | BC 1 |   1 |   0 |
  // | BC 2 |   2 |  -1 |
  // Also `yy` always returns the last two digits of a year,
  // while `uu` pads single digit years to 2 characters and returns other years unchanged.
  u: function u3(date, token) {
    var year = date.getUTCFullYear();
    return addLeadingZeros(year, token.length);
  },
  // Quarter
  Q: function Q(date, token, localize2) {
    var quarter = Math.ceil((date.getUTCMonth() + 1) / 3);
    switch (token) {
      // 1, 2, 3, 4
      case "Q":
        return String(quarter);
      // 01, 02, 03, 04
      case "QQ":
        return addLeadingZeros(quarter, 2);
      // 1st, 2nd, 3rd, 4th
      case "Qo":
        return localize2.ordinalNumber(quarter, {
          unit: "quarter"
        });
      // Q1, Q2, Q3, Q4
      case "QQQ":
        return localize2.quarter(quarter, {
          width: "abbreviated",
          context: "formatting"
        });
      // 1, 2, 3, 4 (narrow quarter; could be not numerical)
      case "QQQQQ":
        return localize2.quarter(quarter, {
          width: "narrow",
          context: "formatting"
        });
      // 1st quarter, 2nd quarter, ...
      case "QQQQ":
      default:
        return localize2.quarter(quarter, {
          width: "wide",
          context: "formatting"
        });
    }
  },
  // Stand-alone quarter
  q: function q2(date, token, localize2) {
    var quarter = Math.ceil((date.getUTCMonth() + 1) / 3);
    switch (token) {
      // 1, 2, 3, 4
      case "q":
        return String(quarter);
      // 01, 02, 03, 04
      case "qq":
        return addLeadingZeros(quarter, 2);
      // 1st, 2nd, 3rd, 4th
      case "qo":
        return localize2.ordinalNumber(quarter, {
          unit: "quarter"
        });
      // Q1, Q2, Q3, Q4
      case "qqq":
        return localize2.quarter(quarter, {
          width: "abbreviated",
          context: "standalone"
        });
      // 1, 2, 3, 4 (narrow quarter; could be not numerical)
      case "qqqqq":
        return localize2.quarter(quarter, {
          width: "narrow",
          context: "standalone"
        });
      // 1st quarter, 2nd quarter, ...
      case "qqqq":
      default:
        return localize2.quarter(quarter, {
          width: "wide",
          context: "standalone"
        });
    }
  },
  // Month
  M: function M2(date, token, localize2) {
    var month = date.getUTCMonth();
    switch (token) {
      case "M":
      case "MM":
        return lightFormatters_default.M(date, token);
      // 1st, 2nd, ..., 12th
      case "Mo":
        return localize2.ordinalNumber(month + 1, {
          unit: "month"
        });
      // Jan, Feb, ..., Dec
      case "MMM":
        return localize2.month(month, {
          width: "abbreviated",
          context: "formatting"
        });
      // J, F, ..., D
      case "MMMMM":
        return localize2.month(month, {
          width: "narrow",
          context: "formatting"
        });
      // January, February, ..., December
      case "MMMM":
      default:
        return localize2.month(month, {
          width: "wide",
          context: "formatting"
        });
    }
  },
  // Stand-alone month
  L: function L2(date, token, localize2) {
    var month = date.getUTCMonth();
    switch (token) {
      // 1, 2, ..., 12
      case "L":
        return String(month + 1);
      // 01, 02, ..., 12
      case "LL":
        return addLeadingZeros(month + 1, 2);
      // 1st, 2nd, ..., 12th
      case "Lo":
        return localize2.ordinalNumber(month + 1, {
          unit: "month"
        });
      // Jan, Feb, ..., Dec
      case "LLL":
        return localize2.month(month, {
          width: "abbreviated",
          context: "standalone"
        });
      // J, F, ..., D
      case "LLLLL":
        return localize2.month(month, {
          width: "narrow",
          context: "standalone"
        });
      // January, February, ..., December
      case "LLLL":
      default:
        return localize2.month(month, {
          width: "wide",
          context: "standalone"
        });
    }
  },
  // Local week of year
  w: function w(date, token, localize2, options) {
    var week = getUTCWeek(date, options);
    if (token === "wo") {
      return localize2.ordinalNumber(week, {
        unit: "week"
      });
    }
    return addLeadingZeros(week, token.length);
  },
  // ISO week of year
  I: function I2(date, token, localize2) {
    var isoWeek = getUTCISOWeek(date);
    if (token === "Io") {
      return localize2.ordinalNumber(isoWeek, {
        unit: "week"
      });
    }
    return addLeadingZeros(isoWeek, token.length);
  },
  // Day of the month
  d: function d4(date, token, localize2) {
    if (token === "do") {
      return localize2.ordinalNumber(date.getUTCDate(), {
        unit: "date"
      });
    }
    return lightFormatters_default.d(date, token);
  },
  // Day of year
  D: function D2(date, token, localize2) {
    var dayOfYear = getUTCDayOfYear(date);
    if (token === "Do") {
      return localize2.ordinalNumber(dayOfYear, {
        unit: "dayOfYear"
      });
    }
    return addLeadingZeros(dayOfYear, token.length);
  },
  // Day of week
  E: function E2(date, token, localize2) {
    var dayOfWeek = date.getUTCDay();
    switch (token) {
      // Tue
      case "E":
      case "EE":
      case "EEE":
        return localize2.day(dayOfWeek, {
          width: "abbreviated",
          context: "formatting"
        });
      // T
      case "EEEEE":
        return localize2.day(dayOfWeek, {
          width: "narrow",
          context: "formatting"
        });
      // Tu
      case "EEEEEE":
        return localize2.day(dayOfWeek, {
          width: "short",
          context: "formatting"
        });
      // Tuesday
      case "EEEE":
      default:
        return localize2.day(dayOfWeek, {
          width: "wide",
          context: "formatting"
        });
    }
  },
  // Local day of week
  e: function e5(date, token, localize2, options) {
    var dayOfWeek = date.getUTCDay();
    var localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;
    switch (token) {
      // Numerical value (Nth day of week with current locale or weekStartsOn)
      case "e":
        return String(localDayOfWeek);
      // Padded numerical value
      case "ee":
        return addLeadingZeros(localDayOfWeek, 2);
      // 1st, 2nd, ..., 7th
      case "eo":
        return localize2.ordinalNumber(localDayOfWeek, {
          unit: "day"
        });
      case "eee":
        return localize2.day(dayOfWeek, {
          width: "abbreviated",
          context: "formatting"
        });
      // T
      case "eeeee":
        return localize2.day(dayOfWeek, {
          width: "narrow",
          context: "formatting"
        });
      // Tu
      case "eeeeee":
        return localize2.day(dayOfWeek, {
          width: "short",
          context: "formatting"
        });
      // Tuesday
      case "eeee":
      default:
        return localize2.day(dayOfWeek, {
          width: "wide",
          context: "formatting"
        });
    }
  },
  // Stand-alone local day of week
  c: function c4(date, token, localize2, options) {
    var dayOfWeek = date.getUTCDay();
    var localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;
    switch (token) {
      // Numerical value (same as in `e`)
      case "c":
        return String(localDayOfWeek);
      // Padded numerical value
      case "cc":
        return addLeadingZeros(localDayOfWeek, token.length);
      // 1st, 2nd, ..., 7th
      case "co":
        return localize2.ordinalNumber(localDayOfWeek, {
          unit: "day"
        });
      case "ccc":
        return localize2.day(dayOfWeek, {
          width: "abbreviated",
          context: "standalone"
        });
      // T
      case "ccccc":
        return localize2.day(dayOfWeek, {
          width: "narrow",
          context: "standalone"
        });
      // Tu
      case "cccccc":
        return localize2.day(dayOfWeek, {
          width: "short",
          context: "standalone"
        });
      // Tuesday
      case "cccc":
      default:
        return localize2.day(dayOfWeek, {
          width: "wide",
          context: "standalone"
        });
    }
  },
  // ISO day of week
  i: function i5(date, token, localize2) {
    var dayOfWeek = date.getUTCDay();
    var isoDayOfWeek = dayOfWeek === 0 ? 7 : dayOfWeek;
    switch (token) {
      // 2
      case "i":
        return String(isoDayOfWeek);
      // 02
      case "ii":
        return addLeadingZeros(isoDayOfWeek, token.length);
      // 2nd
      case "io":
        return localize2.ordinalNumber(isoDayOfWeek, {
          unit: "day"
        });
      // Tue
      case "iii":
        return localize2.day(dayOfWeek, {
          width: "abbreviated",
          context: "formatting"
        });
      // T
      case "iiiii":
        return localize2.day(dayOfWeek, {
          width: "narrow",
          context: "formatting"
        });
      // Tu
      case "iiiiii":
        return localize2.day(dayOfWeek, {
          width: "short",
          context: "formatting"
        });
      // Tuesday
      case "iiii":
      default:
        return localize2.day(dayOfWeek, {
          width: "wide",
          context: "formatting"
        });
    }
  },
  // AM or PM
  a: function a4(date, token, localize2) {
    var hours = date.getUTCHours();
    var dayPeriodEnumValue = hours / 12 >= 1 ? "pm" : "am";
    switch (token) {
      case "a":
      case "aa":
        return localize2.dayPeriod(dayPeriodEnumValue, {
          width: "abbreviated",
          context: "formatting"
        });
      case "aaa":
        return localize2.dayPeriod(dayPeriodEnumValue, {
          width: "abbreviated",
          context: "formatting"
        }).toLowerCase();
      case "aaaaa":
        return localize2.dayPeriod(dayPeriodEnumValue, {
          width: "narrow",
          context: "formatting"
        });
      case "aaaa":
      default:
        return localize2.dayPeriod(dayPeriodEnumValue, {
          width: "wide",
          context: "formatting"
        });
    }
  },
  // AM, PM, midnight, noon
  b: function b2(date, token, localize2) {
    var hours = date.getUTCHours();
    var dayPeriodEnumValue;
    if (hours === 12) {
      dayPeriodEnumValue = dayPeriodEnum.noon;
    } else if (hours === 0) {
      dayPeriodEnumValue = dayPeriodEnum.midnight;
    } else {
      dayPeriodEnumValue = hours / 12 >= 1 ? "pm" : "am";
    }
    switch (token) {
      case "b":
      case "bb":
        return localize2.dayPeriod(dayPeriodEnumValue, {
          width: "abbreviated",
          context: "formatting"
        });
      case "bbb":
        return localize2.dayPeriod(dayPeriodEnumValue, {
          width: "abbreviated",
          context: "formatting"
        }).toLowerCase();
      case "bbbbb":
        return localize2.dayPeriod(dayPeriodEnumValue, {
          width: "narrow",
          context: "formatting"
        });
      case "bbbb":
      default:
        return localize2.dayPeriod(dayPeriodEnumValue, {
          width: "wide",
          context: "formatting"
        });
    }
  },
  // in the morning, in the afternoon, in the evening, at night
  B: function B2(date, token, localize2) {
    var hours = date.getUTCHours();
    var dayPeriodEnumValue;
    if (hours >= 17) {
      dayPeriodEnumValue = dayPeriodEnum.evening;
    } else if (hours >= 12) {
      dayPeriodEnumValue = dayPeriodEnum.afternoon;
    } else if (hours >= 4) {
      dayPeriodEnumValue = dayPeriodEnum.morning;
    } else {
      dayPeriodEnumValue = dayPeriodEnum.night;
    }
    switch (token) {
      case "B":
      case "BB":
      case "BBB":
        return localize2.dayPeriod(dayPeriodEnumValue, {
          width: "abbreviated",
          context: "formatting"
        });
      case "BBBBB":
        return localize2.dayPeriod(dayPeriodEnumValue, {
          width: "narrow",
          context: "formatting"
        });
      case "BBBB":
      default:
        return localize2.dayPeriod(dayPeriodEnumValue, {
          width: "wide",
          context: "formatting"
        });
    }
  },
  // Hour [1-12]
  h: function h4(date, token, localize2) {
    if (token === "ho") {
      var hours = date.getUTCHours() % 12;
      if (hours === 0) hours = 12;
      return localize2.ordinalNumber(hours, {
        unit: "hour"
      });
    }
    return lightFormatters_default.h(date, token);
  },
  // Hour [0-23]
  H: function H2(date, token, localize2) {
    if (token === "Ho") {
      return localize2.ordinalNumber(date.getUTCHours(), {
        unit: "hour"
      });
    }
    return lightFormatters_default.H(date, token);
  },
  // Hour [0-11]
  K: function K(date, token, localize2) {
    var hours = date.getUTCHours() % 12;
    if (token === "Ko") {
      return localize2.ordinalNumber(hours, {
        unit: "hour"
      });
    }
    return addLeadingZeros(hours, token.length);
  },
  // Hour [1-24]
  k: function k(date, token, localize2) {
    var hours = date.getUTCHours();
    if (hours === 0) hours = 24;
    if (token === "ko") {
      return localize2.ordinalNumber(hours, {
        unit: "hour"
      });
    }
    return addLeadingZeros(hours, token.length);
  },
  // Minute
  m: function m3(date, token, localize2) {
    if (token === "mo") {
      return localize2.ordinalNumber(date.getUTCMinutes(), {
        unit: "minute"
      });
    }
    return lightFormatters_default.m(date, token);
  },
  // Second
  s: function s6(date, token, localize2) {
    if (token === "so") {
      return localize2.ordinalNumber(date.getUTCSeconds(), {
        unit: "second"
      });
    }
    return lightFormatters_default.s(date, token);
  },
  // Fraction of second
  S: function S2(date, token) {
    return lightFormatters_default.S(date, token);
  },
  // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
  X: function X(date, token, _localize, options) {
    var originalDate = options._originalDate || date;
    var timezoneOffset = originalDate.getTimezoneOffset();
    if (timezoneOffset === 0) {
      return "Z";
    }
    switch (token) {
      // Hours and optional minutes
      case "X":
        return formatTimezoneWithOptionalMinutes(timezoneOffset);
      // Hours, minutes and optional seconds without `:` delimiter
      // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
      // so this token always has the same output as `XX`
      case "XXXX":
      case "XX":
        return formatTimezone(timezoneOffset);
      // Hours, minutes and optional seconds with `:` delimiter
      // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
      // so this token always has the same output as `XXX`
      case "XXXXX":
      case "XXX":
      // Hours and minutes with `:` delimiter
      default:
        return formatTimezone(timezoneOffset, ":");
    }
  },
  // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
  x: function x2(date, token, _localize, options) {
    var originalDate = options._originalDate || date;
    var timezoneOffset = originalDate.getTimezoneOffset();
    switch (token) {
      // Hours and optional minutes
      case "x":
        return formatTimezoneWithOptionalMinutes(timezoneOffset);
      // Hours, minutes and optional seconds without `:` delimiter
      // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
      // so this token always has the same output as `xx`
      case "xxxx":
      case "xx":
        return formatTimezone(timezoneOffset);
      // Hours, minutes and optional seconds with `:` delimiter
      // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
      // so this token always has the same output as `xxx`
      case "xxxxx":
      case "xxx":
      // Hours and minutes with `:` delimiter
      default:
        return formatTimezone(timezoneOffset, ":");
    }
  },
  // Timezone (GMT)
  O: function O(date, token, _localize, options) {
    var originalDate = options._originalDate || date;
    var timezoneOffset = originalDate.getTimezoneOffset();
    switch (token) {
      // Short
      case "O":
      case "OO":
      case "OOO":
        return "GMT" + formatTimezoneShort(timezoneOffset, ":");
      // Long
      case "OOOO":
      default:
        return "GMT" + formatTimezone(timezoneOffset, ":");
    }
  },
  // Timezone (specific non-location)
  z: function z(date, token, _localize, options) {
    var originalDate = options._originalDate || date;
    var timezoneOffset = originalDate.getTimezoneOffset();
    switch (token) {
      // Short
      case "z":
      case "zz":
      case "zzz":
        return "GMT" + formatTimezoneShort(timezoneOffset, ":");
      // Long
      case "zzzz":
      default:
        return "GMT" + formatTimezone(timezoneOffset, ":");
    }
  },
  // Seconds timestamp
  t: function t6(date, token, _localize, options) {
    var originalDate = options._originalDate || date;
    var timestamp = Math.floor(originalDate.getTime() / 1e3);
    return addLeadingZeros(timestamp, token.length);
  },
  // Milliseconds timestamp
  T: function T2(date, token, _localize, options) {
    var originalDate = options._originalDate || date;
    var timestamp = originalDate.getTime();
    return addLeadingZeros(timestamp, token.length);
  }
};
function formatTimezoneShort(offset, dirtyDelimiter) {
  var sign = offset > 0 ? "-" : "+";
  var absOffset = Math.abs(offset);
  var hours = Math.floor(absOffset / 60);
  var minutes = absOffset % 60;
  if (minutes === 0) {
    return sign + String(hours);
  }
  var delimiter = dirtyDelimiter || "";
  return sign + String(hours) + delimiter + addLeadingZeros(minutes, 2);
}
function formatTimezoneWithOptionalMinutes(offset, dirtyDelimiter) {
  if (offset % 60 === 0) {
    var sign = offset > 0 ? "-" : "+";
    return sign + addLeadingZeros(Math.abs(offset) / 60, 2);
  }
  return formatTimezone(offset, dirtyDelimiter);
}
function formatTimezone(offset, dirtyDelimiter) {
  var delimiter = dirtyDelimiter || "";
  var sign = offset > 0 ? "-" : "+";
  var absOffset = Math.abs(offset);
  var hours = addLeadingZeros(Math.floor(absOffset / 60), 2);
  var minutes = addLeadingZeros(absOffset % 60, 2);
  return sign + hours + delimiter + minutes;
}
var formatters_default = formatters2;

// node_modules/date-fns/esm/_lib/format/longFormatters/index.js
var dateLongFormatter = function dateLongFormatter2(pattern, formatLong2) {
  switch (pattern) {
    case "P":
      return formatLong2.date({
        width: "short"
      });
    case "PP":
      return formatLong2.date({
        width: "medium"
      });
    case "PPP":
      return formatLong2.date({
        width: "long"
      });
    case "PPPP":
    default:
      return formatLong2.date({
        width: "full"
      });
  }
};
var timeLongFormatter = function timeLongFormatter2(pattern, formatLong2) {
  switch (pattern) {
    case "p":
      return formatLong2.time({
        width: "short"
      });
    case "pp":
      return formatLong2.time({
        width: "medium"
      });
    case "ppp":
      return formatLong2.time({
        width: "long"
      });
    case "pppp":
    default:
      return formatLong2.time({
        width: "full"
      });
  }
};
var dateTimeLongFormatter = function dateTimeLongFormatter2(pattern, formatLong2) {
  var matchResult = pattern.match(/(P+)(p+)?/) || [];
  var datePattern = matchResult[1];
  var timePattern = matchResult[2];
  if (!timePattern) {
    return dateLongFormatter(pattern, formatLong2);
  }
  var dateTimeFormat;
  switch (datePattern) {
    case "P":
      dateTimeFormat = formatLong2.dateTime({
        width: "short"
      });
      break;
    case "PP":
      dateTimeFormat = formatLong2.dateTime({
        width: "medium"
      });
      break;
    case "PPP":
      dateTimeFormat = formatLong2.dateTime({
        width: "long"
      });
      break;
    case "PPPP":
    default:
      dateTimeFormat = formatLong2.dateTime({
        width: "full"
      });
      break;
  }
  return dateTimeFormat.replace("{{date}}", dateLongFormatter(datePattern, formatLong2)).replace("{{time}}", timeLongFormatter(timePattern, formatLong2));
};
var longFormatters = {
  p: timeLongFormatter,
  P: dateTimeLongFormatter
};
var longFormatters_default = longFormatters;

// node_modules/date-fns/esm/_lib/protectedTokens/index.js
var protectedDayOfYearTokens = ["D", "DD"];
var protectedWeekYearTokens = ["YY", "YYYY"];
function isProtectedDayOfYearToken(token) {
  return protectedDayOfYearTokens.indexOf(token) !== -1;
}
function isProtectedWeekYearToken(token) {
  return protectedWeekYearTokens.indexOf(token) !== -1;
}
function throwProtectedError(token, format2, input) {
  if (token === "YYYY") {
    throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(format2, "`) for formatting years to the input `").concat(input, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
  } else if (token === "YY") {
    throw new RangeError("Use `yy` instead of `YY` (in `".concat(format2, "`) for formatting years to the input `").concat(input, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
  } else if (token === "D") {
    throw new RangeError("Use `d` instead of `D` (in `".concat(format2, "`) for formatting days of the month to the input `").concat(input, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
  } else if (token === "DD") {
    throw new RangeError("Use `dd` instead of `DD` (in `".concat(format2, "`) for formatting days of the month to the input `").concat(input, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
  }
}

// node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.js
var formatDistanceLocale = {
  lessThanXSeconds: {
    one: "less than a second",
    other: "less than {{count}} seconds"
  },
  xSeconds: {
    one: "1 second",
    other: "{{count}} seconds"
  },
  halfAMinute: "half a minute",
  lessThanXMinutes: {
    one: "less than a minute",
    other: "less than {{count}} minutes"
  },
  xMinutes: {
    one: "1 minute",
    other: "{{count}} minutes"
  },
  aboutXHours: {
    one: "about 1 hour",
    other: "about {{count}} hours"
  },
  xHours: {
    one: "1 hour",
    other: "{{count}} hours"
  },
  xDays: {
    one: "1 day",
    other: "{{count}} days"
  },
  aboutXWeeks: {
    one: "about 1 week",
    other: "about {{count}} weeks"
  },
  xWeeks: {
    one: "1 week",
    other: "{{count}} weeks"
  },
  aboutXMonths: {
    one: "about 1 month",
    other: "about {{count}} months"
  },
  xMonths: {
    one: "1 month",
    other: "{{count}} months"
  },
  aboutXYears: {
    one: "about 1 year",
    other: "about {{count}} years"
  },
  xYears: {
    one: "1 year",
    other: "{{count}} years"
  },
  overXYears: {
    one: "over 1 year",
    other: "over {{count}} years"
  },
  almostXYears: {
    one: "almost 1 year",
    other: "almost {{count}} years"
  }
};
var formatDistance = function formatDistance2(token, count, options) {
  var result;
  var tokenValue = formatDistanceLocale[token];
  if (typeof tokenValue === "string") {
    result = tokenValue;
  } else if (count === 1) {
    result = tokenValue.one;
  } else {
    result = tokenValue.other.replace("{{count}}", count.toString());
  }
  if (options !== null && options !== void 0 && options.addSuffix) {
    if (options.comparison && options.comparison > 0) {
      return "in " + result;
    } else {
      return result + " ago";
    }
  }
  return result;
};
var formatDistance_default = formatDistance;

// node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.js
function buildFormatLongFn(args) {
  return function() {
    var options = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
    var width = options.width ? String(options.width) : args.defaultWidth;
    var format2 = args.formats[width] || args.formats[args.defaultWidth];
    return format2;
  };
}

// node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.js
var dateFormats = {
  full: "EEEE, MMMM do, y",
  long: "MMMM do, y",
  medium: "MMM d, y",
  short: "MM/dd/yyyy"
};
var timeFormats = {
  full: "h:mm:ss a zzzz",
  long: "h:mm:ss a z",
  medium: "h:mm:ss a",
  short: "h:mm a"
};
var dateTimeFormats = {
  full: "{{date}} 'at' {{time}}",
  long: "{{date}} 'at' {{time}}",
  medium: "{{date}}, {{time}}",
  short: "{{date}}, {{time}}"
};
var formatLong = {
  date: buildFormatLongFn({
    formats: dateFormats,
    defaultWidth: "full"
  }),
  time: buildFormatLongFn({
    formats: timeFormats,
    defaultWidth: "full"
  }),
  dateTime: buildFormatLongFn({
    formats: dateTimeFormats,
    defaultWidth: "full"
  })
};
var formatLong_default = formatLong;

// node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.js
var formatRelativeLocale = {
  lastWeek: "'last' eeee 'at' p",
  yesterday: "'yesterday at' p",
  today: "'today at' p",
  tomorrow: "'tomorrow at' p",
  nextWeek: "eeee 'at' p",
  other: "P"
};
var formatRelative = function formatRelative2(token, _date, _baseDate, _options) {
  return formatRelativeLocale[token];
};
var formatRelative_default = formatRelative;

// node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.js
function buildLocalizeFn(args) {
  return function(dirtyIndex, options) {
    var context = options !== null && options !== void 0 && options.context ? String(options.context) : "standalone";
    var valuesArray;
    if (context === "formatting" && args.formattingValues) {
      var defaultWidth = args.defaultFormattingWidth || args.defaultWidth;
      var width = options !== null && options !== void 0 && options.width ? String(options.width) : defaultWidth;
      valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];
    } else {
      var _defaultWidth = args.defaultWidth;
      var _width = options !== null && options !== void 0 && options.width ? String(options.width) : args.defaultWidth;
      valuesArray = args.values[_width] || args.values[_defaultWidth];
    }
    var index = args.argumentCallback ? args.argumentCallback(dirtyIndex) : dirtyIndex;
    return valuesArray[index];
  };
}

// node_modules/date-fns/esm/locale/en-US/_lib/localize/index.js
var eraValues = {
  narrow: ["B", "A"],
  abbreviated: ["BC", "AD"],
  wide: ["Before Christ", "Anno Domini"]
};
var quarterValues = {
  narrow: ["1", "2", "3", "4"],
  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
  wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
};
var monthValues = {
  narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
  abbreviated: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
  wide: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
};
var dayValues = {
  narrow: ["S", "M", "T", "W", "T", "F", "S"],
  short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
  abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
  wide: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
};
var dayPeriodValues = {
  narrow: {
    am: "a",
    pm: "p",
    midnight: "mi",
    noon: "n",
    morning: "morning",
    afternoon: "afternoon",
    evening: "evening",
    night: "night"
  },
  abbreviated: {
    am: "AM",
    pm: "PM",
    midnight: "midnight",
    noon: "noon",
    morning: "morning",
    afternoon: "afternoon",
    evening: "evening",
    night: "night"
  },
  wide: {
    am: "a.m.",
    pm: "p.m.",
    midnight: "midnight",
    noon: "noon",
    morning: "morning",
    afternoon: "afternoon",
    evening: "evening",
    night: "night"
  }
};
var formattingDayPeriodValues = {
  narrow: {
    am: "a",
    pm: "p",
    midnight: "mi",
    noon: "n",
    morning: "in the morning",
    afternoon: "in the afternoon",
    evening: "in the evening",
    night: "at night"
  },
  abbreviated: {
    am: "AM",
    pm: "PM",
    midnight: "midnight",
    noon: "noon",
    morning: "in the morning",
    afternoon: "in the afternoon",
    evening: "in the evening",
    night: "at night"
  },
  wide: {
    am: "a.m.",
    pm: "p.m.",
    midnight: "midnight",
    noon: "noon",
    morning: "in the morning",
    afternoon: "in the afternoon",
    evening: "in the evening",
    night: "at night"
  }
};
var ordinalNumber = function ordinalNumber2(dirtyNumber, _options) {
  var number = Number(dirtyNumber);
  var rem100 = number % 100;
  if (rem100 > 20 || rem100 < 10) {
    switch (rem100 % 10) {
      case 1:
        return number + "st";
      case 2:
        return number + "nd";
      case 3:
        return number + "rd";
    }
  }
  return number + "th";
};
var localize = {
  ordinalNumber,
  era: buildLocalizeFn({
    values: eraValues,
    defaultWidth: "wide"
  }),
  quarter: buildLocalizeFn({
    values: quarterValues,
    defaultWidth: "wide",
    argumentCallback: function argumentCallback(quarter) {
      return quarter - 1;
    }
  }),
  month: buildLocalizeFn({
    values: monthValues,
    defaultWidth: "wide"
  }),
  day: buildLocalizeFn({
    values: dayValues,
    defaultWidth: "wide"
  }),
  dayPeriod: buildLocalizeFn({
    values: dayPeriodValues,
    defaultWidth: "wide",
    formattingValues: formattingDayPeriodValues,
    defaultFormattingWidth: "wide"
  })
};
var localize_default = localize;

// node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.js
function buildMatchFn(args) {
  return function(string) {
    var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
    var width = options.width;
    var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];
    var matchResult = string.match(matchPattern);
    if (!matchResult) {
      return null;
    }
    var matchedString = matchResult[0];
    var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];
    var key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, function(pattern) {
      return pattern.test(matchedString);
    }) : findKey(parsePatterns, function(pattern) {
      return pattern.test(matchedString);
    });
    var value;
    value = args.valueCallback ? args.valueCallback(key) : key;
    value = options.valueCallback ? options.valueCallback(value) : value;
    var rest = string.slice(matchedString.length);
    return {
      value,
      rest
    };
  };
}
function findKey(object, predicate) {
  for (var key in object) {
    if (object.hasOwnProperty(key) && predicate(object[key])) {
      return key;
    }
  }
  return void 0;
}
function findIndex(array, predicate) {
  for (var key = 0; key < array.length; key++) {
    if (predicate(array[key])) {
      return key;
    }
  }
  return void 0;
}

// node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.js
function buildMatchPatternFn(args) {
  return function(string) {
    var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
    var matchResult = string.match(args.matchPattern);
    if (!matchResult) return null;
    var matchedString = matchResult[0];
    var parseResult = string.match(args.parsePattern);
    if (!parseResult) return null;
    var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];
    value = options.valueCallback ? options.valueCallback(value) : value;
    var rest = string.slice(matchedString.length);
    return {
      value,
      rest
    };
  };
}

// node_modules/date-fns/esm/locale/en-US/_lib/match/index.js
var matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i;
var parseOrdinalNumberPattern = /\d+/i;
var matchEraPatterns = {
  narrow: /^(b|a)/i,
  abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
  wide: /^(before christ|before common era|anno domini|common era)/i
};
var parseEraPatterns = {
  any: [/^b/i, /^(a|c)/i]
};
var matchQuarterPatterns = {
  narrow: /^[1234]/i,
  abbreviated: /^q[1234]/i,
  wide: /^[1234](th|st|nd|rd)? quarter/i
};
var parseQuarterPatterns = {
  any: [/1/i, /2/i, /3/i, /4/i]
};
var matchMonthPatterns = {
  narrow: /^[jfmasond]/i,
  abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
  wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
};
var parseMonthPatterns = {
  narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],
  any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]
};
var matchDayPatterns = {
  narrow: /^[smtwf]/i,
  short: /^(su|mo|tu|we|th|fr|sa)/i,
  abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
  wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
};
var parseDayPatterns = {
  narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
  any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
};
var matchDayPeriodPatterns = {
  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
  any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
};
var parseDayPeriodPatterns = {
  any: {
    am: /^a/i,
    pm: /^p/i,
    midnight: /^mi/i,
    noon: /^no/i,
    morning: /morning/i,
    afternoon: /afternoon/i,
    evening: /evening/i,
    night: /night/i
  }
};
var match = {
  ordinalNumber: buildMatchPatternFn({
    matchPattern: matchOrdinalNumberPattern,
    parsePattern: parseOrdinalNumberPattern,
    valueCallback: function valueCallback(value) {
      return parseInt(value, 10);
    }
  }),
  era: buildMatchFn({
    matchPatterns: matchEraPatterns,
    defaultMatchWidth: "wide",
    parsePatterns: parseEraPatterns,
    defaultParseWidth: "any"
  }),
  quarter: buildMatchFn({
    matchPatterns: matchQuarterPatterns,
    defaultMatchWidth: "wide",
    parsePatterns: parseQuarterPatterns,
    defaultParseWidth: "any",
    valueCallback: function valueCallback2(index) {
      return index + 1;
    }
  }),
  month: buildMatchFn({
    matchPatterns: matchMonthPatterns,
    defaultMatchWidth: "wide",
    parsePatterns: parseMonthPatterns,
    defaultParseWidth: "any"
  }),
  day: buildMatchFn({
    matchPatterns: matchDayPatterns,
    defaultMatchWidth: "wide",
    parsePatterns: parseDayPatterns,
    defaultParseWidth: "any"
  }),
  dayPeriod: buildMatchFn({
    matchPatterns: matchDayPeriodPatterns,
    defaultMatchWidth: "any",
    parsePatterns: parseDayPeriodPatterns,
    defaultParseWidth: "any"
  })
};
var match_default = match;

// node_modules/date-fns/esm/locale/en-US/index.js
var locale = {
  code: "en-US",
  formatDistance: formatDistance_default,
  formatLong: formatLong_default,
  formatRelative: formatRelative_default,
  localize: localize_default,
  match: match_default,
  options: {
    weekStartsOn: 0,
    firstWeekContainsDate: 1
  }
};
var en_US_default = locale;

// node_modules/date-fns/esm/_lib/defaultLocale/index.js
var defaultLocale_default = en_US_default;

// node_modules/date-fns/esm/format/index.js
var formattingTokensRegExp = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g;
var longFormattingTokensRegExp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;
var escapedStringRegExp = /^'([^]*?)'?$/;
var doubleQuoteRegExp = /''/g;
var unescapedLatinCharacterRegExp = /[a-zA-Z]/;
function format(dirtyDate, dirtyFormatStr, options) {
  var _ref, _options$locale, _ref2, _ref3, _ref4, _options$firstWeekCon, _options$locale2, _options$locale2$opti, _defaultOptions$local, _defaultOptions$local2, _ref5, _ref6, _ref7, _options$weekStartsOn, _options$locale3, _options$locale3$opti, _defaultOptions$local3, _defaultOptions$local4;
  requiredArgs(2, arguments);
  var formatStr = String(dirtyFormatStr);
  var defaultOptions2 = getDefaultOptions();
  var locale2 = (_ref = (_options$locale = options === null || options === void 0 ? void 0 : options.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions2.locale) !== null && _ref !== void 0 ? _ref : defaultLocale_default;
  var firstWeekContainsDate = toInteger((_ref2 = (_ref3 = (_ref4 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale2 = options.locale) === null || _options$locale2 === void 0 ? void 0 : (_options$locale2$opti = _options$locale2.options) === null || _options$locale2$opti === void 0 ? void 0 : _options$locale2$opti.firstWeekContainsDate) !== null && _ref4 !== void 0 ? _ref4 : defaultOptions2.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : (_defaultOptions$local = defaultOptions2.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : 1);
  if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {
    throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
  }
  var weekStartsOn = toInteger((_ref5 = (_ref6 = (_ref7 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale3 = options.locale) === null || _options$locale3 === void 0 ? void 0 : (_options$locale3$opti = _options$locale3.options) === null || _options$locale3$opti === void 0 ? void 0 : _options$locale3$opti.weekStartsOn) !== null && _ref7 !== void 0 ? _ref7 : defaultOptions2.weekStartsOn) !== null && _ref6 !== void 0 ? _ref6 : (_defaultOptions$local3 = defaultOptions2.locale) === null || _defaultOptions$local3 === void 0 ? void 0 : (_defaultOptions$local4 = _defaultOptions$local3.options) === null || _defaultOptions$local4 === void 0 ? void 0 : _defaultOptions$local4.weekStartsOn) !== null && _ref5 !== void 0 ? _ref5 : 0);
  if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {
    throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
  }
  if (!locale2.localize) {
    throw new RangeError("locale must contain localize property");
  }
  if (!locale2.formatLong) {
    throw new RangeError("locale must contain formatLong property");
  }
  var originalDate = toDate(dirtyDate);
  if (!isValid(originalDate)) {
    throw new RangeError("Invalid time value");
  }
  var timezoneOffset = getTimezoneOffsetInMilliseconds(originalDate);
  var utcDate = subMilliseconds(originalDate, timezoneOffset);
  var formatterOptions = {
    firstWeekContainsDate,
    weekStartsOn,
    locale: locale2,
    _originalDate: originalDate
  };
  var result = formatStr.match(longFormattingTokensRegExp).map(function(substring) {
    var firstCharacter = substring[0];
    if (firstCharacter === "p" || firstCharacter === "P") {
      var longFormatter = longFormatters_default[firstCharacter];
      return longFormatter(substring, locale2.formatLong);
    }
    return substring;
  }).join("").match(formattingTokensRegExp).map(function(substring) {
    if (substring === "''") {
      return "'";
    }
    var firstCharacter = substring[0];
    if (firstCharacter === "'") {
      return cleanEscapedString(substring);
    }
    var formatter = formatters_default[firstCharacter];
    if (formatter) {
      if (!(options !== null && options !== void 0 && options.useAdditionalWeekYearTokens) && isProtectedWeekYearToken(substring)) {
        throwProtectedError(substring, dirtyFormatStr, String(dirtyDate));
      }
      if (!(options !== null && options !== void 0 && options.useAdditionalDayOfYearTokens) && isProtectedDayOfYearToken(substring)) {
        throwProtectedError(substring, dirtyFormatStr, String(dirtyDate));
      }
      return formatter(utcDate, substring, locale2.localize, formatterOptions);
    }
    if (firstCharacter.match(unescapedLatinCharacterRegExp)) {
      throw new RangeError("Format string contains an unescaped latin alphabet character `" + firstCharacter + "`");
    }
    return substring;
  }).join("");
  return result;
}
function cleanEscapedString(input) {
  var matched = input.match(escapedStringRegExp);
  if (!matched) {
    return input;
  }
  return matched[1].replace(doubleQuoteRegExp, "'");
}

// node_modules/date-fns/esm/_lib/assign/index.js
function assign(target, object) {
  if (target == null) {
    throw new TypeError("assign requires that input parameter not be null or undefined");
  }
  for (var property in object) {
    if (Object.prototype.hasOwnProperty.call(object, property)) {
      ;
      target[property] = object[property];
    }
  }
  return target;
}

// node_modules/date-fns/esm/getISOWeek/index.js
var MILLISECONDS_IN_WEEK3 = 6048e5;
function getISOWeek(dirtyDate) {
  requiredArgs(1, arguments);
  var date = toDate(dirtyDate);
  var diff = startOfISOWeek(date).getTime() - startOfISOWeekYear(date).getTime();
  return Math.round(diff / MILLISECONDS_IN_WEEK3) + 1;
}

// node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
function _arrayLikeToArray(r32, a17) {
  (null == a17 || a17 > r32.length) && (a17 = r32.length);
  for (var e16 = 0, n15 = Array(a17); e16 < a17; e16++) n15[e16] = r32[e16];
  return n15;
}

// node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
function _unsupportedIterableToArray(r32, a17) {
  if (r32) {
    if ("string" == typeof r32) return _arrayLikeToArray(r32, a17);
    var t17 = {}.toString.call(r32).slice(8, -1);
    return "Object" === t17 && r32.constructor && (t17 = r32.constructor.name), "Map" === t17 || "Set" === t17 ? Array.from(r32) : "Arguments" === t17 || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t17) ? _arrayLikeToArray(r32, a17) : void 0;
  }
}

// node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js
function _createForOfIteratorHelper(r32, e16) {
  var t17 = "undefined" != typeof Symbol && r32[Symbol.iterator] || r32["@@iterator"];
  if (!t17) {
    if (Array.isArray(r32) || (t17 = _unsupportedIterableToArray(r32)) || e16 && r32 && "number" == typeof r32.length) {
      t17 && (r32 = t17);
      var _n = 0, F4 = function F5() {
      };
      return {
        s: F4,
        n: function n15() {
          return _n >= r32.length ? {
            done: true
          } : {
            done: false,
            value: r32[_n++]
          };
        },
        e: function e17(r33) {
          throw r33;
        },
        f: F4
      };
    }
    throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  }
  var o14, a17 = true, u21 = false;
  return {
    s: function s23() {
      t17 = t17.call(r32);
    },
    n: function n15() {
      var r33 = t17.next();
      return a17 = r33.done, r33;
    },
    e: function e17(r33) {
      u21 = true, o14 = r33;
    },
    f: function f27() {
      try {
        a17 || null == t17["return"] || t17["return"]();
      } finally {
        if (u21) throw o14;
      }
    }
  };
}

// node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
function _assertThisInitialized(e16) {
  if (void 0 === e16) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  return e16;
}

// node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
function _setPrototypeOf(t17, e16) {
  return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t18, e17) {
    return t18.__proto__ = e17, t18;
  }, _setPrototypeOf(t17, e16);
}

// node_modules/@babel/runtime/helpers/esm/inherits.js
function _inherits(t17, e16) {
  if ("function" != typeof e16 && null !== e16) throw new TypeError("Super expression must either be null or a function");
  t17.prototype = Object.create(e16 && e16.prototype, {
    constructor: {
      value: t17,
      writable: true,
      configurable: true
    }
  }), Object.defineProperty(t17, "prototype", {
    writable: false
  }), e16 && _setPrototypeOf(t17, e16);
}

// node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
function _getPrototypeOf(t17) {
  return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t18) {
    return t18.__proto__ || Object.getPrototypeOf(t18);
  }, _getPrototypeOf(t17);
}

// node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
function _isNativeReflectConstruct() {
  try {
    var t17 = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
    }));
  } catch (t18) {
  }
  return (_isNativeReflectConstruct = function _isNativeReflectConstruct2() {
    return !!t17;
  })();
}

// node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
function _possibleConstructorReturn(t17, e16) {
  if (e16 && ("object" == _typeof(e16) || "function" == typeof e16)) return e16;
  if (void 0 !== e16) throw new TypeError("Derived constructors may only return object or undefined");
  return _assertThisInitialized(t17);
}

// node_modules/@babel/runtime/helpers/esm/createSuper.js
function _createSuper(t17) {
  var r32 = _isNativeReflectConstruct();
  return function() {
    var e16, o14 = _getPrototypeOf(t17);
    if (r32) {
      var s23 = _getPrototypeOf(this).constructor;
      e16 = Reflect.construct(o14, arguments, s23);
    } else e16 = o14.apply(this, arguments);
    return _possibleConstructorReturn(this, e16);
  };
}

// node_modules/@babel/runtime/helpers/esm/classCallCheck.js
function _classCallCheck(a17, n15) {
  if (!(a17 instanceof n15)) throw new TypeError("Cannot call a class as a function");
}

// node_modules/@babel/runtime/helpers/esm/createClass.js
function _defineProperties(e16, r32) {
  for (var t17 = 0; t17 < r32.length; t17++) {
    var o14 = r32[t17];
    o14.enumerable = o14.enumerable || false, o14.configurable = true, "value" in o14 && (o14.writable = true), Object.defineProperty(e16, toPropertyKey(o14.key), o14);
  }
}
function _createClass(e16, r32, t17) {
  return r32 && _defineProperties(e16.prototype, r32), t17 && _defineProperties(e16, t17), Object.defineProperty(e16, "prototype", {
    writable: false
  }), e16;
}

// node_modules/date-fns/esm/parse/_lib/Setter.js
var TIMEZONE_UNIT_PRIORITY = 10;
var Setter = /* @__PURE__ */ (function() {
  function Setter2() {
    _classCallCheck(this, Setter2);
    _defineProperty(this, "priority", void 0);
    _defineProperty(this, "subPriority", 0);
  }
  _createClass(Setter2, [{
    key: "validate",
    value: function validate(_utcDate, _options) {
      return true;
    }
  }]);
  return Setter2;
})();
var ValueSetter = /* @__PURE__ */ (function(_Setter) {
  _inherits(ValueSetter2, _Setter);
  var _super = _createSuper(ValueSetter2);
  function ValueSetter2(value, validateValue, setValue2, priority, subPriority) {
    var _this;
    _classCallCheck(this, ValueSetter2);
    _this = _super.call(this);
    _this.value = value;
    _this.validateValue = validateValue;
    _this.setValue = setValue2;
    _this.priority = priority;
    if (subPriority) {
      _this.subPriority = subPriority;
    }
    return _this;
  }
  _createClass(ValueSetter2, [{
    key: "validate",
    value: function validate(utcDate, options) {
      return this.validateValue(utcDate, this.value, options);
    }
  }, {
    key: "set",
    value: function set(utcDate, flags, options) {
      return this.setValue(utcDate, flags, this.value, options);
    }
  }]);
  return ValueSetter2;
})(Setter);
var DateToSystemTimezoneSetter = /* @__PURE__ */ (function(_Setter2) {
  _inherits(DateToSystemTimezoneSetter2, _Setter2);
  var _super2 = _createSuper(DateToSystemTimezoneSetter2);
  function DateToSystemTimezoneSetter2() {
    var _this2;
    _classCallCheck(this, DateToSystemTimezoneSetter2);
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }
    _this2 = _super2.call.apply(_super2, [this].concat(args));
    _defineProperty(_assertThisInitialized(_this2), "priority", TIMEZONE_UNIT_PRIORITY);
    _defineProperty(_assertThisInitialized(_this2), "subPriority", -1);
    return _this2;
  }
  _createClass(DateToSystemTimezoneSetter2, [{
    key: "set",
    value: function set(date, flags) {
      if (flags.timestampIsSet) {
        return date;
      }
      var convertedDate = /* @__PURE__ */ new Date(0);
      convertedDate.setFullYear(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate());
      convertedDate.setHours(date.getUTCHours(), date.getUTCMinutes(), date.getUTCSeconds(), date.getUTCMilliseconds());
      return convertedDate;
    }
  }]);
  return DateToSystemTimezoneSetter2;
})(Setter);

// node_modules/date-fns/esm/parse/_lib/Parser.js
var Parser = /* @__PURE__ */ (function() {
  function Parser2() {
    _classCallCheck(this, Parser2);
    _defineProperty(this, "incompatibleTokens", void 0);
    _defineProperty(this, "priority", void 0);
    _defineProperty(this, "subPriority", void 0);
  }
  _createClass(Parser2, [{
    key: "run",
    value: function run(dateString, token, match2, options) {
      var result = this.parse(dateString, token, match2, options);
      if (!result) {
        return null;
      }
      return {
        setter: new ValueSetter(result.value, this.validate, this.set, this.priority, this.subPriority),
        rest: result.rest
      };
    }
  }, {
    key: "validate",
    value: function validate(_utcDate, _value, _options) {
      return true;
    }
  }]);
  return Parser2;
})();

// node_modules/date-fns/esm/parse/_lib/parsers/EraParser.js
var EraParser = /* @__PURE__ */ (function(_Parser) {
  _inherits(EraParser2, _Parser);
  var _super = _createSuper(EraParser2);
  function EraParser2() {
    var _this;
    _classCallCheck(this, EraParser2);
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }
    _this = _super.call.apply(_super, [this].concat(args));
    _defineProperty(_assertThisInitialized(_this), "priority", 140);
    _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ["R", "u", "t", "T"]);
    return _this;
  }
  _createClass(EraParser2, [{
    key: "parse",
    value: function parse2(dateString, token, match2) {
      switch (token) {
        // AD, BC
        case "G":
        case "GG":
        case "GGG":
          return match2.era(dateString, {
            width: "abbreviated"
          }) || match2.era(dateString, {
            width: "narrow"
          });
        // A, B
        case "GGGGG":
          return match2.era(dateString, {
            width: "narrow"
          });
        // Anno Domini, Before Christ
        case "GGGG":
        default:
          return match2.era(dateString, {
            width: "wide"
          }) || match2.era(dateString, {
            width: "abbreviated"
          }) || match2.era(dateString, {
            width: "narrow"
          });
      }
    }
  }, {
    key: "set",
    value: function set(date, flags, value) {
      flags.era = value;
      date.setUTCFullYear(value, 0, 1);
      date.setUTCHours(0, 0, 0, 0);
      return date;
    }
  }]);
  return EraParser2;
})(Parser);

// node_modules/date-fns/esm/parse/_lib/constants.js
var numericPatterns = {
  month: /^(1[0-2]|0?\d)/,
  // 0 to 12
  date: /^(3[0-1]|[0-2]?\d)/,
  // 0 to 31
  dayOfYear: /^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,
  // 0 to 366
  week: /^(5[0-3]|[0-4]?\d)/,
  // 0 to 53
  hour23h: /^(2[0-3]|[0-1]?\d)/,
  // 0 to 23
  hour24h: /^(2[0-4]|[0-1]?\d)/,
  // 0 to 24
  hour11h: /^(1[0-1]|0?\d)/,
  // 0 to 11
  hour12h: /^(1[0-2]|0?\d)/,
  // 0 to 12
  minute: /^[0-5]?\d/,
  // 0 to 59
  second: /^[0-5]?\d/,
  // 0 to 59
  singleDigit: /^\d/,
  // 0 to 9
  twoDigits: /^\d{1,2}/,
  // 0 to 99
  threeDigits: /^\d{1,3}/,
  // 0 to 999
  fourDigits: /^\d{1,4}/,
  // 0 to 9999
  anyDigitsSigned: /^-?\d+/,
  singleDigitSigned: /^-?\d/,
  // 0 to 9, -0 to -9
  twoDigitsSigned: /^-?\d{1,2}/,
  // 0 to 99, -0 to -99
  threeDigitsSigned: /^-?\d{1,3}/,
  // 0 to 999, -0 to -999
  fourDigitsSigned: /^-?\d{1,4}/
  // 0 to 9999, -0 to -9999
};
var timezonePatterns = {
  basicOptionalMinutes: /^([+-])(\d{2})(\d{2})?|Z/,
  basic: /^([+-])(\d{2})(\d{2})|Z/,
  basicOptionalSeconds: /^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,
  extended: /^([+-])(\d{2}):(\d{2})|Z/,
  extendedOptionalSeconds: /^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/
};

// node_modules/date-fns/esm/parse/_lib/utils.js
function mapValue(parseFnResult, mapFn) {
  if (!parseFnResult) {
    return parseFnResult;
  }
  return {
    value: mapFn(parseFnResult.value),
    rest: parseFnResult.rest
  };
}
function parseNumericPattern(pattern, dateString) {
  var matchResult = dateString.match(pattern);
  if (!matchResult) {
    return null;
  }
  return {
    value: parseInt(matchResult[0], 10),
    rest: dateString.slice(matchResult[0].length)
  };
}
function parseTimezonePattern(pattern, dateString) {
  var matchResult = dateString.match(pattern);
  if (!matchResult) {
    return null;
  }
  if (matchResult[0] === "Z") {
    return {
      value: 0,
      rest: dateString.slice(1)
    };
  }
  var sign = matchResult[1] === "+" ? 1 : -1;
  var hours = matchResult[2] ? parseInt(matchResult[2], 10) : 0;
  var minutes = matchResult[3] ? parseInt(matchResult[3], 10) : 0;
  var seconds = matchResult[5] ? parseInt(matchResult[5], 10) : 0;
  return {
    value: sign * (hours * millisecondsInHour + minutes * millisecondsInMinute + seconds * millisecondsInSecond),
    rest: dateString.slice(matchResult[0].length)
  };
}
function parseAnyDigitsSigned(dateString) {
  return parseNumericPattern(numericPatterns.anyDigitsSigned, dateString);
}
function parseNDigits(n15, dateString) {
  switch (n15) {
    case 1:
      return parseNumericPattern(numericPatterns.singleDigit, dateString);
    case 2:
      return parseNumericPattern(numericPatterns.twoDigits, dateString);
    case 3:
      return parseNumericPattern(numericPatterns.threeDigits, dateString);
    case 4:
      return parseNumericPattern(numericPatterns.fourDigits, dateString);
    default:
      return parseNumericPattern(new RegExp("^\\d{1," + n15 + "}"), dateString);
  }
}
function parseNDigitsSigned(n15, dateString) {
  switch (n15) {
    case 1:
      return parseNumericPattern(numericPatterns.singleDigitSigned, dateString);
    case 2:
      return parseNumericPattern(numericPatterns.twoDigitsSigned, dateString);
    case 3:
      return parseNumericPattern(numericPatterns.threeDigitsSigned, dateString);
    case 4:
      return parseNumericPattern(numericPatterns.fourDigitsSigned, dateString);
    default:
      return parseNumericPattern(new RegExp("^-?\\d{1," + n15 + "}"), dateString);
  }
}
function dayPeriodEnumToHours(dayPeriod) {
  switch (dayPeriod) {
    case "morning":
      return 4;
    case "evening":
      return 17;
    case "pm":
    case "noon":
    case "afternoon":
      return 12;
    case "am":
    case "midnight":
    case "night":
    default:
      return 0;
  }
}
function normalizeTwoDigitYear(twoDigitYear, currentYear) {
  var isCommonEra = currentYear > 0;
  var absCurrentYear = isCommonEra ? currentYear : 1 - currentYear;
  var result;
  if (absCurrentYear <= 50) {
    result = twoDigitYear || 100;
  } else {
    var rangeEnd = absCurrentYear + 50;
    var rangeEndCentury = Math.floor(rangeEnd / 100) * 100;
    var isPreviousCentury = twoDigitYear >= rangeEnd % 100;
    result = twoDigitYear + rangeEndCentury - (isPreviousCentury ? 100 : 0);
  }
  return isCommonEra ? result : 1 - result;
}
function isLeapYearIndex(year) {
  return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0;
}

// node_modules/date-fns/esm/parse/_lib/parsers/YearParser.js
var YearParser = /* @__PURE__ */ (function(_Parser) {
  _inherits(YearParser2, _Parser);
  var _super = _createSuper(YearParser2);
  function YearParser2() {
    var _this;
    _classCallCheck(this, YearParser2);
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }
    _this = _super.call.apply(_super, [this].concat(args));
    _defineProperty(_assertThisInitialized(_this), "priority", 130);
    _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"]);
    return _this;
  }
  _createClass(YearParser2, [{
    key: "parse",
    value: function parse2(dateString, token, match2) {
      var valueCallback3 = function valueCallback4(year) {
        return {
          year,
          isTwoDigitYear: token === "yy"
        };
      };
      switch (token) {
        case "y":
          return mapValue(parseNDigits(4, dateString), valueCallback3);
        case "yo":
          return mapValue(match2.ordinalNumber(dateString, {
            unit: "year"
          }), valueCallback3);
        default:
          return mapValue(parseNDigits(token.length, dateString), valueCallback3);
      }
    }
  }, {
    key: "validate",
    value: function validate(_date, value) {
      return value.isTwoDigitYear || value.year > 0;
    }
  }, {
    key: "set",
    value: function set(date, flags, value) {
      var currentYear = date.getUTCFullYear();
      if (value.isTwoDigitYear) {
        var normalizedTwoDigitYear = normalizeTwoDigitYear(value.year, currentYear);
        date.setUTCFullYear(normalizedTwoDigitYear, 0, 1);
        date.setUTCHours(0, 0, 0, 0);
        return date;
      }
      var year = !("era" in flags) || flags.era === 1 ? value.year : 1 - value.year;
      date.setUTCFullYear(year, 0, 1);
      date.setUTCHours(0, 0, 0, 0);
      return date;
    }
  }]);
  return YearParser2;
})(Parser);

// node_modules/date-fns/esm/parse/_lib/parsers/LocalWeekYearParser.js
var LocalWeekYearParser = /* @__PURE__ */ (function(_Parser) {
  _inherits(LocalWeekYearParser2, _Parser);
  var _super = _createSuper(LocalWeekYearParser2);
  function LocalWeekYearParser2() {
    var _this;
    _classCallCheck(this, LocalWeekYearParser2);
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }
    _this = _super.call.apply(_super, [this].concat(args));
    _defineProperty(_assertThisInitialized(_this), "priority", 130);
    _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ["y", "R", "u", "Q", "q", "M", "L", "I", "d", "D", "i", "t", "T"]);
    return _this;
  }
  _createClass(LocalWeekYearParser2, [{
    key: "parse",
    value: function parse2(dateString, token, match2) {
      var valueCallback3 = function valueCallback4(year) {
        return {
          year,
          isTwoDigitYear: token === "YY"
        };
      };
      switch (token) {
        case "Y":
          return mapValue(parseNDigits(4, dateString), valueCallback3);
        case "Yo":
          return mapValue(match2.ordinalNumber(dateString, {
            unit: "year"
          }), valueCallback3);
        default:
          return mapValue(parseNDigits(token.length, dateString), valueCallback3);
      }
    }
  }, {
    key: "validate",
    value: function validate(_date, value) {
      return value.isTwoDigitYear || value.year > 0;
    }
  }, {
    key: "set",
    value: function set(date, flags, value, options) {
      var currentYear = getUTCWeekYear(date, options);
      if (value.isTwoDigitYear) {
        var normalizedTwoDigitYear = normalizeTwoDigitYear(value.year, currentYear);
        date.setUTCFullYear(normalizedTwoDigitYear, 0, options.firstWeekContainsDate);
        date.setUTCHours(0, 0, 0, 0);
        return startOfUTCWeek(date, options);
      }
      var year = !("era" in flags) || flags.era === 1 ? value.year : 1 - value.year;
      date.setUTCFullYear(year, 0, options.firstWeekContainsDate);
      date.setUTCHours(0, 0, 0, 0);
      return startOfUTCWeek(date, options);
    }
  }]);
  return LocalWeekYearParser2;
})(Parser);

// node_modules/date-fns/esm/parse/_lib/parsers/ISOWeekYearParser.js
var ISOWeekYearParser = /* @__PURE__ */ (function(_Parser) {
  _inherits(ISOWeekYearParser2, _Parser);
  var _super = _createSuper(ISOWeekYearParser2);
  function ISOWeekYearParser2() {
    var _this;
    _classCallCheck(this, ISOWeekYearParser2);
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }
    _this = _super.call.apply(_super, [this].concat(args));
    _defineProperty(_assertThisInitialized(_this), "priority", 130);
    _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ["G", "y", "Y", "u", "Q", "q", "M", "L", "w", "d", "D", "e", "c", "t", "T"]);
    return _this;
  }
  _createClass(ISOWeekYearParser2, [{
    key: "parse",
    value: function parse2(dateString, token) {
      if (token === "R") {
        return parseNDigitsSigned(4, dateString);
      }
      return parseNDigitsSigned(token.length, dateString);
    }
  }, {
    key: "set",
    value: function set(_date, _flags, value) {
      var firstWeekOfYear = /* @__PURE__ */ new Date(0);
      firstWeekOfYear.setUTCFullYear(value, 0, 4);
      firstWeekOfYear.setUTCHours(0, 0, 0, 0);
      return startOfUTCISOWeek(firstWeekOfYear);
    }
  }]);
  return ISOWeekYearParser2;
})(Parser);

// node_modules/date-fns/esm/parse/_lib/parsers/ExtendedYearParser.js
var ExtendedYearParser = /* @__PURE__ */ (function(_Parser) {
  _inherits(ExtendedYearParser2, _Parser);
  var _super = _createSuper(ExtendedYearParser2);
  function ExtendedYearParser2() {
    var _this;
    _classCallCheck(this, ExtendedYearParser2);
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }
    _this = _super.call.apply(_super, [this].concat(args));
    _defineProperty(_assertThisInitialized(_this), "priority", 130);
    _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"]);
    return _this;
  }
  _createClass(ExtendedYearParser2, [{
    key: "parse",
    value: function parse2(dateString, token) {
      if (token === "u") {
        return parseNDigitsSigned(4, dateString);
      }
      return parseNDigitsSigned(token.length, dateString);
    }
  }, {
    key: "set",
    value: function set(date, _flags, value) {
      date.setUTCFullYear(value, 0, 1);
      date.setUTCHours(0, 0, 0, 0);
      return date;
    }
  }]);
  return ExtendedYearParser2;
})(Parser);

// node_modules/date-fns/esm/parse/_lib/parsers/QuarterParser.js
var QuarterParser = /* @__PURE__ */ (function(_Parser) {
  _inherits(QuarterParser2, _Parser);
  var _super = _createSuper(QuarterParser2);
  function QuarterParser2() {
    var _this;
    _classCallCheck(this, QuarterParser2);
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }
    _this = _super.call.apply(_super, [this].concat(args));
    _defineProperty(_assertThisInitialized(_this), "priority", 120);
    _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ["Y", "R", "q", "M", "L", "w", "I", "d", "D", "i", "e", "c", "t", "T"]);
    return _this;
  }
  _createClass(QuarterParser2, [{
    key: "parse",
    value: function parse2(dateString, token, match2) {
      switch (token) {
        // 1, 2, 3, 4
        case "Q":
        case "QQ":
          return parseNDigits(token.length, dateString);
        // 1st, 2nd, 3rd, 4th
        case "Qo":
          return match2.ordinalNumber(dateString, {
            unit: "quarter"
          });
        // Q1, Q2, Q3, Q4
        case "QQQ":
          return match2.quarter(dateString, {
            width: "abbreviated",
            context: "formatting"
          }) || match2.quarter(dateString, {
            width: "narrow",
            context: "formatting"
          });
        // 1, 2, 3, 4 (narrow quarter; could be not numerical)
        case "QQQQQ":
          return match2.quarter(dateString, {
            width: "narrow",
            context: "formatting"
          });
        // 1st quarter, 2nd quarter, ...
        case "QQQQ":
        default:
          return match2.quarter(dateString, {
            width: "wide",
            context: "formatting"
          }) || match2.quarter(dateString, {
            width: "abbreviated",
            context: "formatting"
          }) || match2.quarter(dateString, {
            width: "narrow",
            context: "formatting"
          });
      }
    }
  }, {
    key: "validate",
    value: function validate(_date, value) {
      return value >= 1 && value <= 4;
    }
  }, {
    key: "set",
    value: function set(date, _flags, value) {
      date.setUTCMonth((value - 1) * 3, 1);
      date.setUTCHours(0, 0, 0, 0);
      return date;
    }
  }]);
  return QuarterParser2;
})(Parser);

// node_modules/date-fns/esm/parse/_lib/parsers/StandAloneQuarterParser.js
var StandAloneQuarterParser = /* @__PURE__ */ (function(_Parser) {
  _inherits(StandAloneQuarterParser2, _Parser);
  var _super = _createSuper(StandAloneQuarterParser2);
  function StandAloneQuarterParser2() {
    var _this;
    _classCallCheck(this, StandAloneQuarterParser2);
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }
    _this = _super.call.apply(_super, [this].concat(args));
    _defineProperty(_assertThisInitialized(_this), "priority", 120);
    _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ["Y", "R", "Q", "M", "L", "w", "I", "d", "D", "i", "e", "c", "t", "T"]);
    return _this;
  }
  _createClass(StandAloneQuarterParser2, [{
    key: "parse",
    value: function parse2(dateString, token, match2) {
      switch (token) {
        // 1, 2, 3, 4
        case "q":
        case "qq":
          return parseNDigits(token.length, dateString);
        // 1st, 2nd, 3rd, 4th
        case "qo":
          return match2.ordinalNumber(dateString, {
            unit: "quarter"
          });
        // Q1, Q2, Q3, Q4
        case "qqq":
          return match2.quarter(dateString, {
            width: "abbreviated",
            context: "standalone"
          }) || match2.quarter(dateString, {
            width: "narrow",
            context: "standalone"
          });
        // 1, 2, 3, 4 (narrow quarter; could be not numerical)
        case "qqqqq":
          return match2.quarter(dateString, {
            width: "narrow",
            context: "standalone"
          });
        // 1st quarter, 2nd quarter, ...
        case "qqqq":
        default:
          return match2.quarter(dateString, {
            width: "wide",
            context: "standalone"
          }) || match2.quarter(dateString, {
            width: "abbreviated",
            context: "standalone"
          }) || match2.quarter(dateString, {
            width: "narrow",
            context: "standalone"
          });
      }
    }
  }, {
    key: "validate",
    value: function validate(_date, value) {
      return value >= 1 && value <= 4;
    }
  }, {
    key: "set",
    value: function set(date, _flags, value) {
      date.setUTCMonth((value - 1) * 3, 1);
      date.setUTCHours(0, 0, 0, 0);
      return date;
    }
  }]);
  return StandAloneQuarterParser2;
})(Parser);

// node_modules/date-fns/esm/parse/_lib/parsers/MonthParser.js
var MonthParser = /* @__PURE__ */ (function(_Parser) {
  _inherits(MonthParser2, _Parser);
  var _super = _createSuper(MonthParser2);
  function MonthParser2() {
    var _this;
    _classCallCheck(this, MonthParser2);
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }
    _this = _super.call.apply(_super, [this].concat(args));
    _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "L", "w", "I", "D", "i", "e", "c", "t", "T"]);
    _defineProperty(_assertThisInitialized(_this), "priority", 110);
    return _this;
  }
  _createClass(MonthParser2, [{
    key: "parse",
    value: function parse2(dateString, token, match2) {
      var valueCallback3 = function valueCallback4(value) {
        return value - 1;
      };
      switch (token) {
        // 1, 2, ..., 12
        case "M":
          return mapValue(parseNumericPattern(numericPatterns.month, dateString), valueCallback3);
        // 01, 02, ..., 12
        case "MM":
          return mapValue(parseNDigits(2, dateString), valueCallback3);
        // 1st, 2nd, ..., 12th
        case "Mo":
          return mapValue(match2.ordinalNumber(dateString, {
            unit: "month"
          }), valueCallback3);
        // Jan, Feb, ..., Dec
        case "MMM":
          return match2.month(dateString, {
            width: "abbreviated",
            context: "formatting"
          }) || match2.month(dateString, {
            width: "narrow",
            context: "formatting"
          });
        // J, F, ..., D
        case "MMMMM":
          return match2.month(dateString, {
            width: "narrow",
            context: "formatting"
          });
        // January, February, ..., December
        case "MMMM":
        default:
          return match2.month(dateString, {
            width: "wide",
            context: "formatting"
          }) || match2.month(dateString, {
            width: "abbreviated",
            context: "formatting"
          }) || match2.month(dateString, {
            width: "narrow",
            context: "formatting"
          });
      }
    }
  }, {
    key: "validate",
    value: function validate(_date, value) {
      return value >= 0 && value <= 11;
    }
  }, {
    key: "set",
    value: function set(date, _flags, value) {
      date.setUTCMonth(value, 1);
      date.setUTCHours(0, 0, 0, 0);
      return date;
    }
  }]);
  return MonthParser2;
})(Parser);

// node_modules/date-fns/esm/parse/_lib/parsers/StandAloneMonthParser.js
var StandAloneMonthParser = /* @__PURE__ */ (function(_Parser) {
  _inherits(StandAloneMonthParser2, _Parser);
  var _super = _createSuper(StandAloneMonthParser2);
  function StandAloneMonthParser2() {
    var _this;
    _classCallCheck(this, StandAloneMonthParser2);
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }
    _this = _super.call.apply(_super, [this].concat(args));
    _defineProperty(_assertThisInitialized(_this), "priority", 110);
    _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "M", "w", "I", "D", "i", "e", "c", "t", "T"]);
    return _this;
  }
  _createClass(StandAloneMonthParser2, [{
    key: "parse",
    value: function parse2(dateString, token, match2) {
      var valueCallback3 = function valueCallback4(value) {
        return value - 1;
      };
      switch (token) {
        // 1, 2, ..., 12
        case "L":
          return mapValue(parseNumericPattern(numericPatterns.month, dateString), valueCallback3);
        // 01, 02, ..., 12
        case "LL":
          return mapValue(parseNDigits(2, dateString), valueCallback3);
        // 1st, 2nd, ..., 12th
        case "Lo":
          return mapValue(match2.ordinalNumber(dateString, {
            unit: "month"
          }), valueCallback3);
        // Jan, Feb, ..., Dec
        case "LLL":
          return match2.month(dateString, {
            width: "abbreviated",
            context: "standalone"
          }) || match2.month(dateString, {
            width: "narrow",
            context: "standalone"
          });
        // J, F, ..., D
        case "LLLLL":
          return match2.month(dateString, {
            width: "narrow",
            context: "standalone"
          });
        // January, February, ..., December
        case "LLLL":
        default:
          return match2.month(dateString, {
            width: "wide",
            context: "standalone"
          }) || match2.month(dateString, {
            width: "abbreviated",
            context: "standalone"
          }) || match2.month(dateString, {
            width: "narrow",
            context: "standalone"
          });
      }
    }
  }, {
    key: "validate",
    value: function validate(_date, value) {
      return value >= 0 && value <= 11;
    }
  }, {
    key: "set",
    value: function set(date, _flags, value) {
      date.setUTCMonth(value, 1);
      date.setUTCHours(0, 0, 0, 0);
      return date;
    }
  }]);
  return StandAloneMonthParser2;
})(Parser);

// node_modules/date-fns/esm/_lib/setUTCWeek/index.js
function setUTCWeek(dirtyDate, dirtyWeek, options) {
  requiredArgs(2, arguments);
  var date = toDate(dirtyDate);
  var week = toInteger(dirtyWeek);
  var diff = getUTCWeek(date, options) - week;
  date.setUTCDate(date.getUTCDate() - diff * 7);
  return date;
}

// node_modules/date-fns/esm/parse/_lib/parsers/LocalWeekParser.js
var LocalWeekParser = /* @__PURE__ */ (function(_Parser) {
  _inherits(LocalWeekParser2, _Parser);
  var _super = _createSuper(LocalWeekParser2);
  function LocalWeekParser2() {
    var _this;
    _classCallCheck(this, LocalWeekParser2);
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }
    _this = _super.call.apply(_super, [this].concat(args));
    _defineProperty(_assertThisInitialized(_this), "priority", 100);
    _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "i", "t", "T"]);
    return _this;
  }
  _createClass(LocalWeekParser2, [{
    key: "parse",
    value: function parse2(dateString, token, match2) {
      switch (token) {
        case "w":
          return parseNumericPattern(numericPatterns.week, dateString);
        case "wo":
          return match2.ordinalNumber(dateString, {
            unit: "week"
          });
        default:
          return parseNDigits(token.length, dateString);
      }
    }
  }, {
    key: "validate",
    value: function validate(_date, value) {
      return value >= 1 && value <= 53;
    }
  }, {
    key: "set",
    value: function set(date, _flags, value, options) {
      return startOfUTCWeek(setUTCWeek(date, value, options), options);
    }
  }]);
  return LocalWeekParser2;
})(Parser);

// node_modules/date-fns/esm/_lib/setUTCISOWeek/index.js
function setUTCISOWeek(dirtyDate, dirtyISOWeek) {
  requiredArgs(2, arguments);
  var date = toDate(dirtyDate);
  var isoWeek = toInteger(dirtyISOWeek);
  var diff = getUTCISOWeek(date) - isoWeek;
  date.setUTCDate(date.getUTCDate() - diff * 7);
  return date;
}

// node_modules/date-fns/esm/parse/_lib/parsers/ISOWeekParser.js
var ISOWeekParser = /* @__PURE__ */ (function(_Parser) {
  _inherits(ISOWeekParser2, _Parser);
  var _super = _createSuper(ISOWeekParser2);
  function ISOWeekParser2() {
    var _this;
    _classCallCheck(this, ISOWeekParser2);
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }
    _this = _super.call.apply(_super, [this].concat(args));
    _defineProperty(_assertThisInitialized(_this), "priority", 100);
    _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ["y", "Y", "u", "q", "Q", "M", "L", "w", "d", "D", "e", "c", "t", "T"]);
    return _this;
  }
  _createClass(ISOWeekParser2, [{
    key: "parse",
    value: function parse2(dateString, token, match2) {
      switch (token) {
        case "I":
          return parseNumericPattern(numericPatterns.week, dateString);
        case "Io":
          return match2.ordinalNumber(dateString, {
            unit: "week"
          });
        default:
          return parseNDigits(token.length, dateString);
      }
    }
  }, {
    key: "validate",
    value: function validate(_date, value) {
      return value >= 1 && value <= 53;
    }
  }, {
    key: "set",
    value: function set(date, _flags, value) {
      return startOfUTCISOWeek(setUTCISOWeek(date, value));
    }
  }]);
  return ISOWeekParser2;
})(Parser);

// node_modules/date-fns/esm/parse/_lib/parsers/DateParser.js
var DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
var DAYS_IN_MONTH_LEAP_YEAR = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
var DateParser = /* @__PURE__ */ (function(_Parser) {
  _inherits(DateParser2, _Parser);
  var _super = _createSuper(DateParser2);
  function DateParser2() {
    var _this;
    _classCallCheck(this, DateParser2);
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }
    _this = _super.call.apply(_super, [this].concat(args));
    _defineProperty(_assertThisInitialized(_this), "priority", 90);
    _defineProperty(_assertThisInitialized(_this), "subPriority", 1);
    _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "w", "I", "D", "i", "e", "c", "t", "T"]);
    return _this;
  }
  _createClass(DateParser2, [{
    key: "parse",
    value: function parse2(dateString, token, match2) {
      switch (token) {
        case "d":
          return parseNumericPattern(numericPatterns.date, dateString);
        case "do":
          return match2.ordinalNumber(dateString, {
            unit: "date"
          });
        default:
          return parseNDigits(token.length, dateString);
      }
    }
  }, {
    key: "validate",
    value: function validate(date, value) {
      var year = date.getUTCFullYear();
      var isLeapYear = isLeapYearIndex(year);
      var month = date.getUTCMonth();
      if (isLeapYear) {
        return value >= 1 && value <= DAYS_IN_MONTH_LEAP_YEAR[month];
      } else {
        return value >= 1 && value <= DAYS_IN_MONTH[month];
      }
    }
  }, {
    key: "set",
    value: function set(date, _flags, value) {
      date.setUTCDate(value);
      date.setUTCHours(0, 0, 0, 0);
      return date;
    }
  }]);
  return DateParser2;
})(Parser);

// node_modules/date-fns/esm/parse/_lib/parsers/DayOfYearParser.js
var DayOfYearParser = /* @__PURE__ */ (function(_Parser) {
  _inherits(DayOfYearParser2, _Parser);
  var _super = _createSuper(DayOfYearParser2);
  function DayOfYearParser2() {
    var _this;
    _classCallCheck(this, DayOfYearParser2);
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }
    _this = _super.call.apply(_super, [this].concat(args));
    _defineProperty(_assertThisInitialized(_this), "priority", 90);
    _defineProperty(_assertThisInitialized(_this), "subpriority", 1);
    _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ["Y", "R", "q", "Q", "M", "L", "w", "I", "d", "E", "i", "e", "c", "t", "T"]);
    return _this;
  }
  _createClass(DayOfYearParser2, [{
    key: "parse",
    value: function parse2(dateString, token, match2) {
      switch (token) {
        case "D":
        case "DD":
          return parseNumericPattern(numericPatterns.dayOfYear, dateString);
        case "Do":
          return match2.ordinalNumber(dateString, {
            unit: "date"
          });
        default:
          return parseNDigits(token.length, dateString);
      }
    }
  }, {
    key: "validate",
    value: function validate(date, value) {
      var year = date.getUTCFullYear();
      var isLeapYear = isLeapYearIndex(year);
      if (isLeapYear) {
        return value >= 1 && value <= 366;
      } else {
        return value >= 1 && value <= 365;
      }
    }
  }, {
    key: "set",
    value: function set(date, _flags, value) {
      date.setUTCMonth(0, value);
      date.setUTCHours(0, 0, 0, 0);
      return date;
    }
  }]);
  return DayOfYearParser2;
})(Parser);

// node_modules/date-fns/esm/_lib/setUTCDay/index.js
function setUTCDay(dirtyDate, dirtyDay, options) {
  var _ref, _ref2, _ref3, _options$weekStartsOn, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2;
  requiredArgs(2, arguments);
  var defaultOptions2 = getDefaultOptions();
  var weekStartsOn = toInteger((_ref = (_ref2 = (_ref3 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions2.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions2.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.weekStartsOn) !== null && _ref !== void 0 ? _ref : 0);
  if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {
    throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
  }
  var date = toDate(dirtyDate);
  var day = toInteger(dirtyDay);
  var currentDay = date.getUTCDay();
  var remainder = day % 7;
  var dayIndex = (remainder + 7) % 7;
  var diff = (dayIndex < weekStartsOn ? 7 : 0) + day - currentDay;
  date.setUTCDate(date.getUTCDate() + diff);
  return date;
}

// node_modules/date-fns/esm/parse/_lib/parsers/DayParser.js
var DayParser = /* @__PURE__ */ (function(_Parser) {
  _inherits(DayParser2, _Parser);
  var _super = _createSuper(DayParser2);
  function DayParser2() {
    var _this;
    _classCallCheck(this, DayParser2);
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }
    _this = _super.call.apply(_super, [this].concat(args));
    _defineProperty(_assertThisInitialized(_this), "priority", 90);
    _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ["D", "i", "e", "c", "t", "T"]);
    return _this;
  }
  _createClass(DayParser2, [{
    key: "parse",
    value: function parse2(dateString, token, match2) {
      switch (token) {
        // Tue
        case "E":
        case "EE":
        case "EEE":
          return match2.day(dateString, {
            width: "abbreviated",
            context: "formatting"
          }) || match2.day(dateString, {
            width: "short",
            context: "formatting"
          }) || match2.day(dateString, {
            width: "narrow",
            context: "formatting"
          });
        // T
        case "EEEEE":
          return match2.day(dateString, {
            width: "narrow",
            context: "formatting"
          });
        // Tu
        case "EEEEEE":
          return match2.day(dateString, {
            width: "short",
            context: "formatting"
          }) || match2.day(dateString, {
            width: "narrow",
            context: "formatting"
          });
        // Tuesday
        case "EEEE":
        default:
          return match2.day(dateString, {
            width: "wide",
            context: "formatting"
          }) || match2.day(dateString, {
            width: "abbreviated",
            context: "formatting"
          }) || match2.day(dateString, {
            width: "short",
            context: "formatting"
          }) || match2.day(dateString, {
            width: "narrow",
            context: "formatting"
          });
      }
    }
  }, {
    key: "validate",
    value: function validate(_date, value) {
      return value >= 0 && value <= 6;
    }
  }, {
    key: "set",
    value: function set(date, _flags, value, options) {
      date = setUTCDay(date, value, options);
      date.setUTCHours(0, 0, 0, 0);
      return date;
    }
  }]);
  return DayParser2;
})(Parser);

// node_modules/date-fns/esm/parse/_lib/parsers/LocalDayParser.js
var LocalDayParser = /* @__PURE__ */ (function(_Parser) {
  _inherits(LocalDayParser2, _Parser);
  var _super = _createSuper(LocalDayParser2);
  function LocalDayParser2() {
    var _this;
    _classCallCheck(this, LocalDayParser2);
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }
    _this = _super.call.apply(_super, [this].concat(args));
    _defineProperty(_assertThisInitialized(_this), "priority", 90);
    _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "E", "i", "c", "t", "T"]);
    return _this;
  }
  _createClass(LocalDayParser2, [{
    key: "parse",
    value: function parse2(dateString, token, match2, options) {
      var valueCallback3 = function valueCallback4(value) {
        var wholeWeekDays = Math.floor((value - 1) / 7) * 7;
        return (value + options.weekStartsOn + 6) % 7 + wholeWeekDays;
      };
      switch (token) {
        // 3
        case "e":
        case "ee":
          return mapValue(parseNDigits(token.length, dateString), valueCallback3);
        // 3rd
        case "eo":
          return mapValue(match2.ordinalNumber(dateString, {
            unit: "day"
          }), valueCallback3);
        // Tue
        case "eee":
          return match2.day(dateString, {
            width: "abbreviated",
            context: "formatting"
          }) || match2.day(dateString, {
            width: "short",
            context: "formatting"
          }) || match2.day(dateString, {
            width: "narrow",
            context: "formatting"
          });
        // T
        case "eeeee":
          return match2.day(dateString, {
            width: "narrow",
            context: "formatting"
          });
        // Tu
        case "eeeeee":
          return match2.day(dateString, {
            width: "short",
            context: "formatting"
          }) || match2.day(dateString, {
            width: "narrow",
            context: "formatting"
          });
        // Tuesday
        case "eeee":
        default:
          return match2.day(dateString, {
            width: "wide",
            context: "formatting"
          }) || match2.day(dateString, {
            width: "abbreviated",
            context: "formatting"
          }) || match2.day(dateString, {
            width: "short",
            context: "formatting"
          }) || match2.day(dateString, {
            width: "narrow",
            context: "formatting"
          });
      }
    }
  }, {
    key: "validate",
    value: function validate(_date, value) {
      return value >= 0 && value <= 6;
    }
  }, {
    key: "set",
    value: function set(date, _flags, value, options) {
      date = setUTCDay(date, value, options);
      date.setUTCHours(0, 0, 0, 0);
      return date;
    }
  }]);
  return LocalDayParser2;
})(Parser);

// node_modules/date-fns/esm/parse/_lib/parsers/StandAloneLocalDayParser.js
var StandAloneLocalDayParser = /* @__PURE__ */ (function(_Parser) {
  _inherits(StandAloneLocalDayParser2, _Parser);
  var _super = _createSuper(StandAloneLocalDayParser2);
  function StandAloneLocalDayParser2() {
    var _this;
    _classCallCheck(this, StandAloneLocalDayParser2);
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }
    _this = _super.call.apply(_super, [this].concat(args));
    _defineProperty(_assertThisInitialized(_this), "priority", 90);
    _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ["y", "R", "u", "q", "Q", "M", "L", "I", "d", "D", "E", "i", "e", "t", "T"]);
    return _this;
  }
  _createClass(StandAloneLocalDayParser2, [{
    key: "parse",
    value: function parse2(dateString, token, match2, options) {
      var valueCallback3 = function valueCallback4(value) {
        var wholeWeekDays = Math.floor((value - 1) / 7) * 7;
        return (value + options.weekStartsOn + 6) % 7 + wholeWeekDays;
      };
      switch (token) {
        // 3
        case "c":
        case "cc":
          return mapValue(parseNDigits(token.length, dateString), valueCallback3);
        // 3rd
        case "co":
          return mapValue(match2.ordinalNumber(dateString, {
            unit: "day"
          }), valueCallback3);
        // Tue
        case "ccc":
          return match2.day(dateString, {
            width: "abbreviated",
            context: "standalone"
          }) || match2.day(dateString, {
            width: "short",
            context: "standalone"
          }) || match2.day(dateString, {
            width: "narrow",
            context: "standalone"
          });
        // T
        case "ccccc":
          return match2.day(dateString, {
            width: "narrow",
            context: "standalone"
          });
        // Tu
        case "cccccc":
          return match2.day(dateString, {
            width: "short",
            context: "standalone"
          }) || match2.day(dateString, {
            width: "narrow",
            context: "standalone"
          });
        // Tuesday
        case "cccc":
        default:
          return match2.day(dateString, {
            width: "wide",
            context: "standalone"
          }) || match2.day(dateString, {
            width: "abbreviated",
            context: "standalone"
          }) || match2.day(dateString, {
            width: "short",
            context: "standalone"
          }) || match2.day(dateString, {
            width: "narrow",
            context: "standalone"
          });
      }
    }
  }, {
    key: "validate",
    value: function validate(_date, value) {
      return value >= 0 && value <= 6;
    }
  }, {
    key: "set",
    value: function set(date, _flags, value, options) {
      date = setUTCDay(date, value, options);
      date.setUTCHours(0, 0, 0, 0);
      return date;
    }
  }]);
  return StandAloneLocalDayParser2;
})(Parser);

// node_modules/date-fns/esm/_lib/setUTCISODay/index.js
function setUTCISODay(dirtyDate, dirtyDay) {
  requiredArgs(2, arguments);
  var day = toInteger(dirtyDay);
  if (day % 7 === 0) {
    day = day - 7;
  }
  var weekStartsOn = 1;
  var date = toDate(dirtyDate);
  var currentDay = date.getUTCDay();
  var remainder = day % 7;
  var dayIndex = (remainder + 7) % 7;
  var diff = (dayIndex < weekStartsOn ? 7 : 0) + day - currentDay;
  date.setUTCDate(date.getUTCDate() + diff);
  return date;
}

// node_modules/date-fns/esm/parse/_lib/parsers/ISODayParser.js
var ISODayParser = /* @__PURE__ */ (function(_Parser) {
  _inherits(ISODayParser2, _Parser);
  var _super = _createSuper(ISODayParser2);
  function ISODayParser2() {
    var _this;
    _classCallCheck(this, ISODayParser2);
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }
    _this = _super.call.apply(_super, [this].concat(args));
    _defineProperty(_assertThisInitialized(_this), "priority", 90);
    _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ["y", "Y", "u", "q", "Q", "M", "L", "w", "d", "D", "E", "e", "c", "t", "T"]);
    return _this;
  }
  _createClass(ISODayParser2, [{
    key: "parse",
    value: function parse2(dateString, token, match2) {
      var valueCallback3 = function valueCallback4(value) {
        if (value === 0) {
          return 7;
        }
        return value;
      };
      switch (token) {
        // 2
        case "i":
        case "ii":
          return parseNDigits(token.length, dateString);
        // 2nd
        case "io":
          return match2.ordinalNumber(dateString, {
            unit: "day"
          });
        // Tue
        case "iii":
          return mapValue(match2.day(dateString, {
            width: "abbreviated",
            context: "formatting"
          }) || match2.day(dateString, {
            width: "short",
            context: "formatting"
          }) || match2.day(dateString, {
            width: "narrow",
            context: "formatting"
          }), valueCallback3);
        // T
        case "iiiii":
          return mapValue(match2.day(dateString, {
            width: "narrow",
            context: "formatting"
          }), valueCallback3);
        // Tu
        case "iiiiii":
          return mapValue(match2.day(dateString, {
            width: "short",
            context: "formatting"
          }) || match2.day(dateString, {
            width: "narrow",
            context: "formatting"
          }), valueCallback3);
        // Tuesday
        case "iiii":
        default:
          return mapValue(match2.day(dateString, {
            width: "wide",
            context: "formatting"
          }) || match2.day(dateString, {
            width: "abbreviated",
            context: "formatting"
          }) || match2.day(dateString, {
            width: "short",
            context: "formatting"
          }) || match2.day(dateString, {
            width: "narrow",
            context: "formatting"
          }), valueCallback3);
      }
    }
  }, {
    key: "validate",
    value: function validate(_date, value) {
      return value >= 1 && value <= 7;
    }
  }, {
    key: "set",
    value: function set(date, _flags, value) {
      date = setUTCISODay(date, value);
      date.setUTCHours(0, 0, 0, 0);
      return date;
    }
  }]);
  return ISODayParser2;
})(Parser);

// node_modules/date-fns/esm/parse/_lib/parsers/AMPMParser.js
var AMPMParser = /* @__PURE__ */ (function(_Parser) {
  _inherits(AMPMParser2, _Parser);
  var _super = _createSuper(AMPMParser2);
  function AMPMParser2() {
    var _this;
    _classCallCheck(this, AMPMParser2);
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }
    _this = _super.call.apply(_super, [this].concat(args));
    _defineProperty(_assertThisInitialized(_this), "priority", 80);
    _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ["b", "B", "H", "k", "t", "T"]);
    return _this;
  }
  _createClass(AMPMParser2, [{
    key: "parse",
    value: function parse2(dateString, token, match2) {
      switch (token) {
        case "a":
        case "aa":
        case "aaa":
          return match2.dayPeriod(dateString, {
            width: "abbreviated",
            context: "formatting"
          }) || match2.dayPeriod(dateString, {
            width: "narrow",
            context: "formatting"
          });
        case "aaaaa":
          return match2.dayPeriod(dateString, {
            width: "narrow",
            context: "formatting"
          });
        case "aaaa":
        default:
          return match2.dayPeriod(dateString, {
            width: "wide",
            context: "formatting"
          }) || match2.dayPeriod(dateString, {
            width: "abbreviated",
            context: "formatting"
          }) || match2.dayPeriod(dateString, {
            width: "narrow",
            context: "formatting"
          });
      }
    }
  }, {
    key: "set",
    value: function set(date, _flags, value) {
      date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);
      return date;
    }
  }]);
  return AMPMParser2;
})(Parser);

// node_modules/date-fns/esm/parse/_lib/parsers/AMPMMidnightParser.js
var AMPMMidnightParser = /* @__PURE__ */ (function(_Parser) {
  _inherits(AMPMMidnightParser2, _Parser);
  var _super = _createSuper(AMPMMidnightParser2);
  function AMPMMidnightParser2() {
    var _this;
    _classCallCheck(this, AMPMMidnightParser2);
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }
    _this = _super.call.apply(_super, [this].concat(args));
    _defineProperty(_assertThisInitialized(_this), "priority", 80);
    _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ["a", "B", "H", "k", "t", "T"]);
    return _this;
  }
  _createClass(AMPMMidnightParser2, [{
    key: "parse",
    value: function parse2(dateString, token, match2) {
      switch (token) {
        case "b":
        case "bb":
        case "bbb":
          return match2.dayPeriod(dateString, {
            width: "abbreviated",
            context: "formatting"
          }) || match2.dayPeriod(dateString, {
            width: "narrow",
            context: "formatting"
          });
        case "bbbbb":
          return match2.dayPeriod(dateString, {
            width: "narrow",
            context: "formatting"
          });
        case "bbbb":
        default:
          return match2.dayPeriod(dateString, {
            width: "wide",
            context: "formatting"
          }) || match2.dayPeriod(dateString, {
            width: "abbreviated",
            context: "formatting"
          }) || match2.dayPeriod(dateString, {
            width: "narrow",
            context: "formatting"
          });
      }
    }
  }, {
    key: "set",
    value: function set(date, _flags, value) {
      date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);
      return date;
    }
  }]);
  return AMPMMidnightParser2;
})(Parser);

// node_modules/date-fns/esm/parse/_lib/parsers/DayPeriodParser.js
var DayPeriodParser = /* @__PURE__ */ (function(_Parser) {
  _inherits(DayPeriodParser2, _Parser);
  var _super = _createSuper(DayPeriodParser2);
  function DayPeriodParser2() {
    var _this;
    _classCallCheck(this, DayPeriodParser2);
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }
    _this = _super.call.apply(_super, [this].concat(args));
    _defineProperty(_assertThisInitialized(_this), "priority", 80);
    _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ["a", "b", "t", "T"]);
    return _this;
  }
  _createClass(DayPeriodParser2, [{
    key: "parse",
    value: function parse2(dateString, token, match2) {
      switch (token) {
        case "B":
        case "BB":
        case "BBB":
          return match2.dayPeriod(dateString, {
            width: "abbreviated",
            context: "formatting"
          }) || match2.dayPeriod(dateString, {
            width: "narrow",
            context: "formatting"
          });
        case "BBBBB":
          return match2.dayPeriod(dateString, {
            width: "narrow",
            context: "formatting"
          });
        case "BBBB":
        default:
          return match2.dayPeriod(dateString, {
            width: "wide",
            context: "formatting"
          }) || match2.dayPeriod(dateString, {
            width: "abbreviated",
            context: "formatting"
          }) || match2.dayPeriod(dateString, {
            width: "narrow",
            context: "formatting"
          });
      }
    }
  }, {
    key: "set",
    value: function set(date, _flags, value) {
      date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);
      return date;
    }
  }]);
  return DayPeriodParser2;
})(Parser);

// node_modules/date-fns/esm/parse/_lib/parsers/Hour1to12Parser.js
var Hour1to12Parser = /* @__PURE__ */ (function(_Parser) {
  _inherits(Hour1to12Parser2, _Parser);
  var _super = _createSuper(Hour1to12Parser2);
  function Hour1to12Parser2() {
    var _this;
    _classCallCheck(this, Hour1to12Parser2);
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }
    _this = _super.call.apply(_super, [this].concat(args));
    _defineProperty(_assertThisInitialized(_this), "priority", 70);
    _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ["H", "K", "k", "t", "T"]);
    return _this;
  }
  _createClass(Hour1to12Parser2, [{
    key: "parse",
    value: function parse2(dateString, token, match2) {
      switch (token) {
        case "h":
          return parseNumericPattern(numericPatterns.hour12h, dateString);
        case "ho":
          return match2.ordinalNumber(dateString, {
            unit: "hour"
          });
        default:
          return parseNDigits(token.length, dateString);
      }
    }
  }, {
    key: "validate",
    value: function validate(_date, value) {
      return value >= 1 && value <= 12;
    }
  }, {
    key: "set",
    value: function set(date, _flags, value) {
      var isPM = date.getUTCHours() >= 12;
      if (isPM && value < 12) {
        date.setUTCHours(value + 12, 0, 0, 0);
      } else if (!isPM && value === 12) {
        date.setUTCHours(0, 0, 0, 0);
      } else {
        date.setUTCHours(value, 0, 0, 0);
      }
      return date;
    }
  }]);
  return Hour1to12Parser2;
})(Parser);

// node_modules/date-fns/esm/parse/_lib/parsers/Hour0to23Parser.js
var Hour0to23Parser = /* @__PURE__ */ (function(_Parser) {
  _inherits(Hour0to23Parser2, _Parser);
  var _super = _createSuper(Hour0to23Parser2);
  function Hour0to23Parser2() {
    var _this;
    _classCallCheck(this, Hour0to23Parser2);
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }
    _this = _super.call.apply(_super, [this].concat(args));
    _defineProperty(_assertThisInitialized(_this), "priority", 70);
    _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ["a", "b", "h", "K", "k", "t", "T"]);
    return _this;
  }
  _createClass(Hour0to23Parser2, [{
    key: "parse",
    value: function parse2(dateString, token, match2) {
      switch (token) {
        case "H":
          return parseNumericPattern(numericPatterns.hour23h, dateString);
        case "Ho":
          return match2.ordinalNumber(dateString, {
            unit: "hour"
          });
        default:
          return parseNDigits(token.length, dateString);
      }
    }
  }, {
    key: "validate",
    value: function validate(_date, value) {
      return value >= 0 && value <= 23;
    }
  }, {
    key: "set",
    value: function set(date, _flags, value) {
      date.setUTCHours(value, 0, 0, 0);
      return date;
    }
  }]);
  return Hour0to23Parser2;
})(Parser);

// node_modules/date-fns/esm/parse/_lib/parsers/Hour0To11Parser.js
var Hour0To11Parser = /* @__PURE__ */ (function(_Parser) {
  _inherits(Hour0To11Parser2, _Parser);
  var _super = _createSuper(Hour0To11Parser2);
  function Hour0To11Parser2() {
    var _this;
    _classCallCheck(this, Hour0To11Parser2);
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }
    _this = _super.call.apply(_super, [this].concat(args));
    _defineProperty(_assertThisInitialized(_this), "priority", 70);
    _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ["h", "H", "k", "t", "T"]);
    return _this;
  }
  _createClass(Hour0To11Parser2, [{
    key: "parse",
    value: function parse2(dateString, token, match2) {
      switch (token) {
        case "K":
          return parseNumericPattern(numericPatterns.hour11h, dateString);
        case "Ko":
          return match2.ordinalNumber(dateString, {
            unit: "hour"
          });
        default:
          return parseNDigits(token.length, dateString);
      }
    }
  }, {
    key: "validate",
    value: function validate(_date, value) {
      return value >= 0 && value <= 11;
    }
  }, {
    key: "set",
    value: function set(date, _flags, value) {
      var isPM = date.getUTCHours() >= 12;
      if (isPM && value < 12) {
        date.setUTCHours(value + 12, 0, 0, 0);
      } else {
        date.setUTCHours(value, 0, 0, 0);
      }
      return date;
    }
  }]);
  return Hour0To11Parser2;
})(Parser);

// node_modules/date-fns/esm/parse/_lib/parsers/Hour1To24Parser.js
var Hour1To24Parser = /* @__PURE__ */ (function(_Parser) {
  _inherits(Hour1To24Parser2, _Parser);
  var _super = _createSuper(Hour1To24Parser2);
  function Hour1To24Parser2() {
    var _this;
    _classCallCheck(this, Hour1To24Parser2);
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }
    _this = _super.call.apply(_super, [this].concat(args));
    _defineProperty(_assertThisInitialized(_this), "priority", 70);
    _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ["a", "b", "h", "H", "K", "t", "T"]);
    return _this;
  }
  _createClass(Hour1To24Parser2, [{
    key: "parse",
    value: function parse2(dateString, token, match2) {
      switch (token) {
        case "k":
          return parseNumericPattern(numericPatterns.hour24h, dateString);
        case "ko":
          return match2.ordinalNumber(dateString, {
            unit: "hour"
          });
        default:
          return parseNDigits(token.length, dateString);
      }
    }
  }, {
    key: "validate",
    value: function validate(_date, value) {
      return value >= 1 && value <= 24;
    }
  }, {
    key: "set",
    value: function set(date, _flags, value) {
      var hours = value <= 24 ? value % 24 : value;
      date.setUTCHours(hours, 0, 0, 0);
      return date;
    }
  }]);
  return Hour1To24Parser2;
})(Parser);

// node_modules/date-fns/esm/parse/_lib/parsers/MinuteParser.js
var MinuteParser = /* @__PURE__ */ (function(_Parser) {
  _inherits(MinuteParser2, _Parser);
  var _super = _createSuper(MinuteParser2);
  function MinuteParser2() {
    var _this;
    _classCallCheck(this, MinuteParser2);
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }
    _this = _super.call.apply(_super, [this].concat(args));
    _defineProperty(_assertThisInitialized(_this), "priority", 60);
    _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ["t", "T"]);
    return _this;
  }
  _createClass(MinuteParser2, [{
    key: "parse",
    value: function parse2(dateString, token, match2) {
      switch (token) {
        case "m":
          return parseNumericPattern(numericPatterns.minute, dateString);
        case "mo":
          return match2.ordinalNumber(dateString, {
            unit: "minute"
          });
        default:
          return parseNDigits(token.length, dateString);
      }
    }
  }, {
    key: "validate",
    value: function validate(_date, value) {
      return value >= 0 && value <= 59;
    }
  }, {
    key: "set",
    value: function set(date, _flags, value) {
      date.setUTCMinutes(value, 0, 0);
      return date;
    }
  }]);
  return MinuteParser2;
})(Parser);

// node_modules/date-fns/esm/parse/_lib/parsers/SecondParser.js
var SecondParser = /* @__PURE__ */ (function(_Parser) {
  _inherits(SecondParser2, _Parser);
  var _super = _createSuper(SecondParser2);
  function SecondParser2() {
    var _this;
    _classCallCheck(this, SecondParser2);
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }
    _this = _super.call.apply(_super, [this].concat(args));
    _defineProperty(_assertThisInitialized(_this), "priority", 50);
    _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ["t", "T"]);
    return _this;
  }
  _createClass(SecondParser2, [{
    key: "parse",
    value: function parse2(dateString, token, match2) {
      switch (token) {
        case "s":
          return parseNumericPattern(numericPatterns.second, dateString);
        case "so":
          return match2.ordinalNumber(dateString, {
            unit: "second"
          });
        default:
          return parseNDigits(token.length, dateString);
      }
    }
  }, {
    key: "validate",
    value: function validate(_date, value) {
      return value >= 0 && value <= 59;
    }
  }, {
    key: "set",
    value: function set(date, _flags, value) {
      date.setUTCSeconds(value, 0);
      return date;
    }
  }]);
  return SecondParser2;
})(Parser);

// node_modules/date-fns/esm/parse/_lib/parsers/FractionOfSecondParser.js
var FractionOfSecondParser = /* @__PURE__ */ (function(_Parser) {
  _inherits(FractionOfSecondParser2, _Parser);
  var _super = _createSuper(FractionOfSecondParser2);
  function FractionOfSecondParser2() {
    var _this;
    _classCallCheck(this, FractionOfSecondParser2);
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }
    _this = _super.call.apply(_super, [this].concat(args));
    _defineProperty(_assertThisInitialized(_this), "priority", 30);
    _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ["t", "T"]);
    return _this;
  }
  _createClass(FractionOfSecondParser2, [{
    key: "parse",
    value: function parse2(dateString, token) {
      var valueCallback3 = function valueCallback4(value) {
        return Math.floor(value * Math.pow(10, -token.length + 3));
      };
      return mapValue(parseNDigits(token.length, dateString), valueCallback3);
    }
  }, {
    key: "set",
    value: function set(date, _flags, value) {
      date.setUTCMilliseconds(value);
      return date;
    }
  }]);
  return FractionOfSecondParser2;
})(Parser);

// node_modules/date-fns/esm/parse/_lib/parsers/ISOTimezoneWithZParser.js
var ISOTimezoneWithZParser = /* @__PURE__ */ (function(_Parser) {
  _inherits(ISOTimezoneWithZParser2, _Parser);
  var _super = _createSuper(ISOTimezoneWithZParser2);
  function ISOTimezoneWithZParser2() {
    var _this;
    _classCallCheck(this, ISOTimezoneWithZParser2);
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }
    _this = _super.call.apply(_super, [this].concat(args));
    _defineProperty(_assertThisInitialized(_this), "priority", 10);
    _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ["t", "T", "x"]);
    return _this;
  }
  _createClass(ISOTimezoneWithZParser2, [{
    key: "parse",
    value: function parse2(dateString, token) {
      switch (token) {
        case "X":
          return parseTimezonePattern(timezonePatterns.basicOptionalMinutes, dateString);
        case "XX":
          return parseTimezonePattern(timezonePatterns.basic, dateString);
        case "XXXX":
          return parseTimezonePattern(timezonePatterns.basicOptionalSeconds, dateString);
        case "XXXXX":
          return parseTimezonePattern(timezonePatterns.extendedOptionalSeconds, dateString);
        case "XXX":
        default:
          return parseTimezonePattern(timezonePatterns.extended, dateString);
      }
    }
  }, {
    key: "set",
    value: function set(date, flags, value) {
      if (flags.timestampIsSet) {
        return date;
      }
      return new Date(date.getTime() - value);
    }
  }]);
  return ISOTimezoneWithZParser2;
})(Parser);

// node_modules/date-fns/esm/parse/_lib/parsers/ISOTimezoneParser.js
var ISOTimezoneParser = /* @__PURE__ */ (function(_Parser) {
  _inherits(ISOTimezoneParser2, _Parser);
  var _super = _createSuper(ISOTimezoneParser2);
  function ISOTimezoneParser2() {
    var _this;
    _classCallCheck(this, ISOTimezoneParser2);
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }
    _this = _super.call.apply(_super, [this].concat(args));
    _defineProperty(_assertThisInitialized(_this), "priority", 10);
    _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ["t", "T", "X"]);
    return _this;
  }
  _createClass(ISOTimezoneParser2, [{
    key: "parse",
    value: function parse2(dateString, token) {
      switch (token) {
        case "x":
          return parseTimezonePattern(timezonePatterns.basicOptionalMinutes, dateString);
        case "xx":
          return parseTimezonePattern(timezonePatterns.basic, dateString);
        case "xxxx":
          return parseTimezonePattern(timezonePatterns.basicOptionalSeconds, dateString);
        case "xxxxx":
          return parseTimezonePattern(timezonePatterns.extendedOptionalSeconds, dateString);
        case "xxx":
        default:
          return parseTimezonePattern(timezonePatterns.extended, dateString);
      }
    }
  }, {
    key: "set",
    value: function set(date, flags, value) {
      if (flags.timestampIsSet) {
        return date;
      }
      return new Date(date.getTime() - value);
    }
  }]);
  return ISOTimezoneParser2;
})(Parser);

// node_modules/date-fns/esm/parse/_lib/parsers/TimestampSecondsParser.js
var TimestampSecondsParser = /* @__PURE__ */ (function(_Parser) {
  _inherits(TimestampSecondsParser2, _Parser);
  var _super = _createSuper(TimestampSecondsParser2);
  function TimestampSecondsParser2() {
    var _this;
    _classCallCheck(this, TimestampSecondsParser2);
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }
    _this = _super.call.apply(_super, [this].concat(args));
    _defineProperty(_assertThisInitialized(_this), "priority", 40);
    _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", "*");
    return _this;
  }
  _createClass(TimestampSecondsParser2, [{
    key: "parse",
    value: function parse2(dateString) {
      return parseAnyDigitsSigned(dateString);
    }
  }, {
    key: "set",
    value: function set(_date, _flags, value) {
      return [new Date(value * 1e3), {
        timestampIsSet: true
      }];
    }
  }]);
  return TimestampSecondsParser2;
})(Parser);

// node_modules/date-fns/esm/parse/_lib/parsers/TimestampMillisecondsParser.js
var TimestampMillisecondsParser = /* @__PURE__ */ (function(_Parser) {
  _inherits(TimestampMillisecondsParser2, _Parser);
  var _super = _createSuper(TimestampMillisecondsParser2);
  function TimestampMillisecondsParser2() {
    var _this;
    _classCallCheck(this, TimestampMillisecondsParser2);
    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }
    _this = _super.call.apply(_super, [this].concat(args));
    _defineProperty(_assertThisInitialized(_this), "priority", 20);
    _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", "*");
    return _this;
  }
  _createClass(TimestampMillisecondsParser2, [{
    key: "parse",
    value: function parse2(dateString) {
      return parseAnyDigitsSigned(dateString);
    }
  }, {
    key: "set",
    value: function set(_date, _flags, value) {
      return [new Date(value), {
        timestampIsSet: true
      }];
    }
  }]);
  return TimestampMillisecondsParser2;
})(Parser);

// node_modules/date-fns/esm/parse/_lib/parsers/index.js
var parsers = {
  G: new EraParser(),
  y: new YearParser(),
  Y: new LocalWeekYearParser(),
  R: new ISOWeekYearParser(),
  u: new ExtendedYearParser(),
  Q: new QuarterParser(),
  q: new StandAloneQuarterParser(),
  M: new MonthParser(),
  L: new StandAloneMonthParser(),
  w: new LocalWeekParser(),
  I: new ISOWeekParser(),
  d: new DateParser(),
  D: new DayOfYearParser(),
  E: new DayParser(),
  e: new LocalDayParser(),
  c: new StandAloneLocalDayParser(),
  i: new ISODayParser(),
  a: new AMPMParser(),
  b: new AMPMMidnightParser(),
  B: new DayPeriodParser(),
  h: new Hour1to12Parser(),
  H: new Hour0to23Parser(),
  K: new Hour0To11Parser(),
  k: new Hour1To24Parser(),
  m: new MinuteParser(),
  s: new SecondParser(),
  S: new FractionOfSecondParser(),
  X: new ISOTimezoneWithZParser(),
  x: new ISOTimezoneParser(),
  t: new TimestampSecondsParser(),
  T: new TimestampMillisecondsParser()
};

// node_modules/date-fns/esm/parse/index.js
var formattingTokensRegExp2 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g;
var longFormattingTokensRegExp2 = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;
var escapedStringRegExp2 = /^'([^]*?)'?$/;
var doubleQuoteRegExp2 = /''/g;
var notWhitespaceRegExp = /\S/;
var unescapedLatinCharacterRegExp2 = /[a-zA-Z]/;
function parse(dirtyDateString, dirtyFormatString, dirtyReferenceDate, options) {
  var _ref, _options$locale, _ref2, _ref3, _ref4, _options$firstWeekCon, _options$locale2, _options$locale2$opti, _defaultOptions$local, _defaultOptions$local2, _ref5, _ref6, _ref7, _options$weekStartsOn, _options$locale3, _options$locale3$opti, _defaultOptions$local3, _defaultOptions$local4;
  requiredArgs(3, arguments);
  var dateString = String(dirtyDateString);
  var formatString = String(dirtyFormatString);
  var defaultOptions2 = getDefaultOptions();
  var locale2 = (_ref = (_options$locale = options === null || options === void 0 ? void 0 : options.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions2.locale) !== null && _ref !== void 0 ? _ref : defaultLocale_default;
  if (!locale2.match) {
    throw new RangeError("locale must contain match property");
  }
  var firstWeekContainsDate = toInteger((_ref2 = (_ref3 = (_ref4 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale2 = options.locale) === null || _options$locale2 === void 0 ? void 0 : (_options$locale2$opti = _options$locale2.options) === null || _options$locale2$opti === void 0 ? void 0 : _options$locale2$opti.firstWeekContainsDate) !== null && _ref4 !== void 0 ? _ref4 : defaultOptions2.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : (_defaultOptions$local = defaultOptions2.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : 1);
  if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {
    throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
  }
  var weekStartsOn = toInteger((_ref5 = (_ref6 = (_ref7 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale3 = options.locale) === null || _options$locale3 === void 0 ? void 0 : (_options$locale3$opti = _options$locale3.options) === null || _options$locale3$opti === void 0 ? void 0 : _options$locale3$opti.weekStartsOn) !== null && _ref7 !== void 0 ? _ref7 : defaultOptions2.weekStartsOn) !== null && _ref6 !== void 0 ? _ref6 : (_defaultOptions$local3 = defaultOptions2.locale) === null || _defaultOptions$local3 === void 0 ? void 0 : (_defaultOptions$local4 = _defaultOptions$local3.options) === null || _defaultOptions$local4 === void 0 ? void 0 : _defaultOptions$local4.weekStartsOn) !== null && _ref5 !== void 0 ? _ref5 : 0);
  if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {
    throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
  }
  if (formatString === "") {
    if (dateString === "") {
      return toDate(dirtyReferenceDate);
    } else {
      return /* @__PURE__ */ new Date(NaN);
    }
  }
  var subFnOptions = {
    firstWeekContainsDate,
    weekStartsOn,
    locale: locale2
  };
  var setters = [new DateToSystemTimezoneSetter()];
  var tokens = formatString.match(longFormattingTokensRegExp2).map(function(substring) {
    var firstCharacter = substring[0];
    if (firstCharacter in longFormatters_default) {
      var longFormatter = longFormatters_default[firstCharacter];
      return longFormatter(substring, locale2.formatLong);
    }
    return substring;
  }).join("").match(formattingTokensRegExp2);
  var usedTokens = [];
  var _iterator = _createForOfIteratorHelper(tokens), _step;
  try {
    var _loop = function _loop2() {
      var token = _step.value;
      if (!(options !== null && options !== void 0 && options.useAdditionalWeekYearTokens) && isProtectedWeekYearToken(token)) {
        throwProtectedError(token, formatString, dirtyDateString);
      }
      if (!(options !== null && options !== void 0 && options.useAdditionalDayOfYearTokens) && isProtectedDayOfYearToken(token)) {
        throwProtectedError(token, formatString, dirtyDateString);
      }
      var firstCharacter = token[0];
      var parser2 = parsers[firstCharacter];
      if (parser2) {
        var incompatibleTokens = parser2.incompatibleTokens;
        if (Array.isArray(incompatibleTokens)) {
          var incompatibleToken = usedTokens.find(function(usedToken) {
            return incompatibleTokens.includes(usedToken.token) || usedToken.token === firstCharacter;
          });
          if (incompatibleToken) {
            throw new RangeError("The format string mustn't contain `".concat(incompatibleToken.fullToken, "` and `").concat(token, "` at the same time"));
          }
        } else if (parser2.incompatibleTokens === "*" && usedTokens.length > 0) {
          throw new RangeError("The format string mustn't contain `".concat(token, "` and any other token at the same time"));
        }
        usedTokens.push({
          token: firstCharacter,
          fullToken: token
        });
        var parseResult = parser2.run(dateString, token, locale2.match, subFnOptions);
        if (!parseResult) {
          return {
            v: /* @__PURE__ */ new Date(NaN)
          };
        }
        setters.push(parseResult.setter);
        dateString = parseResult.rest;
      } else {
        if (firstCharacter.match(unescapedLatinCharacterRegExp2)) {
          throw new RangeError("Format string contains an unescaped latin alphabet character `" + firstCharacter + "`");
        }
        if (token === "''") {
          token = "'";
        } else if (firstCharacter === "'") {
          token = cleanEscapedString2(token);
        }
        if (dateString.indexOf(token) === 0) {
          dateString = dateString.slice(token.length);
        } else {
          return {
            v: /* @__PURE__ */ new Date(NaN)
          };
        }
      }
    };
    for (_iterator.s(); !(_step = _iterator.n()).done; ) {
      var _ret = _loop();
      if (_typeof(_ret) === "object") return _ret.v;
    }
  } catch (err2) {
    _iterator.e(err2);
  } finally {
    _iterator.f();
  }
  if (dateString.length > 0 && notWhitespaceRegExp.test(dateString)) {
    return /* @__PURE__ */ new Date(NaN);
  }
  var uniquePrioritySetters = setters.map(function(setter2) {
    return setter2.priority;
  }).sort(function(a17, b21) {
    return b21 - a17;
  }).filter(function(priority, index, array) {
    return array.indexOf(priority) === index;
  }).map(function(priority) {
    return setters.filter(function(setter2) {
      return setter2.priority === priority;
    }).sort(function(a17, b21) {
      return b21.subPriority - a17.subPriority;
    });
  }).map(function(setterArray) {
    return setterArray[0];
  });
  var date = toDate(dirtyReferenceDate);
  if (isNaN(date.getTime())) {
    return /* @__PURE__ */ new Date(NaN);
  }
  var utcDate = subMilliseconds(date, getTimezoneOffsetInMilliseconds(date));
  var flags = {};
  var _iterator2 = _createForOfIteratorHelper(uniquePrioritySetters), _step2;
  try {
    for (_iterator2.s(); !(_step2 = _iterator2.n()).done; ) {
      var setter = _step2.value;
      if (!setter.validate(utcDate, subFnOptions)) {
        return /* @__PURE__ */ new Date(NaN);
      }
      var result = setter.set(utcDate, flags, subFnOptions);
      if (Array.isArray(result)) {
        utcDate = result[0];
        assign(flags, result[1]);
      } else {
        utcDate = result;
      }
    }
  } catch (err2) {
    _iterator2.e(err2);
  } finally {
    _iterator2.f();
  }
  return utcDate;
}
function cleanEscapedString2(input) {
  return input.match(escapedStringRegExp2)[1].replace(doubleQuoteRegExp2, "'");
}

// node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-core-time.mjs
var timeUnits = [
  ["Y", 1e3 * 60 * 60 * 24 * 365],
  // years
  ["M", 1e3 * 60 * 60 * 24 * 30],
  // months
  ["D", 1e3 * 60 * 60 * 24],
  // days
  ["H", 1e3 * 60 * 60],
  // hours
  ["m", 1e3 * 60],
  // minutes
  ["s", 1e3],
  // seconds
  ["S", 1]
  // million seconds
];
var NgTimeParser = class {
  format;
  localeId;
  regex = null;
  matchMap = {
    hour: null,
    minute: null,
    second: null,
    periodNarrow: null,
    periodWide: null,
    periodAbbreviated: null
  };
  constructor(format2, localeId) {
    this.format = format2;
    this.localeId = localeId;
    this.genRegexp();
  }
  toDate(str) {
    const result = this.getTimeResult(str);
    const time = /* @__PURE__ */ new Date();
    if (isNotNil(result?.hour)) {
      time.setHours(result.hour);
    }
    if (isNotNil(result?.minute)) {
      time.setMinutes(result.minute);
    }
    if (isNotNil(result?.second)) {
      time.setSeconds(result.second);
    }
    if (result?.period === 1 && time.getHours() < 12) {
      time.setHours(time.getHours() + 12);
    }
    return time;
  }
  getTimeResult(str) {
    const match2 = this.regex.exec(str);
    let period = null;
    if (match2) {
      if (isNotNil(this.matchMap.periodNarrow)) {
        period = getLocaleDayPeriods(this.localeId, FormStyle.Format, TranslationWidth.Narrow).indexOf(match2[this.matchMap.periodNarrow + 1]);
      }
      if (isNotNil(this.matchMap.periodWide)) {
        period = getLocaleDayPeriods(this.localeId, FormStyle.Format, TranslationWidth.Wide).indexOf(match2[this.matchMap.periodWide + 1]);
      }
      if (isNotNil(this.matchMap.periodAbbreviated)) {
        period = getLocaleDayPeriods(this.localeId, FormStyle.Format, TranslationWidth.Abbreviated).indexOf(match2[this.matchMap.periodAbbreviated + 1]);
      }
      return {
        hour: isNotNil(this.matchMap.hour) ? Number.parseInt(match2[this.matchMap.hour + 1], 10) : null,
        minute: isNotNil(this.matchMap.minute) ? Number.parseInt(match2[this.matchMap.minute + 1], 10) : null,
        second: isNotNil(this.matchMap.second) ? Number.parseInt(match2[this.matchMap.second + 1], 10) : null,
        period
      };
    } else {
      return null;
    }
  }
  genRegexp() {
    let regexStr = this.format.replace(/([.*+?^=!:${}()|[\]/\\])/g, "\\$&");
    const hourRegex = /h{1,2}/i;
    const minuteRegex = /m{1,2}/;
    const secondRegex = /s{1,2}/;
    const periodNarrow = /aaaaa/;
    const periodWide = /aaaa/;
    const periodAbbreviated = /a{1,3}/;
    const hourMatch = hourRegex.exec(this.format);
    const minuteMatch = minuteRegex.exec(this.format);
    const secondMatch = secondRegex.exec(this.format);
    const periodNarrowMatch = periodNarrow.exec(this.format);
    let periodWideMatch = null;
    let periodAbbreviatedMatch = null;
    if (!periodNarrowMatch) {
      periodWideMatch = periodWide.exec(this.format);
    }
    if (!periodWideMatch && !periodNarrowMatch) {
      periodAbbreviatedMatch = periodAbbreviated.exec(this.format);
    }
    const matchs = [hourMatch, minuteMatch, secondMatch, periodNarrowMatch, periodWideMatch, periodAbbreviatedMatch].filter((m28) => !!m28).sort((a17, b21) => a17.index - b21.index);
    matchs.forEach((match2, index) => {
      switch (match2) {
        case hourMatch:
          this.matchMap.hour = index;
          regexStr = regexStr.replace(hourRegex, "(\\d{1,2})");
          break;
        case minuteMatch:
          this.matchMap.minute = index;
          regexStr = regexStr.replace(minuteRegex, "(\\d{1,2})");
          break;
        case secondMatch:
          this.matchMap.second = index;
          regexStr = regexStr.replace(secondRegex, "(\\d{1,2})");
          break;
        case periodNarrowMatch: {
          this.matchMap.periodNarrow = index;
          const periodsNarrow = getLocaleDayPeriods(this.localeId, FormStyle.Format, TranslationWidth.Narrow).join("|");
          regexStr = regexStr.replace(periodNarrow, `(${periodsNarrow})`);
          break;
        }
        case periodWideMatch: {
          this.matchMap.periodWide = index;
          const periodsWide = getLocaleDayPeriods(this.localeId, FormStyle.Format, TranslationWidth.Wide).join("|");
          regexStr = regexStr.replace(periodWide, `(${periodsWide})`);
          break;
        }
        case periodAbbreviatedMatch: {
          this.matchMap.periodAbbreviated = index;
          const periodsAbbreviated = getLocaleDayPeriods(this.localeId, FormStyle.Format, TranslationWidth.Abbreviated).join("|");
          regexStr = regexStr.replace(periodAbbreviated, `(${periodsAbbreviated})`);
          break;
        }
      }
    });
    this.regex = new RegExp(regexStr);
  }
};

// node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-i18n.mjs
var en_US = {
  locale: "en",
  Pagination: {
    items_per_page: "/ page",
    jump_to: "Go to",
    jump_to_confirm: "confirm",
    page: "Page",
    prev_page: "Previous Page",
    next_page: "Next Page",
    prev_5: "Previous 5 Pages",
    next_5: "Next 5 Pages",
    prev_3: "Previous 3 Pages",
    next_3: "Next 3 Pages",
    page_size: "Page Size"
  },
  DatePicker: {
    lang: {
      placeholder: "Select date",
      yearPlaceholder: "Select year",
      quarterPlaceholder: "Select quarter",
      monthPlaceholder: "Select month",
      weekPlaceholder: "Select week",
      rangePlaceholder: ["Start date", "End date"],
      rangeYearPlaceholder: ["Start year", "End year"],
      rangeQuarterPlaceholder: ["Start quarter", "End quarter"],
      rangeMonthPlaceholder: ["Start month", "End month"],
      rangeWeekPlaceholder: ["Start week", "End week"],
      locale: "en_US",
      today: "Today",
      now: "Now",
      backToToday: "Back to today",
      ok: "Ok",
      clear: "Clear",
      month: "Month",
      year: "Year",
      timeSelect: "select time",
      dateSelect: "select date",
      weekSelect: "Choose a week",
      monthSelect: "Choose a month",
      yearSelect: "Choose a year",
      decadeSelect: "Choose a decade",
      yearFormat: "YYYY",
      dateFormat: "M/D/YYYY",
      dayFormat: "D",
      dateTimeFormat: "M/D/YYYY HH:mm:ss",
      monthBeforeYear: true,
      previousMonth: "Previous month (PageUp)",
      nextMonth: "Next month (PageDown)",
      previousYear: "Last year (Control + left)",
      nextYear: "Next year (Control + right)",
      previousDecade: "Last decade",
      nextDecade: "Next decade",
      previousCentury: "Last century",
      nextCentury: "Next century"
    },
    timePickerLocale: {
      placeholder: "Select time",
      rangePlaceholder: ["Start time", "End time"]
    }
  },
  TimePicker: {
    placeholder: "Select time",
    rangePlaceholder: ["Start time", "End time"]
  },
  Calendar: {
    lang: {
      placeholder: "Select date",
      yearPlaceholder: "Select year",
      quarterPlaceholder: "Select quarter",
      monthPlaceholder: "Select month",
      weekPlaceholder: "Select week",
      rangePlaceholder: ["Start date", "End date"],
      rangeYearPlaceholder: ["Start year", "End year"],
      rangeMonthPlaceholder: ["Start month", "End month"],
      rangeWeekPlaceholder: ["Start week", "End week"],
      locale: "en_US",
      today: "Today",
      now: "Now",
      backToToday: "Back to today",
      ok: "Ok",
      clear: "Clear",
      month: "Month",
      year: "Year",
      timeSelect: "select time",
      dateSelect: "select date",
      weekSelect: "Choose a week",
      monthSelect: "Choose a month",
      yearSelect: "Choose a year",
      decadeSelect: "Choose a decade",
      yearFormat: "YYYY",
      dateFormat: "M/D/YYYY",
      dayFormat: "D",
      dateTimeFormat: "M/D/YYYY HH:mm:ss",
      monthBeforeYear: true,
      previousMonth: "Previous month (PageUp)",
      nextMonth: "Next month (PageDown)",
      previousYear: "Last year (Control + left)",
      nextYear: "Next year (Control + right)",
      previousDecade: "Last decade",
      nextDecade: "Next decade",
      previousCentury: "Last century",
      nextCentury: "Next century"
    },
    timePickerLocale: {
      placeholder: "Select time",
      rangePlaceholder: ["Start time", "End time"]
    }
  },
  global: {
    placeholder: "Please select"
  },
  Table: {
    filterTitle: "Filter menu",
    filterConfirm: "OK",
    filterReset: "Reset",
    filterEmptyText: "No filters",
    emptyText: "No data",
    selectAll: "Select current page",
    selectInvert: "Invert current page",
    selectionAll: "Select all data",
    sortTitle: "Sort",
    expand: "Expand row",
    collapse: "Collapse row",
    triggerDesc: "Click to sort descending",
    triggerAsc: "Click to sort ascending",
    cancelSort: "Click to cancel sorting",
    filterCheckall: "Select all items",
    filterSearchPlaceholder: "Search in filters",
    selectNone: "Clear all data"
  },
  Modal: {
    okText: "OK",
    cancelText: "Cancel",
    justOkText: "OK"
  },
  Popconfirm: {
    okText: "OK",
    cancelText: "Cancel"
  },
  Transfer: {
    titles: ["", ""],
    searchPlaceholder: "Search here",
    itemUnit: "item",
    itemsUnit: "items",
    remove: "Remove",
    selectCurrent: "Select current page",
    removeCurrent: "Remove current page",
    selectAll: "Select all data",
    removeAll: "Remove all data",
    selectInvert: "Invert current page"
  },
  Upload: {
    uploading: "Uploading...",
    removeFile: "Remove file",
    uploadError: "Upload error",
    previewFile: "Preview file",
    downloadFile: "Download file"
  },
  Empty: {
    description: "No Data"
  },
  Form: {
    optional: "(optional)"
  },
  Icon: {
    icon: "icon"
  },
  Text: {
    edit: "Edit",
    copy: "Copy",
    copied: "Copied",
    expand: "Expand"
  },
  PageHeader: {
    back: "Back"
  },
  Image: {
    preview: "Preview"
  },
  CronExpression: {
    cronError: "Invalid cron expression",
    second: "second",
    minute: "minute",
    hour: "hour",
    day: "day",
    month: "month",
    week: "week"
  },
  QRCode: {
    expired: "QR code expired",
    refresh: "Refresh",
    scanned: "Scanned"
  },
  CheckList: {
    checkList: "Check List",
    checkListFinish: "You have successfully completed the list!",
    checkListClose: "Close",
    checkListFooter: "Check list is no longer required",
    checkListCheck: "Do you want to close the list?",
    ok: "OK",
    cancel: "Cancel",
    checkListCheckOther: "No longer required to show"
  }
};
var zh_CN = {
  locale: "zh-cn",
  Pagination: {
    items_per_page: "\u6761/\u9875",
    jump_to: "\u8DF3\u81F3",
    jump_to_confirm: "\u786E\u5B9A",
    page: "\u9875",
    prev_page: "\u4E0A\u4E00\u9875",
    next_page: "\u4E0B\u4E00\u9875",
    prev_5: "\u5411\u524D 5 \u9875",
    next_5: "\u5411\u540E 5 \u9875",
    prev_3: "\u5411\u524D 3 \u9875",
    next_3: "\u5411\u540E 3 \u9875",
    page_size: "\u9875\u7801"
  },
  DatePicker: {
    lang: {
      placeholder: "\u8BF7\u9009\u62E9\u65E5\u671F",
      yearPlaceholder: "\u8BF7\u9009\u62E9\u5E74\u4EFD",
      quarterPlaceholder: "\u8BF7\u9009\u62E9\u5B63\u5EA6",
      monthPlaceholder: "\u8BF7\u9009\u62E9\u6708\u4EFD",
      weekPlaceholder: "\u8BF7\u9009\u62E9\u5468",
      rangePlaceholder: ["\u5F00\u59CB\u65E5\u671F", "\u7ED3\u675F\u65E5\u671F"],
      rangeYearPlaceholder: ["\u5F00\u59CB\u5E74\u4EFD", "\u7ED3\u675F\u5E74\u4EFD"],
      rangeQuarterPlaceholder: ["\u5F00\u59CB\u5B63\u5EA6", "\u7ED3\u675F\u5B63\u5EA6"],
      rangeMonthPlaceholder: ["\u5F00\u59CB\u6708\u4EFD", "\u7ED3\u675F\u6708\u4EFD"],
      rangeWeekPlaceholder: ["\u5F00\u59CB\u5468", "\u7ED3\u675F\u5468"],
      locale: "zh_CN",
      today: "\u4ECA\u5929",
      now: "\u6B64\u523B",
      backToToday: "\u8FD4\u56DE\u4ECA\u5929",
      ok: "\u786E\u5B9A",
      timeSelect: "\u9009\u62E9\u65F6\u95F4",
      dateSelect: "\u9009\u62E9\u65E5\u671F",
      weekSelect: "\u9009\u62E9\u5468",
      clear: "\u6E05\u9664",
      month: "\u6708",
      year: "\u5E74",
      previousMonth: "\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",
      nextMonth: "\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",
      monthSelect: "\u9009\u62E9\u6708\u4EFD",
      yearSelect: "\u9009\u62E9\u5E74\u4EFD",
      decadeSelect: "\u9009\u62E9\u5E74\u4EE3",
      yearFormat: "YYYY\u5E74",
      dayFormat: "D\u65E5",
      dateFormat: "YYYY\u5E74M\u6708D\u65E5",
      dateTimeFormat: "YYYY\u5E74M\u6708D\u65E5 HH\u65F6mm\u5206ss\u79D2",
      previousYear: "\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",
      nextYear: "\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u5411\u952E)",
      previousDecade: "\u4E0A\u4E00\u5E74\u4EE3",
      nextDecade: "\u4E0B\u4E00\u5E74\u4EE3",
      previousCentury: "\u4E0A\u4E00\u4E16\u7EAA",
      nextCentury: "\u4E0B\u4E00\u4E16\u7EAA"
    },
    timePickerLocale: {
      placeholder: "\u8BF7\u9009\u62E9\u65F6\u95F4",
      rangePlaceholder: ["\u5F00\u59CB\u65F6\u95F4", "\u7ED3\u675F\u65F6\u95F4"]
    }
  },
  TimePicker: {
    placeholder: "\u8BF7\u9009\u62E9\u65F6\u95F4",
    rangePlaceholder: ["\u5F00\u59CB\u65F6\u95F4", "\u7ED3\u675F\u65F6\u95F4"]
  },
  Calendar: {
    lang: {
      placeholder: "\u8BF7\u9009\u62E9\u65E5\u671F",
      yearPlaceholder: "\u8BF7\u9009\u62E9\u5E74\u4EFD",
      quarterPlaceholder: "\u8BF7\u9009\u62E9\u5B63\u5EA6",
      monthPlaceholder: "\u8BF7\u9009\u62E9\u6708\u4EFD",
      weekPlaceholder: "\u8BF7\u9009\u62E9\u5468",
      rangePlaceholder: ["\u5F00\u59CB\u65E5\u671F", "\u7ED3\u675F\u65E5\u671F"],
      rangeYearPlaceholder: ["\u5F00\u59CB\u5E74\u4EFD", "\u7ED3\u675F\u5E74\u4EFD"],
      rangeMonthPlaceholder: ["\u5F00\u59CB\u6708\u4EFD", "\u7ED3\u675F\u6708\u4EFD"],
      rangeWeekPlaceholder: ["\u5F00\u59CB\u5468", "\u7ED3\u675F\u5468"],
      locale: "zh_CN",
      today: "\u4ECA\u5929",
      now: "\u6B64\u523B",
      backToToday: "\u8FD4\u56DE\u4ECA\u5929",
      ok: "\u786E\u5B9A",
      timeSelect: "\u9009\u62E9\u65F6\u95F4",
      dateSelect: "\u9009\u62E9\u65E5\u671F",
      weekSelect: "\u9009\u62E9\u5468",
      clear: "\u6E05\u9664",
      month: "\u6708",
      year: "\u5E74",
      previousMonth: "\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",
      nextMonth: "\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",
      monthSelect: "\u9009\u62E9\u6708\u4EFD",
      yearSelect: "\u9009\u62E9\u5E74\u4EFD",
      decadeSelect: "\u9009\u62E9\u5E74\u4EE3",
      yearFormat: "YYYY\u5E74",
      dayFormat: "D\u65E5",
      dateFormat: "YYYY\u5E74M\u6708D\u65E5",
      dateTimeFormat: "YYYY\u5E74M\u6708D\u65E5 HH\u65F6mm\u5206ss\u79D2",
      previousYear: "\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",
      nextYear: "\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u5411\u952E)",
      previousDecade: "\u4E0A\u4E00\u5E74\u4EE3",
      nextDecade: "\u4E0B\u4E00\u5E74\u4EE3",
      previousCentury: "\u4E0A\u4E00\u4E16\u7EAA",
      nextCentury: "\u4E0B\u4E00\u4E16\u7EAA"
    },
    timePickerLocale: {
      placeholder: "\u8BF7\u9009\u62E9\u65F6\u95F4",
      rangePlaceholder: ["\u5F00\u59CB\u65F6\u95F4", "\u7ED3\u675F\u65F6\u95F4"]
    }
  },
  global: {
    placeholder: "\u8BF7\u9009\u62E9"
  },
  Table: {
    filterTitle: "\u7B5B\u9009",
    filterConfirm: "\u786E\u5B9A",
    filterReset: "\u91CD\u7F6E",
    filterEmptyText: "\u65E0\u7B5B\u9009\u9879",
    selectAll: "\u5168\u9009\u5F53\u9875",
    selectInvert: "\u53CD\u9009\u5F53\u9875",
    selectionAll: "\u5168\u9009\u6240\u6709",
    sortTitle: "\u6392\u5E8F",
    expand: "\u5C55\u5F00\u884C",
    collapse: "\u5173\u95ED\u884C",
    triggerDesc: "\u70B9\u51FB\u964D\u5E8F",
    triggerAsc: "\u70B9\u51FB\u5347\u5E8F",
    cancelSort: "\u53D6\u6D88\u6392\u5E8F",
    filterCheckall: "\u5168\u9009",
    filterSearchPlaceholder: "\u5728\u7B5B\u9009\u9879\u4E2D\u641C\u7D22",
    selectNone: "\u6E05\u7A7A\u6240\u6709"
  },
  Modal: {
    okText: "\u786E\u5B9A",
    cancelText: "\u53D6\u6D88",
    justOkText: "\u77E5\u9053\u4E86"
  },
  Popconfirm: {
    cancelText: "\u53D6\u6D88",
    okText: "\u786E\u5B9A"
  },
  Transfer: {
    searchPlaceholder: "\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",
    itemUnit: "\u9879",
    itemsUnit: "\u9879",
    remove: "\u5220\u9664",
    selectCurrent: "\u5168\u9009\u5F53\u9875",
    removeCurrent: "\u5220\u9664\u5F53\u9875",
    selectAll: "\u5168\u9009\u6240\u6709",
    removeAll: "\u5220\u9664\u5168\u90E8",
    selectInvert: "\u53CD\u9009\u5F53\u9875"
  },
  Upload: {
    uploading: "\u6587\u4EF6\u4E0A\u4F20\u4E2D",
    removeFile: "\u5220\u9664\u6587\u4EF6",
    uploadError: "\u4E0A\u4F20\u9519\u8BEF",
    previewFile: "\u9884\u89C8\u6587\u4EF6",
    downloadFile: "\u4E0B\u8F7D\u6587\u4EF6"
  },
  Empty: {
    description: "\u6682\u65E0\u6570\u636E"
  },
  Form: {
    optional: "(\u53EF\u9009)"
  },
  Icon: {
    icon: "\u56FE\u6807"
  },
  Text: {
    edit: "\u7F16\u8F91",
    copy: "\u590D\u5236",
    copied: "\u590D\u5236\u6210\u529F",
    expand: "\u5C55\u5F00"
  },
  PageHeader: {
    back: "\u8FD4\u56DE"
  },
  Image: {
    preview: "\u9884\u89C8"
  },
  CronExpression: {
    cronError: "cron \u8868\u8FBE\u5F0F\u4E0D\u5408\u6CD5",
    second: "\u79D2",
    minute: "\u5206\u949F",
    hour: "\u5C0F\u65F6",
    day: "\u65E5",
    month: "\u6708",
    week: "\u5468"
  },
  QRCode: {
    expired: "\u4E8C\u7EF4\u7801\u8FC7\u671F",
    refresh: "\u70B9\u51FB\u5237\u65B0",
    scanned: "\u5DF2\u626B\u63CF"
  },
  CheckList: {
    checkList: "\u4EFB\u52A1\u6E05\u5355",
    checkListFinish: "\u4F60\u5DF2\u6210\u529F\u5B8C\u6210\u4EFB\u52A1\u6E05\u5355\uFF01",
    checkListClose: "\u5173\u95ED",
    checkListFooter: "\u4E0D\u9700\u8981\u64CD\u4F5C\u6307\u5F15",
    checkListCheck: "\u4F60\u8981\u5173\u95ED\u64CD\u4F5C\u6E05\u5355\u5417",
    ok: "\u786E\u5B9A",
    cancel: "\u53D6\u6D88",
    checkListCheckOther: "\u4EE5\u540E\u4E0D\u518D\u9700\u8981\u64CD\u4F5C\u6E05\u5355"
  }
};
var NZ_I18N = new InjectionToken(typeof ngDevMode !== "undefined" && ngDevMode ? "nz-i18n" : "");
function provideNzI18n(config) {
  return makeEnvironmentProviders([typeof config === "function" ? {
    provide: NZ_I18N,
    useFactory: config
  } : {
    provide: NZ_I18N,
    useValue: config
  }]);
}
var NZ_DATE_LOCALE = new InjectionToken(typeof ngDevMode !== "undefined" && ngDevMode ? "nz-date-locale" : "");
var NzI18nService = class _NzI18nService {
  _locale;
  _change = new BehaviorSubject(this._locale);
  dateLocale;
  get localeChange() {
    return this._change.asObservable();
  }
  constructor() {
    this.setLocale(inject(NZ_I18N, {
      optional: true
    }) || zh_CN);
    this.setDateLocale(inject(NZ_DATE_LOCALE, {
      optional: true
    }));
  }
  // [NOTE] Performance issue: this method may called by every change detections
  // TODO: cache more deeply paths for performance
  translate(path, data) {
    let content = this._getObjectPath(this._locale, path);
    if (typeof content === "string") {
      if (data) {
        Object.keys(data).forEach((key) => content = content.replace(new RegExp(`%${key}%`, "g"), data[key]));
      }
      return content;
    }
    return path;
  }
  /**
   * Set/Change current locale globally throughout the WHOLE application
   * NOTE: If called at runtime, rendered interface may not change along with the locale change,
   * because this do not trigger another render schedule.
   *
   * @param locale The translating letters
   */
  setLocale(locale2) {
    if (this._locale && this._locale.locale === locale2.locale) {
      return;
    }
    this._locale = locale2;
    this._change.next(locale2);
  }
  getLocale() {
    return this._locale;
  }
  getLocaleId() {
    return this._locale ? this._locale.locale : "";
  }
  setDateLocale(dateLocale) {
    this.dateLocale = dateLocale;
  }
  getDateLocale() {
    return this.dateLocale;
  }
  /**
   * Get locale data
   *
   * @param path dot paths for finding exist value from locale data, eg. "a.b.c"
   * @param defaultValue default value if the result is not "truthy"
   */
  getLocaleData(path, defaultValue) {
    const result = path ? this._getObjectPath(this._locale, path) : this._locale;
    if (!result && !defaultValue) {
      warn(`Missing translations for "${path}" in language "${this._locale.locale}".
You can use "NzI18nService.setLocale" as a temporary fix.
Welcome to submit a pull request to help us optimize the translations!
https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md`);
    }
    return result || defaultValue || this._getObjectPath(en_US, path) || {};
  }
  _getObjectPath(obj, path) {
    let res = obj;
    const paths = path.split(".");
    const depth = paths.length;
    let index = 0;
    while (res && index < depth) {
      res = res[paths[index++]];
    }
    return index === depth ? res : null;
  }
  static \u0275fac = function NzI18nService_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || _NzI18nService)();
  };
  static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({
    token: _NzI18nService,
    factory: _NzI18nService.\u0275fac,
    providedIn: "root"
  });
};
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(NzI18nService, [{
    type: Injectable,
    args: [{
      providedIn: "root"
    }]
  }], () => [], null);
})();
var NzI18nPipe = class _NzI18nPipe {
  _locale = inject(NzI18nService);
  transform(path, keyValue) {
    return this._locale.translate(path, keyValue);
  }
  static \u0275fac = function NzI18nPipe_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || _NzI18nPipe)();
  };
  static \u0275pipe = /* @__PURE__ */ \u0275\u0275definePipe({
    name: "nzI18n",
    type: _NzI18nPipe,
    pure: true
  });
};
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(NzI18nPipe, [{
    type: Pipe,
    args: [{
      name: "nzI18n"
    }]
  }], null, null);
})();
var NzI18nModule = class _NzI18nModule {
  static \u0275fac = function NzI18nModule_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || _NzI18nModule)();
  };
  static \u0275mod = /* @__PURE__ */ \u0275\u0275defineNgModule({
    type: _NzI18nModule,
    imports: [NzI18nPipe],
    exports: [NzI18nPipe]
  });
  static \u0275inj = /* @__PURE__ */ \u0275\u0275defineInjector({});
};
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(NzI18nModule, [{
    type: NgModule,
    args: [{
      imports: [NzI18nPipe],
      exports: [NzI18nPipe]
    }]
  }], null, null);
})();
var NZ_DATE_CONFIG = new InjectionToken(typeof ngDevMode !== "undefined" && ngDevMode ? "nz-date-config" : "");
var NZ_DATE_CONFIG_DEFAULT = {
  firstDayOfWeek: void 0
};
function mergeDateConfig(config) {
  return __spreadValues(__spreadValues({}, NZ_DATE_CONFIG_DEFAULT), config);
}
function DATE_HELPER_SERVICE_FACTORY() {
  const i18n = inject(NzI18nService);
  return i18n.getDateLocale() ? new DateHelperByDateFns(i18n) : new DateHelperByDatePipe(i18n);
}
var DateHelperService = class _DateHelperService {
  i18n;
  config = mergeDateConfig(inject(NZ_DATE_CONFIG, {
    optional: true
  }));
  constructor(i18n) {
    this.i18n = i18n;
  }
  static \u0275fac = function DateHelperService_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || _DateHelperService)(\u0275\u0275inject(NzI18nService));
  };
  static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({
    token: _DateHelperService,
    factory: () => DATE_HELPER_SERVICE_FACTORY(),
    providedIn: "root"
  });
};
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(DateHelperService, [{
    type: Injectable,
    args: [{
      providedIn: "root",
      useFactory: DATE_HELPER_SERVICE_FACTORY
    }]
  }], () => [{
    type: NzI18nService
  }], null);
})();
var DateHelperByDateFns = class extends DateHelperService {
  getISOWeek(date) {
    return getISOWeek(date);
  }
  // Use date-fns's "weekStartsOn" to support different locale when "config.firstDayOfWeek" is null
  // https://github.com/date-fns/date-fns/blob/v2.0.0-alpha.27/src/locale/en-US/index.js#L23
  getFirstDayOfWeek() {
    let defaultWeekStartsOn;
    try {
      defaultWeekStartsOn = this.i18n.getDateLocale().options.weekStartsOn;
    } catch {
      defaultWeekStartsOn = 1;
    }
    return this.config.firstDayOfWeek == null ? defaultWeekStartsOn : this.config.firstDayOfWeek;
  }
  /**
   * Format a date
   *
   * @see https://date-fns.org/docs/format#description
   * @param date Date
   * @param formatStr format string
   */
  format(date, formatStr) {
    return date ? format(date, formatStr, {
      locale: this.i18n.getDateLocale()
    }) : "";
  }
  parseDate(text, formatStr) {
    return parse(text, formatStr, /* @__PURE__ */ new Date(), {
      locale: this.i18n.getDateLocale(),
      weekStartsOn: this.getFirstDayOfWeek()
    });
  }
  parseTime(text, formatStr) {
    return this.parseDate(text, formatStr);
  }
};
var DateHelperByDatePipe = class extends DateHelperService {
  getISOWeek(date) {
    return +this.format(date, "w");
  }
  getFirstDayOfWeek() {
    if (this.config.firstDayOfWeek === void 0) {
      const locale2 = this.i18n.getLocaleId();
      return locale2 && ["zh-cn", "zh-tw"].indexOf(locale2.toLowerCase()) > -1 ? 1 : 0;
    }
    return this.config.firstDayOfWeek;
  }
  format(date, formatStr) {
    return date ? this.replaceQuarter(formatDate(date, formatStr, this.i18n.getLocaleId()), date) : "";
  }
  parseDate(text) {
    return new Date(text);
  }
  parseTime(text, formatStr) {
    const parser2 = new NgTimeParser(formatStr, this.i18n.getLocaleId());
    return parser2.toDate(text);
  }
  replaceQuarter(dateStr, date) {
    const quarter = getQuarter(date).toString();
    const record = {
      Q: quarter,
      QQ: `0${quarter}`,
      QQQ: `Q${quarter}`
    };
    return dateStr.replace(/Q+(?![^[]*])/g, (match2) => record[match2] ?? quarter).replace(/\[(Q+)]/g, "$1");
  }
};
var fr_FR = {
  locale: "fr",
  Pagination: {
    items_per_page: "/ page",
    jump_to: "Aller \xE0",
    jump_to_confirm: "confirmer",
    page: "Page",
    prev_page: "Page pr\xE9c\xE9dente",
    next_page: "Page suivante",
    prev_5: "5 Pages pr\xE9c\xE9dentes",
    next_5: "5 Pages suivantes",
    prev_3: "3 Pages pr\xE9c\xE9dentes",
    next_3: "3 Pages suivantes",
    page_size: "taille de la page"
  },
  DatePicker: {
    lang: {
      placeholder: "S\xE9lectionner une date",
      yearPlaceholder: "S\xE9lectionner une ann\xE9e",
      quarterPlaceholder: "S\xE9lectionner un trimestre",
      monthPlaceholder: "S\xE9lectionner un mois",
      weekPlaceholder: "S\xE9lectionner une semaine",
      rangePlaceholder: ["Date de d\xE9but", "Date de fin"],
      rangeYearPlaceholder: ["Ann\xE9e de d\xE9but", "Ann\xE9e de fin"],
      rangeMonthPlaceholder: ["Mois de d\xE9but", "Mois de fin"],
      rangeWeekPlaceholder: ["Semaine de d\xE9but", "Semaine de fin"],
      locale: "fr_FR",
      today: "Aujourd'hui",
      now: "Maintenant",
      backToToday: "Aujourd'hui",
      ok: "Ok",
      clear: "R\xE9tablir",
      month: "Mois",
      year: "Ann\xE9e",
      timeSelect: "S\xE9lectionner l'heure",
      dateSelect: "S\xE9lectionner la date",
      weekSelect: "Choisissez une semaine",
      monthSelect: "Choisissez un mois",
      yearSelect: "Choisissez une ann\xE9e",
      decadeSelect: "Choisissez une d\xE9cennie",
      yearFormat: "YYYY",
      dateFormat: "DD/MM/YYYY",
      dayFormat: "DD",
      dateTimeFormat: "DD/MM/YYYY HH:mm:ss",
      monthBeforeYear: true,
      previousMonth: "Mois pr\xE9c\xE9dent (PageUp)",
      nextMonth: "Mois suivant (PageDown)",
      previousYear: "Ann\xE9e pr\xE9c\xE9dente (Ctrl + gauche)",
      nextYear: "Ann\xE9e prochaine (Ctrl + droite)",
      previousDecade: "D\xE9cennie pr\xE9c\xE9dente",
      nextDecade: "D\xE9cennie suivante",
      previousCentury: "Si\xE8cle pr\xE9c\xE9dent",
      nextCentury: "Si\xE8cle suivant"
    },
    timePickerLocale: {
      placeholder: "S\xE9lectionner l'heure",
      rangePlaceholder: ["Heure de d\xE9but", "Heure de fin"]
    }
  },
  TimePicker: {
    placeholder: "S\xE9lectionner l'heure",
    rangePlaceholder: ["Heure de d\xE9but", "Heure de fin"]
  },
  Calendar: {
    lang: {
      placeholder: "S\xE9lectionner une date",
      yearPlaceholder: "S\xE9lectionner une ann\xE9e",
      quarterPlaceholder: "S\xE9lectionner un trimestre",
      monthPlaceholder: "S\xE9lectionner un mois",
      weekPlaceholder: "S\xE9lectionner une semaine",
      rangePlaceholder: ["Date de d\xE9but", "Date de fin"],
      rangeYearPlaceholder: ["Ann\xE9e de d\xE9but", "Ann\xE9e de fin"],
      rangeMonthPlaceholder: ["Mois de d\xE9but", "Mois de fin"],
      rangeWeekPlaceholder: ["Semaine de d\xE9but", "Semaine de fin"],
      locale: "fr_FR",
      today: "Aujourd'hui",
      now: "Maintenant",
      backToToday: "Aujourd'hui",
      ok: "Ok",
      clear: "R\xE9tablir",
      month: "Mois",
      year: "Ann\xE9e",
      timeSelect: "S\xE9lectionner l'heure",
      dateSelect: "S\xE9lectionner la date",
      monthSelect: "Choisissez un mois",
      yearSelect: "Choisissez une ann\xE9e",
      decadeSelect: "Choisissez une d\xE9cennie",
      yearFormat: "YYYY",
      dateFormat: "DD/MM/YYYY",
      dayFormat: "DD",
      dateTimeFormat: "DD/MM/YYYY HH:mm:ss",
      monthBeforeYear: true,
      previousMonth: "Mois pr\xE9c\xE9dent (PageUp)",
      nextMonth: "Mois suivant (PageDown)",
      previousYear: "Ann\xE9e pr\xE9c\xE9dente (Ctrl + gauche)",
      nextYear: "Ann\xE9e prochaine (Ctrl + droite)",
      previousDecade: "D\xE9cennie pr\xE9c\xE9dente",
      nextDecade: "D\xE9cennie suivante",
      previousCentury: "Si\xE8cle pr\xE9c\xE9dent",
      nextCentury: "Si\xE8cle suivant"
    },
    timePickerLocale: {
      placeholder: "S\xE9lectionner l'heure",
      rangePlaceholder: ["Heure de d\xE9but", "Heure de fin"]
    }
  },
  global: {
    placeholder: "S\xE9lectionner"
  },
  Table: {
    filterTitle: "Filtrer",
    filterConfirm: "OK",
    filterReset: "R\xE9initialiser",
    selectAll: "S\xE9lectionner la page actuelle",
    selectInvert: "Inverser la s\xE9lection de la page actuelle",
    selectionAll: "S\xE9lectionner toutes les donn\xE9es",
    sortTitle: "Trier",
    expand: "D\xE9velopper la ligne",
    collapse: "R\xE9duire la ligne",
    triggerDesc: "Trier par ordre d\xE9croissant",
    triggerAsc: "Trier par ordre croissant",
    cancelSort: "Annuler le tri",
    filterEmptyText: "Aucun filtre",
    emptyText: "Aucune donn\xE9e",
    selectNone: "D\xE9s\xE9lectionner toutes les donn\xE9es"
  },
  Modal: {
    okText: "OK",
    cancelText: "Annuler",
    justOkText: "OK"
  },
  Popconfirm: {
    okText: "OK",
    cancelText: "Annuler"
  },
  Transfer: {
    searchPlaceholder: "Rechercher",
    itemUnit: "\xE9l\xE9ment",
    itemsUnit: "\xE9l\xE9ments",
    titles: ["", ""],
    remove: "D\xE9s\xE9lectionner",
    selectCurrent: "S\xE9lectionner la page actuelle",
    removeCurrent: "D\xE9s\xE9lectionner la page actuelle",
    selectAll: "S\xE9lectionner toutes les donn\xE9es",
    removeAll: "D\xE9s\xE9lectionner toutes les donn\xE9es",
    selectInvert: "Inverser la s\xE9lection de la page actuelle"
  },
  Empty: {
    description: "Aucune donn\xE9e"
  },
  Upload: {
    uploading: "T\xE9l\xE9chargement...",
    removeFile: "Effacer le fichier",
    uploadError: "Erreur de t\xE9l\xE9chargement",
    previewFile: "Fichier de pr\xE9visualisation",
    downloadFile: "T\xE9l\xE9charger un fichier"
  },
  Form: {
    optional: "(optionnel)"
  },
  Text: {
    edit: "\xC9diter",
    copy: "Copier",
    copied: "Copie effectu\xE9e",
    expand: "D\xE9velopper"
  },
  PageHeader: {
    back: "Retour"
  },
  Icon: {
    icon: "ic\xF4ne"
  },
  Image: {
    preview: "Aper\xE7u"
  },
  CronExpression: {
    cronError: "Expression CRON invalide",
    second: "seconde",
    minute: "minute",
    hour: "heure",
    day: "jour",
    month: "mois",
    week: "semaine"
  },
  QRCode: {
    expired: "QR code expir\xE9",
    refresh: "Rafra\xEEchir",
    scanned: "Scann\xE9"
  }
};

// node_modules/@angular/common/locales/fr.js
var u4 = void 0;
function plural(val) {
  const n15 = val, i16 = Math.floor(Math.abs(val)), v18 = val.toString().replace(/^[^.]*\.?/, "").length, e16 = parseInt(val.toString().replace(/^[^e]*(e([-+]?\d+))?/, "$2")) || 0;
  if (i16 === 0 || i16 === 1)
    return 1;
  if (e16 === 0 && (!(i16 === 0) && (i16 % 1e6 === 0 && v18 === 0)) || !(e16 >= 0 && e16 <= 5))
    return 4;
  return 5;
}
var fr_default = ["fr", [["AM", "PM"]], u4, [["D", "L", "M", "M", "J", "V", "S"], ["dim.", "lun.", "mar.", "mer.", "jeu.", "ven.", "sam."], ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], ["di", "lu", "ma", "me", "je", "ve", "sa"]], u4, [["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], ["janv.", "f\xE9vr.", "mars", "avr.", "mai", "juin", "juil.", "ao\xFBt", "sept.", "oct.", "nov.", "d\xE9c."], ["janvier", "f\xE9vrier", "mars", "avril", "mai", "juin", "juillet", "ao\xFBt", "septembre", "octobre", "novembre", "d\xE9cembre"]], u4, [["av. J.-C.", "ap. J.-C."], u4, ["avant J\xE9sus-Christ", "apr\xE8s J\xE9sus-Christ"]], 1, [6, 0], ["dd/MM/y", "d MMM y", "d MMMM y", "EEEE d MMMM y"], ["HH:mm", "HH:mm:ss", "HH:mm:ss z", "HH:mm:ss zzzz"], ["{1} {0}", "{1}, {0}", "{1} '\xE0' {0}", u4], [",", "\u202F", ";", "%", "+", "-", "E", "\xD7", "\u2030", "\u221E", "NaN", ":"], ["#,##0.###", "#,##0\xA0%", "#,##0.00\xA0\xA4", "#E0"], "EUR", "\u20AC", "euro", { "ARS": ["$AR", "$"], "AUD": ["$AU", "$"], "BEF": ["FB"], "BMD": ["$BM", "$"], "BND": ["$BN", "$"], "BYN": [u4, "\u0440."], "BZD": ["$BZ", "$"], "CAD": ["$CA", "$"], "CLP": ["$CL", "$"], "CNY": [u4, "\xA5"], "COP": ["$CO", "$"], "CYP": ["\xA3CY"], "EGP": [u4, "\xA3E"], "FJD": ["$FJ", "$"], "FKP": ["\xA3FK", "\xA3"], "FRF": ["F"], "GBP": ["\xA3GB", "\xA3"], "GIP": ["\xA3GI", "\xA3"], "HKD": [u4, "$"], "IEP": ["\xA3IE"], "ILP": ["\xA3IL"], "ITL": ["\u20A4IT"], "JPY": [u4, "\xA5"], "KMF": [u4, "FC"], "LBP": ["\xA3LB", "\xA3L"], "MTP": ["\xA3MT"], "MXN": ["$MX", "$"], "NAD": ["$NA", "$"], "NIO": [u4, "$C"], "NZD": ["$NZ", "$"], "PHP": [u4, "\u20B1"], "RHD": ["$RH"], "RON": [u4, "L"], "RWF": [u4, "FR"], "SBD": ["$SB", "$"], "SGD": ["$SG", "$"], "SRD": ["$SR", "$"], "TOP": [u4, "$T"], "TTD": ["$TT", "$"], "TWD": [u4, "NT$"], "USD": ["$US", "$"], "UYU": ["$UY", "$"], "WST": ["$WS"], "XCD": [u4, "$"], "XPF": ["FCFP"], "ZMW": [u4, "Kw"] }, "ltr", plural];

// node_modules/@angular/platform-browser/fesm2022/animations/async.mjs
var ANIMATION_PREFIX = "@";
var AsyncAnimationRendererFactory = class _AsyncAnimationRendererFactory {
  doc;
  delegate;
  zone;
  animationType;
  moduleImpl;
  _rendererFactoryPromise = null;
  scheduler = null;
  injector = inject(Injector);
  loadingSchedulerFn = inject(\u0275ASYNC_ANIMATION_LOADING_SCHEDULER_FN, {
    optional: true
  });
  _engine;
  /**
   *
   * @param moduleImpl allows to provide a mock implmentation (or will load the animation module)
   */
  constructor(doc, delegate, zone, animationType, moduleImpl) {
    this.doc = doc;
    this.delegate = delegate;
    this.zone = zone;
    this.animationType = animationType;
    this.moduleImpl = moduleImpl;
  }
  /** @docs-private */
  ngOnDestroy() {
    this._engine?.flush();
  }
  /**
   * @internal
   */
  loadImpl() {
    const loadFn = () => this.moduleImpl ?? import("./chunk-RXPIFPGW.js").then((m28) => m28);
    let moduleImplPromise;
    if (this.loadingSchedulerFn) {
      moduleImplPromise = this.loadingSchedulerFn(loadFn);
    } else {
      moduleImplPromise = loadFn();
    }
    return moduleImplPromise.catch((e16) => {
      throw new RuntimeError(5300, (typeof ngDevMode === "undefined" || ngDevMode) && "Async loading for animations package was enabled, but loading failed. Angular falls back to using regular rendering. No animations will be displayed and their styles won't be applied.");
    }).then(({
      \u0275createEngine,
      \u0275AnimationRendererFactory
    }) => {
      this._engine = \u0275createEngine(this.animationType, this.doc);
      const rendererFactory = new \u0275AnimationRendererFactory(this.delegate, this._engine, this.zone);
      this.delegate = rendererFactory;
      return rendererFactory;
    });
  }
  /**
   * This method is delegating the renderer creation to the factories.
   * It uses default factory while the animation factory isn't loaded
   * and will rely on the animation factory once it is loaded.
   *
   * Calling this method will trigger as side effect the loading of the animation module
   * if the renderered component uses animations.
   */
  createRenderer(hostElement, rendererType) {
    const renderer = this.delegate.createRenderer(hostElement, rendererType);
    if (renderer.\u0275type === 0) {
      return renderer;
    }
    if (typeof renderer.throwOnSyntheticProps === "boolean") {
      renderer.throwOnSyntheticProps = false;
    }
    const dynamicRenderer = new DynamicDelegationRenderer(renderer);
    if (rendererType?.data?.["animation"] && !this._rendererFactoryPromise) {
      this._rendererFactoryPromise = this.loadImpl();
    }
    this._rendererFactoryPromise?.then((animationRendererFactory) => {
      const animationRenderer = animationRendererFactory.createRenderer(hostElement, rendererType);
      dynamicRenderer.use(animationRenderer);
      this.scheduler ??= this.injector.get(ChangeDetectionScheduler, null, {
        optional: true
      });
      this.scheduler?.notify(
        10
        /* NotificationSource.AsyncAnimationsLoaded */
      );
    }).catch((e16) => {
      dynamicRenderer.use(renderer);
    });
    return dynamicRenderer;
  }
  begin() {
    this.delegate.begin?.();
  }
  end() {
    this.delegate.end?.();
  }
  whenRenderingDone() {
    return this.delegate.whenRenderingDone?.() ?? Promise.resolve();
  }
  /**
   * Used during HMR to clear any cached data about a component.
   * @param componentId ID of the component that is being replaced.
   */
  componentReplaced(componentId) {
    this._engine?.flush();
    this.delegate.componentReplaced?.(componentId);
  }
  static \u0275fac = function AsyncAnimationRendererFactory_Factory(__ngFactoryType__) {
    \u0275\u0275invalidFactory();
  };
  static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({
    token: _AsyncAnimationRendererFactory,
    factory: _AsyncAnimationRendererFactory.\u0275fac
  });
};
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(AsyncAnimationRendererFactory, [{
    type: Injectable
  }], () => [{
    type: Document
  }, {
    type: RendererFactory2
  }, {
    type: NgZone
  }, {
    type: void 0
  }, {
    type: Promise
  }], null);
})();
var DynamicDelegationRenderer = class {
  delegate;
  // List of callbacks that need to be replayed on the animation renderer once its loaded
  replay = [];
  \u0275type = 1;
  constructor(delegate) {
    this.delegate = delegate;
  }
  use(impl) {
    this.delegate = impl;
    if (this.replay !== null) {
      for (const fn of this.replay) {
        fn(impl);
      }
      this.replay = null;
    }
  }
  get data() {
    return this.delegate.data;
  }
  destroy() {
    this.replay = null;
    this.delegate.destroy();
  }
  createElement(name, namespace) {
    return this.delegate.createElement(name, namespace);
  }
  createComment(value) {
    return this.delegate.createComment(value);
  }
  createText(value) {
    return this.delegate.createText(value);
  }
  get destroyNode() {
    return this.delegate.destroyNode;
  }
  appendChild(parent, newChild) {
    this.delegate.appendChild(parent, newChild);
  }
  insertBefore(parent, newChild, refChild, isMove) {
    this.delegate.insertBefore(parent, newChild, refChild, isMove);
  }
  removeChild(parent, oldChild, isHostElement, requireSynchronousElementRemoval) {
    this.delegate.removeChild(parent, oldChild, isHostElement, requireSynchronousElementRemoval);
  }
  selectRootElement(selectorOrNode, preserveContent) {
    return this.delegate.selectRootElement(selectorOrNode, preserveContent);
  }
  parentNode(node) {
    return this.delegate.parentNode(node);
  }
  nextSibling(node) {
    return this.delegate.nextSibling(node);
  }
  setAttribute(el, name, value, namespace) {
    this.delegate.setAttribute(el, name, value, namespace);
  }
  removeAttribute(el, name, namespace) {
    this.delegate.removeAttribute(el, name, namespace);
  }
  addClass(el, name) {
    this.delegate.addClass(el, name);
  }
  removeClass(el, name) {
    this.delegate.removeClass(el, name);
  }
  setStyle(el, style, value, flags) {
    this.delegate.setStyle(el, style, value, flags);
  }
  removeStyle(el, style, flags) {
    this.delegate.removeStyle(el, style, flags);
  }
  setProperty(el, name, value) {
    if (this.shouldReplay(name)) {
      this.replay.push((renderer) => renderer.setProperty(el, name, value));
    }
    this.delegate.setProperty(el, name, value);
  }
  setValue(node, value) {
    this.delegate.setValue(node, value);
  }
  listen(target, eventName, callback, options) {
    if (this.shouldReplay(eventName)) {
      this.replay.push((renderer) => renderer.listen(target, eventName, callback, options));
    }
    return this.delegate.listen(target, eventName, callback, options);
  }
  shouldReplay(propOrEventName) {
    return this.replay !== null && propOrEventName.startsWith(ANIMATION_PREFIX);
  }
};
var \u0275ASYNC_ANIMATION_LOADING_SCHEDULER_FN = new InjectionToken(ngDevMode ? "async_animation_loading_scheduler_fn" : "");
function provideAnimationsAsync(type = "animations") {
  performanceMarkFeature("NgAsyncAnimations");
  if (false) {
    type = "noop";
  }
  return makeEnvironmentProviders([{
    provide: RendererFactory2,
    useFactory: (doc, renderer, zone) => {
      return new AsyncAnimationRendererFactory(doc, renderer, zone, type);
    },
    deps: [DOCUMENT, DomRendererFactory2, NgZone]
  }, {
    provide: ANIMATION_MODULE_TYPE,
    useValue: type === "noop" ? "NoopAnimations" : "BrowserAnimations"
  }]);
}

// node_modules/@ionic/core/components/p-hHmYLOfE.js
var t7 = (t17, M8, r32, n15, e16) => h5(t17[1], M8[1], r32[1], n15[1], e16).map(((h21) => a5(t17[0], M8[0], r32[0], n15[0], h21)));
var a5 = (t17, a17, h21, M8, r32) => r32 * (3 * a17 * Math.pow(r32 - 1, 2) + r32 * (-3 * h21 * r32 + 3 * h21 + M8 * r32)) - t17 * Math.pow(r32 - 1, 3);
var h5 = (t17, a17, h21, r32, n15) => M3((r32 -= n15) - 3 * (h21 -= n15) + 3 * (a17 -= n15) - (t17 -= n15), 3 * h21 - 6 * a17 + 3 * t17, 3 * a17 - 3 * t17, t17).filter(((t18) => t18 >= 0 && t18 <= 1));
var M3 = (t17, a17, h21, M8) => {
  if (0 === t17) return ((t18, a18, h22) => {
    const M9 = a18 * a18 - 4 * t18 * h22;
    return M9 < 0 ? [] : [(-a18 + Math.sqrt(M9)) / (2 * t18), (-a18 - Math.sqrt(M9)) / (2 * t18)];
  })(a17, h21, M8);
  const r32 = (3 * (h21 /= t17) - (a17 /= t17) * a17) / 3, n15 = (2 * a17 * a17 * a17 - 9 * a17 * h21 + 27 * (M8 /= t17)) / 27;
  if (0 === r32) return [Math.pow(-n15, 1 / 3)];
  if (0 === n15) return [Math.sqrt(-r32), -Math.sqrt(-r32)];
  const e16 = Math.pow(n15 / 2, 2) + Math.pow(r32 / 3, 3);
  if (0 === e16) return [Math.pow(n15 / 2, 0.5) - a17 / 3];
  if (e16 > 0) return [Math.pow(-n15 / 2 + Math.sqrt(e16), 1 / 3) - Math.pow(n15 / 2 + Math.sqrt(e16), 1 / 3) - a17 / 3];
  const u21 = Math.sqrt(Math.pow(-r32 / 3, 3)), o14 = Math.acos(-n15 / (2 * Math.sqrt(Math.pow(-r32 / 3, 3)))), s23 = 2 * Math.pow(u21, 1 / 3);
  return [s23 * Math.cos(o14 / 3) - a17 / 3, s23 * Math.cos((o14 + 2 * Math.PI) / 3) - a17 / 3, s23 * Math.cos((o14 + 4 * Math.PI) / 3) - a17 / 3];
};

// node_modules/@ionic/core/components/p-CDfQnFrd.js
var a6 = (o14) => l4(o14);
var s7 = (o14, i16) => ("string" == typeof o14 && (i16 = o14, o14 = void 0), a6(o14).includes(i16));
var l4 = (o14 = window) => {
  if (void 0 === o14) return [];
  o14.Ionic = o14.Ionic || {};
  let i16 = o14.Ionic.platforms;
  return null == i16 && (i16 = o14.Ionic.platforms = c5(o14), i16.forEach(((i17) => o14.document.documentElement.classList.add(`plt-${i17}`)))), i16;
};
var c5 = (i16) => {
  const t17 = n.get("platform");
  return Object.keys(j).filter(((o14) => {
    const n15 = null == t17 ? void 0 : t17[o14];
    return "function" == typeof n15 ? n15(i16) : j[o14](i16);
  }));
};
var u5 = (o14) => !!h6(o14, /iPad/i) || !(!h6(o14, /Macintosh/i) || !m4(o14));
var p3 = (o14) => h6(o14, /android|sink/i);
var m4 = (o14) => w2(o14, "(any-pointer:coarse)");
var f4 = (o14) => v3(o14) || b3(o14);
var v3 = (o14) => !!(o14.cordova || o14.phonegap || o14.PhoneGap);
var b3 = (o14) => {
  const i16 = o14.Capacitor;
  return !!((null == i16 ? void 0 : i16.isNative) || (null == i16 ? void 0 : i16.isNativePlatform) && i16.isNativePlatform());
};
var h6 = (o14, i16) => i16.test(o14.navigator.userAgent);
var w2 = (o14, i16) => {
  var t17;
  return null === (t17 = o14.matchMedia) || void 0 === t17 ? void 0 : t17.call(o14, i16).matches;
};
var j = { ipad: u5, iphone: (o14) => h6(o14, /iPhone/i), ios: (o14) => h6(o14, /iPhone|iPod/i) || u5(o14), android: p3, phablet: (o14) => {
  const i16 = o14.innerWidth, t17 = o14.innerHeight, n15 = Math.min(i16, t17), e16 = Math.max(i16, t17);
  return n15 > 390 && n15 < 520 && e16 > 620 && e16 < 800;
}, tablet: (o14) => {
  const i16 = o14.innerWidth, t17 = o14.innerHeight, n15 = Math.min(i16, t17), e16 = Math.max(i16, t17);
  return u5(o14) || ((o15) => p3(o15) && !h6(o15, /mobile/i))(o14) || n15 > 460 && n15 < 820 && e16 > 780 && e16 < 1400;
}, cordova: v3, capacitor: b3, electron: (o14) => h6(o14, /electron/i), pwa: (o14) => {
  var i16;
  return !(!(null === (i16 = o14.matchMedia) || void 0 === i16 ? void 0 : i16.call(o14, "(display-mode: standalone)").matches) && !o14.navigator.standalone);
}, mobile: m4, mobileweb: (o14) => m4(o14) && !f4(o14), desktop: (o14) => !m4(o14), hybrid: f4 };
var O2;
var g = (o14) => o14 && qt(o14) || O2;
var y4 = (e16 = {}) => {
  if ("undefined" == typeof window) return;
  const a17 = window.document, c36 = window, u21 = c36.Ionic = c36.Ionic || {}, p33 = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, e(c36)), { persistConfig: false }), u21.config), s(c36)), e16);
  n.reset(p33), n.getBoolean("persistConfig") && o(c36, p33), l4(c36), u21.config = n, u21.mode = O2 = n.get("mode", a17.documentElement.getAttribute("mode") || (s7(c36, "ios") ? "ios" : "md")), n.set("mode", O2), a17.documentElement.setAttribute("mode", O2), a17.documentElement.classList.add(O2), n.getBoolean("_testing") && n.set("animated", false);
  const m28 = (o14) => {
    var i16;
    return null === (i16 = o14.tagName) || void 0 === i16 ? void 0 : i16.startsWith("ION-");
  }, f27 = (o14) => ["ios", "md"].includes(o14);
  Pt(((o14) => {
    for (; o14; ) {
      const i16 = o14.mode || o14.getAttribute("mode");
      if (i16) {
        if (f27(i16)) return i16;
        m28(o14) && u('Invalid ionic mode: "' + i16 + '", expected: "ios" or "md"');
      }
      o14 = o14.parentElement;
    }
    return O2;
  }));
};

// node_modules/@ionic/core/components/p-BUbsoBOV.js
var n4 = (n15) => {
  try {
    if (n15 instanceof c6) return n15.value;
    if (!r4() || "string" != typeof n15 || "" === n15) return n15;
    if (n15.includes("onload=")) return "";
    const t17 = document.createDocumentFragment(), s23 = document.createElement("div");
    t17.appendChild(s23), s23.innerHTML = n15, i6.forEach(((n16) => {
      const r32 = t17.querySelectorAll(n16);
      for (let n17 = r32.length - 1; n17 >= 0; n17--) {
        const s24 = r32[n17];
        s24.parentNode ? s24.parentNode.removeChild(s24) : t17.removeChild(s24);
        const i16 = e6(s24);
        for (let t18 = 0; t18 < i16.length; t18++) o5(i16[t18]);
      }
    }));
    const a17 = e6(t17);
    for (let t18 = 0; t18 < a17.length; t18++) o5(a17[t18]);
    const d25 = document.createElement("div");
    d25.appendChild(t17);
    const l27 = d25.querySelector("div");
    return null !== l27 ? l27.innerHTML : d25.innerHTML;
  } catch (n16) {
    return f("sanitizeDOMString", n16), "";
  }
};
var o5 = (t17) => {
  if (t17.nodeType && 1 !== t17.nodeType) return;
  if ("undefined" != typeof NamedNodeMap && !(t17.attributes instanceof NamedNodeMap)) return void t17.remove();
  for (let n16 = t17.attributes.length - 1; n16 >= 0; n16--) {
    const o14 = t17.attributes.item(n16), e16 = o14.name;
    if (!s8.includes(e16.toLowerCase())) {
      t17.removeAttribute(e16);
      continue;
    }
    const r32 = o14.value, i16 = t17[e16];
    (null != r32 && r32.toLowerCase().includes("javascript:") || null != i16 && i16.toLowerCase().includes("javascript:")) && t17.removeAttribute(e16);
  }
  const n15 = e6(t17);
  for (let t18 = 0; t18 < n15.length; t18++) o5(n15[t18]);
};
var e6 = (t17) => null != t17.children ? t17.children : t17.childNodes;
var r4 = () => {
  var t17;
  const n15 = window, o14 = null === (t17 = null == n15 ? void 0 : n15.Ionic) || void 0 === t17 ? void 0 : t17.config;
  return !o14 || (o14.get ? o14.get("sanitizerEnabled", true) : true === o14.sanitizerEnabled || void 0 === o14.sanitizerEnabled);
};
var s8 = ["class", "id", "href", "src", "name", "slot"];
var i6 = ["script", "style", "iframe", "meta", "link", "object", "embed"];
var c6 = class {
  constructor(t17) {
    this.value = t17;
  }
};
var l5 = false;

// node_modules/@ionic/core/components/p-DiVJyqlX.js
var n5 = (n15, o14) => null !== o14.closest(n15);
var o6 = (n15, o14) => "string" == typeof n15 && n15.length > 0 ? Object.assign({ "ion-color": true, [`ion-color-${n15}`]: true }, o14) : o14;
var r5 = (n15) => {
  const o14 = {};
  return ((n16) => void 0 !== n16 ? (Array.isArray(n16) ? n16 : n16.split(" ")).filter(((n17) => null != n17)).map(((n17) => n17.trim())).filter(((n17) => "" !== n17)) : [])(n15).forEach(((n16) => o14[n16] = true)), o14;
};
var t8 = /^[a-z][a-z0-9+\-.]*:/;
var l6 = (n15, o14, r32, l27) => __async(null, null, function* () {
  if (null != n15 && "#" !== n15[0] && !t8.test(n15)) {
    const t17 = document.querySelector("ion-router");
    if (t17) return null != o14 && o14.preventDefault(), t17.push(n15, r32, l27);
  }
  return false;
});

// node_modules/@ionic/core/components/p-D6NJwNJN.js
var o7 = (t17) => r().duration(t17 ? 400 : 300);
var i7 = (t17) => {
  let e16, n15;
  const r32 = t17.width + 8, i16 = r(), u21 = r();
  t17.isEndSide ? (e16 = r32 + "px", n15 = "0px") : (e16 = -r32 + "px", n15 = "0px"), i16.addElement(t17.menuInnerEl).fromTo("transform", `translateX(${e16})`, `translateX(${n15})`);
  const c36 = "ios" === g(t17), p33 = c36 ? 0.2 : 0.25;
  return u21.addElement(t17.backdropEl).fromTo("opacity", 0.01, p33), o7(c36).addAnimation([i16, u21]);
};
var u6 = (t17) => {
  let e16, n15;
  const r32 = g(t17), i16 = t17.width;
  t17.isEndSide ? (e16 = -i16 + "px", n15 = i16 + "px") : (e16 = i16 + "px", n15 = -i16 + "px");
  const u21 = r().addElement(t17.menuInnerEl).fromTo("transform", `translateX(${n15})`, "translateX(0px)"), c36 = r().addElement(t17.contentEl).fromTo("transform", "translateX(0px)", `translateX(${e16})`), p33 = r().addElement(t17.backdropEl).fromTo("opacity", 0.01, 0.32);
  return o7("ios" === r32).addAnimation([u21, c36, p33]);
};
var c7 = (t17) => {
  const e16 = g(t17), n15 = t17.width * (t17.isEndSide ? -1 : 1) + "px", r32 = r().addElement(t17.contentEl).fromTo("transform", "translateX(0px)", `translateX(${n15})`);
  return o7("ios" === e16).addAnimation(r32);
};
var p4 = (() => {
  const s23 = /* @__PURE__ */ new Map(), a17 = [], o14 = (t17, e16 = false) => __async(null, null, function* () {
    if (yield d25(), "start" === t17 || "end" === t17) {
      const r32 = a17.filter(((e17) => e17.side === t17 && !e17.disabled));
      if (r32.length >= 1) return r32.length > 1 && e16 && u(`menuController queried for a menu on the "${t17}" side, but ${r32.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`, r32.map(((t18) => t18.el))), r32[0].el;
      const s24 = a17.filter(((e17) => e17.side === t17));
      if (s24.length >= 1) return s24.length > 1 && e16 && u(`menuController queried for a menu on the "${t17}" side, but ${s24.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`, s24.map(((t18) => t18.el))), s24[0].el;
    } else if (null != t17) return w12(((e17) => e17.menuId === t17));
    return w12(((t18) => !t18.disabled)) || (a17.length > 0 ? a17[0].el : void 0);
  }), p33 = () => __async(null, null, function* () {
    return yield d25(), m28();
  }), f27 = (t17, e16) => {
    s23.set(t17, e16);
  }, m28 = () => w12(((t17) => t17._isOpen)), l27 = () => a17.some(((t17) => t17.isAnimating)), w12 = (t17) => {
    const e16 = a17.find(t17);
    if (void 0 !== e16) return e16.el;
  }, d25 = () => Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(((t17) => new Promise(((e16) => e2(t17, e16))))));
  return f27("reveal", c7), f27("push", u6), f27("overlay", i7), null == o2 || o2.addEventListener("ionBackButton", ((t17) => {
    const n15 = m28();
    n15 && t17.detail.register(c3, (() => n15.close()));
  })), { registerAnimation: f27, get: o14, getMenus: () => __async(null, null, function* () {
    return yield d25(), a17.map(((t17) => t17.el));
  }), getOpen: p33, isEnabled: (t17) => __async(null, null, function* () {
    const e16 = yield o14(t17);
    return !!e16 && !e16.disabled;
  }), swipeGesture: (t17, e16) => __async(null, null, function* () {
    const n15 = yield o14(e16);
    return n15 && (n15.swipeGesture = t17), n15;
  }), isAnimating: () => __async(null, null, function* () {
    return yield d25(), l27();
  }), isOpen: (t17) => __async(null, null, function* () {
    if (null != t17) {
      const e16 = yield o14(t17);
      return void 0 !== e16 && e16.isOpen();
    }
    return void 0 !== (yield p33());
  }), enable: (t17, e16) => __async(null, null, function* () {
    const n15 = yield o14(e16);
    return n15 && (n15.disabled = !t17), n15;
  }), toggle: (t17) => __async(null, null, function* () {
    const e16 = yield o14(t17, true);
    return !!e16 && e16.toggle();
  }), close: (t17) => __async(null, null, function* () {
    const e16 = yield void 0 !== t17 ? o14(t17, true) : p33();
    return void 0 !== e16 && e16.close();
  }), open: (t17) => __async(null, null, function* () {
    const e16 = yield o14(t17, true);
    return !!e16 && e16.open();
  }), _getOpenSync: m28, _createAnimation: (t17, e16) => {
    const n15 = s23.get(t17);
    if (!n15) throw new Error("animation not registered");
    return n15(e16);
  }, _register: (t17) => {
    a17.indexOf(t17) < 0 && a17.push(t17);
  }, _unregister: (t17) => {
    const e16 = a17.indexOf(t17);
    e16 > -1 && a17.splice(e16, 1);
  }, _setOpen: (t17, e16, n15, r32) => __async(null, null, function* () {
    if (l27()) return false;
    if (e16) {
      const e17 = yield p33();
      e17 && t17.el !== e17 && (yield e17.setOpen(false, false));
    }
    return t17._setOpen(e16, n15, r32);
  }) };
})();

// node_modules/@ionic/core/components/p-BR3tZJmu.js
var o8 = (o14, t17, i16, n15, r32, s23) => __async(null, null, function* () {
  var a17;
  if (o14) return o14.attachViewToDom(t17, i16, r32, n15);
  if (!(s23 || "string" == typeof i16 || i16 instanceof HTMLElement)) throw new Error("framework delegate is missing");
  const c36 = "string" == typeof i16 ? null === (a17 = t17.ownerDocument) || void 0 === a17 ? void 0 : a17.createElement(i16) : i16;
  return n15 && n15.forEach(((e16) => c36.classList.add(e16))), r32 && Object.assign(c36, r32), t17.appendChild(c36), yield new Promise(((o15) => e2(c36, o15))), c36;
});
var t9 = (e16, o14) => {
  if (o14) {
    if (e16) return e16.removeViewFromDom(o14.parentElement, o14);
    o14.remove();
  }
  return Promise.resolve();
};
var i8 = () => {
  let o14, t17;
  return { attachViewToDom: (_0, _1, ..._22) => __async(null, [_0, _1, ..._22], function* (i16, n15, r32 = {}, s23 = []) {
    var a17, c36;
    let l27;
    if (o14 = i16, n15) {
      const t18 = "string" == typeof n15 ? null === (a17 = o14.ownerDocument) || void 0 === a17 ? void 0 : a17.createElement(n15) : n15;
      s23.forEach(((e16) => t18.classList.add(e16))), Object.assign(t18, r32), o14.appendChild(t18), l27 = t18, yield new Promise(((o15) => e2(t18, o15)));
    } else if (o14.children.length > 0 && ("ION-MODAL" === o14.tagName || "ION-POPOVER" === o14.tagName) && !(l27 = o14.children[0]).classList.contains("ion-delegate-host")) {
      const e16 = null === (c36 = o14.ownerDocument) || void 0 === c36 ? void 0 : c36.createElement("div");
      e16.classList.add("ion-delegate-host"), s23.forEach(((o15) => e16.classList.add(o15))), e16.append(...o14.children), o14.appendChild(e16), l27 = e16;
    }
    const m28 = document.querySelector("ion-app") || document.body;
    return t17 = document.createComment("ionic teleport"), o14.parentNode.insertBefore(t17, o14), m28.appendChild(o14), null != l27 ? l27 : o14;
  }), removeViewFromDom: () => (o14 && t17 && (t17.parentNode.insertBefore(o14, t17), t17.remove()), Promise.resolve()) };
};

// node_modules/@ionic/core/components/p-Cq8cQ0NL.js
var v4 = '[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), ion-checkbox:not([tabindex^="-"]):not([hidden]):not([disabled]), ion-radio:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])';
var f5 = (n15, o14) => {
  const e16 = n15.querySelector(v4);
  b4(e16, null != o14 ? o14 : n15);
};
var h7 = (n15, o14) => {
  const e16 = Array.from(n15.querySelectorAll(v4));
  b4(e16.length > 0 ? e16[e16.length - 1] : null, null != o14 ? o14 : n15);
};
var b4 = (n15, e16) => {
  let t17 = n15;
  const i16 = null == n15 ? void 0 : n15.shadowRoot;
  if (i16 && (t17 = i16.querySelector(v4) || n15), t17) {
    const n16 = t17.closest("ion-radio-group");
    n16 ? n16.setFocus() : p(t17);
  } else e16.focus();
};
var w3 = 0;
var y5 = 0;
var g2 = /* @__PURE__ */ new WeakMap();
var O3 = (n15) => {
  var o14;
  return false !== n15.showBackdrop && !((null !== (o14 = n15.backdropBreakpoint) && void 0 !== o14 ? o14 : 0) > 0);
};
var T3 = (n15) => ({ create: (o14) => S3(n15, o14), dismiss: (o14, e16, t17) => E3(document, o14, e16, n15, t17), getTop: () => __async(null, null, function* () {
  return V(document, n15);
}) });
var x3 = T3("ion-alert");
var k2 = T3("ion-action-sheet");
var j2 = T3("ion-loading");
var A = T3("ion-modal");
var C = T3("ion-picker-legacy");
var B3 = T3("ion-popover");
var D3 = T3("ion-toast");
var I3 = (n15) => {
  "undefined" != typeof document && P2(document);
  const o14 = w3++;
  n15.overlayIndex = o14;
};
var N = (n15) => (n15.hasAttribute("id") || (n15.id = "ion-overlay-" + ++y5), n15.id);
var S3 = (n15, o14) => "undefined" != typeof window && void 0 !== window.customElements ? window.customElements.whenDefined(n15).then((() => {
  const t17 = document.createElement(n15);
  return t17.classList.add("overlay-hidden"), Object.assign(t17, Object.assign(Object.assign({}, o14), { hasController: true })), L3(document).appendChild(t17), new Promise(((n16) => e2(t17, n16)));
})) : Promise.resolve();
var M4 = (n15, e16) => {
  let t17 = n15;
  const i16 = null == n15 ? void 0 : n15.shadowRoot;
  i16 && (t17 = i16.querySelector(v4) || n15), t17 ? p(t17) : e16.focus();
};
var P2 = (n15) => {
  0 === w3 && (w3 = 1, n15.addEventListener("focus", ((o14) => {
    ((n16, o15) => {
      const e16 = V(o15, "ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover"), t17 = n16.target;
      e16 && t17 && (e16.classList.contains(nn) || (e16.shadowRoot ? (() => {
        if (e16.contains(t17)) e16.lastFocus = t17;
        else if ("ION-TOAST" === t17.tagName) M4(e16.lastFocus, e16);
        else {
          const n17 = e16.lastFocus;
          f5(e16), n17 === o15.activeElement && h7(e16), e16.lastFocus = o15.activeElement;
        }
      })() : (() => {
        if (e16 === t17) e16.lastFocus = void 0;
        else if ("ION-TOAST" === t17.tagName) M4(e16.lastFocus, e16);
        else {
          const n17 = c(e16);
          if (!n17.contains(t17)) return;
          const i16 = n17.querySelector(".ion-overlay-wrapper");
          if (!i16) return;
          if (i16.contains(t17) || t17 === n17.querySelector("ion-backdrop")) e16.lastFocus = t17;
          else {
            const n18 = e16.lastFocus;
            f5(i16, e16), n18 === o15.activeElement && h7(i16, e16), e16.lastFocus = o15.activeElement;
          }
        }
      })()));
    })(o14, n15);
  }), true), n15.addEventListener("ionBackButton", ((o14) => {
    const e16 = V(n15);
    (null == e16 ? void 0 : e16.backdropDismiss) && o14.detail.register(a, (() => {
      e16.dismiss(void 0, H3);
    }));
  })), o3() || n15.addEventListener("keydown", ((o14) => {
    if ("Escape" === o14.key) {
      const o15 = V(n15);
      (null == o15 ? void 0 : o15.backdropDismiss) && o15.dismiss(void 0, H3);
    }
  })));
};
var E3 = (n15, o14, e16, t17, i16) => {
  const a17 = V(n15, t17, i16);
  return a17 ? a17.dismiss(o14, e16) : Promise.reject("overlay does not exist");
};
var F = (n15, o14) => ((n16, o15) => (void 0 === o15 && (o15 = "ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover,ion-toast"), Array.from(n16.querySelectorAll(o15)).filter(((n17) => n17.overlayIndex > 0))))(n15, o14).filter(((n16) => !n16.classList.contains("overlay-hidden")));
var V = (n15, o14, e16) => {
  const t17 = F(n15, o14);
  return (void 0 === e16 ? t17 : t17.filter(((n16) => n16.id === e16))).slice(-1)[0];
};
var Z = (n15 = false) => {
  const o14 = L3(document).querySelector("ion-router-outlet, #ion-view-container-root");
  o14 && (n15 ? o14.setAttribute("aria-hidden", "true") : o14.removeAttribute("aria-hidden"));
};
var $ = (n15, o14, e16, t17, i16) => __async(null, null, function* () {
  var a17, r32;
  if (n15.presented) return;
  "ION-TOAST" !== n15.el.tagName && G2(n15.el);
  const d25 = n15.el, l27 = "ION-TOAST" !== d25.tagName && false !== d25.focusTrap && O3(d25);
  if (n15.presented = true, n15.willPresent.emit(), l27) {
    const n16 = L3(document).querySelector("ion-router-outlet, #ion-view-container-root");
    !!n16 && n16.contains(d25) || Z(true), document.body.classList.add(i2);
  }
  null === (a17 = n15.willPresentShorthand) || void 0 === a17 || a17.emit();
  const c36 = g(n15), m28 = n15.enterAnimation ? n15.enterAnimation : n.get(o14, "ios" === c36 ? e16 : t17);
  (yield R2(n15, m28, n15.el, i16)) && (n15.didPresent.emit(), null === (r32 = n15.didPresentShorthand) || void 0 === r32 || r32.emit()), !n15.keyboardClose || null !== document.activeElement && n15.el.contains(document.activeElement) || n15.el.focus(), n15.el.removeAttribute("aria-hidden"), n15.el.removeAttribute("inert");
});
var G2 = (n15) => __async(null, null, function* () {
  let o14 = document.activeElement;
  if (!o14) return;
  o14.blur();
  const e16 = null == o14 ? void 0 : o14.shadowRoot;
  e16 && (o14 = e16.querySelector(v4) || o14), yield n15.onDidDismiss(), null !== document.activeElement && document.activeElement !== document.body || o14.focus();
});
var J = (o14, e16, t17, i16, a17, r32, d25) => __async(null, null, function* () {
  var c36, m28;
  if (!o14.presented) return false;
  const v18 = (void 0 !== o2 ? F(o2) : []).filter(((n15) => "ION-TOAST" !== n15.tagName && false !== n15.focusTrap && O3(n15))), f27 = o14.el;
  "ION-TOAST" !== f27.tagName && false !== f27.focusTrap && O3(f27) && 1 === v18.length && v18[0].id === f27.id && (Z(false), document.body.classList.remove(i2)), o14.presented = false;
  try {
    o14.el.style.setProperty("pointer-events", "none"), o14.willDismiss.emit({ data: e16, role: t17 }), null === (c36 = o14.willDismissShorthand) || void 0 === c36 || c36.emit({ data: e16, role: t17 });
    const n15 = g(o14), l27 = o14.leaveAnimation ? o14.leaveAnimation : n.get(i16, "ios" === n15 ? a17 : r32);
    t17 !== K2 && (yield R2(o14, l27, o14.el, d25)), o14.didDismiss.emit({ data: e16, role: t17 }), null === (m28 = o14.didDismissShorthand) || void 0 === m28 || m28.emit({ data: e16, role: t17 }), (g2.get(o14) || []).forEach(((n16) => n16.destroy())), g2.delete(o14), o14.el.classList.add("overlay-hidden"), o14.el.style.removeProperty("pointer-events"), void 0 !== o14.el.lastFocus && (o14.el.lastFocus = void 0);
  } catch (n15) {
    f(`[${o14.el.tagName.toLowerCase()}] - `, n15);
  }
  return o14.el.remove(), true;
});
var L3 = (n15) => n15.querySelector("ion-app") || n15.body;
var R2 = (n15, o14, e16, t17) => __async(null, null, function* () {
  e16.classList.remove("overlay-hidden");
  const i16 = o14(n15.el, t17);
  n15.animated && n.getBoolean("animated", true) || i16.duration(0), n15.keyboardClose && i16.beforeAddWrite((() => {
    const n16 = e16.ownerDocument.activeElement;
    (null == n16 ? void 0 : n16.matches("input,ion-input, ion-textarea")) && n16.blur();
  }));
  const a17 = g2.get(n15) || [];
  return g2.set(n15, [...a17, i16]), yield i16.play(), true;
});
var q3 = (n15, o14) => {
  let e16;
  const t17 = new Promise(((n16) => e16 = n16));
  return z2(n15, o14, ((n16) => {
    e16(n16.detail);
  })), t17;
};
var z2 = (n15, o14, e16) => {
  const a17 = (t17) => {
    u2(n15, o14, a17), e16(t17);
  };
  l(n15, o14, a17);
};
var Q2 = (n15) => "cancel" === n15 || n15 === H3;
var W2 = (n15) => n15();
var _2 = (n15, o14) => {
  if ("function" == typeof n15) return n.get("_zoneGate", W2)((() => {
    try {
      return n15(o14);
    } catch (n16) {
      throw n16;
    }
  }));
};
var H3 = "backdrop";
var K2 = "gesture";
var U = 39;
var X2 = (n15) => {
  let o14, e16 = false;
  const t17 = i8(), i16 = (i17 = false) => {
    if (o14 && !i17) return { delegate: o14, inline: e16 };
    const { el: a17, hasController: r32, delegate: d25 } = n15;
    return e16 = null !== a17.parentNode && !r32, o14 = e16 ? d25 || t17 : d25, { inline: e16, delegate: o14 };
  };
  return { attachViewToDom: (o15) => __async(null, null, function* () {
    const { delegate: e17 } = i16(true);
    if (e17) return yield e17.attachViewToDom(n15.el, o15);
    const { hasController: t18 } = n15;
    if (t18 && void 0 !== o15) throw new Error("framework delegate is missing");
    return null;
  }), removeViewFromDom: () => {
    const { delegate: o15 } = i16();
    o15 && void 0 !== n15.el && o15.removeViewFromDom(n15.el.parentElement, n15.el);
  } };
};
var Y2 = () => {
  let n15;
  const o14 = () => {
    n15 && (n15(), n15 = void 0);
  };
  return { addClickListener: (e16, t17) => {
    o14();
    const i16 = void 0 !== t17 ? document.getElementById(t17) : null;
    i16 ? n15 = ((n16, o15) => {
      const e17 = () => {
        o15.present();
      };
      return n16.addEventListener("click", e17), () => {
        n16.removeEventListener("click", e17);
      };
    })(i16, e16) : u(`[${e16.tagName.toLowerCase()}] - A trigger element with the ID "${t17}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`, e16);
  }, removeClickListener: o14 };
};
var nn = "ion-disable-focus-trap";

// node_modules/@ionic/angular/fesm2022/ionic-angular-common.mjs
var _c0 = ["tabsInner"];
var DomController = class _DomController {
  /**
   * Schedules a task to run during the READ phase of the next frame.
   * This task should only read the DOM, but never modify it.
   */
  read(cb) {
    getQueue().read(cb);
  }
  /**
   * Schedules a task to run during the WRITE phase of the next frame.
   * This task should write the DOM, but never READ it.
   */
  write(cb) {
    getQueue().write(cb);
  }
  /** @nocollapse */
  static \u0275fac = function DomController_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || _DomController)();
  };
  /** @nocollapse */
  static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({
    token: _DomController,
    factory: _DomController.\u0275fac,
    providedIn: "root"
  });
};
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(DomController, [{
    type: Injectable,
    args: [{
      providedIn: "root"
    }]
  }], null, null);
})();
var getQueue = () => {
  const win2 = typeof window !== "undefined" ? window : null;
  if (win2 != null) {
    const Ionic = win2.Ionic;
    if (Ionic?.queue) {
      return Ionic.queue;
    }
    return {
      read: (cb) => win2.requestAnimationFrame(cb),
      write: (cb) => win2.requestAnimationFrame(cb)
    };
  }
  return {
    read: (cb) => cb(),
    write: (cb) => cb()
  };
};
var MenuController = class {
  menuController;
  constructor(menuController) {
    this.menuController = menuController;
  }
  /**
   * Programmatically open the Menu.
   * @param [menuId]  Optionally get the menu by its id, or side.
   * @return returns a promise when the menu is fully opened
   */
  open(menuId) {
    return this.menuController.open(menuId);
  }
  /**
   * Programmatically close the Menu. If no `menuId` is given as the first
   * argument then it'll close any menu which is open. If a `menuId`
   * is given then it'll close that exact menu.
   * @param [menuId]  Optionally get the menu by its id, or side.
   * @return returns a promise when the menu is fully closed
   */
  close(menuId) {
    return this.menuController.close(menuId);
  }
  /**
   * Toggle the menu. If it's closed, it will open, and if opened, it
   * will close.
   * @param [menuId]  Optionally get the menu by its id, or side.
   * @return returns a promise when the menu has been toggled
   */
  toggle(menuId) {
    return this.menuController.toggle(menuId);
  }
  /**
   * Used to enable or disable a menu. For example, there could be multiple
   * left menus, but only one of them should be able to be opened at the same
   * time. If there are multiple menus on the same side, then enabling one menu
   * will also automatically disable all the others that are on the same side.
   * @param [menuId]  Optionally get the menu by its id, or side.
   * @return Returns the instance of the menu, which is useful for chaining.
   */
  enable(shouldEnable, menuId) {
    return this.menuController.enable(shouldEnable, menuId);
  }
  /**
   * Used to enable or disable the ability to swipe open the menu.
   * @param shouldEnable  True if it should be swipe-able, false if not.
   * @param [menuId]  Optionally get the menu by its id, or side.
   * @return Returns the instance of the menu, which is useful for chaining.
   */
  swipeGesture(shouldEnable, menuId) {
    return this.menuController.swipeGesture(shouldEnable, menuId);
  }
  /**
   * @param [menuId] Optionally get the menu by its id, or side.
   * @return Returns true if the specified menu is currently open, otherwise false.
   * If the menuId is not specified, it returns true if ANY menu is currenly open.
   */
  isOpen(menuId) {
    return this.menuController.isOpen(menuId);
  }
  /**
   * @param [menuId]  Optionally get the menu by its id, or side.
   * @return Returns true if the menu is currently enabled, otherwise false.
   */
  isEnabled(menuId) {
    return this.menuController.isEnabled(menuId);
  }
  /**
   * Used to get a menu instance. If a `menuId` is not provided then it'll
   * return the first menu found. If a `menuId` is `left` or `right`, then
   * it'll return the enabled menu on that side. Otherwise, if a `menuId` is
   * provided, then it'll try to find the menu using the menu's `id`
   * property. If a menu is not found then it'll return `null`.
   * @param [menuId]  Optionally get the menu by its id, or side.
   * @return Returns the instance of the menu if found, otherwise `null`.
   */
  get(menuId) {
    return this.menuController.get(menuId);
  }
  /**
   * @return Returns the instance of the menu already opened, otherwise `null`.
   */
  getOpen() {
    return this.menuController.getOpen();
  }
  /**
   * @return Returns an array of all menu instances.
   */
  getMenus() {
    return this.menuController.getMenus();
  }
  registerAnimation(name, animation) {
    return this.menuController.registerAnimation(name, animation);
  }
  isAnimating() {
    return this.menuController.isAnimating();
  }
  _getOpenSync() {
    return this.menuController._getOpenSync();
  }
  _createAnimation(type, menuCmp) {
    return this.menuController._createAnimation(type, menuCmp);
  }
  _register(menu) {
    return this.menuController._register(menu);
  }
  _unregister(menu) {
    return this.menuController._unregister(menu);
  }
  _setOpen(menu, shouldOpen, animated) {
    return this.menuController._setOpen(menu, shouldOpen, animated);
  }
};
var Platform = class _Platform {
  doc;
  _readyPromise;
  win;
  /**
   * @hidden
   */
  backButton = new Subject();
  /**
   * The keyboardDidShow event emits when the
   * on-screen keyboard is presented.
   */
  keyboardDidShow = new Subject();
  /**
   * The keyboardDidHide event emits when the
   * on-screen keyboard is hidden.
   */
  keyboardDidHide = new Subject();
  /**
   * The pause event emits when the native platform puts the application
   * into the background, typically when the user switches to a different
   * application. This event would emit when a Cordova app is put into
   * the background, however, it would not fire on a standard web browser.
   */
  pause = new Subject();
  /**
   * The resume event emits when the native platform pulls the application
   * out from the background. This event would emit when a Cordova app comes
   * out from the background, however, it would not fire on a standard web browser.
   */
  resume = new Subject();
  /**
   * The resize event emits when the browser window has changed dimensions. This
   * could be from a browser window being physically resized, or from a device
   * changing orientation.
   */
  resize = new Subject();
  constructor(doc, zone) {
    this.doc = doc;
    zone.run(() => {
      this.win = doc.defaultView;
      this.backButton.subscribeWithPriority = function(priority, callback) {
        return this.subscribe((ev) => {
          return ev.register(priority, (processNextHandler) => zone.run(() => callback(processNextHandler)));
        });
      };
      proxyEvent(this.pause, doc, "pause", zone);
      proxyEvent(this.resume, doc, "resume", zone);
      proxyEvent(this.backButton, doc, "ionBackButton", zone);
      proxyEvent(this.resize, this.win, "resize", zone);
      proxyEvent(this.keyboardDidShow, this.win, "ionKeyboardDidShow", zone);
      proxyEvent(this.keyboardDidHide, this.win, "ionKeyboardDidHide", zone);
      let readyResolve;
      this._readyPromise = new Promise((res) => {
        readyResolve = res;
      });
      if (this.win?.["cordova"]) {
        doc.addEventListener("deviceready", () => {
          readyResolve("cordova");
        }, {
          once: true
        });
      } else {
        readyResolve("dom");
      }
    });
  }
  /**
   * @returns returns true/false based on platform.
   * @description
   * Depending on the platform the user is on, `is(platformName)` will
   * return `true` or `false`. Note that the same app can return `true`
   * for more than one platform name. For example, an app running from
   * an iPad would return `true` for the platform names: `mobile`,
   * `ios`, `ipad`, and `tablet`. Additionally, if the app was running
   * from Cordova then `cordova` would be true, and if it was running
   * from a web browser on the iPad then `mobileweb` would be `true`.
   *
   * ```
   * import { Platform } from 'ionic-angular';
   *
   * @Component({...})
   * export MyPage {
   *   constructor(public platform: Platform) {
   *     if (this.platform.is('ios')) {
   *       // This will only print when on iOS
   *       console.log('I am an iOS device!');
   *     }
   *   }
   * }
   * ```
   *
   * | Platform Name   | Description                        |
   * |-----------------|------------------------------------|
   * | android         | on a device running Android.       |
   * | capacitor       | on a device running Capacitor.     |
   * | cordova         | on a device running Cordova.       |
   * | ios             | on a device running iOS.           |
   * | ipad            | on an iPad device.                 |
   * | iphone          | on an iPhone device.               |
   * | phablet         | on a phablet device.               |
   * | tablet          | on a tablet device.                |
   * | electron        | in Electron on a desktop device.   |
   * | pwa             | as a PWA app.                      |
   * | mobile          | on a mobile device.                |
   * | mobileweb       | on a mobile device in a browser.   |
   * | desktop         | on a desktop device.               |
   * | hybrid          | is a cordova or capacitor app.     |
   *
   */
  is(platformName) {
    return s7(this.win, platformName);
  }
  /**
   * @returns the array of platforms
   * @description
   * Depending on what device you are on, `platforms` can return multiple values.
   * Each possible value is a hierarchy of platforms. For example, on an iPhone,
   * it would return `mobile`, `ios`, and `iphone`.
   *
   * ```
   * import { Platform } from 'ionic-angular';
   *
   * @Component({...})
   * export MyPage {
   *   constructor(public platform: Platform) {
   *     // This will print an array of the current platforms
   *     console.log(this.platform.platforms());
   *   }
   * }
   * ```
   */
  platforms() {
    return a6(this.win);
  }
  /**
   * Returns a promise when the platform is ready and native functionality
   * can be called. If the app is running from within a web browser, then
   * the promise will resolve when the DOM is ready. When the app is running
   * from an application engine such as Cordova, then the promise will
   * resolve when Cordova triggers the `deviceready` event.
   *
   * The resolved value is the `readySource`, which states which platform
   * ready was used. For example, when Cordova is ready, the resolved ready
   * source is `cordova`. The default ready source value will be `dom`. The
   * `readySource` is useful if different logic should run depending on the
   * platform the app is running from. For example, only Cordova can execute
   * the status bar plugin, so the web should not run status bar plugin logic.
   *
   * ```
   * import { Component } from '@angular/core';
   * import { Platform } from 'ionic-angular';
   *
   * @Component({...})
   * export MyApp {
   *   constructor(public platform: Platform) {
   *     this.platform.ready().then((readySource) => {
   *       console.log('Platform ready from', readySource);
   *       // Platform now ready, execute any required native code
   *     });
   *   }
   * }
   * ```
   */
  ready() {
    return this._readyPromise;
  }
  /**
   * Returns if this app is using right-to-left language direction or not.
   * We recommend the app's `index.html` file already has the correct `dir`
   * attribute value set, such as `<html dir="ltr">` or `<html dir="rtl">`.
   * [W3C: Structural markup and right-to-left text in HTML](http://www.w3.org/International/questions/qa-html-dir)
   */
  get isRTL() {
    return this.doc.dir === "rtl";
  }
  /**
   * Get the query string parameter
   */
  getQueryParam(key) {
    return readQueryParam(this.win.location.href, key);
  }
  /**
   * Returns `true` if the app is in landscape mode.
   */
  isLandscape() {
    return !this.isPortrait();
  }
  /**
   * Returns `true` if the app is in portrait mode.
   */
  isPortrait() {
    return this.win.matchMedia?.("(orientation: portrait)").matches;
  }
  testUserAgent(expression) {
    const nav = this.win.navigator;
    return !!(nav?.userAgent && nav.userAgent.indexOf(expression) >= 0);
  }
  /**
   * Get the current url.
   */
  url() {
    return this.win.location.href;
  }
  /**
   * Gets the width of the platform's viewport using `window.innerWidth`.
   */
  width() {
    return this.win.innerWidth;
  }
  /**
   * Gets the height of the platform's viewport using `window.innerHeight`.
   */
  height() {
    return this.win.innerHeight;
  }
  /** @nocollapse */
  static \u0275fac = function Platform_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || _Platform)(\u0275\u0275inject(DOCUMENT), \u0275\u0275inject(NgZone));
  };
  /** @nocollapse */
  static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({
    token: _Platform,
    factory: _Platform.\u0275fac,
    providedIn: "root"
  });
};
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(Platform, [{
    type: Injectable,
    args: [{
      providedIn: "root"
    }]
  }], function() {
    return [{
      type: void 0,
      decorators: [{
        type: Inject,
        args: [DOCUMENT]
      }]
    }, {
      type: NgZone
    }];
  }, null);
})();
var readQueryParam = (url, key) => {
  key = key.replace(/[[\]\\]/g, "\\$&");
  const regex = new RegExp("[\\?&]" + key + "=([^&#]*)");
  const results = regex.exec(url);
  return results ? decodeURIComponent(results[1].replace(/\+/g, " ")) : null;
};
var proxyEvent = (emitter, el, eventName, zone) => {
  if (el) {
    el.addEventListener(eventName, (ev) => {
      zone.run(() => {
        const value = ev != null ? ev.detail : void 0;
        emitter.next(value);
      });
    });
  }
};
var NavController = class _NavController {
  location;
  serializer;
  router;
  topOutlet;
  direction = DEFAULT_DIRECTION;
  animated = DEFAULT_ANIMATED;
  animationBuilder;
  guessDirection = "forward";
  guessAnimation;
  lastNavId = -1;
  constructor(platform, location, serializer, router) {
    this.location = location;
    this.serializer = serializer;
    this.router = router;
    if (router) {
      router.events.subscribe((ev) => {
        if (ev instanceof NavigationStart) {
          const id = ev.restoredState ? ev.restoredState.navigationId : ev.id;
          this.guessDirection = this.guessAnimation = id < this.lastNavId ? "back" : "forward";
          this.lastNavId = this.guessDirection === "forward" ? ev.id : id;
        }
        if (ev instanceof NavigationCancel || ev instanceof NavigationError) {
          this.direction = DEFAULT_DIRECTION;
          this.animated = DEFAULT_ANIMATED;
          this.animationBuilder = void 0;
        }
      });
    }
    platform.backButton.subscribeWithPriority(0, (processNextHandler) => {
      this.pop();
      processNextHandler();
    });
  }
  /**
   * This method uses Angular's [Router](https://angular.io/api/router/Router) under the hood,
   * it's equivalent to calling `this.router.navigateByUrl()`, but it's explicit about the **direction** of the transition.
   *
   * Going **forward** means that a new page is going to be pushed to the stack of the outlet (ion-router-outlet),
   * and that it will show a "forward" animation by default.
   *
   * Navigating forward can also be triggered in a declarative manner by using the `[routerDirection]` directive:
   *
   * ```html
   * <a routerLink="/path/to/page" routerDirection="forward">Link</a>
   * ```
   */
  navigateForward(url, options = {}) {
    this.setDirection("forward", options.animated, options.animationDirection, options.animation);
    return this.navigate(url, options);
  }
  /**
   * This method uses Angular's [Router](https://angular.io/api/router/Router) under the hood,
   * it's equivalent to calling:
   *
   * ```ts
   * this.navController.setDirection('back');
   * this.router.navigateByUrl(path);
   * ```
   *
   * Going **back** means that all the pages in the stack until the navigated page is found will be popped,
   * and that it will show a "back" animation by default.
   *
   * Navigating back can also be triggered in a declarative manner by using the `[routerDirection]` directive:
   *
   * ```html
   * <a routerLink="/path/to/page" routerDirection="back">Link</a>
   * ```
   */
  navigateBack(url, options = {}) {
    this.setDirection("back", options.animated, options.animationDirection, options.animation);
    return this.navigate(url, options);
  }
  /**
   * This method uses Angular's [Router](https://angular.io/api/router/Router) under the hood,
   * it's equivalent to calling:
   *
   * ```ts
   * this.navController.setDirection('root');
   * this.router.navigateByUrl(path);
   * ```
   *
   * Going **root** means that all existing pages in the stack will be removed,
   * and the navigated page will become the single page in the stack.
   *
   * Navigating root can also be triggered in a declarative manner by using the `[routerDirection]` directive:
   *
   * ```html
   * <a routerLink="/path/to/page" routerDirection="root">Link</a>
   * ```
   */
  navigateRoot(url, options = {}) {
    this.setDirection("root", options.animated, options.animationDirection, options.animation);
    return this.navigate(url, options);
  }
  /**
   * Same as [Location](https://angular.io/api/common/Location)'s back() method.
   * It will use the standard `window.history.back()` under the hood, but featuring a `back` animation
   * by default.
   */
  back(options = {
    animated: true,
    animationDirection: "back"
  }) {
    this.setDirection("back", options.animated, options.animationDirection, options.animation);
    return this.location.back();
  }
  /**
   * This methods goes back in the context of Ionic's stack navigation.
   *
   * It recursively finds the top active `ion-router-outlet` and calls `pop()`.
   * This is the recommended way to go back when you are using `ion-router-outlet`.
   *
   * Resolves to `true` if it was able to pop.
   */
  pop() {
    return __async(this, null, function* () {
      let outlet = this.topOutlet;
      while (outlet) {
        if (yield outlet.pop()) {
          return true;
        } else {
          outlet = outlet.parentOutlet;
        }
      }
      return false;
    });
  }
  /**
   * This methods specifies the direction of the next navigation performed by the Angular router.
   *
   * `setDirection()` does not trigger any transition, it just sets some flags to be consumed by `ion-router-outlet`.
   *
   * It's recommended to use `navigateForward()`, `navigateBack()` and `navigateRoot()` instead of `setDirection()`.
   */
  setDirection(direction, animated, animationDirection, animationBuilder) {
    this.direction = direction;
    this.animated = getAnimation(direction, animated, animationDirection);
    this.animationBuilder = animationBuilder;
  }
  /**
   * @internal
   */
  setTopOutlet(outlet) {
    this.topOutlet = outlet;
  }
  /**
   * @internal
   */
  consumeTransition() {
    let direction = "root";
    let animation;
    const animationBuilder = this.animationBuilder;
    if (this.direction === "auto") {
      direction = this.guessDirection;
      animation = this.guessAnimation;
    } else {
      animation = this.animated;
      direction = this.direction;
    }
    this.direction = DEFAULT_DIRECTION;
    this.animated = DEFAULT_ANIMATED;
    this.animationBuilder = void 0;
    return {
      direction,
      animation,
      animationBuilder
    };
  }
  navigate(url, options) {
    if (Array.isArray(url)) {
      return this.router.navigate(url, options);
    } else {
      const urlTree = this.serializer.parse(url.toString());
      if (options.queryParams !== void 0) {
        urlTree.queryParams = __spreadValues({}, options.queryParams);
      }
      if (options.fragment !== void 0) {
        urlTree.fragment = options.fragment;
      }
      return this.router.navigateByUrl(urlTree, options);
    }
  }
  /** @nocollapse */
  static \u0275fac = function NavController_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || _NavController)(\u0275\u0275inject(Platform), \u0275\u0275inject(Location), \u0275\u0275inject(UrlSerializer), \u0275\u0275inject(Router, 8));
  };
  /** @nocollapse */
  static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({
    token: _NavController,
    factory: _NavController.\u0275fac,
    providedIn: "root"
  });
};
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(NavController, [{
    type: Injectable,
    args: [{
      providedIn: "root"
    }]
  }], function() {
    return [{
      type: Platform
    }, {
      type: Location
    }, {
      type: UrlSerializer
    }, {
      type: Router,
      decorators: [{
        type: Optional
      }]
    }];
  }, null);
})();
var getAnimation = (direction, animated, animationDirection) => {
  if (animated === false) {
    return void 0;
  }
  if (animationDirection !== void 0) {
    return animationDirection;
  }
  if (direction === "forward" || direction === "back") {
    return direction;
  } else if (direction === "root" && animated === true) {
    return "forward";
  }
  return void 0;
};
var DEFAULT_DIRECTION = "auto";
var DEFAULT_ANIMATED = void 0;
var Config = class _Config {
  get(key, fallback) {
    const c36 = getConfig();
    if (c36) {
      return c36.get(key, fallback);
    }
    return null;
  }
  getBoolean(key, fallback) {
    const c36 = getConfig();
    if (c36) {
      return c36.getBoolean(key, fallback);
    }
    return false;
  }
  getNumber(key, fallback) {
    const c36 = getConfig();
    if (c36) {
      return c36.getNumber(key, fallback);
    }
    return 0;
  }
  /** @nocollapse */
  static \u0275fac = function Config_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || _Config)();
  };
  /** @nocollapse */
  static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({
    token: _Config,
    factory: _Config.\u0275fac,
    providedIn: "root"
  });
};
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(Config, [{
    type: Injectable,
    args: [{
      providedIn: "root"
    }]
  }], null, null);
})();
var ConfigToken = new InjectionToken("USERCONFIG");
var getConfig = () => {
  if (typeof window !== "undefined") {
    const Ionic = window.Ionic;
    if (Ionic?.config) {
      return Ionic.config;
    }
  }
  return null;
};
var NavParams = class {
  data;
  constructor(data = {}) {
    this.data = data;
    console.warn(`[Ionic Warning]: NavParams has been deprecated in favor of using Angular's input API. Developers should migrate to either the @Input decorator or the Signals-based input API.`);
  }
  /**
   * Get the value of a nav-parameter for the current view
   *
   * ```ts
   * import { NavParams } from 'ionic-angular';
   *
   * export class MyClass{
   *  constructor(public navParams: NavParams){
   *    // userParams is an object we have in our nav-parameters
   *    this.navParams.get('userParams');
   *  }
   * }
   * ```
   *
   * @param param Which param you want to look up
   */
  get(param) {
    return this.data[param];
  }
};
var IonModalToken = new InjectionToken("IonModalToken");
var AngularDelegate = class _AngularDelegate {
  zone = inject(NgZone);
  applicationRef = inject(ApplicationRef);
  config = inject(ConfigToken);
  create(environmentInjector, injector, elementReferenceKey, customInjector) {
    return new AngularFrameworkDelegate(environmentInjector, injector, this.applicationRef, this.zone, elementReferenceKey, this.config.useSetInputAPI ?? false, customInjector);
  }
  /** @nocollapse */
  static \u0275fac = function AngularDelegate_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || _AngularDelegate)();
  };
  /** @nocollapse */
  static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({
    token: _AngularDelegate,
    factory: _AngularDelegate.\u0275fac
  });
};
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(AngularDelegate, [{
    type: Injectable
  }], null, null);
})();
var AngularFrameworkDelegate = class {
  environmentInjector;
  injector;
  applicationRef;
  zone;
  elementReferenceKey;
  enableSignalsSupport;
  customInjector;
  elRefMap = /* @__PURE__ */ new WeakMap();
  elEventsMap = /* @__PURE__ */ new WeakMap();
  constructor(environmentInjector, injector, applicationRef, zone, elementReferenceKey, enableSignalsSupport, customInjector) {
    this.environmentInjector = environmentInjector;
    this.injector = injector;
    this.applicationRef = applicationRef;
    this.zone = zone;
    this.elementReferenceKey = elementReferenceKey;
    this.enableSignalsSupport = enableSignalsSupport;
    this.customInjector = customInjector;
  }
  attachViewToDom(container, component, params, cssClasses) {
    return this.zone.run(() => {
      return new Promise((resolve) => {
        const componentProps = __spreadValues({}, params);
        if (this.elementReferenceKey !== void 0) {
          componentProps[this.elementReferenceKey] = container;
        }
        const el = attachView(this.zone, this.environmentInjector, this.injector, this.applicationRef, this.elRefMap, this.elEventsMap, container, component, componentProps, cssClasses, this.elementReferenceKey, this.enableSignalsSupport, this.customInjector);
        resolve(el);
      });
    });
  }
  removeViewFromDom(_container, component) {
    return this.zone.run(() => {
      return new Promise((resolve) => {
        const componentRef = this.elRefMap.get(component);
        if (componentRef) {
          componentRef.destroy();
          this.elRefMap.delete(component);
          const unbindEvents = this.elEventsMap.get(component);
          if (unbindEvents) {
            unbindEvents();
            this.elEventsMap.delete(component);
          }
        }
        resolve();
      });
    });
  }
};
var attachView = (zone, environmentInjector, injector, applicationRef, elRefMap, elEventsMap, container, component, params, cssClasses, elementReferenceKey, enableSignalsSupport, customInjector) => {
  const providers = getProviders(params);
  if (container.tagName.toLowerCase() === "ion-modal") {
    providers.push({
      provide: IonModalToken,
      useValue: container
    });
  }
  const childInjector = Injector.create({
    providers,
    parent: customInjector ?? injector
  });
  const componentRef = createComponent(component, {
    environmentInjector,
    elementInjector: childInjector
  });
  const instance = componentRef.instance;
  const hostElement = componentRef.location.nativeElement;
  if (params) {
    if (elementReferenceKey && instance[elementReferenceKey] !== void 0) {
      console.error(`[Ionic Error]: ${elementReferenceKey} is a reserved property when using ${container.tagName.toLowerCase()}. Rename or remove the "${elementReferenceKey}" property from ${component.name}.`);
    }
    if (enableSignalsSupport === true && componentRef.setInput !== void 0) {
      const _a = params, {
        modal,
        popover
      } = _a, otherParams = __objRest(_a, [
        "modal",
        "popover"
      ]);
      for (const key in otherParams) {
        componentRef.setInput(key, otherParams[key]);
      }
      if (modal !== void 0) {
        Object.assign(instance, {
          modal
        });
      }
      if (popover !== void 0) {
        Object.assign(instance, {
          popover
        });
      }
    } else {
      Object.assign(instance, params);
    }
  }
  if (cssClasses) {
    for (const cssClass of cssClasses) {
      hostElement.classList.add(cssClass);
    }
  }
  const unbindEvents = bindLifecycleEvents(zone, instance, hostElement);
  container.appendChild(hostElement);
  applicationRef.attachView(componentRef.hostView);
  elRefMap.set(hostElement, componentRef);
  elEventsMap.set(hostElement, unbindEvents);
  return hostElement;
};
var LIFECYCLES = [r2, t2, s3, c2, l2];
var bindLifecycleEvents = (zone, instance, element) => {
  return zone.run(() => {
    const unregisters = LIFECYCLES.filter((eventName) => typeof instance[eventName] === "function").map((eventName) => {
      const handler = (ev) => instance[eventName](ev.detail);
      element.addEventListener(eventName, handler);
      return () => element.removeEventListener(eventName, handler);
    });
    return () => unregisters.forEach((fn) => fn());
  });
};
var NavParamsToken = new InjectionToken("NavParamsToken");
var getProviders = (params) => {
  return [{
    provide: NavParamsToken,
    useValue: params
  }, {
    provide: NavParams,
    useFactory: provideNavParamsInjectable,
    deps: [NavParamsToken]
  }];
};
var provideNavParamsInjectable = (params) => {
  return new NavParams(params);
};
var proxyInputs = (Cmp, inputs) => {
  const Prototype = Cmp.prototype;
  inputs.forEach((item) => {
    Object.defineProperty(Prototype, item, {
      get() {
        return this.el[item];
      },
      set(val) {
        this.z.runOutsideAngular(() => this.el[item] = val);
      }
    });
  });
};
var proxyMethods = (Cmp, methods) => {
  const Prototype = Cmp.prototype;
  methods.forEach((methodName) => {
    Prototype[methodName] = function() {
      const args = arguments;
      return this.z.runOutsideAngular(() => this.el[methodName].apply(this.el, args));
    };
  });
};
var proxyOutputs = (instance, el, events) => {
  events.forEach((eventName) => instance[eventName] = fromEvent(el, eventName));
};
function ProxyCmp(opts) {
  const decorator = function(cls) {
    const {
      defineCustomElementFn,
      inputs,
      methods
    } = opts;
    if (defineCustomElementFn !== void 0) {
      defineCustomElementFn();
    }
    if (inputs) {
      proxyInputs(cls, inputs);
    }
    if (methods) {
      proxyMethods(cls, methods);
    }
    return cls;
  };
  return decorator;
}
var MODAL_INPUTS = ["animated", "keepContentsMounted", "backdropBreakpoint", "backdropDismiss", "breakpoints", "canDismiss", "cssClass", "enterAnimation", "expandToScroll", "event", "focusTrap", "handle", "handleBehavior", "initialBreakpoint", "isOpen", "keyboardClose", "leaveAnimation", "mode", "presentingElement", "showBackdrop", "translucent", "trigger"];
var MODAL_METHODS = ["present", "dismiss", "onDidDismiss", "onWillDismiss", "setCurrentBreakpoint", "getCurrentBreakpoint"];
var IonModal = (
  /**
   * @Component extends from @Directive
   * so by defining the inputs here we
   * do not need to re-define them for the
   * lazy loaded popover.
   */
  class IonModal2 {
    z;
    // TODO(FW-2827): type
    template;
    isCmpOpen = false;
    el;
    constructor(c36, r32, z11) {
      this.z = z11;
      this.el = r32.nativeElement;
      this.el.addEventListener("ionMount", () => {
        this.isCmpOpen = true;
        c36.detectChanges();
      });
      this.el.addEventListener("didDismiss", () => {
        this.isCmpOpen = false;
        c36.detectChanges();
      });
      proxyOutputs(this, this.el, ["ionModalDidPresent", "ionModalWillPresent", "ionModalWillDismiss", "ionModalDidDismiss", "ionBreakpointDidChange", "didPresent", "willPresent", "willDismiss", "didDismiss", "ionDragStart", "ionDragMove", "ionDragEnd"]);
    }
    /** @nocollapse */
    static \u0275fac = function IonModal_Factory(__ngFactoryType__) {
      return new (__ngFactoryType__ || IonModal2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
    };
    /** @nocollapse */
    static \u0275dir = /* @__PURE__ */ \u0275\u0275defineDirective({
      type: IonModal2,
      selectors: [["ion-modal"]],
      contentQueries: function IonModal_ContentQueries(rf, ctx, dirIndex) {
        if (rf & 1) {
          \u0275\u0275contentQuery(dirIndex, TemplateRef, 5);
        }
        if (rf & 2) {
          let _t;
          \u0275\u0275queryRefresh(_t = \u0275\u0275loadQuery()) && (ctx.template = _t.first);
        }
      },
      inputs: {
        animated: "animated",
        keepContentsMounted: "keepContentsMounted",
        backdropBreakpoint: "backdropBreakpoint",
        backdropDismiss: "backdropDismiss",
        breakpoints: "breakpoints",
        canDismiss: "canDismiss",
        cssClass: "cssClass",
        enterAnimation: "enterAnimation",
        expandToScroll: "expandToScroll",
        event: "event",
        focusTrap: "focusTrap",
        handle: "handle",
        handleBehavior: "handleBehavior",
        initialBreakpoint: "initialBreakpoint",
        isOpen: "isOpen",
        keyboardClose: "keyboardClose",
        leaveAnimation: "leaveAnimation",
        mode: "mode",
        presentingElement: "presentingElement",
        showBackdrop: "showBackdrop",
        translucent: "translucent",
        trigger: "trigger"
      },
      standalone: false
    });
  }
);
IonModal = __decorate([
  ProxyCmp({
    inputs: MODAL_INPUTS,
    methods: MODAL_METHODS
  })
  /**
   * @Component extends from @Directive
   * so by defining the inputs here we
   * do not need to re-define them for the
   * lazy loaded popover.
   */
], IonModal);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonModal, [{
    type: Directive,
    args: [{
      selector: "ion-modal",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: MODAL_INPUTS
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, {
    template: [{
      type: ContentChild,
      args: [TemplateRef, {
        static: false
      }]
    }]
  });
})();
var POPOVER_INPUTS = ["alignment", "animated", "arrow", "keepContentsMounted", "backdropDismiss", "cssClass", "dismissOnSelect", "enterAnimation", "event", "focusTrap", "isOpen", "keyboardClose", "leaveAnimation", "mode", "showBackdrop", "translucent", "trigger", "triggerAction", "reference", "size", "side"];
var POPOVER_METHODS = ["present", "dismiss", "onDidDismiss", "onWillDismiss"];
var IonPopover = (
  /**
   * @Component extends from @Directive
   * so by defining the inputs here we
   * do not need to re-define them for the
   * lazy loaded popover.
   */
  class IonPopover2 {
    z;
    // TODO(FW-2827): type
    template;
    isCmpOpen = false;
    el;
    constructor(c36, r32, z11) {
      this.z = z11;
      this.el = r32.nativeElement;
      this.el.addEventListener("ionMount", () => {
        this.isCmpOpen = true;
        c36.detectChanges();
      });
      this.el.addEventListener("didDismiss", () => {
        this.isCmpOpen = false;
        c36.detectChanges();
      });
      proxyOutputs(this, this.el, ["ionPopoverDidPresent", "ionPopoverWillPresent", "ionPopoverWillDismiss", "ionPopoverDidDismiss", "didPresent", "willPresent", "willDismiss", "didDismiss"]);
    }
    /** @nocollapse */
    static \u0275fac = function IonPopover_Factory(__ngFactoryType__) {
      return new (__ngFactoryType__ || IonPopover2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
    };
    /** @nocollapse */
    static \u0275dir = /* @__PURE__ */ \u0275\u0275defineDirective({
      type: IonPopover2,
      selectors: [["ion-popover"]],
      contentQueries: function IonPopover_ContentQueries(rf, ctx, dirIndex) {
        if (rf & 1) {
          \u0275\u0275contentQuery(dirIndex, TemplateRef, 5);
        }
        if (rf & 2) {
          let _t;
          \u0275\u0275queryRefresh(_t = \u0275\u0275loadQuery()) && (ctx.template = _t.first);
        }
      },
      inputs: {
        alignment: "alignment",
        animated: "animated",
        arrow: "arrow",
        keepContentsMounted: "keepContentsMounted",
        backdropDismiss: "backdropDismiss",
        cssClass: "cssClass",
        dismissOnSelect: "dismissOnSelect",
        enterAnimation: "enterAnimation",
        event: "event",
        focusTrap: "focusTrap",
        isOpen: "isOpen",
        keyboardClose: "keyboardClose",
        leaveAnimation: "leaveAnimation",
        mode: "mode",
        showBackdrop: "showBackdrop",
        translucent: "translucent",
        trigger: "trigger",
        triggerAction: "triggerAction",
        reference: "reference",
        size: "size",
        side: "side"
      },
      standalone: false
    });
  }
);
IonPopover = __decorate([
  ProxyCmp({
    inputs: POPOVER_INPUTS,
    methods: POPOVER_METHODS
  })
  /**
   * @Component extends from @Directive
   * so by defining the inputs here we
   * do not need to re-define them for the
   * lazy loaded popover.
   */
], IonPopover);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonPopover, [{
    type: Directive,
    args: [{
      selector: "ion-popover",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: POPOVER_INPUTS
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, {
    template: [{
      type: ContentChild,
      args: [TemplateRef, {
        static: false
      }]
    }]
  });
})();
var insertView = (views, view, direction) => {
  if (direction === "root") {
    return setRoot(views, view);
  } else if (direction === "forward") {
    return setForward(views, view);
  } else {
    return setBack(views, view);
  }
};
var setRoot = (views, view) => {
  views = views.filter((v18) => v18.stackId !== view.stackId);
  views.push(view);
  return views;
};
var setForward = (views, view) => {
  const index = views.indexOf(view);
  if (index >= 0) {
    views = views.filter((v18) => v18.stackId !== view.stackId || v18.id <= view.id);
  } else {
    views.push(view);
  }
  return views;
};
var setBack = (views, view) => {
  const index = views.indexOf(view);
  if (index >= 0) {
    return views.filter((v18) => v18.stackId !== view.stackId || v18.id <= view.id);
  } else {
    return setRoot(views, view);
  }
};
var getUrl = (router, activatedRoute) => {
  const urlTree = router.createUrlTree(["."], {
    relativeTo: activatedRoute
  });
  return router.serializeUrl(urlTree);
};
var isTabSwitch = (enteringView, leavingView) => {
  if (!leavingView) {
    return true;
  }
  return enteringView.stackId !== leavingView.stackId;
};
var computeStackId = (prefixUrl, url) => {
  if (!prefixUrl) {
    return void 0;
  }
  const segments = toSegments(url);
  for (let i16 = 0; i16 < segments.length; i16++) {
    if (i16 >= prefixUrl.length) {
      return segments[i16];
    }
    if (segments[i16] !== prefixUrl[i16]) {
      return void 0;
    }
  }
  return void 0;
};
var toSegments = (path) => {
  return path.split("/").map((s23) => s23.trim()).filter((s23) => s23 !== "");
};
var destroyView = (view) => {
  if (view) {
    view.ref.destroy();
    view.unlistenEvents();
  }
};
var StackController = class {
  containerEl;
  router;
  navCtrl;
  zone;
  location;
  views = [];
  runningTask;
  skipTransition = false;
  tabsPrefix;
  activeView;
  nextId = 0;
  constructor(tabsPrefix, containerEl, router, navCtrl, zone, location) {
    this.containerEl = containerEl;
    this.router = router;
    this.navCtrl = navCtrl;
    this.zone = zone;
    this.location = location;
    this.tabsPrefix = tabsPrefix !== void 0 ? toSegments(tabsPrefix) : void 0;
  }
  createView(ref, activatedRoute) {
    const url = getUrl(this.router, activatedRoute);
    const element = ref?.location?.nativeElement;
    const unlistenEvents = bindLifecycleEvents(this.zone, ref.instance, element);
    return {
      id: this.nextId++,
      stackId: computeStackId(this.tabsPrefix, url),
      unlistenEvents,
      element,
      ref,
      url
    };
  }
  getExistingView(activatedRoute) {
    const activatedUrlKey = getUrl(this.router, activatedRoute);
    const view = this.views.find((vw) => vw.url === activatedUrlKey);
    if (view) {
      view.ref.changeDetectorRef.reattach();
    }
    return view;
  }
  setActive(enteringView) {
    const consumeResult = this.navCtrl.consumeTransition();
    let {
      direction,
      animation,
      animationBuilder
    } = consumeResult;
    const leavingView = this.activeView;
    const tabSwitch = isTabSwitch(enteringView, leavingView);
    if (tabSwitch) {
      direction = "back";
      animation = void 0;
    }
    const viewsSnapshot = this.views.slice();
    let currentNavigation;
    const router = this.router;
    if (router.getCurrentNavigation) {
      currentNavigation = router.getCurrentNavigation();
    } else if (router.navigations?.value) {
      currentNavigation = router.navigations.value;
    }
    if (currentNavigation?.extras?.replaceUrl) {
      if (this.views.length > 0) {
        this.views.splice(-1, 1);
      }
    }
    const reused = this.views.includes(enteringView);
    const views = this.insertView(enteringView, direction);
    if (!reused) {
      enteringView.ref.changeDetectorRef.detectChanges();
    }
    const customAnimation = enteringView.animationBuilder;
    if (animationBuilder === void 0 && direction === "back" && !tabSwitch && customAnimation !== void 0) {
      animationBuilder = customAnimation;
    }
    if (leavingView) {
      leavingView.animationBuilder = animationBuilder;
    }
    return this.zone.runOutsideAngular(() => {
      return this.wait(() => {
        if (leavingView) {
          leavingView.ref.changeDetectorRef.detach();
        }
        enteringView.ref.changeDetectorRef.reattach();
        return this.transition(enteringView, leavingView, animation, this.canGoBack(1), false, animationBuilder).then(() => cleanupAsync(enteringView, views, viewsSnapshot, this.location, this.zone)).then(() => ({
          enteringView,
          direction,
          animation,
          tabSwitch
        }));
      });
    });
  }
  canGoBack(deep, stackId = this.getActiveStackId()) {
    return this.getStack(stackId).length > deep;
  }
  pop(deep, stackId = this.getActiveStackId()) {
    return this.zone.run(() => {
      const views = this.getStack(stackId);
      if (views.length <= deep) {
        return Promise.resolve(false);
      }
      const view = views[views.length - deep - 1];
      let url = view.url;
      const viewSavedData = view.savedData;
      if (viewSavedData) {
        const primaryOutlet = viewSavedData.get("primary");
        if (primaryOutlet?.route?._routerState?.snapshot.url) {
          url = primaryOutlet.route._routerState.snapshot.url;
        }
      }
      const {
        animationBuilder
      } = this.navCtrl.consumeTransition();
      return this.navCtrl.navigateBack(url, __spreadProps(__spreadValues({}, view.savedExtras), {
        animation: animationBuilder
      })).then(() => true);
    });
  }
  startBackTransition() {
    const leavingView = this.activeView;
    if (leavingView) {
      const views = this.getStack(leavingView.stackId);
      const enteringView = views[views.length - 2];
      const customAnimation = enteringView.animationBuilder;
      return this.wait(() => {
        return this.transition(
          enteringView,
          // entering view
          leavingView,
          // leaving view
          "back",
          this.canGoBack(2),
          true,
          customAnimation
        );
      });
    }
    return Promise.resolve();
  }
  endBackTransition(shouldComplete) {
    if (shouldComplete) {
      this.skipTransition = true;
      this.pop(1);
    } else if (this.activeView) {
      cleanup(this.activeView, this.views, this.views, this.location, this.zone);
    }
  }
  getLastUrl(stackId) {
    const views = this.getStack(stackId);
    return views.length > 0 ? views[views.length - 1] : void 0;
  }
  /**
   * @internal
   */
  getRootUrl(stackId) {
    const views = this.getStack(stackId);
    return views.length > 0 ? views[0] : void 0;
  }
  getActiveStackId() {
    return this.activeView ? this.activeView.stackId : void 0;
  }
  /**
   * @internal
   */
  getActiveView() {
    return this.activeView;
  }
  hasRunningTask() {
    return this.runningTask !== void 0;
  }
  destroy() {
    this.containerEl = void 0;
    this.views.forEach(destroyView);
    this.activeView = void 0;
    this.views = [];
  }
  getStack(stackId) {
    return this.views.filter((v18) => v18.stackId === stackId);
  }
  insertView(enteringView, direction) {
    this.activeView = enteringView;
    this.views = insertView(this.views, enteringView, direction);
    return this.views.slice();
  }
  transition(enteringView, leavingView, direction, showGoBack, progressAnimation, animationBuilder) {
    if (this.skipTransition) {
      this.skipTransition = false;
      return Promise.resolve(false);
    }
    if (leavingView === enteringView) {
      return Promise.resolve(false);
    }
    const enteringEl = enteringView ? enteringView.element : void 0;
    const leavingEl = leavingView ? leavingView.element : void 0;
    const containerEl = this.containerEl;
    if (enteringEl && enteringEl !== leavingEl) {
      enteringEl.classList.add("ion-page");
      enteringEl.classList.add("ion-page-invisible");
      if (containerEl.commit) {
        return containerEl.commit(enteringEl, leavingEl, {
          duration: direction === void 0 ? 0 : void 0,
          direction,
          showGoBack,
          progressAnimation,
          animationBuilder
        });
      }
    }
    return Promise.resolve(false);
  }
  wait(task) {
    return __async(this, null, function* () {
      if (this.runningTask !== void 0) {
        yield this.runningTask;
        this.runningTask = void 0;
      }
      const promise = this.runningTask = task();
      promise.finally(() => this.runningTask = void 0);
      return promise;
    });
  }
};
var cleanupAsync = (activeRoute, views, viewsSnapshot, location, zone) => {
  if (typeof requestAnimationFrame === "function") {
    return new Promise((resolve) => {
      requestAnimationFrame(() => {
        cleanup(activeRoute, views, viewsSnapshot, location, zone);
        resolve();
      });
    });
  }
  return Promise.resolve();
};
var cleanup = (activeRoute, views, viewsSnapshot, location, zone) => {
  zone.run(() => viewsSnapshot.filter((view) => !views.includes(view)).forEach(destroyView));
  views.forEach((view) => {
    const locationWithoutParams = location.path().split("?")[0];
    const locationWithoutFragment = locationWithoutParams.split("#")[0];
    if (view !== activeRoute && view.url !== locationWithoutFragment) {
      const element = view.element;
      element.setAttribute("aria-hidden", "true");
      element.classList.add("ion-page-hidden");
      view.ref.changeDetectorRef.detach();
    }
  });
};
var IonRouterOutlet = class _IonRouterOutlet {
  parentOutlet;
  nativeEl;
  activatedView = null;
  tabsPrefix;
  _swipeGesture;
  stackCtrl;
  // Maintain map of activated route proxies for each component instance
  proxyMap = /* @__PURE__ */ new WeakMap();
  // Keep the latest activated route in a subject for the proxy routes to switch map to
  currentActivatedRoute$ = new BehaviorSubject(null);
  activated = null;
  /** @internal */
  get activatedComponentRef() {
    return this.activated;
  }
  _activatedRoute = null;
  /**
   * The name of the outlet
   */
  name = PRIMARY_OUTLET;
  /** @internal */
  stackWillChange = new EventEmitter();
  /** @internal */
  stackDidChange = new EventEmitter();
  // eslint-disable-next-line @angular-eslint/no-output-rename
  activateEvents = new EventEmitter();
  // eslint-disable-next-line @angular-eslint/no-output-rename
  deactivateEvents = new EventEmitter();
  parentContexts = inject(ChildrenOutletContexts);
  location = inject(ViewContainerRef);
  environmentInjector = inject(EnvironmentInjector);
  inputBinder = inject(INPUT_BINDER, {
    optional: true
  });
  /** @nodoc */
  supportsBindingToComponentInputs = true;
  // Ionic providers
  config = inject(Config);
  navCtrl = inject(NavController);
  set animation(animation) {
    this.nativeEl.animation = animation;
  }
  set animated(animated) {
    this.nativeEl.animated = animated;
  }
  set swipeGesture(swipe) {
    this._swipeGesture = swipe;
    this.nativeEl.swipeHandler = swipe ? {
      canStart: () => this.stackCtrl.canGoBack(1) && !this.stackCtrl.hasRunningTask(),
      onStart: () => this.stackCtrl.startBackTransition(),
      onEnd: (shouldContinue) => this.stackCtrl.endBackTransition(shouldContinue)
    } : void 0;
  }
  constructor(name, tabs, commonLocation, elementRef, router, zone, activatedRoute, parentOutlet) {
    this.parentOutlet = parentOutlet;
    this.nativeEl = elementRef.nativeElement;
    this.name = name || PRIMARY_OUTLET;
    this.tabsPrefix = tabs === "true" ? getUrl(router, activatedRoute) : void 0;
    this.stackCtrl = new StackController(this.tabsPrefix, this.nativeEl, router, this.navCtrl, zone, commonLocation);
    this.parentContexts.onChildOutletCreated(this.name, this);
  }
  ngOnDestroy() {
    this.stackCtrl.destroy();
    this.inputBinder?.unsubscribeFromRouteData(this);
  }
  getContext() {
    return this.parentContexts.getContext(this.name);
  }
  ngOnInit() {
    this.initializeOutletWithName();
  }
  // Note: Ionic deviates from the Angular Router implementation here
  initializeOutletWithName() {
    if (!this.activated) {
      const context = this.getContext();
      if (context?.route) {
        this.activateWith(context.route, context.injector);
      }
    }
    new Promise((resolve) => e2(this.nativeEl, resolve)).then(() => {
      if (this._swipeGesture === void 0) {
        this.swipeGesture = this.config.getBoolean("swipeBackEnabled", this.nativeEl.mode === "ios");
      }
    });
  }
  get isActivated() {
    return !!this.activated;
  }
  get component() {
    if (!this.activated) {
      throw new Error("Outlet is not activated");
    }
    return this.activated.instance;
  }
  get activatedRoute() {
    if (!this.activated) {
      throw new Error("Outlet is not activated");
    }
    return this._activatedRoute;
  }
  get activatedRouteData() {
    if (this._activatedRoute) {
      return this._activatedRoute.snapshot.data;
    }
    return {};
  }
  /**
   * Called when the `RouteReuseStrategy` instructs to detach the subtree
   */
  detach() {
    throw new Error("incompatible reuse strategy");
  }
  /**
   * Called when the `RouteReuseStrategy` instructs to re-attach a previously detached subtree
   */
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
  attach(_ref, _activatedRoute) {
    throw new Error("incompatible reuse strategy");
  }
  deactivate() {
    if (this.activated) {
      if (this.activatedView) {
        const context = this.getContext();
        this.activatedView.savedData = new Map(context.children["contexts"]);
        const primaryOutlet = this.activatedView.savedData.get("primary");
        if (primaryOutlet && context.route) {
          primaryOutlet.route = __spreadValues({}, context.route);
        }
        this.activatedView.savedExtras = {};
        if (context.route) {
          const contextSnapshot = context.route.snapshot;
          this.activatedView.savedExtras.queryParams = contextSnapshot.queryParams;
          this.activatedView.savedExtras.fragment = contextSnapshot.fragment;
        }
      }
      const c36 = this.component;
      this.activatedView = null;
      this.activated = null;
      this._activatedRoute = null;
      this.deactivateEvents.emit(c36);
    }
  }
  activateWith(activatedRoute, environmentInjector) {
    if (this.isActivated) {
      throw new Error("Cannot activate an already activated outlet");
    }
    this._activatedRoute = activatedRoute;
    let cmpRef;
    let enteringView = this.stackCtrl.getExistingView(activatedRoute);
    if (enteringView) {
      cmpRef = this.activated = enteringView.ref;
      const saved = enteringView.savedData;
      if (saved) {
        const context = this.getContext();
        context.children["contexts"] = saved;
      }
      this.updateActivatedRouteProxy(cmpRef.instance, activatedRoute);
    } else {
      const snapshot = activatedRoute._futureSnapshot;
      const childContexts = this.parentContexts.getOrCreateContext(this.name).children;
      const component$ = new BehaviorSubject(null);
      const activatedRouteProxy = this.createActivatedRouteProxy(component$, activatedRoute);
      const injector = new OutletInjector(activatedRouteProxy, childContexts, this.location.injector);
      const component = snapshot.routeConfig.component ?? snapshot.component;
      cmpRef = this.activated = this.outletContent.createComponent(component, {
        index: this.outletContent.length,
        injector,
        environmentInjector: environmentInjector ?? this.environmentInjector
      });
      component$.next(cmpRef.instance);
      enteringView = this.stackCtrl.createView(this.activated, activatedRoute);
      this.proxyMap.set(cmpRef.instance, activatedRouteProxy);
      this.currentActivatedRoute$.next({
        component: cmpRef.instance,
        activatedRoute
      });
    }
    this.inputBinder?.bindActivatedRouteToOutletComponent(this);
    this.activatedView = enteringView;
    this.navCtrl.setTopOutlet(this);
    const leavingView = this.stackCtrl.getActiveView();
    this.stackWillChange.emit({
      enteringView,
      tabSwitch: isTabSwitch(enteringView, leavingView)
    });
    this.stackCtrl.setActive(enteringView).then((data) => {
      this.activateEvents.emit(cmpRef.instance);
      this.stackDidChange.emit(data);
    });
  }
  /**
   * Returns `true` if there are pages in the stack to go back.
   */
  canGoBack(deep = 1, stackId) {
    return this.stackCtrl.canGoBack(deep, stackId);
  }
  /**
   * Resolves to `true` if it the outlet was able to sucessfully pop the last N pages.
   */
  pop(deep = 1, stackId) {
    return this.stackCtrl.pop(deep, stackId);
  }
  /**
   * Returns the URL of the active page of each stack.
   */
  getLastUrl(stackId) {
    const active = this.stackCtrl.getLastUrl(stackId);
    return active ? active.url : void 0;
  }
  /**
   * Returns the RouteView of the active page of each stack.
   * @internal
   */
  getLastRouteView(stackId) {
    return this.stackCtrl.getLastUrl(stackId);
  }
  /**
   * Returns the root view in the tab stack.
   * @internal
   */
  getRootView(stackId) {
    return this.stackCtrl.getRootUrl(stackId);
  }
  /**
   * Returns the active stack ID. In the context of ion-tabs, it means the active tab.
   */
  getActiveStackId() {
    return this.stackCtrl.getActiveStackId();
  }
  /**
   * Since the activated route can change over the life time of a component in an ion router outlet, we create
   * a proxy so that we can update the values over time as a user navigates back to components already in the stack.
   */
  createActivatedRouteProxy(component$, activatedRoute) {
    const proxy = new ActivatedRoute();
    proxy._futureSnapshot = activatedRoute._futureSnapshot;
    proxy._routerState = activatedRoute._routerState;
    proxy.snapshot = activatedRoute.snapshot;
    proxy.outlet = activatedRoute.outlet;
    proxy.component = activatedRoute.component;
    proxy._paramMap = this.proxyObservable(component$, "paramMap");
    proxy._queryParamMap = this.proxyObservable(component$, "queryParamMap");
    proxy.url = this.proxyObservable(component$, "url");
    proxy.params = this.proxyObservable(component$, "params");
    proxy.queryParams = this.proxyObservable(component$, "queryParams");
    proxy.fragment = this.proxyObservable(component$, "fragment");
    proxy.data = this.proxyObservable(component$, "data");
    return proxy;
  }
  /**
   * Create a wrapped observable that will switch to the latest activated route matched by the given component
   */
  proxyObservable(component$, path) {
    return component$.pipe(
      // First wait until the component instance is pushed
      filter((component) => !!component),
      switchMap((component) => this.currentActivatedRoute$.pipe(filter((current) => current !== null && current.component === component), switchMap((current) => current && current.activatedRoute[path]), distinctUntilChanged()))
    );
  }
  /**
   * Updates the activated route proxy for the given component to the new incoming router state
   */
  updateActivatedRouteProxy(component, activatedRoute) {
    const proxy = this.proxyMap.get(component);
    if (!proxy) {
      throw new Error(`Could not find activated route proxy for view`);
    }
    proxy._futureSnapshot = activatedRoute._futureSnapshot;
    proxy._routerState = activatedRoute._routerState;
    proxy.snapshot = activatedRoute.snapshot;
    proxy.outlet = activatedRoute.outlet;
    proxy.component = activatedRoute.component;
    this.currentActivatedRoute$.next({
      component,
      activatedRoute
    });
  }
  /** @nocollapse */
  static \u0275fac = function IonRouterOutlet_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || _IonRouterOutlet)(\u0275\u0275injectAttribute("name"), \u0275\u0275injectAttribute("tabs"), \u0275\u0275directiveInject(Location), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(Router), \u0275\u0275directiveInject(NgZone), \u0275\u0275directiveInject(ActivatedRoute), \u0275\u0275directiveInject(_IonRouterOutlet, 12));
  };
  /** @nocollapse */
  static \u0275dir = /* @__PURE__ */ \u0275\u0275defineDirective({
    type: _IonRouterOutlet,
    selectors: [["ion-router-outlet"]],
    inputs: {
      animated: "animated",
      animation: "animation",
      mode: "mode",
      swipeGesture: "swipeGesture",
      name: "name"
    },
    outputs: {
      stackWillChange: "stackWillChange",
      stackDidChange: "stackDidChange",
      activateEvents: "activate",
      deactivateEvents: "deactivate"
    },
    exportAs: ["outlet"],
    standalone: false
  });
};
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonRouterOutlet, [{
    type: Directive,
    args: [{
      selector: "ion-router-outlet",
      exportAs: "outlet",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["animated", "animation", "mode", "swipeGesture"]
    }]
  }], function() {
    return [{
      type: void 0,
      decorators: [{
        type: Attribute,
        args: ["name"]
      }]
    }, {
      type: void 0,
      decorators: [{
        type: Optional
      }, {
        type: Attribute,
        args: ["tabs"]
      }]
    }, {
      type: Location
    }, {
      type: ElementRef
    }, {
      type: Router
    }, {
      type: NgZone
    }, {
      type: ActivatedRoute
    }, {
      type: IonRouterOutlet,
      decorators: [{
        type: SkipSelf
      }, {
        type: Optional
      }]
    }];
  }, {
    name: [{
      type: Input
    }],
    stackWillChange: [{
      type: Output
    }],
    stackDidChange: [{
      type: Output
    }],
    activateEvents: [{
      type: Output,
      args: ["activate"]
    }],
    deactivateEvents: [{
      type: Output,
      args: ["deactivate"]
    }]
  });
})();
var OutletInjector = class {
  route;
  childContexts;
  parent;
  constructor(route, childContexts, parent) {
    this.route = route;
    this.childContexts = childContexts;
    this.parent = parent;
  }
  get(token, notFoundValue) {
    if (token === ActivatedRoute) {
      return this.route;
    }
    if (token === ChildrenOutletContexts) {
      return this.childContexts;
    }
    return this.parent.get(token, notFoundValue);
  }
};
var INPUT_BINDER = new InjectionToken("");
var RoutedComponentInputBinder = class _RoutedComponentInputBinder {
  outletDataSubscriptions = /* @__PURE__ */ new Map();
  bindActivatedRouteToOutletComponent(outlet) {
    this.unsubscribeFromRouteData(outlet);
    this.subscribeToRouteData(outlet);
  }
  unsubscribeFromRouteData(outlet) {
    this.outletDataSubscriptions.get(outlet)?.unsubscribe();
    this.outletDataSubscriptions.delete(outlet);
  }
  subscribeToRouteData(outlet) {
    const {
      activatedRoute
    } = outlet;
    const dataSubscription = combineLatest([activatedRoute.queryParams, activatedRoute.params, activatedRoute.data]).pipe(switchMap(([queryParams, params, data], index) => {
      data = __spreadValues(__spreadValues(__spreadValues({}, queryParams), params), data);
      if (index === 0) {
        return of(data);
      }
      return Promise.resolve(data);
    })).subscribe((data) => {
      if (!outlet.isActivated || !outlet.activatedComponentRef || outlet.activatedRoute !== activatedRoute || activatedRoute.component === null) {
        this.unsubscribeFromRouteData(outlet);
        return;
      }
      const mirror = reflectComponentType(activatedRoute.component);
      if (!mirror) {
        this.unsubscribeFromRouteData(outlet);
        return;
      }
      for (const {
        templateName
      } of mirror.inputs) {
        outlet.activatedComponentRef.setInput(templateName, data[templateName]);
      }
    });
    this.outletDataSubscriptions.set(outlet, dataSubscription);
  }
  /** @nocollapse */
  static \u0275fac = function RoutedComponentInputBinder_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || _RoutedComponentInputBinder)();
  };
  /** @nocollapse */
  static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({
    token: _RoutedComponentInputBinder,
    factory: _RoutedComponentInputBinder.\u0275fac
  });
};
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(RoutedComponentInputBinder, [{
    type: Injectable
  }], null, null);
})();
var provideComponentInputBinding = () => {
  return {
    provide: INPUT_BINDER,
    useFactory: componentInputBindingFactory,
    deps: [Router]
  };
};
function componentInputBindingFactory(router) {
  if (router?.componentInputBindingEnabled) {
    return new RoutedComponentInputBinder();
  }
  return null;
}
var raf = (h21) => {
  if (typeof __zone_symbol__requestAnimationFrame === "function") {
    return __zone_symbol__requestAnimationFrame(h21);
  }
  if (typeof requestAnimationFrame === "function") {
    return requestAnimationFrame(h21);
  }
  return setTimeout(h21);
};
var ValueAccessor = class _ValueAccessor {
  injector;
  elementRef;
  onChange = () => {
  };
  onTouched = () => {
  };
  lastValue;
  statusChanges;
  constructor(injector, elementRef) {
    this.injector = injector;
    this.elementRef = elementRef;
  }
  writeValue(value) {
    this.elementRef.nativeElement.value = this.lastValue = value;
    setIonicClasses(this.elementRef);
  }
  /**
   * Notifies the ControlValueAccessor of a change in the value of the control.
   *
   * This is called by each of the ValueAccessor directives when we want to update
   * the status and validity of the form control. For example with text components this
   * is called when the ionInput event is fired. For select components this is called
   * when the ionChange event is fired.
   *
   * This also updates the Ionic form status classes on the element.
   *
   * @param el The component element.
   * @param value The new value of the control.
   */
  handleValueChange(el, value) {
    if (el === this.elementRef.nativeElement) {
      if (value !== this.lastValue) {
        this.lastValue = value;
        this.onChange(value);
      }
      setIonicClasses(this.elementRef);
    }
  }
  _handleBlurEvent(el) {
    if (el === this.elementRef.nativeElement) {
      this.onTouched();
      setIonicClasses(this.elementRef);
    } else if (el.closest("ion-radio-group") === this.elementRef.nativeElement) {
      this.onTouched();
    }
  }
  registerOnChange(fn) {
    this.onChange = fn;
  }
  registerOnTouched(fn) {
    this.onTouched = fn;
  }
  setDisabledState(isDisabled) {
    this.elementRef.nativeElement.disabled = isDisabled;
  }
  ngOnDestroy() {
    if (this.statusChanges) {
      this.statusChanges.unsubscribe();
    }
  }
  ngAfterViewInit() {
    let ngControl;
    try {
      ngControl = this.injector.get(NgControl);
    } catch {
    }
    if (!ngControl) {
      return;
    }
    if (ngControl.statusChanges) {
      this.statusChanges = ngControl.statusChanges.subscribe(() => setIonicClasses(this.elementRef));
    }
    const formControl = ngControl.control;
    if (formControl) {
      const methodsToPatch = ["markAsTouched", "markAllAsTouched", "markAsUntouched", "markAsDirty", "markAsPristine"];
      methodsToPatch.forEach((method) => {
        if (typeof formControl[method] !== "undefined") {
          const oldFn = formControl[method].bind(formControl);
          formControl[method] = (...params) => {
            oldFn(...params);
            setIonicClasses(this.elementRef);
          };
        }
      });
    }
  }
  /** @nocollapse */
  static \u0275fac = function ValueAccessor_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || _ValueAccessor)(\u0275\u0275directiveInject(Injector), \u0275\u0275directiveInject(ElementRef));
  };
  /** @nocollapse */
  static \u0275dir = /* @__PURE__ */ \u0275\u0275defineDirective({
    type: _ValueAccessor,
    hostBindings: function ValueAccessor_HostBindings(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275listener("ionBlur", function ValueAccessor_ionBlur_HostBindingHandler($event) {
          return ctx._handleBlurEvent($event.target);
        });
      }
    },
    standalone: false
  });
};
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(ValueAccessor, [{
    type: Directive
  }], function() {
    return [{
      type: Injector
    }, {
      type: ElementRef
    }];
  }, {
    _handleBlurEvent: [{
      type: HostListener,
      args: ["ionBlur", ["$event.target"]]
    }]
  });
})();
var setIonicClasses = (element) => {
  raf(() => {
    const input = element.nativeElement;
    const hasValue = input.value != null && input.value.toString().length > 0;
    const classes = getClasses(input);
    setClasses(input, classes);
    const item = input.closest("ion-item");
    if (item) {
      if (hasValue) {
        setClasses(item, [...classes, "item-has-value"]);
      } else {
        setClasses(item, classes);
      }
    }
  });
};
var getClasses = (element) => {
  const classList = element.classList;
  const classes = [];
  for (let i16 = 0; i16 < classList.length; i16++) {
    const item = classList.item(i16);
    if (item !== null && startsWith(item, "ng-")) {
      classes.push(`ion-${item.substring(3)}`);
    }
  }
  return classes;
};
var setClasses = (element, classes) => {
  const classList = element.classList;
  classList.remove("ion-valid", "ion-invalid", "ion-touched", "ion-untouched", "ion-dirty", "ion-pristine");
  classList.add(...classes);
};
var startsWith = (input, search) => {
  return input.substring(0, search.length) === search;
};
var BACK_BUTTON_INPUTS = ["color", "defaultHref", "disabled", "icon", "mode", "routerAnimation", "text", "type"];
var IonBackButton = class IonBackButton2 {
  routerOutlet;
  navCtrl;
  config;
  r;
  z;
  el;
  constructor(routerOutlet, navCtrl, config, r32, z11, c36) {
    this.routerOutlet = routerOutlet;
    this.navCtrl = navCtrl;
    this.config = config;
    this.r = r32;
    this.z = z11;
    c36.detach();
    this.el = this.r.nativeElement;
  }
  /**
   * @internal
   */
  onClick(ev) {
    const defaultHref = this.defaultHref || this.config.get("backButtonDefaultHref");
    if (this.routerOutlet?.canGoBack()) {
      this.navCtrl.setDirection("back", void 0, void 0, this.routerAnimation);
      this.routerOutlet.pop();
      ev.preventDefault();
    } else if (defaultHref != null) {
      this.navCtrl.navigateBack(defaultHref, {
        animation: this.routerAnimation
      });
      ev.preventDefault();
    }
  }
  /** @nocollapse */
  static \u0275fac = function IonBackButton_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonBackButton2)(\u0275\u0275directiveInject(IonRouterOutlet, 8), \u0275\u0275directiveInject(NavController), \u0275\u0275directiveInject(Config), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone), \u0275\u0275directiveInject(ChangeDetectorRef));
  };
  /** @nocollapse */
  static \u0275dir = /* @__PURE__ */ \u0275\u0275defineDirective({
    type: IonBackButton2,
    hostBindings: function IonBackButton_HostBindings(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275listener("click", function IonBackButton_click_HostBindingHandler($event) {
          return ctx.onClick($event);
        });
      }
    },
    inputs: {
      color: "color",
      defaultHref: "defaultHref",
      disabled: "disabled",
      icon: "icon",
      mode: "mode",
      routerAnimation: "routerAnimation",
      text: "text",
      type: "type"
    },
    standalone: false
  });
};
IonBackButton = __decorate([ProxyCmp({
  inputs: BACK_BUTTON_INPUTS
})], IonBackButton);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonBackButton, [{
    type: Directive,
    args: [{
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: BACK_BUTTON_INPUTS
    }]
  }], function() {
    return [{
      type: IonRouterOutlet,
      decorators: [{
        type: Optional
      }]
    }, {
      type: NavController
    }, {
      type: Config
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }, {
      type: ChangeDetectorRef
    }];
  }, {
    onClick: [{
      type: HostListener,
      args: ["click", ["$event"]]
    }]
  });
})();
var NAV_INPUTS = ["animated", "animation", "root", "rootParams", "swipeGesture"];
var NAV_METHODS = ["push", "insert", "insertPages", "pop", "popTo", "popToRoot", "removeIndex", "setRoot", "setPages", "getActive", "getByIndex", "canGoBack", "getPrevious"];
var IonNav = class IonNav2 {
  z;
  el;
  constructor(ref, environmentInjector, injector, angularDelegate, z11, c36) {
    this.z = z11;
    c36.detach();
    this.el = ref.nativeElement;
    ref.nativeElement.delegate = angularDelegate.create(environmentInjector, injector);
    proxyOutputs(this, this.el, ["ionNavDidChange", "ionNavWillChange"]);
  }
  /** @nocollapse */
  static \u0275fac = function IonNav_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonNav2)(\u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(EnvironmentInjector), \u0275\u0275directiveInject(Injector), \u0275\u0275directiveInject(AngularDelegate), \u0275\u0275directiveInject(NgZone), \u0275\u0275directiveInject(ChangeDetectorRef));
  };
  /** @nocollapse */
  static \u0275dir = /* @__PURE__ */ \u0275\u0275defineDirective({
    type: IonNav2,
    inputs: {
      animated: "animated",
      animation: "animation",
      root: "root",
      rootParams: "rootParams",
      swipeGesture: "swipeGesture"
    },
    standalone: false
  });
};
IonNav = __decorate([ProxyCmp({
  inputs: NAV_INPUTS,
  methods: NAV_METHODS
})], IonNav);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonNav, [{
    type: Directive,
    args: [{
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: NAV_INPUTS
    }]
  }], function() {
    return [{
      type: ElementRef
    }, {
      type: EnvironmentInjector
    }, {
      type: Injector
    }, {
      type: AngularDelegate
    }, {
      type: NgZone
    }, {
      type: ChangeDetectorRef
    }];
  }, null);
})();
var RouterLinkDelegateDirective = class _RouterLinkDelegateDirective {
  locationStrategy;
  navCtrl;
  elementRef;
  router;
  routerLink;
  routerDirection = "forward";
  routerAnimation;
  constructor(locationStrategy, navCtrl, elementRef, router, routerLink) {
    this.locationStrategy = locationStrategy;
    this.navCtrl = navCtrl;
    this.elementRef = elementRef;
    this.router = router;
    this.routerLink = routerLink;
  }
  ngOnInit() {
    this.updateTargetUrlAndHref();
    this.updateTabindex();
  }
  ngOnChanges() {
    this.updateTargetUrlAndHref();
  }
  /**
   * The `tabindex` is set to `0` by default on the host element when
   * the `routerLink` directive is used. This causes issues with Ionic
   * components that wrap an `a` or `button` element, such as `ion-item`.
   * See issue https://github.com/angular/angular/issues/28345
   *
   * This method removes the `tabindex` attribute from the host element
   * to allow the Ionic component to manage the focus state correctly.
   */
  updateTabindex() {
    const ionicComponents = ["ION-BACK-BUTTON", "ION-BREADCRUMB", "ION-BUTTON", "ION-CARD", "ION-FAB-BUTTON", "ION-ITEM", "ION-ITEM-OPTION", "ION-MENU-BUTTON", "ION-SEGMENT-BUTTON", "ION-TAB-BUTTON"];
    const hostElement = this.elementRef.nativeElement;
    if (ionicComponents.includes(hostElement.tagName)) {
      if (hostElement.getAttribute("tabindex") === "0") {
        hostElement.removeAttribute("tabindex");
      }
    }
  }
  updateTargetUrlAndHref() {
    if (this.routerLink?.urlTree) {
      const href = this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));
      this.elementRef.nativeElement.href = href;
    }
  }
  /**
   * @internal
   */
  onClick(ev) {
    this.navCtrl.setDirection(this.routerDirection, void 0, void 0, this.routerAnimation);
    ev.preventDefault();
  }
  /** @nocollapse */
  static \u0275fac = function RouterLinkDelegateDirective_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || _RouterLinkDelegateDirective)(\u0275\u0275directiveInject(LocationStrategy), \u0275\u0275directiveInject(NavController), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(Router), \u0275\u0275directiveInject(RouterLink, 8));
  };
  /** @nocollapse */
  static \u0275dir = /* @__PURE__ */ \u0275\u0275defineDirective({
    type: _RouterLinkDelegateDirective,
    selectors: [["", "routerLink", "", 5, "a", 5, "area"]],
    hostBindings: function RouterLinkDelegateDirective_HostBindings(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275listener("click", function RouterLinkDelegateDirective_click_HostBindingHandler($event) {
          return ctx.onClick($event);
        });
      }
    },
    inputs: {
      routerDirection: "routerDirection",
      routerAnimation: "routerAnimation"
    },
    standalone: false,
    features: [\u0275\u0275NgOnChangesFeature]
  });
};
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(RouterLinkDelegateDirective, [{
    type: Directive,
    args: [{
      selector: ":not(a):not(area)[routerLink]"
    }]
  }], function() {
    return [{
      type: LocationStrategy
    }, {
      type: NavController
    }, {
      type: ElementRef
    }, {
      type: Router
    }, {
      type: RouterLink,
      decorators: [{
        type: Optional
      }]
    }];
  }, {
    routerDirection: [{
      type: Input
    }],
    routerAnimation: [{
      type: Input
    }],
    onClick: [{
      type: HostListener,
      args: ["click", ["$event"]]
    }]
  });
})();
var RouterLinkWithHrefDelegateDirective = class _RouterLinkWithHrefDelegateDirective {
  locationStrategy;
  navCtrl;
  elementRef;
  router;
  routerLink;
  routerDirection = "forward";
  routerAnimation;
  constructor(locationStrategy, navCtrl, elementRef, router, routerLink) {
    this.locationStrategy = locationStrategy;
    this.navCtrl = navCtrl;
    this.elementRef = elementRef;
    this.router = router;
    this.routerLink = routerLink;
  }
  ngOnInit() {
    this.updateTargetUrlAndHref();
  }
  ngOnChanges() {
    this.updateTargetUrlAndHref();
  }
  updateTargetUrlAndHref() {
    if (this.routerLink?.urlTree) {
      const href = this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));
      this.elementRef.nativeElement.href = href;
    }
  }
  /**
   * @internal
   */
  onClick() {
    this.navCtrl.setDirection(this.routerDirection, void 0, void 0, this.routerAnimation);
  }
  /** @nocollapse */
  static \u0275fac = function RouterLinkWithHrefDelegateDirective_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || _RouterLinkWithHrefDelegateDirective)(\u0275\u0275directiveInject(LocationStrategy), \u0275\u0275directiveInject(NavController), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(Router), \u0275\u0275directiveInject(RouterLink, 8));
  };
  /** @nocollapse */
  static \u0275dir = /* @__PURE__ */ \u0275\u0275defineDirective({
    type: _RouterLinkWithHrefDelegateDirective,
    selectors: [["a", "routerLink", ""], ["area", "routerLink", ""]],
    hostBindings: function RouterLinkWithHrefDelegateDirective_HostBindings(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275listener("click", function RouterLinkWithHrefDelegateDirective_click_HostBindingHandler() {
          return ctx.onClick();
        });
      }
    },
    inputs: {
      routerDirection: "routerDirection",
      routerAnimation: "routerAnimation"
    },
    standalone: false,
    features: [\u0275\u0275NgOnChangesFeature]
  });
};
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(RouterLinkWithHrefDelegateDirective, [{
    type: Directive,
    args: [{
      selector: "a[routerLink],area[routerLink]"
    }]
  }], function() {
    return [{
      type: LocationStrategy
    }, {
      type: NavController
    }, {
      type: ElementRef
    }, {
      type: Router
    }, {
      type: RouterLink,
      decorators: [{
        type: Optional
      }]
    }];
  }, {
    routerDirection: [{
      type: Input
    }],
    routerAnimation: [{
      type: Input
    }],
    onClick: [{
      type: HostListener,
      args: ["click"]
    }]
  });
})();
var IonTabs = class _IonTabs {
  navCtrl;
  tabsInner;
  /**
   * Emitted before the tab view is changed.
   */
  ionTabsWillChange = new EventEmitter();
  /**
   * Emitted after the tab view is changed.
   */
  ionTabsDidChange = new EventEmitter();
  tabBarSlot = "bottom";
  hasTab = false;
  selectedTab;
  leavingTab;
  constructor(navCtrl) {
    this.navCtrl = navCtrl;
  }
  ngAfterViewInit() {
    const firstTab = this.tabs.length > 0 ? this.tabs.first : void 0;
    if (firstTab) {
      this.hasTab = true;
      this.setActiveTab(firstTab.tab);
      this.tabSwitch();
    }
  }
  ngAfterContentInit() {
    this.detectSlotChanges();
  }
  ngAfterContentChecked() {
    this.detectSlotChanges();
  }
  /**
   * @internal
   */
  onStackWillChange({
    enteringView,
    tabSwitch
  }) {
    const stackId = enteringView.stackId;
    if (tabSwitch && stackId !== void 0) {
      this.ionTabsWillChange.emit({
        tab: stackId
      });
    }
  }
  /**
   * @internal
   */
  onStackDidChange({
    enteringView,
    tabSwitch
  }) {
    const stackId = enteringView.stackId;
    if (tabSwitch && stackId !== void 0) {
      if (this.tabBar) {
        this.tabBar.selectedTab = stackId;
      }
      this.ionTabsDidChange.emit({
        tab: stackId
      });
    }
  }
  /**
   * When a tab button is clicked, there are several scenarios:
   * 1. If the selected tab is currently active (the tab button has been clicked
   *    again), then it should go to the root view for that tab.
   *
   *   a. Get the saved root view from the router outlet. If the saved root view
   *      matches the tabRootUrl, set the route view to this view including the
   *      navigation extras.
   *   b. If the saved root view from the router outlet does
   *      not match, navigate to the tabRootUrl. No navigation extras are
   *      included.
   *
   * 2. If the current tab tab is not currently selected, get the last route
   *    view from the router outlet.
   *
   *   a. If the last route view exists, navigate to that view including any
   *      navigation extras
   *   b. If the last route view doesn't exist, then navigate
   *      to the default tabRootUrl
   */
  select(tabOrEvent) {
    const isTabString = typeof tabOrEvent === "string";
    const tab = isTabString ? tabOrEvent : tabOrEvent.detail.tab;
    if (this.hasTab) {
      this.setActiveTab(tab);
      this.tabSwitch();
      return;
    }
    const alreadySelected = this.outlet.getActiveStackId() === tab;
    const tabRootUrl = `${this.outlet.tabsPrefix}/${tab}`;
    if (!isTabString) {
      tabOrEvent.stopPropagation();
    }
    if (alreadySelected) {
      const activeStackId = this.outlet.getActiveStackId();
      const activeView = this.outlet.getLastRouteView(activeStackId);
      if (activeView?.url === tabRootUrl) {
        return;
      }
      const rootView = this.outlet.getRootView(tab);
      const navigationExtras = rootView && tabRootUrl === rootView.url && rootView.savedExtras;
      return this.navCtrl.navigateRoot(tabRootUrl, __spreadProps(__spreadValues({}, navigationExtras), {
        animated: true,
        animationDirection: "back"
      }));
    } else {
      const lastRoute = this.outlet.getLastRouteView(tab);
      const url = lastRoute?.url || tabRootUrl;
      const navigationExtras = lastRoute?.savedExtras;
      return this.navCtrl.navigateRoot(url, __spreadProps(__spreadValues({}, navigationExtras), {
        animated: true,
        animationDirection: "back"
      }));
    }
  }
  setActiveTab(tab) {
    const tabs = this.tabs;
    const selectedTab = tabs.find((t17) => t17.tab === tab);
    if (!selectedTab) {
      console.error(`[Ionic Error]: Tab with id: "${tab}" does not exist`);
      return;
    }
    this.leavingTab = this.selectedTab;
    this.selectedTab = selectedTab;
    this.ionTabsWillChange.emit({
      tab
    });
    selectedTab.el.active = true;
  }
  tabSwitch() {
    const {
      selectedTab,
      leavingTab
    } = this;
    if (this.tabBar && selectedTab) {
      this.tabBar.selectedTab = selectedTab.tab;
    }
    if (leavingTab?.tab !== selectedTab?.tab) {
      if (leavingTab?.el) {
        leavingTab.el.active = false;
      }
    }
    if (selectedTab) {
      this.ionTabsDidChange.emit({
        tab: selectedTab.tab
      });
    }
  }
  getSelected() {
    if (this.hasTab) {
      return this.selectedTab?.tab;
    }
    return this.outlet.getActiveStackId();
  }
  /**
   * Detects changes to the slot attribute of the tab bar.
   *
   * If the slot attribute has changed, then the tab bar
   * should be relocated to the new slot position.
   */
  detectSlotChanges() {
    this.tabBars.forEach((tabBar) => {
      const currentSlot = tabBar.el.getAttribute("slot");
      if (currentSlot !== this.tabBarSlot) {
        this.tabBarSlot = currentSlot;
        this.relocateTabBar();
      }
    });
  }
  /**
   * Relocates the tab bar to the new slot position.
   */
  relocateTabBar() {
    const tabBar = this.tabBar.el;
    if (this.tabBarSlot === "top") {
      this.tabsInner.nativeElement.before(tabBar);
    } else {
      this.tabsInner.nativeElement.after(tabBar);
    }
  }
  /** @nocollapse */
  static \u0275fac = function IonTabs_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || _IonTabs)(\u0275\u0275directiveInject(NavController));
  };
  /** @nocollapse */
  static \u0275dir = /* @__PURE__ */ \u0275\u0275defineDirective({
    type: _IonTabs,
    selectors: [["ion-tabs"]],
    viewQuery: function IonTabs_Query(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275viewQuery(_c0, 7, ElementRef);
      }
      if (rf & 2) {
        let _t;
        \u0275\u0275queryRefresh(_t = \u0275\u0275loadQuery()) && (ctx.tabsInner = _t.first);
      }
    },
    hostBindings: function IonTabs_HostBindings(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275listener("ionTabButtonClick", function IonTabs_ionTabButtonClick_HostBindingHandler($event) {
          return ctx.select($event);
        });
      }
    },
    outputs: {
      ionTabsWillChange: "ionTabsWillChange",
      ionTabsDidChange: "ionTabsDidChange"
    },
    standalone: false
  });
};
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonTabs, [{
    type: Directive,
    args: [{
      selector: "ion-tabs"
    }]
  }], function() {
    return [{
      type: NavController
    }];
  }, {
    tabsInner: [{
      type: ViewChild,
      args: ["tabsInner", {
        read: ElementRef,
        static: true
      }]
    }],
    ionTabsWillChange: [{
      type: Output
    }],
    ionTabsDidChange: [{
      type: Output
    }],
    select: [{
      type: HostListener,
      args: ["ionTabButtonClick", ["$event"]]
    }]
  });
})();
var OverlayBaseController = class {
  ctrl;
  constructor(ctrl) {
    this.ctrl = ctrl;
  }
  /**
   * Creates a new overlay
   */
  create(opts) {
    return this.ctrl.create(opts || {});
  }
  /**
   * When `id` is not provided, it dismisses the top overlay.
   */
  dismiss(data, role, id) {
    return this.ctrl.dismiss(data, role, id);
  }
  /**
   * Returns the top overlay.
   */
  getTop() {
    return this.ctrl.getTop();
  }
};

// node_modules/@ionic/core/components/p-CO7fmmxt.js
var s9 = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M244 400 100 256l144-144M120 256h292' stroke-linecap='square' stroke-miterlimit='10' stroke-width='48px' class='ionicon-fill-none'/></svg>";
var o9 = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='m112 268 144 144 144-144M256 392V100' stroke-linecap='round' stroke-linejoin='round' stroke-width='48px' class='ionicon-fill-none'/></svg>";
var i9 = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M368 64 144 256l224 192z'/></svg>";
var n6 = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='m64 144 192 224 192-224z'/></svg>";
var a7 = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M448 368 256 144 64 368z'/></svg>";
var t10 = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M416 128 192 384l-96-96' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
var l7 = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M328 112 184 256l144 144' stroke-linecap='round' stroke-linejoin='round' stroke-width='48px' class='ionicon-fill-none'/></svg>";
var g3 = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='m112 184 144 144 144-144' stroke-linecap='round' stroke-linejoin='round' stroke-width='48px' class='ionicon-fill-none'/></svg>";
var e7 = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='m136 208 120-104 120 104M136 304l120 104 120-104' class='ionicon-fill-none'/></svg>";
var w4 = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='m184 112 144 144-144 144' stroke-linecap='round' stroke-linejoin='round' stroke-width='48px' class='ionicon-fill-none'/></svg>";
var c8 = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='m184 112 144 144-144 144' stroke-linecap='round' stroke-linejoin='round' stroke-width='48px' class='ionicon-fill-none'/></svg>";
var v5 = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='m289.94 256 95-95A24 24 0 0 0 351 127l-95 95-95-95a24 24 0 0 0-34 34l95 95-95 95a24 24 0 1 0 34 34l95-95 95 95a24 24 0 0 0 34-34Z'/></svg>";
var r6 = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48m75.31 260.69a16 16 0 1 1-22.62 22.62L256 278.63l-52.69 52.68a16 16 0 0 1-22.62-22.62L233.37 256l-52.68-52.69a16 16 0 0 1 22.62-22.62L256 233.37l52.69-52.68a16 16 0 0 1 22.62 22.62L278.63 256Z'/></svg>";
var m5 = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M400 145.49 366.51 112 256 222.51 145.49 112 112 145.49 222.51 256 112 366.51 145.49 400 256 289.49 366.51 400 400 366.51 289.49 256z'/></svg>";
var d5 = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><circle cx='256' cy='256' r='192' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
var x5 = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><circle cx='256' cy='256' r='48'/><circle cx='416' cy='256' r='48'/><circle cx='96' cy='256' r='48'/></svg>";
var h8 = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><circle cx='256' cy='256' r='64'/><path d='M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96c-42.52 0-84.33 12.15-124.27 36.11-40.73 24.43-77.63 60.12-109.68 106.07a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416c46.71 0 93.81-14.43 136.2-41.72 38.46-24.77 72.72-59.66 99.08-100.92a32.2 32.2 0 0 0-.1-34.76M256 352a96 96 0 1 1 96-96 96.11 96.11 0 0 1-96 96'/></svg>";
var p5 = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448M248 315.85l-51.79-51.79a2 2 0 0 0-3.39 1.69 64.11 64.11 0 0 0 53.49 53.49 2 2 0 0 0 1.69-3.39M264 196.15 315.87 248a2 2 0 0 0 3.4-1.69 64.13 64.13 0 0 0-53.55-53.55 2 2 0 0 0-1.72 3.39'/><path d='M491 273.36a32.2 32.2 0 0 0-.1-34.76c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.68 96a226.5 226.5 0 0 0-71.82 11.79 4 4 0 0 0-1.56 6.63l47.24 47.24a4 4 0 0 0 3.82 1.05 96 96 0 0 1 116 116 4 4 0 0 0 1.05 3.81l67.95 68a4 4 0 0 0 5.4.24 343.8 343.8 0 0 0 67.24-77.4M256 352a96 96 0 0 1-93.3-118.63 4 4 0 0 0-1.05-3.81l-66.84-66.87a4 4 0 0 0-5.41-.23c-24.39 20.81-47 46.13-67.67 75.72a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.39 76.14 98.28 100.65C162.06 402 207.92 416 255.68 416a238.2 238.2 0 0 0 72.64-11.55 4 4 0 0 0 1.61-6.64l-47.47-47.46a4 4 0 0 0-3.81-1.05A96 96 0 0 1 256 352'/></svg>";
var u7 = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M80 160h352M80 256h352M80 352h352' stroke-linecap='round' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
var k3 = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M64 384h384v-42.67H64Zm0-106.67h384v-42.66H64ZM64 128v42.67h384V128Z'/></svg>";
var f6 = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M400 256H112' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
var M5 = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M96 256h320M96 176h320M96 336h320' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
var B4 = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M118 304h276M118 208h276' stroke-linecap='square' stroke-linejoin='round' stroke-width='44px' class='ionicon-fill-none'/></svg>";
var j3 = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M221.09 64a157.09 157.09 0 1 0 157.09 157.09A157.1 157.1 0 0 0 221.09 64Z' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/><path d='M338.29 338.29 448 448' stroke-linecap='round' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/></svg>";
var Z2 = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M464 428 339.92 303.9a160.48 160.48 0 0 0 30.72-94.58C370.64 120.37 298.27 48 209.32 48S48 120.37 48 209.32s72.37 161.32 161.32 161.32a160.48 160.48 0 0 0 94.58-30.72L428 464ZM209.32 319.69a110.38 110.38 0 1 1 110.37-110.37 110.5 110.5 0 0 1-110.37 110.37'/></svg>";

// node_modules/@ionic/core/components/p-YLXPWgVj.js
var e8;
var c9 = (o14, t17, n15, i16, r32) => (n15 = "ios" === (n15 && h9(n15)) ? "ios" : "md", i16 && "ios" === n15 ? o14 = h9(i16) : r32 && "md" === n15 ? o14 = h9(r32) : (o14 || !t17 || a8(t17) || (o14 = t17), d6(o14) && (o14 = h9(o14))), d6(o14) && "" !== o14.trim() ? "" !== o14.replace(/[a-z]|-|\d/gi, "") ? null : o14 : null);
var l8 = (o14) => d6(o14) && (o14 = o14.trim(), a8(o14)) ? o14 : null;
var a8 = (o14) => o14.length > 0 && /(\/|\.)/.test(o14);
var d6 = (o14) => "string" == typeof o14;
var h9 = (o14) => o14.toLowerCase();
var f7 = (o14) => {
  if (1 === o14.nodeType) {
    if ("script" === o14.nodeName.toLowerCase()) return false;
    for (let t17 = 0; t17 < o14.attributes.length; t17++) {
      const n15 = o14.attributes[t17].name;
      if (d6(n15) && 0 === n15.toLowerCase().indexOf("on")) return false;
    }
    for (let t17 = 0; t17 < o14.childNodes.length; t17++) if (!f7(o14.childNodes[t17])) return false;
  }
  return true;
};
var u8 = /* @__PURE__ */ new Map();
var m6 = /* @__PURE__ */ new Map();
var p6;
function g4(o14) {
  return u8.set(o14, ""), "";
}
var w5 = Dn(class extends I {
  constructor(o14) {
    super(), false !== o14 && this.__registerHost(), this.__attachShadow(), this.iconName = null, this.inheritedAttributes = {}, this.didLoadIcon = false, this.isVisible = false, this.mode = b5(), this.lazy = false, this.sanitize = true;
  }
  componentWillLoad() {
    this.inheritedAttributes = ((o14, t17 = []) => {
      const n15 = {};
      return t17.forEach(((t18) => {
        o14.hasAttribute(t18) && (null !== o14.getAttribute(t18) && (n15[t18] = o14.getAttribute(t18)), o14.removeAttribute(t18));
      })), n15;
    })(this.el, ["aria-label"]);
  }
  connectedCallback() {
    this.waitUntilVisible(this.el, "50px", (() => {
      this.isVisible = true, this.loadIcon();
    }));
  }
  componentDidLoad() {
    this.didLoadIcon || this.loadIcon();
  }
  disconnectedCallback() {
    this.io && (this.io.disconnect(), this.io = void 0);
  }
  waitUntilVisible(o14, t17, n15) {
    if (!Boolean(this.lazy && "undefined" != typeof window && window.IntersectionObserver)) return n15();
    const i16 = this.io = new window.IntersectionObserver(((o15) => {
      o15[0].isIntersecting && (i16.disconnect(), this.io = void 0, n15());
    }), { rootMargin: t17 });
    i16.observe(o14);
  }
  loadIcon() {
    if (this.isVisible) {
      const t17 = ((t18) => {
        let n15 = l8(t18.src);
        if (n15) return n15;
        if (n15 = c9(t18.name, t18.icon, t18.mode, t18.ios, t18.md), n15) return ((t19, n16) => {
          const i16 = (() => {
            if ("undefined" == typeof window) return /* @__PURE__ */ new Map();
            if (!e8) {
              const o14 = window;
              o14.Ionicons = o14.Ionicons || {}, e8 = o14.Ionicons.map = o14.Ionicons.map || /* @__PURE__ */ new Map();
            }
            return e8;
          })().get(t19);
          if (i16) return i16;
          try {
            return q(`svg/${t19}.svg`);
          } catch (o14) {
            console.log("e", o14), console.warn(`[Ionicons Warning]: Could not load icon with name "${t19}". Ensure that the icon is registered using addIcons or that the icon SVG data is passed directly to the icon component.`, n16);
          }
        })(n15, t18);
        if (t18.icon) {
          if (n15 = l8(t18.icon), n15) return n15;
          if (n15 = l8(t18.icon[t18.mode]), n15) return n15;
        }
        return null;
      })(this);
      t17 && (u8.has(t17) ? this.svgContent = u8.get(t17) : ((o14, t18) => m6.get(o14) || ("undefined" != typeof fetch && "undefined" != typeof document ? ((o15) => o15.startsWith("data:image/svg+xml"))(o14) && ((o15) => -1 !== o15.indexOf(";utf8,"))(o14) ? Promise.resolve((function(o15) {
        p6 || (p6 = new DOMParser());
        const t19 = p6.parseFromString(o15, "text/html").querySelector("svg");
        if (t19) return u8.set(o15, t19.outerHTML), t19.outerHTML;
        throw new Error(`Could not parse svg from ${o15}`);
      })(o14)) : (function(o15, t19) {
        const n15 = fetch(o15).then(((n16) => n16.text().then(((n17) => {
          n17 && false !== t19 && (n17 = ((o16) => {
            const t20 = document.createElement("div");
            t20.innerHTML = o16;
            for (let o17 = t20.childNodes.length - 1; o17 >= 0; o17--) "svg" !== t20.childNodes[o17].nodeName.toLowerCase() && t20.removeChild(t20.childNodes[o17]);
            const n18 = t20.firstElementChild;
            if (n18 && "svg" === n18.nodeName.toLowerCase()) {
              const o17 = n18.getAttribute("class") || "";
              if (n18.setAttribute("class", (o17 + " s-ion-icon").trim()), f7(n18)) return t20.innerHTML;
            }
            return "";
          })(n17));
          const i16 = n17 || "";
          return u8.set(o15, i16), i16;
        })).catch((() => g4(o15))))).catch((() => g4(o15)));
        return m6.set(o15, n15), n15;
      })(o14, t18) : Promise.resolve(g4(o14))))(t17, this.sanitize).then((() => this.svgContent = u8.get(t17))), this.didLoadIcon = true);
    }
    this.iconName = c9(this.name, this.icon, this.mode, this.ios, this.md);
  }
  render() {
    const { flipRtl: o14, iconName: t17, inheritedAttributes: n15, el: s23 } = this, e16 = this.mode || "md", c36 = !!t17 && (t17.includes("arrow") || t17.includes("chevron")) && false !== o14, l27 = o14 || c36;
    return Ct(It, Object.assign({ key: "0578c899781ca145dd8205acd9670af39b57cf2e", role: "img", class: Object.assign(Object.assign({ [e16]: true }, v6(this.color)), { [`icon-${this.size}`]: !!this.size, "flip-rtl": l27, "icon-rtl": l27 && (a17 = s23, a17 && "" !== a17.dir ? "rtl" === a17.dir.toLowerCase() : "rtl" === (null === document || void 0 === document ? void 0 : document.dir.toLowerCase())) }) }, n15), Ct("div", this.svgContent ? { class: "icon-inner", innerHTML: this.svgContent } : { class: "icon-inner" }));
    var a17;
  }
  static get assetsDirs() {
    return ["svg"];
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { name: [{ loadIcon: 0 }], src: [{ loadIcon: 0 }], icon: [{ loadIcon: 0 }], ios: [{ loadIcon: 0 }], md: [{ loadIcon: 0 }] };
  }
  static get style() {
    return ":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}@supports (background: -webkit-named-image(i)){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}@supports not selector(:dir(rtl)) and selector(:host-context([dir='rtl'])){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}:host(.flip-rtl):host-context([dir='rtl']) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}@supports selector(:dir(rtl)){:host(.flip-rtl:dir(rtl)) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.flip-rtl:dir(ltr)) .icon-inner{-webkit-transform:scaleX(1);transform:scaleX(1)}}:host(.icon-small){font-size:1.125rem !important}:host(.icon-large){font-size:2rem !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}";
  }
}, [1, "ion-icon", { mode: [1025], color: [1], ios: [1], md: [1], flipRtl: [4, "flip-rtl"], name: [513], src: [1], icon: [8], size: [1], lazy: [4], sanitize: [4], svgContent: [32], isVisible: [32] }, void 0, { name: [{ loadIcon: 0 }], src: [{ loadIcon: 0 }], icon: [{ loadIcon: 0 }], ios: [{ loadIcon: 0 }], md: [{ loadIcon: 0 }] }]);
var b5 = () => "undefined" != typeof document && document.documentElement.getAttribute("mode") || "md";
var v6 = (o14) => o14 ? { "ion-color": true, [`ion-color-${o14}`]: true } : null;
function y6() {
  "undefined" != typeof customElements && ["ion-icon"].forEach(((o14) => {
    "ion-icon" === o14 && (customElements.get(Zn(o14)) || customElements.define(Zn(o14), w5));
  }));
}

// node_modules/@ionic/core/components/p-fpbh6w3f.js
var m7 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.__attachShadow(), this.type = "bounded";
  }
  addRipple(t17, n15) {
    return __async(this, null, function* () {
      return new Promise(((e16) => {
        W((() => {
          const i16 = this.el.getBoundingClientRect(), o14 = i16.width, r32 = i16.height, s23 = Math.sqrt(o14 * o14 + r32 * r32), m28 = Math.max(r32, o14), p33 = this.unbounded ? m28 : s23 + f8, u21 = Math.floor(m28 * l9), d25 = p33 / u21;
          let b21 = t17 - i16.left, k12 = n15 - i16.top;
          this.unbounded && (b21 = 0.5 * o14, k12 = 0.5 * r32);
          const w12 = b21 - 0.5 * u21, y14 = k12 - 0.5 * u21, h21 = 0.5 * o14 - b21, g20 = 0.5 * r32 - k12;
          P((() => {
            const t18 = document.createElement("div");
            t18.classList.add("ripple-effect");
            const n16 = t18.style;
            n16.top = y14 + "px", n16.left = w12 + "px", n16.width = n16.height = u21 + "px", n16.setProperty("--final-scale", `${d25}`), n16.setProperty("--translate-end", `${h21}px, ${g20}px`), (this.el.shadowRoot || this.el).appendChild(t18), setTimeout((() => {
              e16((() => {
                c10(t18);
              }));
            }), 325);
          }));
        }));
      }));
    });
  }
  get unbounded() {
    return "unbounded" === this.type;
  }
  render() {
    const t17 = g(this);
    return Ct(It, { key: "3b59cbb44741569a7350f9638b4392add673b6f1", role: "presentation", class: { [t17]: true, unbounded: this.unbounded } });
  }
  get el() {
    return this;
  }
  static get style() {
    return ":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:strict;pointer-events:none}:host(.unbounded){contain:layout size style}.ripple-effect{border-radius:50%;position:absolute;background-color:currentColor;color:inherit;contain:strict;opacity:0;-webkit-animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;animation:225ms rippleAnimation forwards, 75ms fadeInAnimation forwards;will-change:transform, opacity;pointer-events:none}.fade-out{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1));-webkit-animation:150ms fadeOutAnimation forwards;animation:150ms fadeOutAnimation forwards}@-webkit-keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@keyframes rippleAnimation{from{-webkit-animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scale(1);transform:scale(1)}to{-webkit-transform:translate(var(--translate-end)) scale(var(--final-scale, 1));transform:translate(var(--translate-end)) scale(var(--final-scale, 1))}}@-webkit-keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@keyframes fadeInAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0}to{opacity:0.16}}@-webkit-keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}@keyframes fadeOutAnimation{from{-webkit-animation-timing-function:linear;animation-timing-function:linear;opacity:0.16}to{opacity:0}}";
  }
}, [1, "ion-ripple-effect", { type: [1], addRipple: [64] }]);
var c10 = (t17) => {
  t17.classList.add("fade-out"), setTimeout((() => {
    t17.remove();
  }), 200);
};
var f8 = 10;
var l9 = 0.5;
function p7() {
  "undefined" != typeof customElements && ["ion-ripple-effect"].forEach(((t17) => {
    "ion-ripple-effect" === t17 && (customElements.get(Zn(t17)) || customElements.define(Zn(t17), m7));
  }));
}

// node_modules/@ionic/core/components/ion-back-button.js
var m8 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.__attachShadow(), this.inheritedAttributes = {}, this.disabled = false, this.type = "button", this.onClick = (t18) => __async(this, null, function* () {
      const n15 = this.el.closest("ion-nav");
      return t18.preventDefault(), n15 && (yield n15.canGoBack()) ? n15.pop({ animationBuilder: this.routerAnimation, skipIfBusy: true }) : l6(this.defaultHref, t18, "back", this.routerAnimation);
    });
  }
  componentWillLoad() {
    this.inheritedAttributes = s2(this.el), void 0 === this.defaultHref && (this.defaultHref = n.get("backButtonDefaultHref"));
  }
  get backButtonIcon() {
    const t17 = this.icon;
    return null != t17 ? t17 : "ios" === g(this) ? n.get("backButtonIcon", l7) : n.get("backButtonIcon", s9);
  }
  get backButtonText() {
    const t17 = "ios" === g(this) ? "Back" : null;
    return null != this.text ? this.text : n.get("backButtonText", t17);
  }
  get hasIconOnly() {
    return this.backButtonIcon && !this.backButtonText;
  }
  get rippleType() {
    return this.hasIconOnly ? "unbounded" : "bounded";
  }
  render() {
    const { color: t17, defaultHref: n15, disabled: o14, type: a17, hasIconOnly: r32, backButtonIcon: d25, backButtonText: l27, icon: p33, inheritedAttributes: b21 } = this, h21 = void 0 !== n15, m28 = g(this), u21 = b21["aria-label"] || l27 || "back";
    return Ct(It, { key: "5466624a10f1ab56f5469e6dc07080303880f2fe", onClick: this.onClick, class: o6(t17, { [m28]: true, button: true, "back-button-disabled": o14, "back-button-has-icon-only": r32, "in-toolbar": n5("ion-toolbar", this.el), "in-toolbar-color": n5("ion-toolbar[color]", this.el), "ion-activatable": true, "ion-focusable": true, "show-back-button": h21 }) }, Ct("button", { key: "63bc75ef0ad7cc9fb79e58217a3314b20acd73e3", type: a17, disabled: o14, class: "button-native", part: "native", "aria-label": u21 }, Ct("span", { key: "5d3eacbd11af2245c6e1151cab446a0d96559ad8", class: "button-inner" }, d25 && Ct("ion-icon", { key: "6439af0ae463764174e7d3207f02267811df666d", part: "icon", icon: d25, "aria-hidden": "true", lazy: false, "flip-rtl": void 0 === p33 }), l27 && Ct("span", { key: "8ee89fb18dfdb5b75948a8b197ff4cdbc008742f", part: "text", "aria-hidden": "true", class: "button-text" }, l27)), "md" === m28 && Ct("ion-ripple-effect", { key: "63803a884998bc73bea5afe0b2a0a14e3fa4d6bf", type: this.rippleType })));
  }
  get el() {
    return this;
  }
  static get style() {
    return { ios: ':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-hover:transparent;--background-hover-opacity:1;--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #0054e9);--icon-margin-end:1px;--icon-margin-start:-4px;--icon-font-size:1.6em;--min-height:32px;font-size:clamp(17px, 1.0625rem, 21.998px)}.button-native{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:visible;z-index:99}:host(.ion-activated) .button-native{opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}', md: ':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--border-radius:4px;--background-focused:currentColor;--background-focused-opacity:.12;--background-hover:currentColor;--background-hover-opacity:0.04;--color:currentColor;--icon-margin-end:0;--icon-margin-start:0;--icon-font-size:1.5rem;--icon-font-weight:normal;--min-height:32px;--min-width:44px;--padding-start:12px;--padding-end:12px;font-size:0.875rem;font-weight:500;text-transform:uppercase}:host(.back-button-has-icon-only){--border-radius:50%;min-width:48px;min-height:48px;aspect-ratio:1/1}.button-native{-webkit-box-shadow:none;box-shadow:none}.button-text{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:0;padding-bottom:0}ion-icon{line-height:0.67;text-align:start}@media (any-hover: hover){:host(.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}' };
  }
}, [33, "ion-back-button", { color: [513], defaultHref: [1025, "default-href"], disabled: [516], icon: [1], text: [1], type: [1], routerAnimation: [16] }]);
var v7 = function() {
  "undefined" != typeof customElements && ["ion-back-button", "ion-icon", "ion-ripple-effect"].forEach(((t17) => {
    switch (t17) {
      case "ion-back-button":
        customElements.get(Zn(t17)) || customElements.define(Zn(t17), m8);
        break;
      case "ion-icon":
        customElements.get(Zn(t17)) || y6();
        break;
      case "ion-ripple-effect":
        customElements.get(Zn(t17)) || p7();
    }
  }));
};

// node_modules/@ionic/core/components/p-B-hirT0v.js
var t11 = () => {
  let t17;
  return { lock: () => __async(null, null, function* () {
    const e16 = t17;
    let n15;
    return t17 = new Promise(((t18) => n15 = t18)), void 0 !== e16 && (yield e16), n15;
  }) };
};

// node_modules/@ionic/core/components/ion-router-outlet.js
var b6 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.__attachShadow(), this.ionNavWillLoad = Jt(this, "ionNavWillLoad", 7), this.ionNavWillChange = Jt(this, "ionNavWillChange", 3), this.ionNavDidChange = Jt(this, "ionNavDidChange", 3), this.lockController = t11(), this.gestureOrAnimationInProgress = false, this.mode = g(this), this.animated = true;
  }
  swipeHandlerChanged() {
    this.gesture && this.gesture.enable(void 0 !== this.swipeHandler);
  }
  connectedCallback() {
    return __async(this, null, function* () {
      const t17 = () => {
        this.gestureOrAnimationInProgress = true, this.swipeHandler && this.swipeHandler.onStart();
      };
      this.gesture = (yield import("./chunk-D67GYD3B.js")).createSwipeBackGesture(this.el, (() => !this.gestureOrAnimationInProgress && !!this.swipeHandler && this.swipeHandler.canStart()), (() => t17()), ((t18) => {
        var i16;
        return null === (i16 = this.ani) || void 0 === i16 ? void 0 : i16.progressStep(t18);
      }), ((t18, i16, s23) => {
        if (this.ani) {
          this.ani.onFinish((() => {
            this.gestureOrAnimationInProgress = false, this.swipeHandler && this.swipeHandler.onEnd(t18);
          }), { oneTimeCallback: true });
          let e16 = t18 ? -1e-3 : 1e-3;
          t18 ? e16 += t7([0, 0], [0.32, 0.72], [0, 1], [1, 1], i16)[0] : (this.ani.easing("cubic-bezier(1, 0, 0.68, 0.28)"), e16 += t7([0, 0], [1, 0], [0.68, 0.28], [1, 1], i16)[0]), this.ani.progressEnd(t18 ? 1 : 0, e16, s23);
        } else this.gestureOrAnimationInProgress = false;
      })), this.swipeHandlerChanged();
    });
  }
  componentWillLoad() {
    this.ionNavWillLoad.emit();
  }
  disconnectedCallback() {
    this.gesture && (this.gesture.destroy(), this.gesture = void 0);
  }
  commit(t17, i16, s23) {
    return __async(this, null, function* () {
      const a17 = yield this.lockController.lock();
      let o14 = false;
      try {
        o14 = yield this.transition(t17, i16, s23);
      } catch (t18) {
        f("[ion-router-outlet] - Exception in commit:", t18);
      }
      return a17(), o14;
    });
  }
  setRouteId(t17, i16, s23, e16) {
    return __async(this, null, function* () {
      return { changed: yield this.setRoot(t17, i16, { duration: "root" === s23 ? 0 : void 0, direction: "back" === s23 ? "back" : "forward", animationBuilder: e16 }), element: this.activeEl };
    });
  }
  getRouteId() {
    return __async(this, null, function* () {
      const t17 = this.activeEl;
      return t17 ? { id: t17.tagName, element: t17, params: this.activeParams } : void 0;
    });
  }
  setRoot(t17, i16, s23) {
    return __async(this, null, function* () {
      if (this.activeComponent === t17 && _(i16, this.activeParams)) return false;
      const e16 = this.activeEl, a17 = yield o8(this.delegate, this.el, t17, ["ion-page", "ion-page-invisible"], i16);
      return this.activeComponent = t17, this.activeEl = a17, this.activeParams = i16, yield this.commit(a17, e16, s23), yield t9(this.delegate, e16), true;
    });
  }
  transition(_0, _1) {
    return __async(this, arguments, function* (t17, i16, s23 = {}) {
      if (i16 === t17) return false;
      this.ionNavWillChange.emit();
      const { el: e16, mode: o14 } = this, n15 = this.animated && n.getBoolean("animated", true), h21 = s23.animationBuilder || this.animation || n.get("navAnimation");
      return yield v2(Object.assign(Object.assign({ mode: o14, animated: n15, enteringEl: t17, leavingEl: i16, baseEl: e16, deepWait: t(e16), progressCallback: s23.progressAnimation ? (t18) => {
        void 0 === t18 || this.gestureOrAnimationInProgress ? this.ani = t18 : (this.gestureOrAnimationInProgress = true, t18.onFinish((() => {
          this.gestureOrAnimationInProgress = false, this.swipeHandler && this.swipeHandler.onEnd(false);
        }), { oneTimeCallback: true }), t18.progressEnd(0, 0, 0));
      } : void 0 }, s23), { animationBuilder: h21 })), this.ionNavDidChange.emit(), true;
    });
  }
  render() {
    return Ct("slot", { key: "386c41745b61daba161cf75063da97fe29ba36cb" });
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { swipeHandler: [{ swipeHandlerChanged: 0 }] };
  }
  static get style() {
    return ":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}";
  }
}, [257, "ion-router-outlet", { mode: [1025], delegate: [16], animated: [4], animation: [16], swipeHandler: [16], commit: [64], setRouteId: [64], getRouteId: [64] }, void 0, { swipeHandler: [{ swipeHandlerChanged: 0 }] }]);
var f9 = function() {
  "undefined" != typeof customElements && ["ion-router-outlet"].forEach(((t17) => {
    "ion-router-outlet" === t17 && (customElements.get(Zn(t17)) || customElements.define(Zn(t17), b6));
  }));
};

// node_modules/@ionic/core/components/p-CoA-aqGF.js
var e9 = Dn(class extends I {
  constructor(o14) {
    super(), false !== o14 && this.__registerHost(), this.__attachShadow(), this.ionBackdropTap = Jt(this, "ionBackdropTap", 7), this.visible = true, this.tappable = true, this.stopPropagation = true;
  }
  onMouseDown(o14) {
    this.emitTap(o14);
  }
  emitTap(o14) {
    this.stopPropagation && (o14.preventDefault(), o14.stopPropagation()), this.tappable && this.ionBackdropTap.emit();
  }
  render() {
    const o14 = g(this);
    return Ct(It, { key: "7abaf2c310aa399607451b14063265e8a5846938", "aria-hidden": "true", class: { [o14]: true, "backdrop-hide": !this.visible, "backdrop-no-tappable": !this.tappable } });
  }
  static get style() {
    return { ios: ":host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none;z-index:2}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:var(--ion-backdrop-color, #000)}", md: ":host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none;z-index:2}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:var(--ion-backdrop-color, #000)}" };
  }
}, [33, "ion-backdrop", { visible: [4], tappable: [4], stopPropagation: [4, "stop-propagation"] }, [[2, "click", "onMouseDown"]]]);
function c11() {
  "undefined" != typeof customElements && ["ion-backdrop"].forEach(((o14) => {
    "ion-backdrop" === o14 && (customElements.get(Zn(o14)) || customElements.define(Zn(o14), e9));
  }));
}

// node_modules/@ionic/core/components/p-BVnB3eEn.js
var Z3;
!(function(t17) {
  t17.Dark = "DARK", t17.Light = "LIGHT", t17.Default = "DEFAULT";
})(Z3 || (Z3 = {}));
var G3 = { getEngine() {
  const t17 = r3();
  if (null == t17 ? void 0 : t17.isPluginAvailable("StatusBar")) return t17.Plugins.StatusBar;
}, setStyle(t17) {
  const i16 = this.getEngine();
  i16 && i16.setStyle(t17);
}, getStyle: function() {
  return __async(this, null, function* () {
    const t17 = this.getEngine();
    if (!t17) return Z3.Default;
    const { style: i16 } = yield t17.getInfo();
    return i16;
  });
} };
var K3 = (t17, i16) => {
  if (1 === i16) return 0;
  const o14 = 1 / (1 - i16);
  return t17 * o14 + -i16 * o14;
};
var U2 = () => {
  !d || d.innerWidth >= 768 || G3.setStyle({ style: Z3.Dark });
};
var q4 = (t17 = Z3.Default) => {
  !d || d.innerWidth >= 768 || G3.setStyle({ style: t17 });
};
var J2 = (t17, i16) => __async(null, null, function* () {
  "function" == typeof t17.canDismiss && (yield t17.canDismiss(void 0, K2)) && (i16.isRunning() ? i16.onFinish((() => {
    t17.dismiss(void 0, "handler");
  }), { oneTimeCallback: true }) : t17.dismiss(void 0, "handler"));
});
var X3 = (t17) => 255275e-8 * 2.71828 ** (-14.9619 * t17) - 1.00255 * 2.71828 ** (-0.0380968 * t17) + 1;
var _3 = 0.915;
var Q3 = (t17, i16) => b(400, t17 / Math.abs(1.1 * i16), 500);
var tt = (t17, i16) => {
  const o14 = window.innerHeight, e16 = t17.getBoundingClientRect().top, a17 = Math.round(1e3 * (1 - i16 / (o14 - e16))) / 1e3;
  return Math.max(0, Math.min(1, a17));
};
var it = (t17) => {
  const { currentBreakpoint: i16, backdropBreakpoint: o14, expandToScroll: e16 } = t17, a17 = void 0 === o14 || o14 < i16, r32 = a17 ? `calc(var(--backdrop-opacity) * ${i16})` : "0", s23 = r("backdropAnimation").fromTo("opacity", 0, r32);
  return a17 && s23.beforeStyles({ "pointer-events": "none" }).afterClearStyles(["pointer-events"]), { wrapperAnimation: r("wrapperAnimation").keyframes([{ offset: 0, opacity: 1, transform: "translateY(100%)" }, { offset: 1, opacity: 1, transform: `translateY(${100 - 100 * i16}%)` }]), backdropAnimation: s23, contentAnimation: e16 ? void 0 : r("contentAnimation").keyframes([{ offset: 0, opacity: 1, maxHeight: 100 * (1 - i16) + "%" }, { offset: 1, opacity: 1, maxHeight: 100 * i16 + "%" }]) };
};
var ot = (t17) => {
  const { currentBreakpoint: i16, backdropBreakpoint: o14 } = t17, e16 = `calc(var(--backdrop-opacity) * ${K3(i16, o14)})`, a17 = [{ offset: 0, opacity: e16 }, { offset: 1, opacity: 0 }], r32 = [{ offset: 0, opacity: e16 }, { offset: o14, opacity: 0 }, { offset: 1, opacity: 0 }], s23 = r("backdropAnimation").keyframes(0 !== o14 ? r32 : a17);
  return { wrapperAnimation: r("wrapperAnimation").keyframes([{ offset: 0, opacity: 1, transform: `translateY(${100 - 100 * i16}%)` }, { offset: 1, opacity: 1, transform: "translateY(100%)" }]), backdropAnimation: s23 };
};
var et = (t17, i16) => {
  const { presentingEl: o14, currentBreakpoint: e16, expandToScroll: a17 } = i16, r32 = c(t17), { wrapperAnimation: s23, backdropAnimation: n15, contentAnimation: d25 } = void 0 !== e16 ? it(i16) : { backdropAnimation: r().fromTo("opacity", 0.01, "var(--backdrop-opacity)").beforeStyles({ "pointer-events": "none" }).afterClearStyles(["pointer-events"]), wrapperAnimation: r().fromTo("transform", "translateY(100vh)", "translateY(0vh)"), contentAnimation: void 0 };
  n15.addElement(r32.querySelector("ion-backdrop")), s23.addElement(r32.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({ opacity: 1 }), !a17 && (null == d25 || d25.addElement(t17.querySelector(".ion-page")));
  const h21 = r("entering-base").addElement(t17).easing("cubic-bezier(0.32,0.72,0,1)").duration(500).addAnimation([s23]);
  if (d25 && h21.addAnimation(d25), o14) {
    const t18 = window.innerWidth < 768, i17 = "ION-MODAL" === o14.tagName && void 0 !== o14.presentingElement, e17 = c(o14), a18 = r().beforeStyles({ transform: "translateY(0)", "transform-origin": "top center", overflow: "hidden" }), r33 = document.body;
    if (t18) {
      const t19 = CSS.supports("width", "max(0px, 1px)") ? "max(30px, var(--ion-safe-area-top))" : "30px", e18 = `translateY(${i17 ? "-10px" : t19}) scale(0.915)`;
      a18.afterStyles({ transform: e18 }).beforeAddWrite((() => r33.style.setProperty("background-color", "black"))).addElement(o14).keyframes([{ offset: 0, filter: "contrast(1)", transform: "translateY(0px) scale(1)", borderRadius: "0px" }, { offset: 1, filter: "contrast(0.85)", transform: e18, borderRadius: "10px 10px 0 0" }]), h21.addAnimation(a18);
    } else if (h21.addAnimation(n15), i17) {
      const t19 = `translateY(-10px) scale(${i17 ? _3 : 1})`;
      a18.afterStyles({ transform: t19 }).addElement(e17.querySelector(".modal-wrapper")).keyframes([{ offset: 0, filter: "contrast(1)", transform: "translateY(0) scale(1)" }, { offset: 1, filter: "contrast(0.85)", transform: t19 }]);
      const o15 = r().afterStyles({ transform: t19 }).addElement(e17.querySelector(".modal-shadow")).keyframes([{ offset: 0, opacity: "1", transform: "translateY(0) scale(1)" }, { offset: 1, opacity: "0", transform: t19 }]);
      h21.addAnimation([a18, o15]);
    } else s23.fromTo("opacity", "0", "1");
  } else h21.addAnimation(n15);
  return h21;
};
var at = (t17, i16, o14 = 500) => {
  const { presentingEl: e16, currentBreakpoint: a17 } = i16, r32 = c(t17), { wrapperAnimation: s23, backdropAnimation: n15 } = void 0 !== a17 ? ot(i16) : { backdropAnimation: r().fromTo("opacity", "var(--backdrop-opacity)", 0), wrapperAnimation: r().fromTo("transform", "translateY(0vh)", "translateY(100vh)") };
  n15.addElement(r32.querySelector("ion-backdrop")), s23.addElement(r32.querySelectorAll(".modal-wrapper, .modal-shadow")).beforeStyles({ opacity: 1 });
  const d25 = r("leaving-base").addElement(t17).easing("cubic-bezier(0.32,0.72,0,1)").duration(o14).addAnimation(s23);
  if (e16) {
    const t18 = window.innerWidth < 768, i17 = "ION-MODAL" === e16.tagName && void 0 !== e16.presentingElement, o15 = c(e16), a18 = r().beforeClearStyles(["transform"]).afterClearStyles(["transform"]).onFinish(((t19) => {
      1 === t19 && (e16.style.setProperty("overflow", ""), Array.from(r33.querySelectorAll("ion-modal:not(.overlay-hidden)")).filter(((t20) => void 0 !== t20.presentingElement)).length <= 1 && r33.style.setProperty("background-color", ""));
    })), r33 = document.body;
    if (t18) {
      const t19 = CSS.supports("width", "max(0px, 1px)") ? "max(30px, var(--ion-safe-area-top))" : "30px", o16 = `translateY(${i17 ? "-10px" : t19}) scale(0.915)`;
      a18.addElement(e16).keyframes([{ offset: 0, filter: "contrast(0.85)", transform: o16, borderRadius: "10px 10px 0 0" }, { offset: 1, filter: "contrast(1)", transform: "translateY(0px) scale(1)", borderRadius: "0px" }]), d25.addAnimation(a18);
    } else if (d25.addAnimation(n15), i17) {
      const t19 = `translateY(-10px) scale(${i17 ? _3 : 1})`;
      a18.addElement(o15.querySelector(".modal-wrapper")).afterStyles({ transform: "translate3d(0, 0, 0)" }).keyframes([{ offset: 0, filter: "contrast(0.85)", transform: t19 }, { offset: 1, filter: "contrast(1)", transform: "translateY(0) scale(1)" }]);
      const e17 = r().addElement(o15.querySelector(".modal-shadow")).afterStyles({ transform: "translateY(0) scale(1)" }).keyframes([{ offset: 0, opacity: "0", transform: t19 }, { offset: 1, opacity: "1", transform: "translateY(0) scale(1)" }]);
      d25.addAnimation([a18, e17]);
    } else s23.fromTo("opacity", "1", "0");
  } else d25.addAnimation(n15);
  return d25;
};
var rt = (t17, i16) => {
  const { currentBreakpoint: o14, expandToScroll: e16 } = i16, a17 = c(t17), { wrapperAnimation: r32, backdropAnimation: s23, contentAnimation: n15 } = void 0 !== o14 ? it(i16) : { backdropAnimation: r().fromTo("opacity", 0.01, "var(--backdrop-opacity)").beforeStyles({ "pointer-events": "none" }).afterClearStyles(["pointer-events"]), wrapperAnimation: r().keyframes([{ offset: 0, opacity: 0.01, transform: "translateY(40px)" }, { offset: 1, opacity: 1, transform: "translateY(0px)" }]), contentAnimation: void 0 };
  s23.addElement(a17.querySelector("ion-backdrop")), r32.addElement(a17.querySelector(".modal-wrapper")), !e16 && (null == n15 || n15.addElement(t17.querySelector(".ion-page")));
  const d25 = r().addElement(t17).easing("cubic-bezier(0.36,0.66,0.04,1)").duration(280).addAnimation([s23, r32]);
  return n15 && d25.addAnimation(n15), d25;
};
var st = (t17, i16) => {
  const { currentBreakpoint: o14 } = i16, e16 = c(t17), { wrapperAnimation: a17, backdropAnimation: r32 } = void 0 !== o14 ? ot(i16) : { backdropAnimation: r().fromTo("opacity", "var(--backdrop-opacity)", 0), wrapperAnimation: r().keyframes([{ offset: 0, opacity: 0.99, transform: "translateY(0px)" }, { offset: 1, opacity: 0, transform: "translateY(40px)" }]) };
  return r32.addElement(e16.querySelector("ion-backdrop")), a17.addElement(e16.querySelector(".modal-wrapper")), r().easing("cubic-bezier(0.47,0,0.745,0.715)").duration(200).addAnimation([r32, a17]);
};
var nt = null;
var dt = false;
var ht = (t17, i16) => {
  t17.style.setProperty("--ion-safe-area-top", i16.top), t17.style.setProperty("--ion-safe-area-bottom", i16.bottom), t17.style.setProperty("--ion-safe-area-left", i16.left), t17.style.setProperty("--ion-safe-area-right", i16.right);
};
var lt = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.__attachShadow(), this.didPresent = Jt(this, "ionModalDidPresent", 7), this.willPresent = Jt(this, "ionModalWillPresent", 7), this.willDismiss = Jt(this, "ionModalWillDismiss", 7), this.didDismiss = Jt(this, "ionModalDidDismiss", 7), this.ionBreakpointDidChange = Jt(this, "ionBreakpointDidChange", 7), this.didPresentShorthand = Jt(this, "didPresent", 7), this.willPresentShorthand = Jt(this, "willPresent", 7), this.willDismissShorthand = Jt(this, "willDismiss", 7), this.didDismissShorthand = Jt(this, "didDismiss", 7), this.ionMount = Jt(this, "ionMount", 7), this.ionDragStart = Jt(this, "ionDragStart", 7), this.ionDragMove = Jt(this, "ionDragMove", 7), this.ionDragEnd = Jt(this, "ionDragEnd", 7), this.lockController = t11(), this.triggerController = Y2(), this.coreDelegate = i8(), this.isSheetModal = false, this.inheritedAttributes = {}, this.inline = false, this.gestureAnimationDismissing = false, this.presented = false, this.hasController = false, this.keyboardClose = true, this.expandToScroll = true, this.backdropBreakpoint = 0, this.handleBehavior = "none", this.backdropDismiss = true, this.showBackdrop = true, this.animated = true, this.isOpen = false, this.keepContentsMounted = false, this.focusTrap = true, this.canDismiss = true, this.onHandleClick = () => {
      const { sheetTransition: t18, handleBehavior: i16 } = this;
      "cycle" === i16 && void 0 === t18 && this.moveToNextBreakpoint();
    }, this.onBackdropTap = () => {
      const { sheetTransition: t18 } = this;
      void 0 === t18 && this.dismiss(void 0, H3);
    }, this.onLifecycle = (t18) => {
      const i16 = this.usersElement, o14 = pt[t18.type];
      if (i16 && o14) {
        const e16 = new CustomEvent(o14, { bubbles: false, cancelable: false, detail: t18.detail });
        i16.dispatchEvent(e16);
      }
    }, this.onModalFocus = (t18) => {
      const { dragHandleEl: i16, el: o14 } = this;
      t18.target === o14 && i16 && -1 !== i16.tabIndex && i16.focus();
    }, this.onSlotChange = ({ target: t18 }) => {
      t18.assignedElements().forEach(((t19) => {
        t19.querySelectorAll("ion-modal").forEach(((t20) => {
          null === t20.getAttribute("data-parent-ion-modal") && t20.setAttribute("data-parent-ion-modal", this.el.id);
        }));
      }));
    };
  }
  onIsOpenChange(t17, i16) {
    true === t17 && false === i16 ? this.present() : false === t17 && true === i16 && this.dismiss();
  }
  triggerChanged() {
    const { trigger: t17, el: i16, triggerController: o14 } = this;
    t17 && o14.addClickListener(i16, t17);
  }
  onWindowResize() {
    this.presented && (clearTimeout(this.resizeTimeout), this.resizeTimeout = setTimeout((() => {
      const t17 = this.getSafeAreaContext();
      !t17.isCardModal || this.enterAnimation || this.leaveAnimation || this.handleViewTransition(), t17.isSheetModal && this.updateSheetOffsetTop(), t17.isSheetModal || t17.isCardModal || (this.updateSafeAreaOverrides(), this.wrapperEl && (this.wrapperEl.style.removeProperty("height"), this.wrapperEl.style.removeProperty("padding-bottom")), this.applyFullscreenSafeArea());
    }), 50));
  }
  breakpointsChanged(t17) {
    void 0 !== t17 && (this.sortedBreakpoints = t17.sort(((t18, i16) => t18 - i16)));
  }
  connectedCallback() {
    const { el: t17 } = this;
    I3(t17), this.triggerChanged();
  }
  disconnectedCallback() {
    this.triggerController.removeClickListener(), this.cleanupViewTransitionListener(), this.cleanupParentRemovalObserver(), this.cleanupSafeAreaOverrides();
  }
  componentWillLoad() {
    var t17;
    const { breakpoints: i16, initialBreakpoint: o14, el: a17, htmlAttributes: r32 } = this, s23 = this.isSheetModal = void 0 !== i16 && void 0 !== o14, n15 = ["aria-label", "role"];
    this.inheritedAttributes = n2(a17, n15), a17.parentNode && (this.cachedOriginalParent = a17.parentNode), void 0 !== r32 && n15.forEach(((t18) => {
      r32[t18] && (this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [t18]: r32[t18] }), delete r32[t18]);
    })), s23 && (this.currentBreakpoint = this.initialBreakpoint), void 0 === i16 || void 0 === o14 || i16.includes(o14) || u("[ion-modal] - Your breakpoints array must include the initialBreakpoint value."), (null === (t17 = this.htmlAttributes) || void 0 === t17 ? void 0 : t17.id) || N(this.el);
  }
  componentDidLoad() {
    true === this.isOpen && d2((() => this.present())), this.breakpointsChanged(this.breakpoints), this.triggerChanged();
  }
  getDelegate(t17 = false) {
    if (this.workingDelegate && !t17) return { delegate: this.workingDelegate, inline: this.inline };
    const i16 = this.inline = null !== this.el.parentNode && !this.hasController;
    return { inline: i16, delegate: this.workingDelegate = i16 ? this.delegate || this.coreDelegate : this.delegate };
  }
  checkCanDismiss(t17, i16) {
    return __async(this, null, function* () {
      const { canDismiss: o14 } = this;
      return "function" == typeof o14 ? o14(t17, i16) : o14;
    });
  }
  present() {
    return __async(this, null, function* () {
      const t17 = yield this.lockController.lock();
      if (this.presented) return void t17();
      const { presentingElement: i16, el: o14 } = this;
      this.currentBreakpoint = this.initialBreakpoint;
      const { inline: e16, delegate: r32 } = this.getDelegate(true);
      this.ionMount.emit(), this.usersElement = yield o8(r32, o14, this.component, ["ion-page"], this.componentProps, e16), t(o14) ? yield B(this.usersElement) : this.keepContentsMounted || (yield L()), P((() => this.el.classList.add("show-modal"))), this.isSheetModal = void 0 !== this.breakpoints && void 0 !== this.initialBreakpoint, this.setInitialSafeAreaOverrides();
      const s23 = void 0 !== i16;
      s23 && "ios" === g(this) && (this.statusBarStyle = yield G3.getStyle(), U2()), yield $(this, "modalEnter", et, rt, { presentingEl: i16, currentBreakpoint: this.initialBreakpoint, backdropBreakpoint: this.backdropBreakpoint, expandToScroll: this.expandToScroll }), this.updateSafeAreaOverrides(), this.applyFullscreenSafeArea(), "undefined" != typeof window && (this.keyboardOpenCallback = () => {
        this.gesture && (this.gesture.enable(false), d2((() => {
          this.gesture && this.gesture.enable(true);
        })));
      }, window.addEventListener(t5, this.keyboardOpenCallback)), this.isSheetModal ? this.initSheetGesture() : s23 && this.initSwipeToClose(), this.initViewTransitionListener(), this.initParentRemovalObserver(), t17();
    });
  }
  initSwipeToClose() {
    var t17;
    if ("ios" !== g(this)) return;
    const { el: i16 } = this, o14 = this.leaveAnimation || n.get("modalLeave", at), e16 = this.animation = o14(i16, { presentingEl: this.presentingElement, expandToScroll: this.expandToScroll });
    if (!n3(i16)) return void p2(i16);
    const a17 = null !== (t17 = this.statusBarStyle) && void 0 !== t17 ? t17 : Z3.Default;
    this.gesture = ((t18, i17, o15, e17, a18, r32, s23) => {
      const n15 = 0.5, d25 = t18.offsetHeight;
      let m28 = false, f27 = false, u21 = null, b21 = null, v18 = true, g20 = 0;
      const k12 = s4({ el: t18, gestureName: "modalSwipeToClose", gesturePriority: U, direction: "y", threshold: 10, canStart: (t19) => {
        const i18 = t19.event.target;
        if (null === i18 || !i18.closest) return true;
        if (u21 = f3(i18), u21) {
          if (e3(u21)) {
            const t20 = c(u21);
            b21 = t20.querySelector(".inner-scroll");
          } else b21 = u21;
          return !u21.querySelector("ion-refresher") && 0 === b21.scrollTop;
        }
        return null === i18.closest("ion-footer");
      }, onStart: (o16) => {
        const { deltaY: e18 } = o16;
        v18 = !u21 || !e3(u21) || u21.scrollY, f27 = void 0 !== t18.canDismiss && true !== t18.canDismiss, e18 > 0 && u21 && h2(u21), i17.progressStart(true, m28 ? 1 : 0), a18();
      }, onMove: (e18) => {
        const { deltaY: a19 } = e18;
        a19 > 0 && u21 && h2(u21);
        const s24 = e18.deltaY / d25, h21 = s24 >= 0 && f27, l27 = h21 ? 0.2 : 0.9999, c36 = h21 ? X3(s24 / l27) : s24, m29 = b(1e-4, c36, l27);
        i17.progressStep(m29), m29 >= n15 && g20 < n15 ? q4(o15) : m29 < n15 && g20 >= n15 && U2(), g20 = m29;
        const b22 = { currentY: e18.currentY, deltaY: e18.deltaY, velocityY: e18.velocityY, progress: tt(t18, e18.deltaY) };
        r32(b22);
      }, onEnd: (o16) => {
        const a19 = o16.velocityY, r33 = o16.deltaY / d25, h21 = r33 >= 0 && f27, l27 = h21 ? 0.2 : 0.9999, p33 = h21 ? X3(r33 / l27) : r33, b22 = b(1e-4, p33, l27), w12 = !h21 && (o16.deltaY + 1e3 * a19) / d25 >= n15;
        let g21 = w12 ? -1e-3 : 1e-3;
        w12 ? (i17.easing("cubic-bezier(0.32, 0.72, 0, 1)"), g21 += t7([0, 0], [0.32, 0.72], [0, 1], [1, 1], b22)[0]) : (i17.easing("cubic-bezier(1, 0, 0.68, 0.28)"), g21 += t7([0, 0], [1, 0], [0.68, 0.28], [1, 1], b22)[0]);
        const y14 = Q3(w12 ? r33 * d25 : (1 - b22) * d25, a19);
        m28 = w12, k12.enable(false), u21 && l3(u21, v18), i17.onFinish((() => {
          w12 || k12.enable(true);
        })).progressEnd(w12 ? 1 : 0, g21, y14), h21 && b22 > l27 / 4 ? J2(t18, i17) : w12 && e17();
        const A6 = { currentY: o16.currentY, deltaY: o16.deltaY, velocityY: o16.velocityY, progress: tt(t18, o16.deltaY) };
        s23(A6);
      } });
      return k12;
    })(i16, e16, a17, (() => this.cardOnDismiss()), (() => this.onDragStart()), ((t18) => this.onDragMove(t18)), ((t18) => this.onDragEnd(t18))), this.gesture.enable(true);
  }
  initSheetGesture() {
    const { wrapperEl: t17, initialBreakpoint: i16, backdropBreakpoint: o14 } = this;
    if (!t17 || void 0 === i16) return;
    const e16 = this.enterAnimation || n.get("modalEnter", et), a17 = this.animation = e16(this.el, { presentingEl: this.presentingElement, currentBreakpoint: i16, backdropBreakpoint: o14, expandToScroll: this.expandToScroll });
    a17.progressStart(true, 1);
    const { gesture: s23, moveSheetToBreakpoint: n15 } = ((t18, i17, o15, e17, a18, r32, s24 = [], n16, d25, p33, c36, m28, f27, u21) => {
      const b21 = { WRAPPER_KEYFRAMES: [{ offset: 0, transform: "translateY(0%)" }, { offset: 1, transform: "translateY(100%)" }], BACKDROP_KEYFRAMES: 0 !== a18 ? [{ offset: 0, opacity: "var(--backdrop-opacity)" }, { offset: 1 - a18, opacity: 0 }, { offset: 1, opacity: 0 }] : [{ offset: 0, opacity: "var(--backdrop-opacity)" }, { offset: 1, opacity: 0.01 }], CONTENT_KEYFRAMES: [{ offset: 0, maxHeight: "100%" }, { offset: 1, maxHeight: "0%" }] }, v18 = t18.querySelector("ion-content"), k12 = o15.clientHeight;
      let y14 = e17, A6 = 0, Y6 = false, D7 = null, O10 = null, E11 = null, S8 = null;
      const M8 = s24[s24.length - 1], T8 = s24[0], B12 = r32.childAnimations.find(((t19) => "wrapperAnimation" === t19.id)), P6 = r32.childAnimations.find(((t19) => "backdropAnimation" === t19.id)), I8 = r32.childAnimations.find(((t19) => "contentAnimation" === t19.id)), N4 = () => {
        false !== t18.focusTrap && false !== t18.showBackdrop && (t18.style.setProperty("pointer-events", "auto"), i17.style.setProperty("pointer-events", "auto"), t18.classList.remove(nn));
      }, R5 = () => {
        t18.style.setProperty("pointer-events", "none"), i17.style.setProperty("pointer-events", "none"), t18.classList.add(nn);
      }, j8 = (i18) => {
        if (!O10 && (O10 = Array.from(t18.querySelectorAll("ion-footer")), !O10.length)) return;
        const o16 = t18.querySelector(".ion-page");
        if (S8 = i18, "stationary" === i18) O10.forEach(((t19) => {
          t19.classList.remove("modal-footer-moving"), t19.style.removeProperty("position"), t19.style.removeProperty("width"), t19.style.removeProperty("height"), t19.style.removeProperty("top"), t19.style.removeProperty("left"), null == o16 || o16.style.removeProperty("padding-bottom"), null == o16 || o16.appendChild(t19);
        }));
        else {
          let i19 = 0;
          O10.forEach(((o17, e18) => {
            const a19 = o17.getBoundingClientRect(), r33 = document.body.getBoundingClientRect();
            i19 += o17.clientHeight;
            const s25 = a19.top - r33.top, n17 = a19.left - r33.left;
            if (o17.style.setProperty("--pinned-width", `${o17.clientWidth}px`), o17.style.setProperty("--pinned-height", `${o17.clientHeight}px`), o17.style.setProperty("--pinned-top", `${s25}px`), o17.style.setProperty("--pinned-left", `${n17}px`), 0 === e18) {
              E11 = s25;
              const i20 = t18.querySelector("ion-header");
              i20 && (E11 -= i20.clientHeight);
            }
          })), O10.forEach(((t19) => {
            null == o16 || o16.style.setProperty("padding-bottom", `${i19}px`), t19.classList.add("modal-footer-moving"), t19.style.setProperty("position", "absolute"), t19.style.setProperty("width", "var(--pinned-width)"), t19.style.setProperty("height", "var(--pinned-height)"), t19.style.setProperty("top", "var(--pinned-top)"), t19.style.setProperty("left", "var(--pinned-left)"), document.body.appendChild(t19);
          }));
        }
      };
      B12 && P6 && (B12.keyframes([...b21.WRAPPER_KEYFRAMES]), P6.keyframes([...b21.BACKDROP_KEYFRAMES]), null == I8 || I8.keyframes([...b21.CONTENT_KEYFRAMES]), r32.progressStart(true, 1 - y14), y14 > a18 && false !== t18.focusTrap && false !== t18.showBackdrop ? N4() : R5()), v18 && y14 !== M8 && n16 && (v18.scrollY = false);
      const $4 = (i18) => {
        const { breakpoint: o16, canDismiss: e18, breakpointOffset: d26, animated: h21 } = i18, l27 = e18 && 0 === o16, m29 = l27 ? y14 : o16, f28 = 0 !== m29;
        return y14 = 0, B12 && P6 && (B12.keyframes([{ offset: 0, transform: `translateY(${100 * d26}%)` }, { offset: 1, transform: `translateY(${100 * (1 - m29)}%)` }]), P6.keyframes([{ offset: 0, opacity: `calc(var(--backdrop-opacity) * ${K3(1 - d26, a18)})` }, { offset: 1, opacity: `calc(var(--backdrop-opacity) * ${K3(m29, a18)})` }]), I8 && I8.keyframes([{ offset: 0, maxHeight: 100 * (1 - d26) + "%" }, { offset: 1, maxHeight: 100 * m29 + "%" }]), r32.progressStep(0)), H9.enable(false), l27 ? J2(t18, r32) : f28 || p33(), !v18 || m29 !== s24[s24.length - 1] && n16 || (v18.scrollY = true), n16 || 0 !== m29 || j8("stationary"), new Promise(((i19) => {
          r32.onFinish((() => {
            f28 ? (n16 || j8("stationary"), B12 && P6 ? d2((() => {
              B12.keyframes([...b21.WRAPPER_KEYFRAMES]), P6.keyframes([...b21.BACKDROP_KEYFRAMES]), null == I8 || I8.keyframes([...b21.CONTENT_KEYFRAMES]), r32.progressStart(true, 1 - m29), y14 = m29, c36(y14), y14 > a18 && false !== t18.focusTrap && false !== t18.showBackdrop ? N4() : R5(), H9.enable(true), i19();
            })) : (H9.enable(true), i19())) : i19();
          }), { oneTimeCallback: true }).progressEnd(1, 0, h21 ? 500 : 0);
        }));
      }, L9 = (t19) => {
        const i18 = o15.getBoundingClientRect().top + t19, e18 = z11(i18);
        return s24.reduce(((t20, i19) => Math.abs(i19 - e18) < Math.abs(t20 - e18) ? i19 : t20));
      }, z11 = (t19) => {
        const i18 = s24[s24.length - 1], o16 = W7(s24[0]), e18 = W7(i18), a19 = Math.round((o16 - t19) / (o16 - e18) * 1e3) / 1e3;
        return Math.max(0, Math.min(1, a19));
      }, W7 = (i18) => {
        const o16 = t18.getBoundingClientRect();
        return window.innerHeight - o16.height * i18;
      }, H9 = s4({ el: o15, gestureName: "modalSheet", gesturePriority: 40, direction: "y", threshold: 10, canStart: (t19) => {
        const i18 = f3(t19.event.target);
        if (y14 = d25(), !n16 && i18) return 0 === (e3(i18) ? c(i18).querySelector(".inner-scroll") : i18).scrollTop;
        if (1 === y14 && i18) {
          const t20 = e3(i18) ? c(i18).querySelector(".inner-scroll") : i18;
          return !i18.querySelector("ion-refresher") && 0 === t20.scrollTop;
        }
        return true;
      }, onStart: (i18) => {
        if (Y6 = void 0 !== t18.canDismiss && true !== t18.canDismiss && 0 === T8, !n16) {
          const t19 = f3(i18.event.target);
          D7 = t19 && e3(t19) ? c(t19).querySelector(".inner-scroll") : t19;
        }
        n16 || j8("moving"), i18.deltaY > 0 && v18 && (v18.scrollY = false), d2((() => {
          t18.focus();
        })), r32.progressStart(true, 1 - y14), m28();
      }, onMove: (t19) => {
        if (n16 || null === E11 || null === S8 || (t19.currentY >= E11 && "moving" === S8 ? j8("stationary") : t19.currentY < E11 && "stationary" === S8 && j8("moving")), !n16 && t19.deltaY <= 0 && D7) return;
        t19.deltaY > 0 && v18 && (v18.scrollY = false);
        const i18 = s24.length > 1 ? 1 - s24[1] : void 0, o16 = 1 - y14 + t19.deltaY / k12, e18 = void 0 !== i18 && o16 >= i18 && Y6, a19 = e18 ? 0.95 : 0.9999, d26 = e18 && void 0 !== i18 ? i18 + X3((o16 - i18) / (a19 - i18)) : o16;
        A6 = b(1e-4, d26, a19), r32.progressStep(A6);
        const h21 = L9(t19.deltaY), l27 = { currentY: t19.currentY, deltaY: t19.deltaY, velocityY: t19.velocityY, progress: z11(t19.currentY), snapBreakpoint: h21 };
        f27(l27);
      }, onEnd: (t19) => {
        const i18 = L9(t19.deltaY), o16 = { currentY: t19.currentY, deltaY: t19.deltaY, velocityY: t19.velocityY, progress: z11(t19.currentY), snapBreakpoint: i18 };
        if (!n16 && t19.deltaY <= 0 && D7 && D7.scrollTop > 0) return j8("stationary"), void u21(o16);
        $4({ breakpoint: i18, breakpointOffset: A6, canDismiss: Y6, animated: true }), u21(o16);
      } });
      return { gesture: H9, moveSheetToBreakpoint: $4 };
    })(this.el, this.backdropEl, t17, i16, o14, a17, this.sortedBreakpoints, this.expandToScroll, (() => {
      var t18;
      return null !== (t18 = this.currentBreakpoint) && void 0 !== t18 ? t18 : 0;
    }), (() => this.sheetOnDismiss()), ((t18) => {
      this.currentBreakpoint !== t18 && (this.currentBreakpoint = t18, this.ionBreakpointDidChange.emit({ breakpoint: t18 }));
    }), (() => this.onDragStart()), ((t18) => this.onDragMove(t18)), ((t18) => this.onDragEnd(t18)));
    this.gesture = s23, this.moveSheetToBreakpoint = n15, this.gesture.enable(true), (false === this.showBackdrop || false === this.focusTrap || o14 > 0) && this.setupChildRoutePassthrough();
  }
  setupChildRoutePassthrough() {
    var t17;
    this.cachedPageParent = this.getOriginalPageParent();
    const o14 = this.cachedPageParent;
    if (!o14 || "ION-APP" === o14.tagName) return;
    const e16 = Array.from(o14.children).some(((t18) => {
      var o15;
      return !(t18 === this.el || t18 instanceof I && "none" === window.getComputedStyle(t18).display || "TEMPLATE" === t18.tagName || "SLOT" === t18.tagName || t18.nodeType === Node.TEXT_NODE && !(null === (o15 = t18.textContent) || void 0 === o15 ? void 0 : o15.trim()));
    }));
    if (e16) return;
    o14.classList.add("ion-page-overlay-passthrough");
    const a17 = o14.parentElement;
    "ION-ROUTER-OUTLET" === (null == a17 ? void 0 : a17.tagName) && "ION-APP" !== (null === (t17 = a17.parentElement) || void 0 === t17 ? void 0 : t17.tagName) && (a17.style.setProperty("pointer-events", "none"), a17.setAttribute("data-overlay-passthrough", "true"));
  }
  getOriginalPageParent() {
    if (!this.cachedOriginalParent) return null;
    let t17 = this.cachedOriginalParent;
    for (; t17 && !t17.classList.contains("ion-page"); ) t17 = t17.parentElement;
    return t17;
  }
  cleanupChildRoutePassthrough() {
    const t17 = this.cachedPageParent;
    if (!t17) return;
    t17.classList.remove("ion-page-overlay-passthrough");
    const i16 = t17.parentElement;
    (null == i16 ? void 0 : i16.hasAttribute("data-overlay-passthrough")) && (i16.style.removeProperty("pointer-events"), i16.removeAttribute("data-overlay-passthrough")), this.cachedPageParent = void 0;
  }
  sheetOnDismiss() {
    this.gestureAnimationDismissing = true, this.animation.onFinish((() => __async(this, null, function* () {
      this.currentBreakpoint = 0, this.ionBreakpointDidChange.emit({ breakpoint: this.currentBreakpoint }), yield this.dismiss(void 0, K2), this.gestureAnimationDismissing = false;
    })));
  }
  cardOnDismiss() {
    this.gestureAnimationDismissing = true, q4(this.statusBarStyle), this.animation.onFinish((() => __async(this, null, function* () {
      yield this.dismiss(void 0, K2), this.gestureAnimationDismissing = false;
    })));
  }
  dismiss(t17, i16) {
    return __async(this, null, function* () {
      var o14;
      if (this.gestureAnimationDismissing && i16 !== K2) return false;
      clearTimeout(this.resizeTimeout), this.resizeTimeout = void 0;
      const e16 = yield this.lockController.lock();
      if (yield this.dismissNestedModals(), "handler" !== i16 && !(yield this.checkCanDismiss(t17, i16))) return e16(), false;
      const { presentingElement: r32 } = this;
      void 0 !== r32 && "ios" === g(this) && q4(this.statusBarStyle), "undefined" != typeof window && this.keyboardOpenCallback && (window.removeEventListener(t5, this.keyboardOpenCallback), this.keyboardOpenCallback = void 0);
      const s23 = yield J(this, t17, i16, "modalLeave", at, st, { presentingEl: r32, currentBreakpoint: null !== (o14 = this.currentBreakpoint) && void 0 !== o14 ? o14 : this.initialBreakpoint, backdropBreakpoint: this.backdropBreakpoint, expandToScroll: this.expandToScroll });
      if (s23) {
        const { delegate: t18 } = this.getDelegate();
        yield t9(t18, this.usersElement), P((() => this.el.classList.remove("show-modal"))), this.animation && this.animation.destroy(), this.gesture && this.gesture.destroy(), this.cleanupViewTransitionListener(), this.cleanupParentRemovalObserver(), this.cleanupSafeAreaOverrides(), this.cleanupChildRoutePassthrough();
      }
      return this.currentBreakpoint = void 0, this.animation = void 0, e16(), s23;
    });
  }
  onDidDismiss() {
    return q3(this.el, "ionModalDidDismiss");
  }
  onWillDismiss() {
    return q3(this.el, "ionModalWillDismiss");
  }
  setCurrentBreakpoint(t17) {
    return __async(this, null, function* () {
      if (!this.isSheetModal) return void u("[ion-modal] - setCurrentBreakpoint is only supported on sheet modals.");
      if (!this.breakpoints.includes(t17)) return void u(`[ion-modal] - Attempted to set invalid breakpoint value ${t17}. Please double check that the breakpoint value is part of your defined breakpoints.`);
      const { currentBreakpoint: i16, moveSheetToBreakpoint: o14, canDismiss: a17, breakpoints: r32, animated: s23 } = this;
      i16 !== t17 && o14 && (this.sheetTransition = o14({ breakpoint: t17, breakpointOffset: 1 - i16, canDismiss: void 0 !== a17 && true !== a17 && 0 === r32[0], animated: s23 }), yield this.sheetTransition, this.sheetTransition = void 0);
    });
  }
  getCurrentBreakpoint() {
    return __async(this, null, function* () {
      return this.currentBreakpoint;
    });
  }
  moveToNextBreakpoint() {
    return __async(this, null, function* () {
      const { breakpoints: t17, currentBreakpoint: i16 } = this;
      if (!t17 || null == i16) return false;
      const o14 = t17.filter(((t18) => 0 !== t18)), e16 = o14.indexOf(i16), a17 = o14[(e16 + 1) % o14.length];
      return yield this.setCurrentBreakpoint(a17), true;
    });
  }
  initViewTransitionListener() {
    "ios" !== g(this) || !this.presentingElement || this.enterAnimation || this.leaveAnimation || (this.currentViewIsPortrait = window.innerWidth < 768);
  }
  handleViewTransition() {
    if (!this.presented) return;
    const t17 = window.innerWidth < 768;
    if (this.currentViewIsPortrait === t17) return;
    this.viewTransitionAnimation && (this.viewTransitionAnimation.destroy(), this.viewTransitionAnimation = void 0);
    const { presentingElement: i16 } = this;
    if (!i16) return;
    let o14;
    o14 = this.currentViewIsPortrait && !t17 ? ((t18, i17, o15 = 300) => {
      const { presentingEl: e16 } = i17;
      if (!e16) return r("portrait-to-landscape-transition");
      const a17 = "ION-MODAL" === e16.tagName && void 0 !== e16.presentingElement, r32 = c(e16), s23 = document.body, n15 = r("portrait-to-landscape-transition").addElement(t18).easing("cubic-bezier(0.32,0.72,0,1)").duration(o15), d25 = r().beforeStyles({ transform: "translateY(0)", "transform-origin": "top center", overflow: "hidden" });
      if (a17) {
        const t19 = "translateY(-10px) scale(0.915)", i18 = "translateY(0px) scale(1)";
        d25.addElement(e16).afterStyles({ transform: i18 }).fromTo("transform", t19, i18).fromTo("filter", "contrast(0.85)", "contrast(1)");
        const o16 = r().addElement(r32.querySelector(".modal-shadow")).afterStyles({ transform: i18, opacity: "0" }).fromTo("transform", t19, i18);
        n15.addAnimation([d25, o16]);
      } else {
        const i18 = c(t18), o16 = r().addElement(i18.querySelectorAll(".modal-wrapper, .modal-shadow")).fromTo("opacity", "1", "1"), a18 = r().addElement(i18.querySelector("ion-backdrop")).fromTo("opacity", "var(--backdrop-opacity)", "var(--backdrop-opacity)"), r33 = `translateY(${CSS.supports("width", "max(0px, 1px)") ? "max(30px, var(--ion-safe-area-top))" : "30px"}) scale(0.915)`;
        d25.addElement(e16).afterStyles({ transform: "translateY(0px) scale(1)", "border-radius": "0px" }).beforeAddWrite((() => s23.style.setProperty("background-color", ""))).fromTo("transform", r33, "translateY(0px) scale(1)").fromTo("filter", "contrast(0.85)", "contrast(1)").fromTo("border-radius", "10px 10px 0 0", "0px"), n15.addAnimation([d25, o16, a18]);
      }
      return n15;
    })(this.el, { presentingEl: i16 }) : ((t18, i17, o15 = 300) => {
      const { presentingEl: e16 } = i17;
      if (!e16) return r("landscape-to-portrait-transition");
      const a17 = "ION-MODAL" === e16.tagName && void 0 !== e16.presentingElement, r32 = c(e16), s23 = document.body, n15 = r("landscape-to-portrait-transition").addElement(t18).easing("cubic-bezier(0.32,0.72,0,1)").duration(o15), d25 = r().beforeStyles({ transform: "translateY(0)", "transform-origin": "top center", overflow: "hidden" });
      if (a17) {
        const t19 = "translateY(-10px) scale(0.915)", i18 = "translateY(0) scale(1)";
        d25.addElement(e16).afterStyles({ transform: i18 }).fromTo("transform", t19, i18);
        const o16 = r().addElement(r32.querySelector(".modal-shadow")).afterStyles({ transform: i18, opacity: "0" }).fromTo("transform", t19, i18);
        n15.addAnimation([d25, o16]);
      } else {
        const i18 = c(t18), o16 = r().addElement(i18.querySelectorAll(".modal-wrapper, .modal-shadow")).fromTo("opacity", "1", "1"), a18 = r().addElement(i18.querySelector("ion-backdrop")).fromTo("opacity", "var(--backdrop-opacity)", "var(--backdrop-opacity)"), r33 = `translateY(${CSS.supports("width", "max(0px, 1px)") ? "max(30px, var(--ion-safe-area-top))" : "30px"}) scale(0.915)`;
        d25.addElement(e16).afterStyles({ transform: r33 }).beforeAddWrite((() => s23.style.setProperty("background-color", "black"))).keyframes([{ offset: 0, transform: "translateY(0px) scale(1)", filter: "contrast(1)", borderRadius: "0px" }, { offset: 0.2, transform: "translateY(0px) scale(1)", filter: "contrast(1)", borderRadius: "10px 10px 0 0" }, { offset: 1, transform: r33, filter: "contrast(0.85)", borderRadius: "10px 10px 0 0" }]), n15.addAnimation([d25, o16, a18]);
      }
      return n15;
    })(this.el, { presentingEl: i16 }), this.currentViewIsPortrait = t17, this.viewTransitionAnimation = o14, o14.play().then((() => {
      this.viewTransitionAnimation = void 0, d2((() => this.updateSafeAreaOverrides())), this.reinitSwipeToClose();
    }));
  }
  cleanupViewTransitionListener() {
    this.resizeTimeout && (clearTimeout(this.resizeTimeout), this.resizeTimeout = void 0), this.viewTransitionAnimation && (this.viewTransitionAnimation.destroy(), this.viewTransitionAnimation = void 0);
  }
  reinitSwipeToClose() {
    "ios" === g(this) && this.presentingElement && (this.gesture && (this.gesture.destroy(), this.gesture = void 0), this.animation && (this.animation.progressEnd(0, 0, 0), this.animation.destroy(), this.animation = void 0), d2((() => {
      this.ensureCorrectModalPosition(), this.initSwipeToClose();
    })));
  }
  ensureCorrectModalPosition() {
    const { el: t17, presentingElement: i16 } = this, o14 = c(t17).querySelector(".modal-wrapper");
    if (o14 && (o14.style.transform = "translateY(0vh)", o14.style.opacity = "1"), "ION-MODAL" === (null == i16 ? void 0 : i16.tagName)) if (window.innerWidth < 768) {
      const t18 = CSS.supports("width", "max(0px, 1px)") ? "max(30px, var(--ion-safe-area-top))" : "30px";
      i16.style.transform = `translateY(${t18}) scale(0.915)`;
    } else i16.style.transform = "translateY(0px) scale(1)";
  }
  dismissNestedModals() {
    return __async(this, null, function* () {
      const t17 = document.querySelectorAll(`ion-modal[data-parent-ion-modal="${this.el.id}"]`);
      null == t17 || t17.forEach(((t18) => __async(this, null, function* () {
        yield t18.dismiss(void 0, "parent-dismissed");
      })));
    });
  }
  initParentRemovalObserver() {
    "undefined" != typeof MutationObserver && "undefined" != typeof window && this.cachedOriginalParent && this.cachedOriginalParent.nodeType !== Node.DOCUMENT_NODE && this.cachedOriginalParent.nodeType !== Node.DOCUMENT_FRAGMENT_NODE && (this.hasController || this.cachedOriginalParent === document.body || "ION-APP" === this.cachedOriginalParent.tagName || (this.parentRemovalObserver = new MutationObserver(((t17) => {
      t17.forEach(((t18) => {
        "childList" === t18.type && t18.removedNodes.length > 0 && (Array.from(t18.removedNodes).some(((t19) => {
          var i16, o14;
          const e16 = t19 === this.cachedOriginalParent, a17 = !!this.cachedOriginalParent && (null === (o14 = (i16 = t19).contains) || void 0 === o14 ? void 0 : o14.call(i16, this.cachedOriginalParent));
          return e16 || a17;
        })) || this.cachedOriginalParent && !this.cachedOriginalParent.isConnected) && (this.dismiss(void 0, "parent-removed"), this.cachedOriginalParent = void 0);
      }));
    })), this.parentRemovalObserver.observe(document.body, { childList: true, subtree: true })));
  }
  cleanupParentRemovalObserver() {
    var t17;
    null === (t17 = this.parentRemovalObserver) || void 0 === t17 || t17.disconnect(), this.parentRemovalObserver = void 0;
  }
  onDragStart() {
    this.ionDragStart.emit();
  }
  onDragMove(t17) {
    this.ionDragMove.emit(t17);
  }
  onDragEnd(t17) {
    this.ionDragEnd.emit(t17);
  }
  getSafeAreaContext() {
    return { isSheetModal: this.isSheetModal, isCardModal: void 0 !== this.presentingElement && "ios" === g(this), presentingElement: this.presentingElement, breakpoints: this.breakpoints, currentBreakpoint: this.currentBreakpoint };
  }
  setInitialSafeAreaOverrides() {
    const t17 = this.getSafeAreaContext(), i16 = ((t18) => {
      const { isSheetModal: i17, isCardModal: o14 } = t18;
      return i17 ? { top: "0px", bottom: "inherit", left: "0px", right: "0px" } : o14 ? { top: "inherit", bottom: "inherit", left: "0px", right: "0px" } : d && d.matchMedia("(min-width: 768px) and (min-height: 600px)").matches ? { top: "0px", bottom: "0px", left: "0px", right: "0px" } : { top: "inherit", bottom: "inherit", left: "inherit", right: "inherit" };
    })(t17);
    ht(this.el, i16), t17.isSheetModal && this.updateSheetOffsetTop();
  }
  updateSheetOffsetTop() {
    const t17 = (() => {
      if (null !== nt) return nt;
      const t18 = null == d ? void 0 : d.document;
      if (!(null == t18 ? void 0 : t18.body)) return 0;
      const i16 = t18.createElement("div");
      i16.style.cssText = "position:fixed;visibility:hidden;pointer-events:none;top:0;left:0;padding-top:var(--ion-safe-area-top,0px);", t18.body.appendChild(i16);
      const o14 = parseFloat(getComputedStyle(i16).paddingTop) || 0;
      return i16.remove(), nt = o14, dt || (dt = true, d2((() => {
        nt = null, dt = false;
      }))), o14;
    })();
    this.el.style.setProperty("--ion-modal-offset-top", `${t17}px`);
  }
  updateSafeAreaOverrides() {
    const { wrapperEl: t17, el: i16 } = this, o14 = this.getSafeAreaContext();
    if (o14.isSheetModal) return;
    if (o14.isCardModal) return;
    if (!t17) return;
    const e16 = ((t18) => {
      var i17, o15;
      const e17 = t18.getBoundingClientRect(), a17 = null !== (i17 = null == d ? void 0 : d.innerHeight) && void 0 !== i17 ? i17 : 0, r32 = null !== (o15 = null == d ? void 0 : d.innerWidth) && void 0 !== o15 ? o15 : 0;
      return { top: e17.top <= 5 ? "inherit" : "0px", bottom: e17.bottom >= a17 - 5 ? "inherit" : "0px", left: e17.left <= 5 ? "inherit" : "0px", right: e17.right >= r32 - 5 ? "inherit" : "0px" };
    })(t17);
    ht(i16, e16);
  }
  applyFullscreenSafeArea() {
    const { wrapperEl: t17, el: i16 } = this;
    if (!t17) return;
    const o14 = this.getSafeAreaContext();
    if (o14.isSheetModal || o14.isCardModal) return;
    let e16 = false, a17 = false;
    for (const t18 of Array.from(i16.children)) {
      "ION-CONTENT" === t18.tagName && (e16 = true), "ION-FOOTER" === t18.tagName && (a17 = true);
      for (const i17 of Array.from(t18.children)) "ION-CONTENT" === i17.tagName && (e16 = true), "ION-FOOTER" === i17.tagName && (a17 = true);
    }
    e16 && !a17 && (t17.style.setProperty("height", "calc(var(--height) - var(--ion-safe-area-bottom, 0px))"), t17.style.setProperty("padding-bottom", "var(--ion-safe-area-bottom, 0px)"));
  }
  cleanupSafeAreaOverrides() {
    var t17;
    (t17 = this.el).style.removeProperty("--ion-safe-area-top"), t17.style.removeProperty("--ion-safe-area-bottom"), t17.style.removeProperty("--ion-safe-area-left"), t17.style.removeProperty("--ion-safe-area-right"), this.el.style.removeProperty("--ion-modal-offset-top"), this.wrapperEl && (this.wrapperEl.style.removeProperty("height"), this.wrapperEl.style.removeProperty("padding-bottom"));
  }
  render() {
    const { handle: t17, isSheetModal: i16, presentingElement: o14, htmlAttributes: e16, handleBehavior: a17, inheritedAttributes: r32, focusTrap: d25, expandToScroll: h21 } = this, l27 = false !== t17 && i16, p33 = g(this), c36 = void 0 !== o14 && "ios" === p33, m28 = "cycle" === a17;
    return Ct(It, Object.assign({ key: "1a53e8f87532abccc169ca4b24973a39c5f9ba16", "no-router": true, tabIndex: m28 && i16 && l27 ? 0 : -1 }, e16, { style: { zIndex: `${2e4 + this.overlayIndex}` }, class: Object.assign({ [p33]: true, "modal-default": !c36 && !i16, "modal-card": c36, "modal-sheet": i16, "modal-no-expand-scroll": i16 && !h21, "overlay-hidden": true, [nn]: false === d25 }, r5(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }), Ct("ion-backdrop", { key: "fa8e0a436c0d458331402e1850f87af3dc97b582", ref: (t18) => this.backdropEl = t18, visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), "ios" === p33 && Ct("div", { key: "f00de6027d3c8b5bc93db3b0f7a50a87628d40bb", class: "modal-shadow" }), Ct("div", Object.assign({ key: "ae5e33bd6c58e541edb2edbca92420ea02dd5175", role: "dialog" }, r32, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (t18) => this.wrapperEl = t18 }), l27 && Ct("button", { key: "141cdd8f8522331f4b764e2a4d79ec6596b1eb3a", class: "modal-handle", tabIndex: m28 ? 0 : -1, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: m28 ? this.onHandleClick : void 0, part: "handle", ref: (t18) => this.dragHandleEl = t18 }), Ct("slot", { key: "7de20298b61abee67a16d275c9ebd9a25ce7dd26", onSlotchange: this.onSlotChange })));
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { isOpen: [{ onIsOpenChange: 0 }], trigger: [{ triggerChanged: 0 }] };
  }
  static get style() {
    return { ios: ':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-modal-offset-top, 0px) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host(.modal-sheet.modal-no-expand-scroll) ion-footer{position:absolute;bottom:0;width:var(--width)}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.4)}:host(.modal-card),:host(.modal-sheet){--border-radius:10px}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:10px}}.modal-wrapper{-webkit-transform:translate3d(0,  100%,  0);transform:translate3d(0,  100%,  0)}@media screen and (max-width: 767px){@supports (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - max(30px, var(--ion-safe-area-top)) - 10px)}}@supports not (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - 40px)}}:host(.modal-card) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}:host(.modal-card){--backdrop-opacity:0;--width:100%;-ms-flex-align:end;align-items:flex-end}:host(.modal-card) .modal-shadow{display:none}:host(.modal-card) ion-backdrop{pointer-events:none}}@media screen and (min-width: 768px){:host(.modal-card){--width:calc(100% - 120px);--height:calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));--max-width:720px;--max-height:1000px;--backdrop-opacity:0;--box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1);-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}:host(.modal-card) .modal-wrapper{-webkit-box-shadow:none;box-shadow:none}:host(.modal-card) .modal-shadow{-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}}:host(.modal-sheet) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}', md: ':host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:""}:host(.modal-sheet){--height:calc(100% - (var(--ion-modal-offset-top, 0px) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host(.modal-sheet.modal-no-expand-scroll) ion-footer{position:absolute;bottom:0;width:var(--width)}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:2px;--box-shadow:0 28px 48px rgba(0, 0, 0, 0.4)}}.modal-wrapper{-webkit-transform:translate3d(0,  40px,  0);transform:translate3d(0,  40px,  0);opacity:0.01}' };
  }
}, [289, "ion-modal", { hasController: [4, "has-controller"], overlayIndex: [2, "overlay-index"], delegate: [16], keyboardClose: [4, "keyboard-close"], enterAnimation: [16], leaveAnimation: [16], breakpoints: [16], expandToScroll: [4, "expand-to-scroll"], initialBreakpoint: [2, "initial-breakpoint"], backdropBreakpoint: [2, "backdrop-breakpoint"], handle: [4], handleBehavior: [1, "handle-behavior"], component: [1], componentProps: [16], cssClass: [1, "css-class"], backdropDismiss: [4, "backdrop-dismiss"], showBackdrop: [4, "show-backdrop"], animated: [4], presentingElement: [16], htmlAttributes: [16], isOpen: [4, "is-open"], trigger: [1], keepContentsMounted: [4, "keep-contents-mounted"], focusTrap: [4, "focus-trap"], canDismiss: [4, "can-dismiss"], isSheetModal: [32], presented: [32], present: [64], dismiss: [64], onDidDismiss: [64], onWillDismiss: [64], setCurrentBreakpoint: [64], getCurrentBreakpoint: [64] }, [[9, "resize", "onWindowResize"]], { isOpen: [{ onIsOpenChange: 0 }], trigger: [{ triggerChanged: 0 }] }]);
var pt = { ionModalDidPresent: "ionViewDidEnter", ionModalWillPresent: "ionViewWillEnter", ionModalWillDismiss: "ionViewWillLeave", ionModalDidDismiss: "ionViewDidLeave" };
function ct() {
  "undefined" != typeof customElements && ["ion-modal", "ion-backdrop"].forEach(((t17) => {
    switch (t17) {
      case "ion-modal":
        customElements.get(Zn(t17)) || customElements.define(Zn(t17), lt);
        break;
      case "ion-backdrop":
        customElements.get(Zn(t17)) || c11();
    }
  }));
}

// node_modules/@ionic/core/components/ion-modal.js
var p8 = ct;

// node_modules/@ionic/core/components/p-DHsZWn1l.js
var O4 = null;
var L4 = false;
var N2 = (t17) => {
  if (null !== O4) return O4;
  if (null === t17.body) return { top: 0, bottom: 0, left: 0, right: 0 };
  const e16 = t17.createElement("div");
  e16.style.cssText = "position:fixed;visibility:hidden;pointer-events:none;top:0;left:0;padding-top:var(--ion-safe-area-top,0px);padding-bottom:var(--ion-safe-area-bottom,0px);padding-left:var(--ion-safe-area-left,0px);padding-right:var(--ion-safe-area-right,0px);", t17.body.appendChild(e16);
  const o14 = getComputedStyle(e16), r32 = { top: parseFloat(o14.paddingTop) || 0, bottom: parseFloat(o14.paddingBottom) || 0, left: parseFloat(o14.paddingLeft) || 0, right: parseFloat(o14.paddingRight) || 0 };
  return e16.remove(), O4 = r32, L4 || (L4 = true, d2((() => {
    O4 = null, L4 = false;
  }))), r32;
};
var W3 = (t17, e16, o14) => {
  const r32 = e16.getBoundingClientRect(), i16 = r32.height;
  let s23 = r32.width;
  return "cover" === t17 && o14 && (s23 = o14.getBoundingClientRect().width), { contentWidth: s23, contentHeight: i16 };
};
var j4 = (t17, e16) => e16 && "ION-ITEM" === e16.tagName ? t17.findIndex(((t18) => t18 === e16)) : -1;
var z3 = (t17) => {
  const e16 = c(t17).querySelector("button");
  e16 && d2((() => e16.focus()));
};
var E4 = (t17, e16, o14, r32, i16, s23, n15, a17, p33, c36, d25) => {
  var l27;
  let h21 = { top: 0, left: 0, width: 0, height: 0 };
  if ("event" === s23) {
    if (!d25) return p33;
    h21 = { top: d25.clientY, left: d25.clientX, width: 1, height: 1 };
  } else {
    const t18 = c36 || (null === (l27 = null == d25 ? void 0 : d25.detail) || void 0 === l27 ? void 0 : l27.ionShadowTarget) || (null == d25 ? void 0 : d25.target);
    if (!t18) return p33;
    const e17 = t18.getBoundingClientRect();
    h21 = { top: e17.top, left: e17.left, width: e17.width, height: e17.height };
  }
  const v18 = M6(n15, h21, e16, o14, r32, i16, t17), f27 = R3(a17, n15, h21, e16, o14), g20 = v18.top + f27.top, m28 = v18.left + f27.left, { arrowTop: x16, arrowLeft: b21 } = Y3(n15, r32, i16, g20, m28, e16, o14, t17), { originX: u21, originY: w12 } = S4(n15, a17, t17);
  return { top: g20, left: m28, referenceCoordinates: h21, arrowTop: x16, arrowLeft: b21, originX: u21, originY: w12 };
};
var S4 = (t17, e16, o14) => {
  switch (t17) {
    case "top":
      return { originX: X4(e16), originY: "bottom" };
    case "bottom":
      return { originX: X4(e16), originY: "top" };
    case "left":
      return { originX: "right", originY: B5(e16) };
    case "right":
      return { originX: "left", originY: B5(e16) };
    case "start":
      return { originX: o14 ? "left" : "right", originY: B5(e16) };
    case "end":
      return { originX: o14 ? "right" : "left", originY: B5(e16) };
  }
};
var X4 = (t17) => {
  switch (t17) {
    case "start":
      return "left";
    case "center":
      return "center";
    case "end":
      return "right";
  }
};
var B5 = (t17) => {
  switch (t17) {
    case "start":
      return "top";
    case "center":
      return "center";
    case "end":
      return "bottom";
  }
};
var Y3 = (t17, e16, o14, r32, i16, s23, n15, a17) => {
  const p33 = { arrowTop: r32 + n15 / 2 - e16 / 2, arrowLeft: i16 + s23 - e16 / 2 }, c36 = { arrowTop: r32 + n15 / 2 - e16 / 2, arrowLeft: i16 - 1.5 * e16 };
  switch (t17) {
    case "top":
      return { arrowTop: r32 + n15, arrowLeft: i16 + s23 / 2 - e16 / 2 };
    case "bottom":
      return { arrowTop: r32 - o14, arrowLeft: i16 + s23 / 2 - e16 / 2 };
    case "left":
      return p33;
    case "right":
      return c36;
    case "start":
      return a17 ? c36 : p33;
    case "end":
      return a17 ? p33 : c36;
    default:
      return { arrowTop: 0, arrowLeft: 0 };
  }
};
var M6 = (t17, e16, o14, r32, i16, s23, n15) => {
  const a17 = { top: e16.top, left: e16.left - o14 - i16 }, p33 = { top: e16.top, left: e16.left + e16.width + i16 };
  switch (t17) {
    case "top":
      return { top: e16.top - r32 - s23, left: e16.left };
    case "right":
      return p33;
    case "bottom":
      return { top: e16.top + e16.height + s23, left: e16.left };
    case "left":
      return a17;
    case "start":
      return n15 ? p33 : a17;
    case "end":
      return n15 ? a17 : p33;
  }
};
var R3 = (t17, e16, o14, r32, i16) => {
  switch (t17) {
    case "center":
      return H4(e16, o14, r32, i16);
    case "end":
      return F2(e16, o14, r32, i16);
    default:
      return { top: 0, left: 0 };
  }
};
var F2 = (t17, e16, o14, r32) => {
  switch (t17) {
    case "start":
    case "end":
    case "left":
    case "right":
      return { top: -(r32 - e16.height), left: 0 };
    default:
      return { top: 0, left: -(o14 - e16.width) };
  }
};
var H4 = (t17, e16, o14, r32) => {
  switch (t17) {
    case "start":
    case "end":
    case "left":
    case "right":
      return { top: -(r32 / 2 - e16.height / 2), left: 0 };
    default:
      return { top: 0, left: -(o14 / 2 - e16.width / 2) };
  }
};
var V2 = (t17, e16, o14, r32, i16, s23, n15, a17, p33, c36, d25, l27, h21 = 0, v18 = 0, f27 = 0) => {
  let g20, m28 = h21, x16 = o14, b21 = e16, u21 = c36, w12 = d25, k12 = false, y14 = false, P6 = false, D7 = false;
  const T8 = l27 ? l27.top + l27.height : s23 / 2 - a17 / 2, A6 = l27 ? l27.height : 0;
  let $4 = false;
  if (x16 < r32 + p33.left ? (x16 = r32, k12 = true, u21 = "left") : n15 + r32 + x16 + p33.right > i16 && (y14 = true, x16 = i16 - n15 - r32, u21 = "right"), T8 + A6 + a17 > s23 - p33.bottom && ("top" === t17 || "bottom" === t17)) {
    const t18 = T8 - a17 - A6 - (f27 - 1);
    t18 >= p33.top + r32 ? (b21 = t18, m28 = b21 + a17, w12 = "bottom", $4 = true) : (g20 = r32, D7 = true, b21 >= s23 - p33.bottom - r32 && (b21 = p33.top + r32, P6 = true));
  }
  return { top: b21, left: x16, bottom: g20, originX: u21, originY: w12, checkSafeAreaLeft: k12, checkSafeAreaRight: y14, checkSafeAreaTop: P6, checkSafeAreaBottom: D7, arrowTop: m28, arrowLeft: v18, addPopoverBottomClass: $4, hideArrow: false };
};
var q5 = (t17, e16) => {
  var o14;
  const { event: r32, size: i16, trigger: s23, reference: n15, side: a17, align: p33 } = e16, c36 = t17.ownerDocument, d25 = "rtl" === c36.dir, l27 = c36.defaultView.innerWidth, h21 = c36.defaultView.innerHeight, v18 = c(t17), f27 = v18.querySelector(".popover-content"), g20 = v18.querySelector(".popover-arrow"), m28 = s23 || (null === (o14 = null == r32 ? void 0 : r32.detail) || void 0 === o14 ? void 0 : o14.ionShadowTarget) || (null == r32 ? void 0 : r32.target), { contentWidth: x16, contentHeight: u21 } = W3(i16, f27, m28), { arrowWidth: w12, arrowHeight: k12 } = ((t18) => {
    if (!t18) return { arrowWidth: 0, arrowHeight: 0 };
    const { width: e17, height: o15 } = t18.getBoundingClientRect();
    return { arrowWidth: e17, arrowHeight: o15 };
  })(g20), y14 = E4(d25, x16, u21, w12, k12, n15, a17, p33, { top: h21 / 2 - u21 / 2, left: l27 / 2 - x16 / 2, originX: d25 ? "right" : "left", originY: "top" }, s23, r32), P6 = "cover" === i16 ? 0 : 5, D7 = N2(c36), T8 = "cover" === i16 ? { top: 0, bottom: 0, left: 0, right: 0 } : { top: Math.max(D7.top, 25), bottom: Math.max(D7.bottom, 25), left: Math.max(D7.left, 25), right: Math.max(D7.right, 25) }, { originX: A6, originY: $4, top: I8, left: O10, bottom: L9, checkSafeAreaLeft: j8, checkSafeAreaRight: z11, checkSafeAreaTop: S8, checkSafeAreaBottom: X7, arrowTop: B12, arrowLeft: Y6, addPopoverBottomClass: M8 } = V2(a17, y14.top, y14.left, P6, l27, h21, x16, u21, T8, y14.originX, y14.originY, y14.referenceCoordinates, y14.arrowTop, y14.arrowLeft, k12), R5 = r(), F4 = r(), H9 = r();
  return F4.addElement(v18.querySelector("ion-backdrop")).fromTo("opacity", 0.01, "var(--backdrop-opacity)").beforeStyles({ "pointer-events": "none" }).afterClearStyles(["pointer-events"]), H9.addElement(v18.querySelector(".popover-arrow")).addElement(v18.querySelector(".popover-content")).fromTo("opacity", 0.01, 1), R5.easing("ease").duration(100).beforeAddWrite((() => {
    if ("cover" === i16 && t17.style.setProperty("--width", `${x16}px`), M8 && t17.classList.add("popover-bottom"), void 0 !== L9) {
      let t18 = `${L9}px`;
      X7 && (t18 = `${L9}px + var(--ion-safe-area-bottom, 0px)`), f27.style.setProperty("bottom", `calc(${t18})`);
    }
    let e17 = `${O10}px`;
    j8 && (e17 = `${O10}px + var(--ion-safe-area-left, 0px)`), z11 && (e17 = `${O10}px - var(--ion-safe-area-right, 0px)`);
    let o15 = `${I8}px`;
    if (S8 && (o15 = `${I8}px + var(--ion-safe-area-top, 0px)`), f27.style.setProperty("top", `calc(${o15} + var(--offset-y, 0))`), f27.style.setProperty("left", `calc(${e17} + var(--offset-x, 0))`), f27.style.setProperty("transform-origin", `${$4} ${A6}`), null !== g20) {
      const t18 = /* @__PURE__ */ ((t19, e18 = false, o16, r33) => !(!o16 && !r33 || "top" !== t19 && "bottom" !== t19 && e18))(a17, y14.top !== I8 || y14.left !== O10, r32, s23);
      t18 ? (g20.style.setProperty("top", `calc(${B12}px + var(--offset-y, 0))`), g20.style.setProperty("left", `calc(${Y6}px + var(--offset-x, 0))`)) : g20.style.setProperty("display", "none");
    }
  })).addAnimation([F4, H9]);
};
var J3 = (t17) => {
  const e16 = c(t17), o14 = e16.querySelector(".popover-content"), r32 = e16.querySelector(".popover-arrow"), i16 = r(), s23 = r(), n15 = r();
  return s23.addElement(e16.querySelector("ion-backdrop")).fromTo("opacity", "var(--backdrop-opacity)", 0), n15.addElement(e16.querySelector(".popover-arrow")).addElement(e16.querySelector(".popover-content")).fromTo("opacity", 0.99, 0), i16.easing("ease").afterAddWrite((() => {
    t17.style.removeProperty("--width"), t17.classList.remove("popover-bottom"), o14.style.removeProperty("top"), o14.style.removeProperty("left"), o14.style.removeProperty("bottom"), o14.style.removeProperty("transform-origin"), r32 && (r32.style.removeProperty("top"), r32.style.removeProperty("left"), r32.style.removeProperty("display"));
  })).duration(300).addAnimation([s23, n15]);
};
var K4 = (t17, e16) => {
  var o14;
  const { event: r32, size: i16, trigger: s23, reference: n15, side: a17, align: p33 } = e16, c36 = t17.ownerDocument, d25 = "rtl" === c36.dir, l27 = c36.defaultView.innerWidth, h21 = c36.defaultView.innerHeight, v18 = c(t17), f27 = v18.querySelector(".popover-content"), g20 = s23 || (null === (o14 = null == r32 ? void 0 : r32.detail) || void 0 === o14 ? void 0 : o14.ionShadowTarget) || (null == r32 ? void 0 : r32.target), { contentWidth: m28, contentHeight: x16 } = W3(i16, f27, g20), u21 = E4(d25, m28, x16, 0, 0, n15, a17, p33, { top: h21 / 2 - x16 / 2, left: l27 / 2 - m28 / 2, originX: d25 ? "right" : "left", originY: "top" }, s23, r32), w12 = "cover" === i16 ? 0 : 12, k12 = "cover" === i16 ? { top: 0, bottom: 0, left: 0, right: 0 } : N2(c36), { originX: y14, originY: P6, top: D7, left: T8, bottom: A6, checkSafeAreaLeft: $4, checkSafeAreaRight: I8, checkSafeAreaTop: O10, checkSafeAreaBottom: L9, addPopoverBottomClass: j8 } = V2(a17, u21.top, u21.left, w12, l27, h21, m28, x16, k12, u21.originX, u21.originY, u21.referenceCoordinates);
  let z11 = `${T8}px`;
  $4 && (z11 = `${T8}px + var(--ion-safe-area-left, 0px)`), I8 && (z11 = `${T8}px - var(--ion-safe-area-right, 0px)`);
  let S8 = `${D7}px`;
  O10 && (S8 = `${D7}px + var(--ion-safe-area-top, 0px)`);
  const X7 = r(), B12 = r(), Y6 = r(), M8 = r(), R5 = r();
  return B12.addElement(v18.querySelector("ion-backdrop")).fromTo("opacity", 0.01, "var(--backdrop-opacity)").beforeStyles({ "pointer-events": "none" }).afterClearStyles(["pointer-events"]), Y6.addElement(v18.querySelector(".popover-wrapper")).duration(150).fromTo("opacity", 0.01, 1), M8.addElement(f27).beforeStyles({ top: `calc(${S8} + var(--offset-y, 0px))`, left: `calc(${z11} + var(--offset-x, 0px))`, "transform-origin": `${P6} ${y14}` }).beforeAddWrite((() => {
    if (void 0 !== A6) {
      let t18 = `${A6}px`;
      L9 && (t18 = `${A6}px + var(--ion-safe-area-bottom, 0px)`), f27.style.setProperty("bottom", `calc(${t18})`);
    }
  })).fromTo("transform", "scale(0.8)", "scale(1)"), R5.addElement(v18.querySelector(".popover-viewport")).fromTo("opacity", 0.01, 1), X7.easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).beforeAddWrite((() => {
    "cover" === i16 && t17.style.setProperty("--width", `${m28}px`), j8 && t17.classList.add("popover-bottom");
  })).addAnimation([B12, Y6, M8, R5]);
};
var Q4 = (t17) => {
  const e16 = c(t17), o14 = e16.querySelector(".popover-content"), r32 = r(), i16 = r(), s23 = r();
  return i16.addElement(e16.querySelector("ion-backdrop")).fromTo("opacity", "var(--backdrop-opacity)", 0), s23.addElement(e16.querySelector(".popover-wrapper")).fromTo("opacity", 0.99, 0), r32.easing("ease").afterAddWrite((() => {
    t17.style.removeProperty("--width"), t17.classList.remove("popover-bottom"), o14.style.removeProperty("top"), o14.style.removeProperty("left"), o14.style.removeProperty("bottom"), o14.style.removeProperty("transform-origin");
  })).duration(150).addAnimation([i16, s23]);
};
var U3 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.__attachShadow(), this.didPresent = Jt(this, "ionPopoverDidPresent", 7), this.willPresent = Jt(this, "ionPopoverWillPresent", 7), this.willDismiss = Jt(this, "ionPopoverWillDismiss", 7), this.didDismiss = Jt(this, "ionPopoverDidDismiss", 7), this.didPresentShorthand = Jt(this, "didPresent", 7), this.willPresentShorthand = Jt(this, "willPresent", 7), this.willDismissShorthand = Jt(this, "willDismiss", 7), this.didDismissShorthand = Jt(this, "didDismiss", 7), this.ionMount = Jt(this, "ionMount", 7), this.parentPopover = null, this.coreDelegate = i8(), this.lockController = t11(), this.inline = false, this.focusDescendantOnPresent = false, this.presented = false, this.hasController = false, this.keyboardClose = true, this.backdropDismiss = true, this.showBackdrop = true, this.translucent = false, this.animated = true, this.triggerAction = "click", this.size = "auto", this.dismissOnSelect = false, this.reference = "trigger", this.side = "bottom", this.arrow = true, this.isOpen = false, this.keyboardEvents = false, this.focusTrap = true, this.keepContentsMounted = false, this.onBackdropTap = () => {
      this.dismiss(void 0, H3);
    }, this.onLifecycle = (t18) => {
      const e16 = this.usersElement, o14 = G4[t18.type];
      if (e16 && o14) {
        const r32 = new CustomEvent(o14, { bubbles: false, cancelable: false, detail: t18.detail });
        e16.dispatchEvent(r32);
      }
    }, this.configureTriggerInteraction = () => {
      const { trigger: t18, triggerAction: e16, el: o14, destroyTriggerInteraction: i16 } = this;
      if (i16 && i16(), void 0 === t18) return;
      const s23 = this.triggerEl = void 0 !== t18 ? document.getElementById(t18) : null;
      s23 ? this.destroyTriggerInteraction = ((t19, e17, o15) => {
        let r32 = [];
        switch (e17) {
          case "hover":
            let t20;
            r32 = [{ eventName: "mouseenter", callback: (e18) => __async(this, null, function* () {
              e18.stopPropagation(), t20 && clearTimeout(t20), t20 = setTimeout((() => {
                d2((() => {
                  o15.presentFromTrigger(e18), t20 = void 0;
                }));
              }), 100);
            }) }, { eventName: "mouseleave", callback: (e18) => {
              t20 && clearTimeout(t20);
              const r33 = e18.relatedTarget;
              r33 && r33.closest("ion-popover") !== o15 && o15.dismiss(void 0, void 0, false);
            } }, { eventName: "click", callback: (t21) => t21.stopPropagation() }, { eventName: "ionPopoverActivateTrigger", callback: (t21) => o15.presentFromTrigger(t21, true) }];
            break;
          case "context-menu":
            r32 = [{ eventName: "contextmenu", callback: (t21) => {
              t21.preventDefault(), o15.presentFromTrigger(t21);
            } }, { eventName: "click", callback: (t21) => t21.stopPropagation() }, { eventName: "ionPopoverActivateTrigger", callback: (t21) => o15.presentFromTrigger(t21, true) }];
            break;
          default:
            r32 = [{ eventName: "click", callback: (t21) => o15.presentFromTrigger(t21) }, { eventName: "ionPopoverActivateTrigger", callback: (t21) => o15.presentFromTrigger(t21, true) }];
        }
        return r32.forEach((({ eventName: e18, callback: o16 }) => t19.addEventListener(e18, o16))), t19.setAttribute("data-ion-popover-trigger", "true"), () => {
          r32.forEach((({ eventName: e18, callback: o16 }) => t19.removeEventListener(e18, o16))), t19.removeAttribute("data-ion-popover-trigger");
        };
      })(s23, e16, o14) : u(`[ion-popover] - A trigger element with the ID "${t18}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on ion-popover.`, this.el);
    }, this.configureKeyboardInteraction = () => {
      const { destroyKeyboardInteraction: t18, el: e16 } = this;
      t18 && t18(), this.destroyKeyboardInteraction = ((t19) => {
        const e17 = (e18) => __async(this, null, function* () {
          var o14;
          const r32 = document.activeElement;
          let i16 = [];
          const s23 = null === (o14 = e18.target) || void 0 === o14 ? void 0 : o14.tagName;
          if ("ION-POPOVER" === s23 || "ION-ITEM" === s23) {
            try {
              i16 = Array.from(t19.querySelectorAll("ion-item:not(ion-popover ion-popover *):not([disabled])"));
            } catch (t20) {
            }
            switch (e18.key) {
              case "ArrowLeft":
                (yield t19.getParentPopover()) && t19.dismiss(void 0, void 0, false);
                break;
              case "ArrowDown":
                e18.preventDefault();
                const o15 = ((t20, e19) => t20[j4(t20, e19) + 1])(i16, r32);
                void 0 !== o15 && z3(o15);
                break;
              case "ArrowUp":
                e18.preventDefault();
                const s24 = ((t20, e19) => t20[j4(t20, e19) - 1])(i16, r32);
                void 0 !== s24 && z3(s24);
                break;
              case "Home":
                e18.preventDefault();
                const n15 = i16[0];
                void 0 !== n15 && z3(n15);
                break;
              case "End":
                e18.preventDefault();
                const a17 = i16[i16.length - 1];
                void 0 !== a17 && z3(a17);
                break;
              case "ArrowRight":
              case " ":
              case "Enter":
                if (r32 && r32.hasAttribute("data-ion-popover-trigger")) {
                  const t20 = new CustomEvent("ionPopoverActivateTrigger");
                  r32.dispatchEvent(t20);
                }
            }
          }
        });
        return t19.addEventListener("keydown", e17), () => t19.removeEventListener("keydown", e17);
      })(e16);
    }, this.configureDismissInteraction = () => {
      const { destroyDismissInteraction: t18, parentPopover: e16, triggerAction: o14, triggerEl: r32, el: i16 } = this;
      e16 && r32 && (t18 && t18(), this.destroyDismissInteraction = ((t19, e17, o15, r33) => {
        let i17 = [];
        const s23 = c(r33).querySelector(".popover-content");
        return i17 = "hover" === e17 ? [{ eventName: "mouseenter", callback: (e18) => {
          document.elementFromPoint(e18.clientX, e18.clientY) !== t19 && o15.dismiss(void 0, void 0, false);
        } }] : [{ eventName: "click", callback: (e18) => {
          e18.target.closest("[data-ion-popover-trigger]") !== t19 ? o15.dismiss(void 0, void 0, false) : e18.stopPropagation();
        } }], i17.forEach((({ eventName: t20, callback: e18 }) => s23.addEventListener(t20, e18))), () => {
          i17.forEach((({ eventName: t20, callback: e18 }) => s23.removeEventListener(t20, e18)));
        };
      })(r32, o14, i16, e16));
    };
  }
  onTriggerChange() {
    this.configureTriggerInteraction();
  }
  onIsOpenChange(t17, e16) {
    true === t17 && false === e16 ? this.present() : false === t17 && true === e16 && this.dismiss();
  }
  connectedCallback() {
    const { configureTriggerInteraction: t17, el: e16 } = this;
    I3(e16), t17();
  }
  disconnectedCallback() {
    const { destroyTriggerInteraction: t17 } = this;
    t17 && t17(), this.headerResizeObserver && (this.headerResizeObserver.disconnect(), this.headerResizeObserver = void 0);
  }
  componentWillLoad() {
    var t17, e16;
    const { el: o14 } = this, r32 = null !== (e16 = null === (t17 = this.htmlAttributes) || void 0 === t17 ? void 0 : t17.id) && void 0 !== e16 ? e16 : N(o14);
    this.parentPopover = o14.closest(`ion-popover:not(#${r32})`), void 0 === this.alignment && (this.alignment = "ios" === g(this) ? "center" : "start");
  }
  componentDidLoad() {
    const { parentPopover: t17, isOpen: e16 } = this;
    true === e16 && d2((() => this.present())), t17 && l(t17, "ionPopoverWillDismiss", (() => {
      this.dismiss(void 0, void 0, false);
    })), this.configureTriggerInteraction();
  }
  presentFromTrigger(t17, e16 = false) {
    return __async(this, null, function* () {
      this.focusDescendantOnPresent = e16, yield this.present(t17), this.focusDescendantOnPresent = false;
    });
  }
  getDelegate(t17 = false) {
    if (this.workingDelegate && !t17) return { delegate: this.workingDelegate, inline: this.inline };
    const e16 = this.inline = null !== this.el.parentNode && !this.hasController;
    return { inline: e16, delegate: this.workingDelegate = e16 ? this.delegate || this.coreDelegate : this.delegate };
  }
  present(t17) {
    return __async(this, null, function* () {
      const e16 = yield this.lockController.lock();
      if (this.presented) return void e16();
      const { el: o14 } = this, { inline: r32, delegate: i16 } = this.getDelegate(true);
      this.ionMount.emit(), this.usersElement = yield o8(i16, o14, this.component, ["popover-viewport"], this.componentProps, r32), this.recalculateContentOnHeaderReady(), this.keyboardEvents || this.configureKeyboardInteraction(), this.configureDismissInteraction(), t(o14) ? yield B(this.usersElement) : this.keepContentsMounted || (yield L()), yield $(this, "popoverEnter", q5, K4, { event: t17 || this.event, size: this.size, trigger: this.triggerEl, reference: this.reference, side: this.side, align: this.alignment }), this.focusDescendantOnPresent && f5(o14), e16();
    });
  }
  recalculateContentOnHeaderReady() {
    var t17;
    const e16 = null === (t17 = this.el.shadowRoot) || void 0 === t17 ? void 0 : t17.querySelector(".popover-content");
    if (!e16) return;
    const o14 = this.usersElement || e16, r32 = o14.querySelector("ion-header"), i16 = o14.querySelectorAll("ion-content");
    r32 && 0 !== i16.length && (this.headerResizeObserver = new ResizeObserver((() => __async(this, null, function* () {
      var t18;
      if (r32.offsetHeight > 0) {
        null === (t18 = this.headerResizeObserver) || void 0 === t18 || t18.disconnect(), this.headerResizeObserver = void 0;
        for (const t19 of i16) yield t19.recalculateDimensions();
      }
    }))), this.headerResizeObserver.observe(r32));
  }
  dismiss(t17, e16, o14 = true) {
    return __async(this, null, function* () {
      const r32 = yield this.lockController.lock(), { destroyKeyboardInteraction: i16, destroyDismissInteraction: s23 } = this;
      o14 && this.parentPopover && this.parentPopover.dismiss(t17, e16, o14);
      const n15 = yield J(this, t17, e16, "popoverLeave", J3, Q4, this.event);
      if (n15) {
        i16 && (i16(), this.destroyKeyboardInteraction = void 0), s23 && (s23(), this.destroyDismissInteraction = void 0);
        const { delegate: t18 } = this.getDelegate();
        yield t9(t18, this.usersElement);
      }
      return r32(), n15;
    });
  }
  getParentPopover() {
    return __async(this, null, function* () {
      return this.parentPopover;
    });
  }
  onDidDismiss() {
    return q3(this.el, "ionPopoverDidDismiss");
  }
  onWillDismiss() {
    return q3(this.el, "ionPopoverWillDismiss");
  }
  render() {
    const t17 = g(this), { onLifecycle: e16, parentPopover: o14, dismissOnSelect: r32, side: n15, arrow: a17, htmlAttributes: p33, focusTrap: c36 } = this, d25 = s7("desktop"), l27 = a17 && !o14;
    return Ct(It, Object.assign({ key: "2edd8333c630efbce59071f8a383e4326e928dbc", "aria-modal": "true", "no-router": true, tabindex: "-1" }, p33, { style: { zIndex: `${2e4 + this.overlayIndex}` }, class: Object.assign(Object.assign({}, r5(this.cssClass)), { [t17]: true, "popover-translucent": this.translucent, "overlay-hidden": true, "popover-desktop": d25, [`popover-side-${n15}`]: true, [nn]: false === c36, "popover-nested": !!o14 }), onIonPopoverDidPresent: e16, onIonPopoverWillPresent: e16, onIonPopoverWillDismiss: e16, onIonPopoverDidDismiss: e16, onIonBackdropTap: this.onBackdropTap }), !o14 && Ct("ion-backdrop", { key: "aac4e68b08197534375e8ea3f8c9ea0c10ab2af4", tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), Ct("div", { key: "b7f4ebf57d4148b32856b0075d286f454be8de5d", class: "popover-wrapper ion-overlay-wrapper", onClick: r32 ? () => this.dismiss() : void 0 }, l27 && Ct("div", { key: "607d94c28d73e8e957175a7c0f6e8a99ec4dcd53", class: "popover-arrow", part: "arrow" }), Ct("div", { key: "4366a5a5de550c09895e923f345583508e1ec30c", class: "popover-content", part: "content" }, Ct("slot", { key: "eb7886fbc99c15b667b7d825d24f1c12d9380f03" }))));
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { trigger: [{ onTriggerChange: 0 }], triggerAction: [{ onTriggerChange: 0 }], isOpen: [{ onIsOpenChange: 0 }] };
  }
  static get style() {
    return { ios: ':host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;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;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;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);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host{--width:200px;--max-height:90%;--box-shadow:none;--backdrop-opacity:var(--ion-backdrop-opacity, 0.08)}:host(.popover-desktop){--box-shadow:0px 4px 16px 0px rgba(0, 0, 0, 0.12)}.popover-content{border-radius:10px}:host(.popover-desktop) .popover-content{border:0.5px solid var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.popover-arrow{display:block;position:absolute;width:20px;height:10px;overflow:hidden;z-index:11}.popover-arrow::after{top:3px;border-radius:3px;position:absolute;width:14px;height:14px;-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--background);content:"";z-index:10}.popover-arrow::after{inset-inline-start:3px}:host(.popover-bottom) .popover-arrow{top:auto;bottom:-10px}:host(.popover-bottom) .popover-arrow::after{top:-6px}:host(.popover-side-left) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host(.popover-side-right) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host(.popover-side-top) .popover-arrow{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.popover-side-start) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host-context([dir=rtl]):host(.popover-side-start) .popover-arrow,:host-context([dir=rtl]).popover-side-start .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}@supports selector(:dir(rtl)){:host(.popover-side-start:dir(rtl)) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}}:host(.popover-side-end) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host-context([dir=rtl]):host(.popover-side-end) .popover-arrow,:host-context([dir=rtl]).popover-side-end .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}@supports selector(:dir(rtl)){:host(.popover-side-end:dir(rtl)) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}}.popover-arrow,.popover-content{opacity:0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.popover-translucent) .popover-content,:host(.popover-translucent) .popover-arrow::after{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}', md: ":host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;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;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;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);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host{--width:250px;--max-height:90%;--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}.popover-content{border-radius:4px;-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]) .popover-content{-webkit-transform-origin:right top;transform-origin:right top}[dir=rtl] .popover-content{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.popover-content:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.popover-viewport{-webkit-transition-delay:100ms;transition-delay:100ms}.popover-wrapper{opacity:0}" };
  }
}, [289, "ion-popover", { hasController: [4, "has-controller"], delegate: [16], overlayIndex: [2, "overlay-index"], enterAnimation: [16], leaveAnimation: [16], component: [1], componentProps: [16], keyboardClose: [4, "keyboard-close"], cssClass: [1, "css-class"], backdropDismiss: [4, "backdrop-dismiss"], event: [8], showBackdrop: [4, "show-backdrop"], translucent: [4], animated: [4], htmlAttributes: [16], triggerAction: [1, "trigger-action"], trigger: [1], size: [1], dismissOnSelect: [4, "dismiss-on-select"], reference: [1], side: [1], alignment: [1025], arrow: [4], isOpen: [4, "is-open"], keyboardEvents: [4, "keyboard-events"], focusTrap: [4, "focus-trap"], keepContentsMounted: [4, "keep-contents-mounted"], presented: [32], presentFromTrigger: [64], present: [64], dismiss: [64], getParentPopover: [64], onDidDismiss: [64], onWillDismiss: [64] }, void 0, { trigger: [{ onTriggerChange: 0 }], triggerAction: [{ onTriggerChange: 0 }], isOpen: [{ onIsOpenChange: 0 }] }]);
var G4 = { ionPopoverDidPresent: "ionViewDidEnter", ionPopoverWillPresent: "ionViewWillEnter", ionPopoverWillDismiss: "ionViewWillLeave", ionPopoverDidDismiss: "ionViewDidLeave" };
function Z4() {
  "undefined" != typeof customElements && ["ion-popover", "ion-backdrop"].forEach(((t17) => {
    switch (t17) {
      case "ion-popover":
        customElements.get(Zn(t17)) || customElements.define(Zn(t17), U3);
        break;
      case "ion-backdrop":
        customElements.get(Zn(t17)) || c11();
    }
  }));
}

// node_modules/@ionic/core/components/ion-popover.js
var r7 = Z4;

// node_modules/@ionic/core/components/ion-accordion.js
var u9 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.__attachShadow(), this.accordionGroupUpdateHandler = () => {
      const t18 = this.accordionGroupEl;
      if (t18) {
        const i16 = t18.value, o14 = this.value, e16 = Array.isArray(i16) ? i16.includes(o14) : i16 === o14;
        this.hasReceivedFirstUpdate && e16 !== (4 === this.state || 8 === this.state) && (this.hasInteracted = true), void 0 !== i16 && (this.hasReceivedFirstUpdate = true);
      }
      this.updateState();
    }, this.state = 1, this.isNext = false, this.isPrevious = false, this.hasInteracted = false, this.hasEverBeenExpanded = false, this.hasReceivedFirstUpdate = false, this.value = "ion-accordion-" + b7++, this.disabled = false, this.readonly = false, this.toggleIcon = g3, this.toggleIconSlot = "end", this.setItemDefaults = () => {
      const t18 = this.getSlottedHeaderIonItem();
      t18 && (t18.button = true, t18.detail = false, void 0 === t18.lines && (t18.lines = "full"));
    }, this.getSlottedHeaderIonItem = () => {
      const { headerEl: t18 } = this;
      if (!t18) return;
      const i16 = t18.querySelector("slot");
      return i16 && void 0 !== i16.assignedElements ? i16.assignedElements().find(((t19) => "ION-ITEM" === t19.tagName)) : void 0;
    }, this.setAria = (t18 = false) => {
      const i16 = this.getSlottedHeaderIonItem();
      if (!i16) return;
      const o14 = c(i16).querySelector("button");
      o14 && o14.setAttribute("aria-expanded", "" + t18);
    }, this.slotToggleIcon = () => {
      const t18 = this.getSlottedHeaderIonItem();
      if (!t18) return;
      const { toggleIconSlot: i16, toggleIcon: o14 } = this;
      if (t18.querySelector(".ion-accordion-toggle-icon")) return;
      const e16 = document.createElement("ion-icon");
      e16.slot = i16, e16.lazy = false, e16.classList.add("ion-accordion-toggle-icon"), e16.icon = o14, e16.setAttribute("aria-hidden", "true"), t18.appendChild(e16);
    }, this.expandAccordion = () => {
      const { contentEl: t18, contentElWrapper: i16 } = this;
      if (void 0 === t18 || void 0 === i16) return this.state = 4, void (this.hasEverBeenExpanded = true);
      4 !== this.state && (void 0 !== this.currentRaf && cancelAnimationFrame(this.currentRaf), this.hasEverBeenExpanded = true, this.shouldAnimate() ? d2((() => {
        this.state = 8, this.currentRaf = d2((() => __async(this, null, function* () {
          const o14 = i16.offsetHeight, e16 = i(t18, 2e3);
          t18.style.setProperty("max-height", o14 + "px"), yield e16, this.state = 4, t18.style.removeProperty("max-height");
        })));
      })) : this.state = 4);
    }, this.collapseAccordion = () => {
      const { contentEl: t18 } = this;
      void 0 !== t18 ? 1 !== this.state && (void 0 !== this.currentRaf && cancelAnimationFrame(this.currentRaf), this.shouldAnimate() ? this.currentRaf = d2((() => __async(this, null, function* () {
        t18.style.setProperty("max-height", t18.offsetHeight + "px"), d2((() => __async(this, null, function* () {
          const i16 = i(t18, 2e3);
          this.state = 2, yield i16, this.state = 1, t18.style.removeProperty("max-height");
        })));
      }))) : this.state = 1) : this.state = 1;
    }, this.shouldAnimate = () => !(!this.hasInteracted || !this.hasEverBeenExpanded) && ("undefined" != typeof window && (!matchMedia("(prefers-reduced-motion: reduce)").matches && !(!n.get("animated", true) || this.accordionGroupEl && !this.accordionGroupEl.animated))), this.updateState = () => __async(this, null, function* () {
      const t18 = this.accordionGroupEl, i16 = this.value;
      if (!t18) return;
      const o14 = t18.value;
      if (Array.isArray(o14) ? o14.includes(i16) : o14 === i16) this.expandAccordion(), this.isNext = this.isPrevious = false;
      else {
        this.collapseAccordion();
        const t19 = this.getNextSibling(), i17 = null == t19 ? void 0 : t19.value;
        void 0 !== i17 && (this.isPrevious = Array.isArray(o14) ? o14.includes(i17) : o14 === i17);
        const e16 = this.getPreviousSibling(), n15 = null == e16 ? void 0 : e16.value;
        void 0 !== n15 && (this.isNext = Array.isArray(o14) ? o14.includes(n15) : o14 === n15);
      }
    }), this.getNextSibling = () => {
      if (!this.el) return;
      const t18 = this.el.nextElementSibling;
      return "ION-ACCORDION" === (null == t18 ? void 0 : t18.tagName) ? t18 : void 0;
    }, this.getPreviousSibling = () => {
      if (!this.el) return;
      const t18 = this.el.previousElementSibling;
      return "ION-ACCORDION" === (null == t18 ? void 0 : t18.tagName) ? t18 : void 0;
    };
  }
  valueChanged() {
    this.updateState();
  }
  connectedCallback() {
    var t17;
    const i16 = this.accordionGroupEl = null === (t17 = this.el) || void 0 === t17 ? void 0 : t17.closest("ion-accordion-group");
    i16 && (this.updateState(), l(i16, "ionValueChange", this.accordionGroupUpdateHandler));
  }
  disconnectedCallback() {
    const t17 = this.accordionGroupEl;
    t17 && u2(t17, "ionValueChange", this.accordionGroupUpdateHandler);
  }
  componentDidLoad() {
    this.setItemDefaults(), this.slotToggleIcon(), d2((() => {
      this.setAria(4 === this.state || 8 === this.state);
    }));
  }
  toggleExpanded() {
    const { accordionGroupEl: t17, disabled: i16, readonly: o14, value: e16, state: n15 } = this;
    i16 || o14 || (this.hasInteracted = true, !t17) || t17.requestAccordionToggle(e16, 1 === n15 || 2 === n15);
  }
  render() {
    const { disabled: t17, readonly: i16 } = this, o14 = g(this), e16 = 4 === this.state || 8 === this.state, a17 = e16 ? "header expanded" : "header", c36 = e16 ? "content expanded" : "content";
    return this.setAria(e16), Ct(It, { key: "5c58b3809a4636d69f0f9957ecf1f50c42cdfc03", class: { [o14]: true, "accordion-expanding": 8 === this.state, "accordion-expanded": 4 === this.state, "accordion-collapsing": 2 === this.state, "accordion-collapsed": 1 === this.state, "accordion-next": this.isNext, "accordion-previous": this.isPrevious, "accordion-disabled": t17, "accordion-readonly": i16, "accordion-animated": this.shouldAnimate() }, tabindex: t17 ? "-1" : void 0 }, Ct("div", { key: "f76bc02347639b41c9a5be8a9488a8be8559cba7", onClick: () => this.toggleExpanded(), id: "header", part: a17, "aria-controls": "content", ref: (t18) => this.headerEl = t18 }, Ct("slot", { key: "e01744bf0af3200239e82c60c632ed36295db2da", name: "header" })), Ct("div", { key: "c613345a7e244ee361f76ff4ebed139d2a1b9572", id: "content", part: c36, role: "region", "aria-labelledby": "header", ref: (t18) => this.contentEl = t18 }, Ct("div", { key: "943b65d9a129759b4c213974ae5ed777b5f6166e", id: "content-wrapper", ref: (t18) => this.contentElWrapper = t18 }, Ct("slot", { key: "b0df520dad9d5557df63a35f8206ada4a765d238", name: "content" }))));
  }
  static get delegatesFocus() {
    return true;
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { value: [{ valueChanged: 0 }] };
  }
  static get style() {
    return { ios: ":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}:host(.accordion-next) ::slotted(ion-item[slot=header]){--border-width:0.55px 0px 0.55px 0px}", md: ":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}" };
  }
}, [305, "ion-accordion", { value: [1], disabled: [4], readonly: [4], toggleIcon: [1, "toggle-icon"], toggleIconSlot: [1, "toggle-icon-slot"], state: [32], isNext: [32], isPrevious: [32], hasInteracted: [32] }, void 0, { value: [{ valueChanged: 0 }] }]);
var b7 = 0;
var f10 = function() {
  "undefined" != typeof customElements && ["ion-accordion", "ion-icon"].forEach(((t17) => {
    switch (t17) {
      case "ion-accordion":
        customElements.get(Zn(t17)) || customElements.define(Zn(t17), u9);
        break;
      case "ion-icon":
        customElements.get(Zn(t17)) || y6();
    }
  }));
};

// node_modules/@ionic/core/components/ion-accordion-group.js
var d7 = Dn(class extends I {
  constructor(o14) {
    super(), false !== o14 && this.__registerHost(), this.__attachShadow(), this.ionChange = Jt(this, "ionChange", 7), this.ionValueChange = Jt(this, "ionValueChange", 7), this.animated = true, this.disabled = false, this.readonly = false, this.expand = "compact";
  }
  valueChanged() {
    const { value: o14, multiple: n15 } = this;
    !n15 && Array.isArray(o14) && u(`[ion-accordion-group] - An array of values was passed, but multiple is "false". This is incorrect usage and may result in unexpected behaviors. To dismiss this warning, pass a string to the "value" property when multiple="false".

  Value Passed: [${o14.map(((o15) => `'${o15}'`)).join(", ")}]
`, this.el), this.ionValueChange.emit({ value: this.value });
  }
  disabledChanged() {
    return __async(this, null, function* () {
      const { disabled: o14 } = this, n15 = yield this.getAccordions();
      for (const i16 of n15) i16.disabled = o14;
    });
  }
  readonlyChanged() {
    return __async(this, null, function* () {
      const { readonly: o14 } = this, n15 = yield this.getAccordions();
      for (const i16 of n15) i16.readonly = o14;
    });
  }
  onKeydown(o14) {
    return __async(this, null, function* () {
      const n15 = document.activeElement;
      if (!n15) return;
      if (!n15.closest('ion-accordion [slot="header"]')) return;
      const i16 = "ION-ACCORDION" === n15.tagName ? n15 : n15.closest("ion-accordion");
      if (!i16) return;
      if (i16.closest("ion-accordion-group") !== this.el) return;
      const t17 = yield this.getAccordions(), e16 = t17.findIndex(((o15) => o15 === i16));
      if (-1 === e16) return;
      let a17;
      "ArrowDown" === o14.key ? a17 = this.findNextAccordion(t17, e16) : "ArrowUp" === o14.key ? a17 = this.findPreviousAccordion(t17, e16) : "Home" === o14.key ? a17 = t17[0] : "End" === o14.key && (a17 = t17[t17.length - 1]), void 0 !== a17 && a17 !== n15 && a17.focus();
    });
  }
  componentDidLoad() {
    return __async(this, null, function* () {
      this.disabled && this.disabledChanged(), this.readonly && this.readonlyChanged(), this.valueChanged();
    });
  }
  setValue(o14) {
    const n15 = this.value = o14;
    this.ionChange.emit({ value: n15 });
  }
  requestAccordionToggle(o14, n15) {
    return __async(this, null, function* () {
      const { multiple: i16, value: t17, readonly: e16, disabled: a17 } = this;
      if (!e16 && !a17) if (n15) if (i16) {
        const n16 = null != t17 ? t17 : [], i17 = Array.isArray(n16) ? n16 : [n16];
        void 0 === i17.find(((n17) => n17 === o14)) && void 0 !== o14 && this.setValue([...i17, o14]);
      } else this.setValue(o14);
      else if (i16) {
        const n16 = null != t17 ? t17 : [];
        this.setValue((Array.isArray(n16) ? n16 : [n16]).filter(((n17) => n17 !== o14)));
      } else this.setValue(void 0);
    });
  }
  findNextAccordion(o14, n15) {
    const i16 = o14[n15 + 1];
    return void 0 === i16 ? o14[0] : i16;
  }
  findPreviousAccordion(o14, n15) {
    const i16 = o14[n15 - 1];
    return void 0 === i16 ? o14[o14.length - 1] : i16;
  }
  getAccordions() {
    return __async(this, null, function* () {
      return Array.from(this.el.querySelectorAll(":scope > ion-accordion"));
    });
  }
  render() {
    const { disabled: o14, readonly: n15, expand: i16 } = this, t17 = g(this);
    return Ct(It, { key: "d1a79a93179474fbba66fcf11a92f4871dacc975", class: { [t17]: true, "accordion-group-disabled": o14, "accordion-group-readonly": n15, ["accordion-group-expand-" + i16]: true }, role: "presentation" }, Ct("slot", { key: "e6b8954b686d1fbb4fc92adb07fddc97a24b0a31" }));
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { value: [{ valueChanged: 0 }], disabled: [{ disabledChanged: 0 }], readonly: [{ readonlyChanged: 0 }] };
  }
  static get style() {
    return { ios: ":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){border-bottom:none}", md: ":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion){-webkit-box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;border-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous){border-end-end-radius:6px;border-end-start-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next){border-start-start-radius:6px;border-start-end-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion):first-of-type{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}" };
  }
}, [289, "ion-accordion-group", { animated: [4], multiple: [4], value: [1025], disabled: [4], readonly: [4], expand: [1], requestAccordionToggle: [64], getAccordions: [64] }, [[0, "keydown", "onKeydown"]], { value: [{ valueChanged: 0 }], disabled: [{ disabledChanged: 0 }], readonly: [{ readonlyChanged: 0 }] }]);
var p9 = function() {
  "undefined" != typeof customElements && ["ion-accordion-group"].forEach(((o14) => {
    "ion-accordion-group" === o14 && (customElements.get(Zn(o14)) || customElements.define(Zn(o14), d7));
  }));
};

// node_modules/@ionic/core/components/p-cyNmxje6.js
var n7;
var s10;
!(function(t17) {
  t17.Heavy = "HEAVY", t17.Medium = "MEDIUM", t17.Light = "LIGHT";
})(n7 || (n7 = {})), (function(t17) {
  t17.Success = "SUCCESS", t17.Warning = "WARNING", t17.Error = "ERROR";
})(s10 || (s10 = {}));
var i10 = { getEngine() {
  const n15 = r3();
  if (null == n15 ? void 0 : n15.isPluginAvailable("Haptics")) return n15.Plugins.Haptics;
}, available() {
  if (!this.getEngine()) return false;
  const n15 = r3();
  return "web" !== (null == n15 ? void 0 : n15.getPlatform()) || "undefined" != typeof navigator && void 0 !== navigator.vibrate;
}, impact(t17) {
  const n15 = this.getEngine();
  n15 && n15.impact({ style: t17.style });
}, notification(t17) {
  const n15 = this.getEngine();
  n15 && n15.notification({ type: t17.type });
}, selection() {
  this.impact({ style: n7.Light });
}, selectionStart() {
  const t17 = this.getEngine();
  t17 && t17.selectionStart();
}, selectionChanged() {
  const t17 = this.getEngine();
  t17 && t17.selectionChanged();
}, selectionEnd() {
  const t17 = this.getEngine();
  t17 && t17.selectionEnd();
} };
var o10 = () => i10.available();
var e10 = () => {
  o10() && i10.selection();
};
var a9 = () => {
  o10() && i10.selectionStart();
};
var c12 = () => {
  o10() && i10.selectionChanged();
};
var r8 = () => {
  o10() && i10.selectionEnd();
};
var l10 = (t17) => {
  o10() && i10.impact(t17);
};

// node_modules/@ionic/core/components/p-C4jPsTQa.js
var s11 = (s23, a17) => {
  let i16, c36;
  const d25 = (t17, o14, e16) => {
    if ("undefined" == typeof document) return;
    const n15 = document.elementFromPoint(t17, o14);
    n15 && a17(n15) && !n15.disabled ? n15 !== i16 && (f27(), m28(n15, e16)) : f27();
  }, m28 = (o14, e16) => {
    i16 = o14, c36 || (c36 = i16);
    const n15 = i16;
    P((() => n15.classList.add("ion-activated"))), e16();
  }, f27 = (o14 = false) => {
    if (!i16) return;
    const e16 = i16;
    P((() => e16.classList.remove("ion-activated"))), o14 && c36 !== i16 && i16.click(), i16 = void 0;
  };
  return s4({ el: s23, gestureName: "buttonActiveDrag", threshold: 0, onStart: (t17) => d25(t17.currentX, t17.currentY, a9), onMove: (t17) => d25(t17.currentX, t17.currentY, c12), onEnd: () => {
    f27(true), r8(), c36 = void 0;
  } });
};

// node_modules/@ionic/core/components/p-1KVKSLu5.js
var D4 = (t17) => {
  const o14 = r(), e16 = r(), i16 = r();
  return e16.addElement(t17.querySelector("ion-backdrop")).fromTo("opacity", 0.01, "var(--backdrop-opacity)").beforeStyles({ "pointer-events": "none" }).afterClearStyles(["pointer-events"]), i16.addElement(t17.querySelector(".action-sheet-wrapper")).fromTo("transform", "translateY(100%)", "translateY(0%)"), o14.addElement(t17).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([e16, i16]);
};
var A2 = (t17) => {
  const o14 = r(), e16 = r(), i16 = r();
  return e16.addElement(t17.querySelector("ion-backdrop")).fromTo("opacity", "var(--backdrop-opacity)", 0), i16.addElement(t17.querySelector(".action-sheet-wrapper")).fromTo("transform", "translateY(0%)", "translateY(100%)"), o14.addElement(t17).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([e16, i16]);
};
var O5 = (t17) => {
  const o14 = r(), e16 = r(), i16 = r();
  return e16.addElement(t17.querySelector("ion-backdrop")).fromTo("opacity", 0.01, "var(--backdrop-opacity)").beforeStyles({ "pointer-events": "none" }).afterClearStyles(["pointer-events"]), i16.addElement(t17.querySelector(".action-sheet-wrapper")).fromTo("transform", "translateY(100%)", "translateY(0%)"), o14.addElement(t17).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([e16, i16]);
};
var I4 = (t17) => {
  const o14 = r(), e16 = r(), i16 = r();
  return e16.addElement(t17.querySelector("ion-backdrop")).fromTo("opacity", "var(--backdrop-opacity)", 0), i16.addElement(t17.querySelector(".action-sheet-wrapper")).fromTo("transform", "translateY(0%)", "translateY(100%)"), o14.addElement(t17).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([e16, i16]);
};
var B6 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.didPresent = Jt(this, "ionActionSheetDidPresent", 7), this.willPresent = Jt(this, "ionActionSheetWillPresent", 7), this.willDismiss = Jt(this, "ionActionSheetWillDismiss", 7), this.didDismiss = Jt(this, "ionActionSheetDidDismiss", 7), this.didPresentShorthand = Jt(this, "didPresent", 7), this.willPresentShorthand = Jt(this, "willPresent", 7), this.willDismissShorthand = Jt(this, "willDismiss", 7), this.didDismissShorthand = Jt(this, "didDismiss", 7), this.delegateController = X2(this), this.lockController = t11(), this.triggerController = Y2(), this.hasRadioButtons = false, this.presented = false, this.hasController = false, this.keyboardClose = true, this.buttons = [], this.backdropDismiss = true, this.translucent = false, this.animated = true, this.isOpen = false, this.onBackdropTap = () => {
      this.dismiss(void 0, H3);
    }, this.dispatchCancelHandler = (t18) => {
      if (Q2(t18.detail.role)) {
        const t19 = this.getButtons().find(((t20) => "cancel" === t20.role));
        this.callButtonHandler(t19);
      }
    };
  }
  buttonsChanged() {
    const t17 = this.getRadioButtons();
    if (this.hasRadioButtons = t17.length > 0, this.hasRadioButtons) {
      const o14 = t17.find(((t18) => {
        var o15;
        return "true" === (null === (o15 = t18.htmlAttributes) || void 0 === o15 ? void 0 : o15["aria-checked"]);
      }));
      if (o14) {
        const t18 = this.getButtons().indexOf(o14);
        this.activeRadioId = this.getButtonId(o14, t18);
      }
    }
  }
  onIsOpenChange(t17, o14) {
    true === t17 && false === o14 ? this.present() : false === t17 && true === o14 && this.dismiss();
  }
  triggerChanged() {
    const { trigger: t17, el: o14, triggerController: e16 } = this;
    t17 && e16.addClickListener(o14, t17);
  }
  present() {
    return __async(this, null, function* () {
      const t17 = yield this.lockController.lock();
      yield this.delegateController.attachViewToDom(), yield $(this, "actionSheetEnter", D4, O5), t17();
    });
  }
  dismiss(t17, o14) {
    return __async(this, null, function* () {
      const e16 = yield this.lockController.lock(), i16 = yield J(this, t17, o14, "actionSheetLeave", A2, I4);
      return i16 && this.delegateController.removeViewFromDom(), e16(), i16;
    });
  }
  onDidDismiss() {
    return q3(this.el, "ionActionSheetDidDismiss");
  }
  onWillDismiss() {
    return q3(this.el, "ionActionSheetWillDismiss");
  }
  buttonClick(t17) {
    return __async(this, null, function* () {
      const o14 = t17.role;
      return Q2(o14) ? this.dismiss(t17.data, o14) : (yield this.callButtonHandler(t17)) ? this.dismiss(t17.data, t17.role) : Promise.resolve();
    });
  }
  callButtonHandler(t17) {
    return __async(this, null, function* () {
      return !t17 || false !== (yield _2(t17.handler));
    });
  }
  getButtons() {
    return this.buttons.map(((t17) => "string" == typeof t17 ? { text: t17 } : t17));
  }
  getRadioButtons() {
    return this.getButtons().filter(((t17) => {
      var o14;
      const e16 = null === (o14 = t17.htmlAttributes) || void 0 === o14 ? void 0 : o14.role;
      return "radio" === e16 && !Q2(e16);
    }));
  }
  selectRadioButton(t17) {
    const o14 = this.getButtonId(t17);
    this.activeRadioId = o14;
  }
  getButtonId(t17, o14) {
    if (t17.id) return t17.id;
    const e16 = this.getButtons(), i16 = void 0 !== o14 ? o14 : e16.indexOf(t17);
    return `action-sheet-button-${this.overlayIndex}-${i16}`;
  }
  onKeydown(t17) {
    if (!this.hasRadioButtons || !this.presented) return;
    const o14 = t17.target;
    if (!this.el.contains(o14) || !o14.classList.contains("action-sheet-button") || "radio" !== o14.getAttribute("role")) return;
    const e16 = Array.from(this.el.querySelectorAll('.action-sheet-button[role="radio"]')).filter(((t18) => !t18.disabled)), i16 = e16.findIndex(((t18) => t18.id === o14.id));
    if (-1 === i16) return;
    const n15 = this.getButtons(), a17 = this.getRadioButtons(), s23 = /* @__PURE__ */ new Map();
    let r32;
    if (a17.forEach(((t18) => {
      const o15 = n15.indexOf(t18), e17 = this.getButtonId(t18, o15);
      s23.set(e17, t18);
    })), ["ArrowDown", "ArrowRight"].includes(t17.key)) t17.preventDefault(), t17.stopPropagation(), r32 = i16 === e16.length - 1 ? e16[0] : e16[i16 + 1];
    else if (["ArrowUp", "ArrowLeft"].includes(t17.key)) t17.preventDefault(), t17.stopPropagation(), r32 = 0 === i16 ? e16[e16.length - 1] : e16[i16 - 1];
    else if (" " === t17.key || "Enter" === t17.key) {
      t17.preventDefault(), t17.stopPropagation();
      const e17 = s23.get(o14.id);
      return void (e17 && (this.selectRadioButton(e17), this.buttonClick(e17)));
    }
    if (r32) {
      const t18 = s23.get(r32.id);
      t18 && (this.selectRadioButton(t18), r32.focus());
    }
  }
  connectedCallback() {
    I3(this.el), this.triggerChanged();
  }
  disconnectedCallback() {
    this.gesture && (this.gesture.destroy(), this.gesture = void 0), this.triggerController.removeClickListener();
  }
  componentWillLoad() {
    var t17;
    (null === (t17 = this.htmlAttributes) || void 0 === t17 ? void 0 : t17.id) || N(this.el), this.buttonsChanged();
  }
  componentDidLoad() {
    const { groupEl: t17, wrapperEl: o14 } = this;
    !this.gesture && "ios" === g(this) && o14 && t17 && W((() => {
      t17.scrollHeight > t17.clientHeight || (this.gesture = s11(o14, ((t18) => t18.classList.contains("action-sheet-button"))), this.gesture.enable(true));
    })), true === this.isOpen && d2((() => this.present())), this.triggerChanged();
  }
  renderActionSheetButtons(t17) {
    const o14 = g(this), { activeRadioId: e16 } = this;
    return t17.map(((t18, i16) => {
      var a17;
      const s23 = "radio" === (null === (a17 = t18.htmlAttributes) || void 0 === a17 ? void 0 : a17.role), r32 = this.getButtonId(t18, i16), c36 = this.getRadioButtons(), d25 = s23 && r32 === e16;
      let l27;
      l27 = s23 ? d25 || !e16 && s23 && t18 === c36[0] ? 0 : -1 : void 0;
      const h21 = Object.assign({}, t18.htmlAttributes);
      return s23 && (h21["aria-checked"] = d25 ? "true" : "false"), Ct("button", Object.assign({}, h21, { role: s23 ? "radio" : void 0, type: "button", id: r32, class: Object.assign(Object.assign({}, E5(t18)), { "action-sheet-selected": d25 }), onClick: () => {
        s23 && this.selectRadioButton(t18), this.buttonClick(t18);
      }, disabled: t18.disabled, tabIndex: l27 }), Ct("span", { class: "action-sheet-button-inner" }, t18.icon && Ct("ion-icon", { icon: t18.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" }), t18.text), "md" === o14 && Ct("ion-ripple-effect", null));
    }));
  }
  render() {
    const { header: t17, htmlAttributes: o14, overlayIndex: e16, hasRadioButtons: i16 } = this, s23 = g(this), r32 = this.getButtons(), c36 = r32.find(((t18) => "cancel" === t18.role)), d25 = r32.filter(((t18) => "cancel" !== t18.role)), l27 = `action-sheet-${e16}-header`;
    return Ct(It, Object.assign({ key: "173fcff5b1da7c33c267de4667591c946b8c8d03", role: "dialog", "aria-modal": "true", "aria-labelledby": void 0 !== t17 ? l27 : null, tabindex: "-1" }, o14, { style: { zIndex: `${2e4 + this.overlayIndex}` }, class: Object.assign(Object.assign({ [s23]: true }, r5(this.cssClass)), { "overlay-hidden": true, "action-sheet-translucent": this.translucent }), onIonActionSheetWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }), Ct("ion-backdrop", { key: "521ede659f747864f6c974e09016436eceb7158c", tappable: this.backdropDismiss }), Ct("div", { key: "7a7946fc434bc444f16a70638f5e948c69d33fcd", tabindex: "0", "aria-hidden": "true" }), Ct("div", { key: "bcff39a580489dbafa255842e57aa8602c6d0f18", class: "action-sheet-wrapper ion-overlay-wrapper", ref: (t18) => this.wrapperEl = t18 }, Ct("div", { key: "84bba13ce14261f0f0daa3f9c77648c9e7f36e0e", class: "action-sheet-container" }, Ct("div", { key: "d9c8ac404fd6719a7adf8cb36549f67616f9a0c4", class: "action-sheet-group", ref: (t18) => this.groupEl = t18, role: i16 ? "radiogroup" : void 0 }, void 0 !== t17 && Ct("div", { key: "180433a8ad03ef5c54728a1a8f34715b6921d658", id: l27, class: { "action-sheet-title": true, "action-sheet-has-sub-title": void 0 !== this.subHeader } }, t17, this.subHeader && Ct("div", { key: "7138e79e61b1a8f42bc5a9175c57fa2f15d7ec5a", class: "action-sheet-sub-title" }, this.subHeader)), this.renderActionSheetButtons(d25)), c36 && Ct("div", { key: "b617c722f5b8028d73ed34b69310f312c65f34a7", class: "action-sheet-group action-sheet-group-cancel" }, Ct("button", Object.assign({ key: "d0dd876fc48815df3710413c201c0b445a8e16c0" }, c36.htmlAttributes, { type: "button", class: E5(c36), onClick: () => this.buttonClick(c36) }), Ct("span", { key: "e7b960157cc6fc5fe92a12090b2be55e8ae072e4", class: "action-sheet-button-inner" }, c36.icon && Ct("ion-icon", { key: "05498ffc60cab911dbff0ecbc6168dea59ada9a5", icon: c36.icon, "aria-hidden": "true", lazy: false, class: "action-sheet-icon" }), c36.text), "md" === s23 && Ct("ion-ripple-effect", { key: "3d401346cea301be4ca03671f7370f6f4b0b6bde" }))))), Ct("div", { key: "971f3c5fcc07f36c28eb469a47ec0290c692e139", tabindex: "0", "aria-hidden": "true" }));
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { buttons: [{ buttonsChanged: 0 }], isOpen: [{ onIsOpenChange: 0 }], trigger: [{ triggerChanged: 0 }] };
  }
  static get style() {
    return { ios: '.sc-ion-action-sheet-ios-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-ios-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-ios{left:0;right:0;bottom:0;-webkit-transform:translate3d(0,  100%,  0);transform:translate3d(0,  100%,  0);display:block;position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);z-index:10;pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ios:disabled{color:var(--button-color-disabled);opacity:0.4}.action-sheet-button-inner.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:calc(100vh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)));max-height:calc(100dvh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)))}.action-sheet-group.sc-ion-action-sheet-ios{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}@media (any-pointer: coarse){.action-sheet-group.sc-ion-action-sheet-ios::-webkit-scrollbar{display:none}}.action-sheet-group-cancel.sc-ion-action-sheet-ios{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ios::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-ios{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios{color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-ios:not(:disabled):hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-ios:not(:disabled):hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, var(--ion-background-color-step-100, #f9f9f9)));--backdrop-opacity:var(--ion-backdrop-opacity, 0.4);--button-background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent;--button-background-activated:var(--ion-text-color, #000);--button-background-activated-opacity:.08;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-background-selected:var(--ion-color-step-150, var(--ion-background-color-step-150, var(--ion-background-color, #fff)));--button-background-selected-opacity:1;--button-color:var(--ion-color-primary, #0054e9);--button-color-disabled:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--color:var(--ion-color-step-400, var(--ion-text-color-step-600, #999999));text-align:center}.action-sheet-wrapper.sc-ion-action-sheet-ios{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);padding-bottom:var(--ion-safe-area-bottom, 0);-webkit-box-sizing:content-box;box-sizing:content-box}.action-sheet-container.sc-ion-action-sheet-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0}.action-sheet-group.sc-ion-action-sheet-ios{border-radius:13px;margin-bottom:8px}.action-sheet-group.sc-ion-action-sheet-ios:first-child{margin-top:10px}.action-sheet-group.sc-ion-action-sheet-ios:last-child{margin-bottom:10px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-group.sc-ion-action-sheet-ios{background-color:transparent;-webkit-backdrop-filter:saturate(280%) blur(20px);backdrop-filter:saturate(280%) blur(20px)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-title.sc-ion-action-sheet-ios,.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.sc-ion-action-sheet-ios{background-color:transparent;background-image:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8))), -webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background-image:linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%), linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4) 50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 50%);background-repeat:no-repeat;background-position:top, bottom;background-size:100% calc(100% - 1px), 100% 1px;-webkit-backdrop-filter:saturate(120%);backdrop-filter:saturate(120%)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.ion-activated.sc-ion-action-sheet-ios{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.7);background-image:none}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-cancel.sc-ion-action-sheet-ios{background:var(--button-background-selected)}}.action-sheet-title.sc-ion-action-sheet-ios{background:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, transparent)) bottom/100% 1px no-repeat transparent;background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent}.action-sheet-title.sc-ion-action-sheet-ios{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:14px;padding-bottom:13px;color:var(--color, var(--ion-color-step-400, var(--ion-text-color-step-600, #999999)));font-size:max(13px, 0.8125rem);font-weight:400;text-align:center}.action-sheet-title.action-sheet-has-sub-title.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-sub-title.sc-ion-action-sheet-ios{padding-left:0;padding-right:0;padding-top:6px;padding-bottom:0;font-size:max(13px, 0.8125rem);font-weight:400}.action-sheet-button.sc-ion-action-sheet-ios{-webkit-padding-start:14px;padding-inline-start:14px;-webkit-padding-end:14px;padding-inline-end:14px;padding-top:14px;padding-bottom:14px;min-height:56px;font-size:max(20px, 1.25rem);contain:content}.action-sheet-button.sc-ion-action-sheet-ios .action-sheet-icon.sc-ion-action-sheet-ios{-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:max(28px, 1.75rem);pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios:last-child{background-image:none}.action-sheet-selected.sc-ion-action-sheet-ios{font-weight:bold}.action-sheet-cancel.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-cancel.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-destructive.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-activated.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-focused.sc-ion-action-sheet-ios{color:var(--ion-color-danger, #c5000f)}@media (any-hover: hover){.action-sheet-destructive.sc-ion-action-sheet-ios:hover{color:var(--ion-color-danger, #c5000f)}}', md: '.sc-ion-action-sheet-md-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-md-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-md{left:0;right:0;bottom:0;-webkit-transform:translate3d(0,  100%,  0);transform:translate3d(0,  100%,  0);display:block;position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);z-index:10;pointer-events:none}.action-sheet-button.sc-ion-action-sheet-md{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-md:disabled{color:var(--button-color-disabled);opacity:0.4}.action-sheet-button-inner.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:calc(100vh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)));max-height:calc(100dvh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)))}.action-sheet-group.sc-ion-action-sheet-md{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}@media (any-pointer: coarse){.action-sheet-group.sc-ion-action-sheet-md::-webkit-scrollbar{display:none}}.action-sheet-group-cancel.sc-ion-action-sheet-md{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-md::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-md{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-md::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md{color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-md:not(:disabled):hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-md:not(:disabled):hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);--button-background:transparent;--button-background-selected:currentColor;--button-background-selected-opacity:0;--button-background-activated:transparent;--button-background-activated-opacity:0;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--button-color-disabled:var(--button-color);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}.action-sheet-wrapper.sc-ion-action-sheet-md{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);margin-bottom:0}.action-sheet-title.sc-ion-action-sheet-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:20px;padding-bottom:17px;min-height:60px;color:var(--color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54));font-size:1rem;text-align:start}.action-sheet-sub-title.sc-ion-action-sheet-md{padding-left:0;padding-right:0;padding-top:16px;padding-bottom:0;font-size:0.875rem}.action-sheet-group.sc-ion-action-sheet-md:first-child{padding-top:0}.action-sheet-group.sc-ion-action-sheet-md:last-child{padding-bottom:var(--ion-safe-area-bottom)}.action-sheet-button.sc-ion-action-sheet-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:12px;position:relative;min-height:52px;font-size:1rem;text-align:start;contain:content;overflow:hidden}.action-sheet-icon.sc-ion-action-sheet-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:0;margin-bottom:0;color:var(--color);font-size:1.5rem}.action-sheet-button-inner.sc-ion-action-sheet-md{-ms-flex-pack:start;justify-content:flex-start}.action-sheet-selected.sc-ion-action-sheet-md{font-weight:bold}' };
  }
}, [34, "ion-action-sheet", { overlayIndex: [2, "overlay-index"], delegate: [16], hasController: [4, "has-controller"], keyboardClose: [4, "keyboard-close"], enterAnimation: [16], leaveAnimation: [16], buttons: [16], cssClass: [1, "css-class"], backdropDismiss: [4, "backdrop-dismiss"], header: [1], subHeader: [1, "sub-header"], translucent: [4], animated: [4], htmlAttributes: [16], isOpen: [4, "is-open"], trigger: [1], activeRadioId: [32], present: [64], dismiss: [64], onDidDismiss: [64], onWillDismiss: [64] }, [[0, "keydown", "onKeydown"]], { buttons: [{ buttonsChanged: 0 }], isOpen: [{ onIsOpenChange: 0 }], trigger: [{ triggerChanged: 0 }] }]);
var E5 = (t17) => Object.assign({ "action-sheet-button": true, "ion-activatable": !t17.disabled, "ion-focusable": !t17.disabled, [`action-sheet-${t17.role}`]: void 0 !== t17.role }, r5(t17.cssClass));
function S5() {
  "undefined" != typeof customElements && ["ion-action-sheet", "ion-backdrop", "ion-icon", "ion-ripple-effect"].forEach(((t17) => {
    switch (t17) {
      case "ion-action-sheet":
        customElements.get(Zn(t17)) || customElements.define(Zn(t17), B6);
        break;
      case "ion-backdrop":
        customElements.get(Zn(t17)) || c11();
        break;
      case "ion-icon":
        customElements.get(Zn(t17)) || y6();
        break;
      case "ion-ripple-effect":
        customElements.get(Zn(t17)) || p7();
    }
  }));
}

// node_modules/@ionic/core/components/ion-action-sheet.js
var r9 = S5;

// node_modules/@ionic/core/components/p-CH0NYjKq.js
var I5 = (t17) => {
  const e16 = r(), i16 = r(), r32 = r();
  return i16.addElement(t17.querySelector("ion-backdrop")).fromTo("opacity", 0.01, "var(--backdrop-opacity)").beforeStyles({ "pointer-events": "none" }).afterClearStyles(["pointer-events"]), r32.addElement(t17.querySelector(".alert-wrapper")).keyframes([{ offset: 0, opacity: "0.01", transform: "scale(1.1)" }, { offset: 1, opacity: "1", transform: "scale(1)" }]), e16.addElement(t17).easing("ease-in-out").duration(200).addAnimation([i16, r32]);
};
var $2 = (t17) => {
  const e16 = r(), i16 = r(), r32 = r();
  return i16.addElement(t17.querySelector("ion-backdrop")).fromTo("opacity", "var(--backdrop-opacity)", 0), r32.addElement(t17.querySelector(".alert-wrapper")).keyframes([{ offset: 0, opacity: 0.99, transform: "scale(1)" }, { offset: 1, opacity: 0, transform: "scale(0.9)" }]), e16.addElement(t17).easing("ease-in-out").duration(200).addAnimation([i16, r32]);
};
var E6 = (t17) => {
  const e16 = r(), i16 = r(), r32 = r();
  return i16.addElement(t17.querySelector("ion-backdrop")).fromTo("opacity", 0.01, "var(--backdrop-opacity)").beforeStyles({ "pointer-events": "none" }).afterClearStyles(["pointer-events"]), r32.addElement(t17.querySelector(".alert-wrapper")).keyframes([{ offset: 0, opacity: "0.01", transform: "scale(0.9)" }, { offset: 1, opacity: "1", transform: "scale(1)" }]), e16.addElement(t17).easing("ease-in-out").duration(150).addAnimation([i16, r32]);
};
var T4 = (t17) => {
  const e16 = r(), i16 = r(), r32 = r();
  return i16.addElement(t17.querySelector("ion-backdrop")).fromTo("opacity", "var(--backdrop-opacity)", 0), r32.addElement(t17.querySelector(".alert-wrapper")).fromTo("opacity", 0.99, 0), e16.addElement(t17).easing("ease-in-out").duration(150).addAnimation([i16, r32]);
};
var B7 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.didPresent = Jt(this, "ionAlertDidPresent", 7), this.willPresent = Jt(this, "ionAlertWillPresent", 7), this.willDismiss = Jt(this, "ionAlertWillDismiss", 7), this.didDismiss = Jt(this, "ionAlertDidDismiss", 7), this.didPresentShorthand = Jt(this, "didPresent", 7), this.willPresentShorthand = Jt(this, "willPresent", 7), this.willDismissShorthand = Jt(this, "willDismiss", 7), this.didDismissShorthand = Jt(this, "didDismiss", 7), this.delegateController = X2(this), this.lockController = t11(), this.triggerController = Y2(), this.customHTMLEnabled = n.get("innerHTMLTemplatesEnabled", l5), this.processedInputs = [], this.processedButtons = [], this.presented = false, this.hasController = false, this.keyboardClose = true, this.buttons = [], this.inputs = [], this.backdropDismiss = true, this.translucent = false, this.animated = true, this.isOpen = false, this.onBackdropTap = () => {
      this.dismiss(void 0, H3);
    }, this.dispatchCancelHandler = (t18) => {
      if (Q2(t18.detail.role)) {
        const t19 = this.processedButtons.find(((t20) => "cancel" === t20.role));
        this.callButtonHandler(t19);
      }
    };
  }
  onIsOpenChange(t17, e16) {
    true === t17 && false === e16 ? this.present() : false === t17 && true === e16 && this.dismiss();
  }
  triggerChanged() {
    const { trigger: t17, el: e16, triggerController: i16 } = this;
    t17 && i16.addClickListener(e16, t17);
  }
  onKeydown(t17) {
    var e16;
    const i16 = new Set(this.processedInputs.map(((t18) => t18.type)));
    if (i16.has("checkbox") && "Enter" === t17.key) return void t17.preventDefault();
    if (t17.target.classList.contains("alert-wrapper") && "Tab" === t17.key && t17.shiftKey) return t17.preventDefault(), void (null === (e16 = this.wrapperEl) || void 0 === e16 ? void 0 : e16.querySelector(".alert-button:last-child")).focus();
    if (!i16.has("radio") || t17.target && !this.el.contains(t17.target) || t17.target.classList.contains("alert-button")) return;
    const r32 = this.el.querySelectorAll(".alert-radio"), o14 = Array.from(r32).filter(((t18) => !t18.disabled)), a17 = o14.findIndex(((e17) => e17.id === t17.target.id));
    let n15;
    if (["ArrowDown", "ArrowRight"].includes(t17.key) && (n15 = a17 === o14.length - 1 ? o14[0] : o14[a17 + 1]), ["ArrowUp", "ArrowLeft"].includes(t17.key) && (n15 = 0 === a17 ? o14[o14.length - 1] : o14[a17 - 1]), n15 && o14.includes(n15)) {
      const t18 = this.processedInputs.find(((t19) => t19.id === (null == n15 ? void 0 : n15.id)));
      t18 && (this.rbClick(t18), n15.focus());
    }
  }
  buttonsChanged() {
    this.processedButtons = this.buttons.map(((t17) => "string" == typeof t17 ? { text: t17, role: "cancel" === t17.toLowerCase() ? "cancel" : void 0 } : t17));
  }
  inputsChanged() {
    const t17 = this.inputs, e16 = t17.find(((t18) => !t18.disabled)), i16 = t17.find(((t18) => t18.checked && !t18.disabled)) || e16, r32 = new Set(t17.map(((t18) => t18.type)));
    r32.has("checkbox") && r32.has("radio") && u(`[ion-alert] - Alert cannot mix input types: ${Array.from(r32.values()).join("/")}. Please see alert docs for more info.`), this.inputType = r32.values().next().value, this.processedInputs = t17.map(((t18, e17) => {
      var r33;
      return { type: t18.type || "text", name: t18.name || `${e17}`, placeholder: t18.placeholder || "", value: t18.value, label: t18.label, checked: !!t18.checked, disabled: !!t18.disabled, id: t18.id || `alert-input-${this.overlayIndex}-${e17}`, handler: t18.handler, min: t18.min, max: t18.max, cssClass: null !== (r33 = t18.cssClass) && void 0 !== r33 ? r33 : "", attributes: t18.attributes || {}, tabindex: "radio" === t18.type && t18 !== i16 ? -1 : 0 };
    }));
  }
  connectedCallback() {
    I3(this.el), this.triggerChanged();
  }
  componentWillLoad() {
    var t17;
    (null === (t17 = this.htmlAttributes) || void 0 === t17 ? void 0 : t17.id) || N(this.el), this.inputsChanged(), this.buttonsChanged();
  }
  disconnectedCallback() {
    this.triggerController.removeClickListener(), this.gesture && (this.gesture.destroy(), this.gesture = void 0);
  }
  componentDidLoad() {
    !this.gesture && "ios" === g(this) && this.wrapperEl && (this.gesture = s11(this.wrapperEl, ((t17) => t17.classList.contains("alert-button"))), this.gesture.enable(true)), true === this.isOpen && d2((() => this.present())), this.triggerChanged();
  }
  present() {
    return __async(this, null, function* () {
      const t17 = yield this.lockController.lock();
      yield this.delegateController.attachViewToDom(), yield $(this, "alertEnter", I5, E6).then((() => {
        var t18, e16;
        1 === this.buttons.length && 0 === this.inputs.length ? (null === (t18 = this.wrapperEl) || void 0 === t18 ? void 0 : t18.querySelector(".alert-button")).focus() : null === (e16 = this.wrapperEl) || void 0 === e16 || e16.focus();
      })), t17();
    });
  }
  dismiss(t17, e16) {
    return __async(this, null, function* () {
      const i16 = yield this.lockController.lock(), r32 = yield J(this, t17, e16, "alertLeave", $2, T4);
      return r32 && this.delegateController.removeViewFromDom(), i16(), r32;
    });
  }
  onDidDismiss() {
    return q3(this.el, "ionAlertDidDismiss");
  }
  onWillDismiss() {
    return q3(this.el, "ionAlertWillDismiss");
  }
  rbClick(t17) {
    for (const e16 of this.processedInputs) e16.checked = e16 === t17, e16.tabindex = e16 === t17 ? 0 : -1;
    this.activeId = t17.id, _2(t17.handler, t17), Rn(this);
  }
  cbClick(t17) {
    t17.checked = !t17.checked, _2(t17.handler, t17), Rn(this);
  }
  buttonClick(t17) {
    return __async(this, null, function* () {
      const e16 = t17.role, i16 = this.getValues();
      if (Q2(e16)) return this.dismiss({ values: i16 }, e16);
      const r32 = yield this.callButtonHandler(t17, i16);
      return false !== r32 && this.dismiss(Object.assign({ values: i16 }, r32), t17.role);
    });
  }
  callButtonHandler(t17, e16) {
    return __async(this, null, function* () {
      if (null == t17 ? void 0 : t17.handler) {
        const i16 = yield _2(t17.handler, e16);
        if (false === i16) return false;
        if ("object" == typeof i16) return i16;
      }
      return {};
    });
  }
  getValues() {
    if (0 === this.processedInputs.length) return;
    if ("radio" === this.inputType) {
      const t18 = this.processedInputs.find(((t19) => !!t19.checked));
      return t18 ? t18.value : void 0;
    }
    if ("checkbox" === this.inputType) return this.processedInputs.filter(((t18) => t18.checked)).map(((t18) => t18.value));
    const t17 = {};
    return this.processedInputs.forEach(((e16) => {
      t17[e16.name] = e16.value || "";
    })), t17;
  }
  renderAlertInputs() {
    switch (this.inputType) {
      case "checkbox":
        return this.renderCheckbox();
      case "radio":
        return this.renderRadio();
      default:
        return this.renderInput();
    }
  }
  renderCheckbox() {
    const t17 = this.processedInputs, e16 = g(this);
    return 0 === t17.length ? null : Ct("div", { class: "alert-checkbox-group" }, t17.map(((t18) => Ct("button", { type: "button", onClick: () => this.cbClick(t18), "aria-checked": `${t18.checked}`, id: t18.id, disabled: t18.disabled, tabIndex: t18.tabindex, role: "checkbox", class: Object.assign(Object.assign({}, r5(t18.cssClass)), { "alert-tappable": true, "alert-checkbox": true, "alert-checkbox-button": true, "ion-focusable": true, "alert-checkbox-button-disabled": t18.disabled || false }) }, Ct("div", { class: "alert-button-inner" }, Ct("div", { class: "alert-checkbox-icon" }, Ct("div", { class: "alert-checkbox-inner" })), Ct("div", { class: "alert-checkbox-label" }, t18.label)), "md" === e16 && Ct("ion-ripple-effect", null)))));
  }
  renderRadio() {
    const t17 = this.processedInputs;
    return 0 === t17.length ? null : Ct("div", { class: "alert-radio-group", role: "radiogroup", "aria-activedescendant": this.activeId }, t17.map(((t18) => Ct("button", { type: "button", onClick: () => this.rbClick(t18), "aria-checked": `${t18.checked}`, disabled: t18.disabled, id: t18.id, tabIndex: t18.tabindex, class: Object.assign(Object.assign({}, r5(t18.cssClass)), { "alert-radio-button": true, "alert-tappable": true, "alert-radio": true, "ion-focusable": true, "alert-radio-button-disabled": t18.disabled || false }), role: "radio" }, Ct("div", { class: "alert-button-inner" }, Ct("div", { class: "alert-radio-icon" }, Ct("div", { class: "alert-radio-inner" })), Ct("div", { class: "alert-radio-label" }, t18.label))))));
  }
  renderInput() {
    const t17 = this.processedInputs;
    return 0 === t17.length ? null : Ct("div", { class: "alert-input-group" }, t17.map(((t18) => {
      var e16, i16, r32, o14;
      return Ct("div", { class: "alert-input-wrapper" }, "textarea" === t18.type ? Ct("textarea", Object.assign({ placeholder: t18.placeholder, value: t18.value, id: t18.id, tabIndex: t18.tabindex }, t18.attributes, { disabled: null !== (i16 = null === (e16 = t18.attributes) || void 0 === e16 ? void 0 : e16.disabled) && void 0 !== i16 ? i16 : t18.disabled, class: L5(t18), onInput: (e17) => {
        var i17;
        t18.value = e17.target.value, (null === (i17 = t18.attributes) || void 0 === i17 ? void 0 : i17.onInput) && t18.attributes.onInput(e17);
      } })) : Ct("input", Object.assign({ placeholder: t18.placeholder, type: t18.type, min: t18.min, max: t18.max, value: t18.value, id: t18.id, tabIndex: t18.tabindex }, t18.attributes, { disabled: null !== (o14 = null === (r32 = t18.attributes) || void 0 === r32 ? void 0 : r32.disabled) && void 0 !== o14 ? o14 : t18.disabled, class: L5(t18), onInput: (e17) => {
        var i17;
        t18.value = e17.target.value, (null === (i17 = t18.attributes) || void 0 === i17 ? void 0 : i17.onInput) && t18.attributes.onInput(e17);
      } })));
    })));
  }
  renderAlertButtons() {
    const t17 = this.processedButtons, e16 = g(this);
    return Ct("div", { class: { "alert-button-group": true, "alert-button-group-vertical": t17.length > 2 } }, t17.map(((t18) => Ct("button", Object.assign({}, t18.htmlAttributes, { type: "button", id: t18.id, class: W4(t18), tabIndex: 0, onClick: () => this.buttonClick(t18) }), Ct("span", { class: "alert-button-inner" }, t18.text), "md" === e16 && Ct("ion-ripple-effect", null)))));
  }
  renderAlertMessage(t17) {
    const { customHTMLEnabled: e16, message: i16 } = this;
    return e16 ? Ct("div", { id: t17, class: "alert-message", innerHTML: n4(i16) }) : Ct("div", { id: t17, class: "alert-message" }, i16);
  }
  render() {
    const { overlayIndex: t17, header: e16, subHeader: i16, message: r32, htmlAttributes: o14 } = this, a17 = g(this), s23 = `alert-${t17}-hdr`, d25 = `alert-${t17}-msg`, c36 = `alert-${t17}-sub-hdr`, p33 = this.inputs.length > 0 || this.buttons.length > 0 ? "alertdialog" : "alert", b21 = e16 && i16 ? `${s23} ${c36}` : e16 ? s23 : i16 ? c36 : null;
    return Ct(It, { key: "6025440b9cd369d4fac89e7e4296c84a10a0b8e0", tabindex: "-1", style: { zIndex: `${2e4 + t17}` }, class: Object.assign(Object.assign({}, r5(this.cssClass)), { [a17]: true, "overlay-hidden": true, "alert-translucent": this.translucent }), onIonAlertWillDismiss: this.dispatchCancelHandler, onIonBackdropTap: this.onBackdropTap }, Ct("ion-backdrop", { key: "3cd5ca8b99cb95b11dd22ab41a820d841142896f", tappable: this.backdropDismiss }), Ct("div", { key: "4cc62ae6e21424057d22aeef1e8fc77011e77cd5", tabindex: "0", "aria-hidden": "true" }), Ct("div", Object.assign({ key: "364057a69f25aa88904df17bdcf7e5bf714e7830", class: "alert-wrapper ion-overlay-wrapper", role: p33, "aria-modal": "true", "aria-labelledby": b21, "aria-describedby": void 0 !== r32 ? d25 : null, tabindex: "0", ref: (t18) => this.wrapperEl = t18 }, o14), Ct("div", { key: "78694e3c0db2d408df3899fb1a90859bcc8d14cc", class: "alert-head" }, e16 && Ct("h2", { key: "ec88ff3e4e1ea871b5975133fdcf4cac38b05e0f", id: s23, class: "alert-title" }, e16), i16 && !e16 && Ct("h2", { key: "9b09bc8bb68af255ef8b7d22587acc946148e544", id: c36, class: "alert-sub-title" }, i16), i16 && e16 && Ct("h3", { key: "99abe815f75d2df7f1b77c0df9f3436724fea76f", id: c36, class: "alert-sub-title" }, i16)), this.renderAlertMessage(d25), this.renderAlertInputs(), this.renderAlertButtons()), Ct("div", { key: "a43d0c22c0e46b1ef911f92ffeb253d7911b85f7", tabindex: "0", "aria-hidden": "true" }));
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { isOpen: [{ onIsOpenChange: 0 }], trigger: [{ triggerChanged: 0 }], buttons: [{ buttonsChanged: 0 }], inputs: [{ inputsChanged: 0 }] };
  }
  static get style() {
    return { ios: ".sc-ion-alert-ios-h{--min-width:250px;--width:auto;--min-height:auto;--height:auto;--max-height:90%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;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-alert-ios-h{display:none}.alert-top.sc-ion-alert-ios-h{padding-top:50px;-ms-flex-align:start;align-items:flex-start}.alert-wrapper.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;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);contain:content;opacity:0;z-index:10}.alert-title.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-sub-title.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-weight:normal}.alert-message.sc-ion-alert-ios,.alert-input-group.sc-ion-alert-ios{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-overflow-scrolling:touch;overflow-y:auto;overscroll-behavior-y:contain}.alert-checkbox-label.sc-ion-alert-ios,.alert-radio-label.sc-ion-alert-ios{overflow-wrap:anywhere}@media (any-pointer: coarse){.alert-checkbox-group.sc-ion-alert-ios::-webkit-scrollbar,.alert-radio-group.sc-ion-alert-ios::-webkit-scrollbar,.alert-message.sc-ion-alert-ios::-webkit-scrollbar{display:none}}.alert-input.sc-ion-alert-ios{padding-left:0;padding-right:0;padding-top:10px;padding-bottom:10px;width:100%;border:0;background:inherit;font:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.alert-button-group.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;width:100%}.alert-button-group-vertical.sc-ion-alert-ios{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.alert-button.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;border:0;font-size:0.875rem;line-height:1.25rem;z-index:0}.alert-button.ion-focused.sc-ion-alert-ios,.alert-tappable.ion-focused.sc-ion-alert-ios{background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.alert-button-inner.sc-ion-alert-ios{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit}.alert-input-disabled.sc-ion-alert-ios,.alert-checkbox-button-disabled.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios,.alert-radio-button-disabled.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios{cursor:default;opacity:0.5;pointer-events:none}.alert-tappable.sc-ion-alert-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;width:100%;border:0;background:transparent;font-size:inherit;line-height:initial;text-align:start;-webkit-appearance:none;-moz-appearance:none;appearance:none;contain:content}.alert-button.sc-ion-alert-ios,.alert-checkbox.sc-ion-alert-ios,.alert-input.sc-ion-alert-ios,.alert-radio.sc-ion-alert-ios{outline:none}.alert-radio-icon.sc-ion-alert-ios,.alert-checkbox-icon.sc-ion-alert-ios,.alert-checkbox-inner.sc-ion-alert-ios{-webkit-box-sizing:border-box;box-sizing:border-box}textarea.alert-input.sc-ion-alert-ios{min-height:37px;resize:none}.sc-ion-alert-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, var(--ion-background-color-step-100, #f9f9f9)));--max-width:clamp(270px, 16.875rem, 324px);--backdrop-opacity:var(--ion-backdrop-opacity, 0.3);font-size:max(14px, 0.875rem)}.alert-wrapper.sc-ion-alert-ios{border-radius:13px;-webkit-box-shadow:none;box-shadow:none;overflow:hidden}.alert-button.sc-ion-alert-ios .alert-button-inner.sc-ion-alert-ios{pointer-events:none}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.alert-translucent.sc-ion-alert-ios-h .alert-wrapper.sc-ion-alert-ios{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}.alert-head.sc-ion-alert-ios{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:7px;text-align:center}.alert-title.sc-ion-alert-ios{margin-top:8px;color:var(--ion-text-color, #000);font-size:max(17px, 1.0625rem);font-weight:600}.alert-sub-title.sc-ion-alert-ios{color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));font-size:max(14px, 0.875rem)}.alert-message.sc-ion-alert-ios,.alert-input-group.sc-ion-alert-ios{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:21px;color:var(--ion-text-color, #000);font-size:max(13px, 0.8125rem);text-align:center}.alert-message.sc-ion-alert-ios{max-height:240px}.alert-message.sc-ion-alert-ios:empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:12px}.alert-input.sc-ion-alert-ios{border-radius:7px;margin-top:10px;-webkit-padding-start:7px;padding-inline-start:7px;-webkit-padding-end:7px;padding-inline-end:7px;padding-top:7px;padding-bottom:7px;border:0.55px solid var(--ion-color-step-250, var(--ion-background-color-step-250, #bfbfbf));background-color:var(--ion-background-color, #fff);-webkit-appearance:none;-moz-appearance:none;appearance:none;font-size:1rem}.alert-input.sc-ion-alert-ios::-webkit-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, var(--ion-text-color-step-600, #999999)));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-moz-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, var(--ion-text-color-step-600, #999999)));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios:-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, var(--ion-text-color-step-600, #999999)));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, var(--ion-text-color-step-600, #999999)));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, var(--ion-text-color-step-600, #999999)));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-ios::-ms-clear{display:none}.alert-input.sc-ion-alert-ios::-webkit-date-and-time-value{height:18px}.alert-radio-group.sc-ion-alert-ios,.alert-checkbox-group.sc-ion-alert-ios{-ms-scroll-chaining:none;overscroll-behavior:contain;max-height:240px;border-top:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);overflow-y:auto;-webkit-overflow-scrolling:touch}.alert-tappable.sc-ion-alert-ios{min-height:44px}.alert-radio-label.sc-ion-alert-ios{-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;-ms-flex-order:0;order:0;color:var(--ion-text-color, #000)}[aria-checked=true].sc-ion-alert-ios .alert-radio-label.sc-ion-alert-ios{color:var(--ion-color-primary, #0054e9)}.alert-radio-icon.sc-ion-alert-ios{position:relative;-ms-flex-order:1;order:1;min-width:30px}[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{top:-7px;position:absolute;width:6px;height:12px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-color-primary, #0054e9)}[aria-checked=true].sc-ion-alert-ios .alert-radio-inner.sc-ion-alert-ios{inset-inline-start:7px}.alert-checkbox-label.sc-ion-alert-ios{-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;color:var(--ion-text-color, #000)}.alert-checkbox-icon.sc-ion-alert-ios{border-radius:50%;-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:6px;margin-inline-end:6px;margin-top:10px;margin-bottom:10px;position:relative;width:min(1.375rem, 55.836px);height:min(1.375rem, 55.836px);border-width:0.125rem;border-style:solid;border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));background-color:var(--ion-item-background, var(--ion-background-color, #fff));contain:strict}[aria-checked=true].sc-ion-alert-ios .alert-checkbox-icon.sc-ion-alert-ios{border-color:var(--ion-color-primary, #0054e9);background-color:var(--ion-color-primary, #0054e9)}[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{top:calc(min(1.375rem, 55.836px) / 8);position:absolute;width:calc(min(1.375rem, 55.836px) / 6 + 1px);height:calc(min(1.375rem, 55.836px) * 0.5);-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:0.125rem;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-background-color, #fff)}[aria-checked=true].sc-ion-alert-ios .alert-checkbox-inner.sc-ion-alert-ios{inset-inline-start:calc(min(1.375rem, 55.836px) / 3)}.alert-button-group.sc-ion-alert-ios{-webkit-margin-end:-0.55px;margin-inline-end:-0.55px;-ms-flex-wrap:wrap;flex-wrap:wrap}.alert-button-group-vertical.sc-ion-alert-ios .alert-button.sc-ion-alert-ios{border-right:none}[dir=rtl].sc-ion-alert-ios-h .alert-button-group-vertical.sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child,[dir=rtl] .sc-ion-alert-ios-h .alert-button-group-vertical.sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child{border-right:none}[dir=rtl].sc-ion-alert-ios .alert-button-group-vertical.sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child{border-right:none}@supports selector(:dir(rtl)){.alert-button-group-vertical.sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child:dir(rtl){border-right:none}}.alert-button.sc-ion-alert-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:0;-ms-flex:1 1 auto;flex:1 1 auto;min-width:50%;height:max(44px, 2.75rem);border-top:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2);background-color:transparent;color:var(--ion-color-primary, #0054e9);font-size:max(17px, 1.0625rem);overflow:hidden}[dir=rtl].sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:first-child,[dir=rtl] .sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:first-child{border-right:0}[dir=rtl].sc-ion-alert-ios .alert-button.sc-ion-alert-ios:first-child{border-right:0}@supports selector(:dir(rtl)){.alert-button.sc-ion-alert-ios:first-child:dir(rtl){border-right:0}}.alert-button.sc-ion-alert-ios:last-child{border-right:0;font-weight:bold}[dir=rtl].sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:last-child,[dir=rtl] .sc-ion-alert-ios-h .alert-button.sc-ion-alert-ios:last-child{border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}[dir=rtl].sc-ion-alert-ios .alert-button.sc-ion-alert-ios:last-child{border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@supports selector(:dir(rtl)){.alert-button.sc-ion-alert-ios:last-child:dir(rtl){border-right:0.55px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}}.alert-button.ion-activated.sc-ion-alert-ios{background-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.1)}.alert-button-role-destructive.sc-ion-alert-ios,.alert-button-role-destructive.ion-activated.sc-ion-alert-ios,.alert-button-role-destructive.ion-focused.sc-ion-alert-ios{color:var(--ion-color-danger, #c5000f)}", md: ".sc-ion-alert-md-h{--min-width:250px;--width:auto;--min-height:auto;--height:auto;--max-height:90%;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;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-alert-md-h{display:none}.alert-top.sc-ion-alert-md-h{padding-top:50px;-ms-flex-align:start;align-items:flex-start}.alert-wrapper.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;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);contain:content;opacity:0;z-index:10}.alert-title.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-sub-title.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-weight:normal}.alert-message.sc-ion-alert-md,.alert-input-group.sc-ion-alert-md{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-overflow-scrolling:touch;overflow-y:auto;overscroll-behavior-y:contain}.alert-checkbox-label.sc-ion-alert-md,.alert-radio-label.sc-ion-alert-md{overflow-wrap:anywhere}@media (any-pointer: coarse){.alert-checkbox-group.sc-ion-alert-md::-webkit-scrollbar,.alert-radio-group.sc-ion-alert-md::-webkit-scrollbar,.alert-message.sc-ion-alert-md::-webkit-scrollbar{display:none}}.alert-input.sc-ion-alert-md{padding-left:0;padding-right:0;padding-top:10px;padding-bottom:10px;width:100%;border:0;background:inherit;font:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.alert-button-group.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;width:100%}.alert-button-group-vertical.sc-ion-alert-md{-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.alert-button.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;border:0;font-size:0.875rem;line-height:1.25rem;z-index:0}.alert-button.ion-focused.sc-ion-alert-md,.alert-tappable.ion-focused.sc-ion-alert-md{background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.alert-button-inner.sc-ion-alert-md{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit}.alert-input-disabled.sc-ion-alert-md,.alert-checkbox-button-disabled.sc-ion-alert-md .alert-button-inner.sc-ion-alert-md,.alert-radio-button-disabled.sc-ion-alert-md .alert-button-inner.sc-ion-alert-md{cursor:default;opacity:0.5;pointer-events:none}.alert-tappable.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;width:100%;border:0;background:transparent;font-size:inherit;line-height:initial;text-align:start;-webkit-appearance:none;-moz-appearance:none;appearance:none;contain:content}.alert-button.sc-ion-alert-md,.alert-checkbox.sc-ion-alert-md,.alert-input.sc-ion-alert-md,.alert-radio.sc-ion-alert-md{outline:none}.alert-radio-icon.sc-ion-alert-md,.alert-checkbox-icon.sc-ion-alert-md,.alert-checkbox-inner.sc-ion-alert-md{-webkit-box-sizing:border-box;box-sizing:border-box}textarea.alert-input.sc-ion-alert-md{min-height:37px;resize:none}.sc-ion-alert-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--max-width:280px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);font-size:0.875rem}.alert-wrapper.sc-ion-alert-md{border-radius:4px;-webkit-box-shadow:0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12);box-shadow:0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14), 0 9px 46px 8px rgba(0, 0, 0, 0.12)}.alert-head.sc-ion-alert-md{-webkit-padding-start:23px;padding-inline-start:23px;-webkit-padding-end:23px;padding-inline-end:23px;padding-top:20px;padding-bottom:15px;text-align:start}.alert-title.sc-ion-alert-md{color:var(--ion-text-color, #000);font-size:1.25rem;font-weight:500}.alert-sub-title.sc-ion-alert-md{color:var(--ion-text-color, #000);font-size:1rem}.alert-message.sc-ion-alert-md,.alert-input-group.sc-ion-alert-md{-webkit-padding-start:24px;padding-inline-start:24px;-webkit-padding-end:24px;padding-inline-end:24px;padding-top:20px;padding-bottom:20px;color:var(--ion-color-step-550, var(--ion-text-color-step-450, #737373))}.alert-message.sc-ion-alert-md{font-size:1rem}@media screen and (max-width: 767px){.alert-message.sc-ion-alert-md{max-height:266px}}.alert-message.sc-ion-alert-md:empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.alert-head.sc-ion-alert-md+.alert-message.sc-ion-alert-md{padding-top:0}.alert-input.sc-ion-alert-md{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px;border-bottom:1px solid var(--ion-color-step-150, var(--ion-background-color-step-150, #d9d9d9));color:var(--ion-text-color, #000)}.alert-input.sc-ion-alert-md::-webkit-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, var(--ion-text-color-step-600, #999999)));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-moz-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, var(--ion-text-color-step-600, #999999)));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md:-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, var(--ion-text-color-step-600, #999999)));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-ms-input-placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, var(--ion-text-color-step-600, #999999)));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::placeholder{color:var(--ion-placeholder-color, var(--ion-color-step-400, var(--ion-text-color-step-600, #999999)));font-family:inherit;font-weight:inherit}.alert-input.sc-ion-alert-md::-ms-clear{display:none}.alert-input.sc-ion-alert-md:focus{margin-bottom:4px;border-bottom:2px solid var(--ion-color-primary, #0054e9)}.alert-radio-group.sc-ion-alert-md,.alert-checkbox-group.sc-ion-alert-md{position:relative;border-top:1px solid var(--ion-color-step-150, var(--ion-background-color-step-150, #d9d9d9));border-bottom:1px solid var(--ion-color-step-150, var(--ion-background-color-step-150, #d9d9d9));overflow:auto}@media screen and (max-width: 767px){.alert-radio-group.sc-ion-alert-md,.alert-checkbox-group.sc-ion-alert-md{max-height:266px}}.alert-tappable.sc-ion-alert-md{position:relative;min-height:48px}.alert-radio-label.sc-ion-alert-md{-webkit-padding-start:52px;padding-inline-start:52px;-webkit-padding-end:26px;padding-inline-end:26px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));font-size:1rem}.alert-radio-icon.sc-ion-alert-md{top:0;border-radius:50%;display:block;position:relative;width:20px;height:20px;border-width:2px;border-style:solid;border-color:var(--ion-color-step-550, var(--ion-background-color-step-550, #737373))}.alert-radio-icon.sc-ion-alert-md{inset-inline-start:26px}.alert-radio-inner.sc-ion-alert-md{top:3px;border-radius:50%;position:absolute;width:10px;height:10px;-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0);-webkit-transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--ion-color-primary, #0054e9)}.alert-radio-inner.sc-ion-alert-md{inset-inline-start:3px}[aria-checked=true].sc-ion-alert-md .alert-radio-label.sc-ion-alert-md{color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626))}[aria-checked=true].sc-ion-alert-md .alert-radio-icon.sc-ion-alert-md{border-color:var(--ion-color-primary, #0054e9)}[aria-checked=true].sc-ion-alert-md .alert-radio-inner.sc-ion-alert-md{-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}.alert-checkbox-label.sc-ion-alert-md{-webkit-padding-start:53px;padding-inline-start:53px;-webkit-padding-end:26px;padding-inline-end:26px;padding-top:13px;padding-bottom:13px;-ms-flex:1;flex:1;width:calc(100% - 53px);color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));font-size:1rem}.alert-checkbox-icon.sc-ion-alert-md{top:0;border-radius:2px;position:relative;width:16px;height:16px;border-width:2px;border-style:solid;border-color:var(--ion-color-step-550, var(--ion-background-color-step-550, #737373));contain:strict}.alert-checkbox-icon.sc-ion-alert-md{inset-inline-start:26px}[aria-checked=true].sc-ion-alert-md .alert-checkbox-icon.sc-ion-alert-md{border-color:var(--ion-color-primary, #0054e9);background-color:var(--ion-color-primary, #0054e9)}[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{top:0;position:absolute;width:6px;height:10px;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--ion-color-primary-contrast, #fff)}[aria-checked=true].sc-ion-alert-md .alert-checkbox-inner.sc-ion-alert-md{inset-inline-start:3px}.alert-button-group.sc-ion-alert-md{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse;-ms-flex-pack:end;justify-content:flex-end}.alert-button.sc-ion-alert-md{border-radius:2px;-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:0;margin-bottom:0;-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:10px;padding-bottom:10px;position:relative;background-color:transparent;color:var(--ion-color-primary, #0054e9);font-weight:500;text-align:end;text-transform:uppercase;overflow:hidden}.alert-button-inner.sc-ion-alert-md{-ms-flex-pack:end;justify-content:flex-end}@media screen and (min-width: 768px){.sc-ion-alert-md-h{--max-width:min(100vw - 96px, 560px);--max-height:min(100vh - 96px, 560px)}}" };
  }
}, [34, "ion-alert", { overlayIndex: [2, "overlay-index"], delegate: [16], hasController: [4, "has-controller"], keyboardClose: [4, "keyboard-close"], enterAnimation: [16], leaveAnimation: [16], cssClass: [1, "css-class"], header: [1], subHeader: [1, "sub-header"], message: [1], buttons: [16], inputs: [1040], backdropDismiss: [4, "backdrop-dismiss"], translucent: [4], animated: [4], htmlAttributes: [16], isOpen: [4, "is-open"], trigger: [1], present: [64], dismiss: [64], onDidDismiss: [64], onWillDismiss: [64] }, [[4, "keydown", "onKeydown"]], { isOpen: [{ onIsOpenChange: 0 }], trigger: [{ triggerChanged: 0 }], buttons: [{ buttonsChanged: 0 }], inputs: [{ inputsChanged: 0 }] }]);
var L5 = (t17) => {
  var e16, i16, r32;
  return Object.assign(Object.assign({ "alert-input": true, "alert-input-disabled": (null !== (i16 = null === (e16 = t17.attributes) || void 0 === e16 ? void 0 : e16.disabled) && void 0 !== i16 ? i16 : t17.disabled) || false }, r5(t17.cssClass)), r5(t17.attributes ? null === (r32 = t17.attributes.class) || void 0 === r32 ? void 0 : r32.toString() : ""));
};
var W4 = (t17) => Object.assign({ "alert-button": true, "ion-focusable": true, "ion-activatable": true, [`alert-button-role-${t17.role}`]: void 0 !== t17.role }, r5(t17.cssClass));
function H5() {
  "undefined" != typeof customElements && ["ion-alert", "ion-backdrop", "ion-ripple-effect"].forEach(((t17) => {
    switch (t17) {
      case "ion-alert":
        customElements.get(Zn(t17)) || customElements.define(Zn(t17), B7);
        break;
      case "ion-backdrop":
        customElements.get(Zn(t17)) || c11();
        break;
      case "ion-ripple-effect":
        customElements.get(Zn(t17)) || p7();
    }
  }));
}

// node_modules/@ionic/core/components/ion-alert.js
var r10 = H5;

// node_modules/@ionic/core/components/ion-app.js
var d8 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost();
  }
  componentDidLoad() {
    this.rIC((() => __async(this, null, function* () {
      const t17 = s7(window, "hybrid");
      if (n.getBoolean("_testing") || import("./chunk-F5FETMCK.js").then(((t18) => t18.startTapClick(n))), n.getBoolean("statusTap", t17) && import("./chunk-XDEAE2LF.js").then(((t18) => t18.startStatusTap())), n.getBoolean("inputShims", m9())) {
        const t18 = s7(window, "ios") ? "ios" : "android";
        import("./chunk-RSCOYE2V.js").then(((e17) => e17.startInputShims(n, t18)));
      }
      const e16 = yield import("./chunk-LI27Q6I5.js"), i16 = t17 || o3();
      n.getBoolean("hardwareBackButton", i16) ? e16.startHardwareBackButton() : (o3() && u("[ion-app] - experimentalCloseWatcher was set to `true`, but hardwareBackButton was set to `false`. Both config options must be `true` for the Close Watcher API to be used."), e16.blockHardwareBackButton()), "undefined" != typeof window && import("./chunk-DCYUA4ZS.js").then(((t18) => t18.startKeyboardAssist(window))), import("./chunk-F3SO3H66.js").then(((t18) => this.focusVisible = t18.startFocusVisible()));
    })));
  }
  disconnectedCallback() {
    this.loadTimeout && clearTimeout(this.loadTimeout);
  }
  setFocus(t17) {
    return __async(this, null, function* () {
      this.focusVisible && this.focusVisible.setFocus(t17);
    });
  }
  rIC(t17) {
    "requestIdleCallback" in window ? window.requestIdleCallback(t17) : this.loadTimeout = setTimeout(t17, 32);
  }
  render() {
    const t17 = g(this);
    return Ct(It, { key: "77a7459d3e42b3715a5a7e1cf468e2ebc99e54bb", class: { [t17]: true, "ion-page": true, "force-statusbar-padding": n.getBoolean("_forceStatusbarPadding") } });
  }
  get el() {
    return this;
  }
  static get style() {
    return "html.plt-mobile ion-app{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}html.plt-mobile ion-app [contenteditable]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}ion-app.force-statusbar-padding{--ion-safe-area-top:20px}";
  }
}, [0, "ion-app", { setFocus: [64] }]);
var m9 = () => !(!s7(window, "ios") || !s7(window, "mobile")) || !(!s7(window, "android") || !s7(window, "mobileweb"));
var l11 = function() {
  "undefined" != typeof customElements && ["ion-app"].forEach(((t17) => {
    "ion-app" === t17 && (customElements.get(Zn(t17)) || customElements.define(Zn(t17), d8));
  }));
};

// node_modules/@ionic/core/components/ion-avatar.js
var i11 = Dn(class extends I {
  constructor(r32) {
    super(), false !== r32 && this.__registerHost(), this.__attachShadow();
  }
  render() {
    return Ct(It, { key: "998217066084f966bf5d356fed85bcbd451f675a", class: g(this) }, Ct("slot", { key: "1a6f7c9d4dc6a875f86b5b3cda6d59cb39587f22" }));
  }
  static get style() {
    return { ios: ":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:48px;height:48px}", md: ":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:64px;height:64px}" };
  }
}, [289, "ion-avatar"]);
var c13 = function() {
  "undefined" != typeof customElements && ["ion-avatar"].forEach(((r32) => {
    "ion-avatar" === r32 && (customElements.get(Zn(r32)) || customElements.define(Zn(r32), i11));
  }));
};

// node_modules/@ionic/core/components/ion-backdrop.js
var p10 = c11;

// node_modules/@ionic/core/components/ion-badge.js
var e11 = Dn(class extends I {
  constructor(o14) {
    super(), false !== o14 && this.__registerHost(), this.__attachShadow();
  }
  render() {
    const o14 = g(this);
    return Ct(It, { key: "1a2d39c5deec771a2f2196447627b62a7d4c8389", class: o6(this.color, { [o14]: true }) }, Ct("slot", { key: "fc1b6587f1ed24715748eb6785e7fb7a57cdd5cd" }));
  }
  static get style() {
    return { ios: ":host{--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff);--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:0.8125rem;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{border-radius:10px;font-size:max(13px, 0.8125rem)}", md: ":host{--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff);--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:0.8125rem;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{--padding-top:3px;--padding-end:4px;--padding-bottom:4px;--padding-start:4px;border-radius:4px}" };
  }
}, [289, "ion-badge", { color: [513] }]);
var s12 = function() {
  "undefined" != typeof customElements && ["ion-badge"].forEach(((o14) => {
    "ion-badge" === o14 && (customElements.get(Zn(o14)) || customElements.define(Zn(o14), e11));
  }));
};

// node_modules/@ionic/core/components/ion-breadcrumb.js
var h10 = Dn(class extends I {
  constructor(o14) {
    super(), false !== o14 && this.__registerHost(), this.__attachShadow(), this.ionFocus = Jt(this, "ionFocus", 7), this.ionBlur = Jt(this, "ionBlur", 7), this.collapsedClick = Jt(this, "collapsedClick", 7), this.inheritedAttributes = {}, this.collapsed = false, this.active = false, this.disabled = false, this.routerDirection = "forward", this.onFocus = () => {
      this.ionFocus.emit();
    }, this.onBlur = () => {
      this.ionBlur.emit();
    }, this.collapsedIndicatorClick = () => {
      this.collapsedClick.emit({ ionShadowTarget: this.collapsedRef });
    };
  }
  componentWillLoad() {
    this.inheritedAttributes = s2(this.el);
  }
  isClickable() {
    return void 0 !== this.href;
  }
  render() {
    const { color: o14, active: r32, collapsed: e16, disabled: a17, download: n15, el: m28, inheritedAttributes: h21, last: u21, routerAnimation: f27, routerDirection: g20, separator: x16, showCollapsedIndicator: v18, target: k12 } = this, y14 = this.isClickable(), w12 = void 0 === this.href ? "span" : "a", z11 = a17 ? void 0 : this.href, j8 = g(this), C7 = "span" === w12 ? {} : { download: n15, href: z11, target: k12 }, D7 = !u21 && (e16 ? !(!v18 || u21) : x16);
    return Ct(It, { key: "32ca61c83721dff52b5e97171ed449dce3584a55", onClick: (o15) => l6(z11, o15, g20, f27), "aria-disabled": a17 ? "true" : null, class: o6(o14, { [j8]: true, "breadcrumb-active": r32, "breadcrumb-collapsed": e16, "breadcrumb-disabled": a17, "in-breadcrumbs-color": n5("ion-breadcrumbs[color]", m28), "in-toolbar": n5("ion-toolbar", this.el), "in-toolbar-color": n5("ion-toolbar[color]", this.el), "ion-activatable": y14, "ion-focusable": y14 }) }, Ct(w12, Object.assign({ key: "479feb845f4a6d8009d5422b33eb423730b9722b" }, C7, { class: "breadcrumb-native", part: "native", disabled: a17, onFocus: this.onFocus, onBlur: this.onBlur }, h21), Ct("slot", { key: "3c5dcaeb0d258235d1b7707868026ff1d1404099", name: "start" }), Ct("slot", { key: "f1cfb934443cd97dc220882c5e3596ea879d66cf" }), Ct("slot", { key: "539710121b5b1f3ee8d4c24a9651b67c2ae08add", name: "end" })), v18 && Ct("button", { key: "ed53a95ccd89022c8b7bee0658a221ec62a5c73b", part: "collapsed-indicator", "aria-label": "Show more breadcrumbs", onClick: () => this.collapsedIndicatorClick(), ref: (o15) => this.collapsedRef = o15, class: { "breadcrumbs-collapsed-indicator": true } }, Ct("ion-icon", { key: "a849e1142a86f06f207cf11662fa2a560ab7fc6a", "aria-hidden": "true", icon: x5, lazy: false })), D7 && Ct("span", { key: "fc3c741cb01fafef8b26046c7ee5b190efc69a7c", class: "breadcrumb-separator", part: "separator", "aria-hidden": "true" }, Ct("slot", { key: "4871932ae1dae520767e0713e7cee2d11b0bba6d", name: "separator" }, "ios" === j8 ? Ct("ion-icon", { icon: c8, lazy: false, "flip-rtl": true }) : Ct("span", null, "/"))));
  }
  get el() {
    return this;
  }
  static get style() {
    return { ios: ":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:1rem;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;-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:14px;margin-inline-end: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}.breadcrumbs-collapsed-indicator ion-icon{margin-top:1px;font-size:1.375rem}:host{--color:var(--ion-color-step-850, var(--ion-text-color-step-150, #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, var(--ion-background-color-step-50, rgba(233, 237, 243, 0.7)));font-size:clamp(16px, 1rem, 22px)}:host(.breadcrumb-active){font-weight:600}.breadcrumb-native{border-radius:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:5px;padding-bottom:5px;border:1px solid transparent}: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, var(--ion-text-color-step-250, #445b78))}.breadcrumb-separator{color:var(--ion-color-step-550, var(--ion-text-color-step-450, #73849a))}::slotted(ion-icon){color:var(--ion-color-step-400, var(--ion-text-color-step-600, #92a0b3));font-size:min(1.125rem, 21.6px)}::slotted(ion-icon[slot=start]){-webkit-margin-end:8px;margin-inline-end:8px}::slotted(ion-icon[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px}:host(.breadcrumb-active) ::slotted(ion-icon){color:var(--ion-color-step-850, var(--ion-text-color-step-150, #242d39))}.breadcrumbs-collapsed-indicator{border-radius:4px;background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e9edf3));color:var(--ion-color-step-550, var(--ion-text-color-step-450, #73849a))}.breadcrumbs-collapsed-indicator:hover{opacity:0.45}.breadcrumbs-collapsed-indicator:focus{background:var(--ion-color-step-150, var(--ion-background-color-step-150, #d9e0ea))}.breadcrumbs-collapsed-indicator ion-icon{font-size:min(1.375rem, 22px)}", md: ":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:1rem;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;-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:14px;margin-inline-end: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}.breadcrumbs-collapsed-indicator ion-icon{margin-top:1px;font-size:1.375rem}:host{--color:var(--ion-color-step-600, var(--ion-text-color-step-400, #677483));--color-active:var(--ion-text-color, #03060b);--color-hover:var(--ion-text-color, #03060b);--color-focused:var(--ion-color-step-800, var(--ion-text-color-step-200, #35404e));--background-focused:var(--ion-color-step-50, var(--ion-background-color-step-50, #fff))}:host(.breadcrumb-active){font-weight:500}.breadcrumb-native{-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px}.breadcrumb-separator{-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:-1px}: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, var(--ion-text-color-step-450, #73849a))}::slotted(ion-icon){color:var(--ion-color-step-550, var(--ion-text-color-step-450, #7d8894));font-size:1.125rem}::slotted(ion-icon[slot=start]){-webkit-margin-end:8px;margin-inline-end:8px}::slotted(ion-icon[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px}:host(.breadcrumb-active) ::slotted(ion-icon){color:var(--ion-color-step-850, var(--ion-text-color-step-150, #222d3a))}.breadcrumbs-collapsed-indicator{border-radius:2px;background:var(--ion-color-step-100, var(--ion-background-color-step-100, #eef1f3));color:var(--ion-color-step-550, var(--ion-text-color-step-450, #73849a))}.breadcrumbs-collapsed-indicator:hover{opacity:0.7}.breadcrumbs-collapsed-indicator:focus{background:var(--ion-color-step-150, var(--ion-background-color-step-150, #dfe5e8))}" };
  }
}, [289, "ion-breadcrumb", { collapsed: [4], last: [4], showCollapsedIndicator: [4, "show-collapsed-indicator"], color: [1], active: [4], disabled: [4], download: [1], href: [1], rel: [1], separator: [4], target: [1], routerDirection: [1, "router-direction"], routerAnimation: [16] }]);
var f11 = function() {
  "undefined" != typeof customElements && ["ion-breadcrumb", "ion-icon"].forEach(((o14) => {
    switch (o14) {
      case "ion-breadcrumb":
        customElements.get(Zn(o14)) || customElements.define(Zn(o14), h10);
        break;
      case "ion-icon":
        customElements.get(Zn(o14)) || y6();
    }
  }));
};

// node_modules/@ionic/core/components/ion-breadcrumbs.js
var c14 = Dn(class extends I {
  constructor(o14) {
    super(), false !== o14 && this.__registerHost(), this.__attachShadow(), this.ionCollapsedClick = Jt(this, "ionCollapsedClick", 7), this.itemsBeforeCollapse = 1, this.itemsAfterCollapse = 1, this.breadcrumbsInit = () => {
      this.setBreadcrumbSeparator(), this.setMaxItems();
    }, this.resetActiveBreadcrumb = () => {
      const o15 = this.getBreadcrumbs().find(((o16) => o16.active));
      o15 && this.activeChanged && (o15.active = false);
    }, this.setMaxItems = () => {
      const { itemsAfterCollapse: o15, itemsBeforeCollapse: t17, maxItems: s23 } = this, e16 = this.getBreadcrumbs();
      for (const o16 of e16) o16.showCollapsedIndicator = false, o16.collapsed = false;
      void 0 !== s23 && e16.length > s23 && t17 + o15 <= s23 && e16.forEach(((s24, a17) => {
        a17 === t17 && (s24.showCollapsedIndicator = true), a17 >= t17 && a17 < e16.length - o15 && (s24.collapsed = true);
      }));
    }, this.setBreadcrumbSeparator = () => {
      const { itemsAfterCollapse: o15, itemsBeforeCollapse: t17, maxItems: s23 } = this, e16 = this.getBreadcrumbs(), a17 = e16.find(((o16) => o16.active));
      for (const i16 of e16) {
        const r32 = void 0 !== s23 && 0 === o15 ? i16 === e16[t17] : i16 === e16[e16.length - 1];
        i16.last = r32, i16.separator = void 0 !== i16.separator ? i16.separator : !r32 || void 0, !a17 && r32 && (i16.active = true, this.activeChanged = true);
      }
    }, this.getBreadcrumbs = () => Array.from(this.el.querySelectorAll("ion-breadcrumb")), this.slotChanged = () => {
      this.resetActiveBreadcrumb(), this.breadcrumbsInit();
    };
  }
  onCollapsedClick(o14) {
    const t17 = this.getBreadcrumbs().filter(((o15) => o15.collapsed));
    this.ionCollapsedClick.emit(Object.assign(Object.assign({}, o14.detail), { collapsedBreadcrumbs: t17 }));
  }
  maxItemsChanged() {
    this.resetActiveBreadcrumb(), this.breadcrumbsInit();
  }
  componentWillLoad() {
    this.breadcrumbsInit();
  }
  render() {
    const { color: o14, collapsed: t17 } = this, s23 = g(this);
    return Ct(It, { key: "fe64e9cdf597ede2db140bf5fa05a0359d82db57", class: o6(o14, { [s23]: true, "in-toolbar": n5("ion-toolbar", this.el), "in-toolbar-color": n5("ion-toolbar[color]", this.el), "breadcrumbs-collapsed": t17 }) }, Ct("slot", { key: "a2c99b579e339055c50a613d5c6b61032f5ddffe", onSlotchange: this.slotChanged }));
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { maxItems: [{ maxItemsChanged: 0 }], itemsBeforeCollapse: [{ maxItemsChanged: 0 }], itemsAfterCollapse: [{ maxItemsChanged: 0 }] };
  }
  static get style() {
    return { ios: ":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){-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:0;padding-bottom:0;-ms-flex-pack:center;justify-content:center}", md: ":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){-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0}" };
  }
}, [289, "ion-breadcrumbs", { color: [513], maxItems: [2, "max-items"], itemsBeforeCollapse: [2, "items-before-collapse"], itemsAfterCollapse: [2, "items-after-collapse"], collapsed: [32], activeChanged: [32] }, [[0, "collapsedClick", "onCollapsedClick"]], { maxItems: [{ maxItemsChanged: 0 }], itemsBeforeCollapse: [{ maxItemsChanged: 0 }], itemsAfterCollapse: [{ maxItemsChanged: 0 }] }]);
var m10 = function() {
  "undefined" != typeof customElements && ["ion-breadcrumbs"].forEach(((o14) => {
    "ion-breadcrumbs" === o14 && (customElements.get(Zn(o14)) || customElements.define(Zn(o14), c14));
  }));
};

// node_modules/@ionic/core/components/p-BTeL5HCK.js
var g5 = Dn(class extends I {
  constructor(o14) {
    super(), false !== o14 && this.__registerHost(), this.__attachShadow(), this.ionFocus = Jt(this, "ionFocus", 7), this.ionBlur = Jt(this, "ionBlur", 7), this.inItem = false, this.inListHeader = false, this.inToolbar = false, this.formButtonEl = null, this.formEl = null, this.inheritedAttributes = {}, this.isCircle = false, this.buttonType = "button", this.disabled = false, this.routerDirection = "forward", this.strong = false, this.type = "button", this.handleClick = (o15) => {
      const { el: t17 } = this;
      "button" === this.type ? l6(this.href, o15, this.routerDirection, this.routerAnimation) : m(t17) && this.submitForm(o15);
    }, this.onFocus = () => {
      this.ionFocus.emit();
    }, this.onBlur = () => {
      this.ionBlur.emit();
    }, this.slotChanged = () => {
      this.isCircle = this.hasIconOnly;
    };
  }
  disabledChanged() {
    const { disabled: o14 } = this;
    this.formButtonEl && (this.formButtonEl.disabled = o14);
  }
  onAriaChanged(o14, t17, n15) {
    this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { [n15]: o14 }), Rn(this);
  }
  renderHiddenButton() {
    const o14 = this.formEl = this.findForm();
    if (o14) {
      const { formButtonEl: t17 } = this;
      if (null !== t17 && o14.contains(t17)) return;
      const n15 = this.formButtonEl = document.createElement("button");
      n15.type = this.type, n15.style.display = "none", n15.disabled = this.disabled, o14.appendChild(n15);
    }
  }
  componentWillLoad() {
    this.inToolbar = !!this.el.closest("ion-buttons"), this.inListHeader = !!this.el.closest("ion-list-header"), this.inItem = !!this.el.closest("ion-item") || !!this.el.closest("ion-item-divider"), this.inheritedAttributes = s2(this.el);
  }
  get hasIconOnly() {
    return !!this.el.querySelector('[slot="icon-only"]');
  }
  get rippleType() {
    return (void 0 === this.fill || "clear" === this.fill) && this.hasIconOnly && this.inToolbar ? "unbounded" : "bounded";
  }
  findForm() {
    const { form: o14 } = this;
    if (o14 instanceof HTMLFormElement) return o14;
    if ("string" == typeof o14) {
      const t17 = document.getElementById(o14);
      return t17 ? t17 instanceof HTMLFormElement ? t17 : (u(`[ion-button] - Form with selector: "#${o14}" could not be found. Verify that the id is attached to a <form> element.`, this.el), null) : (u(`[ion-button] - Form with selector: "#${o14}" could not be found. Verify that the id is correct and the form is rendered in the DOM.`, this.el), null);
    }
    return void 0 !== o14 ? (u('[ion-button] - The provided "form" element is invalid. Verify that the form is a HTMLFormElement and rendered in the DOM.', this.el), null) : this.el.closest("form");
  }
  submitForm(o14) {
    this.formEl && this.formButtonEl && (o14.preventDefault(), this.formButtonEl.click());
  }
  render() {
    const o14 = g(this), { buttonType: t17, type: n15, disabled: r32, rel: i16, target: d25, size: s23, href: l27, color: c36, expand: p33, hasIconOnly: g20, shape: m28, strong: v18, inheritedAttributes: f27 } = this, x16 = void 0 === s23 && this.inItem ? "small" : s23, k12 = void 0 === l27 ? "button" : "a", y14 = "button" === k12 ? { type: n15 } : { download: this.download, href: l27, rel: i16, target: d25 };
    let w12 = this.fill;
    return void 0 === w12 && (w12 = this.inToolbar || this.inListHeader ? "clear" : "solid"), "button" !== n15 && this.renderHiddenButton(), Ct(It, { key: "d148ed2332917f03fafd63dbbef10131df0ec5f0", onClick: this.handleClick, "aria-disabled": r32 ? "true" : null, class: o6(c36, { [o14]: true, [t17]: true, [`${t17}-${p33}`]: void 0 !== p33, [`${t17}-${x16}`]: void 0 !== x16, [`${t17}-${m28}`]: void 0 !== m28, [`${t17}-${w12}`]: true, [`${t17}-strong`]: v18, "in-toolbar": n5("ion-toolbar", this.el), "in-toolbar-color": n5("ion-toolbar[color]", this.el), "in-buttons": n5("ion-buttons", this.el), "button-has-icon-only": g20, "button-disabled": r32, "ion-activatable": true, "ion-focusable": true }) }, Ct(k12, Object.assign({ key: "9da73c530017d510839a224bc4d5315bd44f60ed" }, y14, { class: "button-native", part: "native", disabled: r32, onFocus: this.onFocus, onBlur: this.onBlur }, f27), Ct("span", { key: "9046184db918cc53e90796860c43d1dfb7d1f85c", class: "button-inner" }, Ct("slot", { key: "9dd37ab124803e703567ddde4154c81ed1922be1", name: "icon-only", onSlotchange: this.slotChanged }), Ct("slot", { key: "01713ecf19c68be05072ffcd00ed7ff2d76c4551", name: "start" }), Ct("slot", { key: "121124874ba1357bc10ffaf4f7ed13803a02add9" }), Ct("slot", { key: "09317cf5ced153fbb94d4ebba69db858f9dbe570", name: "end" })), "md" === o14 && Ct("ion-ripple-effect", { key: "8bdd9d082f48582be903221b13b67095046cd9aa", type: this.rippleType })));
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { disabled: [{ disabledChanged: 0 }], "aria-checked": [{ onAriaChanged: 0 }], "aria-label": [{ onAriaChanged: 0 }], "aria-pressed": [{ onAriaChanged: 0 }] };
  }
  static get style() {
    return { ios: ':host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;white-space:normal;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #0054e9);--background:transparent;--color:var(--ion-color-primary, #0054e9)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #0054e9)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted(ion-icon){font-size:1.35em;pointer-events:none}::slotted(ion-icon[slot=start]){-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=end]){-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em;margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host{--border-radius:14px;--padding-top:13px;--padding-bottom:13px;--padding-start:1em;--padding-end:1em;--transition:background-color, opacity 100ms linear;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:4px;margin-bottom:4px;min-height:3.1em;font-size:min(1rem, 48px);font-weight:500;letter-spacing:0}:host(.button-solid){--background-activated:var(--ion-color-primary-shade, #004acd);--background-focused:var(--ion-color-primary-shade, #004acd);--background-hover:var(--ion-color-primary-tint, #1a65eb);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1}:host(.button-outline){--border-radius:14px;--border-width:1px;--border-style:solid;--background-activated:var(--ion-color-primary, #0054e9);--background-focused:var(--ion-color-primary, #0054e9);--background-hover:transparent;--background-focused-opacity:.1;--color-activated:var(--ion-color-primary-contrast, #fff)}:host(.button-clear){--background-activated:transparent;--background-activated-opacity:0;--background-focused:var(--ion-color-primary, #0054e9);--background-hover:transparent;--background-focused-opacity:.1;font-size:min(1.0625rem, 51px);font-weight:normal}:host(.in-buttons){font-size:clamp(17px, 1.0625rem, 21.08px);font-weight:400}:host(.button-large){--border-radius:16px;--padding-top:17px;--padding-start:1em;--padding-end:1em;--padding-bottom:17px;min-height:3.1em;font-size:min(1.25rem, 60px)}:host(.button-small){--border-radius:6px;--padding-top:4px;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:4px;min-height:2.1em;font-size:min(0.8125rem, 39px)}:host(.button-round){--border-radius:999px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-strong){font-weight:600}:host(.button-has-icon-only){--padding-top:0;--padding-bottom:var(--padding-top);--padding-end:var(--padding-top);--padding-start:var(--padding-end);min-width:clamp(30px, 2.125em, 60px);min-height:clamp(30px, 2.125em, 60px)}::slotted(ion-icon[slot=icon-only]){font-size:clamp(15.12px, 1.125em, 43.02px)}:host(.button-small.button-has-icon-only){min-width:clamp(23px, 2.16em, 54px);min-height:clamp(23px, 2.16em, 54px)}:host(.button-small) ::slotted(ion-icon[slot=icon-only]){font-size:clamp(12.1394px, 1.308125em, 40.1856px)}:host(.button-large.button-has-icon-only){min-width:clamp(46px, 2.5em, 78px);min-height:clamp(46px, 2.5em, 78px)}:host(.button-large) ::slotted(ion-icon[slot=icon-only]){font-size:clamp(15.12px, 0.9em, 43.056px)}:host(.button-outline.ion-focused.ion-color) .button-native,:host(.button-clear.ion-focused.ion-color) .button-native{color:var(--ion-color-base)}:host(.button-outline.ion-focused.ion-color) .button-native::after,:host(.button-clear.ion-focused.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.button-clear:not(.ion-activated):hover),:host(.button-outline:not(.ion-activated):hover){opacity:0.6}:host(.button-clear.ion-color:hover) .button-native,:host(.button-outline.ion-color:hover) .button-native{color:var(--ion-color-base)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:transparent}:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}:host(:hover.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color):not(.ion-activated)) .button-native::after{background:#fff;opacity:0.1}}:host(.button-clear.ion-activated){opacity:0.4}:host(.button-outline.ion-activated.ion-color) .button-native{color:var(--ion-color-contrast)}:host(.button-outline.ion-activated.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}:host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--color));color:var(--ion-toolbar-background, var(--background), var(--ion-color-primary-contrast, #fff))}', md: ':host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;white-space:normal;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #0054e9);--background:transparent;--color:var(--ion-color-primary, #0054e9)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #0054e9)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted(ion-icon){font-size:1.35em;pointer-events:none}::slotted(ion-icon[slot=start]){-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=end]){-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em;margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host{--border-radius:4px;--padding-top:8px;--padding-bottom:8px;--padding-start:1.1em;--padding-end:1.1em;--transition:box-shadow 280ms cubic-bezier(.4, 0, .2, 1),                 background-color 15ms linear,                 color 15ms linear;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:4px;margin-bottom:4px;min-height:36px;font-size:0.875rem;font-weight:500;letter-spacing:0.06em;text-transform:uppercase}:host(.button-solid){--background-activated:transparent;--background-hover:var(--ion-color-primary-contrast, #fff);--background-focused:var(--ion-color-primary-contrast, #fff);--background-activated-opacity:0;--background-focused-opacity:.24;--background-hover-opacity:.08;--box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}:host(.button-solid.ion-activated){--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12)}:host(.button-outline){--border-width:2px;--border-style:solid;--box-shadow:none;--background-activated:transparent;--background-focused:var(--ion-color-primary, #0054e9);--background-hover:var(--ion-color-primary, #0054e9);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-outline.ion-activated.ion-color) .button-native{background:transparent}:host(.button-clear){--background-activated:transparent;--background-focused:var(--ion-color-primary, #0054e9);--background-hover:var(--ion-color-primary, #0054e9);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-round){--border-radius:999px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-large){--padding-top:14px;--padding-start:1em;--padding-end:1em;--padding-bottom:14px;min-height:2.8em;font-size:1.25rem}:host(.button-small){--padding-top:4px;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:4px;min-height:2.1em;font-size:0.8125rem}:host(.button-strong){font-weight:bold}:host(.button-has-icon-only){--padding-top:0;--padding-bottom:var(--padding-top);--padding-end:var(--padding-top);--padding-start:var(--padding-end);min-width:clamp(30px, 2.86em, 60px);min-height:clamp(30px, 2.86em, 60px)}::slotted(ion-icon[slot=icon-only]){font-size:clamp(15.104px, 1.6em, 43.008px)}:host(.button-small.button-has-icon-only){min-width:clamp(23px, 2.16em, 54px);min-height:clamp(23px, 2.16em, 54px)}:host(.button-small) ::slotted(ion-icon[slot=icon-only]){font-size:clamp(13.002px, 1.23125em, 40.385px)}:host(.button-large.button-has-icon-only){min-width:clamp(46px, 2.5em, 78px);min-height:clamp(46px, 2.5em, 78px)}:host(.button-large) ::slotted(ion-icon[slot=icon-only]){font-size:clamp(15.008px, 1.4em, 43.008px)}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color.ion-focused) .button-native::after,:host(.button-outline.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}:host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-background, var(--color));color:var(--ion-toolbar-color, var(--background), var(--ion-color-primary-contrast, #fff))}' };
  }
}, [289, "ion-button", { color: [513], buttonType: [1025, "button-type"], disabled: [516], expand: [513], fill: [1537], routerDirection: [1, "router-direction"], routerAnimation: [16], download: [1], href: [1], rel: [1], shape: [513], size: [513], strong: [4], target: [1], type: [1], form: [1], isCircle: [32] }, void 0, { disabled: [{ disabledChanged: 0 }], "aria-checked": [{ onAriaChanged: 0 }], "aria-label": [{ onAriaChanged: 0 }], "aria-pressed": [{ onAriaChanged: 0 }] }]);
function m11() {
  "undefined" != typeof customElements && ["ion-button", "ion-ripple-effect"].forEach(((o14) => {
    switch (o14) {
      case "ion-button":
        customElements.get(Zn(o14)) || customElements.define(Zn(o14), g5);
        break;
      case "ion-ripple-effect":
        customElements.get(Zn(o14)) || p7();
    }
  }));
}

// node_modules/@ionic/core/components/ion-button.js
var r11 = m11;

// node_modules/@ionic/core/components/p-B8b1Ukl9.js
var a10 = Dn(class extends I {
  constructor(o14) {
    super(), false !== o14 && this.__registerHost(), this.collapse = false;
  }
  render() {
    const o14 = g(this);
    return Ct(It, { key: "58c1fc5eb867d0731c63549b1ccb3ec3bbbe6e1b", class: { [o14]: true, "buttons-collapse": this.collapse } }, Ct("slot", { key: "0c8f95b9840c8fa0c4e50be84c5159620a3eb5c8" }));
  }
  static get style() {
    return { ios: ".sc-ion-buttons-ios-h{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:99}.sc-ion-buttons-ios-s ion-button{--padding-top:0;--padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-buttons-ios-s ion-button{--padding-top:3px;--padding-bottom:3px;--padding-start:5px;--padding-end:5px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;min-height:32px}.sc-ion-buttons-ios-s .button-has-icon-only{--padding-top:0;--padding-bottom:0}.sc-ion-buttons-ios-s ion-button:not(.button-round){--border-radius:4px}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button{--color:initial;--border-color:initial;--background-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-solid,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-solid{--background:var(--ion-color-contrast);--background-focused:#000;--background-focused-opacity:.12;--background-activated:#000;--background-activated-opacity:.12;--background-hover:var(--ion-color-base);--background-hover-opacity:0.45;--color:var(--ion-color-base);--color-focused:var(--ion-color-base)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-clear,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-clear{--color-activated:var(--ion-color-contrast);--color-focused:var(--ion-color-contrast)}.sc-ion-buttons-ios-h.ion-color.sc-ion-buttons-ios-s .button-outline,.ion-color .sc-ion-buttons-ios-h.sc-ion-buttons-ios-s .button-outline{--color-activated:var(--ion-color-base);--color-focused:var(--ion-color-contrast);--background-activated:var(--ion-color-contrast)}.sc-ion-buttons-ios-s .button-clear,.sc-ion-buttons-ios-s .button-outline{--background-activated:transparent;--background-focused:currentColor;--background-hover:transparent}.sc-ion-buttons-ios-s .button-solid:not(.ion-color){--background-focused:#000;--background-focused-opacity:.12;--background-activated:#000;--background-activated-opacity:.12}.sc-ion-buttons-ios-s ion-icon[slot=start]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:1.41em;line-height:0.67}.sc-ion-buttons-ios-s ion-icon[slot=end]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-start:0.4em;margin-inline-start:0.4em;font-size:1.41em;line-height:0.67}.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:1.65em;line-height:0.67}", md: ".sc-ion-buttons-md-h{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:99}.sc-ion-buttons-md-s ion-button{--padding-top:0;--padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-buttons-md-s ion-button{--padding-top:3px;--padding-bottom:3px;--padding-start:8px;--padding-end:8px;--box-shadow:none;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;min-height:32px}.sc-ion-buttons-md-s .button-has-icon-only{--padding-top:0;--padding-bottom:0}.sc-ion-buttons-md-s ion-button:not(.button-round){--border-radius:2px}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button{--color:initial;--color-focused:var(--ion-color-contrast);--color-hover:var(--ion-color-contrast);--background-activated:transparent;--background-focused:var(--ion-color-contrast);--background-hover:var(--ion-color-contrast)}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button-solid,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button-solid{--background:var(--ion-color-contrast);--background-activated:transparent;--background-focused:var(--ion-color-shade);--background-hover:var(--ion-color-base);--color:var(--ion-color-base);--color-focused:var(--ion-color-base);--color-hover:var(--ion-color-base)}.sc-ion-buttons-md-h.ion-color.sc-ion-buttons-md-s .button-outline,.ion-color .sc-ion-buttons-md-h.sc-ion-buttons-md-s .button-outline{--border-color:var(--ion-color-contrast)}.sc-ion-buttons-md-s .button-has-icon-only.button-clear{--padding-top:12px;--padding-end:12px;--padding-bottom:12px;--padding-start:12px;--border-radius:50%;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:3rem;height:3rem}.sc-ion-buttons-md-s .button{--background-hover:currentColor}.sc-ion-buttons-md-s .button-solid{--color:var(--ion-toolbar-background, var(--ion-background-color, #fff));--background:var(--ion-toolbar-color, var(--ion-text-color, #424242));--background-activated:transparent;--background-focused:currentColor}.sc-ion-buttons-md-s .button-outline{--color:initial;--background:transparent;--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--border-color:currentColor}.sc-ion-buttons-md-s .button-clear{--color:initial;--background:transparent;--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor}.sc-ion-buttons-md-s ion-icon[slot=start]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:1.4em}.sc-ion-buttons-md-s ion-icon[slot=end]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-margin-start:0.4em;margin-inline-start:0.4em;font-size:1.4em}.sc-ion-buttons-md-s ion-icon[slot=icon-only]{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;font-size:1.8em}" };
  }
}, [294, "ion-buttons", { collapse: [4] }]);
function c15() {
  "undefined" != typeof customElements && ["ion-buttons"].forEach(((o14) => {
    "ion-buttons" === o14 && (customElements.get(Zn(o14)) || customElements.define(Zn(o14), a10));
  }));
}

// node_modules/@ionic/core/components/ion-buttons.js
var r12 = c15;

// node_modules/@ionic/core/components/ion-card.js
var l12 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.__attachShadow(), this.inheritedAriaAttributes = {}, this.button = false, this.type = "button", this.disabled = false, this.routerDirection = "forward";
  }
  componentWillLoad() {
    this.inheritedAriaAttributes = n2(this.el, ["aria-label"]);
  }
  isClickable() {
    return void 0 !== this.href || this.button;
  }
  renderCard(t17) {
    const r32 = this.isClickable();
    if (!r32) return [Ct("slot", null)];
    const { href: o14, routerAnimation: e16, routerDirection: n15, inheritedAriaAttributes: s23 } = this, c36 = r32 ? void 0 === o14 ? "button" : "a" : "div";
    return Ct(c36, Object.assign({}, "button" === c36 ? { type: this.type } : { download: this.download, href: this.href, rel: this.rel, target: this.target }, s23, { class: "card-native", part: "native", disabled: this.disabled, onClick: (t18) => l6(o14, t18, n15, e16) }), Ct("slot", null), r32 && "md" === t17 && Ct("ion-ripple-effect", null));
  }
  render() {
    const t17 = g(this);
    return Ct(It, { key: "85e9b30bd81e79a0c7ac75cb3664bdcf9e4afc4d", class: o6(this.color, { [t17]: true, "card-disabled": this.disabled, "ion-activatable": this.isClickable() }) }, this.renderCard(t17));
  }
  get el() {
    return this;
  }
  static get style() {
    return { ios: ":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))));-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:24px;margin-bottom:24px;border-radius:8px;-webkit-transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1), -webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);font-size:0.875rem;-webkit-box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);box-shadow:0 4px 16px rgba(0, 0, 0, 0.12)}:host(.ion-activated){-webkit-transform:scale3d(0.97, 0.97, 1);transform:scale3d(0.97, 0.97, 1)}", md: ":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-550, var(--ion-text-color-step-450, #737373))));-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:10px;margin-bottom:10px;border-radius:4px;font-size:0.875rem;-webkit-box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}" };
  }
}, [289, "ion-card", { color: [513], button: [4], type: [1], disabled: [4], download: [1], href: [1], rel: [1], routerDirection: [1, "router-direction"], routerAnimation: [16], target: [1] }]);
var p11 = function() {
  "undefined" != typeof customElements && ["ion-card", "ion-ripple-effect"].forEach(((t17) => {
    switch (t17) {
      case "ion-card":
        customElements.get(Zn(t17)) || customElements.define(Zn(t17), l12);
        break;
      case "ion-ripple-effect":
        customElements.get(Zn(t17)) || p7();
    }
  }));
};

// node_modules/@ionic/core/components/ion-card-content.js
var a11 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost();
  }
  render() {
    const t17 = g(this);
    return Ct(It, { key: "d98e4d1fc6ad3237549f9bc17e4c67ec5059b1b3", class: { [t17]: true, ["card-content-" + t17]: true } });
  }
  static get style() {
    return { ios: "ion-card-content{display:block;position:relative}.card-content-ios{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:20px;font-size:1rem;line-height:1.4}.card-content-ios h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.5rem;font-weight:normal}.card-content-ios h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:1rem;font-weight:normal}.card-content-ios h3,.card-content-ios h4,.card-content-ios h5,.card-content-ios h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:0.875rem;font-weight:normal}.card-content-ios p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem}ion-card-header+.card-content-ios{padding-top:0}", md: "ion-card-content{display:block;position:relative}.card-content-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:13px;padding-bottom:13px;font-size:0.875rem;line-height:1.5}.card-content-md h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.5rem;font-weight:normal}.card-content-md h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:1rem;font-weight:normal}.card-content-md h3,.card-content-md h4,.card-content-md h5,.card-content-md h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:0.875rem;font-weight:normal}.card-content-md p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem;font-weight:normal;line-height:1.5}ion-card-header+.card-content-md{padding-top:0}" };
  }
}, [32, "ion-card-content"]);
var m12 = function() {
  "undefined" != typeof customElements && ["ion-card-content"].forEach(((t17) => {
    "ion-card-content" === t17 && (customElements.get(Zn(t17)) || customElements.define(Zn(t17), a11));
  }));
};

// node_modules/@ionic/core/components/ion-card-header.js
var d9 = Dn(class extends I {
  constructor(o14) {
    super(), false !== o14 && this.__registerHost(), this.__attachShadow(), this.translucent = false;
  }
  render() {
    const o14 = g(this);
    return Ct(It, { key: "64246b81931203a64d553c788cd736f41e23f37b", class: o6(this.color, { "card-header-translucent": this.translucent, "ion-inherit-color": true, [o14]: true }) }, Ct("slot", { key: "af2da2dfe266889afeb57fac25c6a730558dbba4" }));
  }
  static get style() {
    return { ios: ":host{--background:transparent;--color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:16px;-ms-flex-direction:column-reverse;flex-direction:column-reverse}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.card-header-translucent){background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);-webkit-backdrop-filter:saturate(180%) blur(30px);backdrop-filter:saturate(180%) blur(30px)}}", md: ":host{--background:transparent;--color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px}::slotted(ion-card-title:not(:first-child)),::slotted(ion-card-subtitle:not(:first-child)){margin-top:8px}" };
  }
}, [289, "ion-card-header", { color: [513], translucent: [4] }]);
var c16 = function() {
  "undefined" != typeof customElements && ["ion-card-header"].forEach(((o14) => {
    "ion-card-header" === o14 && (customElements.get(Zn(o14)) || customElements.define(Zn(o14), d9));
  }));
};

// node_modules/@ionic/core/components/ion-card-subtitle.js
var n8 = Dn(class extends I {
  constructor(o14) {
    super(), false !== o14 && this.__registerHost(), this.__attachShadow();
  }
  render() {
    const o14 = g(this);
    return Ct(It, { key: "84d820a19d9074f9c8bc61ccba1ca40062a60b73", role: "heading", "aria-level": "3", class: o6(this.color, { "ion-inherit-color": true, [o14]: true }) }, Ct("slot", { key: "e4d07d395a1f4469a90847636083101b32b776a1" }));
  }
  static get style() {
    return { ios: ":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));margin-left:0;margin-right:0;margin-top:0;margin-bottom:4px;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:0.75rem;font-weight:700;letter-spacing:0.4px;text-transform:uppercase}", md: ":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-550, var(--ion-text-color-step-450, #737373));margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:0.875rem;font-weight:500}" };
  }
}, [289, "ion-card-subtitle", { color: [513] }]);
var c17 = function() {
  "undefined" != typeof customElements && ["ion-card-subtitle"].forEach(((o14) => {
    "ion-card-subtitle" === o14 && (customElements.get(Zn(o14)) || customElements.define(Zn(o14), n8));
  }));
};

// node_modules/@ionic/core/components/ion-card-title.js
var s13 = Dn(class extends I {
  constructor(o14) {
    super(), false !== o14 && this.__registerHost(), this.__attachShadow();
  }
  render() {
    const o14 = g(this);
    return Ct(It, { key: "fca001a86396e83718d5211cd71912fdf40dea2f", role: "heading", "aria-level": "2", class: o6(this.color, { "ion-inherit-color": true, [o14]: true }) }, Ct("slot", { key: "2ba416aed488b2ff462fa75fb3b70373a6dd7da6" }));
  }
  static get style() {
    return { ios: ":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-text-color, #000);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:1.75rem;font-weight:700;line-height:1.2}", md: ":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:1.25rem;font-weight:500;line-height:1.2}" };
  }
}, [289, "ion-card-title", { color: [513] }]);
var d10 = function() {
  "undefined" != typeof customElements && ["ion-card-title"].forEach(((o14) => {
    "ion-card-title" === o14 && (customElements.get(Zn(o14)) || customElements.define(Zn(o14), s13));
  }));
};

// node_modules/@ionic/core/components/ion-chip.js
var s14 = Dn(class extends I {
  constructor(o14) {
    super(), false !== o14 && this.__registerHost(), this.__attachShadow(), this.outline = false, this.disabled = false;
  }
  render() {
    const o14 = g(this);
    return Ct(It, { key: "fa2e9a4837ef87a17ef10f388e8caa7f604d9145", "aria-disabled": this.disabled ? "true" : null, class: o6(this.color, { [o14]: true, "chip-outline": this.outline, "chip-disabled": this.disabled, "ion-activatable": true }) }, Ct("slot", { key: "3793fbd9d915cef7241fb101e2bc64c08b9ba482" }), "md" === o14 && Ct("ion-ripple-effect", { key: "d3b95b53918611dec095a50f2aaaab65617947a4" }));
  }
  static get style() {
    return { ios: ":host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.87);border-radius:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:4px;margin-inline-end:4px;margin-top:4px;margin-bottom:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;min-height:32px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);cursor:pointer;overflow:hidden;vertical-align:middle;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.chip-disabled){cursor:default;opacity:0.4;pointer-events:none}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.08);color:var(--ion-color-shade)}:host(.ion-color:focus){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.ion-color.ion-activated){background:rgba(var(--ion-color-base-rgb), 0.16)}:host(.chip-outline){border-width:1px;border-style:solid}:host(.chip-outline){border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.32);background:transparent}:host(.chip-outline.ion-color){border-color:rgba(var(--ion-color-base-rgb), 0.32)}:host(.chip-outline:not(.ion-color):focus){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}:host(.chip-outline.ion-activated:not(.ion-color)){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)}::slotted(ion-icon){font-size:1.4285714286em}:host(:not(.ion-color)) ::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}::slotted(ion-icon:first-child){-webkit-margin-start:-4px;margin-inline-start:-4px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-icon:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-4px;margin-inline-end:-4px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar){-ms-flex-negative:0;flex-shrink:0;width:1.7142857143em;height:1.7142857143em}::slotted(ion-avatar:first-child){-webkit-margin-start:-8px;margin-inline-start:-8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-8px;margin-inline-end:-8px;margin-top:-4px;margin-bottom:-4px}:host(:focus){outline:none}:host(:focus){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-activated){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@media (any-hover: hover){:host(:hover){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-color:hover){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.chip-outline:not(.ion-color):hover){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}}:host{font-size:clamp(13px, 0.875rem, 22px)}", md: ":host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.87);border-radius:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:4px;margin-inline-end:4px;margin-top:4px;margin-bottom:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;min-height:32px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);cursor:pointer;overflow:hidden;vertical-align:middle;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.chip-disabled){cursor:default;opacity:0.4;pointer-events:none}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.08);color:var(--ion-color-shade)}:host(.ion-color:focus){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.ion-color.ion-activated){background:rgba(var(--ion-color-base-rgb), 0.16)}:host(.chip-outline){border-width:1px;border-style:solid}:host(.chip-outline){border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.32);background:transparent}:host(.chip-outline.ion-color){border-color:rgba(var(--ion-color-base-rgb), 0.32)}:host(.chip-outline:not(.ion-color):focus){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}:host(.chip-outline.ion-activated:not(.ion-color)){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)}::slotted(ion-icon){font-size:1.4285714286em}:host(:not(.ion-color)) ::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}::slotted(ion-icon:first-child){-webkit-margin-start:-4px;margin-inline-start:-4px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-icon:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-4px;margin-inline-end:-4px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar){-ms-flex-negative:0;flex-shrink:0;width:1.7142857143em;height:1.7142857143em}::slotted(ion-avatar:first-child){-webkit-margin-start:-8px;margin-inline-start:-8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-8px;margin-inline-end:-8px;margin-top:-4px;margin-bottom:-4px}:host(:focus){outline:none}:host(:focus){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-activated){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@media (any-hover: hover){:host(:hover){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-color:hover){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.chip-outline:not(.ion-color):hover){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}}:host{font-size:0.875rem}" };
  }
}, [289, "ion-chip", { color: [513], outline: [4], disabled: [4] }]);
var c18 = function() {
  "undefined" != typeof customElements && ["ion-chip", "ion-ripple-effect"].forEach(((o14) => {
    switch (o14) {
      case "ion-chip":
        customElements.get(Zn(o14)) || customElements.define(Zn(o14), s14);
        break;
      case "ion-ripple-effect":
        customElements.get(Zn(o14)) || p7();
    }
  }));
};

// node_modules/@ionic/core/components/ion-col.js
var p12 = { xs: "(min-width: 0px)", sm: "(min-width: 576px)", md: "(min-width: 768px)", lg: "(min-width: 992px)", xl: "(min-width: 1200px)" };
var l13 = (i16) => void 0 === i16 || "" === i16 || !!window.matchMedia && window.matchMedia(p12[i16]).matches;
var t12 = "undefined" != typeof window ? window : void 0;
var s15 = t12 && !!(t12.CSS && t12.CSS.supports && t12.CSS.supports("--a: 0"));
var e12 = ["", "xs", "sm", "md", "lg", "xl"];
var m13 = Dn(class extends I {
  constructor(i16) {
    super(), false !== i16 && this.__registerHost(), this.__attachShadow();
  }
  onResize() {
    Rn(this);
  }
  getColumns(i16) {
    let d25;
    for (const n15 of e12) {
      const o14 = l13(n15), a17 = this[i16 + n15.charAt(0).toUpperCase() + n15.slice(1)];
      o14 && void 0 !== a17 && (d25 = a17);
    }
    return d25;
  }
  calculateSize() {
    const i16 = this.getColumns("size");
    if (!i16 || "" === i16) return;
    const d25 = "auto" === i16 ? "auto" : s15 ? `calc(calc(${i16} / var(--ion-grid-columns, 12)) * 100%)` : i16 / 12 * 100 + "%";
    return { flex: "0 0 " + d25, width: "" + d25, "max-width": "" + d25 };
  }
  calculatePosition(i16, d25) {
    const n15 = this.getColumns(i16);
    if (!n15) return;
    const o14 = s15 ? `calc(calc(${n15} / var(--ion-grid-columns, 12)) * 100%)` : n15 > 0 && n15 < 12 ? n15 / 12 * 100 + "%" : "auto";
    return { [d25]: o14 };
  }
  calculateOffset(i16) {
    return this.calculatePosition("offset", i16 ? "margin-right" : "margin-left");
  }
  calculatePull(i16) {
    return this.calculatePosition("pull", i16 ? "left" : "right");
  }
  calculatePush(i16) {
    return this.calculatePosition("push", i16 ? "right" : "left");
  }
  render() {
    const i16 = "rtl" === document.dir, d25 = g(this);
    return Ct(It, { key: "32ed75d81dd09d9bc8999f6d42e5b3cb99c84d91", class: { [d25]: true }, style: Object.assign(Object.assign(Object.assign(Object.assign({}, this.calculateOffset(i16)), this.calculatePull(i16)), this.calculatePush(i16)), this.calculateSize()) }, Ct("slot", { key: "38f8d0440c20cc6d1b1d6a654d07f16de61d8134" }));
  }
  static get style() {
    return ":host{-webkit-padding-start:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;width:100%;max-width:100%;min-height:1px}@media (min-width: 576px){:host{-webkit-padding-start:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px))}}@media (min-width: 768px){:host{-webkit-padding-start:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px))}}@media (min-width: 992px){:host{-webkit-padding-start:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px))}}@media (min-width: 1200px){:host{-webkit-padding-start:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px))}}";
  }
}, [257, "ion-col", { offset: [1], offsetXs: [1, "offset-xs"], offsetSm: [1, "offset-sm"], offsetMd: [1, "offset-md"], offsetLg: [1, "offset-lg"], offsetXl: [1, "offset-xl"], pull: [1], pullXs: [1, "pull-xs"], pullSm: [1, "pull-sm"], pullMd: [1, "pull-md"], pullLg: [1, "pull-lg"], pullXl: [1, "pull-xl"], push: [1], pushXs: [1, "push-xs"], pushSm: [1, "push-sm"], pushMd: [1, "push-md"], pushLg: [1, "push-lg"], pushXl: [1, "push-xl"], size: [1], sizeXs: [1, "size-xs"], sizeSm: [1, "size-sm"], sizeMd: [1, "size-md"], sizeLg: [1, "size-lg"], sizeXl: [1, "size-xl"] }, [[9, "resize", "onResize"]]]);
var c19 = function() {
  "undefined" != typeof customElements && ["ion-col"].forEach(((i16) => {
    "ion-col" === i16 && (customElements.get(Zn(i16)) || customElements.define(Zn(i16), m13));
  }));
};

// node_modules/@ionic/core/components/p-ApmKVjaE.js
var u10 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.__attachShadow(), this.ionScrollStart = Jt(this, "ionScrollStart", 7), this.ionScroll = Jt(this, "ionScroll", 7), this.ionScrollEnd = Jt(this, "ionScrollEnd", 7), this.watchDog = null, this.isScrolling = false, this.lastScroll = 0, this.queued = false, this.cTop = -1, this.cBottom = -1, this.isMainContent = true, this.resizeTimeout = null, this.inheritedAttributes = {}, this.tabsElement = null, this.detail = { scrollTop: 0, scrollLeft: 0, type: "scroll", event: void 0, startX: 0, startY: 0, startTime: 0, currentX: 0, currentY: 0, velocityX: 0, velocityY: 0, deltaX: 0, deltaY: 0, currentTime: 0, data: void 0, isScrolling: true }, this.fullscreen = false, this.fixedSlotPlacement = "after", this.scrollX = false, this.scrollY = true, this.scrollEvents = false;
  }
  componentWillLoad() {
    this.inheritedAttributes = s2(this.el);
  }
  connectedCallback() {
    if (this.isMainContent = null === this.el.closest("ion-menu, ion-popover, ion-modal"), t(this.el)) {
      const t17 = this.tabsElement = this.el.closest("ion-tabs");
      null !== t17 && (this.tabsLoadCallback = () => this.resize(), t17.addEventListener("ionTabBarLoaded", this.tabsLoadCallback));
    }
  }
  disconnectedCallback() {
    if (this.onScrollEnd(), t(this.el)) {
      const { tabsElement: t17, tabsLoadCallback: o14 } = this;
      null !== t17 && void 0 !== o14 && t17.removeEventListener("ionTabBarLoaded", o14), this.tabsElement = null, this.tabsLoadCallback = void 0;
    }
    this.resizeTimeout && (clearTimeout(this.resizeTimeout), this.resizeTimeout = null);
  }
  onResize() {
    this.resizeTimeout && (clearTimeout(this.resizeTimeout), this.resizeTimeout = null), this.resizeTimeout = setTimeout((() => {
      null !== this.el.offsetParent && this.resize();
    }), 100);
  }
  shouldForceOverscroll() {
    const { forceOverscroll: t17 } = this, o14 = g(this);
    return void 0 === t17 ? "ios" === o14 && s7("ios") : t17;
  }
  resize() {
    this.fullscreen ? W((() => this.readDimensions())) : 0 === this.cTop && 0 === this.cBottom || (this.cTop = this.cBottom = 0, Rn(this));
  }
  recalculateDimensions() {
    return __async(this, null, function* () {
      W((() => this.readDimensions()));
    });
  }
  readDimensions() {
    const t17 = v8(this.el), o14 = Math.max(this.el.offsetTop, 0), i16 = Math.max(t17.offsetHeight - o14 - this.el.offsetHeight, 0);
    (o14 !== this.cTop || i16 !== this.cBottom) && (this.cTop = o14, this.cBottom = i16, Rn(this));
  }
  onScroll(t17) {
    const o14 = Date.now(), i16 = !this.isScrolling;
    this.lastScroll = o14, i16 && this.onScrollStart(), !this.queued && this.scrollEvents && (this.queued = true, W(((o15) => {
      this.queued = false, this.detail.event = t17, g6(this.detail, this.scrollEl, o15, i16), this.ionScroll.emit(this.detail);
    })));
  }
  getScrollElement() {
    return __async(this, null, function* () {
      return this.scrollEl || (yield new Promise(((t17) => e2(this.el, t17)))), Promise.resolve(this.scrollEl);
    });
  }
  getBackgroundElement() {
    return __async(this, null, function* () {
      return this.backgroundContentEl || (yield new Promise(((t17) => e2(this.el, t17)))), Promise.resolve(this.backgroundContentEl);
    });
  }
  scrollToTop(t17 = 0) {
    return this.scrollToPoint(void 0, 0, t17);
  }
  scrollToBottom(t17 = 0) {
    return __async(this, null, function* () {
      const o14 = yield this.getScrollElement();
      return this.scrollToPoint(void 0, o14.scrollHeight - o14.clientHeight, t17);
    });
  }
  scrollByPoint(t17, o14, i16) {
    return __async(this, null, function* () {
      const s23 = yield this.getScrollElement();
      return this.scrollToPoint(t17 + s23.scrollLeft, o14 + s23.scrollTop, i16);
    });
  }
  scrollToPoint(t17, o14, i16 = 0) {
    return __async(this, null, function* () {
      const s23 = yield this.getScrollElement();
      if (i16 < 32) return null != o14 && (s23.scrollTop = o14), void (null != t17 && (s23.scrollLeft = t17));
      let e16, n15 = 0;
      const r32 = new Promise(((t18) => e16 = t18)), l27 = s23.scrollTop, a17 = s23.scrollLeft, c36 = null != o14 ? o14 - l27 : 0, h21 = null != t17 ? t17 - a17 : 0, d25 = (t18) => {
        const o15 = Math.min(1, (t18 - n15) / i16) - 1, r33 = Math.pow(o15, 3) + 1;
        0 !== c36 && (s23.scrollTop = Math.floor(r33 * c36 + l27)), 0 !== h21 && (s23.scrollLeft = Math.floor(r33 * h21 + a17)), r33 < 1 ? requestAnimationFrame(d25) : e16();
      };
      return requestAnimationFrame(((t18) => {
        n15 = t18, d25(t18);
      })), r32;
    });
  }
  onScrollStart() {
    this.isScrolling = true, this.ionScrollStart.emit({ isScrolling: true }), this.watchDog && clearInterval(this.watchDog), this.watchDog = setInterval((() => {
      this.lastScroll < Date.now() - 120 && this.onScrollEnd();
    }), 100);
  }
  onScrollEnd() {
    this.watchDog && clearInterval(this.watchDog), this.watchDog = null, this.isScrolling && (this.isScrolling = false, this.ionScrollEnd.emit({ isScrolling: false }));
  }
  render() {
    const { fixedSlotPlacement: t17, inheritedAttributes: o14, isMainContent: i16, scrollX: s23, scrollY: e16, el: l27 } = this, a17 = o4(l27) ? "rtl" : "ltr", c36 = g(this), h21 = this.shouldForceOverscroll(), p33 = "ios" === c36;
    return this.resize(), Ct(It, Object.assign({ key: "8c1bc4a4df8698d3884741eb38512dc059210c50", role: i16 ? "main" : void 0, class: o6(this.color, { [c36]: true, "content-fullscreen": this.fullscreen, "content-sizing": n5("ion-popover", this.el), overscroll: h21, [`content-${a17}`]: true }), style: { "--offset-top": `${this.cTop}px`, "--offset-bottom": `${this.cBottom}px` } }, o14), Ct("div", { key: "5e7412549b51ef7543d9378ecab9aac6bc461588", ref: (t18) => this.backgroundContentEl = t18, id: "background-content", part: "background" }), "before" === t17 ? Ct("slot", { name: "fixed" }) : null, Ct("div", { key: "33f6fbf7e1e027c7cbd2dda95b487f18dc648cef", class: { "inner-scroll": true, "scroll-x": s23, "scroll-y": e16, overscroll: (s23 || e16) && h21 }, ref: (t18) => this.scrollEl = t18, onScroll: this.scrollEvents ? (t18) => this.onScroll(t18) : void 0, part: "scroll" }, Ct("slot", { key: "00c8fe7b9e73533c702273c9457d274195d54e98" })), p33 ? Ct("div", { class: "transition-effect" }, Ct("div", { class: "transition-cover" }), Ct("div", { class: "transition-shadow" })) : null, "after" === t17 ? Ct("slot", { name: "fixed" }) : null);
  }
  get el() {
    return this;
  }
  static get style() {
    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)}#background-content{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);position:absolute;background:var(--background)}.inner-scroll{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:calc(var(--padding-top) + var(--offset-top));padding-bottom:calc(var(--padding-bottom) + var(--keyboard-offset) + var(--offset-bottom));position:absolute;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;-ms-touch-action:pan-x pan-y pinch-zoom;touch-action:pan-x pan-y pinch-zoom}.scroll-y,.scroll-x{-webkit-overflow-scrolling:touch;z-index:0;will-change:scroll-position}.scroll-y{overflow-y:var(--overflow);overscroll-behavior-y:contain}.scroll-x{overflow-x:var(--overflow);overscroll-behavior-x:contain}.overscroll::before,.overscroll::after{position:absolute;width:1px;height:1px;content:""}.overscroll::before{bottom:-1px}.overscroll::after{top:-1px}:host(.content-sizing){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:0;contain:none}:host(.content-sizing) .inner-scroll{position:relative;top:0;bottom:0;margin-top:calc(var(--offset-top) * -1);margin-bottom:calc(var(--offset-bottom) * -1)}.transition-effect{display:none;position:absolute;width:100%;height:100vh;opacity:0;pointer-events:none}:host(.content-ltr) .transition-effect{left:-100%;}:host(.content-rtl) .transition-effect{right:-100%;}.transition-cover{position:absolute;right:0;width:100%;height:100%;background:black;opacity:0.1}.transition-shadow{display:block;position:absolute;width:100%;height:100%;-webkit-box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03);box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03)}:host(.content-ltr) .transition-shadow{right:0;}:host(.content-rtl) .transition-shadow{left:0;-webkit-transform:scaleX(-1);transform:scaleX(-1)}::slotted([slot=fixed]){position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0)}';
  }
}, [257, "ion-content", { color: [513], fullscreen: [4], fixedSlotPlacement: [1, "fixed-slot-placement"], forceOverscroll: [1028, "force-overscroll"], scrollX: [4, "scroll-x"], scrollY: [4, "scroll-y"], scrollEvents: [4, "scroll-events"], recalculateDimensions: [64], getScrollElement: [64], getBackgroundElement: [64], scrollToTop: [64], scrollToBottom: [64], scrollByPoint: [64], scrollToPoint: [64] }, [[9, "resize", "onResize"]]]);
var v8 = (t17) => {
  const o14 = t17.closest("ion-tabs");
  if (o14) return o14;
  return t17.closest("ion-app, ion-page, .ion-page, page-inner, .popover-content") || ((t18) => {
    var o15;
    return t18.parentElement ? t18.parentElement : (null === (o15 = t18.parentNode) || void 0 === o15 ? void 0 : o15.host) ? t18.parentNode.host : null;
  })(t17);
};
var g6 = (t17, o14, i16, s23) => {
  const e16 = t17.currentX, n15 = t17.currentY, r32 = o14.scrollLeft, l27 = o14.scrollTop, a17 = i16 - t17.currentTime;
  if (s23 && (t17.startTime = i16, t17.startX = r32, t17.startY = l27, t17.velocityX = t17.velocityY = 0), t17.currentTime = i16, t17.currentX = t17.scrollLeft = r32, t17.currentY = t17.scrollTop = l27, t17.deltaX = r32 - t17.startX, t17.deltaY = l27 - t17.startY, a17 > 0 && a17 < 100) {
    const o15 = (l27 - n15) / a17;
    t17.velocityX = (r32 - e16) / a17 * 0.7 + 0.3 * t17.velocityX, t17.velocityY = 0.7 * o15 + 0.3 * t17.velocityY;
  }
};
function x6() {
  "undefined" != typeof customElements && ["ion-content"].forEach(((t17) => {
    "ion-content" === t17 && (customElements.get(Zn(t17)) || customElements.define(Zn(t17), u10));
  }));
}

// node_modules/@ionic/core/components/ion-content.js
var a12 = x6;

// node_modules/@ionic/core/components/p-BS1TtEiJ.js
var t13 = (e16, t17) => e16.month === t17.month && e16.day === t17.day && e16.year === t17.year;
var n9 = (e16, t17) => !!(e16.year < t17.year || e16.year === t17.year && e16.month < t17.month || e16.year === t17.year && e16.month === t17.month && null !== e16.day && e16.day < t17.day);
var o11 = (e16, t17) => !!(e16.year > t17.year || e16.year === t17.year && e16.month > t17.month || e16.year === t17.year && e16.month === t17.month && null !== e16.day && e16.day > t17.day);
var r13 = (t17, r32, a17) => {
  const i16 = Array.isArray(t17) ? t17 : [t17];
  for (const d25 of i16) if (void 0 !== r32 && n9(d25, r32) || void 0 !== a17 && o11(d25, a17)) {
    u(`[ion-datetime] - The value provided to ion-datetime is out of bounds.

Min: ${JSON.stringify(r32)}
Max: ${JSON.stringify(a17)}
Value: ${JSON.stringify(t17)}`);
    break;
  }
};
var a13 = (e16, t17) => {
  if (void 0 !== t17) return t17;
  const n15 = new Intl.DateTimeFormat(e16, { hour: "numeric" }), o14 = n15.resolvedOptions();
  if (void 0 !== o14.hourCycle) return o14.hourCycle;
  const r32 = /* @__PURE__ */ new Date("5/18/2021 00:00"), a17 = n15.formatToParts(r32).find(((e17) => "hour" === e17.type));
  if (!a17) throw new Error("Hour value not found from DateTimeFormat");
  switch (a17.value) {
    case "0":
      return "h11";
    case "12":
      return "h12";
    case "00":
      return "h23";
    case "24":
      return "h24";
    default:
      throw new Error(`Invalid hour cycle "${t17}"`);
  }
};
var i12 = (e16) => "h23" === e16 || "h24" === e16;
var d11 = (e16, t17) => 4 === e16 || 6 === e16 || 9 === e16 || 11 === e16 ? 30 : 2 === e16 ? ((e17) => e17 % 4 == 0 && e17 % 100 != 0 || e17 % 400 == 0)(t17) ? 29 : 28 : 31;
var u11 = (e16, t17 = { month: "numeric", year: "numeric" }) => "month" === new Intl.DateTimeFormat(e16, t17).formatToParts(/* @__PURE__ */ new Date())[0].type;
var l14 = (e16) => "dayPeriod" === new Intl.DateTimeFormat(e16, { hour: "numeric" }).formatToParts(/* @__PURE__ */ new Date())[0].type;
var s16 = /^(\d{4}|[+\-]\d{6})(?:-(\d{2})(?:-(\d{2}))?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/;
var c20 = /^((\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/;
var v9 = (e16) => {
  if (void 0 === e16) return;
  let t17, n15 = e16;
  return "string" == typeof e16 && (n15 = e16.replace(/\[|\]|\s/g, "").split(",")), t17 = Array.isArray(n15) ? n15.map(((e17) => parseInt(e17, 10))).filter(isFinite) : [n15], t17;
};
var m14 = (e16) => ({ month: parseInt(e16.getAttribute("data-month"), 10), day: parseInt(e16.getAttribute("data-day"), 10), year: parseInt(e16.getAttribute("data-year"), 10), dayOfWeek: parseInt(e16.getAttribute("data-day-of-week"), 10) });
function y7(t17) {
  if (Array.isArray(t17)) {
    const e16 = [];
    for (const n16 of t17) {
      const t18 = y7(n16);
      if (!t18) return;
      e16.push(t18);
    }
    return e16;
  }
  let n15 = null;
  if (null != t17 && "" !== t17 && (n15 = c20.exec(t17), n15 ? (n15.unshift(void 0, void 0), n15[2] = n15[3] = void 0) : n15 = s16.exec(t17)), null !== n15) {
    for (let e16 = 1; e16 < 8; e16++) n15[e16] = void 0 !== n15[e16] ? parseInt(n15[e16], 10) : void 0;
    return { year: n15[1], month: n15[2], day: n15[3], hour: n15[4], minute: n15[5], ampm: n15[4] < 12 ? "am" : "pm" };
  }
  u(`[ion-datetime] - Unable to parse date string: ${t17}. Please provide a valid ISO 8601 datetime string.`);
}
var h11 = (e16, t17, r32) => t17 && n9(e16, t17) ? t17 : r32 && o11(e16, r32) ? r32 : e16;
var f12 = (e16) => e16 >= 12 ? "pm" : "am";
var w6 = (e16, t17) => {
  const n15 = y7(e16);
  if (void 0 === n15) return;
  const { month: o14, day: r32, year: a17, hour: i16, minute: u21 } = n15, l27 = null != a17 ? a17 : t17.year, s23 = null != o14 ? o14 : 12;
  return { month: s23, day: null != r32 ? r32 : d11(s23, l27), year: l27, hour: null != i16 ? i16 : 23, minute: null != u21 ? u21 : 59 };
};
var O6 = (e16, t17) => {
  const n15 = y7(e16);
  if (void 0 === n15) return;
  const { month: o14, day: r32, year: a17, hour: i16, minute: d25 } = n15;
  return { month: null != o14 ? o14 : 1, day: null != r32 ? r32 : 1, year: null != a17 ? a17 : t17.year, hour: null != i16 ? i16 : 0, minute: null != d25 ? d25 : 0 };
};
var $3 = (e16) => ("0" + (void 0 !== e16 ? Math.abs(e16) : "0")).slice(-2);
function p13(e16) {
  if (Array.isArray(e16)) return e16.map(((e17) => p13(e17)));
  let t17 = "";
  var n15;
  return void 0 !== e16.year ? (t17 = ("000" + (void 0 !== (n15 = e16.year) ? Math.abs(n15) : "0")).slice(-4), void 0 !== e16.month && (t17 += "-" + $3(e16.month), void 0 !== e16.day && (t17 += "-" + $3(e16.day), void 0 !== e16.hour && (t17 += `T${$3(e16.hour)}:${$3(e16.minute)}:00`)))) : void 0 !== e16.hour && (t17 = $3(e16.hour) + ":" + $3(e16.minute)), t17;
}
var j5 = (e16, t17) => void 0 === t17 ? e16 : "am" === t17 ? 12 === e16 ? 0 : e16 : 12 === e16 ? 12 : e16 + 12;
var b8 = (e16) => {
  const { dayOfWeek: t17 } = e16;
  if (null == t17) throw new Error("No day of week provided");
  return M7(e16, t17);
};
var I6 = (e16) => {
  const { dayOfWeek: t17 } = e16;
  if (null == t17) throw new Error("No day of week provided");
  return Z5(e16, 6 - t17);
};
var D5 = (e16) => Z5(e16, 1);
var T5 = (e16) => M7(e16, 1);
var k4 = (e16) => M7(e16, 7);
var x7 = (e16) => Z5(e16, 7);
var M7 = (e16, t17) => {
  const { month: n15, day: o14, year: r32 } = e16;
  if (null === o14) throw new Error("No day provided");
  const a17 = { month: n15, day: o14, year: r32 };
  if (a17.day = o14 - t17, a17.day < 1 && (a17.month -= 1), a17.month < 1 && (a17.month = 12, a17.year -= 1), a17.day < 1) {
    const e17 = d11(a17.month, a17.year);
    a17.day = e17 + a17.day;
  }
  return a17;
};
var Z5 = (e16, t17) => {
  const { month: n15, day: o14, year: r32 } = e16;
  if (null === o14) throw new Error("No day provided");
  const a17 = { month: n15, day: o14, year: r32 }, i16 = d11(n15, r32);
  return a17.day = o14 + t17, a17.day > i16 && (a17.day -= i16, a17.month += 1), a17.month > 12 && (a17.month = 1, a17.year += 1), a17;
};
var C2 = (e16) => {
  const t17 = 1 === e16.month ? 12 : e16.month - 1, n15 = 1 === e16.month ? e16.year - 1 : e16.year, o14 = d11(t17, n15);
  return { month: t17, year: n15, day: o14 < e16.day ? o14 : e16.day };
};
var g7 = (e16) => {
  const t17 = 12 === e16.month ? 1 : e16.month + 1, n15 = 12 === e16.month ? e16.year + 1 : e16.year, o14 = d11(t17, n15);
  return { month: t17, year: n15, day: o14 < e16.day ? o14 : e16.day };
};
var A3 = (e16, t17) => {
  const n15 = e16.month, o14 = e16.year + t17, r32 = d11(n15, o14);
  return { month: n15, year: o14, day: r32 < e16.day ? r32 : e16.day };
};
var U4 = (e16) => A3(e16, -1);
var E7 = (e16) => A3(e16, 1);
var N3 = (e16, t17, n15) => t17 ? e16 : j5(e16, n15);
var P3 = (e16, t17) => {
  const { ampm: n15, hour: o14 } = e16;
  let r32 = o14;
  return "am" === n15 && "pm" === t17 ? r32 = j5(r32, "pm") : "pm" === n15 && "am" === t17 && (r32 = Math.abs(r32 - 12)), r32;
};
var W5 = (e16, n15, o14) => {
  const { month: r32, day: a17, year: i16 } = e16, u21 = h11(Object.assign({}, e16), n15, o14), l27 = d11(r32, i16);
  return null !== a17 && l27 < a17 && (u21.day = l27), void 0 !== n15 && t13(u21, n15) && void 0 !== u21.hour && void 0 !== n15.hour && (u21.hour < n15.hour ? (u21.hour = n15.hour, u21.minute = n15.minute) : u21.hour === n15.hour && void 0 !== u21.minute && void 0 !== n15.minute && u21.minute < n15.minute && (u21.minute = n15.minute)), void 0 !== o14 && t13(e16, o14) && void 0 !== u21.hour && void 0 !== o14.hour && (u21.hour > o14.hour ? (u21.hour = o14.hour, u21.minute = o14.minute) : u21.hour === o14.hour && void 0 !== u21.minute && void 0 !== o14.minute && u21.minute > o14.minute && (u21.minute = o14.minute)), u21;
};
var G5 = ({ refParts: e16, monthValues: r32, dayValues: a17, yearValues: i16, hourValues: d25, minuteValues: u21, minParts: l27, maxParts: s23 }) => {
  const { hour: c36, minute: v18, day: m28, month: y14, year: h21 } = e16, w12 = Object.assign(Object.assign({}, e16), { dayOfWeek: void 0 });
  if (void 0 !== i16) {
    const e17 = i16.filter(((e18) => !(void 0 !== l27 && e18 < l27.year || void 0 !== s23 && e18 > s23.year)));
    w12.year = V3(h21, e17);
  }
  if (void 0 !== r32) {
    const e17 = r32.filter(((e18) => !(void 0 !== l27 && w12.year === l27.year && e18 < l27.month || void 0 !== s23 && w12.year === s23.year && e18 > s23.month)));
    w12.month = V3(y14, e17);
  }
  if (null !== m28 && void 0 !== a17) {
    const e17 = a17.filter(((e18) => !(void 0 !== l27 && n9(Object.assign(Object.assign({}, w12), { day: e18 }), l27) || void 0 !== s23 && o11(Object.assign(Object.assign({}, w12), { day: e18 }), s23))));
    w12.day = V3(m28, e17);
  }
  if (void 0 !== c36 && void 0 !== d25) {
    const e17 = d25.filter(((e18) => !(void 0 !== (null == l27 ? void 0 : l27.hour) && t13(w12, l27) && e18 < l27.hour || void 0 !== (null == s23 ? void 0 : s23.hour) && t13(w12, s23) && e18 > s23.hour)));
    w12.hour = V3(c36, e17), w12.ampm = f12(w12.hour);
  }
  if (void 0 !== v18 && void 0 !== u21) {
    const e17 = u21.filter(((e18) => !(void 0 !== (null == l27 ? void 0 : l27.minute) && t13(w12, l27) && w12.hour === l27.hour && e18 < l27.minute || void 0 !== (null == s23 ? void 0 : s23.minute) && t13(w12, s23) && w12.hour === s23.hour && e18 > s23.minute)));
    w12.minute = V3(v18, e17);
  }
  return w12;
};
var V3 = (e16, t17) => {
  let n15 = t17[0], o14 = Math.abs(n15 - e16);
  for (let r32 = 1; r32 < t17.length; r32++) {
    const a17 = t17[r32], i16 = Math.abs(a17 - e16);
    i16 < o14 && (n15 = a17, o14 = i16);
  }
  return n15;
};
var J4 = (e16) => Object.assign(Object.assign({}, e16), { timeZone: "UTC", timeZoneName: void 0 });
var F3 = (e16, t17, n15, o14 = { hour: "numeric", minute: "numeric" }) => {
  const r32 = { hour: t17.hour, minute: t17.minute };
  return void 0 === r32.hour || void 0 === r32.minute ? "Invalid Time" : new Intl.DateTimeFormat(e16, Object.assign(Object.assign({}, J4(o14)), { hourCycle: n15 })).format(/* @__PURE__ */ new Date(p13(Object.assign({ year: 2023, day: 1, month: 1 }, r32)) + "Z"));
};
var S6 = (e16) => {
  const t17 = e16.toString();
  return t17.length > 1 ? t17 : `0${t17}`;
};
var R4 = (e16, t17) => {
  if (0 === e16) switch (t17) {
    case "h11":
      return "0";
    case "h12":
      return "12";
    case "h23":
      return "00";
    case "h24":
      return "24";
    default:
      throw new Error(`Invalid hour cycle "${t17}"`);
  }
  return i12(t17) ? S6(e16) : e16.toString();
};
var B8 = (e16, t17, n15) => {
  if (null === n15.day) return null;
  const o14 = K5(n15), r32 = new Intl.DateTimeFormat(e16, { weekday: "long", month: "long", day: "numeric", timeZone: "UTC" }).format(o14);
  return t17 ? `Today, ${r32}` : r32;
};
var H6 = (e16, t17) => {
  const n15 = K5(t17);
  return new Intl.DateTimeFormat(e16, { month: "long", year: "numeric", timeZone: "UTC" }).format(n15);
};
var q6 = (e16, t17) => Q5(e16, t17, { day: "numeric" }).find(((e17) => "day" === e17.type)).value;
var z4 = (e16, t17) => L6(e16, t17, { year: "numeric" });
var K5 = (e16) => {
  var t17, n15, o14;
  return /* @__PURE__ */ new Date(`${null !== (t17 = e16.month) && void 0 !== t17 ? t17 : 1}/${null !== (n15 = e16.day) && void 0 !== n15 ? n15 : 1}/${null !== (o14 = e16.year) && void 0 !== o14 ? o14 : 2023}${void 0 !== e16.hour && void 0 !== e16.minute ? ` ${e16.hour}:${e16.minute}` : ""} GMT+0000`);
};
var L6 = (e16, t17, n15) => {
  const o14 = K5(t17);
  return X5(e16, J4(n15)).format(o14);
};
var Q5 = (e16, t17, n15) => {
  const o14 = K5(t17);
  return X5(e16, n15).formatToParts(o14);
};
var X5 = (e16, t17) => new Intl.DateTimeFormat(e16, Object.assign(Object.assign({}, t17), { timeZone: "UTC" }));
var Y4 = (e16) => {
  if ("RelativeTimeFormat" in Intl) {
    const t17 = new Intl.RelativeTimeFormat(e16, { numeric: "auto" }).format(0, "day");
    return t17.charAt(0).toUpperCase() + t17.slice(1);
  }
  return "Today";
};
var _4 = (e16) => {
  const t17 = e16.getTimezoneOffset();
  return e16.setMinutes(e16.getMinutes() - t17), e16;
};
var ee = _4(/* @__PURE__ */ new Date("2022T01:00"));
var te = _4(/* @__PURE__ */ new Date("2022T13:00"));
var ne = (e16, t17) => {
  const n15 = "am" === t17 ? ee : te, o14 = new Intl.DateTimeFormat(e16, { hour: "numeric", timeZone: "UTC" }).formatToParts(n15).find(((e17) => "dayPeriod" === e17.type));
  return o14 ? o14.value : ((e17) => void 0 === e17 ? "" : e17.toUpperCase())(t17);
};
var oe = (e16) => Array.isArray(e16) ? e16.join(",") : e16;
var re = () => _4(/* @__PURE__ */ new Date()).toISOString();
var ae = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59];
var ie = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11];
var de = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11];
var ue = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23];
var le = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 0];
var se = (e16, t17, n15 = 0) => {
  const o14 = new Intl.DateTimeFormat(e16, { weekday: "ios" === t17 ? "short" : "narrow" }), r32 = /* @__PURE__ */ new Date("11/01/2020"), a17 = [];
  for (let e17 = n15; e17 < n15 + 7; e17++) {
    const t18 = new Date(r32);
    t18.setDate(t18.getDate() + e17), a17.push(o14.format(t18));
  }
  return a17;
};
var ce = (e16, t17, n15, o14 = false) => {
  const r32 = d11(e16, t17);
  let a17;
  a17 = 1 === e16 ? d11(12, t17 - 1) : d11(e16 - 1, t17);
  const i16 = (/* @__PURE__ */ new Date(`${e16}/1/${t17}`)).getDay(), u21 = i16 >= n15 ? i16 - (n15 + 1) : 6 - (n15 - i16);
  let l27 = [];
  for (let e17 = 1; e17 <= r32; e17++) l27.push({ day: e17, dayOfWeek: (u21 + e17) % 7, isAdjacentDay: false });
  if (o14) {
    for (let e18 = 0; e18 <= u21; e18++) l27 = [{ day: a17 - e18, dayOfWeek: (a17 - e18) % 7, isAdjacentDay: true }, ...l27];
    const e17 = 41 - (r32 + u21);
    for (let t18 = 0; t18 < e17; t18++) l27.push({ day: t18 + 1, dayOfWeek: (r32 + u21 + t18) % 7, isAdjacentDay: true });
  } else for (let e17 = 0; e17 <= u21; e17++) l27 = [{ day: null, dayOfWeek: null, isAdjacentDay: false }, ...l27];
  return l27;
};
var ve = (e16, r32, d25 = "h12", u21, l27, s23, c36) => {
  const v18 = a13(e16, d25), m28 = i12(v18);
  let y14 = ((e17) => {
    switch (e17) {
      case "h11":
        return ie;
      case "h12":
        return de;
      case "h23":
        return ue;
      case "h24":
        return le;
      default:
        throw new Error(`Invalid hour cycle "${e17}"`);
    }
  })(v18), h21 = ae, f27 = true, w12 = true;
  if (s23 && (y14 = y14.filter(((e17) => s23.includes(e17)))), c36 && (h21 = h21.filter(((e17) => c36.includes(e17)))), u21) if (t13(r32, u21)) {
    if (void 0 !== u21.hour && (y14 = y14.filter(((e17) => (m28 ? e17 : "pm" === r32.ampm ? (e17 + 12) % 24 : e17) >= u21.hour)), f27 = u21.hour < 13), void 0 !== u21.minute) {
      let e17 = false;
      void 0 !== u21.hour && void 0 !== r32.hour && r32.hour > u21.hour && (e17 = true), h21 = h21.filter(((t17) => !!e17 || t17 >= u21.minute));
    }
  } else n9(r32, u21) && (y14 = [], h21 = [], f27 = w12 = false);
  return l27 && (t13(r32, l27) ? (void 0 !== l27.hour && (y14 = y14.filter(((e17) => (m28 ? e17 : "pm" === r32.ampm ? (e17 + 12) % 24 : e17) <= l27.hour)), w12 = l27.hour >= 12), void 0 !== l27.minute && r32.hour === l27.hour && (h21 = h21.filter(((e17) => e17 <= l27.minute)))) : o11(r32, l27) && (y14 = [], h21 = [], f27 = w12 = false)), { hours: y14, minutes: h21, am: f27, pm: w12 };
};
var me = (e16, t17) => {
  const o14 = { month: e16.month, year: e16.year, day: e16.day };
  if (void 0 !== t17 && (e16.month !== t17.month || e16.year !== t17.year)) {
    const r32 = { month: t17.month, year: t17.year, day: t17.day };
    return n9(r32, o14) ? [r32, o14, g7(e16)] : [C2(e16), o14, r32];
  }
  return [C2(e16), o14, g7(e16)];
};
var ye = (e16, t17, n15, o14, r32, a17 = { month: "long" }) => {
  const { year: i16 } = t17, d25 = [];
  if (void 0 !== r32) {
    let t18 = r32;
    void 0 !== (null == o14 ? void 0 : o14.month) && (t18 = t18.filter(((e17) => e17 <= o14.month))), void 0 !== (null == n15 ? void 0 : n15.month) && (t18 = t18.filter(((e17) => e17 >= n15.month))), t18.forEach(((t19) => {
      const n16 = /* @__PURE__ */ new Date(`${t19}/1/${i16} GMT+0000`), o15 = new Intl.DateTimeFormat(e16, Object.assign(Object.assign({}, a17), { timeZone: "UTC" })).format(n16);
      d25.push({ text: o15, value: t19 });
    }));
  } else {
    const t18 = o14 && o14.year === i16 ? o14.month : 12;
    for (let o15 = n15 && n15.year === i16 ? n15.month : 1; o15 <= t18; o15++) {
      const t19 = /* @__PURE__ */ new Date(`${o15}/1/${i16} GMT+0000`), n16 = new Intl.DateTimeFormat(e16, Object.assign(Object.assign({}, a17), { timeZone: "UTC" })).format(t19);
      d25.push({ text: n16, value: o15 });
    }
  }
  return d25;
};
var he = (e16, t17, n15, o14, r32, a17 = { day: "numeric" }) => {
  const { month: i16, year: u21 } = t17, l27 = [], s23 = d11(i16, u21), c36 = null != (null == o14 ? void 0 : o14.day) && o14.year === u21 && o14.month === i16 ? o14.day : s23, v18 = null != (null == n15 ? void 0 : n15.day) && n15.year === u21 && n15.month === i16 ? n15.day : 1;
  if (void 0 !== r32) {
    let t18 = r32;
    t18 = t18.filter(((e17) => e17 >= v18 && e17 <= c36)), t18.forEach(((t19) => {
      const n16 = /* @__PURE__ */ new Date(`${i16}/${t19}/${u21} GMT+0000`), o15 = new Intl.DateTimeFormat(e16, Object.assign(Object.assign({}, a17), { timeZone: "UTC" })).format(n16);
      l27.push({ text: o15, value: t19 });
    }));
  } else for (let t18 = v18; t18 <= c36; t18++) {
    const n16 = /* @__PURE__ */ new Date(`${i16}/${t18}/${u21} GMT+0000`), o15 = new Intl.DateTimeFormat(e16, Object.assign(Object.assign({}, a17), { timeZone: "UTC" })).format(n16);
    l27.push({ text: o15, value: t18 });
  }
  return l27;
};
var fe = (e16, t17, n15, o14, r32) => {
  var a17, i16;
  let d25 = [];
  if (void 0 !== r32) d25 = r32, void 0 !== (null == o14 ? void 0 : o14.year) && (d25 = d25.filter(((e17) => e17 <= o14.year))), void 0 !== (null == n15 ? void 0 : n15.year) && (d25 = d25.filter(((e17) => e17 >= n15.year)));
  else {
    const { year: e17 } = t17, r33 = null !== (a17 = null == o14 ? void 0 : o14.year) && void 0 !== a17 ? a17 : e17;
    for (let t18 = null !== (i16 = null == n15 ? void 0 : n15.year) && void 0 !== i16 ? i16 : e17 - 100; t18 <= r33; t18++) d25.push(t18);
  }
  return d25.map(((n16) => ({ text: z4(e16, { year: n16, month: t17.month, day: t17.day }), value: n16 })));
};
var we = (e16, t17) => e16.month === t17.month && e16.year === t17.year ? [e16] : [e16, ...we(g7(e16), t17)];
var Oe = (e16, n15, o14, r32, a17, i16) => {
  let d25 = [], u21 = [], l27 = we(o14, r32);
  return i16 && (l27 = l27.filter((({ month: e17 }) => i16.includes(e17)))), l27.forEach(((i17) => {
    const l28 = { month: i17.month, day: null, year: i17.year }, s23 = he(e16, l28, o14, r32, a17, { month: "short", day: "numeric", weekday: "short" }), c36 = [], v18 = [];
    s23.forEach(((o15) => {
      const r33 = t13(Object.assign(Object.assign({}, l28), { day: o15.value }), n15);
      v18.push({ text: r33 ? Y4(e16) : o15.text, value: `${l28.year}-${l28.month}-${o15.value}` }), c36.push({ month: l28.month, year: l28.year, day: o15.value });
    })), u21 = [...u21, ...c36], d25 = [...d25, ...v18];
  })), { parts: u21, items: d25 };
};
var $e = (e16, t17, n15, o14, r32, d25, u21) => {
  const l27 = a13(e16, n15), s23 = i12(l27), { hours: c36, minutes: v18, am: m28, pm: y14 } = ve(e16, t17, l27, o14, r32, d25, u21), h21 = c36.map(((e17) => ({ text: R4(e17, l27), value: N3(e17, s23, t17.ampm) }))), f27 = v18.map(((e17) => ({ text: S6(e17), value: e17 }))), w12 = [];
  return m28 && !s23 && w12.push({ text: ne(e16, "am"), value: "am" }), y14 && !s23 && w12.push({ text: ne(e16, "pm"), value: "pm" }), { minutesData: f27, hoursData: h21, dayPeriodData: w12 };
};

// node_modules/@ionic/core/components/ion-datetime-button.js
var f13 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.__attachShadow(), this.datetimeEl = null, this.overlayEl = null, this.datetimePresentation = "date-time", this.datetimeActive = false, this.color = "primary", this.disabled = false, this.getParsedDateValues = (t18) => null == t18 ? [] : Array.isArray(t18) ? t18 : [t18], this.setDateTimeText = () => {
      var t18, e16, a17, n15, o14;
      const { datetimeEl: s23, datetimePresentation: r32 } = this;
      if (!s23) return;
      const { value: d25, locale: c36, formatOptions: u21, hourCycle: f27, preferWheel: x16, multiple: v18, titleSelectedDatesFormatter: g20 } = s23, y14 = this.getParsedDateValues(d25), k12 = y7(y14.length > 0 ? y14 : [re()]);
      if (!k12) return;
      const w12 = k12[0], E11 = a13(c36, f27);
      switch (this.dateText = this.timeText = void 0, r32) {
        case "date-time":
        case "time-date":
          const s24 = L6(c36, w12, null !== (t18 = null == u21 ? void 0 : u21.date) && void 0 !== t18 ? t18 : { month: "short", day: "numeric", year: "numeric" }), r33 = F3(c36, w12, E11, null == u21 ? void 0 : u21.time);
          x16 ? this.dateText = `${s24} ${r33}` : (this.dateText = s24, this.timeText = r33);
          break;
        case "date":
          if (v18 && 1 !== y14.length) {
            let t19 = y14.length + " days";
            if (void 0 !== g20) try {
              t19 = g20(y14);
            } catch (t20) {
              f("[ion-datetime-button] - Exception in provided `titleSelectedDatesFormatter`:", t20);
            }
            this.dateText = t19;
          } else this.dateText = L6(c36, w12, null !== (e16 = null == u21 ? void 0 : u21.date) && void 0 !== e16 ? e16 : { month: "short", day: "numeric", year: "numeric" });
          break;
        case "time":
          this.timeText = F3(c36, w12, E11, null == u21 ? void 0 : u21.time);
          break;
        case "month-year":
          this.dateText = L6(c36, w12, null !== (a17 = null == u21 ? void 0 : u21.date) && void 0 !== a17 ? a17 : { month: "long", year: "numeric" });
          break;
        case "month":
          this.dateText = L6(c36, w12, null !== (n15 = null == u21 ? void 0 : u21.time) && void 0 !== n15 ? n15 : { month: "long" });
          break;
        case "year":
          this.dateText = L6(c36, w12, null !== (o14 = null == u21 ? void 0 : u21.time) && void 0 !== o14 ? o14 : { year: "numeric" });
      }
    }, this.waitForDatetimeChanges = () => __async(this, null, function* () {
      const { datetimeEl: t18 } = this;
      return t18 ? new Promise(((e16) => {
        l(t18, "ionRender", e16, { once: true });
      })) : Promise.resolve();
    }), this.handleDateClick = (t18) => __async(this, null, function* () {
      const { datetimeEl: e16, datetimePresentation: i16 } = this;
      if (!e16) return;
      let a17 = false;
      switch (i16) {
        case "date-time":
        case "time-date":
          !e16.preferWheel && "date" !== e16.presentation && (e16.presentation = "date", a17 = true);
      }
      this.selectedButton = "date", this.presentOverlay(t18, a17, this.dateTargetEl);
    }), this.handleTimeClick = (t18) => {
      const { datetimeEl: e16, datetimePresentation: i16 } = this;
      if (!e16) return;
      let a17 = false;
      switch (i16) {
        case "date-time":
        case "time-date":
          "time" !== e16.presentation && (e16.presentation = "time", a17 = true);
      }
      this.selectedButton = "time", this.presentOverlay(t18, a17, this.timeTargetEl);
    }, this.presentOverlay = (t18, e16, i16) => __async(this, null, function* () {
      const { overlayEl: a17 } = this;
      a17 && ("ION-POPOVER" === a17.tagName ? (e16 && (yield this.waitForDatetimeChanges()), a17.present(Object.assign(Object.assign({}, t18), { detail: { ionShadowTarget: i16 } }))) : a17.present());
    });
  }
  componentWillLoad() {
    return __async(this, null, function* () {
      const { datetime: t17 } = this;
      if (!t17) return void f("[ion-datetime-button] - An ID associated with an ion-datetime instance is required to function properly.", this.el);
      const e16 = this.datetimeEl = document.getElementById(t17);
      if (!e16) return void f(`[ion-datetime-button] - No ion-datetime instance found for ID '${t17}'.`, this.el);
      if ("ION-DATETIME" !== e16.tagName) return void f(`[ion-datetime-button] - Expected an ion-datetime instance for ID '${t17}' but received '${e16.tagName.toLowerCase()}' instead.`, e16);
      new IntersectionObserver(((t18) => {
        this.datetimeActive = t18[0].isIntersecting;
      }), { threshold: 0.01 }).observe(e16);
      const a17 = this.overlayEl = e16.closest("ion-modal, ion-popover");
      a17 && a17.classList.add("ion-datetime-button-overlay"), e2(e16, (() => {
        const t18 = this.datetimePresentation = e16.presentation || "date-time";
        switch (this.setDateTimeText(), l(e16, "ionValueChange", this.setDateTimeText), t18) {
          case "date-time":
          case "date":
          case "month-year":
          case "month":
          case "year":
            this.selectedButton = "date";
            break;
          case "time-date":
          case "time":
            this.selectedButton = "time";
        }
      }));
    });
  }
  render() {
    const { color: t17, dateText: e16, timeText: i16, selectedButton: o14, datetimeActive: s23, disabled: r32 } = this, l27 = g(this);
    return Ct(It, { key: "11d037e6ab061e5116842970760b04850b42f2c7", class: o6(t17, { [l27]: true, [o14 + "-active"]: s23, "datetime-button-disabled": r32 }) }, e16 && Ct("button", { key: "08ecb62da0fcbf7466a1f2403276712a3ff17fbc", class: "ion-activatable", id: "date-button", "aria-expanded": s23 ? "true" : "false", onClick: this.handleDateClick, disabled: r32, part: "native", ref: (t18) => this.dateTargetEl = t18 }, Ct("slot", { key: "1c04853d4d23c0f1a594602bde44511c98355644", name: "date-target" }, e16), "md" === l27 && Ct("ion-ripple-effect", { key: "5fc566cd4bc885bcf983ce99e3dc65d7f485bf9b" })), i16 && Ct("button", { key: "c9c5c34ac338badf8659da22bea5829d62c51169", class: "ion-activatable", id: "time-button", "aria-expanded": s23 ? "true" : "false", onClick: this.handleTimeClick, disabled: r32, part: "native", ref: (t18) => this.timeTargetEl = t18 }, Ct("slot", { key: "147a9d2069dbf737f6fc64787823d6d5af5aa653", name: "time-target" }, i16), "md" === l27 && Ct("ion-ripple-effect", { key: "70a5e25b75ed90ac6bba003468435f67aa9d8f0a" })));
  }
  get el() {
    return this;
  }
  static get style() {
    return { ios: ":host{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host button{border-radius:8px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:0px;margin-bottom:0px;position:relative;-webkit-transition:150ms color ease-in-out;transition:150ms color ease-in-out;border:none;background:var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0));color:var(--ion-text-color, #000);font-family:inherit;font-size:1rem;cursor:pointer;overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host(.time-active) #time-button,:host(.date-active) #date-button{color:var(--ion-color-base)}:host(.datetime-button-disabled){pointer-events:none}:host(.datetime-button-disabled) button{opacity:0.4}:host button{-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px;padding-top:7px;padding-bottom:7px}:host button.ion-activated{color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}", md: ":host{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host button{border-radius:8px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:0px;margin-bottom:0px;position:relative;-webkit-transition:150ms color ease-in-out;transition:150ms color ease-in-out;border:none;background:var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0));color:var(--ion-text-color, #000);font-family:inherit;font-size:1rem;cursor:pointer;overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host(.time-active) #time-button,:host(.date-active) #date-button{color:var(--ion-color-base)}:host(.datetime-button-disabled){pointer-events:none}:host(.datetime-button-disabled) button{opacity:0.4}:host button{-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px}" };
  }
}, [289, "ion-datetime-button", { color: [513], disabled: [516], datetime: [1], datetimePresentation: [32], dateText: [32], timeText: [32], datetimeActive: [32], selectedButton: [32] }]);
var v10 = function() {
  "undefined" != typeof customElements && ["ion-datetime-button", "ion-ripple-effect"].forEach(((t17) => {
    switch (t17) {
      case "ion-datetime-button":
        customElements.get(Zn(t17)) || customElements.define(Zn(t17), f13);
        break;
      case "ion-ripple-effect":
        customElements.get(Zn(t17)) || p7();
    }
  }));
};

// node_modules/@ionic/core/components/ion-fab.js
var r14 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.__attachShadow(), this.edge = false, this.activated = false;
  }
  activatedChanged() {
    const t17 = this.activated, o14 = this.getFab();
    o14 && (o14.activated = t17), Array.from(this.el.querySelectorAll("ion-fab-list")).forEach(((o15) => {
      o15.activated = t17;
    }));
  }
  componentDidLoad() {
    this.activated && this.activatedChanged();
  }
  close() {
    return __async(this, null, function* () {
      this.activated = false;
    });
  }
  getFab() {
    return this.el.querySelector("ion-fab-button");
  }
  toggle() {
    return __async(this, null, function* () {
      this.el.querySelector("ion-fab-list") && (this.activated = !this.activated);
    });
  }
  render() {
    const { horizontal: t17, vertical: o14, edge: i16 } = this, r32 = g(this);
    return Ct(It, { key: "8a310806d0e748d7ebb0ed3d9a2652038e0f2960", class: { [r32]: true, ["fab-horizontal-" + t17]: void 0 !== t17, ["fab-vertical-" + o14]: void 0 !== o14, "fab-edge": i16 } }, Ct("slot", { key: "9394ef6d6e5b0410fa6ba212171f687fb178ce2d" }));
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { activated: [{ activatedChanged: 0 }] };
  }
  static get style() {
    return ":host{position:absolute;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;z-index:999}:host(.fab-horizontal-center){left:0px;right:0px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto}:host(.fab-horizontal-start){left:calc(10px + var(--ion-safe-area-left, 0px));}:host-context([dir=rtl]):host(.fab-horizontal-start),:host-context([dir=rtl]).fab-horizontal-start{right:calc(10px + var(--ion-safe-area-right, 0px));left:unset}@supports selector(:dir(rtl)){:host(.fab-horizontal-start:dir(rtl)){right:calc(10px + var(--ion-safe-area-right, 0px));left:unset}}:host(.fab-horizontal-end){right:calc(10px + var(--ion-safe-area-right, 0px));}:host-context([dir=rtl]):host(.fab-horizontal-end),:host-context([dir=rtl]).fab-horizontal-end{left:calc(10px + var(--ion-safe-area-left, 0px));right:unset}@supports selector(:dir(rtl)){:host(.fab-horizontal-end:dir(rtl)){left:calc(10px + var(--ion-safe-area-left, 0px));right:unset}}:host(.fab-vertical-top){top:10px}:host(.fab-vertical-top.fab-edge){top:0}:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-button){margin-top:-50%}:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-button.fab-button-small){margin-top:calc((-100% + 16px) / 2)}:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-list.fab-list-side-start),:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-list.fab-list-side-end){margin-top:-50%}:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-list.fab-list-side-top),:host(.fab-vertical-top.fab-edge) ::slotted(ion-fab-list.fab-list-side-bottom){margin-top:calc(50% + 10px)}:host(.fab-vertical-bottom){bottom:10px}:host(.fab-vertical-bottom.fab-edge){bottom:0}:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-button){margin-bottom:-50%}:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-button.fab-button-small){margin-bottom:calc((-100% + 16px) / 2)}:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-list.fab-list-side-start),:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-list.fab-list-side-end){margin-bottom:-50%}:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-list.fab-list-side-top),:host(.fab-vertical-bottom.fab-edge) ::slotted(ion-fab-list.fab-list-side-bottom){margin-bottom:calc(50% + 10px)}:host(.fab-vertical-center){top:0px;bottom:0px;margin-top:auto;margin-bottom:auto}";
  }
}, [257, "ion-fab", { horizontal: [1], vertical: [1], edge: [4], activated: [1028], close: [64], toggle: [64] }, void 0, { activated: [{ activatedChanged: 0 }] }]);
var l15 = function() {
  "undefined" != typeof customElements && ["ion-fab"].forEach(((t17) => {
    "ion-fab" === t17 && (customElements.get(Zn(t17)) || customElements.define(Zn(t17), r14));
  }));
};

// node_modules/@ionic/core/components/ion-fab-button.js
var f14 = Dn(class extends I {
  constructor(o14) {
    super(), false !== o14 && this.__registerHost(), this.__attachShadow(), this.ionFocus = Jt(this, "ionFocus", 7), this.ionBlur = Jt(this, "ionBlur", 7), this.fab = null, this.inheritedAttributes = {}, this.activated = false, this.disabled = false, this.routerDirection = "forward", this.show = false, this.translucent = false, this.type = "button", this.closeIcon = v5, this.onFocus = () => {
      this.ionFocus.emit();
    }, this.onBlur = () => {
      this.ionBlur.emit();
    }, this.onClick = () => {
      const { fab: o15 } = this;
      o15 && o15.toggle();
    };
  }
  connectedCallback() {
    this.fab = this.el.closest("ion-fab");
  }
  componentWillLoad() {
    this.inheritedAttributes = s2(this.el);
  }
  render() {
    const { el: o14, disabled: t17, color: r32, href: n15, activated: e16, show: d25, translucent: p33, size: u21, inheritedAttributes: f27 } = this, h21 = n5("ion-fab-list", o14), v18 = g(this), g20 = void 0 === n15 ? "button" : "a", m28 = "button" === g20 ? { type: this.type } : { download: this.download, href: n15, rel: this.rel, target: this.target };
    return Ct(It, { key: "4eee204d20b0e2ffed49a88f6cb3e04b6697965c", onClick: this.onClick, "aria-disabled": t17 ? "true" : null, class: o6(r32, { [v18]: true, "fab-button-in-list": h21, "fab-button-translucent-in-list": h21 && p33, "fab-button-close-active": e16, "fab-button-show": d25, "fab-button-disabled": t17, "fab-button-translucent": p33, "ion-activatable": true, "ion-focusable": true, ["fab-button-" + u21]: void 0 !== u21 }) }, Ct(g20, Object.assign({ key: "914561622c0c6bd41453e828a7d8a39f924875ac" }, m28, { class: "button-native", part: "native", disabled: t17, onFocus: this.onFocus, onBlur: this.onBlur, onClick: (o15) => l6(n15, o15, this.routerDirection, this.routerAnimation) }, f27), Ct("ion-icon", { key: "2c8090742a64c62a79243667027a195cca9d5912", "aria-hidden": "true", icon: this.closeIcon, part: "close-icon", class: "close-icon", lazy: false }), Ct("span", { key: "c3e55291e4c4d306d34a4b95dd2e727e87bdf39c", class: "button-inner" }, Ct("slot", { key: "f8e57f71d8f8878d9746cfece82f57f19ef9e988" })), "md" === v18 && Ct("ion-ripple-effect", { key: "a5e94fa0bb9836072300617245ed0c1b4887bac6" })));
  }
  get el() {
    return this;
  }
  static get style() {
    return { ios: ':host{--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--background-hover:var(--ion-color-primary-contrast, #fff);--background-hover-opacity:.08;--transition:background-color, opacity 100ms linear;--ripple-color:currentColor;--border-radius:50%;--border-width:0;--border-style:none;--border-color:initial;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:56px;height:56px;font-size:14px;text-align:center;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;-webkit-transform:var(--transform);transform:var(--transform);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);background-clip:padding-box;color:var(--color);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:strict;cursor:pointer;overflow:hidden;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-icon){line-height:1}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{left:0;right:0;top:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;z-index:1}:host(.fab-button-disabled){cursor:default;opacity:0.5;pointer-events:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-activated) .button-native{color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}::slotted(ion-icon){line-height:1}:host(.fab-button-small){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px;margin-bottom:8px;width:40px;height:40px}.close-icon{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;left:0;right:0;top:0;position:absolute;height:100%;-webkit-transform:scale(0.4) rotateZ(-45deg);transform:scale(0.4) rotateZ(-45deg);-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;font-size:var(--close-icon-font-size);opacity:0;z-index:1}:host(.fab-button-close-active) .close-icon{-webkit-transform:scale(1) rotateZ(0deg);transform:scale(1) rotateZ(0deg);opacity:1}:host(.fab-button-close-active) .button-inner{-webkit-transform:scale(0.4) rotateZ(45deg);transform:scale(0.4) rotateZ(45deg);opacity:0}ion-ripple-effect{color:var(--ripple-color)}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.fab-button-translucent) .button-native{-webkit-backdrop-filter:var(--backdrop-filter);backdrop-filter:var(--backdrop-filter)}}:host(.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{--background:var(--ion-color-primary, #0054e9);--background-activated:var(--ion-color-primary-shade, #004acd);--background-focused:var(--ion-color-primary-shade, #004acd);--background-hover:var(--ion-color-primary-tint, #1a65eb);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1;--color:var(--ion-color-primary-contrast, #fff);--box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);--transition:0.2s transform cubic-bezier(0.25, 1.11, 0.78, 1.59);--close-icon-font-size:28px}:host(.ion-activated){--box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);--transform:scale(1.1);--transition:0.2s transform ease-out}::slotted(ion-icon){font-size:28px}:host(.fab-button-in-list){--background:var(--ion-color-light, #f4f5f8);--background-activated:var(--ion-color-light-shade, #d7d8da);--background-focused:var(--background-activated);--background-hover:var(--ion-color-light-tint, #f5f6f9);--color:var(--ion-color-light-contrast, #000);--color-activated:var(--ion-color-light-contrast, #000);--color-focused:var(--color-activated);--transition:transform 200ms ease 10ms, opacity 200ms ease 10ms}:host(.fab-button-in-list) ::slotted(ion-icon){font-size:18px}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}:host(.ion-color.ion-focused) .button-native,:host(.ion-color.ion-activated) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .button-native::after,:host(.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-contrast)}:host(.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.fab-button-translucent){--background:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.9);--background-hover:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.8);--background-focused:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.82);--backdrop-filter:saturate(180%) blur(20px)}:host(.fab-button-translucent-in-list){--background:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.9);--background-hover:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.8);--background-focused:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.82)}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){@media (any-hover: hover){:host(.fab-button-translucent.ion-color:hover) .button-native{background:rgba(var(--ion-color-base-rgb), 0.8)}}:host(.ion-color.fab-button-translucent) .button-native{background:rgba(var(--ion-color-base-rgb), 0.9)}:host(.ion-color.ion-focused.fab-button-translucent) .button-native,:host(.ion-color.ion-activated.fab-button-translucent) .button-native{background:var(--ion-color-base)}}', md: ':host{--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--background-hover:var(--ion-color-primary-contrast, #fff);--background-hover-opacity:.08;--transition:background-color, opacity 100ms linear;--ripple-color:currentColor;--border-radius:50%;--border-width:0;--border-style:none;--border-color:initial;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:56px;height:56px;font-size:14px;text-align:center;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;-webkit-transform:var(--transform);transform:var(--transform);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);background-clip:padding-box;color:var(--color);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:strict;cursor:pointer;overflow:hidden;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-icon){line-height:1}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{left:0;right:0;top:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;z-index:1}:host(.fab-button-disabled){cursor:default;opacity:0.5;pointer-events:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-activated) .button-native{color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}::slotted(ion-icon){line-height:1}:host(.fab-button-small){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px;margin-bottom:8px;width:40px;height:40px}.close-icon{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;left:0;right:0;top:0;position:absolute;height:100%;-webkit-transform:scale(0.4) rotateZ(-45deg);transform:scale(0.4) rotateZ(-45deg);-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;font-size:var(--close-icon-font-size);opacity:0;z-index:1}:host(.fab-button-close-active) .close-icon{-webkit-transform:scale(1) rotateZ(0deg);transform:scale(1) rotateZ(0deg);opacity:1}:host(.fab-button-close-active) .button-inner{-webkit-transform:scale(0.4) rotateZ(45deg);transform:scale(0.4) rotateZ(45deg);opacity:0}ion-ripple-effect{color:var(--ripple-color)}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.fab-button-translucent) .button-native{-webkit-backdrop-filter:var(--backdrop-filter);backdrop-filter:var(--backdrop-filter)}}:host(.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{--background:var(--ion-color-primary, #0054e9);--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--background-activated-opacity:0;--background-focused-opacity:.24;--background-hover-opacity:.08;--color:var(--ion-color-primary-contrast, #fff);--box-shadow:0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);--transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1), background-color 280ms cubic-bezier(0.4, 0, 0.2, 1), color 280ms cubic-bezier(0.4, 0, 0.2, 1), opacity 15ms linear 30ms, transform 270ms cubic-bezier(0, 0, 0.2, 1) 0ms;--close-icon-font-size:24px}:host(.ion-activated){--box-shadow:0 7px 8px -4px rgba(0, 0, 0, 0.2), 0 12px 17px 2px rgba(0, 0, 0, 0.14), 0 5px 22px 4px rgba(0, 0, 0, 0.12)}::slotted(ion-icon){font-size:24px}:host(.fab-button-in-list){--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);--color-activated:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);--color-focused:var(--color-activated);--background:var(--ion-color-light, #f4f5f8);--background-activated:transparent;--background-focused:var(--ion-color-light-shade, #d7d8da);--background-hover:var(--ion-color-light-tint, #f5f6f9)}:host(.fab-button-in-list) ::slotted(ion-icon){font-size:18px}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-contrast)}:host(.ion-color.ion-activated) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activated) .button-native::after{background:transparent}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-contrast)}:host(.ion-color:hover) .button-native::after{background:var(--ion-color-contrast)}}' };
  }
}, [289, "ion-fab-button", { color: [513], activated: [4], disabled: [4], download: [1], href: [1], rel: [1], routerDirection: [1, "router-direction"], routerAnimation: [16], target: [1], show: [4], translucent: [4], type: [1], size: [1], closeIcon: [1, "close-icon"] }]);
var v11 = function() {
  "undefined" != typeof customElements && ["ion-fab-button", "ion-icon", "ion-ripple-effect"].forEach(((o14) => {
    switch (o14) {
      case "ion-fab-button":
        customElements.get(Zn(o14)) || customElements.define(Zn(o14), f14);
        break;
      case "ion-icon":
        customElements.get(Zn(o14)) || y6();
        break;
      case "ion-ripple-effect":
        customElements.get(Zn(o14)) || p7();
    }
  }));
};

// node_modules/@ionic/core/components/ion-fab-list.js
var o12 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.__attachShadow(), this.activateTimeouts = [], this.activated = false, this.side = "bottom";
  }
  activatedChanged(t17) {
    this.activateTimeouts.forEach(clearTimeout), this.activateTimeouts = [];
    const i16 = Array.from(this.el.querySelectorAll("ion-fab-button")), e16 = t17 ? 30 : 0;
    i16.forEach(((i17, s23) => {
      this.activateTimeouts.push(setTimeout((() => i17.show = t17), s23 * e16));
    }));
  }
  disconnectedCallback() {
    this.activateTimeouts.forEach(clearTimeout), this.activateTimeouts = [];
  }
  render() {
    const t17 = g(this);
    return Ct(It, { key: "03a8920c29a93c6df4bab14753a78a8a30722ce8", class: { [t17]: true, "fab-list-active": this.activated, ["fab-list-side-" + this.side]: true } }, Ct("slot", { key: "d9e1541cb044e209bc2dff14080f3b938a2b84ae" }));
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { activated: [{ activatedChanged: 0 }] };
  }
  static get style() {
    return ":host{margin-left:0;margin-right:0;margin-top:calc(100% + 10px);margin-bottom:calc(100% + 10px);display:none;position:absolute;top:0;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;min-width:56px;min-height:56px}:host(.fab-list-active){display:-ms-flexbox;display:flex}::slotted(.fab-button-in-list){margin-left:0;margin-right:0;margin-top:8px;margin-bottom:8px;width:40px;height:40px;-webkit-transform:scale(0);transform:scale(0);opacity:0;visibility:hidden}:host(.fab-list-side-top) ::slotted(.fab-button-in-list),:host(.fab-list-side-bottom) ::slotted(.fab-button-in-list){margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px}:host(.fab-list-side-start) ::slotted(.fab-button-in-list),:host(.fab-list-side-end) ::slotted(.fab-button-in-list){-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:5px;margin-inline-end:5px;margin-top:0;margin-bottom:0}::slotted(.fab-button-in-list.fab-button-show){-webkit-transform:scale(1);transform:scale(1);opacity:1;visibility:visible}:host(.fab-list-side-top){top:auto;bottom:0;-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.fab-list-side-start){-webkit-margin-start:calc(100% + 10px);margin-inline-start:calc(100% + 10px);-webkit-margin-end:calc(100% + 10px);margin-inline-end:calc(100% + 10px);margin-top:0;margin-bottom:0;-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.fab-list-side-start){inset-inline-end:0}:host(.fab-list-side-end){-webkit-margin-start:calc(100% + 10px);margin-inline-start:calc(100% + 10px);-webkit-margin-end:calc(100% + 10px);margin-inline-end:calc(100% + 10px);margin-top:0;margin-bottom:0;-ms-flex-direction:row;flex-direction:row}:host(.fab-list-side-end){inset-inline-start:0}";
  }
}, [257, "ion-fab-list", { activated: [4], side: [1] }, void 0, { activated: [{ activatedChanged: 0 }] }]);
var l16 = function() {
  "undefined" != typeof customElements && ["ion-fab-list"].forEach(((t17) => {
    "ion-fab-list" === t17 && (customElements.get(Zn(t17)) || customElements.define(Zn(t17), o12));
  }));
};

// node_modules/@ionic/core/components/p-CtWGkNnJ.js
var r15 = (o14) => {
  if (void 0 === o2 || o14 === i4.None || void 0 === o14) return null;
  const n15 = o2.querySelector("ion-app");
  return null != n15 ? n15 : o2.body;
};
var e13 = (o14) => {
  const i16 = r15(o14);
  return null === i16 ? 0 : i16.clientHeight;
};
var s17 = (i16) => __async(null, null, function* () {
  let l27, s23, t17, a17;
  const d25 = () => __async(null, null, function* () {
    const i17 = yield t4.getResizeMode(), r32 = void 0 === i17 ? void 0 : i17.mode;
    l27 = () => {
      void 0 === a17 && (a17 = e13(r32)), t17 = true, u21(t17, r32);
    }, s23 = () => {
      t17 = false, u21(t17, r32);
    }, null == d || d.addEventListener("keyboardWillShow", l27), null == d || d.addEventListener("keyboardWillHide", s23);
  }), u21 = (o14, n15) => {
    i16 && i16(o14, c36(n15));
  }, c36 = (o14) => {
    if (0 === a17 || a17 === e13(o14)) return;
    const i17 = r15(o14);
    return null !== i17 ? new Promise(((o15) => {
      const n15 = new ResizeObserver((() => {
        i17.clientHeight === a17 && (n15.disconnect(), o15());
      }));
      n15.observe(i17);
    })) : void 0;
  };
  return yield d25(), { init: d25, destroy: () => {
    null == d || d.removeEventListener("keyboardWillShow", l27), null == d || d.removeEventListener("keyboardWillHide", s23), l27 = s23 = void 0;
  }, isKeyboardVisible: () => t17 };
});

// node_modules/@ionic/core/components/ion-footer.js
var b9 = (i16, s23) => {
  W((() => {
    const o14 = b(0, 1 - (i16.scrollTop - (i16.scrollHeight - i16.clientHeight - 10)) / 10, 1);
    P((() => {
      s23.style.setProperty("--opacity-scale", "" + o14);
    }));
  }));
};
var h12 = Dn(class extends I {
  constructor(o14) {
    super(), false !== o14 && this.__registerHost(), this.keyboardCtrl = null, this.keyboardCtrlPromise = null, this.keyboardVisible = false, this.translucent = false, this.checkCollapsibleFooter = () => {
      if ("ios" !== g(this)) return;
      const { collapse: o15 } = this, t17 = "fade" === o15;
      if (this.destroyCollapsibleFooter(), t17) {
        const o16 = this.el.closest("ion-app,ion-page,.ion-page,page-inner"), t18 = o16 ? n3(o16) : null;
        if (!t18) return void p2(this.el);
        this.setupFadeFooter(t18);
      }
    }, this.setupFadeFooter = (o15) => __async(this, null, function* () {
      const t17 = this.scrollEl = yield i3(o15);
      this.contentScrollCallback = () => {
        b9(t17, this.el);
      }, t17.addEventListener("scroll", this.contentScrollCallback), b9(t17, this.el);
    });
  }
  componentDidLoad() {
    this.checkCollapsibleFooter();
  }
  componentDidUpdate() {
    this.checkCollapsibleFooter();
  }
  connectedCallback() {
    return __async(this, null, function* () {
      const o14 = s17(((o15, t18) => __async(this, null, function* () {
        false === o15 && void 0 !== t18 && (yield t18), this.keyboardVisible = o15;
      })));
      this.keyboardCtrlPromise = o14;
      const t17 = yield o14;
      this.keyboardCtrlPromise === o14 ? (this.keyboardCtrl = t17, this.keyboardCtrlPromise = null) : t17.destroy();
    });
  }
  disconnectedCallback() {
    this.keyboardCtrlPromise && (this.keyboardCtrlPromise.then(((o14) => o14.destroy())), this.keyboardCtrlPromise = null), this.keyboardCtrl && (this.keyboardCtrl.destroy(), this.keyboardCtrl = null);
  }
  destroyCollapsibleFooter() {
    this.scrollEl && this.contentScrollCallback && (this.scrollEl.removeEventListener("scroll", this.contentScrollCallback), this.contentScrollCallback = void 0);
  }
  render() {
    const { translucent: o14, collapse: t17 } = this, i16 = g(this), s23 = this.el.closest("ion-tabs"), a17 = null == s23 ? void 0 : s23.querySelector(":scope > ion-tab-bar");
    return Ct(It, { key: "71939c4bbaef5062532a99ee2e33574102a9abad", role: "contentinfo", class: { [i16]: true, ["footer-" + i16]: true, "footer-translucent": o14, ["footer-translucent-" + i16]: o14, "footer-toolbar-padding": !(this.keyboardVisible || a17 && "bottom" === a17.slot), ["footer-collapse-" + t17]: void 0 !== t17 } }, "ios" === i16 && o14 && Ct("div", { key: "2fa14f61661c47c661cecd696176728d6eafa74f", class: "footer-background" }), Ct("slot", { key: "8e63696e7c528d5c38201e546bf08135290d0945" }));
  }
  get el() {
    return this;
  }
  static get style() {
    return { ios: "ion-footer{display:block;position:relative;-ms-flex-order:1;order:1;width:100%;z-index:10}ion-footer.footer-toolbar-padding ion-toolbar:last-of-type{padding-bottom:var(--ion-safe-area-bottom, 0)}.footer-ios ion-toolbar:first-of-type{--border-width:0.55px 0 0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.footer-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.footer-translucent-ios ion-toolbar{--opacity:.8}}.footer-ios.ion-no-border ion-toolbar:first-of-type{--border-width:0}.footer-collapse-fade ion-toolbar{--opacity-scale:inherit}", md: "ion-footer{display:block;position:relative;-ms-flex-order:1;order:1;width:100%;z-index:10}ion-footer.footer-toolbar-padding ion-toolbar:last-of-type{padding-bottom:var(--ion-safe-area-bottom, 0)}.footer-md{-webkit-box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12)}.footer-md.ion-no-border{-webkit-box-shadow:none;box-shadow:none}" };
  }
}, [292, "ion-footer", { collapse: [1], translucent: [4], keyboardVisible: [32] }]);
var m15 = function() {
  "undefined" != typeof customElements && ["ion-footer"].forEach(((o14) => {
    "ion-footer" === o14 && (customElements.get(Zn(o14)) || customElements.define(Zn(o14), h12));
  }));
};

// node_modules/@ionic/core/components/ion-grid.js
var p14 = Dn(class extends I {
  constructor(i16) {
    super(), false !== i16 && this.__registerHost(), this.__attachShadow(), this.fixed = false;
  }
  render() {
    const i16 = g(this);
    return Ct(It, { key: "617127ecfabf9bf615bef1dda1be3fed5a065949", class: { [i16]: true, "grid-fixed": this.fixed } }, Ct("slot", { key: "c781fff853b093d8f44bdb7943bbc4f17c903803" }));
  }
  static get style() {
    return ":host{-webkit-padding-start:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;display:block;-ms-flex:1;flex:1}@media (min-width: 576px){:host{-webkit-padding-start:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px))}}@media (min-width: 768px){:host{-webkit-padding-start:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px))}}@media (min-width: 992px){:host{-webkit-padding-start:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px))}}@media (min-width: 1200px){:host{-webkit-padding-start:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px))}}:host(.grid-fixed){width:var(--ion-grid-width-xs, var(--ion-grid-width, 100%));max-width:100%}@media (min-width: 576px){:host(.grid-fixed){width:var(--ion-grid-width-sm, var(--ion-grid-width, 540px))}}@media (min-width: 768px){:host(.grid-fixed){width:var(--ion-grid-width-md, var(--ion-grid-width, 720px))}}@media (min-width: 992px){:host(.grid-fixed){width:var(--ion-grid-width-lg, var(--ion-grid-width, 960px))}}@media (min-width: 1200px){:host(.grid-fixed){width:var(--ion-grid-width-xl, var(--ion-grid-width, 1140px))}}:host(.ion-no-padding){--ion-grid-column-padding:0;--ion-grid-column-padding-xs:0;--ion-grid-column-padding-sm:0;--ion-grid-column-padding-md:0;--ion-grid-column-padding-lg:0;--ion-grid-column-padding-xl:0}";
  }
}, [257, "ion-grid", { fixed: [4] }]);
var t14 = function() {
  "undefined" != typeof customElements && ["ion-grid"].forEach(((i16) => {
    "ion-grid" === i16 && (customElements.get(Zn(i16)) || customElements.define(Zn(i16), p14));
  }));
};

// node_modules/@ionic/core/components/p-BYDc3hSE.js
var u12 = "none";
var f15 = "banner";
var m16 = (e16) => {
  const o14 = document.querySelector(`${e16}.ion-cloned-element`);
  if (null !== o14) return o14;
  const t17 = document.createElement(e16);
  return t17.classList.add("ion-cloned-element"), t17.style.setProperty("display", "none"), document.body.appendChild(t17), t17;
};
var x8 = (e16) => {
  if (!e16) return;
  const o14 = e16.querySelectorAll("ion-toolbar");
  return { el: e16, toolbars: Array.from(o14).map(((e17) => {
    const o15 = e17.querySelector("ion-title");
    return { el: e17, background: e17.shadowRoot.querySelector(".toolbar-background"), ionTitleEl: o15, innerTitleEl: o15 ? o15.shadowRoot.querySelector(".toolbar-title") : null, ionButtonsEl: Array.from(e17.querySelectorAll("ion-buttons")) };
  })) };
};
var y8 = (e16, o14) => {
  "fade" !== e16.collapse && (void 0 === o14 ? e16.style.removeProperty("--opacity-scale") : e16.style.setProperty("--opacity-scale", o14.toString()));
};
var g8 = (e16, o14 = true) => {
  const t17 = e16.el, n15 = e16.toolbars.map(((e17) => e17.ionTitleEl));
  o14 ? (t17.setAttribute("role", f15), t17.classList.remove("header-collapse-condense-inactive"), n15.forEach(((e17) => {
    e17 && e17.removeAttribute("aria-hidden");
  }))) : (t17.setAttribute("role", u12), t17.classList.add("header-collapse-condense-inactive"), n15.forEach(((e17) => {
    e17 && e17.setAttribute("aria-hidden", "true");
  })));
};
var k5 = (t17, n15, a17) => {
  W((() => {
    const e16 = t17.scrollTop, i16 = n15.clientHeight, s23 = a17 ? a17.clientHeight : 0;
    if (null !== a17 && e16 < s23) return n15.style.setProperty("--opacity-scale", "0"), void t17.style.setProperty("clip-path", `inset(${i16}px 0px 0px 0px)`);
    const r32 = b(0, (e16 - s23) / 10, 1);
    P((() => {
      t17.style.removeProperty("clip-path"), n15.style.setProperty("--opacity-scale", r32.toString());
    }));
  }));
};
var v12 = Dn(class extends I {
  constructor(e16) {
    super(), false !== e16 && this.__registerHost(), this.inheritedAttributes = {}, this.translucent = false, this.setupFadeHeader = (e17, o14) => __async(this, null, function* () {
      const t17 = this.scrollEl = yield i3(e17);
      this.contentScrollCallback = () => {
        k5(this.scrollEl, this.el, o14);
      }, t17.addEventListener("scroll", this.contentScrollCallback), k5(this.scrollEl, this.el, o14);
    });
  }
  componentWillLoad() {
    this.inheritedAttributes = s2(this.el);
  }
  componentDidLoad() {
    this.checkCollapsibleHeader();
  }
  componentDidUpdate() {
    this.checkCollapsibleHeader();
  }
  disconnectedCallback() {
    this.destroyCollapsibleHeader();
  }
  checkCollapsibleHeader() {
    return __async(this, null, function* () {
      if ("ios" !== g(this)) return;
      const { collapse: e16 } = this, t17 = "condense" === e16, n15 = "fade" === e16;
      if (this.destroyCollapsibleHeader(), t17) {
        const e17 = this.el.closest("ion-app,ion-page,.ion-page,page-inner"), t18 = e17 ? n3(e17) : null;
        P((() => {
          m16("ion-title").size = "large", m16("ion-back-button");
        })), yield this.setupCondenseHeader(t18, e17);
      } else if (n15) {
        const e17 = this.el.closest("ion-app,ion-page,.ion-page,page-inner"), o14 = e17 ? n3(e17) : null;
        if (!o14) return void p2(this.el);
        const t18 = o14.querySelector('ion-header[collapse="condense"]');
        yield this.setupFadeHeader(o14, t18);
      }
    });
  }
  destroyCollapsibleHeader() {
    this.intersectionObserver && (this.intersectionObserver.disconnect(), this.intersectionObserver = void 0), this.scrollEl && this.contentScrollCallback && (this.scrollEl.removeEventListener("scroll", this.contentScrollCallback), this.contentScrollCallback = void 0), this.collapsibleMainHeader && (this.collapsibleMainHeader.classList.remove("header-collapse-main"), this.collapsibleMainHeader = void 0);
  }
  setupCondenseHeader(t17, n15) {
    return __async(this, null, function* () {
      if (!t17 || !n15) return void p2(this.el);
      if ("undefined" == typeof IntersectionObserver) return;
      this.scrollEl = yield i3(t17);
      const a17 = n15.querySelectorAll("ion-header");
      if (this.collapsibleMainHeader = Array.from(a17).find(((e16) => "condense" !== e16.collapse)), !this.collapsibleMainHeader) return;
      const i16 = x8(this.collapsibleMainHeader), s23 = x8(this.el);
      i16 && s23 && (g8(i16, false), y8(i16.el, 0), this.intersectionObserver = new IntersectionObserver(((e16) => {
        ((e17, t18, n16, a18) => {
          P((() => {
            const o14 = a18.scrollTop;
            ((e18, o15, t19) => {
              if (!e18[0].isIntersecting) return;
              const n17 = e18[0].intersectionRatio > 0.9 || t19 <= 0 ? 0 : 100 * (1 - e18[0].intersectionRatio) / 75;
              y8(o15.el, 1 === n17 ? void 0 : n17);
            })(e17, t18, o14);
            const i17 = e17[0], s24 = i17.intersectionRect, r32 = s24.width * s24.height, l27 = 0 === r32 && 0 == i17.rootBounds.width * i17.rootBounds.height, d25 = Math.abs(s24.left - i17.boundingClientRect.left), c36 = Math.abs(s24.right - i17.boundingClientRect.right);
            l27 || r32 > 0 && (d25 >= 5 || c36 >= 5) || (i17.isIntersecting ? (g8(t18, false), g8(n16)) : (0 === s24.x && 0 === s24.y || 0 !== s24.width && 0 !== s24.height) && o14 > 0 && (g8(t18), g8(n16, false), y8(t18.el)));
          }));
        })(e16, i16, s23, this.scrollEl);
      }), { root: t17, threshold: [0.25, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1] }), this.intersectionObserver.observe(s23.toolbars[s23.toolbars.length - 1].el), this.contentScrollCallback = () => {
        ((t18, n16, a18) => {
          W((() => {
            const e16 = b(1, 1 + -t18.scrollTop / 500, 1.1);
            null === a18.querySelector("ion-refresher.refresher-native") && P((() => {
              ((e17 = [], o14 = 1, t19 = false) => {
                e17.forEach(((e18) => {
                  const n17 = e18.ionTitleEl, a19 = e18.innerTitleEl;
                  n17 && "large" === n17.size && (a19.style.transition = t19 ? "all 0.2s ease-in-out" : "", a19.style.transform = `scale3d(${o14}, ${o14}, 1)`);
                }));
              })(n16.toolbars, e16);
            }));
          }));
        })(this.scrollEl, s23, t17);
      }, this.scrollEl.addEventListener("scroll", this.contentScrollCallback), P((() => {
        void 0 !== this.collapsibleMainHeader && this.collapsibleMainHeader.classList.add("header-collapse-main");
      })));
    });
  }
  render() {
    const { translucent: e16, inheritedAttributes: o14 } = this, t17 = g(this), n15 = this.collapse || "none", s23 = "condense" === n15, r32 = /* @__PURE__ */ ((e17, o15, t18) => e17 || o15 && "md" === t18 ? u12 : f15)(n5("ion-menu", this.el), s23, t17);
    return Ct(It, Object.assign({ key: "863c4568cd7b8c0ec55109f193bbbaed68a1346e", role: r32, class: { [t17]: true, [`header-${t17}`]: true, "header-translucent": this.translucent, [`header-collapse-${n15}`]: true, [`header-translucent-${t17}`]: this.translucent } }, o14), "ios" === t17 && e16 && Ct("div", { key: "25c3bdce328b0b35607d154c8b8374679313d881", class: "header-background" }), Ct("slot", { key: "b44fab0a9be7920b9650da26117c783e751e1702" }));
  }
  get el() {
    return this;
  }
  static get style() {
    return { ios: "ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-ios ion-toolbar:last-of-type{--border-width:0 0 0.55px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.header-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}.header-translucent-ios ion-toolbar{--opacity:.8}.header-collapse-condense-inactive .header-background{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}}.header-ios.ion-no-border ion-toolbar:last-of-type{--border-width:0}.header-collapse-fade ion-toolbar{--opacity-scale:inherit}.header-collapse-fade.header-transitioning ion-toolbar{--background:transparent;--border-style:none}.header-collapse-condense{z-index:9}.header-collapse-condense ion-toolbar{position:-webkit-sticky;position:sticky;top:0}.header-collapse-condense ion-toolbar:first-of-type{padding-top:0px;z-index:1}.header-collapse-condense ion-toolbar{z-index:0}.header-collapse-condense ion-toolbar:last-of-type{--border-width:0px}.header-collapse-condense ion-toolbar ion-searchbar{padding-top:0px;padding-bottom:13px}.header-collapse-main{--opacity-scale:1}.header-collapse-main ion-toolbar{--opacity-scale:inherit}.header-collapse-main ion-toolbar.in-toolbar ion-title,.header-collapse-main ion-toolbar.in-toolbar ion-buttons{-webkit-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.header-collapse-condense ion-toolbar,.header-collapse-condense-inactive.header-transitioning:not(.header-collapse-condense) ion-toolbar{--background:var(--ion-background-color, #fff)}.header-collapse-condense-inactive.header-transitioning:not(.header-collapse-condense) ion-toolbar{--border-style:none;--opacity-scale:1}.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive:not(.header-collapse-condense) ion-toolbar.in-toolbar ion-buttons.buttons-collapse{opacity:0;pointer-events:none}.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-title,.header-collapse-condense-inactive.header-collapse-condense ion-toolbar.in-toolbar ion-buttons.buttons-collapse{visibility:hidden}ion-header.header-ios:not(.header-collapse-main):has(~ion-content ion-header.header-ios[collapse=condense],~ion-content ion-header.header-ios.header-collapse-condense){opacity:0}", md: "ion-header{display:block;position:relative;-ms-flex-order:-1;order:-1;width:100%;z-index:10}ion-header ion-toolbar:first-of-type{padding-top:var(--ion-safe-area-top, 0)}.header-md{-webkit-box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);box-shadow:0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12)}.header-md.header-collapse-condense{display:none}.header-md.ion-no-border{-webkit-box-shadow:none;box-shadow:none}" };
  }
}, [292, "ion-header", { collapse: [1], translucent: [4] }]);
function w7() {
  "undefined" != typeof customElements && ["ion-header"].forEach(((e16) => {
    "ion-header" === e16 && (customElements.get(Zn(e16)) || customElements.define(Zn(e16), v12));
  }));
}

// node_modules/@ionic/core/components/ion-header.js
var r16 = w7;

// node_modules/@ionic/core/components/ion-img.js
var a14 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.__attachShadow(), this.ionImgWillLoad = Jt(this, "ionImgWillLoad", 7), this.ionImgDidLoad = Jt(this, "ionImgDidLoad", 7), this.ionError = Jt(this, "ionError", 7), this.inheritedAttributes = {}, this.onLoad = () => {
      this.ionImgDidLoad.emit();
    }, this.onError = () => {
      this.ionError.emit();
    };
  }
  srcChanged() {
    this.addIO();
  }
  componentWillLoad() {
    this.inheritedAttributes = n2(this.el, ["draggable"]);
  }
  componentDidLoad() {
    this.addIO();
  }
  disconnectedCallback() {
    this.loadTimeout && clearTimeout(this.loadTimeout);
  }
  addIO() {
    this.loadTimeout && (clearTimeout(this.loadTimeout), this.loadTimeout = void 0), void 0 !== this.src && ("undefined" != typeof window && "IntersectionObserver" in window && "IntersectionObserverEntry" in window && "isIntersecting" in window.IntersectionObserverEntry.prototype ? (this.removeIO(), this.io = new IntersectionObserver(((t17) => {
      t17[t17.length - 1].isIntersecting && (this.load(), this.removeIO());
    })), this.io.observe(this.el)) : this.loadTimeout = setTimeout((() => this.load()), 200));
  }
  load() {
    this.loadError = this.onError, this.loadSrc = this.src, this.ionImgWillLoad.emit();
  }
  removeIO() {
    this.io && (this.io.disconnect(), this.io = void 0);
  }
  render() {
    const { loadSrc: t17, alt: i16, onLoad: s23, loadError: r32, inheritedAttributes: n15 } = this, { draggable: a17 } = n15;
    return Ct(It, { key: "9bfaa659b0680189fd29f3acb2fdce7f70be6060", class: g(this) }, Ct("img", { key: "d484beae0d5cbe0406958bfad40cdd6c05625340", decoding: "async", src: t17, alt: i16, onLoad: s23, onError: r32, part: "image", draggable: d12(a17) }));
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { src: [{ srcChanged: 0 }] };
  }
  static get style() {
    return ":host{display:block;-o-object-fit:contain;object-fit:contain}img{display:block;width:100%;height:100%;-o-object-fit:inherit;object-fit:inherit;-o-object-position:inherit;object-position:inherit}";
  }
}, [1, "ion-img", { alt: [1], src: [1], loadSrc: [32], loadError: [32] }, void 0, { src: [{ srcChanged: 0 }] }]);
var d12 = (t17) => {
  switch (t17) {
    case "true":
      return true;
    case "false":
      return false;
    default:
      return;
  }
};
var l17 = function() {
  "undefined" != typeof customElements && ["ion-img"].forEach(((t17) => {
    "ion-img" === t17 && (customElements.get(Zn(t17)) || customElements.define(Zn(t17), a14));
  }));
};

// node_modules/@ionic/core/components/ion-infinite-scroll.js
var f16 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.ionInfinite = Jt(this, "ionInfinite", 7), this.thrPx = 0, this.thrPc = 0, this.didFire = false, this.isBusy = false, this.isLoading = false, this.threshold = "15%", this.disabled = false, this.position = "bottom", this.onScroll = () => {
      const t18 = this.scrollEl;
      if (!t18 || !this.canStart()) return 1;
      const s23 = this.el.offsetHeight;
      if (0 === s23) return 2;
      const i16 = t18.scrollTop, e16 = t18.offsetHeight, h21 = 0 !== this.thrPc ? e16 * this.thrPc : this.thrPx;
      return ("bottom" === this.position ? t18.scrollHeight - s23 - i16 - h21 - e16 : i16 - s23 - h21) < 0 && !this.didFire ? (this.isLoading = true, this.didFire = true, this.ionInfinite.emit(), 3) : 4;
    };
  }
  thresholdChanged() {
    const t17 = this.threshold;
    t17.lastIndexOf("%") > -1 ? (this.thrPx = 0, this.thrPc = parseFloat(t17) / 100) : (this.thrPx = parseFloat(t17), this.thrPc = 0);
  }
  disabledChanged() {
    const t17 = this.disabled;
    t17 && (this.isLoading = false, this.isBusy = false), this.enableScrollEvents(!t17);
  }
  connectedCallback() {
    return __async(this, null, function* () {
      const t17 = f3(this.el);
      t17 ? (this.scrollEl = yield i3(t17), this.thresholdChanged(), this.disabledChanged(), "top" === this.position && P((() => {
        this.scrollEl && (this.scrollEl.scrollTop = this.scrollEl.scrollHeight - this.scrollEl.clientHeight);
      }))) : p2(this.el);
    });
  }
  disconnectedCallback() {
    this.enableScrollEvents(false), this.scrollEl = void 0;
  }
  complete() {
    return __async(this, null, function* () {
      const t17 = this.scrollEl;
      if (this.isLoading && t17) if (this.isLoading = false, "top" === this.position) {
        this.isBusy = true;
        const s23 = t17.scrollHeight - t17.scrollTop;
        requestAnimationFrame((() => {
          W((() => {
            const i16 = t17.scrollHeight - s23;
            requestAnimationFrame((() => {
              P((() => {
                t17.scrollTop = i16, this.isBusy = false, this.didFire = false;
              }));
            }));
          }));
        }));
      } else this.didFire = false;
    });
  }
  canStart() {
    return !(this.disabled || this.isBusy || !this.scrollEl || this.isLoading);
  }
  enableScrollEvents(t17) {
    this.scrollEl && (t17 ? this.scrollEl.addEventListener("scroll", this.onScroll) : this.scrollEl.removeEventListener("scroll", this.onScroll));
  }
  render() {
    const t17 = g(this), s23 = this.disabled;
    return Ct(It, { key: "e844956795f69be33396ce4480aa7a54ad01b28c", class: { [t17]: true, "infinite-scroll-loading": this.isLoading, "infinite-scroll-enabled": !s23 } });
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { threshold: [{ thresholdChanged: 0 }], disabled: [{ disabledChanged: 0 }] };
  }
  static get style() {
    return "ion-infinite-scroll{display:none;width:100%}.infinite-scroll-enabled{display:block}";
  }
}, [0, "ion-infinite-scroll", { threshold: [1], disabled: [4], position: [1], isLoading: [32], complete: [64] }, void 0, { threshold: [{ thresholdChanged: 0 }], disabled: [{ disabledChanged: 0 }] }]);
var p15 = function() {
  "undefined" != typeof customElements && ["ion-infinite-scroll"].forEach(((t17) => {
    "ion-infinite-scroll" === t17 && (customElements.get(Zn(t17)) || customElements.define(Zn(t17), f16));
  }));
};

// node_modules/@ionic/core/components/p-Cyxa_4PV.js
var l18 = { bubbles: { dur: 1e3, circles: 9, fn: (e16, r32, s23) => {
  const n15 = e16 * r32 / s23 - e16 + "ms", t17 = 2 * Math.PI * r32 / s23;
  return { r: 5, style: { top: 32 * Math.sin(t17) + "%", left: 32 * Math.cos(t17) + "%", "animation-delay": n15 } };
} }, circles: { dur: 1e3, circles: 8, fn: (e16, r32, s23) => {
  const n15 = r32 / s23, t17 = e16 * n15 - e16 + "ms", i16 = 2 * Math.PI * n15;
  return { r: 5, style: { top: 32 * Math.sin(i16) + "%", left: 32 * Math.cos(i16) + "%", "animation-delay": t17 } };
} }, circular: { dur: 1400, elmDuration: true, circles: 1, fn: () => ({ r: 20, cx: 48, cy: 48, fill: "none", viewBox: "24 24 48 48", transform: "translate(0,0)", style: {} }) }, crescent: { dur: 750, circles: 1, fn: () => ({ r: 26, style: {} }) }, dots: { dur: 750, circles: 3, fn: (e16, r32) => ({ r: 6, style: { left: 32 - 32 * r32 + "%", "animation-delay": -110 * r32 + "ms" } }) }, lines: { dur: 1e3, lines: 8, fn: (e16, r32, s23) => ({ y1: 14, y2: 26, style: { transform: `rotate(${360 / s23 * r32 + (r32 < s23 / 2 ? 180 : -180)}deg)`, "animation-delay": e16 * r32 / s23 - e16 + "ms" } }) }, "lines-small": { dur: 1e3, lines: 8, fn: (e16, r32, s23) => ({ y1: 12, y2: 20, style: { transform: `rotate(${360 / s23 * r32 + (r32 < s23 / 2 ? 180 : -180)}deg)`, "animation-delay": e16 * r32 / s23 - e16 + "ms" } }) }, "lines-sharp": { dur: 1e3, lines: 12, fn: (e16, r32, s23) => ({ y1: 17, y2: 29, style: { transform: `rotate(${30 * r32 + (r32 < 6 ? 180 : -180)}deg)`, "animation-delay": e16 * r32 / s23 - e16 + "ms" } }) }, "lines-sharp-small": { dur: 1e3, lines: 12, fn: (e16, r32, s23) => ({ y1: 12, y2: 20, style: { transform: `rotate(${30 * r32 + (r32 < 6 ? 180 : -180)}deg)`, "animation-delay": e16 * r32 / s23 - e16 + "ms" } }) } };
var c21 = Dn(class extends I {
  constructor(e16) {
    super(), false !== e16 && this.__registerHost(), this.__attachShadow(), this.paused = false;
  }
  getName() {
    const e16 = this.name || n.get("spinner"), r32 = g(this);
    return e16 || ("ios" === r32 ? "lines" : "circular");
  }
  render() {
    var e16;
    const r32 = this, i16 = g(r32), c36 = r32.getName(), m28 = null !== (e16 = l18[c36]) && void 0 !== e16 ? e16 : l18.lines, d25 = "number" == typeof r32.duration && r32.duration > 10 ? r32.duration : m28.dur, k12 = [];
    if (void 0 !== m28.circles) for (let e17 = 0; e17 < m28.circles; e17++) k12.push(p16(m28, d25, e17, m28.circles));
    else if (void 0 !== m28.lines) for (let e17 = 0; e17 < m28.lines; e17++) k12.push(f17(m28, d25, e17, m28.lines));
    return Ct(It, { key: "dd1954e557fa14b943e761474e29e4316ba53938", class: o6(r32.color, { [i16]: true, [`spinner-${c36}`]: true, "spinner-paused": r32.paused || n.getBoolean("_testing") }), role: "progressbar", style: m28.elmDuration ? { animationDuration: d25 + "ms" } : {} }, k12);
  }
  static get style() {
    return ":host{display:inline-block;position:relative;width:28px;height:28px;color:var(--color);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.ion-color){color:var(--ion-color-base)}svg{-webkit-transform-origin:center;transform-origin:center;position:absolute;top:0;left:0;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0)}:host-context([dir=rtl]) svg{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}[dir=rtl] svg{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}@supports selector(:dir(rtl)){svg:dir(rtl){-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}}:host(.spinner-lines) line,:host(.spinner-lines-small) line{stroke-width:7px}:host(.spinner-lines-sharp) line,:host(.spinner-lines-sharp-small) line{stroke-width:4px}:host(.spinner-lines) line,:host(.spinner-lines-small) line,:host(.spinner-lines-sharp) line,:host(.spinner-lines-sharp-small) line{stroke-linecap:round;stroke:currentColor}:host(.spinner-lines) svg,:host(.spinner-lines-small) svg,:host(.spinner-lines-sharp) svg,:host(.spinner-lines-sharp-small) svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite}:host(.spinner-bubbles) svg{-webkit-animation:spinner-scale-out 1s linear infinite;animation:spinner-scale-out 1s linear infinite;fill:currentColor}:host(.spinner-circles) svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite;fill:currentColor}:host(.spinner-crescent) circle{fill:transparent;stroke-width:4px;stroke-dasharray:128px;stroke-dashoffset:82px;stroke:currentColor}:host(.spinner-crescent) svg{-webkit-animation:spinner-rotate 1s linear infinite;animation:spinner-rotate 1s linear infinite}:host(.spinner-dots) circle{stroke-width:0;fill:currentColor}:host(.spinner-dots) svg{-webkit-animation:spinner-dots 1s linear infinite;animation:spinner-dots 1s linear infinite}:host(.spinner-circular) svg{-webkit-animation:spinner-circular linear infinite;animation:spinner-circular linear infinite}:host(.spinner-circular) circle{-webkit-animation:spinner-circular-inner ease-in-out infinite;animation:spinner-circular-inner ease-in-out infinite;stroke:currentColor;stroke-dasharray:80px, 200px;stroke-dashoffset:0px;stroke-width:5.6;fill:none}:host(.spinner-paused),:host(.spinner-paused) svg,:host(.spinner-paused) circle{-webkit-animation-play-state:paused;animation-play-state:paused}@-webkit-keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes spinner-scale-out{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}100%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}}@keyframes spinner-scale-out{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}100%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}}@-webkit-keyframes spinner-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-dots{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}50%{-webkit-transform:scale(0.4, 0.4);transform:scale(0.4, 0.4);opacity:0.3}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}}@keyframes spinner-dots{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}50%{-webkit-transform:scale(0.4, 0.4);transform:scale(0.4, 0.4);opacity:0.3}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}}@-webkit-keyframes spinner-circular{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-circular{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}@keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}";
  }
}, [1, "ion-spinner", { color: [513], duration: [2], name: [1], paused: [4] }]);
var p16 = (e16, r32, s23, t17) => {
  const i16 = e16.fn(r32, s23, t17);
  return i16.style["animation-duration"] = r32 + "ms", Ct("svg", { viewBox: i16.viewBox || "0 0 64 64", style: i16.style }, Ct("circle", { transform: i16.transform || "translate(32,32)", cx: i16.cx, cy: i16.cy, r: i16.r, style: e16.elmDuration ? { animationDuration: r32 + "ms" } : {} }));
};
var f17 = (e16, r32, s23, t17) => {
  const i16 = e16.fn(r32, s23, t17);
  return i16.style["animation-duration"] = r32 + "ms", Ct("svg", { viewBox: i16.viewBox || "0 0 64 64", style: i16.style }, Ct("line", { transform: "translate(32,32)", y1: i16.y1, y2: i16.y2 }));
};
function m17() {
  "undefined" != typeof customElements && ["ion-spinner"].forEach(((e16) => {
    "ion-spinner" === e16 && (customElements.get(Zn(e16)) || customElements.define(Zn(e16), c21));
  }));
}

// node_modules/@ionic/core/components/ion-infinite-scroll-content.js
var d13 = Dn(class extends I {
  constructor(n15) {
    super(), false !== n15 && this.__registerHost(), this.customHTMLEnabled = n.get("innerHTMLTemplatesEnabled", l5);
  }
  componentDidLoad() {
    if (void 0 === this.loadingSpinner) {
      const n15 = g(this);
      this.loadingSpinner = n.get("infiniteLoadingSpinner", n.get("spinner", "ios" === n15 ? "lines" : "crescent"));
    }
  }
  renderLoadingText() {
    const { customHTMLEnabled: n15, loadingText: i16 } = this;
    return n15 ? Ct("div", { class: "infinite-loading-text", innerHTML: n4(i16) }) : Ct("div", { class: "infinite-loading-text" }, this.loadingText);
  }
  render() {
    const n15 = g(this);
    return Ct(It, { key: "7c16060dcfe2a0b0fb3e2f8f4c449589a76f1baa", class: { [n15]: true, ["infinite-scroll-content-" + n15]: true } }, Ct("div", { key: "a94f4d8746e053dc718f97520bd7e48cb316443a", class: "infinite-loading" }, this.loadingSpinner && Ct("div", { key: "10143d5d2a50a2a2bc5de1cee8e7ab51263bcf23", class: "infinite-loading-spinner" }, Ct("ion-spinner", { key: "8846e88191690d9c61a0b462889ed56fbfed8b0d", name: this.loadingSpinner })), void 0 !== this.loadingText && this.renderLoadingText()));
  }
  static get style() {
    return { ios: "ion-infinite-scroll-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:84px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.infinite-loading{margin-left:0;margin-right:0;margin-top:0;margin-bottom:32px;display:none;width:100%}.infinite-loading-text{-webkit-margin-start:32px;margin-inline-start:32px;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:4px;margin-bottom:0}.infinite-scroll-loading ion-infinite-scroll-content>.infinite-loading{display:block}.infinite-scroll-content-ios .infinite-loading-text{color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}.infinite-scroll-content-ios .infinite-loading-spinner .spinner-lines-ios line,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-lines-small-ios line,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-crescent circle{stroke:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}.infinite-scroll-content-ios .infinite-loading-spinner .spinner-bubbles circle,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-circles circle,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-dots circle{fill:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}", md: "ion-infinite-scroll-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:84px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.infinite-loading{margin-left:0;margin-right:0;margin-top:0;margin-bottom:32px;display:none;width:100%}.infinite-loading-text{-webkit-margin-start:32px;margin-inline-start:32px;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:4px;margin-bottom:0}.infinite-scroll-loading ion-infinite-scroll-content>.infinite-loading{display:block}.infinite-scroll-content-md .infinite-loading-text{color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}.infinite-scroll-content-md .infinite-loading-spinner .spinner-lines-md line,.infinite-scroll-content-md .infinite-loading-spinner .spinner-lines-small-md line,.infinite-scroll-content-md .infinite-loading-spinner .spinner-crescent circle{stroke:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}.infinite-scroll-content-md .infinite-loading-spinner .spinner-bubbles circle,.infinite-scroll-content-md .infinite-loading-spinner .spinner-circles circle,.infinite-scroll-content-md .infinite-loading-spinner .spinner-dots circle{fill:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}" };
  }
}, [32, "ion-infinite-scroll-content", { loadingSpinner: [1025, "loading-spinner"], loadingText: [1, "loading-text"] }]);
var f18 = function() {
  "undefined" != typeof customElements && ["ion-infinite-scroll-content", "ion-spinner"].forEach(((n15) => {
    switch (n15) {
      case "ion-infinite-scroll-content":
        customElements.get(Zn(n15)) || customElements.define(Zn(n15), d13);
        break;
      case "ion-spinner":
        customElements.get(Zn(n15)) || m17();
    }
  }));
};

// node_modules/@ionic/core/components/ion-input-password-toggle.js
var f19 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.__attachShadow(), this.type = "password", this.togglePasswordVisibility = () => {
      const { inputElRef: t18 } = this;
      t18 && (t18.type = "text" === t18.type ? "password" : "text");
    };
  }
  onTypeChange(t17) {
    "text" === t17 || "password" === t17 || u(`[ion-input-password-toggle] - Only inputs of type "text" or "password" are supported. Input of type "${t17}" is not compatible.`, this.el);
  }
  connectedCallback() {
    const { el: t17 } = this, o14 = this.inputElRef = t17.closest("ion-input");
    o14 ? this.type = o14.type : u("[ion-input-password-toggle] - No ancestor ion-input found. This component must be slotted inside of an ion-input.", t17);
  }
  disconnectedCallback() {
    this.inputElRef = null;
  }
  render() {
    var t17, o14;
    const { color: s23, type: i16 } = this, d25 = g(this), l27 = null !== (t17 = this.showIcon) && void 0 !== t17 ? t17 : h8, u21 = null !== (o14 = this.hideIcon) && void 0 !== o14 ? o14 : p5, f27 = "text" === i16;
    return Ct(It, { key: "91bc55664d496fe457518bd112865dd7811d0c17", class: o6(s23, { [d25]: true }) }, Ct("ion-button", { key: "6344d6838f5cdcba54c6bf4b592f036092044de0", mode: d25, color: s23, fill: "clear", shape: "round", "aria-label": f27 ? "Hide password" : "Show password", "aria-pressed": f27 ? "true" : "false", type: "button", onPointerDown: (t18) => {
      t18.preventDefault();
    }, onClick: this.togglePasswordVisibility }, Ct("ion-icon", { key: "a2bd9197c2635bf8cb155ff25ce022e7d7dc6d00", slot: "icon-only", "aria-hidden": "true", icon: f27 ? u21 : l27 })));
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { type: [{ onTypeChange: 0 }] };
  }
  static get style() {
    return { ios: "", md: "" };
  }
}, [33, "ion-input-password-toggle", { color: [513], showIcon: [1, "show-icon"], hideIcon: [1, "hide-icon"], type: [1025] }, void 0, { type: [{ onTypeChange: 0 }] }]);
var h13 = function() {
  "undefined" != typeof customElements && ["ion-input-password-toggle", "ion-button", "ion-icon", "ion-ripple-effect"].forEach(((t17) => {
    switch (t17) {
      case "ion-input-password-toggle":
        customElements.get(Zn(t17)) || customElements.define(Zn(t17), f19);
        break;
      case "ion-button":
        customElements.get(Zn(t17)) || m11();
        break;
      case "ion-icon":
        customElements.get(Zn(t17)) || y6();
        break;
      case "ion-ripple-effect":
        customElements.get(Zn(t17)) || p7();
    }
  }));
};

// node_modules/@ionic/core/components/p-kvaDs24J.js
var b10 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.__attachShadow(), this.labelColorStyles = {}, this.itemStyles = /* @__PURE__ */ new Map(), this.inheritedAriaAttributes = {}, this.multipleInputs = false, this.focusable = true, this.isInteractive = false, this.button = false, this.detailIcon = w4, this.disabled = false, this.routerDirection = "forward", this.type = "button", this.updateInteractivityOnSlotChange = () => {
      this.setIsInteractive(), this.setMultipleInputs();
    };
  }
  buttonChanged() {
    this.focusable = this.isFocusable();
  }
  labelColorChanged(t17) {
    const { color: i16 } = this;
    void 0 === i16 && (this.labelColorStyles = t17.detail);
  }
  itemStyle(t17) {
    t17.stopPropagation();
    const i16 = t17.target.tagName, e16 = t17.detail, n15 = {}, r32 = this.itemStyles.get(i16) || {};
    let a17 = false;
    Object.keys(e16).forEach(((t18) => {
      if (e16[t18]) {
        const i17 = `item-${t18}`;
        r32[i17] || (a17 = true), n15[i17] = true;
      }
    })), a17 || Object.keys(n15).length === Object.keys(r32).length || (a17 = true), a17 && (this.itemStyles.set(i16, n15), Rn(this));
  }
  connectedCallback() {
    this.hasStartEl();
  }
  componentWillLoad() {
    this.inheritedAriaAttributes = n2(this.el, ["aria-label"]);
  }
  componentDidLoad() {
    d2((() => {
      this.setMultipleInputs(), this.setIsInteractive(), this.focusable = this.isFocusable();
    }));
  }
  totalNestedInputs() {
    return { covers: this.el.querySelectorAll("ion-checkbox, ion-datetime, ion-select, ion-radio"), inputs: this.el.querySelectorAll("ion-input, ion-range, ion-searchbar, ion-segment, ion-textarea, ion-toggle"), clickables: this.el.querySelectorAll("ion-router-link, ion-button, a, button") };
  }
  setMultipleInputs() {
    const { covers: t17, inputs: i16, clickables: o14 } = this.totalNestedInputs();
    this.multipleInputs = t17.length + i16.length > 1 || t17.length + o14.length > 1 || t17.length > 0 && this.isClickable();
  }
  setIsInteractive() {
    const { covers: t17, inputs: i16, clickables: o14 } = this.totalNestedInputs();
    this.isInteractive = t17.length > 0 || i16.length > 0 || o14.length > 0;
  }
  hasCover() {
    return 1 === this.el.querySelectorAll("ion-checkbox, ion-datetime, ion-select, ion-radio").length && !this.multipleInputs;
  }
  isClickable() {
    return void 0 !== this.href || this.button;
  }
  canActivate() {
    return this.isClickable() || this.hasCover();
  }
  isFocusable() {
    const t17 = this.el.querySelector(".ion-focusable");
    return this.canActivate() || null !== t17;
  }
  hasStartEl() {
    null !== this.el.querySelector('[slot="start"]') && this.el.classList.add("item-has-start-slot");
  }
  getFirstInteractive() {
    return this.el.querySelectorAll("ion-toggle:not([disabled]), ion-checkbox:not([disabled]), ion-radio:not([disabled]), ion-select:not([disabled]), ion-input:not([disabled]), ion-textarea:not([disabled])")[0];
  }
  render() {
    const { detail: t17, detailIcon: i16, download: o14, labelColorStyles: r32, lines: a17, disabled: s23, href: g20, rel: h21, target: b21, routerAnimation: v18, routerDirection: f27, inheritedAriaAttributes: x16, multipleInputs: u21 } = this, k12 = {}, w12 = g(this), y14 = this.isClickable(), z11 = this.canActivate(), j8 = y14 ? void 0 === g20 ? "button" : "a" : "div", C7 = "button" === j8 ? { type: this.type } : { download: o14, href: g20, rel: h21, target: b21 };
    let I8 = {};
    const O10 = this.getFirstInteractive();
    (y14 || void 0 !== O10 && !u21) && (I8 = { onClick: (t18) => {
      if (y14 && l6(g20, t18, f27, v18), void 0 !== O10 && !u21) {
        const i17 = t18.composedPath();
        t18.isTrusted && this.el.shadowRoot.contains(i17[0]) && ("ION-INPUT" !== O10.tagName && "ION-TEXTAREA" !== O10.tagName || O10.setFocus(), O10.click(), t18.stopImmediatePropagation());
      }
    } });
    const E11 = void 0 !== t17 ? t17 : "ios" === w12 && y14;
    this.itemStyles.forEach(((t18) => {
      Object.assign(k12, t18);
    }));
    const A6 = s23 || k12["item-interactive-disabled"] ? "true" : null, S8 = n5("ion-list", this.el) && !n5("ion-radio-group", this.el), N4 = void 0 !== O10 && !["ION-INPUT", "ION-TEXTAREA"].includes(O10.tagName);
    return Ct(It, { key: "3977491399280a2aa3f796f0549235f3dc8b5681", "aria-disabled": A6, class: Object.assign(Object.assign(Object.assign({}, k12), r32), o6(this.color, { item: true, [w12]: true, "item-lines-default": void 0 === a17, [`item-lines-${a17}`]: void 0 !== a17, "item-control-needs-pointer-cursor": N4, "item-disabled": s23, "in-list": S8, "item-multiple-inputs": this.multipleInputs, "ion-activatable": z11, "ion-focusable": this.focusable, "item-rtl": "rtl" === document.dir })), role: S8 ? "listitem" : null }, Ct(j8, Object.assign({ key: "8aff72457004553e83d74a4dda2f9a6b8cf523d7" }, C7, x16, { class: "item-native", part: "native", disabled: s23 }, I8), Ct("slot", { key: "aba9a0f2ad101be6598f364c83236ca3de437a04", name: "start", onSlotchange: this.updateInteractivityOnSlotChange }), Ct("div", { key: "5e7851e49959e4ed114fcd51cb167db9bd8c0f00", class: "item-inner", part: "inner" }, Ct("div", { key: "eee6511845d8459450ca856819839d83cd507c0c", class: "input-wrapper", part: "container" }, Ct("slot", { key: "76e13f86cd144951b1999eb333a2027b42cdf6e2", onSlotchange: this.updateInteractivityOnSlotChange })), Ct("slot", { key: "b264f7b4c367e7700a9a05343177abf7b17045d8", name: "end", onSlotchange: this.updateInteractivityOnSlotChange }), E11 && Ct("ion-icon", { key: "66b930bdfebb55ea0b2e784a1c902eb6c64b2370", icon: i16, lazy: false, class: "item-detail-icon", part: "detail-icon", "aria-hidden": "true", "flip-rtl": i16 === w4 })), z11 && "md" === w12 && Ct("ion-ripple-effect", { key: "06ab8e87917b545f3c221602b9b6d8004a1895ad" })));
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { button: [{ buttonChanged: 0 }] };
  }
  static get style() {
    return { ios: ':host{--border-radius:0px;--border-width:0px;--border-style:solid;--padding-top:0px;--padding-bottom:0px;--padding-end:0px;--padding-start:0px;--inner-border-width:0px;--inner-padding-top:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;--inner-padding-end:0px;--inner-box-shadow:none;--detail-icon-color:initial;--detail-icon-font-size:1.25em;--detail-icon-opacity:0.25;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:initial;text-decoration:none;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color) .item-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color) .item-native,:host(.ion-color) .item-inner{border-color:var(--ion-color-shade)}:host(.ion-activated) .item-native{color:var(--color-activated)}:host(.ion-activated) .item-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-color.ion-activated) .item-native{color:var(--ion-color-contrast)}:host(.ion-focused) .item-native{color:var(--color-focused)}:host(.ion-focused) .item-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-color.ion-focused) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .item-native::after{background:var(--ion-color-contrast)}@media (any-hover: hover){:host(.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--color-hover)}:host(.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--ion-color-contrast)}}:host(.item-control-needs-pointer-cursor){cursor:pointer}:host(.item-interactive-disabled:not(.item-multiple-inputs)){cursor:default;pointer-events:none}:host(.item-disabled){cursor:default;opacity:0.3;pointer-events:none}.item-native{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-right:var(--padding-end);padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);overflow:inherit;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]) .item-native{padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}[dir=rtl] .item-native{padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}@supports selector(:dir(rtl)){.item-native:dir(rtl){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}}.item-native::-moz-focus-inner{border:0}.item-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0;-webkit-transition:var(--transition);transition:var(--transition);z-index:-1}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}.item-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-left:var(--inner-padding-start);display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);-webkit-box-shadow:var(--inner-box-shadow);box-shadow:var(--inner-box-shadow);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]) .item-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}[dir=rtl] .item-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}@supports selector(:dir(rtl)){.item-inner:dir(rtl){padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}}.item-detail-icon{-webkit-margin-start:calc(var(--inner-padding-end) / 2);margin-inline-start:calc(var(--inner-padding-end) / 2);-webkit-margin-end:-6px;margin-inline-end:-6px;color:var(--detail-icon-color);font-size:var(--detail-icon-font-size);opacity:var(--detail-icon-opacity)}::slotted(ion-icon){font-size:1.6em}::slotted(ion-button){--margin-top:0;--margin-bottom:0;--margin-start:0;--margin-end:0;z-index:1}::slotted(ion-label:not([slot=end])){-ms-flex:1;flex:1;width:-webkit-min-content;width:-moz-min-content;width:min-content;max-width:100%}:host(.item-input){-ms-flex-align:center;align-items:center}.input-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.item-label-stacked),:host(.item-label-floating){-ms-flex-align:start;align-items:start}:host(.item-label-stacked) .input-wrapper,:host(.item-label-floating) .input-wrapper{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}:host(.item-multiple-inputs) ::slotted(ion-checkbox),:host(.item-multiple-inputs) ::slotted(ion-datetime),:host(.item-multiple-inputs) ::slotted(ion-radio){position:relative}:host(.item-textarea){-ms-flex-align:stretch;align-items:stretch}::slotted(ion-reorder[slot]){margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}:host{--min-height:44px;--transition:background-color 200ms linear, opacity 200ms linear;--padding-start:16px;--inner-padding-end:16px;--inner-border-width:0px 0px 0.55px 0px;--background:var(--ion-item-background, var(--ion-background-color, #fff));--background-activated:var(--ion-text-color, #000);--background-focused:var(--ion-text-color, #000);--background-hover:currentColor;--background-activated-opacity:.12;--background-focused-opacity:.15;--background-hover-opacity:.04;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));--color:var(--ion-item-color, var(--ion-text-color, #000));font-size:1rem}:host(.ion-activated){--transition:none}:host(.ion-color.ion-focused) .item-native::after{background:#000;opacity:0.15}:host(.ion-color.ion-activated) .item-native::after{background:#000;opacity:0.12}:host(.item-lines-full){--border-width:0px 0px 0.55px 0px}:host(.item-lines-inset){--inner-border-width:0px 0px 0.55px 0px}:host(.item-lines-inset),:host(.item-lines-none){--border-width:0px}:host(.item-lines-full),:host(.item-lines-none){--inner-border-width:0px}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:2px;margin-bottom:2px}::slotted(ion-icon[slot=start]),::slotted(ion-icon[slot=end]){margin-top:7px;margin-bottom:7px}::slotted(ion-toggle[slot=start]),::slotted(ion-toggle[slot=end]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host(.item-label-stacked) ::slotted([slot=end]),:host(.item-label-floating) ::slotted([slot=end]){margin-top:7px;margin-bottom:7px}::slotted(.button-small){--padding-top:1px;--padding-bottom:1px;--padding-start:.5em;--padding-end:.5em;min-height:24px;font-size:0.8125rem}::slotted(ion-avatar){width:36px;height:36px}::slotted(ion-thumbnail){--size:56px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px;margin-bottom:8px}:host(.item-radio) ::slotted(ion-label),:host(.item-toggle) ::slotted(ion-label){-webkit-margin-start:0px;margin-inline-start:0px}::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:10px;margin-bottom:10px}:host(.item-label-floating),:host(.item-label-stacked){--min-height:68px}', md: ':host{--border-radius:0px;--border-width:0px;--border-style:solid;--padding-top:0px;--padding-bottom:0px;--padding-end:0px;--padding-start:0px;--inner-border-width:0px;--inner-padding-top:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;--inner-padding-end:0px;--inner-box-shadow:none;--detail-icon-color:initial;--detail-icon-font-size:1.25em;--detail-icon-opacity:0.25;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:initial;text-decoration:none;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color) .item-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.ion-color) .item-native,:host(.ion-color) .item-inner{border-color:var(--ion-color-shade)}:host(.ion-activated) .item-native{color:var(--color-activated)}:host(.ion-activated) .item-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-color.ion-activated) .item-native{color:var(--ion-color-contrast)}:host(.ion-focused) .item-native{color:var(--color-focused)}:host(.ion-focused) .item-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-color.ion-focused) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .item-native::after{background:var(--ion-color-contrast)}@media (any-hover: hover){:host(.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--color-hover)}:host(.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activatable:not(.ion-focused):hover) .item-native::after{background:var(--ion-color-contrast)}}:host(.item-control-needs-pointer-cursor){cursor:pointer}:host(.item-interactive-disabled:not(.item-multiple-inputs)){cursor:default;pointer-events:none}:host(.item-disabled){cursor:default;opacity:0.3;pointer-events:none}.item-native{border-radius:var(--border-radius);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-right:var(--padding-end);padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);overflow:inherit;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]) .item-native{padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}[dir=rtl] .item-native{padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}@supports selector(:dir(rtl)){.item-native:dir(rtl){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}}.item-native::-moz-focus-inner{border:0}.item-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0;-webkit-transition:var(--transition);transition:var(--transition);z-index:-1}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}.item-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-left:var(--inner-padding-start);display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);-webkit-box-shadow:var(--inner-box-shadow);box-shadow:var(--inner-box-shadow);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]) .item-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}[dir=rtl] .item-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}@supports selector(:dir(rtl)){.item-inner:dir(rtl){padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}}.item-detail-icon{-webkit-margin-start:calc(var(--inner-padding-end) / 2);margin-inline-start:calc(var(--inner-padding-end) / 2);-webkit-margin-end:-6px;margin-inline-end:-6px;color:var(--detail-icon-color);font-size:var(--detail-icon-font-size);opacity:var(--detail-icon-opacity)}::slotted(ion-icon){font-size:1.6em}::slotted(ion-button){--margin-top:0;--margin-bottom:0;--margin-start:0;--margin-end:0;z-index:1}::slotted(ion-label:not([slot=end])){-ms-flex:1;flex:1;width:-webkit-min-content;width:-moz-min-content;width:min-content;max-width:100%}:host(.item-input){-ms-flex-align:center;align-items:center}.input-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.item-label-stacked),:host(.item-label-floating){-ms-flex-align:start;align-items:start}:host(.item-label-stacked) .input-wrapper,:host(.item-label-floating) .input-wrapper{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}:host(.item-multiple-inputs) ::slotted(ion-checkbox),:host(.item-multiple-inputs) ::slotted(ion-datetime),:host(.item-multiple-inputs) ::slotted(ion-radio){position:relative}:host(.item-textarea){-ms-flex-align:stretch;align-items:stretch}::slotted(ion-reorder[slot]){margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}:host{--min-height:48px;--background:var(--ion-item-background, var(--ion-background-color, #fff));--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));--color:var(--ion-item-color, var(--ion-text-color, #000));--transition:opacity 15ms linear, background-color 15ms linear;--padding-start:16px;--inner-padding-end:16px;--inner-border-width:0 0 1px 0;font-size:1rem;font-weight:normal;text-transform:none}:host(.ion-color.ion-activated) .item-native::after{background:transparent}:host(.item-interactive){--border-width:0 0 1px 0;--inner-border-width:0}:host(.item-lines-full){--border-width:0 0 1px 0}:host(.item-lines-inset){--inner-border-width:0 0 1px 0}:host(.item-lines-inset),:host(.item-lines-none){--border-width:0}:host(.item-lines-full),:host(.item-lines-none){--inner-border-width:0}:host(.item-multi-line) ::slotted([slot=start]),:host(.item-multi-line) ::slotted([slot=end]){margin-top:16px;margin-bottom:16px;-ms-flex-item-align:start;align-self:flex-start}::slotted([slot=start]){-webkit-margin-end:16px;margin-inline-end:16px}::slotted([slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);font-size:1.5em}:host(.ion-color) ::slotted(ion-icon){color:var(--ion-color-contrast)}::slotted(ion-icon[slot]){margin-top:12px;margin-bottom:12px}::slotted(ion-icon[slot=start]){-webkit-margin-end:32px;margin-inline-end:32px}::slotted(ion-icon[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(ion-toggle[slot=start]),::slotted(ion-toggle[slot=end]){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}::slotted(ion-note){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-ms-flex-item-align:start;align-self:flex-start;font-size:0.6875rem}::slotted(ion-note[slot]){padding-left:0;padding-right:0;padding-top:18px;padding-bottom:10px}::slotted(ion-avatar){width:40px;height:40px}::slotted(ion-thumbnail){--size:56px}::slotted(ion-avatar),::slotted(ion-thumbnail){margin-top:8px;margin-bottom:8px}::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){-webkit-margin-end:16px;margin-inline-end:16px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:10px;margin-bottom:10px}:host(.item-label-stacked) ::slotted([slot=end]),:host(.item-label-floating) ::slotted([slot=end]){margin-top:7px;margin-bottom:7px}:host(.item-toggle) ::slotted(ion-label),:host(.item-radio) ::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0}::slotted(.button-small){--padding-top:2px;--padding-bottom:2px;--padding-start:.6em;--padding-end:.6em;min-height:25px;font-size:0.75rem}:host(.item-label-floating),:host(.item-label-stacked){--min-height:55px}:host(.ion-focused:not(.ion-color)) ::slotted(.label-stacked),:host(.ion-focused:not(.ion-color)) ::slotted(.label-floating),:host(.item-has-focus:not(.ion-color)) ::slotted(.label-stacked),:host(.item-has-focus:not(.ion-color)) ::slotted(.label-floating){color:var(--ion-color-primary, #0054e9)}' };
  }
}, [289, "ion-item", { color: [513], button: [4], detail: [4], detailIcon: [1, "detail-icon"], disabled: [516], download: [1], href: [1], rel: [1], lines: [1], routerAnimation: [16], routerDirection: [1, "router-direction"], target: [1], type: [1], multipleInputs: [32], focusable: [32], isInteractive: [32] }, [[0, "ionColor", "labelColorChanged"], [0, "ionStyle", "itemStyle"]], { button: [{ buttonChanged: 0 }] }]);
function v13() {
  "undefined" != typeof customElements && ["ion-item", "ion-icon", "ion-ripple-effect"].forEach(((t17) => {
    switch (t17) {
      case "ion-item":
        customElements.get(Zn(t17)) || customElements.define(Zn(t17), b10);
        break;
      case "ion-icon":
        customElements.get(Zn(t17)) || y6();
        break;
      case "ion-ripple-effect":
        customElements.get(Zn(t17)) || p7();
    }
  }));
}

// node_modules/@ionic/core/components/ion-item.js
var p17 = v13;

// node_modules/@ionic/core/components/ion-item-divider.js
var d14 = Dn(class extends I {
  constructor(i16) {
    super(), false !== i16 && this.__registerHost(), this.__attachShadow(), this.sticky = false;
  }
  render() {
    const i16 = g(this);
    return Ct(It, { key: "ff2ae8eee7704ca28e3f25a39fc3d910f57b1879", class: o6(this.color, { [i16]: true, "item-divider-sticky": this.sticky, item: true }) }, Ct("slot", { key: "9747421ee3c6b8012ad5a71091aa9775d002885e", name: "start" }), Ct("div", { key: "0ad8e1355c70efcc095b954c29af497a18b35b37", class: "item-divider-inner", part: "inner" }, Ct("div", { key: "7562f4f033e786b620ef2bd62d7c35f1013b4905", class: "item-divider-wrapper", part: "container" }, Ct("slot", { key: "013a0c58ca93afa395a52df30020d1b9e86ffc3a" })), Ct("slot", { key: "a08f7b7a133110cbb51b1f4843133bacc306d3a1", name: "end" })));
  }
  get el() {
    return this;
  }
  static get style() {
    return { ios: ":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--inner-padding-top:0px;--inner-padding-end:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-right:var(--padding-end);padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:100;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.item-divider-sticky){position:-webkit-sticky;position:sticky;top:0}.item-divider-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-left:var(--inner-padding-start);display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border:0;overflow:hidden}:host-context([dir=rtl]) .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}[dir=rtl] .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}@supports selector(:dir(rtl)){.item-divider-inner:dir(rtl){padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}}.item-divider-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:hidden}:host{--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6));--color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--padding-start:16px;--inner-padding-end:8px;border-radius:0;position:relative;min-height:28px;font-size:1.0625rem;font-weight:600}:host([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:2px;margin-bottom:2px}::slotted(ion-icon[slot=start]),::slotted(ion-icon[slot=end]){margin-top:7px;margin-bottom:7px}::slotted(h1){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px}::slotted(h2){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px}::slotted(h3),::slotted(h4),::slotted(h5),::slotted(h6){margin-left:0;margin-right:0;margin-top:0;margin-bottom:3px}::slotted(p){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;color:var(--ion-text-color-step-550, #a3a3a3);font-size:0.875rem;line-height:normal;text-overflow:inherit;overflow:inherit}::slotted(h2:last-child) ::slotted(h3:last-child),::slotted(h4:last-child),::slotted(h5:last-child),::slotted(h6:last-child),::slotted(p:last-child){margin-bottom:0}", md: ":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--inner-padding-top:0px;--inner-padding-end:0px;--inner-padding-bottom:0px;--inner-padding-start:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-right:var(--padding-end);padding-left:calc(var(--padding-start) + var(--ion-safe-area-left, 0px));display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);overflow:hidden;z-index:100;-webkit-box-sizing:border-box;box-sizing:border-box}:host-context([dir=rtl]){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--padding-start) + var(--ion-safe-area-right, 0px));padding-left:var(--padding-end)}}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.item-divider-sticky){position:-webkit-sticky;position:sticky;top:0}.item-divider-inner{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-top:var(--inner-padding-top);padding-bottom:var(--inner-padding-bottom);padding-right:calc(var(--ion-safe-area-right, 0px) + var(--inner-padding-end));padding-left:var(--inner-padding-start);display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border:0;overflow:hidden}:host-context([dir=rtl]) .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}[dir=rtl] .item-divider-inner{padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}@supports selector(:dir(rtl)){.item-divider-inner:dir(rtl){padding-right:var(--inner-padding-start);padding-left:calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end))}}.item-divider-wrapper{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis;overflow:hidden}:host{--background:var(--ion-background-color, #fff);--color:var(--ion-color-step-400, var(--ion-text-color-step-600, #999999));--padding-start:16px;--inner-padding-end:16px;min-height:30px;border-bottom:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));font-size:0.875rem}::slotted([slot=start]){-webkit-margin-end:16px;margin-inline-end:16px}::slotted([slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:13px;margin-bottom:10px}::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);font-size:1.7142857143em}:host(.ion-color) ::slotted(ion-icon){color:var(--ion-color-contrast)}::slotted(ion-icon[slot]){margin-top:12px;margin-bottom:12px}::slotted(ion-icon[slot=start]){-webkit-margin-end:32px;margin-inline-end:32px}::slotted(ion-icon[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(ion-note){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-ms-flex-item-align:start;align-self:flex-start;font-size:0.6875rem}::slotted(ion-note[slot]){padding-left:0;padding-right:0;padding-top:18px;padding-bottom:10px}::slotted(ion-avatar){width:40px;height:40px}::slotted(ion-thumbnail){--size:56px}::slotted(ion-avatar),::slotted(ion-thumbnail){margin-top:8px;margin-bottom:8px}::slotted(ion-avatar[slot=start]),::slotted(ion-thumbnail[slot=start]){-webkit-margin-end:16px;margin-inline-end:16px}::slotted(ion-avatar[slot=end]),::slotted(ion-thumbnail[slot=end]){-webkit-margin-start:16px;margin-inline-start:16px}::slotted(h1){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px}::slotted(h2){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px}::slotted(h3,h4,h5,h6){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px}::slotted(p){margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));font-size:0.875rem;line-height:normal;text-overflow:inherit;overflow:inherit}" };
  }
}, [289, "ion-item-divider", { color: [513], sticky: [4] }]);
var s18 = function() {
  "undefined" != typeof customElements && ["ion-item-divider"].forEach(((i16) => {
    "ion-item-divider" === i16 && (customElements.get(Zn(i16)) || customElements.define(Zn(i16), d14));
  }));
};

// node_modules/@ionic/core/components/ion-item-group.js
var n10 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost();
  }
  render() {
    const t17 = g(this);
    return Ct(It, { key: "f1743af1d075682f63fae3802c5c5bf050507563", role: "group", class: { [t17]: true, ["item-group-" + t17]: true, item: true } });
  }
  static get style() {
    return { ios: "ion-item-group{display:block}", md: "ion-item-group{display:block}" };
  }
}, [32, "ion-item-group"]);
var p18 = function() {
  "undefined" != typeof customElements && ["ion-item-group"].forEach(((t17) => {
    "ion-item-group" === t17 && (customElements.get(Zn(t17)) || customElements.define(Zn(t17), n10));
  }));
};

// node_modules/@ionic/core/components/ion-item-option.js
var l19 = Dn(class extends I {
  constructor(e16) {
    super(), false !== e16 && this.__registerHost(), this.__attachShadow(), this.disabled = false, this.expandable = false, this.type = "button", this.onClick = (e17) => {
      e17.target.closest("ion-item-option") && e17.preventDefault();
    };
  }
  render() {
    const { disabled: e16, expandable: t17, href: o14 } = this, s23 = void 0 === o14 ? "button" : "a", l27 = g(this), d25 = "button" === s23 ? { type: this.type } : { download: this.download, href: this.href, target: this.target };
    return Ct(It, { key: "b576e8f449ee9a03e659abd923421b051f7427c8", onClick: this.onClick, class: o6(this.color, { [l27]: true, "item-option-disabled": e16, "item-option-expandable": t17, "ion-activatable": true }) }, Ct(s23, Object.assign({ key: "568c7de194ecef7d1efec2abdf855b3fce71aa03" }, d25, { class: "button-native", part: "native", disabled: e16 }), Ct("span", { key: "fe1a494a40febc5c415098d8c9b2edad9fac02c9", class: "button-inner", part: "inner" }, Ct("slot", { key: "8e4ec73c1a9c047a29dac8ad09ff1cce94a751c7", name: "top" }), Ct("div", { key: "7828c6413d2cab692a3a2e5aa2a17240e0dcb230", class: "horizontal-wrapper", part: "container" }, Ct("slot", { key: "c8eb9881db296280ba895ab249e5d1bb3fc27206", name: "start" }), Ct("slot", { key: "144b18f7ea90a45abbe0b1fa878c87e623897b7b", name: "icon-only" }), Ct("slot", { key: "6c63ebad29552a32e1ed9ca3c95aa005b35b9b86" }), Ct("slot", { key: "99478d52600bf32342649a2f74ed8e1eb07407d4", name: "end" })), Ct("slot", { key: "00247fc54e61cface4e6ac6e8ea05a0685f5e26e", name: "bottom" })), "md" === l27 && Ct("ion-ripple-effect", { key: "dc5057f2ff0926b2e5fd1520fed6cf7dc3197cf8" })));
  }
  get el() {
    return this;
  }
  static get style() {
    return { ios: ":host{--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff);background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.button-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;-webkit-padding-start:0.7em;padding-inline-start:0.7em;-webkit-padding-end:0.7em;padding-inline-end:0.7em;padding-top:0;padding-bottom:0;display:inline-block;position:relative;width:100%;height:100%;border:0;outline:none;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}.button-inner{display:-ms-flexbox;display:flex;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.horizontal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%}::slotted(*){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:5px;margin-inline-end:5px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}::slotted([slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:0;margin-bottom:0;min-width:0.9em;font-size:1.8em}:host(.item-option-expandable){-ms-flex-negative:0;flex-shrink:0;-webkit-transition-duration:0;transition-duration:0;-webkit-transition-property:none;transition-property:none;-webkit-transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1);transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1)}:host(.item-option-disabled){pointer-events:none}:host(.item-option-disabled) .button-native{cursor:default;opacity:0.5;pointer-events:none}:host{font-size:clamp(16px, 1rem, 35.2px)}:host(.ion-activated){background:var(--ion-color-primary-shade, #004acd)}:host(.ion-color.ion-activated){background:var(--ion-color-shade)}", md: ":host{--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff);background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.button-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;-webkit-padding-start:0.7em;padding-inline-start:0.7em;-webkit-padding-end:0.7em;padding-inline-end:0.7em;padding-top:0;padding-bottom:0;display:inline-block;position:relative;width:100%;height:100%;border:0;outline:none;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}.button-inner{display:-ms-flexbox;display:flex;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.horizontal-wrapper{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%}::slotted(*){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:5px;margin-inline-end:5px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:5px;margin-inline-start:5px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}::slotted([slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:0;margin-bottom:0;min-width:0.9em;font-size:1.8em}:host(.item-option-expandable){-ms-flex-negative:0;flex-shrink:0;-webkit-transition-duration:0;transition-duration:0;-webkit-transition-property:none;transition-property:none;-webkit-transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1);transition-timing-function:cubic-bezier(0.65, 0.05, 0.36, 1)}:host(.item-option-disabled){pointer-events:none}:host(.item-option-disabled) .button-native{cursor:default;opacity:0.5;pointer-events:none}:host{font-size:0.875rem;font-weight:500;text-transform:uppercase}" };
  }
}, [289, "ion-item-option", { color: [513], disabled: [4], download: [1], expandable: [4], href: [1], rel: [1], target: [1], type: [1] }]);
var c22 = function() {
  "undefined" != typeof customElements && ["ion-item-option", "ion-ripple-effect"].forEach(((e16) => {
    switch (e16) {
      case "ion-item-option":
        customElements.get(Zn(e16)) || customElements.define(Zn(e16), l19);
        break;
      case "ion-ripple-effect":
        customElements.get(Zn(e16)) || p7();
    }
  }));
};

// node_modules/@ionic/core/components/ion-item-options.js
var d15 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.ionSwipe = Jt(this, "ionSwipe", 7), this.side = "end";
  }
  fireSwipeEvent() {
    return __async(this, null, function* () {
      this.ionSwipe.emit({ side: this.side });
    });
  }
  render() {
    const t17 = g(this), i16 = x(this.side);
    return Ct(It, { key: "7b4b93984182222c64c7a2a22a18e52ac19e3049", class: { [t17]: true, ["item-options-" + t17]: true, "item-options-start": !i16, "item-options-end": i16 } });
  }
  get el() {
    return this;
  }
  static get style() {
    return { ios: "ion-item-options{top:0;right:0;-ms-flex-pack:end;justify-content:flex-end;display:none;position:absolute;height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}:host-context([dir=rtl]) ion-item-options{-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] ion-item-options{-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){ion-item-options:dir(rtl){-ms-flex-pack:start;justify-content:flex-start}ion-item-options:dir(rtl):not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}}.item-options-start{right:auto;left:0;-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) .item-options-start{-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] .item-options-start{-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){.item-options-start:dir(rtl){-ms-flex-pack:end;justify-content:flex-end}}[dir=ltr] .item-options-start ion-item-option:first-child,[dir=rtl] .item-options-start ion-item-option:last-child{padding-left:var(--ion-safe-area-left)}[dir=ltr] .item-options-end ion-item-option:last-child,[dir=rtl] .item-options-end ion-item-option:first-child{padding-right:var(--ion-safe-area-right)}:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}@supports selector(:dir(rtl)){.item-sliding-active-slide:dir(rtl).item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}}.item-sliding-active-slide ion-item-options{display:-ms-flexbox;display:flex;visibility:hidden}.item-sliding-active-slide.item-sliding-active-options-start .item-options-start,.item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start){width:100%;visibility:visible}.item-options-ios{border-bottom-width:0;border-bottom-style:solid;border-bottom-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))))}.item-options-ios.item-options-end{border-bottom-width:0.55px}.list-ios-lines-none .item-options-ios{border-bottom-width:0}.list-ios-lines-full .item-options-ios,.list-ios-lines-inset .item-options-ios.item-options-end{border-bottom-width:0.55px}", md: "ion-item-options{top:0;right:0;-ms-flex-pack:end;justify-content:flex-end;display:none;position:absolute;height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1}:host-context([dir=rtl]) ion-item-options{-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] ion-item-options{-ms-flex-pack:start;justify-content:flex-start}[dir=rtl] ion-item-options:not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){ion-item-options:dir(rtl){-ms-flex-pack:start;justify-content:flex-start}ion-item-options:dir(rtl):not(.item-options-end){right:auto;left:0;-ms-flex-pack:end;justify-content:flex-end}}.item-options-start{right:auto;left:0;-ms-flex-pack:start;justify-content:flex-start}:host-context([dir=rtl]) .item-options-start{-ms-flex-pack:end;justify-content:flex-end}[dir=rtl] .item-options-start{-ms-flex-pack:end;justify-content:flex-end}@supports selector(:dir(rtl)){.item-options-start:dir(rtl){-ms-flex-pack:end;justify-content:flex-end}}[dir=ltr] .item-options-start ion-item-option:first-child,[dir=rtl] .item-options-start ion-item-option:last-child{padding-left:var(--ion-safe-area-left)}[dir=ltr] .item-options-end ion-item-option:last-child,[dir=rtl] .item-options-end ion-item-option:first-child{padding-right:var(--ion-safe-area-right)}:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}@supports selector(:dir(rtl)){.item-sliding-active-slide:dir(rtl).item-sliding-active-options-start ion-item-options:not(.item-options-end){width:100%;visibility:visible}}.item-sliding-active-slide ion-item-options{display:-ms-flexbox;display:flex;visibility:hidden}.item-sliding-active-slide.item-sliding-active-options-start .item-options-start,.item-sliding-active-slide.item-sliding-active-options-end ion-item-options:not(.item-options-start){width:100%;visibility:visible}.item-options-md{border-bottom-width:0;border-bottom-style:solid;border-bottom-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))))}.list-md-lines-none .item-options-md{border-bottom-width:0}.list-md-lines-full .item-options-md,.list-md-lines-inset .item-options-md.item-options-end{border-bottom-width:1px}" };
  }
}, [32, "ion-item-options", { side: [1], fireSwipeEvent: [64] }]);
var p19 = function() {
  "undefined" != typeof customElements && ["ion-item-options"].forEach(((t17) => {
    "ion-item-options" === t17 && (customElements.get(Zn(t17)) || customElements.define(Zn(t17), d15));
  }));
};

// node_modules/@ionic/core/components/p-Dtdm8lKC.js
var r17 = (r32, t17, n15) => {
  if ("undefined" == typeof MutationObserver) return;
  const u21 = new MutationObserver(((r33) => {
    n15(e14(r33, t17));
  }));
  return u21.observe(r32, { childList: true, subtree: true }), u21;
};
var e14 = (r32, e16) => {
  let n15;
  return r32.forEach(((r33) => {
    for (let u21 = 0; u21 < r33.addedNodes.length; u21++) n15 = t15(r33.addedNodes[u21], e16) || n15;
  })), n15;
};
var t15 = (r32, e16) => {
  if (1 !== r32.nodeType) return;
  const t17 = r32;
  return (t17.tagName === e16.toUpperCase() ? [t17] : Array.from(t17.querySelectorAll(e16))).find(((r33) => r33.value === t17.value));
};

// node_modules/@ionic/core/components/ion-item-sliding.js
var p20;
var u13 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.ionDrag = Jt(this, "ionDrag", 7), this.item = null, this.openAmount = 0, this.initialOpenAmount = 0, this.optsWidthRightSide = 0, this.optsWidthLeftSide = 0, this.sides = 0, this.optsDirty = true, this.contentEl = null, this.initialContentScrollY = true, this.state = 2, this.disabled = false;
  }
  disabledChanged() {
    this.gesture && this.gesture.enable(!this.disabled);
  }
  connectedCallback() {
    return __async(this, null, function* () {
      const { el: t17 } = this;
      this.item = t17.querySelector("ion-item"), this.contentEl = f3(t17), this.mutationObserver = r17(t17, "ion-item-option", (() => __async(this, null, function* () {
        yield this.updateOptions();
      }))), yield this.updateOptions(), this.gesture = (yield import("./chunk-7STYLPNF.js")).createGesture({ el: t17, gestureName: "item-swipe", gesturePriority: 100, threshold: 5, canStart: (t18) => this.canStart(t18), onStart: () => this.onStart(), onMove: (t18) => this.onMove(t18), onEnd: (t18) => this.onEnd(t18) }), this.disabledChanged();
    });
  }
  disconnectedCallback() {
    this.gesture && (this.gesture.destroy(), this.gesture = void 0), this.item = null, this.leftOptions = this.rightOptions = void 0, p20 === this.el && (p20 = void 0), this.mutationObserver && (this.mutationObserver.disconnect(), this.mutationObserver = void 0);
  }
  getOpenAmount() {
    return Promise.resolve(this.openAmount);
  }
  getSlidingRatio() {
    return Promise.resolve(this.getSlidingRatioSync());
  }
  open(t17) {
    return __async(this, null, function* () {
      var i16;
      if (null === (this.item = null !== (i16 = this.item) && void 0 !== i16 ? i16 : this.el.querySelector("ion-item"))) return;
      const s23 = this.getOptions(t17);
      s23 && (void 0 === t17 && (t17 = s23 === this.leftOptions ? "start" : "end"), t17 = x(t17) ? "end" : "start", this.openAmount < 0 && s23 === this.leftOptions || this.openAmount > 0 && s23 === this.rightOptions || (this.closeOpened(), this.state = 4, requestAnimationFrame((() => {
        this.calculateOptsWidth(), p20 = this.el, this.setOpenAmount("end" === t17 ? this.optsWidthRightSide : -this.optsWidthLeftSide, false), this.state = "end" === t17 ? 8 : 16;
      }))));
    });
  }
  close() {
    return __async(this, null, function* () {
      this.setOpenAmount(0, true);
    });
  }
  closeOpened() {
    return __async(this, null, function* () {
      return void 0 !== p20 && (p20.close(), p20 = void 0, true);
    });
  }
  getOptions(t17) {
    return void 0 === t17 ? this.leftOptions || this.rightOptions : "start" === t17 ? this.leftOptions : this.rightOptions;
  }
  updateOptions() {
    return __async(this, null, function* () {
      var t17;
      const i16 = this.el.querySelectorAll("ion-item-options");
      let s23 = 0;
      this.leftOptions = this.rightOptions = void 0;
      for (let e16 = 0; e16 < i16.length; e16++) {
        const n15 = i16.item(e16), o14 = void 0 !== n15.componentOnReady ? yield n15.componentOnReady() : n15;
        "start" == (x(null !== (t17 = o14.side) && void 0 !== t17 ? t17 : o14.getAttribute("side")) ? "end" : "start") ? (this.leftOptions = o14, s23 |= 1) : (this.rightOptions = o14, s23 |= 2);
      }
      this.optsDirty = true, this.sides = s23;
    });
  }
  canStart(t17) {
    return !("rtl" === document.dir ? window.innerWidth - t17.startX < 15 : t17.startX < 15) && (p20 && p20 !== this.el && this.closeOpened(), !(!this.rightOptions && !this.leftOptions));
  }
  onStart() {
    this.item = this.el.querySelector("ion-item");
    const { contentEl: t17 } = this;
    t17 && (this.initialContentScrollY = h2(t17)), p20 = this.el, void 0 !== this.tmr && (clearTimeout(this.tmr), this.tmr = void 0), 0 === this.openAmount && (this.optsDirty = true, this.state = 4), this.initialOpenAmount = this.openAmount, this.item && (this.item.style.transition = "none");
  }
  onMove(t17) {
    this.optsDirty && this.calculateOptsWidth();
    let i16, s23 = this.initialOpenAmount - t17.deltaX;
    switch (this.sides) {
      case 2:
        s23 = Math.max(0, s23);
        break;
      case 1:
        s23 = Math.min(0, s23);
        break;
      case 3:
        break;
      case 0:
        return;
      default:
        u("[ion-item-sliding] - invalid ItemSideFlags value", this.sides);
    }
    s23 > this.optsWidthRightSide ? (i16 = this.optsWidthRightSide, s23 = i16 + 0.55 * (s23 - i16)) : s23 < -this.optsWidthLeftSide && (i16 = -this.optsWidthLeftSide, s23 = i16 + 0.55 * (s23 - i16)), this.setOpenAmount(s23, false);
  }
  onEnd(t17) {
    const { contentEl: i16, initialContentScrollY: s23 } = this;
    i16 && l3(i16, s23);
    const e16 = t17.velocityX;
    let n15 = this.openAmount > 0 ? this.optsWidthRightSide : -this.optsWidthLeftSide;
    g9(this.openAmount > 0 == !(e16 < 0), Math.abs(e16) > 0.3, Math.abs(this.openAmount) < Math.abs(n15 / 2)) && (n15 = 0);
    const o14 = this.state;
    this.setOpenAmount(n15, true), 32 & o14 && this.rightOptions ? this.rightOptions.fireSwipeEvent() : 64 & o14 && this.leftOptions && this.leftOptions.fireSwipeEvent();
  }
  calculateOptsWidth() {
    this.optsWidthRightSide = 0, this.rightOptions && (this.rightOptions.style.display = "flex", this.optsWidthRightSide = this.rightOptions.offsetWidth, this.rightOptions.style.display = ""), this.optsWidthLeftSide = 0, this.leftOptions && (this.leftOptions.style.display = "flex", this.optsWidthLeftSide = this.leftOptions.offsetWidth, this.leftOptions.style.display = ""), this.optsDirty = false;
  }
  setOpenAmount(t17, i16) {
    if (void 0 !== this.tmr && (clearTimeout(this.tmr), this.tmr = void 0), !this.item) return;
    const { el: s23 } = this, e16 = this.item.style;
    if (this.openAmount = t17, i16 && (e16.transition = ""), t17 > 0) this.state = t17 >= this.optsWidthRightSide + 30 ? 40 : 8;
    else {
      if (!(t17 < 0)) return s23.classList.add("item-sliding-closing"), this.gesture && this.gesture.enable(false), this.tmr = setTimeout((() => {
        this.state = 2, this.tmr = void 0, this.gesture && this.gesture.enable(!this.disabled), s23.classList.remove("item-sliding-closing");
      }), 600), p20 = void 0, void (e16.transform = "");
      this.state = t17 <= -this.optsWidthLeftSide - 30 ? 80 : 16;
    }
    e16.transform = `translate3d(${-t17}px,0,0)`, this.ionDrag.emit({ amount: t17, ratio: this.getSlidingRatioSync() });
  }
  getSlidingRatioSync() {
    return this.openAmount > 0 ? this.openAmount / this.optsWidthRightSide : this.openAmount < 0 ? this.openAmount / this.optsWidthLeftSide : 0;
  }
  render() {
    const t17 = g(this);
    return Ct(It, { key: "8fd81d74701402294a48b79c56d6eceadafd4881", class: { [t17]: true, "item-sliding-active-slide": 2 !== this.state, "item-sliding-active-options-end": !!(8 & this.state), "item-sliding-active-options-start": !!(16 & this.state), "item-sliding-active-swipe-end": !!(32 & this.state), "item-sliding-active-swipe-start": !!(64 & this.state) } });
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { disabled: [{ disabledChanged: 0 }] };
  }
  static get style() {
    return "ion-item-sliding{display:block;position:relative;width:100%;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ion-item-sliding .item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.item-sliding-active-slide .item{position:relative;-webkit-transition:-webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:-webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);transition:transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1), -webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1);opacity:1;z-index:2;pointer-events:none;will-change:transform}.item-sliding-closing ion-item-options{pointer-events:none}.item-sliding-active-swipe-end .item-options-end .item-option-expandable{padding-left:100%;-ms-flex-order:1;order:1;-webkit-transition-duration:0.6s;transition-duration:0.6s;-webkit-transition-property:padding-left;transition-property:padding-left}:host-context([dir=rtl]) .item-sliding-active-swipe-end .item-options-end .item-option-expandable{-ms-flex-order:-1;order:-1}[dir=rtl] .item-sliding-active-swipe-end .item-options-end .item-option-expandable{-ms-flex-order:-1;order:-1}@supports selector(:dir(rtl)){.item-sliding-active-swipe-end .item-options-end .item-option-expandable:dir(rtl){-ms-flex-order:-1;order:-1}}.item-sliding-active-swipe-start .item-options-start .item-option-expandable{padding-right:100%;-ms-flex-order:-1;order:-1;-webkit-transition-duration:0.6s;transition-duration:0.6s;-webkit-transition-property:padding-right;transition-property:padding-right}:host-context([dir=rtl]) .item-sliding-active-swipe-start .item-options-start .item-option-expandable{-ms-flex-order:1;order:1}[dir=rtl] .item-sliding-active-swipe-start .item-options-start .item-option-expandable{-ms-flex-order:1;order:1}@supports selector(:dir(rtl)){.item-sliding-active-swipe-start .item-options-start .item-option-expandable:dir(rtl){-ms-flex-order:1;order:1}}";
  }
}, [0, "ion-item-sliding", { disabled: [4], state: [32], getOpenAmount: [64], getSlidingRatio: [64], open: [64], close: [64], closeOpened: [64] }, void 0, { disabled: [{ disabledChanged: 0 }] }]);
var g9 = (t17, i16, s23) => !i16 && s23 || t17 && i16;
var b11 = function() {
  "undefined" != typeof customElements && ["ion-item-sliding"].forEach(((t17) => {
    "ion-item-sliding" === t17 && (customElements.get(Zn(t17)) || customElements.define(Zn(t17), u13));
  }));
};

// node_modules/@ionic/core/components/p-B6FQ0cKR.js
var c23 = Dn(class extends I {
  constructor(o14) {
    super(), false !== o14 && this.__registerHost(), this.ionColor = Jt(this, "ionColor", 7), this.ionStyle = Jt(this, "ionStyle", 7), this.inRange = false, this.noAnimate = false;
  }
  componentWillLoad() {
    this.inRange = !!this.el.closest("ion-range"), this.noAnimate = "floating" === this.position, this.emitStyle(), this.emitColor();
  }
  componentDidLoad() {
    this.noAnimate && (this.loadTimeout = setTimeout((() => {
      this.noAnimate = false;
    }), 1e3));
  }
  disconnectedCallback() {
    this.loadTimeout && clearTimeout(this.loadTimeout);
  }
  colorChanged() {
    this.emitColor();
  }
  positionChanged() {
    this.emitStyle();
  }
  emitColor() {
    const { color: o14 } = this;
    this.ionColor.emit({ "item-label-color": void 0 !== o14, [`ion-color-${o14}`]: void 0 !== o14 });
  }
  emitStyle() {
    const { inRange: o14, position: i16 } = this;
    o14 || this.ionStyle.emit({ label: true, [`label-${i16}`]: void 0 !== i16 });
  }
  render() {
    const o14 = this.position, i16 = g(this);
    return Ct(It, { key: "d603670c442213c28737b0c052c094705b8c84ef", class: o6(this.color, { [i16]: true, "in-item-color": n5("ion-item.ion-color", this.el), [`label-${o14}`]: void 0 !== o14, "label-no-animate": this.noAnimate, "label-rtl": "rtl" === document.dir }) }, Ct("slot", { key: "a8c3aed240a20ee5856c423662878481a1e6d4cf" }));
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { color: [{ colorChanged: 0 }], position: [{ positionChanged: 0 }] };
  }
  static get style() {
    return { ios: ".item.sc-ion-label-ios-h,.item .sc-ion-label-ios-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-label-ios-h{color:var(--ion-color-base)}.ion-text-nowrap.sc-ion-label-ios-h{overflow:hidden}.item-interactive-disabled.sc-ion-label-ios-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-ios-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-ios-h,.item-input .sc-ion-label-ios-h{-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-ios-h,.item-textarea .sc-ion-label-ios-h{-ms-flex-item-align:baseline;align-self:baseline}.item-skeleton-text.sc-ion-label-ios-h,.item-skeleton-text .sc-ion-label-ios-h{overflow:hidden}.label-fixed.sc-ion-label-ios-h{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-ios-h,.label-floating.sc-ion-label-ios-h{margin-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-ios-h{-webkit-transition:none;transition:none}.sc-ion-label-ios-s h1,.sc-ion-label-ios-s h2,.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-ios-h{font-size:0.875rem;line-height:1.5}.label-stacked.sc-ion-label-ios-h{margin-bottom:4px;font-size:0.875rem}.label-floating.sc-ion-label-ios-h{margin-bottom:0;-webkit-transform:translate(0, 29px);transform:translate(0, 29px);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms ease-in-out;transition:-webkit-transform 150ms ease-in-out;transition:transform 150ms ease-in-out;transition:transform 150ms ease-in-out, -webkit-transform 150ms ease-in-out}[dir=rtl].sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl] .sc-ion-label-ios-h -no-combinator.label-floating.sc-ion-label-ios-h,[dir=rtl].label-floating.sc-ion-label-ios-h,[dir=rtl] .label-floating.sc-ion-label-ios-h{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.label-floating.sc-ion-label-ios-h:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.item-textarea.label-floating.sc-ion-label-ios-h,.item-textarea .label-floating.sc-ion-label-ios-h{-webkit-transform:translate(0, 28px);transform:translate(0, 28px)}.item-has-focus.label-floating.sc-ion-label-ios-h,.item-has-focus .label-floating.sc-ion-label-ios-h,.item-has-placeholder.sc-ion-label-ios-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-ios-h,.item-has-value.label-floating.sc-ion-label-ios-h,.item-has-value .label-floating.sc-ion-label-ios-h{-webkit-transform:scale(0.82);transform:scale(0.82)}.sc-ion-label-ios-s h1{margin-left:0;margin-right:0;margin-top:3px;margin-bottom:2px;font-size:1.375rem;font-weight:normal}.sc-ion-label-ios-s h2{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.0625rem;font-weight:normal}.sc-ion-label-ios-s h3,.sc-ion-label-ios-s h4,.sc-ion-label-ios-s h5,.sc-ion-label-ios-s h6{margin-left:0;margin-right:0;margin-top:0;margin-bottom:3px;font-size:0.875rem;font-weight:normal;line-height:normal}.sc-ion-label-ios-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem;line-height:normal;text-overflow:inherit;overflow:inherit}.sc-ion-label-ios-s>p{color:var(--ion-color-step-400, var(--ion-text-color-step-600, #999999))}.sc-ion-label-ios-h.in-item-color.sc-ion-label-ios-s>p{color:inherit}.sc-ion-label-ios-s h2:last-child,.sc-ion-label-ios-s h3:last-child,.sc-ion-label-ios-s h4:last-child,.sc-ion-label-ios-s h5:last-child,.sc-ion-label-ios-s h6:last-child,.sc-ion-label-ios-s p:last-child{margin-bottom:0}", md: ".item.sc-ion-label-md-h,.item .sc-ion-label-md-h{--color:initial;display:block;color:var(--color);font-family:var(--ion-font-family, inherit);font-size:inherit;text-overflow:ellipsis;-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-label-md-h{color:var(--ion-color-base)}.ion-text-nowrap.sc-ion-label-md-h{overflow:hidden}.item-interactive-disabled.sc-ion-label-md-h:not(.item-multiple-inputs),.item-interactive-disabled:not(.item-multiple-inputs) .sc-ion-label-md-h{cursor:default;opacity:0.3;pointer-events:none}.item-input.sc-ion-label-md-h,.item-input .sc-ion-label-md-h{-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}.item-textarea.sc-ion-label-md-h,.item-textarea .sc-ion-label-md-h{-ms-flex-item-align:baseline;align-self:baseline}.item-skeleton-text.sc-ion-label-md-h,.item-skeleton-text .sc-ion-label-md-h{overflow:hidden}.label-fixed.sc-ion-label-md-h{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-bottom:0;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}.label-no-animate.label-floating.sc-ion-label-md-h{-webkit-transition:none;transition:none}.sc-ion-label-md-s h1,.sc-ion-label-md-s h2,.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{text-overflow:inherit;overflow:inherit}.ion-text-wrap.sc-ion-label-md-h{line-height:1.5}.label-stacked.sc-ion-label-md-h,.label-floating.sc-ion-label-md-h{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-transform-origin:top left;transform-origin:top left}.label-stacked.label-rtl.sc-ion-label-md-h,.label-floating.label-rtl.sc-ion-label-md-h{-webkit-transform-origin:top right;transform-origin:top right}.label-stacked.sc-ion-label-md-h{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.label-floating.sc-ion-label-md-h{-webkit-transform:translateY(96%);transform:translateY(96%);-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1)}.ion-focused.label-floating.sc-ion-label-md-h,.ion-focused .label-floating.sc-ion-label-md-h,.item-has-focus.label-floating.sc-ion-label-md-h,.item-has-focus .label-floating.sc-ion-label-md-h,.item-has-placeholder.sc-ion-label-md-h:not(.item-input).label-floating,.item-has-placeholder:not(.item-input) .label-floating.sc-ion-label-md-h,.item-has-value.label-floating.sc-ion-label-md-h,.item-has-value .label-floating.sc-ion-label-md-h{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75)}.ion-focused.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-primary, #0054e9)}.ion-focused.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-focused.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-stacked.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color.label-floating.sc-ion-label-md-h:not(.ion-color),.item-has-focus.ion-color .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--ion-color-contrast)}.ion-invalid.ion-touched.label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-stacked.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched.label-floating.sc-ion-label-md-h:not(.ion-color),.ion-invalid.ion-touched .label-floating.sc-ion-label-md-h:not(.ion-color){color:var(--highlight-color-invalid)}.sc-ion-label-md-s h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.5rem;font-weight:normal}.sc-ion-label-md-s h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:1rem;font-weight:normal}.sc-ion-label-md-s h3,.sc-ion-label-md-s h4,.sc-ion-label-md-s h5,.sc-ion-label-md-s h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:0.875rem;font-weight:normal;line-height:normal}.sc-ion-label-md-s p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem;line-height:1.25rem;text-overflow:inherit;overflow:inherit}.sc-ion-label-md-s>p{color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}.sc-ion-label-md-h.in-item-color.sc-ion-label-md-s>p{color:inherit}" };
  }
}, [294, "ion-label", { color: [513], position: [1], noAnimate: [32] }, void 0, { color: [{ colorChanged: 0 }], position: [{ positionChanged: 0 }] }]);
function m18() {
  "undefined" != typeof customElements && ["ion-label"].forEach(((o14) => {
    "ion-label" === o14 && (customElements.get(Zn(o14)) || customElements.define(Zn(o14), c23));
  }));
}

// node_modules/@ionic/core/components/ion-label.js
var r18 = m18;

// node_modules/@ionic/core/components/p-DYdpXONG.js
var r19 = Dn(class extends I {
  constructor(i16) {
    super(), false !== i16 && this.__registerHost(), this.inset = false;
  }
  closeSlidingItems() {
    return __async(this, null, function* () {
      const i16 = this.el.querySelector("ion-item-sliding");
      return !!(null == i16 ? void 0 : i16.closeOpened) && i16.closeOpened();
    });
  }
  render() {
    const i16 = g(this), { lines: t17, inset: e16 } = this;
    return Ct(It, { key: "7f9943751542d2cbd49a4ad3f28e16d9949f70d4", role: "list", class: { [i16]: true, [`list-${i16}`]: true, "list-inset": e16, [`list-lines-${t17}`]: void 0 !== t17, [`list-${i16}-lines-${t17}`]: void 0 !== t17 } });
  }
  get el() {
    return this;
  }
  static get style() {
    return { ios: "ion-list{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;contain:content;list-style-type:none}ion-list.list-inset{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:hidden}.list-ios{background:var(--ion-item-background, var(--ion-background-color, #fff))}.list-ios.list-inset{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px;border-radius:10px}.list-ios.list-inset ion-item:only-child,.list-ios.list-inset ion-item:not(:only-of-type):last-of-type,.list-ios.list-inset ion-item-sliding:last-of-type ion-item{--border-width:0;--inner-border-width:0}.list-ios.list-inset+ion-list.list-inset{margin-top:0}.list-ios-lines-none .item-lines-default{--inner-border-width:0px;--border-width:0px}.list-ios-lines-full .item-lines-default{--inner-border-width:0px;--border-width:0 0 0.55px 0}.list-ios-lines-inset .item-lines-default{--inner-border-width:0 0 0.55px 0;--border-width:0px}ion-card .list-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}", md: "ion-list{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;contain:content;list-style-type:none}ion-list.list-inset{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:hidden}.list-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:8px;padding-bottom:8px;background:var(--ion-item-background, var(--ion-background-color, #fff))}.list-md>.input:last-child::after{inset-inline-start:0}.list-md.list-inset{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px;border-radius:2px}.list-md.list-inset ion-item:not(:only-of-type):last-of-type,.list-md.list-inset ion-item-sliding:last-of-type ion-item{--border-width:0;--inner-border-width:0}.list-md.list-inset ion-item:only-child{--border-width:0;--inner-border-width:0}.list-md.list-inset+ion-list.list-inset{margin-top:0}.list-md-lines-none .item-lines-default{--inner-border-width:0px;--border-width:0px}.list-md-lines-full .item-lines-default{--inner-border-width:0px;--border-width:0 0 1px 0}.list-md-lines-inset .item-lines-default{--inner-border-width:0 0 1px 0;--border-width:0px}ion-card .list-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}" };
  }
}, [32, "ion-list", { lines: [1], inset: [4], closeSlidingItems: [64] }]);
function l20() {
  "undefined" != typeof customElements && ["ion-list"].forEach(((i16) => {
    "ion-list" === i16 && (customElements.get(Zn(i16)) || customElements.define(Zn(i16), r19));
  }));
}

// node_modules/@ionic/core/components/ion-list.js
var r20 = l20;

// node_modules/@ionic/core/components/p-BagjAGC0.js
var s19 = Dn(class extends I {
  constructor(e16) {
    super(), false !== e16 && this.__registerHost(), this.__attachShadow();
  }
  render() {
    const { lines: e16 } = this, r32 = g(this);
    return Ct(It, { key: "f5fcd3e6b9f1ba52381fd0d14c0d50517da50f9f", class: o6(this.color, { [r32]: true, [`list-header-lines-${e16}`]: void 0 !== e16 }) }, Ct("div", { key: "99d09b1d2438ad981d20ff965c8945635c2161a3", class: "list-header-inner", part: "inner" }, Ct("slot", { key: "efa7ab08935cfa378734cda0612b49ba5b7b6d36" })));
  }
  static get style() {
    return { ios: ":host{--border-style:solid;--border-width:0;--inner-border-width:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:40px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);color:var(--color);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.list-header-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex:1 1 auto;flex:1 1 auto}:host(.list-header-lines-inset),:host(.list-header-lines-none){--border-width:0}:host(.list-header-lines-full),:host(.list-header-lines-none){--inner-border-width:0}:host{--background:transparent;--color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));padding-right:var(--ion-safe-area-right);padding-left:calc(var(--ion-safe-area-left, 0px) + 16px);position:relative;-ms-flex-align:end;align-items:flex-end;font-size:min(1.375rem, 56.1px);font-weight:700;letter-spacing:0}:host-context([dir=rtl]){padding-right:calc(var(--ion-safe-area-right, 0px) + 16px);padding-left:var(--ion-safe-area-left)}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--ion-safe-area-right, 0px) + 16px);padding-left:var(--ion-safe-area-left)}}::slotted(ion-button),::slotted(ion-label){margin-top:29px;margin-bottom:6px}::slotted(ion-button){--padding-top:0;--padding-bottom:0;-webkit-margin-start:3px;margin-inline-start:3px;-webkit-margin-end:3px;margin-inline-end:3px;min-height:1.4em}:host(.list-header-lines-full){--border-width:0 0 0.55px 0}:host(.list-header-lines-inset){--inner-border-width:0 0 0.55px 0}", md: ":host{--border-style:solid;--border-width:0;--inner-border-width:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:40px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);color:var(--color);overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}.list-header-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border-width:var(--inner-border-width);border-style:var(--border-style);border-color:var(--border-color);overflow:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex:1 1 auto;flex:1 1 auto}:host(.list-header-lines-inset),:host(.list-header-lines-none){--border-width:0}:host(.list-header-lines-full),:host(.list-header-lines-none){--inner-border-width:0}:host{--background:transparent;--color:var(--ion-text-color, #000);--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));padding-right:var(--ion-safe-area-right);padding-left:calc(var(--ion-safe-area-left, 0px) + 16px);min-height:45px;font-size:0.875rem}:host-context([dir=rtl]){padding-right:calc(var(--ion-safe-area-right, 0px) + 16px);padding-left:var(--ion-safe-area-left)}@supports selector(:dir(rtl)){:host(:dir(rtl)){padding-right:calc(var(--ion-safe-area-right, 0px) + 16px);padding-left:var(--ion-safe-area-left)}}:host(.list-header-lines-full){--border-width:0 0 1px 0}:host(.list-header-lines-inset){--inner-border-width:0 0 1px 0}" };
  }
}, [289, "ion-list-header", { color: [513], lines: [1] }]);
function l21() {
  "undefined" != typeof customElements && ["ion-list-header"].forEach(((e16) => {
    "ion-list-header" === e16 && (customElements.get(Zn(e16)) || customElements.define(Zn(e16), s19));
  }));
}

// node_modules/@ionic/core/components/ion-list-header.js
var p21 = l21;

// node_modules/@ionic/core/components/ion-loading.js
var j6 = (i16) => {
  const t17 = r(), n15 = r(), o14 = r();
  return n15.addElement(i16.querySelector("ion-backdrop")).fromTo("opacity", 0.01, "var(--backdrop-opacity)").beforeStyles({ "pointer-events": "none" }).afterClearStyles(["pointer-events"]), o14.addElement(i16.querySelector(".loading-wrapper")).keyframes([{ offset: 0, opacity: 0.01, transform: "scale(1.1)" }, { offset: 1, opacity: 1, transform: "scale(1)" }]), t17.addElement(i16).easing("ease-in-out").duration(200).addAnimation([n15, o14]);
};
var C3 = (i16) => {
  const t17 = r(), n15 = r(), o14 = r();
  return n15.addElement(i16.querySelector("ion-backdrop")).fromTo("opacity", "var(--backdrop-opacity)", 0), o14.addElement(i16.querySelector(".loading-wrapper")).keyframes([{ offset: 0, opacity: 0.99, transform: "scale(1)" }, { offset: 1, opacity: 0, transform: "scale(0.9)" }]), t17.addElement(i16).easing("ease-in-out").duration(200).addAnimation([n15, o14]);
};
var L7 = (i16) => {
  const t17 = r(), n15 = r(), o14 = r();
  return n15.addElement(i16.querySelector("ion-backdrop")).fromTo("opacity", 0.01, "var(--backdrop-opacity)").beforeStyles({ "pointer-events": "none" }).afterClearStyles(["pointer-events"]), o14.addElement(i16.querySelector(".loading-wrapper")).keyframes([{ offset: 0, opacity: 0.01, transform: "scale(1.1)" }, { offset: 1, opacity: 1, transform: "scale(1)" }]), t17.addElement(i16).easing("ease-in-out").duration(200).addAnimation([n15, o14]);
};
var z5 = (i16) => {
  const t17 = r(), n15 = r(), o14 = r();
  return n15.addElement(i16.querySelector("ion-backdrop")).fromTo("opacity", "var(--backdrop-opacity)", 0), o14.addElement(i16.querySelector(".loading-wrapper")).keyframes([{ offset: 0, opacity: 0.99, transform: "scale(1)" }, { offset: 1, opacity: 0, transform: "scale(0.9)" }]), t17.addElement(i16).easing("ease-in-out").duration(200).addAnimation([n15, o14]);
};
var O7 = Dn(class extends I {
  constructor(i16) {
    super(), false !== i16 && this.__registerHost(), this.didPresent = Jt(this, "ionLoadingDidPresent", 7), this.willPresent = Jt(this, "ionLoadingWillPresent", 7), this.willDismiss = Jt(this, "ionLoadingWillDismiss", 7), this.didDismiss = Jt(this, "ionLoadingDidDismiss", 7), this.didPresentShorthand = Jt(this, "didPresent", 7), this.willPresentShorthand = Jt(this, "willPresent", 7), this.willDismissShorthand = Jt(this, "willDismiss", 7), this.didDismissShorthand = Jt(this, "didDismiss", 7), this.delegateController = X2(this), this.lockController = t11(), this.triggerController = Y2(), this.customHTMLEnabled = n.get("innerHTMLTemplatesEnabled", l5), this.presented = false, this.hasController = false, this.keyboardClose = true, this.duration = 0, this.backdropDismiss = false, this.showBackdrop = true, this.translucent = false, this.animated = true, this.isOpen = false, this.onBackdropTap = () => {
      this.dismiss(void 0, H3);
    };
  }
  onIsOpenChange(i16, t17) {
    true === i16 && false === t17 ? this.present() : false === i16 && true === t17 && this.dismiss();
  }
  triggerChanged() {
    const { trigger: i16, el: t17, triggerController: n15 } = this;
    i16 && n15.addClickListener(t17, i16);
  }
  connectedCallback() {
    I3(this.el), this.triggerChanged();
  }
  componentWillLoad() {
    var i16;
    if (void 0 === this.spinner) {
      const i17 = g(this);
      this.spinner = n.get("loadingSpinner", n.get("spinner", "ios" === i17 ? "lines" : "crescent"));
    }
    (null === (i16 = this.htmlAttributes) || void 0 === i16 ? void 0 : i16.id) || N(this.el);
  }
  componentDidLoad() {
    true === this.isOpen && d2((() => this.present())), this.triggerChanged();
  }
  disconnectedCallback() {
    this.triggerController.removeClickListener();
  }
  present() {
    return __async(this, null, function* () {
      const i16 = yield this.lockController.lock();
      yield this.delegateController.attachViewToDom(), yield $(this, "loadingEnter", j6, L7), this.duration > 0 && (this.durationTimeout = setTimeout((() => this.dismiss()), this.duration + 10)), i16();
    });
  }
  dismiss(i16, t17) {
    return __async(this, null, function* () {
      const n15 = yield this.lockController.lock();
      this.durationTimeout && clearTimeout(this.durationTimeout);
      const o14 = yield J(this, i16, t17, "loadingLeave", C3, z5);
      return o14 && this.delegateController.removeViewFromDom(), n15(), o14;
    });
  }
  onDidDismiss() {
    return q3(this.el, "ionLoadingDidDismiss");
  }
  onWillDismiss() {
    return q3(this.el, "ionLoadingWillDismiss");
  }
  renderLoadingMessage(i16) {
    const { customHTMLEnabled: t17, message: n15 } = this;
    return t17 ? Ct("div", { class: "loading-content", id: i16, innerHTML: n4(n15) }) : Ct("div", { class: "loading-content", id: i16 }, n15);
  }
  render() {
    const { message: i16, spinner: t17, htmlAttributes: n15, overlayIndex: o14 } = this, a17 = g(this), r32 = `loading-${o14}-msg`;
    return Ct(It, Object.assign({ key: "f86ddbc600cb5c396b7de38fb5f49625388c3c3f", role: "dialog", "aria-modal": "true", "aria-labelledby": void 0 !== i16 ? r32 : null, tabindex: "-1" }, n15, { style: { zIndex: "" + (4e4 + this.overlayIndex) }, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, r5(this.cssClass)), { [a17]: true, "overlay-hidden": true, "loading-translucent": this.translucent }) }), Ct("ion-backdrop", { key: "b53727aaddc37ef3c685fcc150c6d5193290a847", visible: this.showBackdrop, tappable: this.backdropDismiss }), Ct("div", { key: "4c61bede8e0a4e47daa6f1f9d0f364ef6aec0bc3", tabindex: "0", "aria-hidden": "true" }), Ct("div", { key: "84e51ceb07118f1eaeb757df28801c255496931b", class: "loading-wrapper ion-overlay-wrapper" }, t17 && Ct("div", { key: "fc97f1912e0fc558b7c309a5bc084415f5f620b2", class: "loading-spinner" }, Ct("ion-spinner", { key: "6e186d856cd3f10f22c3e317ef00f31b4216459c", name: t17, "aria-hidden": "true" })), void 0 !== i16 && this.renderLoadingMessage(r32)), Ct("div", { key: "dcbe9d9a619daa1c08174e73827bdabeb59dde92", tabindex: "0", "aria-hidden": "true" }));
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { isOpen: [{ onIsOpenChange: 0 }], trigger: [{ triggerChanged: 0 }] };
  }
  static get style() {
    return { ios: ".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}", md: ".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}" };
  }
}, [34, "ion-loading", { overlayIndex: [2, "overlay-index"], delegate: [16], hasController: [4, "has-controller"], keyboardClose: [4, "keyboard-close"], enterAnimation: [16], leaveAnimation: [16], message: [1], cssClass: [1, "css-class"], duration: [2], backdropDismiss: [4, "backdrop-dismiss"], showBackdrop: [4, "show-backdrop"], spinner: [1025], translucent: [4], animated: [4], htmlAttributes: [16], isOpen: [4, "is-open"], trigger: [1], present: [64], dismiss: [64], onDidDismiss: [64], onWillDismiss: [64] }, void 0, { isOpen: [{ onIsOpenChange: 0 }], trigger: [{ triggerChanged: 0 }] }]);
var T6 = function() {
  "undefined" != typeof customElements && ["ion-loading", "ion-backdrop", "ion-spinner"].forEach(((i16) => {
    switch (i16) {
      case "ion-loading":
        customElements.get(Zn(i16)) || customElements.define(Zn(i16), O7);
        break;
      case "ion-backdrop":
        customElements.get(Zn(i16)) || c11();
        break;
      case "ion-spinner":
        customElements.get(Zn(i16)) || m17();
    }
  }));
};

// node_modules/@ionic/core/components/ion-menu.js
var E8 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.__attachShadow(), this.ionWillOpen = Jt(this, "ionWillOpen", 7), this.ionWillClose = Jt(this, "ionWillClose", 7), this.ionDidOpen = Jt(this, "ionDidOpen", 7), this.ionDidClose = Jt(this, "ionDidClose", 7), this.ionMenuChange = Jt(this, "ionMenuChange", 7), this.lastOnEnd = 0, this.blocker = h.createBlocker({ disableScroll: true }), this.didLoad = false, this.operationCancelled = false, this.isAnimating = false, this._isOpen = false, this.inheritedAttributes = {}, this.handleFocus = (t18) => {
      const e16 = V(document);
      e16 && !e16.contains(this.el) || this.trapKeyboardFocus(t18, document);
    }, this.isPaneVisible = false, this.isEndSide = false, this.disabled = false, this.side = "start", this.swipeGesture = true, this.maxEdgeStart = 50;
  }
  typeChanged(t17, e16) {
    const i16 = this.contentEl;
    i16 && (void 0 !== e16 && i16.classList.remove("menu-content-" + e16), i16.classList.add("menu-content-" + t17), i16.removeAttribute("style")), this.menuInnerEl && this.menuInnerEl.removeAttribute("style"), this.animation = void 0;
  }
  disabledChanged() {
    this.updateState(), this.ionMenuChange.emit({ disabled: this.disabled, open: this._isOpen });
  }
  sideChanged() {
    this.isEndSide = x(this.side), this.animation = void 0;
  }
  swipeGestureChanged() {
    this.updateState();
  }
  connectedCallback() {
    return __async(this, null, function* () {
      "undefined" != typeof customElements && null != customElements && (yield customElements.whenDefined("ion-menu")), void 0 === this.type && (this.type = n.get("menuType", "overlay"));
      const t17 = void 0 !== this.contentId ? document.getElementById(this.contentId) : null;
      null !== t17 ? (this.el.contains(t17) && f(`[ion-menu] - The "contentId" should refer to the main view's ion-content, not the ion-content inside of the ion-menu.`), this.contentEl = t17, t17.classList.add("menu-content"), this.typeChanged(this.type, void 0), this.sideChanged(), p4._register(this), this.menuChanged(), this.gesture = (yield import("./chunk-7STYLPNF.js")).createGesture({ el: document, gestureName: "menu-swipe", gesturePriority: 30, threshold: 10, blurOnStart: true, canStart: (t18) => this.canStart(t18), onWillStart: () => this.onWillStart(), onStart: () => this.onStart(), onMove: (t18) => this.onMove(t18), onEnd: (t18) => this.onEnd(t18) }), this.updateState()) : f('[ion-menu] - Must have a "content" element to listen for drag events on.');
    });
  }
  componentWillLoad() {
    this.inheritedAttributes = s2(this.el);
  }
  componentDidLoad() {
    return __async(this, null, function* () {
      this.didLoad = true;
      const t17 = this.el.closest("ion-split-pane");
      null !== t17 && (this.isPaneVisible = yield t17.isVisible()), this.menuChanged(), this.updateState();
    });
  }
  menuChanged() {
    this.didLoad && this.ionMenuChange.emit({ disabled: this.disabled, open: this._isOpen });
  }
  disconnectedCallback() {
    return __async(this, null, function* () {
      yield this.close(false), this.blocker.destroy(), p4._unregister(this), this.animation && this.animation.destroy(), this.gesture && (this.gesture.destroy(), this.gesture = void 0), this.animation = void 0, this.contentEl = void 0;
    });
  }
  onSplitPaneChanged(t17) {
    const e16 = this.el.closest("ion-split-pane");
    null !== e16 && e16 === t17.target && (this.isPaneVisible = t17.detail.visible, this.updateState());
  }
  onBackdropClick(t17) {
    this._isOpen && this.lastOnEnd < t17.timeStamp - 100 && t17.composedPath && !t17.composedPath().includes(this.menuInnerEl) && (t17.preventDefault(), t17.stopPropagation(), this.close(void 0, H3));
  }
  onKeydown(t17) {
    "Escape" === t17.key && this.close(void 0, H3);
  }
  isOpen() {
    return Promise.resolve(this._isOpen);
  }
  isActive() {
    return Promise.resolve(this._isActive());
  }
  open(t17 = true) {
    return this.setOpen(true, t17);
  }
  close(t17 = true, e16) {
    return this.setOpen(false, t17, e16);
  }
  toggle(t17 = true) {
    return this.setOpen(!this._isOpen, t17);
  }
  setOpen(t17, e16 = true, i16) {
    var s23;
    return null === (s23 = document.activeElement) || void 0 === s23 || s23.blur(), p4._setOpen(this, t17, e16, i16);
  }
  trapKeyboardFocus(t17, e16) {
    const i16 = t17.target;
    if (i16) if (this.el.contains(i16)) this.lastFocus = i16;
    else {
      const { el: t18 } = this;
      f5(t18), this.lastFocus === e16.activeElement && h7(t18);
    }
  }
  _setOpen(t17, e16 = true, i16) {
    return __async(this, null, function* () {
      return !(!this._isActive() || this.isAnimating || t17 === this._isOpen || (this.beforeAnimation(t17, i16), yield this.loadAnimation(), yield this.startAnimation(t17, e16), this.operationCancelled ? (this.operationCancelled = false, 1) : (this.afterAnimation(t17, i16), 0)));
    });
  }
  loadAnimation() {
    return __async(this, null, function* () {
      const t17 = this.menuInnerEl.offsetWidth, e16 = x(this.side);
      if (t17 === this.width && void 0 !== this.animation && e16 === this.isEndSide) return;
      this.width = t17, this.isEndSide = e16, this.animation && (this.animation.destroy(), this.animation = void 0);
      const i16 = this.animation = yield p4._createAnimation(this.type, this);
      n.getBoolean("animated", true) || i16.duration(0), i16.fill("both");
    });
  }
  startAnimation(t17, e16) {
    return __async(this, null, function* () {
      const i16 = !t17, s23 = g(this), n15 = "ios" === s23 ? "cubic-bezier(0.32,0.72,0,1)" : "cubic-bezier(0.0,0.0,0.2,1)", o14 = "ios" === s23 ? "cubic-bezier(1, 0, 0.68, 0.28)" : "cubic-bezier(0.4, 0, 0.6, 1)", a17 = this.animation.direction(i16 ? "reverse" : "normal").easing(i16 ? o14 : n15);
      e16 ? yield a17.play() : a17.play({ sync: true }), "reverse" === a17.getDirection() && a17.direction("normal");
    });
  }
  _isActive() {
    return !this.disabled && !this.isPaneVisible;
  }
  canSwipe() {
    return this.swipeGesture && !this.isAnimating && this._isActive();
  }
  canStart(t17) {
    return !(document.querySelector("ion-modal.show-modal") || !this.canSwipe()) && (!!this._isOpen || !p4._getOpenSync() && z6(window, t17.currentX, this.isEndSide, this.maxEdgeStart));
  }
  onWillStart() {
    return this.beforeAnimation(!this._isOpen, K2), this.loadAnimation();
  }
  onStart() {
    this.isAnimating && this.animation ? this.animation.progressStart(true, this._isOpen ? 1 : 0) : v(false, "isAnimating has to be true");
  }
  onMove(t17) {
    if (!this.isAnimating || !this.animation) return void v(false, "isAnimating has to be true");
    const e16 = S7(t17.deltaX, this._isOpen, this.isEndSide) / this.width;
    this.animation.progressStep(this._isOpen ? 1 - e16 : e16);
  }
  onEnd(t17) {
    if (!this.isAnimating || !this.animation) return void v(false, "isAnimating has to be true");
    const e16 = this._isOpen, i16 = this.isEndSide, s23 = S7(t17.deltaX, e16, i16), n15 = this.width, o14 = s23 / n15, a17 = t17.velocityX, r32 = n15 / 2, d25 = a17 >= 0 && (a17 > 0.2 || t17.deltaX > r32), m28 = a17 <= 0 && (a17 < -0.2 || t17.deltaX < -r32), l27 = e16 ? i16 ? d25 : m28 : i16 ? m28 : d25;
    let u21 = !e16 && l27;
    e16 && !l27 && (u21 = true), this.lastOnEnd = t17.currentTime;
    let b21 = l27 ? 1e-3 : -1e-3;
    b21 += t7([0, 0], [0.4, 0], [0.6, 1], [1, 1], b(0, o14 < 0 ? 0.01 : o14, 0.9999))[0] || 0;
    const c36 = this._isOpen ? !l27 : l27;
    this.animation.easing("cubic-bezier(0.4, 0.0, 0.6, 1)").onFinish((() => this.afterAnimation(u21, K2)), { oneTimeCallback: true }).progressEnd(c36 ? 1 : 0, this._isOpen ? 1 - b21 : b21, 300);
  }
  beforeAnimation(t17, e16) {
    v(!this.isAnimating, "_before() should not be called while animating"), s7("android") && this.el.setAttribute("aria-hidden", "true"), this.el.classList.add(A4), this.el.setAttribute("tabindex", "0"), this.backdropEl && this.backdropEl.classList.add(O8), this.contentEl && (this.contentEl.classList.add(G6), this.contentEl.setAttribute("aria-hidden", "true")), this.blocker.block(), this.isAnimating = true, t17 ? this.ionWillOpen.emit() : this.ionWillClose.emit({ role: e16 });
  }
  afterAnimation(t17, e16) {
    var i16;
    this._isOpen = t17, this.isAnimating = false, this._isOpen || this.blocker.unblock(), t17 ? (s7("android") && this.el.removeAttribute("aria-hidden"), this.ionDidOpen.emit(), (null === (i16 = document.activeElement) || void 0 === i16 ? void 0 : i16.closest("ion-menu")) !== this.el && this.el.focus(), document.addEventListener("focus", this.handleFocus, true)) : (this.el.removeAttribute("aria-hidden"), this.el.classList.remove(A4), this.el.removeAttribute("tabindex"), this.contentEl && (this.contentEl.classList.remove(G6), this.contentEl.removeAttribute("aria-hidden")), this.backdropEl && this.backdropEl.classList.remove(O8), this.animation && this.animation.stop(), this.ionDidClose.emit({ role: e16 }), document.removeEventListener("focus", this.handleFocus, true));
  }
  updateState() {
    const t17 = this._isActive();
    this.gesture && this.gesture.enable(t17 && this.swipeGesture), t17 || (this.isAnimating && (this.operationCancelled = true), this.afterAnimation(false, K2));
  }
  render() {
    const { type: t17, disabled: e16, el: i16, isPaneVisible: s23, inheritedAttributes: n15, side: r32 } = this, h21 = g(this);
    return Ct(It, { key: "29ef73894e2795e4ce23e59888ffb87faf4dd543", onKeyDown: o3() ? null : this.onKeydown, role: "navigation", "aria-label": n15["aria-label"] || "menu", class: { [h21]: true, ["menu-type-" + t17]: true, "menu-enabled": !e16, ["menu-side-" + r32]: true, "menu-pane-visible": s23, "split-pane-side": n5("ion-split-pane", i16) } }, Ct("div", { key: "22e44f7bd602ee0c96550f0dfc22ac81c0033ad6", class: "menu-inner", part: "container", ref: (t18) => this.menuInnerEl = t18 }, Ct("slot", { key: "7bbef92fe03bb3ce4d3981eb8535aab449aab2fc" })), Ct("ion-backdrop", { key: "9ab8d5b61563e16b212c71c03869d4fc23a0400b", ref: (t18) => this.backdropEl = t18, class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" }));
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { type: [{ typeChanged: 0 }], disabled: [{ disabledChanged: 0 }], side: [{ sideChanged: 0 }], swipeGesture: [{ swipeGestureChanged: 0 }] };
  }
  static get style() {
    return { ios: ":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;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);contain:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0,  0,  0);transform:translate3d(0,  0,  0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width, var(--width));min-width:var(--side-min-width, var(--min-width));max-width:var(--side-max-width, var(--max-width))}:host(.menu-pane-visible.split-pane-side){left:0;right:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none;box-shadow:none;z-index:0}:host(.menu-pane-visible.split-pane-side.menu-enabled){display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}:host(.menu-pane-visible.split-pane-side){-ms-flex-order:-1;order:-1}:host(.menu-pane-visible.split-pane-side[side=end]){-ms-flex-order:1;order:1}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;-webkit-transform:none;transform:none;-webkit-box-shadow:none;box-shadow:none}:host(.menu-pane-visible) ion-backdrop{display:hidden !important}:host(.menu-pane-visible.split-pane-side){-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.menu-pane-visible.split-pane-side[side=end]){-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.menu-type-push){z-index:1000}:host(.menu-type-push) .show-backdrop{display:block}", md: ":host{--width:304px;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--background:var(--ion-background-color, #fff);left:0;right:0;top:0;bottom:0;display:none;position:absolute;contain:strict}:host(.show-menu){display:block}.menu-inner{-webkit-transform:translateX(-9999px);transform:translateX(-9999px);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;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);contain:strict}:host(.menu-side-start) .menu-inner{--ion-safe-area-right:0px;top:0;bottom:0}:host(.menu-side-start) .menu-inner{inset-inline-start:0;inset-inline-end:auto}:host-context([dir=rtl]):host(.menu-side-start) .menu-inner,:host-context([dir=rtl]).menu-side-start .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}@supports selector(:dir(rtl)){:host(.menu-side-start:dir(rtl)) .menu-inner{--ion-safe-area-right:unset;--ion-safe-area-left:0px}}:host(.menu-side-end) .menu-inner{--ion-safe-area-left:0px;top:0;bottom:0}:host(.menu-side-end) .menu-inner{inset-inline-start:auto;inset-inline-end:0}:host-context([dir=rtl]):host(.menu-side-end) .menu-inner,:host-context([dir=rtl]).menu-side-end .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}@supports selector(:dir(rtl)){:host(.menu-side-end:dir(rtl)) .menu-inner{--ion-safe-area-left:unset;--ion-safe-area-right:0px}}ion-backdrop{display:none;opacity:0.01;z-index:-1}@media (max-width: 340px){.menu-inner{--width:264px}}:host(.menu-type-reveal){z-index:0}:host(.menu-type-reveal.show-menu) .menu-inner{-webkit-transform:translate3d(0,  0,  0);transform:translate3d(0,  0,  0)}:host(.menu-type-overlay){z-index:1000}:host(.menu-type-overlay) .show-backdrop{display:block;cursor:pointer}:host(.menu-pane-visible){-ms-flex:0 1 auto;flex:0 1 auto;width:var(--side-width, var(--width));min-width:var(--side-min-width, var(--min-width));max-width:var(--side-max-width, var(--max-width))}:host(.menu-pane-visible.split-pane-side){left:0;right:0;top:0;bottom:0;position:relative;-webkit-box-shadow:none;box-shadow:none;z-index:0}:host(.menu-pane-visible.split-pane-side.menu-enabled){display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0}:host(.menu-pane-visible.split-pane-side){-ms-flex-order:-1;order:-1}:host(.menu-pane-visible.split-pane-side[side=end]){-ms-flex-order:1;order:1}:host(.menu-pane-visible) .menu-inner{left:0;right:0;width:auto;-webkit-transform:none;transform:none;-webkit-box-shadow:none;box-shadow:none}:host(.menu-pane-visible) ion-backdrop{display:hidden !important}:host(.menu-pane-visible.split-pane-side){-webkit-border-start:0;border-inline-start:0;-webkit-border-end:var(--border);border-inline-end:var(--border);border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.menu-pane-visible.split-pane-side[side=end]){-webkit-border-start:var(--border);border-inline-start:var(--border);-webkit-border-end:0;border-inline-end:0;border-top:0;border-bottom:0;min-width:var(--side-min-width);max-width:var(--side-max-width)}:host(.menu-type-overlay) .menu-inner{-webkit-box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18);box-shadow:4px 0px 16px rgba(0, 0, 0, 0.18)}" };
  }
}, [289, "ion-menu", { contentId: [513, "content-id"], menuId: [513, "menu-id"], type: [1025], disabled: [1028], side: [513], swipeGesture: [4, "swipe-gesture"], maxEdgeStart: [2, "max-edge-start"], isPaneVisible: [32], isEndSide: [32], isOpen: [64], isActive: [64], open: [64], close: [64], toggle: [64], setOpen: [64] }, [[16, "ionSplitPaneVisible", "onSplitPaneChanged"], [2, "click", "onBackdropClick"]], { type: [{ typeChanged: 0 }], disabled: [{ disabledChanged: 0 }], side: [{ sideChanged: 0 }], swipeGesture: [{ swipeGestureChanged: 0 }] }]);
var S7 = (t17, e16, i16) => Math.max(0, e16 !== i16 ? -t17 : t17);
var z6 = (t17, e16, i16, s23) => i16 ? e16 >= t17.innerWidth - s23 : e16 <= s23;
var A4 = "show-menu";
var O8 = "show-backdrop";
var G6 = "menu-content-open";
var D6 = function() {
  "undefined" != typeof customElements && ["ion-menu", "ion-backdrop"].forEach(((t17) => {
    switch (t17) {
      case "ion-menu":
        customElements.get(Zn(t17)) || customElements.define(Zn(t17), E8);
        break;
      case "ion-backdrop":
        customElements.get(Zn(t17)) || c11();
    }
  }));
};

// node_modules/@ionic/core/components/p-BNAG-aVv.js
var t16 = (t17) => __async(null, null, function* () {
  const s23 = yield p4.get(t17);
  return !(!s23 || !(yield s23.isActive()));
});

// node_modules/@ionic/core/components/ion-menu-button.js
var g10 = Dn(class extends I {
  constructor(o14) {
    super(), false !== o14 && this.__registerHost(), this.__attachShadow(), this.inheritedAttributes = {}, this.visible = false, this.disabled = false, this.autoHide = true, this.type = "button", this.onClick = () => __async(this, null, function* () {
      return p4.toggle(this.menu);
    });
  }
  componentWillLoad() {
    this.inheritedAttributes = s2(this.el);
  }
  componentDidLoad() {
    this.visibilityChanged();
  }
  visibilityChanged() {
    return __async(this, null, function* () {
      this.visible = yield t16(this.menu);
    });
  }
  render() {
    const { color: o14, disabled: t17, inheritedAttributes: r32 } = this, a17 = g(this), s23 = n.get("menuIcon", "ios" === a17 ? u7 : k3), b21 = this.autoHide && !this.visible, f27 = { type: this.type }, u21 = r32["aria-label"] || "menu";
    return Ct(It, { key: "dcade732e366f0687d92cb9ce4065b78b0b41d24", onClick: this.onClick, "aria-disabled": t17 ? "true" : null, "aria-hidden": b21 ? "true" : null, class: o6(o14, { [a17]: true, button: true, "menu-button-hidden": b21, "menu-button-disabled": t17, "in-toolbar": n5("ion-toolbar", this.el), "in-toolbar-color": n5("ion-toolbar[color]", this.el), "ion-activatable": true, "ion-focusable": true }) }, Ct("button", Object.assign({ key: "7c4a449e239679376f38471d95fd602f9caec5f6" }, f27, { disabled: t17, class: "button-native", part: "native", "aria-label": u21 }), Ct("span", { key: "8bb5bf453280a66109198c970b678ad800c7a8cf", class: "button-inner" }, Ct("slot", { key: "7f78b1e7a0695f2bd600d13ca81f50dd8b965726" }, Ct("ion-icon", { key: "9f67f5bb06b1f03a6e5df9ecbe23ebf69fb40756", part: "icon", icon: s23, mode: a17, lazy: false, "aria-hidden": "true" }))), "md" === a17 && Ct("ion-ripple-effect", { key: "10be7145c614144e94c3cc0b92dc5ee4e1587fe6", type: "unbounded" })));
  }
  get el() {
    return this;
  }
  static get style() {
    return { ios: ':host{--background:transparent;--color-focused:currentColor;--border-radius:initial;--padding-top:0;--padding-bottom:0;color:var(--color);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);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;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit;border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit;z-index:1}ion-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;pointer-events:none}:host(.menu-button-hidden){display:none}:host(.menu-button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity, 0)}}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #0054e9);--padding-start:5px;--padding-end:5px;min-height:32px;font-size:clamp(31px, 1.9375rem, 38.13px)}:host(.ion-activated){opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}', md: ':host{--background:transparent;--color-focused:currentColor;--border-radius:initial;--padding-top:0;--padding-bottom:0;color:var(--color);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);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;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit;border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;min-height:inherit;z-index:1}ion-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;pointer-events:none}:host(.menu-button-hidden){display:none}:host(.menu-button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity, 0)}}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-focused:currentColor;--background-focused-opacity:.12;--background-hover:currentColor;--background-hover-opacity:.04;--border-radius:50%;--color:initial;--padding-start:8px;--padding-end:8px;width:3rem;height:3rem;font-size:1.5rem}:host(.ion-color.ion-focused)::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}' };
  }
}, [289, "ion-menu-button", { color: [513], disabled: [4], menu: [1], autoHide: [4, "auto-hide"], type: [1], visible: [32] }, [[16, "ionMenuChange", "visibilityChanged"], [16, "ionSplitPaneVisible", "visibilityChanged"]]]);
var v14 = function() {
  "undefined" != typeof customElements && ["ion-menu-button", "ion-icon", "ion-ripple-effect"].forEach(((o14) => {
    switch (o14) {
      case "ion-menu-button":
        customElements.get(Zn(o14)) || customElements.define(Zn(o14), g10);
        break;
      case "ion-icon":
        customElements.get(Zn(o14)) || y6();
        break;
      case "ion-ripple-effect":
        customElements.get(Zn(o14)) || p7();
    }
  }));
};

// node_modules/@ionic/core/components/ion-menu-toggle.js
var l22 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.__attachShadow(), this.visible = false, this.autoHide = true, this.onClick = () => p4.toggle(this.menu);
  }
  connectedCallback() {
    this.visibilityChanged();
  }
  visibilityChanged() {
    return __async(this, null, function* () {
      this.visible = yield t16(this.menu);
    });
  }
  render() {
    const t17 = g(this), e16 = this.autoHide && !this.visible;
    return Ct(It, { key: "55135952f3a42cb5d21916dfb7b169d894b381e3", onClick: this.onClick, "aria-hidden": e16 ? "true" : null, class: { [t17]: true, "menu-toggle-hidden": e16 } }, Ct("slot", { key: "e8ecb59a6ec075b07e2a1b8fcdf7df3dd9975a03" }));
  }
  static get style() {
    return ":host(.menu-toggle-hidden){display:none}";
  }
}, [257, "ion-menu-toggle", { menu: [1], autoHide: [4, "auto-hide"], visible: [32] }, [[16, "ionMenuChange", "visibilityChanged"], [16, "ionSplitPaneVisible", "visibilityChanged"]]]);
var m19 = function() {
  "undefined" != typeof customElements && ["ion-menu-toggle"].forEach(((t17) => {
    "ion-menu-toggle" === t17 && (customElements.get(Zn(t17)) || customElements.define(Zn(t17), l22));
  }));
};

// node_modules/@ionic/core/components/ion-nav-link.js
var r21 = Dn(class extends I {
  constructor(i16) {
    super(), false !== i16 && this.__registerHost(), this.routerDirection = "forward", this.onClick = () => ((i17, t17, n15, e16, o14) => {
      const r32 = this.el.closest("ion-nav");
      if (r32) {
        if ("forward" === t17) {
          if (void 0 !== n15) return r32.push(n15, e16, { skipIfBusy: true, animationBuilder: o14 });
        } else if ("root" === t17) {
          if (void 0 !== n15) return r32.setRoot(n15, e16, { skipIfBusy: true, animationBuilder: o14 });
        } else if ("back" === t17) return r32.pop({ skipIfBusy: true, animationBuilder: o14 });
      }
      return Promise.resolve(false);
    })(0, this.routerDirection, this.component, this.componentProps, this.routerAnimation);
  }
  render() {
    return Ct(It, { key: "d4d80feb51c0d92b0bedf6952c892f9df3002046", onClick: this.onClick });
  }
  get el() {
    return this;
  }
}, [0, "ion-nav-link", { component: [1], componentProps: [16], routerDirection: [1, "router-direction"], routerAnimation: [16] }]);
var u14 = function() {
  "undefined" != typeof customElements && ["ion-nav-link"].forEach(((i16) => {
    "ion-nav-link" === i16 && (customElements.get(Zn(i16)) || customElements.define(Zn(i16), r21));
  }));
};

// node_modules/@ionic/core/components/ion-note.js
var c24 = Dn(class extends I {
  constructor(o14) {
    super(), false !== o14 && this.__registerHost(), this.__attachShadow();
  }
  render() {
    const o14 = g(this);
    return Ct(It, { key: "b86a6acc9274df6528d224d4c11ab826a0f84dbc", class: o6(this.color, { [o14]: true }) }, Ct("slot", { key: "5de76567ed7713827cd277a42db102faf34190c8" }));
  }
  static get style() {
    return { ios: ":host{color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-350, var(--ion-text-color-step-650, #a6a6a6));font-size:max(14px, 1rem)}", md: ":host{color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));font-size:0.875rem}" };
  }
}, [289, "ion-note", { color: [513] }]);
var l23 = function() {
  "undefined" != typeof customElements && ["ion-note"].forEach(((o14) => {
    "ion-note" === o14 && (customElements.get(Zn(o14)) || customElements.define(Zn(o14), c24));
  }));
};

// node_modules/@ionic/core/components/p-B6HaBl3o.js
var s20 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.__attachShadow(), this.ionInputModeChange = Jt(this, "ionInputModeChange", 7), this.useInputMode = false, this.isInHighlightBounds = (t18) => {
      const { highlightEl: r32 } = this;
      if (!r32) return false;
      const o14 = r32.getBoundingClientRect();
      return !(t18.clientX < o14.left || t18.clientX > o14.right || t18.clientY < o14.top || t18.clientY > o14.bottom);
    }, this.onFocusOut = (t18) => {
      const { relatedTarget: r32 } = t18;
      (!r32 || "ION-PICKER-COLUMN" !== r32.tagName && r32 !== this.inputEl) && this.exitInputMode();
    }, this.onFocusIn = (t18) => {
      const { target: r32 } = t18;
      "ION-PICKER-COLUMN" !== r32.tagName || this.actionOnClick || (r32.numericInput ? this.enterInputMode(r32, false) : this.exitInputMode());
    }, this.onClick = () => {
      const { actionOnClick: t18 } = this;
      t18 && (t18(), this.actionOnClick = void 0);
    }, this.onPointerDown = (t18) => {
      const { useInputMode: r32, inputModeColumn: o14, el: i16 } = this;
      if (this.isInHighlightBounds(t18)) if (r32) this.actionOnClick = "ION-PICKER-COLUMN" === t18.target.tagName ? o14 && o14 === t18.target ? () => {
        this.enterInputMode();
      } : () => {
        this.enterInputMode(t18.target);
      } : () => {
        this.exitInputMode();
      };
      else {
        const r33 = 1 === i16.querySelectorAll("ion-picker-column.picker-column-numeric-input").length ? t18.target : void 0;
        this.actionOnClick = () => {
          this.enterInputMode(r33);
        };
      }
      else this.actionOnClick = () => {
        this.exitInputMode();
      };
    }, this.enterInputMode = (t18, r32 = true) => {
      const { inputEl: o14, el: i16 } = this;
      o14 && i16.querySelector("ion-picker-column.picker-column-numeric-input") && (this.useInputMode = true, this.inputModeColumn = t18, r32 ? (this.destroyKeypressListener && (this.destroyKeypressListener(), this.destroyKeypressListener = void 0), o14.focus()) : (i16.addEventListener("keypress", this.onKeyPress), this.destroyKeypressListener = () => {
        i16.removeEventListener("keypress", this.onKeyPress);
      }), this.emitInputModeChange());
    }, this.onKeyPress = (t18) => {
      const { inputEl: r32 } = this;
      if (!r32) return;
      const o14 = parseInt(t18.key, 10);
      Number.isNaN(o14) || (r32.value += t18.key, this.onInputChange());
    }, this.selectSingleColumn = () => {
      const { inputEl: t18, inputModeColumn: r32, singleColumnSearchTimeout: o14 } = this;
      if (!t18 || !r32) return;
      const i16 = Array.from(r32.querySelectorAll("ion-picker-column-option")).filter(((t19) => true !== t19.disabled));
      if (o14 && clearTimeout(o14), this.singleColumnSearchTimeout = setTimeout((() => {
        t18.value = "", this.singleColumnSearchTimeout = void 0;
      }), 1e3), t18.value.length >= 3) {
        const r33 = t18.value.substring(t18.value.length - 2);
        return t18.value = r33, void this.selectSingleColumn();
      }
      const e16 = i16.find((({ textContent: r33 }) => r33.replace(/^0+(?=[1-9])|0+(?=0$)/, "") === t18.value));
      if (e16) r32.setValue(e16.value);
      else if (2 === t18.value.length) {
        const r33 = t18.value.substring(t18.value.length - 1);
        t18.value = r33, this.selectSingleColumn();
      }
    }, this.searchColumn = (t18, r32, o14 = "start") => {
      if (!r32) return false;
      const i16 = "start" === o14 ? /^0+/ : /0$/;
      r32 = r32.replace(i16, "");
      const e16 = Array.from(t18.querySelectorAll("ion-picker-column-option")).find(((t19) => true !== t19.disabled && t19.textContent.replace(i16, "") === r32));
      return e16 && t18.setValue(e16.value), !!e16;
    }, this.multiColumnSearch = (t18, r32, o14) => {
      if (0 === o14.length) return;
      const i16 = o14.split(""), e16 = i16.slice(0, 2).join(""), n15 = this.searchColumn(t18, e16);
      if (i16.length > 2 && n15) {
        const t19 = i16.slice(2, 4).join("");
        this.searchColumn(r32, t19);
      } else if (!n15 && i16.length >= 1) {
        let o15 = i16[0], e17 = this.searchColumn(t18, o15);
        if (e17 || (i16.shift(), o15 = i16[0], e17 = this.searchColumn(t18, o15)), e17 && i16.length > 1) {
          const t19 = i16.slice(1, 3).join("");
          this.searchColumn(r32, t19);
        }
      }
    }, this.selectMultiColumn = () => {
      const { inputEl: t18, el: r32 } = this;
      if (!t18) return;
      const o14 = Array.from(r32.querySelectorAll("ion-picker-column")).filter(((t19) => t19.numericInput)), i16 = o14[0], e16 = o14[1];
      let n15 = t18.value;
      if (n15.length > 4) {
        const r33 = t18.value.substring(t18.value.length - 4);
        t18.value = r33, n15 = r33;
      }
      this.multiColumnSearch(i16, e16, n15);
    }, this.onInputChange = () => {
      const { useInputMode: t18, inputEl: r32, inputModeColumn: o14 } = this;
      t18 && r32 && (o14 ? this.selectSingleColumn() : this.selectMultiColumn());
    }, this.emitInputModeChange = () => {
      const { useInputMode: t18, inputModeColumn: r32 } = this;
      this.ionInputModeChange.emit({ useInputMode: t18, inputModeColumn: r32 });
    };
  }
  preventTouchStartPropagation(t17) {
    t17.stopPropagation();
  }
  componentWillLoad() {
    c(this.el).addEventListener("focusin", this.onFocusIn), c(this.el).addEventListener("focusout", this.onFocusOut);
  }
  exitInputMode() {
    return __async(this, null, function* () {
      const { inputEl: t17, useInputMode: r32 } = this;
      r32 && t17 && (this.useInputMode = false, this.inputModeColumn = void 0, t17.blur(), t17.value = "", this.destroyKeypressListener && (this.destroyKeypressListener(), this.destroyKeypressListener = void 0), this.emitInputModeChange());
    });
  }
  render() {
    return Ct(It, { key: "28f81e4ed44a633178561757c5199c2c98f94b74", onPointerDown: (t17) => this.onPointerDown(t17), onClick: () => this.onClick() }, Ct("input", { key: "abb3d1ad25ef63856af7804111175a4d50008bc0", "aria-hidden": "true", tabindex: -1, inputmode: "numeric", type: "number", onKeyDown: (t17) => {
      var r32;
      "Enter" === t17.key && (null === (r32 = this.inputEl) || void 0 === r32 || r32.blur());
    }, ref: (t17) => this.inputEl = t17, onInput: () => this.onInputChange(), onBlur: () => this.exitInputMode() }), Ct("div", { key: "334a5abdc02e6b127c57177f626d7e4ff5526183", class: "picker-before" }), Ct("div", { key: "ffd6271931129e88fc7c820e919d684899e420c5", class: "picker-after" }), Ct("div", { key: "78d1d95fd09e04f154ea59f24a1cece72c47ed7b", class: "picker-highlight", ref: (t17) => this.highlightEl = t17 }), Ct("slot", { key: "0bd5b9f875d3c71f6cbbde2054baeb1b0a2e8cd5" }));
  }
  get el() {
    return this;
  }
  static get style() {
    return { ios: ":host{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:200px;direction:ltr;z-index:0}:host .picker-before,:host .picker-after{position:absolute;width:100%;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:1;pointer-events:none}:host .picker-before{top:0;height:83px}:host .picker-before{inset-inline-start:0}:host .picker-after{top:116px;height:84px}:host .picker-after{inset-inline-start:0}:host .picker-highlight{border-radius:var(--highlight-border-radius, 8px);left:0;right:0;top:50%;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;position:absolute;width:calc(100% - 16px);height:34px;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:var(--highlight-background);z-index:-1}:host input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host ::slotted(ion-picker-column:first-of-type){text-align:start}:host ::slotted(ion-picker-column:last-of-type){text-align:end}:host ::slotted(ion-picker-column:only-child){text-align:center}:host .picker-before{background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), to(rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8)));background:linear-gradient(to bottom, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8) 100%)}:host .picker-after{background:-webkit-gradient(linear, left bottom, left top, color-stop(20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), to(rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8)));background:linear-gradient(to top, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0.8) 100%)}:host .picker-highlight{background:var(--highlight-background, var(--ion-color-step-150, var(--ion-background-color-step-150, #eeeeef)))}", md: ":host{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:200px;direction:ltr;z-index:0}:host .picker-before,:host .picker-after{position:absolute;width:100%;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:1;pointer-events:none}:host .picker-before{top:0;height:83px}:host .picker-before{inset-inline-start:0}:host .picker-after{top:116px;height:84px}:host .picker-after{inset-inline-start:0}:host .picker-highlight{border-radius:var(--highlight-border-radius, 8px);left:0;right:0;top:50%;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;position:absolute;width:calc(100% - 16px);height:34px;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:var(--highlight-background);z-index:-1}:host input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host ::slotted(ion-picker-column:first-of-type){text-align:start}:host ::slotted(ion-picker-column:last-of-type){text-align:end}:host ::slotted(ion-picker-column:only-child){text-align:center}:host .picker-before{background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), color-stop(90%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0)));background:linear-gradient(to bottom, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 20%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0) 90%)}:host .picker-after{background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1)), color-stop(90%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0)));background:linear-gradient(to top, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 1) 30%, rgba(var(--fade-background-rgb, var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255))), 0) 90%)}" };
  }
}, [289, "ion-picker", { exitInputMode: [64] }, [[1, "touchstart", "preventTouchStartPropagation"]]]);
function c25() {
  "undefined" != typeof customElements && ["ion-picker"].forEach(((t17) => {
    "ion-picker" === t17 && (customElements.get(Zn(t17)) || customElements.define(Zn(t17), s20));
  }));
}

// node_modules/@ionic/core/components/ion-picker.js
var p22 = c25;

// node_modules/@ionic/core/components/p-FBcnjE5W.js
var m20 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.__attachShadow(), this.ionChange = Jt(this, "ionChange", 7), this.isScrolling = false, this.isColumnVisible = false, this.canExitInputMode = true, this.updateValueTextOnScroll = false, this.ariaLabel = null, this.isActive = false, this.disabled = false, this.color = "primary", this.numericInput = false, this.centerPickerItemInView = (t18, i16 = true, e16 = true) => {
      const { isColumnVisible: s23, scrollEl: n15 } = this;
      if (s23 && n15) {
        const s24 = t18.offsetTop - 3 * t18.clientHeight + t18.clientHeight / 2;
        n15.scrollTop !== s24 && (this.canExitInputMode = e16, this.updateValueTextOnScroll = false, n15.scroll({ top: s24, left: 0, behavior: i16 ? "smooth" : void 0 }));
      }
    }, this.setPickerItemActiveState = (t18, i16) => {
      i16 ? t18.classList.add(f20) : t18.classList.remove(f20);
    }, this.inputModeChange = (t18) => {
      if (!this.numericInput) return;
      const { useInputMode: i16, inputModeColumn: e16 } = t18.detail;
      this.setInputModeActive(!(!i16 || void 0 !== e16 && e16 !== this.el));
    }, this.setInputModeActive = (t18) => {
      this.isScrolling ? this.scrollEndCallback = () => {
        this.isActive = t18;
      } : this.isActive = t18;
    }, this.initializeScrollListener = () => {
      const t18 = s7("ios"), { el: i16, scrollEl: e16 } = this;
      let s23, n15 = this.activeItem;
      const o14 = () => {
        d2((() => {
          var o15;
          if (!e16) return;
          s23 && (clearTimeout(s23), s23 = void 0), this.isScrolling || (t18 && a9(), this.isScrolling = true);
          const l27 = e16.getBoundingClientRect(), p33 = l27.x + l27.width / 2, h21 = l27.y + l27.height / 2, u21 = i16.getRootNode(), m28 = u21 instanceof ShadowRoot ? u21 : o2;
          if (void 0 === m28) return;
          let f27 = m28.elementsFromPoint(p33, h21).find(((t19) => "ION-PICKER-COLUMN-OPTION" === t19.tagName));
          if (void 0 === f27) {
            const t19 = m28.elementFromPoint(p33, h21);
            "ION-PICKER-COLUMN-OPTION" === (null == t19 ? void 0 : t19.tagName) && (f27 = t19);
          }
          void 0 !== n15 && this.setPickerItemActiveState(n15, false), void 0 === f27 || f27.disabled || (f27 !== n15 && (t18 && c12(), this.canExitInputMode && this.exitInputMode()), n15 = f27, this.setPickerItemActiveState(f27, true), this.updateValueTextOnScroll && (null === (o15 = this.assistiveFocusable) || void 0 === o15 || o15.setAttribute("aria-valuetext", this.getOptionValueText(f27))), s23 = setTimeout((() => {
            this.isScrolling = false, this.updateValueTextOnScroll = true, t18 && r8();
            const { scrollEndCallback: i17 } = this;
            i17 && (i17(), this.scrollEndCallback = void 0), this.canExitInputMode = true, this.setValue(f27.value);
          }), 250));
        }));
      };
      d2((() => {
        e16 && (e16.addEventListener("scroll", o14), this.destroyScrollListener = () => {
          e16.removeEventListener("scroll", o14);
        });
      }));
    }, this.exitInputMode = () => {
      const { parentEl: t18 } = this;
      null != t18 && (t18.exitInputMode(), this.el.classList.remove("picker-column-active"));
    }, this.findNextOption = (t18 = 1) => {
      const { activeItem: i16 } = this;
      if (!i16) return null;
      let e16 = i16, s23 = i16.nextElementSibling;
      for (; null != s23; ) {
        if (t18 > 0 && t18--, "ION-PICKER-COLUMN-OPTION" === s23.tagName && !s23.disabled && 0 === t18) return s23;
        e16 = s23, s23 = s23.nextElementSibling;
      }
      return e16;
    }, this.findPreviousOption = (t18 = 1) => {
      const { activeItem: i16 } = this;
      if (!i16) return null;
      let e16 = i16, s23 = i16.previousElementSibling;
      for (; null != s23; ) {
        if (t18 > 0 && t18--, "ION-PICKER-COLUMN-OPTION" === s23.tagName && !s23.disabled && 0 === t18) return s23;
        e16 = s23, s23 = s23.previousElementSibling;
      }
      return e16;
    }, this.onKeyDown = (t18) => {
      const i16 = s7("mobile");
      let e16 = null;
      switch (t18.key) {
        case "ArrowDown":
          e16 = i16 ? this.findPreviousOption() : this.findNextOption();
          break;
        case "ArrowUp":
          e16 = i16 ? this.findNextOption() : this.findPreviousOption();
          break;
        case "PageUp":
          e16 = i16 ? this.findNextOption(5) : this.findPreviousOption(5);
          break;
        case "PageDown":
          e16 = i16 ? this.findPreviousOption(5) : this.findNextOption(5);
          break;
        case "Home":
          e16 = this.el.querySelector("ion-picker-column-option:first-of-type");
          break;
        case "End":
          e16 = this.el.querySelector("ion-picker-column-option:last-of-type");
      }
      null !== e16 && (this.setValue(e16.value), t18.preventDefault());
    }, this.getOptionValueText = (t18) => {
      var i16;
      return t18 ? null !== (i16 = t18.getAttribute("aria-label")) && void 0 !== i16 ? i16 : t18.innerText : "";
    };
  }
  ariaLabelChanged(t17) {
    this.ariaLabel = t17;
  }
  valueChange() {
    this.isColumnVisible && this.scrollActiveItemIntoView(true);
  }
  componentWillLoad() {
    const t17 = this.parentEl = this.el.closest("ion-picker");
    new IntersectionObserver(((t18) => {
      if (t18[t18.length - 1].isIntersecting) {
        const { activeItem: t19, el: i16 } = this;
        this.isColumnVisible = true;
        const e16 = i16.querySelector(`.${f20}`);
        e16 && this.setPickerItemActiveState(e16, false), this.scrollActiveItemIntoView(), t19 && this.setPickerItemActiveState(t19, true), this.initializeScrollListener();
      } else this.isColumnVisible = false, this.destroyScrollListener && (this.destroyScrollListener(), this.destroyScrollListener = void 0);
    }), { threshold: 1e-3, root: this.parentEl }).observe(this.el), null !== t17 && t17.addEventListener("ionInputModeChange", ((t18) => this.inputModeChange(t18)));
  }
  componentDidRender() {
    const { el: t17, activeItem: i16, isColumnVisible: e16, value: s23 } = this;
    if (e16 && !i16) {
      const i17 = t17.querySelector("ion-picker-column-option");
      null !== i17 && i17.value !== s23 && this.setValue(i17.value);
    }
  }
  scrollActiveItemIntoView(t17 = false) {
    return __async(this, null, function* () {
      const i16 = this.activeItem;
      i16 && this.centerPickerItemInView(i16, t17, false);
    });
  }
  setValue(t17) {
    return __async(this, null, function* () {
      true !== this.disabled && this.value !== t17 && (this.value = t17, this.ionChange.emit({ value: t17 }));
    });
  }
  setFocus() {
    return __async(this, null, function* () {
      this.assistiveFocusable && this.assistiveFocusable.focus();
    });
  }
  connectedCallback() {
    var t17;
    this.ariaLabel = null !== (t17 = this.el.getAttribute("aria-label")) && void 0 !== t17 ? t17 : "Select a value";
  }
  get activeItem() {
    const { value: t17 } = this;
    return Array.from(this.el.querySelectorAll("ion-picker-column-option")).find(((i16) => !(!this.disabled && i16.disabled) && i16.value === t17));
  }
  render() {
    const { color: t17, disabled: i16, isActive: e16, numericInput: o14 } = this, a17 = g(this);
    return Ct(It, { key: "234c96a501d7ac413b9b0ea56b33017681e25b40", class: o6(t17, { [a17]: true, "picker-column-active": e16, "picker-column-numeric-input": o14, "picker-column-disabled": i16 }) }, Ct("slot", { key: "9dc15ea0601ddd2cb2e0a745e91e036a8bd96f8b", name: "prefix" }), Ct("div", { key: "de4fe28ee4bc46b7c0420d6ab0df0e7809443da9", class: "picker-opts", ref: (t18) => {
      this.scrollEl = t18;
    }, role: "slider", tabindex: this.disabled ? void 0 : 0, "aria-label": this.ariaLabel, "aria-valuemin": 0, "aria-valuemax": 0, "aria-valuenow": 0, "aria-valuetext": this.getOptionValueText(this.activeItem), "aria-orientation": "vertical", onKeyDown: (t18) => this.onKeyDown(t18) }, Ct("div", { key: "5297617462cc30e9444039ae032d8bdf718349af", class: "picker-item-empty", "aria-hidden": "true" }, "\xA0"), Ct("div", { key: "55ea39ef867bcb1a11a912d52ecd20cb886c5fb3", class: "picker-item-empty", "aria-hidden": "true" }, "\xA0"), Ct("div", { key: "3496730ce6182ebfd33e0ee4bafc130feb575a31", class: "picker-item-empty", "aria-hidden": "true" }, "\xA0"), Ct("slot", { key: "44c3628aa957d60f799dc7019f72fe8b676c7843" }), Ct("div", { key: "5a1809f6c949678a67e0d4b5bfe93ea335c0161d", class: "picker-item-empty", "aria-hidden": "true" }, "\xA0"), Ct("div", { key: "98fd57f1c66dbaebc2db2dd5da142671b3159fd1", class: "picker-item-empty", "aria-hidden": "true" }, "\xA0"), Ct("div", { key: "85590708abddfa885994e549deac64866fec938f", class: "picker-item-empty", "aria-hidden": "true" }, "\xA0")), Ct("slot", { key: "bb7e674f543696a80fcbfb1f68f2e975826898a6", name: "suffix" }));
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { "aria-label": [{ ariaLabelChanged: 0 }], value: [{ valueChange: 0 }] };
  }
  static get style() {
    return ":host{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;max-width:100%;height:200px;font-size:22px;text-align:center}.assistive-focusable{left:0;right:0;top:0;bottom:0;position:absolute;z-index:1;pointer-events:none}.assistive-focusable:focus{outline:none}.picker-opts{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;min-width:26px;max-height:200px;outline:none;text-align:inherit;-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none}.picker-item-empty{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.picker-opts::-webkit-scrollbar{display:none}::slotted(ion-picker-column-option){display:block;scroll-snap-align:center}.picker-item-empty,:host(:not([disabled])) ::slotted(ion-picker-column-option.option-disabled){scroll-snap-align:none}::slotted([slot=prefix]),::slotted([slot=suffix]){max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}::slotted([slot=prefix]){-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:0;-ms-flex-pack:end;justify-content:end}::slotted([slot=suffix]){-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:0;-ms-flex-pack:start;justify-content:start}:host(.picker-column-disabled) .picker-opts{overflow-y:hidden}:host(.picker-column-disabled) ::slotted(ion-picker-column-option){cursor:default;opacity:0.4;pointer-events:none}@media (any-hover: hover){:host(:focus) .picker-opts{outline:none;background:rgba(var(--ion-color-base-rgb), 0.2)}}";
  }
}, [257, "ion-picker-column", { disabled: [4], value: [1032], color: [513], numericInput: [4, "numeric-input"], ariaLabel: [32], isActive: [32], scrollActiveItemIntoView: [64], setValue: [64], setFocus: [64] }, void 0, { "aria-label": [{ ariaLabelChanged: 0 }], value: [{ valueChange: 0 }] }]);
var f20 = "option-active";
function b12() {
  "undefined" != typeof customElements && ["ion-picker-column"].forEach(((t17) => {
    "ion-picker-column" === t17 && (customElements.get(Zn(t17)) || customElements.define(Zn(t17), m20));
  }));
}

// node_modules/@ionic/core/components/ion-picker-column.js
var r22 = b12;

// node_modules/@ionic/core/components/p-BxwWvu-b.js
var s21 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.__attachShadow(), this.pickerColumn = null, this.ariaLabel = null, this.disabled = false, this.color = "primary";
  }
  onAriaLabelChange(t17) {
    this.ariaLabel = t17;
  }
  componentWillLoad() {
    const t17 = n2(this.el, ["aria-label"]);
    this.ariaLabel = t17["aria-label"] || null;
  }
  connectedCallback() {
    this.pickerColumn = this.el.closest("ion-picker-column");
  }
  disconnectedCallback() {
    this.pickerColumn = null;
  }
  componentDidLoad() {
    const { pickerColumn: t17 } = this;
    null !== t17 && t17.scrollActiveItemIntoView();
  }
  onClick() {
    const { pickerColumn: t17 } = this;
    null !== t17 && t17.setValue(this.value);
  }
  render() {
    const { color: t17, disabled: i16, ariaLabel: e16 } = this, a17 = g(this);
    return Ct(It, { key: "c45a1c14a351bf57d7113671164852349be5aa8a", class: o6(t17, { [a17]: true, "option-disabled": i16 }) }, Ct("div", { key: "824930b658c6e3fb493ac4c6c2451d38c6bc4829", class: "picker-column-option-button", role: "button", "aria-label": e16, onClick: () => this.onClick() }, Ct("slot", { key: "019df4dcf46e629bdbebcd46ed3ab29669feab27" })));
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { "aria-label": [{ onAriaLabelChange: 0 }] };
  }
  static get style() {
    return { ios: ".picker-column-option-button{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden}:host(.option-disabled){opacity:0.4}:host(.option-disabled) .picker-column-option-button{cursor:default}", md: ".picker-column-option-button{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden}:host(.option-disabled){opacity:0.4}:host(.option-disabled) .picker-column-option-button{cursor:default}:host(.option-active){color:var(--ion-color-base)}" };
  }
}, [289, "ion-picker-column-option", { disabled: [4], value: [8], color: [513], ariaLabel: [32] }, void 0, { "aria-label": [{ onAriaLabelChange: 0 }] }]);
function c26() {
  "undefined" != typeof customElements && ["ion-picker-column-option"].forEach(((t17) => {
    "ion-picker-column-option" === t17 && (customElements.get(Zn(t17)) || customElements.define(Zn(t17), s21));
  }));
}

// node_modules/@ionic/core/components/ion-picker-column-option.js
var r23 = c26;

// node_modules/@ionic/core/components/p-BegtE7nr.js
var d16 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.ionPickerColChange = Jt(this, "ionPickerColChange", 7), this.optHeight = 0, this.rotateFactor = 0, this.scaleFactor = 1, this.velocity = 0, this.y = 0, this.noAnimate = true, this.colDidChange = false;
  }
  colChanged() {
    this.colDidChange = true;
  }
  connectedCallback() {
    return __async(this, null, function* () {
      let t17 = 0, i16 = 0.81;
      "ios" === g(this) && (t17 = -0.46, i16 = 1), this.rotateFactor = t17, this.scaleFactor = i16, this.gesture = (yield import("./chunk-7STYLPNF.js")).createGesture({ el: this.el, gestureName: "picker-swipe", gesturePriority: 100, threshold: 0, passive: false, onStart: (t18) => this.onStart(t18), onMove: (t18) => this.onMove(t18), onEnd: (t18) => this.onEnd(t18) }), this.gesture.enable(), this.tmrId = setTimeout((() => {
        this.noAnimate = false, this.refresh(true);
      }), 250);
    });
  }
  componentDidLoad() {
    this.onDomChange();
  }
  componentDidUpdate() {
    this.colDidChange && (this.onDomChange(true, false), this.colDidChange = false);
  }
  disconnectedCallback() {
    void 0 !== this.rafId && cancelAnimationFrame(this.rafId), this.tmrId && clearTimeout(this.tmrId), this.gesture && (this.gesture.destroy(), this.gesture = void 0);
  }
  emitColChange() {
    this.ionPickerColChange.emit(this.col);
  }
  setSelected(t17, i16) {
    const e16 = t17 > -1 ? -t17 * this.optHeight : 0;
    this.velocity = 0, void 0 !== this.rafId && cancelAnimationFrame(this.rafId), this.update(e16, i16, true), this.emitColChange();
  }
  update(t17, i16, e16) {
    if (!this.optsEl) return;
    let s23 = 0, n15 = 0;
    const { col: o14, rotateFactor: r32 } = this, p33 = o14.selectedIndex, c36 = o14.selectedIndex = this.indexForY(-t17), h21 = 0 === i16 ? "" : i16 + "ms", l27 = `scale(${this.scaleFactor})`, d25 = this.optsEl.children;
    for (let e17 = 0; e17 < d25.length; e17++) {
      const a17 = d25[e17], p34 = o14.options[e17], k12 = e17 * this.optHeight + t17;
      let m28 = "";
      if (0 !== r32) {
        const t18 = k12 * r32;
        Math.abs(t18) <= 90 ? (s23 = 0, n15 = 90, m28 = `rotateX(${t18}deg) `) : s23 = -9999;
      } else n15 = 0, s23 = k12;
      const x16 = c36 === e17;
      m28 += `translate3d(0px,${s23}px,${n15}px) `, 1 === this.scaleFactor || x16 || (m28 += l27), this.noAnimate ? (p34.duration = 0, a17.style.transitionDuration = "") : i16 !== p34.duration && (p34.duration = i16, a17.style.transitionDuration = h21), m28 !== p34.transform && (p34.transform = m28), a17.style.transform = m28, p34.selected = x16, x16 ? a17.classList.add(f21) : a17.classList.remove(f21);
    }
    this.col.prevSelected = p33, e16 && (this.y = t17), this.lastIndex !== c36 && (c12(), this.lastIndex = c36);
  }
  decelerate() {
    if (0 !== this.velocity) {
      this.velocity *= k6, this.velocity = this.velocity > 0 ? Math.max(this.velocity, 1) : Math.min(this.velocity, -1);
      let t17 = this.y + this.velocity;
      t17 > this.minY ? (t17 = this.minY, this.velocity = 0) : t17 < this.maxY && (t17 = this.maxY, this.velocity = 0), this.update(t17, 0, true), Math.round(t17) % this.optHeight != 0 || Math.abs(this.velocity) > 1 ? this.rafId = requestAnimationFrame((() => this.decelerate())) : (this.velocity = 0, this.emitColChange(), r8());
    } else if (this.y % this.optHeight != 0) {
      const t17 = Math.abs(this.y % this.optHeight);
      this.velocity = t17 > this.optHeight / 2 ? 1 : -1, this.decelerate();
    }
  }
  indexForY(t17) {
    return Math.min(Math.max(Math.abs(Math.round(t17 / this.optHeight)), 0), this.col.options.length - 1);
  }
  onStart(t17) {
    t17.event.cancelable && t17.event.preventDefault(), t17.event.stopPropagation(), a9(), void 0 !== this.rafId && cancelAnimationFrame(this.rafId);
    const i16 = this.col.options;
    let e16 = i16.length - 1, s23 = 0;
    for (let t18 = 0; t18 < i16.length; t18++) i16[t18].disabled || (e16 = Math.min(e16, t18), s23 = Math.max(s23, t18));
    this.minY = -e16 * this.optHeight, this.maxY = -s23 * this.optHeight;
  }
  onMove(t17) {
    t17.event.cancelable && t17.event.preventDefault(), t17.event.stopPropagation();
    let i16 = this.y + t17.deltaY;
    i16 > this.minY ? (i16 = Math.pow(i16, 0.8), this.bounceFrom = i16) : i16 < this.maxY ? (i16 += Math.pow(this.maxY - i16, 0.9), this.bounceFrom = i16) : this.bounceFrom = 0, this.update(i16, 0, false);
  }
  onEnd(t17) {
    if (this.bounceFrom > 0) return this.update(this.minY, 100, true), void this.emitColChange();
    if (this.bounceFrom < 0) return this.update(this.maxY, 100, true), void this.emitColChange();
    if (this.velocity = b(-90, 23 * t17.velocityY, m21), 0 === this.velocity && 0 === t17.deltaY) {
      const i16 = t17.event.target.closest(".picker-opt");
      (null == i16 ? void 0 : i16.hasAttribute("opt-index")) && this.setSelected(parseInt(i16.getAttribute("opt-index"), 10), x9);
    } else {
      if (this.y += t17.deltaY, Math.abs(t17.velocityY) < 0.05) {
        const i16 = t17.deltaY > 0, e16 = Math.abs(this.y) % this.optHeight / this.optHeight;
        i16 && e16 > 0.5 ? this.velocity = -1 * Math.abs(this.velocity) : !i16 && e16 <= 0.5 && (this.velocity = Math.abs(this.velocity));
      }
      this.decelerate();
    }
  }
  refresh(t17, i16) {
    var e16;
    let s23 = this.col.options.length - 1, n15 = 0;
    const o14 = this.col.options;
    for (let t18 = 0; t18 < o14.length; t18++) o14[t18].disabled || (s23 = Math.min(s23, t18), n15 = Math.max(n15, t18));
    if (0 !== this.velocity) return;
    const a17 = b(s23, null !== (e16 = this.col.selectedIndex) && void 0 !== e16 ? e16 : 0, n15);
    if (this.col.prevSelected !== a17 || t17) {
      const t18 = a17 * this.optHeight * -1, e17 = i16 ? x9 : 0;
      this.velocity = 0, this.update(t18, e17, true);
    }
  }
  onDomChange(t17, i16) {
    const e16 = this.optsEl;
    e16 && (this.optHeight = e16.firstElementChild ? e16.firstElementChild.clientHeight : 0), this.refresh(t17, i16);
  }
  render() {
    const t17 = this.col, i16 = g(this);
    return Ct(It, { key: "86125e95f18837dfd021db01777d72a1562d8ee3", class: Object.assign({ [i16]: true, "picker-col": true, "picker-opts-left": "left" === this.col.align, "picker-opts-right": "right" === this.col.align }, r5(t17.cssClass)), style: { "max-width": this.col.columnWidth } }, t17.prefix && Ct("div", { key: "b0f3d39e0bd128781066ffefb7a1e40d12a9e76d", class: "picker-prefix", style: { width: t17.prefixWidth } }, t17.prefix), Ct("div", { key: "0b106ac4d56916eaaa7f09d1b68348b3754b7bba", class: "picker-opts", style: { maxWidth: t17.optionsWidth }, ref: (t18) => this.optsEl = t18 }, t17.options.map(((t18, i17) => Ct("button", { "aria-label": t18.ariaLabel, class: { "picker-opt": true, "picker-opt-disabled": !!t18.disabled }, "opt-index": i17 }, t18.text)))), t17.suffix && Ct("div", { key: "00ff2f9dbb4561787e5a5223327c6a2a33f8362e", class: "picker-suffix", style: { width: t17.suffixWidth } }, t17.suffix));
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { col: [{ colChanged: 0 }] };
  }
  static get style() {
    return { ios: ".picker-col{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-box-sizing:content-box;box-sizing:content-box;contain:content}.picker-opts{position:relative;-ms-flex:1;flex:1;max-width:100%}.picker-opt{top:0;display:block;position:absolute;width:100%;border:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;contain:strict;overflow:hidden;will-change:transform}.picker-opt{inset-inline-start:0}.picker-opt.picker-opt-disabled{pointer-events:none}.picker-opt-disabled{opacity:0}.picker-opts-left{-ms-flex-pack:start;justify-content:flex-start}.picker-opts-right{-ms-flex-pack:end;justify-content:flex-end}.picker-opt:active,.picker-opt:focus{outline:none}.picker-prefix{position:relative;-ms-flex:1;flex:1;text-align:end;white-space:nowrap}.picker-suffix{position:relative;-ms-flex:1;flex:1;text-align:start;white-space:nowrap}.picker-col{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:0;padding-bottom:0;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.picker-prefix,.picker-suffix,.picker-opts{top:77px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;color:inherit;font-size:20px;line-height:42px;pointer-events:none}.picker-opt{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-transform-origin:center center;transform-origin:center center;height:46px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;background:transparent;color:inherit;font-size:20px;line-height:42px;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:auto}:host-context([dir=rtl]) .picker-opt{-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}[dir=rtl] .picker-opt{-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}@supports selector(:dir(rtl)){.picker-opt:dir(rtl){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}}", md: ".picker-col{display:-ms-flexbox;display:flex;position:relative;-ms-flex:1;flex:1;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-box-sizing:content-box;box-sizing:content-box;contain:content}.picker-opts{position:relative;-ms-flex:1;flex:1;max-width:100%}.picker-opt{top:0;display:block;position:absolute;width:100%;border:0;text-align:center;text-overflow:ellipsis;white-space:nowrap;contain:strict;overflow:hidden;will-change:transform}.picker-opt{inset-inline-start:0}.picker-opt.picker-opt-disabled{pointer-events:none}.picker-opt-disabled{opacity:0}.picker-opts-left{-ms-flex-pack:start;justify-content:flex-start}.picker-opts-right{-ms-flex-pack:end;justify-content:flex-end}.picker-opt:active,.picker-opt:focus{outline:none}.picker-prefix{position:relative;-ms-flex:1;flex:1;text-align:end;white-space:nowrap}.picker-suffix{position:relative;-ms-flex:1;flex:1;text-align:start;white-space:nowrap}.picker-col{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.picker-prefix,.picker-suffix,.picker-opts{top:77px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;color:inherit;font-size:22px;line-height:42px;pointer-events:none}.picker-opt{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;height:43px;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;background:transparent;color:inherit;font-size:22px;line-height:42px;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:auto}.picker-prefix,.picker-suffix,.picker-opt.picker-opt-selected{color:var(--ion-color-primary, #0054e9)}" };
  }
}, [32, "ion-picker-legacy-column", { col: [16] }, void 0, { col: [{ colChanged: 0 }] }]);
var f21 = "picker-opt-selected";
var k6 = 0.97;
var m21 = 90;
var x9 = 150;
function g11() {
  "undefined" != typeof customElements && ["ion-picker-legacy-column"].forEach(((t17) => {
    "ion-picker-legacy-column" === t17 && (customElements.get(Zn(t17)) || customElements.define(Zn(t17), d16));
  }));
}

// node_modules/@ionic/core/components/ion-picker-legacy.js
var z7 = (i16) => {
  const o14 = r(), e16 = r(), t17 = r();
  return e16.addElement(i16.querySelector("ion-backdrop")).fromTo("opacity", 0.01, "var(--backdrop-opacity)").beforeStyles({ "pointer-events": "none" }).afterClearStyles(["pointer-events"]), t17.addElement(i16.querySelector(".picker-wrapper")).fromTo("transform", "translateY(100%)", "translateY(0%)"), o14.addElement(i16).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([e16, t17]);
};
var C4 = (i16) => {
  const o14 = r(), e16 = r(), t17 = r();
  return e16.addElement(i16.querySelector("ion-backdrop")).fromTo("opacity", "var(--backdrop-opacity)", 0.01), t17.addElement(i16.querySelector(".picker-wrapper")).fromTo("transform", "translateY(0%)", "translateY(100%)"), o14.addElement(i16).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([e16, t17]);
};
var j7 = Dn(class extends I {
  constructor(i16) {
    super(), false !== i16 && this.__registerHost(), this.didPresent = Jt(this, "ionPickerDidPresent", 7), this.willPresent = Jt(this, "ionPickerWillPresent", 7), this.willDismiss = Jt(this, "ionPickerWillDismiss", 7), this.didDismiss = Jt(this, "ionPickerDidDismiss", 7), this.didPresentShorthand = Jt(this, "didPresent", 7), this.willPresentShorthand = Jt(this, "willPresent", 7), this.willDismissShorthand = Jt(this, "willDismiss", 7), this.didDismissShorthand = Jt(this, "didDismiss", 7), this.delegateController = X2(this), this.lockController = t11(), this.triggerController = Y2(), this.presented = false, this.hasController = false, this.keyboardClose = true, this.buttons = [], this.columns = [], this.duration = 0, this.showBackdrop = true, this.backdropDismiss = true, this.animated = true, this.isOpen = false, this.onBackdropTap = () => {
      this.dismiss(void 0, H3);
    }, this.dispatchCancelHandler = (i17) => {
      if (Q2(i17.detail.role)) {
        const i18 = this.buttons.find(((i19) => "cancel" === i19.role));
        this.callButtonHandler(i18);
      }
    };
  }
  onIsOpenChange(i16, o14) {
    true === i16 && false === o14 ? this.present() : false === i16 && true === o14 && this.dismiss();
  }
  triggerChanged() {
    const { trigger: i16, el: o14, triggerController: e16 } = this;
    i16 && e16.addClickListener(o14, i16);
  }
  connectedCallback() {
    I3(this.el), this.triggerChanged();
  }
  disconnectedCallback() {
    this.triggerController.removeClickListener();
  }
  componentWillLoad() {
    var i16;
    (null === (i16 = this.htmlAttributes) || void 0 === i16 ? void 0 : i16.id) || N(this.el);
  }
  componentDidLoad() {
    u("[ion-picker-legacy] - ion-picker-legacy and ion-picker-legacy-column have been deprecated in favor of new versions of the ion-picker and ion-picker-column components. These new components display inline with your page content allowing for more presentation flexibility than before.", this.el), true === this.isOpen && d2((() => this.present())), this.triggerChanged();
  }
  present() {
    return __async(this, null, function* () {
      const i16 = yield this.lockController.lock();
      yield this.delegateController.attachViewToDom(), yield $(this, "pickerEnter", z7, z7, void 0), this.duration > 0 && (this.durationTimeout = setTimeout((() => this.dismiss()), this.duration)), i16();
    });
  }
  dismiss(i16, o14) {
    return __async(this, null, function* () {
      const e16 = yield this.lockController.lock();
      this.durationTimeout && clearTimeout(this.durationTimeout);
      const t17 = yield J(this, i16, o14, "pickerLeave", C4, C4);
      return t17 && this.delegateController.removeViewFromDom(), e16(), t17;
    });
  }
  onDidDismiss() {
    return q3(this.el, "ionPickerDidDismiss");
  }
  onWillDismiss() {
    return q3(this.el, "ionPickerWillDismiss");
  }
  getColumn(i16) {
    return Promise.resolve(this.columns.find(((o14) => o14.name === i16)));
  }
  buttonClick(i16) {
    return __async(this, null, function* () {
      const o14 = i16.role;
      return Q2(o14) ? this.dismiss(void 0, o14) : (yield this.callButtonHandler(i16)) ? this.dismiss(this.getSelected(), i16.role) : Promise.resolve();
    });
  }
  callButtonHandler(i16) {
    return __async(this, null, function* () {
      return !i16 || false !== (yield _2(i16.handler, this.getSelected()));
    });
  }
  getSelected() {
    const i16 = {};
    return this.columns.forEach(((o14, e16) => {
      const t17 = void 0 !== o14.selectedIndex ? o14.options[o14.selectedIndex] : void 0;
      i16[o14.name] = { text: t17 ? t17.text : void 0, value: t17 ? t17.value : void 0, columnIndex: e16 };
    })), i16;
  }
  render() {
    const { htmlAttributes: i16 } = this, o14 = g(this);
    return Ct(It, Object.assign({ key: "80f66d33780d8a1352d24be9cb63a0cc03d01ab5", "aria-modal": "true", tabindex: "-1" }, i16, { style: { zIndex: "" + (2e4 + this.overlayIndex) }, class: Object.assign({ [o14]: true, ["picker-" + o14]: true, "overlay-hidden": true }, r5(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), Ct("ion-backdrop", { key: "97fb8e10ba08b197610cb8c0cdea61103883d55f", visible: this.showBackdrop, tappable: this.backdropDismiss }), Ct("div", { key: "b3969cb6fbf7153623d14e3ca1493d3370efb211", tabindex: "0", "aria-hidden": "true" }), Ct("div", { key: "299268483c3727e698d9135bfdf40349a7050ac1", class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, Ct("div", { key: "95394de3ef691899b7dbf416f56fd3e86bbdce3f", class: "picker-toolbar" }, this.buttons.map(((i17) => Ct("div", { class: P4(i17) }, Ct("button", { type: "button", onClick: () => this.buttonClick(i17), class: O9(i17) }, i17.text))))), Ct("div", { key: "05f18bb8d00dc0e22f691b7e41f90f729a6c66d7", class: "picker-columns" }, Ct("div", { key: "4a8fdf224effc0af67fd413e2e6aca8a78d1cf43", class: "picker-above-highlight" }), this.presented && this.columns.map(((i17) => Ct("ion-picker-legacy-column", { col: i17 }))), Ct("div", { key: "e50a31db45e3f39e9d0fed36a21be9257eec09bf", class: "picker-below-highlight" }))), Ct("div", { key: "5a78cb2176ac807ea0c195c6b76cd0e8eef9d4c0", tabindex: "0", "aria-hidden": "true" }));
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { isOpen: [{ onIsOpenChange: 0 }], trigger: [{ triggerChanged: 0 }] };
  }
  static get style() {
    return { ios: ".sc-ion-picker-legacy-ios-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.sc-ion-picker-legacy-ios-h{inset-inline-start:0}.overlay-hidden.sc-ion-picker-legacy-ios-h{display:none}.picker-wrapper.sc-ion-picker-legacy-ios{border-radius:var(--border-radius);left:0;right:0;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;-webkit-transform:translate3d(0,  100%,  0);transform:translate3d(0,  100%,  0);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;overflow:hidden;z-index:10}.picker-toolbar.sc-ion-picker-legacy-ios{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-legacy-ios{border:0;font-family:inherit}.picker-button.sc-ion-picker-legacy-ios:active,.picker-button.sc-ion-picker-legacy-ios:focus{outline:none}.picker-columns.sc-ion-picker-legacy-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;margin-bottom:var(--ion-safe-area-bottom, 0);contain:strict;overflow:hidden}.picker-above-highlight.sc-ion-picker-legacy-ios,.picker-below-highlight.sc-ion-picker-legacy-ios{display:none;pointer-events:none}.sc-ion-picker-legacy-ios-h{--background:var(--ion-background-color, #fff);--border-width:1px 0 0;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));--height:260px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.26);color:var(--ion-item-color, var(--ion-text-color, #000))}.picker-toolbar.sc-ion-picker-legacy-ios{display:-ms-flexbox;display:flex;height:44px;border-bottom:0.55px solid var(--border-color)}.picker-toolbar-button.sc-ion-picker-legacy-ios{-ms-flex:1;flex:1;text-align:end}.picker-toolbar-button.sc-ion-picker-legacy-ios:last-child .picker-button.sc-ion-picker-legacy-ios{font-weight:600}.picker-toolbar-button.sc-ion-picker-legacy-ios:first-child{font-weight:normal;text-align:start}.picker-button.sc-ion-picker-legacy-ios,.picker-button.ion-activated.sc-ion-picker-legacy-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:1em;padding-inline-start:1em;-webkit-padding-end:1em;padding-inline-end:1em;padding-top:0;padding-bottom:0;height:44px;background:transparent;color:var(--ion-color-primary, #0054e9);font-size:16px}.picker-columns.sc-ion-picker-legacy-ios{height:215px;-webkit-perspective:1000px;perspective:1000px}.picker-above-highlight.sc-ion-picker-legacy-ios{top:0;-webkit-transform:translate3d(0,  0,  90px);transform:translate3d(0,  0,  90px);display:block;position:absolute;width:100%;height:81px;border-bottom:1px solid var(--border-color);background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, var(--background, var(--ion-background-color, #fff))), to(rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8)));background:linear-gradient(to bottom, var(--background, var(--ion-background-color, #fff)) 20%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);z-index:10}.picker-above-highlight.sc-ion-picker-legacy-ios{inset-inline-start:0}.picker-below-highlight.sc-ion-picker-legacy-ios{top:115px;-webkit-transform:translate3d(0,  0,  90px);transform:translate3d(0,  0,  90px);display:block;position:absolute;width:100%;height:119px;border-top:1px solid var(--border-color);background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, var(--background, var(--ion-background-color, #fff))), to(rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8)));background:linear-gradient(to top, var(--background, var(--ion-background-color, #fff)) 30%, rgba(var(--background-rgb, var(--ion-background-color-rgb, 255, 255, 255)), 0.8) 100%);z-index:11}.picker-below-highlight.sc-ion-picker-legacy-ios{inset-inline-start:0}", md: ".sc-ion-picker-legacy-md-h{--border-radius:0;--border-style:solid;--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--max-height:auto;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;font-family:var(--ion-font-family, inherit);contain:strict;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.sc-ion-picker-legacy-md-h{inset-inline-start:0}.overlay-hidden.sc-ion-picker-legacy-md-h{display:none}.picker-wrapper.sc-ion-picker-legacy-md{border-radius:var(--border-radius);left:0;right:0;bottom:0;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;-webkit-transform:translate3d(0,  100%,  0);transform:translate3d(0,  100%,  0);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;overflow:hidden;z-index:10}.picker-toolbar.sc-ion-picker-legacy-md{width:100%;background:transparent;contain:strict;z-index:1}.picker-button.sc-ion-picker-legacy-md{border:0;font-family:inherit}.picker-button.sc-ion-picker-legacy-md:active,.picker-button.sc-ion-picker-legacy-md:focus{outline:none}.picker-columns.sc-ion-picker-legacy-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;margin-bottom:var(--ion-safe-area-bottom, 0);contain:strict;overflow:hidden}.picker-above-highlight.sc-ion-picker-legacy-md,.picker-below-highlight.sc-ion-picker-legacy-md{display:none;pointer-events:none}.sc-ion-picker-legacy-md-h{--background:var(--ion-background-color, #fff);--border-width:0.55px 0 0;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));--height:260px;--backdrop-opacity:var(--ion-backdrop-opacity, 0.26);color:var(--ion-item-color, var(--ion-text-color, #000))}.picker-toolbar.sc-ion-picker-legacy-md{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;height:44px}.picker-button.sc-ion-picker-legacy-md,.picker-button.ion-activated.sc-ion-picker-legacy-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:1.1em;padding-inline-start:1.1em;-webkit-padding-end:1.1em;padding-inline-end:1.1em;padding-top:0;padding-bottom:0;height:44px;background:transparent;color:var(--ion-color-primary, #0054e9);font-size:14px;font-weight:500;text-transform:uppercase;-webkit-box-shadow:none;box-shadow:none}.picker-columns.sc-ion-picker-legacy-md{height:216px;-webkit-perspective:1800px;perspective:1800px}.picker-above-highlight.sc-ion-picker-legacy-md{top:0;-webkit-transform:translate3d(0,  0,  90px);transform:translate3d(0,  0,  90px);position:absolute;width:100%;height:81px;border-bottom:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));background:-webkit-gradient(linear, left top, left bottom, color-stop(20%, var(--ion-background-color, #fff)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background:linear-gradient(to bottom, var(--ion-background-color, #fff) 20%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);z-index:10}.picker-above-highlight.sc-ion-picker-legacy-md{inset-inline-start:0}.picker-below-highlight.sc-ion-picker-legacy-md{top:115px;-webkit-transform:translate3d(0,  0,  90px);transform:translate3d(0,  0,  90px);position:absolute;width:100%;height:119px;border-top:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));background:-webkit-gradient(linear, left bottom, left top, color-stop(30%, var(--ion-background-color, #fff)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background:linear-gradient(to top, var(--ion-background-color, #fff) 30%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%);z-index:11}.picker-below-highlight.sc-ion-picker-legacy-md{inset-inline-start:0}" };
  }
}, [34, "ion-picker-legacy", { overlayIndex: [2, "overlay-index"], delegate: [16], hasController: [4, "has-controller"], keyboardClose: [4, "keyboard-close"], enterAnimation: [16], leaveAnimation: [16], buttons: [16], columns: [16], cssClass: [1, "css-class"], duration: [2], showBackdrop: [4, "show-backdrop"], backdropDismiss: [4, "backdrop-dismiss"], animated: [4], htmlAttributes: [16], isOpen: [4, "is-open"], trigger: [1], presented: [32], present: [64], dismiss: [64], onDidDismiss: [64], onWillDismiss: [64], getColumn: [64] }, void 0, { isOpen: [{ onIsOpenChange: 0 }], trigger: [{ triggerChanged: 0 }] }]);
var P4 = (i16) => ({ ["picker-toolbar-" + i16.role]: void 0 !== i16.role, "picker-toolbar-button": true });
var O9 = (i16) => Object.assign({ "picker-button": true, "ion-activatable": true }, r5(i16.cssClass));
var B9 = function() {
  "undefined" != typeof customElements && ["ion-picker-legacy", "ion-backdrop", "ion-picker-legacy-column"].forEach(((i16) => {
    switch (i16) {
      case "ion-picker-legacy":
        customElements.get(Zn(i16)) || customElements.define(Zn(i16), j7);
        break;
      case "ion-backdrop":
        customElements.get(Zn(i16)) || c11();
        break;
      case "ion-picker-legacy-column":
        customElements.get(Zn(i16)) || g11();
    }
  }));
};

// node_modules/@ionic/core/components/ion-progress-bar.js
var c27 = Dn(class extends I {
  constructor(i16) {
    super(), false !== i16 && this.__registerHost(), this.__attachShadow(), this.type = "determinate", this.reversed = false, this.value = 0, this.buffer = 1;
  }
  render() {
    const { color: i16, type: t17, reversed: a17, value: s23, buffer: c36 } = this, l27 = n.getBoolean("_testing"), u21 = g(this), g20 = 1 === c36;
    return Ct(It, { key: "c859e48f3d24a458239e36d925e5dc003ed07c6b", role: "progressbar", "aria-valuenow": "determinate" === t17 ? s23 : null, "aria-valuemin": "0", "aria-valuemax": "1", class: o6(i16, { [u21]: true, ["progress-bar-" + t17]: true, "progress-paused": l27, "progress-bar-reversed": "rtl" === document.dir ? !a17 : a17, "progress-bar-solid": g20 }) }, "indeterminate" === t17 ? b13() : f22(s23, c36));
  }
  static get style() {
    return { ios: ":host{--background:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.3);--progress-background:var(--ion-color-primary, #0054e9);display:block;position:relative;width:100%;contain:strict;direction:ltr;overflow:hidden}.progress,.progress-indeterminate,.indeterminate-bar-primary,.indeterminate-bar-secondary,.progress-buffer-bar{left:0;right:0;top:0;bottom:0;position:absolute;width:100%;height:100%}.buffer-circles-container,.buffer-circles{left:0;right:0;top:0;bottom:0;position:absolute}.buffer-circles{right:-10px;left:-10px;}.progress,.progress-buffer-bar,.buffer-circles-container{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms linear;transition:-webkit-transform 150ms linear;transition:transform 150ms linear;transition:transform 150ms linear, -webkit-transform 150ms linear}.progress,.progress-indeterminate{background:var(--progress-background);z-index:2}.progress-buffer-bar{background:var(--background);z-index:1}.buffer-circles-container{overflow:hidden}.indeterminate-bar-primary{top:0;right:0;bottom:0;left:-145.166611%;-webkit-animation:primary-indeterminate-translate 2s infinite linear;animation:primary-indeterminate-translate 2s infinite linear}.indeterminate-bar-primary .progress-indeterminate{-webkit-animation:primary-indeterminate-scale 2s infinite linear;animation:primary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.indeterminate-bar-secondary{top:0;right:0;bottom:0;left:-54.888891%;-webkit-animation:secondary-indeterminate-translate 2s infinite linear;animation:secondary-indeterminate-translate 2s infinite linear}.indeterminate-bar-secondary .progress-indeterminate{-webkit-animation:secondary-indeterminate-scale 2s infinite linear;animation:secondary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.buffer-circles{background-image:radial-gradient(ellipse at center, var(--background) 0%, var(--background) 30%, transparent 30%);background-repeat:repeat-x;background-position:5px center;background-size:10px 10px;z-index:0;-webkit-animation:buffering 450ms infinite linear;animation:buffering 450ms infinite linear}:host(.progress-bar-reversed){-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.progress-paused) .indeterminate-bar-secondary,:host(.progress-paused) .indeterminate-bar-primary,:host(.progress-paused) .buffer-circles{-webkit-animation-play-state:paused;animation-play-state:paused}:host(.ion-color) .buffer-circles{background-image:radial-gradient(ellipse at center, rgba(var(--ion-color-base-rgb), 0.3) 0%, rgba(var(--ion-color-base-rgb), 0.3) 30%, transparent 30%)}:host(.ion-color) .progress,:host(.ion-color) .progress-indeterminate{background:var(--ion-color-base)}@-webkit-keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@-webkit-keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@-webkit-keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}@keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}:host{border-radius:9999px;height:4px}:host(.progress-bar-solid){--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}", md: ":host{--background:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.3);--progress-background:var(--ion-color-primary, #0054e9);display:block;position:relative;width:100%;contain:strict;direction:ltr;overflow:hidden}.progress,.progress-indeterminate,.indeterminate-bar-primary,.indeterminate-bar-secondary,.progress-buffer-bar{left:0;right:0;top:0;bottom:0;position:absolute;width:100%;height:100%}.buffer-circles-container,.buffer-circles{left:0;right:0;top:0;bottom:0;position:absolute}.buffer-circles{right:-10px;left:-10px;}.progress,.progress-buffer-bar,.buffer-circles-container{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms linear;transition:-webkit-transform 150ms linear;transition:transform 150ms linear;transition:transform 150ms linear, -webkit-transform 150ms linear}.progress,.progress-indeterminate{background:var(--progress-background);z-index:2}.progress-buffer-bar{background:var(--background);z-index:1}.buffer-circles-container{overflow:hidden}.indeterminate-bar-primary{top:0;right:0;bottom:0;left:-145.166611%;-webkit-animation:primary-indeterminate-translate 2s infinite linear;animation:primary-indeterminate-translate 2s infinite linear}.indeterminate-bar-primary .progress-indeterminate{-webkit-animation:primary-indeterminate-scale 2s infinite linear;animation:primary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.indeterminate-bar-secondary{top:0;right:0;bottom:0;left:-54.888891%;-webkit-animation:secondary-indeterminate-translate 2s infinite linear;animation:secondary-indeterminate-translate 2s infinite linear}.indeterminate-bar-secondary .progress-indeterminate{-webkit-animation:secondary-indeterminate-scale 2s infinite linear;animation:secondary-indeterminate-scale 2s infinite linear;-webkit-animation-play-state:inherit;animation-play-state:inherit}.buffer-circles{background-image:radial-gradient(ellipse at center, var(--background) 0%, var(--background) 30%, transparent 30%);background-repeat:repeat-x;background-position:5px center;background-size:10px 10px;z-index:0;-webkit-animation:buffering 450ms infinite linear;animation:buffering 450ms infinite linear}:host(.progress-bar-reversed){-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.progress-paused) .indeterminate-bar-secondary,:host(.progress-paused) .indeterminate-bar-primary,:host(.progress-paused) .buffer-circles{-webkit-animation-play-state:paused;animation-play-state:paused}:host(.ion-color) .buffer-circles{background-image:radial-gradient(ellipse at center, rgba(var(--ion-color-base-rgb), 0.3) 0%, rgba(var(--ion-color-base-rgb), 0.3) 30%, transparent 30%)}:host(.ion-color) .progress,:host(.ion-color) .progress-indeterminate{background:var(--ion-color-base)}@-webkit-keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@keyframes primary-indeterminate-translate{0%{-webkit-transform:translateX(0);transform:translateX(0)}20%{-webkit-animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);-webkit-transform:translateX(0);transform:translateX(0)}59.15%{-webkit-animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);-webkit-transform:translateX(83.67142%);transform:translateX(83.67142%)}100%{-webkit-transform:translateX(200.611057%);transform:translateX(200.611057%)}}@-webkit-keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes primary-indeterminate-scale{0%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}36.65%{-webkit-animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}69.15%{-webkit-animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);-webkit-transform:scaleX(0.661479);transform:scaleX(0.661479)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@keyframes secondary-indeterminate-translate{0%{-webkit-animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);-webkit-transform:translateX(0);transform:translateX(0)}25%{-webkit-animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);-webkit-transform:translateX(37.651913%);transform:translateX(37.651913%)}48.35%{-webkit-animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);-webkit-transform:translateX(84.386165%);transform:translateX(84.386165%)}100%{-webkit-transform:translateX(160.277782%);transform:translateX(160.277782%)}}@-webkit-keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@keyframes secondary-indeterminate-scale{0%{-webkit-animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}19.15%{-webkit-animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);-webkit-transform:scaleX(0.457104);transform:scaleX(0.457104)}44.15%{-webkit-animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);-webkit-transform:scaleX(0.72796);transform:scaleX(0.72796)}100%{-webkit-transform:scaleX(0.08);transform:scaleX(0.08)}}@-webkit-keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}@keyframes buffering{to{-webkit-transform:translateX(-10px);transform:translateX(-10px)}}:host{height:4px}:host(.ion-color) .progress-buffer-bar{background:rgba(var(--ion-color-base-rgb), 0.3)}" };
  }
}, [33, "ion-progress-bar", { type: [1], reversed: [4], value: [2], buffer: [2], color: [513] }]);
var b13 = () => Ct("div", { part: "track", class: "progress-buffer-bar" }, Ct("div", { class: "indeterminate-bar-primary" }, Ct("span", { part: "progress", class: "progress-indeterminate" })), Ct("div", { class: "indeterminate-bar-secondary" }, Ct("span", { part: "progress", class: "progress-indeterminate" })));
var f22 = (i16, t17) => {
  const n15 = b(0, i16, 1), r32 = b(0, t17, 1);
  return [Ct("div", { part: "progress", class: "progress", style: { transform: `scaleX(${n15})` } }), Ct("div", { class: { "buffer-circles-container": true, "ion-hide": 1 === r32 }, style: { transform: `translateX(${100 * r32}%)` } }, Ct("div", { class: "buffer-circles-container", style: { transform: `translateX(-${100 * r32}%)` } }, Ct("div", { part: "stream", class: "buffer-circles" }))), Ct("div", { part: "track", class: "progress-buffer-bar", style: { transform: `scaleX(${r32})` } })];
};
var u15 = function() {
  "undefined" != typeof customElements && ["ion-progress-bar"].forEach(((i16) => {
    "ion-progress-bar" === i16 && (customElements.get(Zn(i16)) || customElements.define(Zn(i16), c27));
  }));
};

// node_modules/@ionic/core/components/p-BSB38Tek.js
var p23 = (e16, t17, r32) => "function" == typeof r32 ? r32(e16, t17) : "string" == typeof r32 ? e16[r32] === t17[r32] : Array.isArray(t17) ? t17.includes(e16) : e16 === t17;
var m22 = (e16, t17, r32) => void 0 !== e16 && (Array.isArray(e16) ? e16.some(((e17) => p23(e17, t17, r32))) : p23(e16, t17, r32));
var b14 = Dn(class extends I {
  constructor(e16) {
    super(), false !== e16 && this.__registerHost(), this.__attachShadow(), this.ionFocus = Jt(this, "ionFocus", 7), this.ionBlur = Jt(this, "ionBlur", 7), this.inputId = "ion-rb-" + h14++, this.radioGroup = null, this.checked = false, this.buttonTabindex = -1, this.name = this.inputId, this.disabled = false, this.labelPlacement = "start", this.updateState = () => {
      if (this.radioGroup) {
        const { compareWith: e17, value: t17 } = this.radioGroup;
        this.checked = m22(t17, this.value, e17);
      }
    }, this.onClick = () => {
      const { radioGroup: e17, checked: t17, disabled: r32 } = this;
      r32 || (this.checked = !t17 || !(null == e17 ? void 0 : e17.allowEmptySelection));
    }, this.onFocus = () => {
      this.ionFocus.emit();
    }, this.onBlur = () => {
      this.ionBlur.emit();
    };
  }
  valueChanged() {
    this.updateState();
  }
  componentDidLoad() {
    this.updateState();
  }
  setFocus(e16) {
    return __async(this, null, function* () {
      void 0 !== e16 && (e16.stopPropagation(), e16.preventDefault()), this.el.focus();
    });
  }
  setButtonTabindex(e16) {
    return __async(this, null, function* () {
      this.buttonTabindex = e16;
    });
  }
  connectedCallback() {
    void 0 === this.value && (this.value = this.inputId);
    const e16 = this.radioGroup = this.el.closest("ion-radio-group");
    e16 && (this.updateState(), l(e16, "ionValueChange", this.updateState));
  }
  disconnectedCallback() {
    const e16 = this.radioGroup;
    e16 && (u2(e16, "ionValueChange", this.updateState), this.radioGroup = null);
  }
  get hasLabel() {
    return "" !== this.el.textContent;
  }
  renderRadioControl() {
    return Ct("div", { class: "radio-icon", part: "container" }, Ct("div", { class: "radio-inner", part: "mark" }), Ct("div", { class: "radio-ripple" }));
  }
  render() {
    const { checked: e16, disabled: t17, color: r32, el: o14, justify: n15, labelPlacement: s23, hasLabel: p33, buttonTabindex: m28, alignment: b21 } = this, h21 = g(this), x16 = n5("ion-item", o14);
    return Ct(It, { key: "af5dc59ed528150872e907ed1036e3e2decba939", onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: o6(r32, { [h21]: true, "in-item": x16, "radio-checked": e16, "radio-disabled": t17, [`radio-justify-${n15}`]: void 0 !== n15, [`radio-alignment-${b21}`]: void 0 !== b21, [`radio-label-placement-${s23}`]: true, "ion-activatable": !x16, "ion-focusable": !x16 }), role: "radio", "aria-checked": e16 ? "true" : "false", "aria-disabled": t17 ? "true" : null, tabindex: m28 }, Ct("label", { key: "1312aba3259a87fe23a6911cdfa477e309469c8b", class: "radio-wrapper" }, Ct("div", { key: "b342aa27e240a300836d2a135658d346b95daf09", class: { "label-text-wrapper": true, "label-text-wrapper-hidden": !p33 }, part: "label" }, Ct("slot", { key: "0a4613d29aa783d1882cf889377f7e4fd4fea51d" })), Ct("div", { key: "191faea79dc4cd8befc4b873f5bd9f5af8ca2acc", class: "native-wrapper" }, this.renderRadioControl())));
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { value: [{ valueChanged: 0 }] };
  }
  static get style() {
    return { ios: ':host{--inner-border-radius:50%;display:inline-block;position:relative;max-width:100%;min-height:inherit;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}.radio-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.radio-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.radio-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between) .radio-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.radio-justify-start) .radio-wrapper{-ms-flex-pack:start;justify-content:start}:host(.radio-justify-end) .radio-wrapper{-ms-flex-pack:end;justify-content:end}:host(.radio-alignment-start) .radio-wrapper{-ms-flex-align:start;align-items:start}:host(.radio-alignment-center) .radio-wrapper{-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between),:host(.radio-justify-start),:host(.radio-justify-end),:host(.radio-alignment-start),:host(.radio-alignment-center){display:block}:host(.radio-label-placement-start) .radio-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.radio-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-end) .radio-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.radio-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.radio-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px}:host(.radio-label-placement-stacked) .radio-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.radio-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host{--color-checked:var(--ion-color-primary, #0054e9)}:host(.ion-color.radio-checked) .radio-inner{border-color:var(--ion-color-base)}.item-radio.item-ios ion-label{-webkit-margin-start:0;margin-inline-start:0}.radio-inner{width:33%;height:50%}:host(.radio-checked) .radio-inner{-webkit-transform:rotate(45deg);transform:rotate(45deg);border-width:0.125rem;border-top-width:0;border-left-width:0;border-style:solid;border-color:var(--color-checked)}:host(.radio-disabled){opacity:0.3}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);top:-8px;display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #1a65eb);content:"";opacity:0.2}:host(.ion-focused) .radio-icon::after{inset-inline-start:-9px}.native-wrapper .radio-icon{width:0.9375rem;height:1.5rem}', md: ':host{--inner-border-radius:50%;display:inline-block;position:relative;max-width:100%;min-height:inherit;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.radio-disabled){pointer-events:none}.radio-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;contain:layout size style}.radio-icon,.radio-inner{-webkit-box-sizing:border-box;box-sizing:border-box}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}:host(:focus){outline:none}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}.radio-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;min-height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.radio-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.radio-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between) .radio-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.radio-justify-start) .radio-wrapper{-ms-flex-pack:start;justify-content:start}:host(.radio-justify-end) .radio-wrapper{-ms-flex-pack:end;justify-content:end}:host(.radio-alignment-start) .radio-wrapper{-ms-flex-align:start;align-items:start}:host(.radio-alignment-center) .radio-wrapper{-ms-flex-align:center;align-items:center}:host(.radio-justify-space-between),:host(.radio-justify-start),:host(.radio-justify-end),:host(.radio-alignment-start),:host(.radio-alignment-center){display:block}:host(.radio-label-placement-start) .radio-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.radio-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-end) .radio-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.radio-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.radio-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.radio-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px}:host(.radio-label-placement-stacked) .radio-wrapper{-ms-flex-direction:column;flex-direction:column}:host(.radio-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).radio-label-placement-stacked.radio-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.radio-label-placement-stacked.radio-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host{--color:rgb(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--color-checked:var(--ion-color-primary, #0054e9);--border-width:0.125rem;--border-style:solid;--border-radius:50%}:host(.ion-color) .radio-inner{background:var(--ion-color-base)}:host(.ion-color.radio-checked) .radio-icon{border-color:var(--ion-color-base)}.radio-icon{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--color)}.radio-inner{border-radius:var(--inner-border-radius);width:calc(50% + var(--border-width));height:calc(50% + var(--border-width));-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0);-webkit-transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1);transition:transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1);background:var(--color-checked)}:host(.radio-checked) .radio-icon{border-color:var(--color-checked)}:host(.radio-checked) .radio-inner{-webkit-transform:scale3d(1, 1, 1);transform:scale3d(1, 1, 1)}:host(.radio-disabled) .label-text-wrapper{opacity:0.38}:host(.radio-disabled) .native-wrapper{opacity:0.63}:host(.ion-focused) .radio-icon::after{border-radius:var(--inner-border-radius);display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #1a65eb);content:"";opacity:0.2}.native-wrapper .radio-icon{width:1.25rem;height:1.25rem}' };
  }
}, [289, "ion-radio", { color: [513], name: [1], disabled: [4], value: [8], labelPlacement: [1, "label-placement"], justify: [1], alignment: [1], checked: [32], buttonTabindex: [32], setFocus: [64], setButtonTabindex: [64] }, void 0, { value: [{ valueChanged: 0 }] }]);
var h14 = 0;
function x10() {
  "undefined" != typeof customElements && ["ion-radio"].forEach(((e16) => {
    "ion-radio" === e16 && (customElements.get(Zn(e16)) || customElements.define(Zn(e16), b14));
  }));
}

// node_modules/@ionic/core/components/ion-radio.js
var r24 = x10;

// node_modules/@ionic/core/components/p-CgqKJg96.js
var o13 = (t17) => {
  const r32 = t17.previousElementSibling;
  return null !== r32 && "ION-HEADER" === r32.tagName ? "translate" : "scale";
};
var n11 = (t17, r32, s23) => "scale" === t17 ? i13(r32, s23) : p24(r32, s23);
var f23 = (t17) => {
  const s23 = t17.querySelector("ion-spinner"), e16 = s23.shadowRoot.querySelector("circle"), a17 = t17.querySelector(".spinner-arrow-container"), o14 = t17.querySelector(".arrow-container"), n15 = o14 ? o14.querySelector("ion-icon") : null, f27 = r().duration(1e3).easing("ease-out"), i16 = r().addElement(a17).keyframes([{ offset: 0, opacity: "0.3" }, { offset: 0.45, opacity: "0.3" }, { offset: 0.55, opacity: "1" }, { offset: 1, opacity: "1" }]), p33 = r().addElement(e16).keyframes([{ offset: 0, strokeDasharray: "1px, 200px" }, { offset: 0.2, strokeDasharray: "1px, 200px" }, { offset: 0.55, strokeDasharray: "100px, 200px" }, { offset: 1, strokeDasharray: "100px, 200px" }]), c36 = r().addElement(s23).keyframes([{ offset: 0, transform: "rotate(-90deg)" }, { offset: 1, transform: "rotate(210deg)" }]);
  if (o14 && n15) {
    const t18 = r().addElement(o14).keyframes([{ offset: 0, transform: "rotate(0deg)" }, { offset: 0.3, transform: "rotate(0deg)" }, { offset: 0.55, transform: "rotate(280deg)" }, { offset: 1, transform: "rotate(400deg)" }]), s24 = r().addElement(n15).keyframes([{ offset: 0, transform: "translateX(2px) scale(0)" }, { offset: 0.3, transform: "translateX(2px) scale(0)" }, { offset: 0.55, transform: "translateX(-1.5px) scale(1)" }, { offset: 1, transform: "translateX(-1.5px) scale(1)" }]);
    f27.addAnimation([t18, s24]);
  }
  return f27.addAnimation([i16, p33, c36]);
};
var i13 = (t17, s23) => {
  const e16 = s23.clientHeight, a17 = r().addElement(t17).keyframes([{ offset: 0, transform: `scale(0) translateY(-${e16}px)` }, { offset: 1, transform: "scale(1) translateY(100px)" }]);
  return f23(t17).addAnimation([a17]);
};
var p24 = (t17, s23) => {
  const e16 = s23.clientHeight, a17 = r().addElement(t17).keyframes([{ offset: 0, transform: `translateY(-${e16}px)` }, { offset: 1, transform: "translateY(100px)" }]);
  return f23(t17).addAnimation([a17]);
};
var c28 = (t17) => r().duration(125).addElement(t17).fromTo("transform", "translateY(var(--ion-pulling-refresher-translate, 100px))", "translateY(0px)");
var l24 = (t17, r32) => {
  t17.style.setProperty("opacity", r32.toString());
};
var m23 = (r32, s23, e16) => {
  P((() => {
    r32.forEach(((t17, r33) => {
      const o14 = r33 * (1 / s23), n15 = b(0, (e16 - o14) / (1 - o14), 1);
      t17.style.setProperty("opacity", n15.toString());
    }));
  }));
};
var x11 = (r32, s23) => {
  P((() => {
    r32.style.setProperty("--refreshing-rotation-duration", s23 >= 1 ? "0.5s" : "2s"), r32.style.setProperty("opacity", "1");
  }));
};
var u16 = (r32, s23, a17 = 200) => {
  if (!r32) return Promise.resolve();
  const o14 = i(r32, a17);
  return P((() => {
    r32.style.setProperty("transition", `${a17}ms all ease-out`), void 0 === s23 ? r32.style.removeProperty("transform") : r32.style.setProperty("transform", `translate3d(0px, ${s23}, 0px)`);
  })), o14;
};
var g12 = () => navigator.maxTouchPoints > 0 && CSS.supports("background: -webkit-named-image(apple-pay-logo-black)");
var d17 = (t17, r32) => __async(null, null, function* () {
  const e16 = t17.querySelector("ion-refresher-content");
  if (!e16) return Promise.resolve(false);
  yield new Promise(((t18) => e2(e16, t18)));
  const a17 = t17.querySelector("ion-refresher-content .refresher-pulling ion-spinner"), o14 = t17.querySelector("ion-refresher-content .refresher-refreshing ion-spinner");
  return null !== a17 && null !== o14 && ("ios" === r32 && g12() || "md" === r32);
});

// node_modules/@ionic/core/components/ion-refresher.js
var z8 = Dn(class extends I {
  constructor(e16) {
    super(), false !== e16 && this.__registerHost(), this.ionRefresh = Jt(this, "ionRefresh", 7), this.ionPull = Jt(this, "ionPull", 7), this.ionStart = Jt(this, "ionStart", 7), this.ionPullStart = Jt(this, "ionPullStart", 7), this.ionPullEnd = Jt(this, "ionPullEnd", 7), this.appliedStyles = false, this.didStart = false, this.progress = 0, this.pointerDown = false, this.needsCompletion = false, this.didRefresh = false, this.contentFullscreen = false, this.lastVelocityY = 0, this.animations = [], this.nativeRefresher = false, this.state = 1, this.pullMin = 60, this.pullMax = this.pullMin + 60, this.closeDuration = "280ms", this.snapbackDuration = "280ms", this.pullFactor = 1, this.disabled = false;
  }
  disabledChanged() {
    this.gesture && this.gesture.enable(!this.disabled);
  }
  checkNativeRefresher() {
    return __async(this, null, function* () {
      const e16 = yield d17(this.el, g(this));
      if (e16 && !this.nativeRefresher) {
        const e17 = this.el.closest("ion-content");
        this.setupNativeRefresher(e17);
      } else e16 || this.destroyNativeRefresher();
    });
  }
  destroyNativeRefresher() {
    this.scrollEl && this.scrollListenerCallback && (this.scrollEl.removeEventListener("scroll", this.scrollListenerCallback), this.scrollListenerCallback = void 0), this.nativeRefresher = false;
  }
  resetNativeRefresher(e16, r32) {
    return __async(this, null, function* () {
      this.state = r32, "ios" === g(this) ? yield u16(e16, void 0, 300) : yield i(this.el.querySelector(".refresher-refreshing-icon"), 200), this.didRefresh = false, this.needsCompletion = false, this.pointerDown = false, this.animations.forEach(((e17) => e17.destroy())), this.animations = [], this.progress = 0, this.state = 1, this.ionPullEnd.emit({ reason: 32 === r32 ? "complete" : "cancel" });
    });
  }
  setupiOSNativeRefresher(e16, r32) {
    return __async(this, null, function* () {
      this.elementToTransform = this.scrollEl;
      const i16 = e16.shadowRoot.querySelectorAll("svg");
      let n15 = 0.16 * this.scrollEl.clientHeight;
      const o14 = i16.length;
      P((() => i16.forEach(((e17) => e17.style.setProperty("animation", "none"))))), this.scrollListenerCallback = () => {
        (this.pointerDown || 1 !== this.state) && W((() => {
          const e17 = this.scrollEl.scrollTop, t17 = this.el.clientHeight;
          if (e17 > 0) {
            if (8 === this.state) {
              const i17 = b(0, e17 / (0.5 * t17), 1);
              return void P((() => l24(r32, 1 - i17)));
            }
            return;
          }
          this.pointerDown && (this.didStart || (this.didStart = true, this.ionStart.emit(), this.ionPullStart.emit()), this.pointerDown && this.ionPull.emit());
          const h21 = this.didStart ? 30 : 0, a17 = this.progress = b(0, (Math.abs(e17) - h21) / n15, 1);
          if (8 === this.state || 1 === a17) {
            if (this.pointerDown && x11(r32, this.lastVelocityY), !this.didRefresh) {
              this.beginRefresh(), this.didRefresh = true, l10({ style: n7.Light });
              const e18 = document.activeElement;
              void 0 !== (null == e18 ? void 0 : e18.blur) && e18.blur(), this.pointerDown || u16(this.elementToTransform, t17 + "px");
            }
          } else this.state = 2, m23(i16, o14, a17);
        }));
      }, this.scrollEl.addEventListener("scroll", this.scrollListenerCallback), this.gesture = (yield import("./chunk-7STYLPNF.js")).createGesture({ el: this.scrollEl, gestureName: "refresher", gesturePriority: 31, direction: "y", threshold: 5, onStart: () => {
        this.pointerDown = true, this.didRefresh || u16(this.elementToTransform, "0px"), 0 === n15 && (n15 = 0.16 * this.scrollEl.clientHeight);
      }, onMove: (e17) => {
        this.lastVelocityY = e17.velocityY;
      }, onEnd: () => {
        const e17 = this.didStart;
        this.pointerDown = false, this.didStart = false, this.needsCompletion ? (this.resetNativeRefresher(this.elementToTransform, 32), this.needsCompletion = false) : this.didRefresh ? W((() => u16(this.elementToTransform, this.el.clientHeight + "px"))) : e17 && this.ionPullEnd.emit({ reason: "cancel" });
      } }), this.disabledChanged();
    });
  }
  setupMDNativeRefresher(e16, r32, i16) {
    return __async(this, null, function* () {
      const t17 = c(r32).querySelector("circle"), n15 = this.el.querySelector("ion-refresher-content .refresher-pulling-icon"), o14 = c(i16).querySelector("circle");
      null !== t17 && null !== o14 && P((() => {
        t17.style.setProperty("animation", "none"), i16.style.setProperty("animation-delay", "-655ms"), o14.style.setProperty("animation-delay", "-655ms");
      })), this.gesture = (yield import("./chunk-7STYLPNF.js")).createGesture({ el: this.scrollEl, gestureName: "refresher", gesturePriority: 31, direction: "y", threshold: 5, canStart: () => 8 !== this.state && 32 !== this.state && 0 === this.scrollEl.scrollTop, onStart: (e17) => {
        this.progress = 0, e17.data = { animation: void 0, didStart: false, cancelled: false };
      }, onMove: (r33) => {
        if (r33.velocityY < 0 && 0 === this.progress && !r33.data.didStart || r33.data.cancelled) r33.data.cancelled = true;
        else {
          if (!r33.data.didStart) {
            r33.data.didStart = true, this.state = 2;
            const { scrollEl: i17 } = this, t18 = i17.matches(a2) ? "overflow" : "--overflow";
            P((() => i17.style.setProperty(t18, "hidden")));
            const o15 = o13(e16), h21 = n11(o15, n15, this.el);
            return r33.data.animation = h21, h21.progressStart(false, 0), this.ionStart.emit(), this.ionPullStart.emit(), void this.animations.push(h21);
          }
          this.progress = b(0, r33.deltaY / 180 * 0.5, 1), r33.data.animation.progressStep(this.progress), this.ionPull.emit();
        }
      }, onEnd: (e17) => {
        if (!e17.data.didStart) return;
        this.gesture.enable(false);
        const { scrollEl: r33 } = this, i17 = r33.matches(a2) ? "overflow" : "--overflow";
        if (P((() => r33.style.removeProperty(i17))), this.progress <= 0.4) return void e17.data.animation.progressEnd(0, this.progress, 500).onFinish((() => {
          this.animations.forEach(((e18) => e18.destroy())), this.animations = [], this.gesture.enable(true), this.state = 1, this.ionPullEnd.emit({ reason: "cancel" });
        }));
        const t18 = t7([0, 0], [0, 0], [1, 1], [1, 1], this.progress)[0], o15 = c28(n15);
        this.animations.push(o15), P((() => __async(this, null, function* () {
          n15.style.setProperty("--ion-pulling-refresher-translate", 100 * t18 + "px"), e17.data.animation.progressEnd(), yield o15.play(), this.beginRefresh(), e17.data.animation.destroy(), this.gesture.enable(true);
        })));
      } }), this.disabledChanged();
    });
  }
  setupNativeRefresher(e16) {
    return __async(this, null, function* () {
      if (this.scrollListenerCallback || !e16 || this.nativeRefresher || !this.scrollEl) return;
      this.setCss(0, "", false, ""), this.nativeRefresher = true;
      const r32 = this.el.querySelector("ion-refresher-content .refresher-pulling ion-spinner"), i16 = this.el.querySelector("ion-refresher-content .refresher-refreshing ion-spinner");
      "ios" === g(this) ? this.setupiOSNativeRefresher(r32, i16) : this.setupMDNativeRefresher(e16, r32, i16);
    });
  }
  componentDidUpdate() {
    this.checkNativeRefresher();
  }
  connectedCallback() {
    return __async(this, null, function* () {
      if ("fixed" !== this.el.getAttribute("slot")) return void f('[ion-refresher] - Make sure you use: <ion-refresher slot="fixed">');
      const e16 = this.el.closest(t3);
      e16 ? e2(e16, (() => __async(this, null, function* () {
        const r32 = e16.querySelector(a2);
        this.scrollEl = yield i3(null != r32 ? r32 : e16), this.backgroundContentEl = yield e16.getBackgroundElement(), this.contentFullscreen = e16.fullscreen, (yield d17(this.el, g(this))) ? this.setupNativeRefresher(e16) : (this.gesture = (yield import("./chunk-7STYLPNF.js")).createGesture({ el: e16, gestureName: "refresher", gesturePriority: 31, direction: "y", threshold: 20, passive: false, canStart: () => this.canStart(), onStart: () => this.onStart(), onMove: (e17) => this.onMove(e17), onEnd: () => this.onEnd() }), this.disabledChanged());
      }))) : p2(this.el);
    });
  }
  disconnectedCallback() {
    this.destroyNativeRefresher(), this.scrollEl = void 0, this.gesture && (this.gesture.destroy(), this.gesture = void 0);
  }
  complete() {
    return __async(this, null, function* () {
      this.nativeRefresher ? (this.needsCompletion = true, this.pointerDown || d2((() => d2((() => this.resetNativeRefresher(this.elementToTransform, 32)))))) : this.close(32, "120ms");
    });
  }
  cancel() {
    return __async(this, null, function* () {
      this.nativeRefresher ? this.pointerDown || d2((() => d2((() => this.resetNativeRefresher(this.elementToTransform, 16))))) : this.close(16, "");
    });
  }
  getProgress() {
    return Promise.resolve(this.progress);
  }
  canStart() {
    return !(!this.scrollEl || 1 !== this.state || this.scrollEl.scrollTop > 0);
  }
  onStart() {
    this.progress = 0, this.state = 1, this.memoizeOverflowStyle(), this.contentFullscreen && this.backgroundContentEl && this.backgroundContentEl.style.setProperty("--offset-top", "0px");
  }
  onMove(e16) {
    if (!this.scrollEl) return;
    const r32 = e16.event;
    if (void 0 !== r32.touches && r32.touches.length > 1) return;
    if (56 & this.state) return;
    const i16 = e16.deltaY * (Number.isNaN(this.pullFactor) || this.pullFactor < 0 ? 1 : this.pullFactor);
    if (i16 <= 0) return this.progress = 0, this.state = 1, this.appliedStyles ? void this.setCss(0, "", false, "") : void 0;
    if (1 === this.state) {
      if (this.scrollEl.scrollTop > 0) return void (this.progress = 0);
      this.state = 2;
    }
    if (r32.cancelable && r32.preventDefault(), this.setCss(i16, "0ms", true, ""), 0 === i16) return void (this.progress = 0);
    const s23 = this.pullMin;
    this.progress = i16 / s23, this.didStart || (this.didStart = true, this.ionStart.emit(), this.ionPullStart.emit()), this.ionPull.emit(), i16 < s23 ? this.state = 2 : i16 > this.pullMax ? this.beginRefresh() : this.state = 4;
  }
  onEnd() {
    4 === this.state ? this.beginRefresh() : 2 === this.state ? this.cancel() : 1 === this.state && (this.restoreOverflowStyle(), this.didStart && (this.didStart = false, this.ionPullEnd.emit({ reason: "cancel" })));
  }
  beginRefresh() {
    this.state = 8, this.setCss(this.pullMin, this.snapbackDuration, true, "");
    const e16 = document.activeElement;
    void 0 !== (null == e16 ? void 0 : e16.blur) && e16.blur(), this.ionRefresh.emit({ complete: this.complete.bind(this) });
  }
  close(e16, r32) {
    setTimeout((() => {
      var r33;
      this.state = 1, this.progress = 0, this.didStart = false, this.setCss(0, "0ms", false, "", true), this.contentFullscreen && this.backgroundContentEl && (null === (r33 = this.backgroundContentEl) || void 0 === r33 || r33.style.removeProperty("--offset-top")), this.ionPullEnd.emit({ reason: 32 === e16 ? "complete" : "cancel" });
    }), 600), this.state = e16, this.setCss(0, this.closeDuration, true, r32);
  }
  setCss(e16, r32, i16, t17, n15 = false) {
    this.nativeRefresher || (this.appliedStyles = e16 > 0, P((() => {
      if (this.scrollEl && this.backgroundContentEl) {
        const s23 = this.scrollEl.style, n16 = this.backgroundContentEl.style;
        s23.transform = n16.transform = e16 > 0 ? `translateY(${e16}px) translateZ(0px)` : "", s23.transitionDuration = n16.transitionDuration = r32, s23.transitionDelay = n16.transitionDelay = t17, s23.overflow = i16 ? "hidden" : "";
      }
      n15 && this.restoreOverflowStyle();
    })));
  }
  memoizeOverflowStyle() {
    if (this.scrollEl) {
      const { overflow: e16, overflowX: r32, overflowY: i16 } = this.scrollEl.style;
      this.overflowStyles = { overflow: null != e16 ? e16 : "", overflowX: null != r32 ? r32 : "", overflowY: null != i16 ? i16 : "" };
    }
  }
  restoreOverflowStyle() {
    if (void 0 !== this.overflowStyles && void 0 !== this.scrollEl) {
      const { overflow: e16, overflowX: r32, overflowY: i16 } = this.overflowStyles;
      this.scrollEl.style.overflow = e16, this.scrollEl.style.overflowX = r32, this.scrollEl.style.overflowY = i16, this.overflowStyles = void 0;
    }
  }
  render() {
    const e16 = g(this);
    return Ct(It, { key: "80fa313b0d77161680836bdd6aa334d02c549b41", slot: "fixed", class: { [e16]: true, ["refresher-" + e16]: true, "refresher-native": this.nativeRefresher, "refresher-active": 1 !== this.state, "refresher-pulling": 2 === this.state, "refresher-ready": 4 === this.state, "refresher-refreshing": 8 === this.state, "refresher-cancelling": 16 === this.state, "refresher-completing": 32 === this.state } });
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { disabled: [{ disabledChanged: 0 }] };
  }
  static get style() {
    return { ios: "ion-refresher{top:0;display:none;position:absolute;width:100%;height:60px;pointer-events:none;z-index:-1}ion-refresher{inset-inline-start:0}ion-refresher.refresher-active{display:block}ion-refresher-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;height:100%}.refresher-pulling,.refresher-refreshing{display:none;width:100%}.refresher-pulling-icon,.refresher-refreshing-icon{-webkit-transform-origin:center;transform-origin:center;-webkit-transition:200ms;transition:200ms;font-size:30px;text-align:center}:host-context([dir=rtl]) .refresher-pulling-icon,:host-context([dir=rtl]) .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}[dir=rtl] .refresher-pulling-icon,[dir=rtl] .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}@supports selector(:dir(rtl)){.refresher-pulling-icon:dir(rtl),.refresher-refreshing-icon:dir(rtl){-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}}.refresher-pulling-text,.refresher-refreshing-text{font-size:16px;text-align:center}ion-refresher-content .arrow-container{display:none}.refresher-pulling ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.refresher-refreshing ion-refresher-content .refresher-refreshing{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-completing ion-refresher-content .refresher-refreshing{display:block}.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-native .refresher-pulling-text,.refresher-native .refresher-refreshing-text{display:none}.refresher-ios .refresher-pulling-icon,.refresher-ios .refresher-refreshing-icon{color:var(--ion-text-color, #000)}.refresher-ios .refresher-pulling-text,.refresher-ios .refresher-refreshing-text{color:var(--ion-text-color, #000)}.refresher-ios .refresher-refreshing .spinner-lines-ios line,.refresher-ios .refresher-refreshing .spinner-lines-small-ios line,.refresher-ios .refresher-refreshing .spinner-crescent circle{stroke:var(--ion-text-color, #000)}.refresher-ios .refresher-refreshing .spinner-bubbles circle,.refresher-ios .refresher-refreshing .spinner-circles circle,.refresher-ios .refresher-refreshing .spinner-dots circle{fill:var(--ion-text-color, #000)}ion-refresher.refresher-native{display:block;z-index:1}ion-refresher.refresher-native ion-spinner{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}.refresher-native .refresher-refreshing ion-spinner{--refreshing-rotation-duration:2s;display:none;-webkit-animation:var(--refreshing-rotation-duration) ease-out refresher-rotate forwards;animation:var(--refreshing-rotation-duration) ease-out refresher-rotate forwards}.refresher-native .refresher-refreshing{display:none;-webkit-animation:250ms linear refresher-pop forwards;animation:250ms linear refresher-pop forwards}.refresher-native ion-spinner{width:32px;height:32px;color:var(--ion-color-step-450, var(--ion-background-color-step-450, #747577))}.refresher-native.refresher-refreshing .refresher-pulling ion-spinner,.refresher-native.refresher-completing .refresher-pulling ion-spinner{display:none}.refresher-native.refresher-refreshing .refresher-refreshing ion-spinner,.refresher-native.refresher-completing .refresher-refreshing ion-spinner{display:block}.refresher-native.refresher-pulling .refresher-pulling ion-spinner{display:block}.refresher-native.refresher-pulling .refresher-refreshing ion-spinner{display:none}.refresher-native.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0) rotate(180deg);transform:scale(0) rotate(180deg);-webkit-transition:300ms;transition:300ms}@-webkit-keyframes refresher-pop{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{-webkit-transform:scale(1.2);transform:scale(1.2);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes refresher-pop{0%{-webkit-transform:scale(1);transform:scale(1);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}50%{-webkit-transform:scale(1.2);transform:scale(1.2);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes refresher-rotate{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(180deg);transform:rotate(180deg)}}@keyframes refresher-rotate{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(180deg);transform:rotate(180deg)}}", md: "ion-refresher{top:0;display:none;position:absolute;width:100%;height:60px;pointer-events:none;z-index:-1}ion-refresher{inset-inline-start:0}ion-refresher.refresher-active{display:block}ion-refresher-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;height:100%}.refresher-pulling,.refresher-refreshing{display:none;width:100%}.refresher-pulling-icon,.refresher-refreshing-icon{-webkit-transform-origin:center;transform-origin:center;-webkit-transition:200ms;transition:200ms;font-size:30px;text-align:center}:host-context([dir=rtl]) .refresher-pulling-icon,:host-context([dir=rtl]) .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}[dir=rtl] .refresher-pulling-icon,[dir=rtl] .refresher-refreshing-icon{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}@supports selector(:dir(rtl)){.refresher-pulling-icon:dir(rtl),.refresher-refreshing-icon:dir(rtl){-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}}.refresher-pulling-text,.refresher-refreshing-text{font-size:16px;text-align:center}ion-refresher-content .arrow-container{display:none}.refresher-pulling ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling{display:block}.refresher-ready ion-refresher-content .refresher-pulling-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.refresher-refreshing ion-refresher-content .refresher-refreshing{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling{display:block}.refresher-cancelling ion-refresher-content .refresher-pulling-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-completing ion-refresher-content .refresher-refreshing{display:block}.refresher-completing ion-refresher-content .refresher-refreshing-icon{-webkit-transform:scale(0);transform:scale(0)}.refresher-native .refresher-pulling-text,.refresher-native .refresher-refreshing-text{display:none}.refresher-md .refresher-pulling-icon,.refresher-md .refresher-refreshing-icon{color:var(--ion-text-color, #000)}.refresher-md .refresher-pulling-text,.refresher-md .refresher-refreshing-text{color:var(--ion-text-color, #000)}.refresher-md .refresher-refreshing .spinner-lines-md line,.refresher-md .refresher-refreshing .spinner-lines-small-md line,.refresher-md .refresher-refreshing .spinner-crescent circle{stroke:var(--ion-text-color, #000)}.refresher-md .refresher-refreshing .spinner-bubbles circle,.refresher-md .refresher-refreshing .spinner-circles circle,.refresher-md .refresher-refreshing .spinner-dots circle{fill:var(--ion-text-color, #000)}ion-refresher.refresher-native{display:block;z-index:1}ion-refresher.refresher-native ion-spinner{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;width:24px;height:24px;color:var(--ion-color-primary, #0054e9)}ion-refresher.refresher-native .spinner-arrow-container{display:inherit}ion-refresher.refresher-native .arrow-container{display:block;position:absolute;width:24px;height:24px}ion-refresher.refresher-native .arrow-container ion-icon{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;left:0;right:0;bottom:-4px;position:absolute;color:var(--ion-color-primary, #0054e9);font-size:12px}ion-refresher.refresher-native.refresher-pulling ion-refresher-content .refresher-pulling,ion-refresher.refresher-native.refresher-ready ion-refresher-content .refresher-pulling{display:-ms-flexbox;display:flex}ion-refresher.refresher-native.refresher-refreshing ion-refresher-content .refresher-refreshing,ion-refresher.refresher-native.refresher-completing ion-refresher-content .refresher-refreshing,ion-refresher.refresher-native.refresher-cancelling ion-refresher-content .refresher-refreshing{display:-ms-flexbox;display:flex}ion-refresher.refresher-native .refresher-pulling-icon{-webkit-transform:translateY(calc(-100% - 10px));transform:translateY(calc(-100% - 10px))}ion-refresher.refresher-native .refresher-pulling-icon,ion-refresher.refresher-native .refresher-refreshing-icon{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;border-radius:100%;-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;display:-ms-flexbox;display:flex;border:1px solid var(--ion-color-step-200, var(--ion-background-color-step-200, #ececec));background:var(--ion-color-step-250, var(--ion-background-color-step-250, #ffffff));-webkit-box-shadow:0px 1px 6px rgba(0, 0, 0, 0.1);box-shadow:0px 1px 6px rgba(0, 0, 0, 0.1)}" };
  }
}, [32, "ion-refresher", { pullMin: [2, "pull-min"], pullMax: [2, "pull-max"], closeDuration: [1, "close-duration"], snapbackDuration: [1, "snapback-duration"], pullFactor: [2, "pull-factor"], disabled: [4], nativeRefresher: [32], state: [32], complete: [64], cancel: [64], getProgress: [64] }, void 0, { disabled: [{ disabledChanged: 0 }] }]);
var Y5 = function() {
  "undefined" != typeof customElements && ["ion-refresher"].forEach(((e16) => {
    "ion-refresher" === e16 && (customElements.get(Zn(e16)) || customElements.define(Zn(e16), z8));
  }));
};

// node_modules/@ionic/core/components/ion-refresher-content.js
var m24 = Dn(class extends I {
  constructor(e16) {
    super(), false !== e16 && this.__registerHost(), this.customHTMLEnabled = n.get("innerHTMLTemplatesEnabled", l5);
  }
  componentWillLoad() {
    if (void 0 === this.pullingIcon) {
      const e16 = g12(), s23 = g(this);
      this.pullingIcon = n.get("refreshingIcon", "ios" === s23 && e16 ? n.get("spinner", e16 ? "lines" : o9) : "circular");
    }
    if (void 0 === this.refreshingSpinner) {
      const e16 = g(this);
      this.refreshingSpinner = n.get("refreshingSpinner", n.get("spinner", "ios" === e16 ? "lines" : "circular"));
    }
  }
  renderPullingText() {
    const { customHTMLEnabled: e16, pullingText: s23 } = this;
    return e16 ? Ct("div", { class: "refresher-pulling-text", innerHTML: n4(s23) }) : Ct("div", { class: "refresher-pulling-text" }, s23);
  }
  renderRefreshingText() {
    const { customHTMLEnabled: e16, refreshingText: s23 } = this;
    return e16 ? Ct("div", { class: "refresher-refreshing-text", innerHTML: n4(s23) }) : Ct("div", { class: "refresher-refreshing-text" }, s23);
  }
  render() {
    const e16 = this.pullingIcon, s23 = null != e16 && void 0 !== l18[e16], i16 = g(this);
    return Ct(It, { key: "4add42b9fdfded359d1b054d04c2c6ff48e028c8", class: i16 }, Ct("div", { key: "45d4e4e0adfed7f96dd1849767aa2cde947de044", class: "refresher-pulling" }, this.pullingIcon && s23 && Ct("div", { key: "6bd6c8ef5bf6e10699eec3bd8646431bfe1077a0", class: "refresher-pulling-icon" }, Ct("div", { key: "852d20414da53352c8e58bc627e0fda38eff97cb", class: "spinner-arrow-container" }, Ct("ion-spinner", { key: "0dde3578a80cc4b77a07c4d1db1af80c7eb10c27", name: this.pullingIcon, paused: true }), "md" === i16 && "circular" === this.pullingIcon && Ct("div", { key: "c71dbfcf416a19c30fed38f722ebf0358c2181dd", class: "arrow-container" }, Ct("ion-icon", { key: "fa7c2cf624e7a9c41964e66cabc88c594da6d1fd", icon: i9, "aria-hidden": "true" })))), this.pullingIcon && !s23 && Ct("div", { key: "3dd68c9968b421c379d1c4349ba619ee0a189c6d", class: "refresher-pulling-icon" }, Ct("ion-icon", { key: "f83bceceae4fa8245f91939fb6db589a595e975b", icon: this.pullingIcon, lazy: false, "aria-hidden": "true" })), void 0 !== this.pullingText && this.renderPullingText()), Ct("div", { key: "98e22ceb0f7883e871f815f6199f5cb313e2e086", class: "refresher-refreshing" }, this.refreshingSpinner && Ct("div", { key: "faabe8a9b61c02a00994ef978bb82b9ba4537214", class: "refresher-refreshing-icon" }, Ct("ion-spinner", { key: "029a0c073ee1a07f01211e12ba2abc985cf21ed7", name: this.refreshingSpinner })), void 0 !== this.refreshingText && this.renderRefreshingText()));
  }
  get el() {
    return this;
  }
}, [0, "ion-refresher-content", { pullingIcon: [1025, "pulling-icon"], pullingText: [1, "pulling-text"], refreshingSpinner: [1025, "refreshing-spinner"], refreshingText: [1, "refreshing-text"] }]);
var g13 = function() {
  "undefined" != typeof customElements && ["ion-refresher-content", "ion-icon", "ion-spinner"].forEach(((e16) => {
    switch (e16) {
      case "ion-refresher-content":
        customElements.get(Zn(e16)) || customElements.define(Zn(e16), m24);
        break;
      case "ion-icon":
        customElements.get(Zn(e16)) || y6();
        break;
      case "ion-spinner":
        customElements.get(Zn(e16)) || m17();
    }
  }));
};

// node_modules/@ionic/core/components/ion-reorder.js
var a15 = Dn(class extends I {
  constructor(o14) {
    super(), false !== o14 && this.__registerHost(), this.__attachShadow();
  }
  onClick(o14) {
    const e16 = this.el.closest("ion-reorder-group");
    o14.preventDefault(), e16 && e16.disabled || o14.stopImmediatePropagation();
  }
  render() {
    const o14 = g(this);
    return Ct(It, { key: "b869db61ca6393cf1476f2111a66b387b567c6d1", class: o14 }, Ct("slot", { key: "a78edd1776835282b8b5c841377018f36c83296c" }, Ct("ion-icon", { key: "7fb067c47bbb9a7258e5063f028282cc097d0f94", icon: "ios" === o14 ? M5 : B4, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" })));
  }
  get el() {
    return this;
  }
  static get style() {
    return { ios: ":host([slot]){display:none;line-height:0;z-index:100}.reorder-icon{display:block}::slotted(ion-icon){font-size:dynamic-font(16px)}.reorder-icon{font-size:2.125rem;opacity:0.4}", md: ":host([slot]){display:none;line-height:0;z-index:100}.reorder-icon{display:block}::slotted(ion-icon){font-size:dynamic-font(16px)}.reorder-icon{font-size:1.9375rem;opacity:0.3}" };
  }
}, [289, "ion-reorder", void 0, [[2, "click", "onClick"]]]);
var m25 = function() {
  "undefined" != typeof customElements && ["ion-reorder", "ion-icon"].forEach(((o14) => {
    switch (o14) {
      case "ion-reorder":
        customElements.get(Zn(o14)) || customElements.define(Zn(o14), a15);
        break;
      case "ion-icon":
        customElements.get(Zn(o14)) || y6();
    }
  }));
};

// node_modules/@ionic/core/components/ion-reorder-group.js
var b15 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.ionItemReorder = Jt(this, "ionItemReorder", 7), this.ionReorderStart = Jt(this, "ionReorderStart", 7), this.ionReorderMove = Jt(this, "ionReorderMove", 7), this.ionReorderEnd = Jt(this, "ionReorderEnd", 7), this.lastToIndex = -1, this.cachedHeights = [], this.scrollElTop = 0, this.scrollElBottom = 0, this.scrollElInitial = 0, this.containerTop = 0, this.containerBottom = 0, this.state = 0, this.disabled = true;
  }
  disabledChanged() {
    this.gesture && this.gesture.enable(!this.disabled);
  }
  connectedCallback() {
    return __async(this, null, function* () {
      const t17 = f3(this.el);
      t17 && (this.scrollEl = yield i3(t17)), this.gesture = (yield import("./chunk-7STYLPNF.js")).createGesture({ el: this.el, gestureName: "reorder", gesturePriority: 110, threshold: 0, direction: "y", passive: false, canStart: (t18) => this.canStart(t18), onStart: (t18) => this.onStart(t18), onMove: (t18) => this.onMove(t18), onEnd: () => this.onEnd() }), this.disabledChanged();
    });
  }
  disconnectedCallback() {
    this.onEnd(), this.gesture && (this.gesture.destroy(), this.gesture = void 0);
  }
  complete(t17) {
    return Promise.resolve(this.completeReorder(t17));
  }
  canStart(t17) {
    if (this.selectedItemEl || 0 !== this.state) return false;
    const s23 = t17.event.target.closest("ion-reorder");
    if (!s23) return false;
    const e16 = f24(s23, this.el);
    return !!e16 && (t17.data = e16, true);
  }
  onStart(t17) {
    t17.event.preventDefault();
    const s23 = this.selectedItemEl = t17.data, e16 = this.cachedHeights;
    e16.length = 0;
    const r32 = this.el, i16 = r32.__children || r32.children;
    if (!i16 || 0 === i16.length) return;
    let o14 = 0;
    for (let t18 = 0; t18 < i16.length; t18++) {
      const s24 = i16[t18];
      o14 += s24.offsetHeight, e16.push(o14), s24.$ionIndex = t18;
    }
    const n15 = r32.getBoundingClientRect();
    if (this.containerTop = n15.top, this.containerBottom = n15.bottom, this.scrollEl) {
      const t18 = this.scrollEl.getBoundingClientRect();
      this.scrollElInitial = this.scrollEl.scrollTop, this.scrollElTop = t18.top + p25, this.scrollElBottom = t18.bottom - p25;
    } else this.scrollElInitial = 0, this.scrollElTop = 0, this.scrollElBottom = 0;
    this.lastToIndex = u17(s23), this.selectedItemHeight = s23.offsetHeight, this.state = 1, s23.classList.add(w8), a9(), this.ionReorderStart.emit();
  }
  onMove(t17) {
    const s23 = this.selectedItemEl;
    if (!s23) return;
    const e16 = this.autoscroll(t17.currentY), r32 = this.containerTop - e16, i16 = Math.max(r32, Math.min(t17.currentY, this.containerBottom - e16)), o14 = e16 + i16 - t17.startY, n15 = this.lastToIndex, h21 = this.itemIndexForTop(i16 - r32);
    if (h21 !== this.lastToIndex) {
      const t18 = u17(s23);
      this.lastToIndex = h21, c12(), this.reorderMove(t18, h21);
    }
    s23.style.transform = `translateY(${o14}px)`, this.ionReorderMove.emit({ from: n15, to: h21 });
  }
  onEnd() {
    const t17 = this.selectedItemEl;
    if (this.state = 2, !t17) return void (this.state = 0);
    const s23 = this.lastToIndex, e16 = u17(t17);
    s23 === e16 ? this.completeReorder() : this.ionItemReorder.emit({ from: e16, to: s23, complete: this.completeReorder.bind(this) }), r8(), this.ionReorderEnd.emit({ from: e16, to: s23, complete: this.completeReorder.bind(this) });
  }
  completeReorder(t17) {
    const s23 = this.selectedItemEl;
    if (s23 && 2 === this.state) {
      const e16 = this.el.__children || this.el.children, r32 = e16.length, i16 = this.lastToIndex, o14 = u17(s23);
      d2((() => {
        i16 === o14 || void 0 !== t17 && true !== t17 || this.el.insertBefore(s23, o14 < i16 ? e16[i16 + 1] : e16[i16]);
        for (let t18 = 0; t18 < r32; t18++) e16[t18].style.transform = "";
      })), Array.isArray(t17) && (t17 = k7(t17, o14, i16)), s23.style.transition = "", s23.classList.remove(w8), this.selectedItemEl = void 0, this.state = 0;
    }
    return t17;
  }
  itemIndexForTop(t17) {
    const s23 = this.cachedHeights;
    for (let e16 = 0; e16 < s23.length; e16++) if (s23[e16] > t17) return e16;
    return s23.length - 1;
  }
  reorderMove(t17, s23) {
    const e16 = this.selectedItemHeight, r32 = this.el.__children || this.el.children;
    for (let i16 = 0; i16 < r32.length; i16++) {
      let o14 = "";
      i16 > t17 && i16 <= s23 ? o14 = `translateY(${-e16}px)` : i16 < t17 && i16 >= s23 && (o14 = `translateY(${e16}px)`), r32[i16].style.transform = o14;
    }
  }
  autoscroll(t17) {
    if (!this.scrollEl) return 0;
    let s23 = 0;
    return t17 < this.scrollElTop ? s23 = -10 : t17 > this.scrollElBottom && (s23 = g14), 0 !== s23 && this.scrollEl.scrollBy(0, s23), this.scrollEl.scrollTop - this.scrollElInitial;
  }
  render() {
    const t17 = g(this);
    return Ct(It, { key: "9527bbdedaab63d31f562c874a7332ea60c4b47b", class: { [t17]: true, "reorder-enabled": !this.disabled, "reorder-list-active": 0 !== this.state } });
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { disabled: [{ disabledChanged: 0 }] };
  }
  static get style() {
    return ".reorder-list-active>*{display:block;-webkit-transition:-webkit-transform 300ms;transition:-webkit-transform 300ms;transition:transform 300ms;transition:transform 300ms, -webkit-transform 300ms;will-change:transform}.reorder-enabled{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.reorder-enabled ion-reorder{display:block;cursor:-webkit-grab;cursor:grab;pointer-events:all;-ms-touch-action:none;touch-action:none}.reorder-selected,.reorder-selected ion-reorder{cursor:-webkit-grabbing;cursor:grabbing}.reorder-selected{position:relative;-webkit-transition:none !important;transition:none !important;-webkit-box-shadow:0 0 10px rgba(0, 0, 0, 0.4);box-shadow:0 0 10px rgba(0, 0, 0, 0.4);opacity:0.8;z-index:100}.reorder-visible ion-reorder .reorder-icon{-webkit-transform:translate3d(0,  0,  0);transform:translate3d(0,  0,  0)}";
  }
}, [0, "ion-reorder-group", { disabled: [4], state: [32], complete: [64] }, void 0, { disabled: [{ disabledChanged: 0 }] }]);
var u17 = (t17) => t17.$ionIndex;
var f24 = (t17, s23) => {
  let e16;
  for (; t17; ) {
    if (e16 = t17.parentElement, e16 === s23) return t17;
    t17 = e16;
  }
};
var p25 = 60;
var g14 = 10;
var w8 = "reorder-selected";
var k7 = (t17, s23, e16) => {
  const r32 = t17[s23];
  return t17.splice(s23, 1), t17.splice(e16, 0, r32), t17.slice();
};
var x12 = function() {
  "undefined" != typeof customElements && ["ion-reorder-group"].forEach(((t17) => {
    "ion-reorder-group" === t17 && (customElements.get(Zn(t17)) || customElements.define(Zn(t17), b15));
  }));
};

// node_modules/@ionic/core/components/ion-ripple-effect.js
var f25 = p7;

// node_modules/@ionic/core/components/ion-row.js
var n12 = Dn(class extends I {
  constructor(s23) {
    super(), false !== s23 && this.__registerHost(), this.__attachShadow();
  }
  render() {
    return Ct(It, { key: "8ba906a8cbea060a79ed658c9bf34906f0c11d38", class: g(this) }, Ct("slot", { key: "d1009176f45b588fa52c7d9eb336f3c6d3214bb8" }));
  }
  static get style() {
    return ":host{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}";
  }
}, [257, "ion-row"]);
var c29 = function() {
  "undefined" != typeof customElements && ["ion-row"].forEach(((s23) => {
    "ion-row" === s23 && (customElements.get(Zn(s23)) || customElements.define(Zn(s23), n12));
  }));
};

// node_modules/@ionic/core/components/ion-segment-button.js
var m26 = 0;
var u18 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.__attachShadow(), this.segmentEl = null, this.inheritedAttributes = {}, this.checked = false, this.disabled = false, this.layout = "icon-top", this.type = "button", this.value = "ion-sb-" + m26++, this.updateStyle = () => {
      Rn(this);
    }, this.updateState = () => {
      const { segmentEl: t18 } = this;
      t18 && (this.checked = t18.value === this.value, t18.disabled && (this.disabled = true));
    };
  }
  valueChanged() {
    this.updateState();
  }
  connectedCallback() {
    const t17 = this.segmentEl = this.el.closest("ion-segment");
    t17 && (this.updateState(), l(t17, "ionSelect", this.updateState), l(t17, "ionStyle", this.updateStyle)), this.contentId && this.disabled && (u("[ion-segment-button] - Segment buttons cannot be disabled when associated with an <ion-segment-content>."), this.disabled = false);
  }
  disconnectedCallback() {
    const t17 = this.segmentEl;
    t17 && (u2(t17, "ionSelect", this.updateState), u2(t17, "ionStyle", this.updateStyle), this.segmentEl = null);
  }
  componentWillLoad() {
    if (this.inheritedAttributes = Object.assign({}, n2(this.el, ["aria-label"])), !this.contentId) return;
    const t17 = document.getElementById(this.contentId);
    t17 ? "ION-SEGMENT-CONTENT" === t17.tagName || f(`[ion-segment-button] - Element with id="${this.contentId}" is not an <ion-segment-content> element.`) : f(`[ion-segment-button] - Unable to find Segment Content with id="${this.contentId}".`);
  }
  get hasLabel() {
    return !!this.el.querySelector("ion-label");
  }
  get hasIcon() {
    return !!this.el.querySelector("ion-icon");
  }
  setFocus() {
    return __async(this, null, function* () {
      const { nativeEl: t17 } = this;
      void 0 !== t17 && t17.focus();
    });
  }
  render() {
    const { checked: t17, type: o14, disabled: n15, hasIcon: e16, hasLabel: i16, layout: s23, segmentEl: c36 } = this, d25 = g(this);
    return Ct(It, { key: "f69e2a24198a7c57543dbe66902da039a6569c64", class: { [d25]: true, "in-toolbar": n5("ion-toolbar", this.el), "in-toolbar-color": n5("ion-toolbar[color]", this.el), "in-segment": n5("ion-segment", this.el), "in-segment-color": void 0 !== (null == c36 ? void 0 : c36.color), "segment-button-has-label": i16, "segment-button-has-icon": e16, "segment-button-has-label-only": i16 && !e16, "segment-button-has-icon-only": e16 && !i16, "segment-button-disabled": n15, "segment-button-checked": t17, ["segment-button-layout-" + s23]: true, "ion-activatable": true, "ion-activatable-instant": true, "ion-focusable": true } }, Ct("button", Object.assign({ key: "0a6fea3a374074af19f7ece0ba3a7cf1e269ab6d", "aria-selected": t17 ? "true" : "false", role: "tab", ref: (t18) => this.nativeEl = t18, type: o14, class: "button-native", part: "native", disabled: n15 }, this.inheritedAttributes), Ct("span", { key: "991018a38c59a6f3d76b2e952e5569c874d2c13e", class: "button-inner" }, Ct("slot", { key: "23c547c80108025027b913c7fcbec189286627a3" })), "md" === d25 && Ct("ion-ripple-effect", { key: "7faa9d06ab6aa7346d16b0b6808979759a79650c" })), Ct("div", { key: "0d61badf2c227dc38e20185b2b2bb590a5efa434", part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, Ct("div", { key: "a84035752b78491c344179d1e61d109fb4bd1cf1", part: "indicator-background", class: "segment-button-indicator-background" })));
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { value: [{ valueChanged: 0 }] };
  }
  static get style() {
    return { ios: ':host{--color:initial;--color-hover:var(--color);--color-checked:var(--color);--color-disabled:var(--color);--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;height:auto;background:var(--background);color:var(--color);text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;grid-row:1;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:0;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;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-webkit-transform:translate3d(0,  0,  0);transform:translate3d(0,  0,  0);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;min-width:inherit;max-width:inherit;height:auto;min-height:inherit;max-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:none;outline:none;background:transparent;contain:content;pointer-events:none;overflow:hidden;z-index:2}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}:host(.segment-button-checked){background:var(--background-checked);color:var(--color-checked)}:host(.segment-button-disabled){cursor:default;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(:focus){outline:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.segment-button-checked:hover) .button-native{color:var(--color-checked)}}::slotted(ion-icon){-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:-1;order:-1;pointer-events:none}::slotted(ion-label){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;line-height:22px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.segment-button-layout-icon-top) .button-native{-ms-flex-direction:column;flex-direction:column}:host(.segment-button-layout-icon-start) .button-native{-ms-flex-direction:row;flex-direction:row}:host(.segment-button-layout-icon-end) .button-native{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.segment-button-layout-icon-bottom) .button-native{-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.segment-button-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.segment-button-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color, var(--color-checked))}.segment-button-indicator{-webkit-transform-origin:left;transform-origin:left;position:absolute;opacity:0;-webkit-box-sizing:border-box;box-sizing:border-box;will-change:transform, opacity;pointer-events:none}.segment-button-indicator-background{width:100%;height:var(--indicator-height);-webkit-transform:var(--indicator-transform);transform:var(--indicator-transform);-webkit-box-shadow:var(--indicator-box-shadow);box-shadow:var(--indicator-box-shadow);pointer-events:none}.segment-button-indicator-animated{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked) .segment-button-indicator{opacity:1}@media (prefers-reduced-motion: reduce){.segment-button-indicator-background{-webkit-transform:none;transform:none}.segment-button-indicator-animated{-webkit-transition:none;transition:none}}:host{--background:none;--background-checked:none;--background-hover:none;--background-hover-opacity:0;--background-focused:none;--background-focused-opacity:0;--border-radius:7px;--border-width:1px;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--border-style:solid;--indicator-box-shadow:0 0 5px rgba(0, 0, 0, 0.16);--indicator-color:var(--ion-color-step-350, var(--ion-background-color-step-350, var(--ion-background-color, #fff)));--indicator-height:100%;--indicator-transition:transform 260ms cubic-bezier(0.4, 0, 0.2, 1);--indicator-transform:none;--transition:100ms all linear;--padding-top:0;--padding-end:13px;--padding-bottom:0;--padding-start:13px;margin-top:2px;margin-bottom:2px;position:relative;-ms-flex-direction:row;flex-direction:row;min-width:70px;min-height:28px;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);font-size:13px;font-weight:450;line-height:37px}:host::before{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px;-webkit-transition:160ms opacity ease-in-out;transition:160ms opacity ease-in-out;-webkit-transition-delay:100ms;transition-delay:100ms;border-left:var(--border-width) var(--border-style) var(--border-color);content:"";opacity:1;will-change:opacity}:host(:first-of-type)::before{border-left-color:transparent}:host(.segment-button-disabled){opacity:0.3}::slotted(ion-icon){font-size:24px}:host(.segment-button-layout-icon-start) ::slotted(ion-label){-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:0;margin-inline-end:0}:host(.segment-button-layout-icon-end) ::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:2px;margin-inline-end:2px}.segment-button-indicator{-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:2px;padding-inline-end:2px;left:0;right:0;top:0;bottom:0}.segment-button-indicator-background{border-radius:var(--border-radius);background:var(--indicator-color)}.segment-button-indicator-background{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked)::before,:host(.segment-button-after-checked)::before{opacity:0}:host(.segment-button-checked){z-index:-1}:host(.segment-button-activated){--indicator-transform:scale(0.95)}:host(.ion-focused) .button-native{opacity:0.7}@media (any-hover: hover){:host(:hover) .button-native{opacity:0.5}:host(.segment-button-checked:hover) .button-native{opacity:1}}:host(.in-segment-color){background:none;color:var(--ion-text-color, #000)}:host(.in-segment-color) .segment-button-indicator-background{background:var(--ion-color-step-350, var(--ion-background-color-step-350, var(--ion-background-color, #fff)))}@media (any-hover: hover){:host(.in-segment-color:hover) .button-native,:host(.in-segment-color.segment-button-checked:hover) .button-native{color:var(--ion-text-color, #000)}}:host(.in-toolbar:not(.in-segment-color)){--background-checked:var(--ion-toolbar-segment-background-checked, none);--color:var(--ion-toolbar-segment-color, var(--ion-toolbar-color), initial);--color-checked:var(--ion-toolbar-segment-color-checked, var(--ion-toolbar-color), initial);--indicator-color:var(--ion-toolbar-segment-indicator-color, var(--ion-color-step-350, var(--ion-background-color-step-350, var(--ion-background-color, #fff))))}:host(.in-toolbar-color) .segment-button-indicator-background{background:var(--ion-color-contrast)}:host(.in-toolbar-color:not(.in-segment-color)) .button-native{color:var(--ion-color-contrast)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color)) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.in-toolbar-color:not(.in-segment-color):hover) .button-native{color:var(--ion-color-contrast)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color):hover) .button-native{color:var(--ion-color-base)}}', md: ':host{--color:initial;--color-hover:var(--color);--color-checked:var(--color);--color-disabled:var(--color);--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;height:auto;background:var(--background);color:var(--color);text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;grid-row:1;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:0;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;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-webkit-transform:translate3d(0,  0,  0);transform:translate3d(0,  0,  0);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;min-width:inherit;max-width:inherit;height:auto;min-height:inherit;max-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:none;outline:none;background:transparent;contain:content;pointer-events:none;overflow:hidden;z-index:2}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}:host(.segment-button-checked){background:var(--background-checked);color:var(--color-checked)}:host(.segment-button-disabled){cursor:default;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(:focus){outline:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.segment-button-checked:hover) .button-native{color:var(--color-checked)}}::slotted(ion-icon){-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:-1;order:-1;pointer-events:none}::slotted(ion-label){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;line-height:22px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.segment-button-layout-icon-top) .button-native{-ms-flex-direction:column;flex-direction:column}:host(.segment-button-layout-icon-start) .button-native{-ms-flex-direction:row;flex-direction:row}:host(.segment-button-layout-icon-end) .button-native{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.segment-button-layout-icon-bottom) .button-native{-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.segment-button-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.segment-button-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color, var(--color-checked))}.segment-button-indicator{-webkit-transform-origin:left;transform-origin:left;position:absolute;opacity:0;-webkit-box-sizing:border-box;box-sizing:border-box;will-change:transform, opacity;pointer-events:none}.segment-button-indicator-background{width:100%;height:var(--indicator-height);-webkit-transform:var(--indicator-transform);transform:var(--indicator-transform);-webkit-box-shadow:var(--indicator-box-shadow);box-shadow:var(--indicator-box-shadow);pointer-events:none}.segment-button-indicator-animated{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked) .segment-button-indicator{opacity:1}@media (prefers-reduced-motion: reduce){.segment-button-indicator-background{-webkit-transform:none;transform:none}.segment-button-indicator-animated{-webkit-transition:none;transition:none}}:host{--background:none;--background-checked:none;--background-hover:var(--color-checked);--background-focused:var(--color-checked);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04;--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--color-checked:var(--ion-color-primary, #0054e9);--indicator-box-shadow:none;--indicator-color:var(--color-checked);--indicator-height:2px;--indicator-transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1);--indicator-transform:none;--padding-top:0;--padding-end:16px;--padding-bottom:0;--padding-start:16px;--transition:color 0.15s linear 0s, opacity 0.15s linear 0s;min-width:90px;min-height:48px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);font-size:14px;font-weight:500;letter-spacing:0.06em;line-height:40px;text-transform:uppercase}:host(.segment-button-disabled){opacity:0.3}:host(.in-segment-color){background:none;color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6)}:host(.in-segment-color) ion-ripple-effect{color:var(--ion-color-base)}:host(.in-segment-color) .segment-button-indicator-background{background:var(--ion-color-base)}:host(.in-segment-color.segment-button-checked) .button-native{color:var(--ion-color-base)}:host(.in-segment-color.ion-focused) .button-native::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.in-segment-color:hover) .button-native{color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6)}:host(.in-segment-color:hover) .button-native::after{background:var(--ion-color-base)}:host(.in-segment-color.segment-button-checked:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-segment-color)){--background:var(--ion-toolbar-segment-background, none);--background-checked:var(--ion-toolbar-segment-background-checked, none);--color:var(--ion-toolbar-segment-color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6));--color-checked:var(--ion-toolbar-segment-color-checked, var(--ion-color-primary, #0054e9));--indicator-color:var(--ion-toolbar-segment-color-checked, var(--color-checked))}:host(.in-toolbar-color:not(.in-segment-color)) .button-native{color:rgba(var(--ion-color-contrast-rgb), 0.6)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color)) .button-native{color:var(--ion-color-contrast)}@media (any-hover: hover){:host(.in-toolbar-color:not(.in-segment-color)) .button-native::after{background:var(--ion-color-contrast)}}::slotted(ion-icon){margin-top:12px;margin-bottom:12px;font-size:24px}::slotted(ion-label){margin-top:12px;margin-bottom:12px}:host(.segment-button-layout-icon-top) ::slotted(ion-label),:host(.segment-button-layout-icon-bottom) ::slotted(ion-icon){margin-top:0}:host(.segment-button-layout-icon-top) ::slotted(ion-icon),:host(.segment-button-layout-icon-bottom) ::slotted(ion-label){margin-bottom:0}:host(.segment-button-layout-icon-start) ::slotted(ion-label){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:0;margin-inline-end:0}:host(.segment-button-layout-icon-end) ::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px}:host(.segment-button-has-icon-only) ::slotted(ion-icon){margin-top:12px;margin-bottom:12px}:host(.segment-button-has-label-only) ::slotted(ion-label){margin-top:12px;margin-bottom:12px}.segment-button-indicator{left:0;right:0;bottom:0}.segment-button-indicator-background{background:var(--indicator-color)}:host(.in-toolbar:not(.in-segment-color)) .segment-button-indicator-background{background:var(--ion-toolbar-segment-indicator-color, var(--indicator-color))}:host(.in-toolbar-color:not(.in-segment-color)) .segment-button-indicator-background{background:var(--ion-color-contrast)}' };
  }
}, [289, "ion-segment-button", { contentId: [513, "content-id"], disabled: [1028], layout: [1], type: [1], value: [8], checked: [32], setFocus: [64] }, void 0, { value: [{ valueChanged: 0 }] }]);
var p26 = function() {
  "undefined" != typeof customElements && ["ion-segment-button", "ion-ripple-effect"].forEach(((t17) => {
    switch (t17) {
      case "ion-segment-button":
        customElements.get(Zn(t17)) || customElements.define(Zn(t17), u18);
        break;
      case "ion-ripple-effect":
        customElements.get(Zn(t17)) || p7();
    }
  }));
};

// node_modules/@ionic/core/components/ion-segment-content.js
var c30 = Dn(class extends I {
  constructor(e16) {
    super(), false !== e16 && this.__registerHost(), this.__attachShadow();
  }
  render() {
    return Ct(It, { key: "665f41a854621f898eaf7ba9a49e77cc9326501e" }, Ct("slot", { key: "635aa57fbf6167dcd36fe8dc5dfc1c313637ac04" }));
  }
  static get style() {
    return ":host{scroll-snap-align:center;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%;min-height:1px;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none;}:host::-webkit-scrollbar{display:none}";
  }
}, [257, "ion-segment-content"]);
var r25 = function() {
  "undefined" != typeof customElements && ["ion-segment-content"].forEach(((e16) => {
    "ion-segment-content" === e16 && (customElements.get(Zn(e16)) || customElements.define(Zn(e16), c30));
  }));
};

// node_modules/@ionic/core/components/ion-segment-view.js
var a16 = Dn(class extends I {
  constructor(e16) {
    super(), false !== e16 && this.__registerHost(), this.__attachShadow(), this.ionSegmentViewScroll = Jt(this, "ionSegmentViewScroll", 7), this.scrollEndTimeout = null, this.isTouching = false, this.disabled = false, this.swipeGesture = true;
  }
  handleScroll(e16) {
    var t17;
    const { scrollLeft: s23, scrollWidth: o14, clientWidth: i16 } = e16.target, l27 = o14 - i16, a17 = (o4(this.el) ? -1 : 1) * (s23 / l27);
    this.ionSegmentViewScroll.emit({ scrollRatio: a17, isManualScroll: null === (t17 = this.isManualScroll) || void 0 === t17 || t17 }), this.resetScrollEndTimeout();
  }
  handleScrollStart() {
    this.scrollEndTimeout && (clearTimeout(this.scrollEndTimeout), this.scrollEndTimeout = null), this.isTouching = true;
  }
  handleTouchEnd() {
    this.isTouching = false;
  }
  resetScrollEndTimeout() {
    this.scrollEndTimeout && (clearTimeout(this.scrollEndTimeout), this.scrollEndTimeout = null), this.scrollEndTimeout = setTimeout((() => {
      this.checkForScrollEnd();
    }), 100);
  }
  checkForScrollEnd() {
    this.isTouching || (this.isManualScroll = void 0);
  }
  setContent(e16, t17 = true) {
    return __async(this, null, function* () {
      const s23 = this.getSegmentContents().findIndex(((t18) => t18.id === e16));
      if (-1 === s23) return;
      this.isManualScroll = false, this.resetScrollEndTimeout();
      const o14 = s23 * this.el.offsetWidth;
      this.el.scrollTo({ top: 0, left: (o4(this.el) ? -1 : 1) * o14, behavior: t17 ? "smooth" : "instant" });
    });
  }
  getSegmentContents() {
    return Array.from(this.el.querySelectorAll("ion-segment-content"));
  }
  render() {
    const { disabled: e16, isManualScroll: t17, swipeGesture: s23 } = this;
    return Ct(It, { key: "2a6e0a1046af75b1fa0eed20a5fbbb4634480297", class: { "segment-view-disabled": e16, "segment-view-scroll-disabled": false === t17, "segment-view-swipe-disabled": false === s23 } }, Ct("slot", { key: "644b60d179d0de3fa204e3bef26a3503ceeaf1d6" }));
  }
  get el() {
    return this;
  }
  static get style() {
    return { ios: ":host{display:-ms-flexbox;display:flex;height:100%;overflow-x:scroll;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none}:host::-webkit-scrollbar{display:none}:host(.segment-view-disabled),:host(.segment-view-swipe-disabled){-ms-touch-action:none;touch-action:none;overflow-x:hidden}:host(.segment-view-scroll-disabled){pointer-events:none}:host(.segment-view-disabled){opacity:0.3}", md: ":host{display:-ms-flexbox;display:flex;height:100%;overflow-x:scroll;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none}:host::-webkit-scrollbar{display:none}:host(.segment-view-disabled),:host(.segment-view-swipe-disabled){-ms-touch-action:none;touch-action:none;overflow-x:hidden}:host(.segment-view-scroll-disabled){pointer-events:none}:host(.segment-view-disabled){opacity:0.3}" };
  }
}, [289, "ion-segment-view", { disabled: [4], swipeGesture: [4, "swipe-gesture"], isManualScroll: [32], setContent: [64] }, [[1, "scroll", "handleScroll"], [1, "touchstart", "handleScrollStart"], [1, "touchend", "handleTouchEnd"]]]);
var h15 = function() {
  "undefined" != typeof customElements && ["ion-segment-view"].forEach(((e16) => {
    "ion-segment-view" === e16 && (customElements.get(Zn(e16)) || customElements.define(Zn(e16), a16));
  }));
};

// node_modules/@ionic/core/components/p-DJztqcrH.js
var n13 = (n15) => {
  const o14 = n15.classList.contains("ion-touched"), t17 = n15.classList.contains("ion-invalid");
  return o14 && t17;
};

// node_modules/@ionic/core/components/p-SBseW5KJ.js
var p27 = Dn(class extends I {
  constructor(e16) {
    super(), false !== e16 && this.__registerHost(), this.__attachShadow(), this.ionChange = Jt(this, "ionChange", 7), this.ionFocus = Jt(this, "ionFocus", 7), this.ionBlur = Jt(this, "ionBlur", 7), this.inputId = "ion-cb-" + x13++, this.inputLabelId = `${this.inputId}-lbl`, this.helperTextId = `${this.inputId}-helper-text`, this.errorTextId = `${this.inputId}-error-text`, this.inheritedAttributes = {}, this.name = this.inputId, this.checked = false, this.indeterminate = false, this.disabled = false, this.value = "on", this.labelPlacement = "start", this.required = false, this.isInvalid = false, this.hasLabelContent = false, this.setChecked = (e17) => {
      const t17 = this.checked = e17;
      this.ionChange.emit({ checked: t17, value: this.value });
    }, this.toggleChecked = (e17) => {
      e17.preventDefault(), this.setChecked(!this.checked), this.indeterminate = false;
    }, this.onFocus = () => {
      this.ionFocus.emit();
    }, this.onBlur = () => {
      this.ionBlur.emit();
    }, this.onKeyDown = (e17) => {
      " " === e17.key && (e17.preventDefault(), this.disabled || this.toggleChecked(e17));
    }, this.onClick = (e17) => {
      this.disabled || this.toggleChecked(e17);
    }, this.onDivLabelClick = (e17) => {
      e17.stopPropagation();
    };
  }
  connectedCallback() {
    const { el: e16 } = this;
    "undefined" != typeof MutationObserver && (this.validationObserver = new MutationObserver(((t17) => {
      if (t17.some(((e17) => "characterData" === e17.type || "childList" === e17.type)) && (this.hasLabelContent = "" !== this.el.textContent), t17.some(((t18) => "attributes" === t18.type && t18.target === e16))) {
        const t18 = n13(e16);
        this.isInvalid !== t18 && (this.isInvalid = t18, Promise.resolve().then((() => {
          this.hintTextId = this.getHintTextId();
        })));
      }
    })), this.validationObserver.observe(e16, { attributes: true, attributeFilter: ["class"], characterData: true, childList: true, subtree: true })), this.isInvalid = n13(e16), this.hasLabelContent = "" !== this.el.textContent;
  }
  componentWillLoad() {
    this.inheritedAttributes = Object.assign({}, s2(this.el)), this.hintTextId = this.getHintTextId();
  }
  disconnectedCallback() {
    this.validationObserver && (this.validationObserver.disconnect(), this.validationObserver = void 0);
  }
  setFocus() {
    return __async(this, null, function* () {
      this.el.focus();
    });
  }
  getHintTextId() {
    const { helperText: e16, errorText: t17, helperTextId: r32, errorTextId: o14, isInvalid: c36 } = this;
    return c36 && t17 ? o14 : e16 ? r32 : void 0;
  }
  renderHintText() {
    const { helperText: e16, errorText: t17, helperTextId: r32, errorTextId: c36, isInvalid: i16 } = this;
    if (e16 || t17) return Ct("div", { class: "checkbox-bottom" }, Ct("div", { id: r32, class: "helper-text", part: "supporting-text helper-text", "aria-live": "polite" }, i16 ? null : e16), Ct("div", { id: c36, class: "error-text", part: "supporting-text error-text", role: "alert" }, i16 ? t17 : null));
  }
  render() {
    const { color: e16, checked: t17, disabled: r32, el: i16, getSVGPath: a17, indeterminate: s23, inheritedAttributes: p33, inputId: x16, justify: d25, labelPlacement: k12, name: m28, value: f27, alignment: g20, required: w12 } = this, u21 = g(this), v18 = a17(u21, s23);
    return f2(true, i16, m28, t17 ? f27 : "", r32), Ct(It, { key: "0da370f94c5cdf3b08bc9008395558334a300f35", role: "checkbox", "aria-checked": s23 ? "mixed" : `${t17}`, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? "true" : void 0, "aria-labelledby": this.hasLabelContent ? this.inputLabelId : null, "aria-label": p33["aria-label"] || null, "aria-disabled": r32 ? "true" : null, "aria-required": w12 ? "true" : void 0, tabindex: r32 ? void 0 : 0, onKeyDown: this.onKeyDown, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: o6(e16, { [u21]: true, "in-item": n5("ion-item", i16), "checkbox-checked": t17, "checkbox-disabled": r32, "checkbox-indeterminate": s23, interactive: true, [`checkbox-justify-${d25}`]: void 0 !== d25, [`checkbox-alignment-${g20}`]: void 0 !== g20, [`checkbox-label-placement-${k12}`]: true }) }, Ct("label", { key: "991f1763356671230af119a5fbdc22d0a39974e7", class: "checkbox-wrapper", htmlFor: x16 }, Ct("input", Object.assign({ key: "982f8a7f84d013b272b17607936355d2b6c251f4", type: "checkbox", checked: !!t17 || void 0, disabled: r32, id: x16, onChange: this.toggleChecked, required: w12 }, p33)), Ct("div", { key: "c8f9e8baa20ac68e69fd3c6fcf0e7a26a1084d83", class: { "label-text-wrapper": true, "label-text-wrapper-hidden": !this.hasLabelContent }, part: "label", id: this.inputLabelId, onClick: this.onDivLabelClick }, Ct("slot", { key: "6018205e0a73dec826c7881d687f1c2ca8dcb0ab" }), this.renderHintText()), Ct("div", { key: "57530b9d6ff59ee7ab98f960cd65d66ee87cfd1d", class: "native-wrapper" }, Ct("svg", { key: "63d719154ff44459e9ca448e3f5d7de94d9ab248", class: "checkbox-icon", viewBox: "0 0 24 24", part: "container", "aria-hidden": "true" }, v18))));
  }
  getSVGPath(e16, t17) {
    let r32 = Ct("path", t17 ? { d: "M6 12L18 12", part: "mark" } : { d: "M5.9,12.5l3.8,3.8l8.8-8.8", part: "mark" });
    return "md" === e16 && (r32 = Ct("path", t17 ? { d: "M2 12H22", part: "mark" } : { d: "M1.73,12.91 8.1,19.28 22.79,4.59", part: "mark" })), r32;
  }
  get el() {
    return this;
  }
  static get style() {
    return { ios: ":host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper,:host(.in-item:not(.checkbox-label-placement-stacked):not([slot])) .native-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}.checkbox-bottom{padding-top:4px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75rem;white-space:normal}:host(.checkbox-label-placement-stacked) .checkbox-bottom{font-size:1rem}.checkbox-bottom .error-text{display:none;color:var(--ion-color-danger, #c5000f)}.checkbox-bottom .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}:host(.ion-touched.ion-invalid) .checkbox-bottom .error-text{display:block}:host(.ion-touched.ion-invalid) .checkbox-bottom .helper-text{display:none}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-pack:start;justify-content:start}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column;text-align:center}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-justify-space-between),:host(.checkbox-justify-start),:host(.checkbox-justify-end),:host(.checkbox-alignment-start),:host(.checkbox-alignment-center){display:block}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:50%;--border-width:0.125rem;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.23);--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--size:min(1.375rem, 55.836px);--checkmark-width:1.5px}:host(.checkbox-disabled){opacity:0.3}", md: ":host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper,:host(.in-item:not(.checkbox-label-placement-stacked):not([slot])) .native-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}.checkbox-bottom{padding-top:4px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75rem;white-space:normal}:host(.checkbox-label-placement-stacked) .checkbox-bottom{font-size:1rem}.checkbox-bottom .error-text{display:none;color:var(--ion-color-danger, #c5000f)}.checkbox-bottom .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}:host(.ion-touched.ion-invalid) .checkbox-bottom .error-text{display:block}:host(.ion-touched.ion-invalid) .checkbox-bottom .helper-text{display:none}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-pack:start;justify-content:start}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column;text-align:center}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-justify-space-between),:host(.checkbox-justify-start),:host(.checkbox-justify-end),:host(.checkbox-alignment-start),:host(.checkbox-alignment-center){display:block}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-radius:calc(var(--size) * .125);--border-width:2px;--border-style:solid;--border-color:rgb(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--checkmark-width:3;--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--transition:background 180ms cubic-bezier(0.4, 0, 0.2, 1);--size:18px}.checkbox-icon path{stroke-dasharray:30;stroke-dashoffset:30}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{stroke-dashoffset:0;-webkit-transition:stroke-dashoffset 90ms linear 90ms;transition:stroke-dashoffset 90ms linear 90ms}:host(.checkbox-disabled) .label-text-wrapper{opacity:0.38}:host(.checkbox-disabled) .native-wrapper{opacity:0.63}" };
  }
}, [289, "ion-checkbox", { color: [513], name: [1], checked: [1028], indeterminate: [1028], disabled: [4], errorText: [1, "error-text"], helperText: [1, "helper-text"], value: [8], labelPlacement: [1, "label-placement"], justify: [1], alignment: [1], required: [4], isInvalid: [32], hasLabelContent: [32], hintTextId: [32], setFocus: [64] }]);
var x13 = 0;
function d18() {
  "undefined" != typeof customElements && ["ion-checkbox"].forEach(((e16) => {
    "ion-checkbox" === e16 && (customElements.get(Zn(e16)) || customElements.define(Zn(e16), p27));
  }));
}

// node_modules/@ionic/core/components/p-Bk2zuNWT.js
var d19 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.ionChange = Jt(this, "ionChange", 7), this.ionValueChange = Jt(this, "ionValueChange", 7), this.inputId = "ion-rg-" + h16++, this.helperTextId = `${this.inputId}-helper-text`, this.errorTextId = `${this.inputId}-error-text`, this.labelId = `${this.inputId}-lbl`, this.isInvalid = false, this.allowEmptySelection = false, this.name = this.inputId, this.setRadioTabindex = (t18) => {
      const i16 = this.getRadios(), e16 = i16.find(((t19) => !t19.disabled)), o14 = i16.find(((i17) => i17.value === t18 && !i17.disabled));
      if (!e16 && !o14) return;
      const r32 = o14 || e16;
      for (const t19 of i16) t19.setButtonTabindex(t19 === r32 ? 0 : -1);
    }, this.onClick = (t18) => {
      t18.preventDefault();
      const i16 = t18.target && t18.target.closest("ion-radio");
      if (i16 && !i16.disabled) {
        const e16 = i16.value;
        e16 !== this.value ? (this.value = e16, this.emitValueChange(t18)) : this.allowEmptySelection && (this.value = void 0, this.emitValueChange(t18));
      }
    };
  }
  valueChanged(t17) {
    this.setRadioTabindex(t17), this.ionValueChange.emit({ value: t17 });
  }
  componentDidLoad() {
    this.valueChanged(this.value);
  }
  connectedCallback() {
    return __async(this, null, function* () {
      const t17 = this.el.querySelector("ion-list-header") || this.el.querySelector("ion-item-divider");
      if (t17) {
        const i16 = this.label = t17.querySelector("ion-label");
        i16 && (this.labelId = i16.id = this.name + "-lbl");
      }
      "undefined" != typeof MutationObserver && (this.validationObserver = new MutationObserver((() => {
        const t18 = n13(this.el);
        this.isInvalid !== t18 && (this.isInvalid = t18, Promise.resolve().then((() => {
          this.hintTextId = this.getHintTextId();
        })));
      })), this.validationObserver.observe(this.el, { attributes: true, attributeFilter: ["class"] })), this.isInvalid = n13(this.el);
    });
  }
  componentWillLoad() {
    this.hintTextId = this.getHintTextId();
  }
  disconnectedCallback() {
    this.validationObserver && (this.validationObserver.disconnect(), this.validationObserver = void 0);
  }
  getRadios() {
    return Array.from(this.el.querySelectorAll("ion-radio"));
  }
  emitValueChange(t17) {
    const { value: i16 } = this;
    this.ionChange.emit({ value: i16, event: t17 });
  }
  onKeydown(t17) {
    const i16 = !!this.el.closest("ion-select-popover") || !!this.el.closest("ion-select-modal");
    if (t17.target && !this.el.contains(t17.target)) return;
    const e16 = this.getRadios().filter(((t18) => !t18.disabled));
    if (t17.target && e16.includes(t17.target)) {
      const o14 = e16.findIndex(((i17) => i17 === t17.target)), r32 = e16[o14];
      let s23;
      if (["ArrowDown", "ArrowRight"].includes(t17.key) && (s23 = o14 === e16.length - 1 ? e16[0] : e16[o14 + 1]), ["ArrowUp", "ArrowLeft"].includes(t17.key) && (s23 = 0 === o14 ? e16[e16.length - 1] : e16[o14 - 1]), s23 && e16.includes(s23) && (s23.setFocus(t17), i16 || (this.value = s23.value, this.emitValueChange(t17))), [" "].includes(t17.key)) {
        const i17 = this.value;
        this.value = this.allowEmptySelection && void 0 !== this.value ? void 0 : r32.value, (i17 !== this.value || this.allowEmptySelection) && this.emitValueChange(t17), t17.preventDefault();
      }
    }
  }
  setFocus() {
    return __async(this, null, function* () {
      const t17 = this.getRadios().find(((t18) => -1 !== t18.tabIndex));
      null == t17 || t17.setFocus();
    });
  }
  renderHintText() {
    const { helperText: t17, errorText: i16, helperTextId: e16, errorTextId: r32, isInvalid: s23 } = this;
    if (t17 || i16) return Ct("div", { class: "radio-group-top" }, Ct("div", { id: e16, class: "helper-text", "aria-live": "polite" }, s23 ? null : t17), Ct("div", { id: r32, class: "error-text", role: "alert" }, s23 ? i16 : null));
  }
  getHintTextId() {
    const { helperText: t17, errorText: i16, helperTextId: e16, errorTextId: o14, isInvalid: r32 } = this;
    return r32 && i16 ? o14 : t17 ? e16 : void 0;
  }
  render() {
    const { label: t17, labelId: i16, el: e16, name: s23, value: a17 } = this, d25 = g(this);
    return f2(true, e16, s23, a17, false), Ct(It, { key: "db593b3ed511e9395e3c7bfd91b787328692cd6d", role: "radiogroup", "aria-labelledby": t17 ? i16 : null, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? "true" : void 0, onClick: this.onClick, class: d25 }, this.renderHintText(), Ct("slot", { key: "d683b01c1ba34fe843c4b320bce4661a117472a5" }));
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { value: [{ valueChanged: 0 }] };
  }
  static get style() {
    return { ios: "ion-radio-group{vertical-align:top}.radio-group-top{line-height:1.5}.radio-group-top .error-text{display:none;color:var(--ion-color-danger, #c5000f)}.radio-group-top .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}.ion-touched.ion-invalid .radio-group-top .error-text{display:block}.ion-touched.ion-invalid .radio-group-top .helper-text{display:none}ion-list .radio-group-top{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}", md: "ion-radio-group{vertical-align:top}.radio-group-top{line-height:1.5}.radio-group-top .error-text{display:none;color:var(--ion-color-danger, #c5000f)}.radio-group-top .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}.ion-touched.ion-invalid .radio-group-top .error-text{display:block}.ion-touched.ion-invalid .radio-group-top .helper-text{display:none}ion-list .radio-group-top{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}" };
  }
}, [292, "ion-radio-group", { allowEmptySelection: [4, "allow-empty-selection"], compareWith: [1, "compare-with"], name: [1], value: [1032], helperText: [1, "helper-text"], errorText: [1, "error-text"], isInvalid: [32], hintTextId: [32], setFocus: [64] }, [[4, "keydown", "onKeydown"]], { value: [{ valueChanged: 0 }] }]);
var h16 = 0;
function p28() {
  "undefined" != typeof customElements && ["ion-radio-group"].forEach(((t17) => {
    "ion-radio-group" === t17 && (customElements.get(Zn(t17)) || customElements.define(Zn(t17), d19));
  }));
}

// node_modules/@ionic/core/components/p-CgfaEEem.js
var s22 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.__attachShadow(), this.ionStyle = Jt(this, "ionStyle", 7);
  }
  sizeChanged() {
    this.emitStyle();
  }
  connectedCallback() {
    this.emitStyle();
  }
  emitStyle() {
    const t17 = this.getSize();
    this.ionStyle.emit({ [`title-${t17}`]: true });
  }
  getSize() {
    return void 0 !== this.size ? this.size : "default";
  }
  render() {
    const t17 = g(this), i16 = this.getSize();
    return Ct(It, { key: "44e63f8439df64c470692904427b417e19406476", class: o6(this.color, { [t17]: true, [`title-${i16}`]: true, "title-rtl": "rtl" === document.dir }) }, Ct("div", { key: "784cf60a0db16045391891cc8fad0c7dbeba4039", class: "toolbar-title" }, Ct("slot", { key: "0c720a50479ba257e8756337aeb9b0ab7516a227" })));
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { size: [{ sizeChanged: 0 }] };
  }
  static get style() {
    return { ios: ":host{--color:initial;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}.toolbar-title{display:block;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;pointer-events:auto}:host(.title-small) .toolbar-title{white-space:normal}:host{top:0;-webkit-padding-start:90px;padding-inline-start:90px;-webkit-padding-end:90px;padding-inline-end:90px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);position:absolute;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0);font-size:min(1.0625rem, 20.4px);font-weight:600;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host{inset-inline-start:0}:host(.title-small){-webkit-padding-start:9px;padding-inline-start:9px;-webkit-padding-end:9px;padding-inline-end:9px;padding-top:6px;padding-bottom:16px;position:relative;font-size:min(0.8125rem, 23.4px);font-weight:normal}:host(.title-large){-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:2px;padding-bottom:4px;-webkit-transform-origin:left center;transform-origin:left center;position:static;-ms-flex-align:end;align-items:flex-end;min-width:100%;font-size:min(2.125rem, 61.2px);font-weight:700;text-align:start}:host(.title-large.title-rtl){-webkit-transform-origin:right center;transform-origin:right center}:host(.title-large.ion-cloned-element){--color:var(--ion-text-color, #000);font-family:var(--ion-font-family)}:host(.title-large) .toolbar-title{-webkit-transform-origin:inherit;transform-origin:inherit;width:auto}:host-context([dir=rtl]):host(.title-large) .toolbar-title,:host-context([dir=rtl]).title-large .toolbar-title{-webkit-transform-origin:calc(100% - inherit);transform-origin:calc(100% - inherit)}@supports selector(:dir(rtl)){:host(.title-large:dir(rtl)) .toolbar-title{-webkit-transform-origin:calc(100% - inherit);transform-origin:calc(100% - inherit)}}", md: ":host{--color:initial;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}.toolbar-title{display:block;width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;pointer-events:auto}:host(.title-small) .toolbar-title{white-space:normal}:host{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:0;padding-bottom:0;font-size:1.25rem;font-weight:500;letter-spacing:0.0125em}:host(.title-small){width:100%;height:100%;font-size:0.9375rem;font-weight:normal}" };
  }
}, [289, "ion-title", { color: [513], size: [1] }, void 0, { size: [{ sizeChanged: 0 }] }]);
function d20() {
  "undefined" != typeof customElements && ["ion-title"].forEach(((t17) => {
    "ion-title" === t17 && (customElements.get(Zn(t17)) || customElements.define(Zn(t17), s22));
  }));
}

// node_modules/@ionic/core/components/p-DJMZehmW.js
var l25 = Dn(class extends I {
  constructor(o14) {
    super(), false !== o14 && this.__registerHost(), this.__attachShadow(), this.childrenStyles = /* @__PURE__ */ new Map();
  }
  componentWillLoad() {
    const o14 = Array.from(this.el.querySelectorAll("ion-buttons")), t17 = o14.find(((o15) => "start" === o15.slot));
    t17 && t17.classList.add("buttons-first-slot");
    const r32 = o14.reverse(), e16 = r32.find(((o15) => "end" === o15.slot)) || r32.find(((o15) => "primary" === o15.slot)) || r32.find(((o15) => "secondary" === o15.slot));
    e16 && e16.classList.add("buttons-last-slot");
  }
  childrenStyle(o14) {
    o14.stopPropagation();
    const t17 = o14.target.tagName, e16 = o14.detail, a17 = {}, n15 = this.childrenStyles.get(t17) || {};
    let i16 = false;
    Object.keys(e16).forEach(((o15) => {
      const t18 = `toolbar-${o15}`, r32 = e16[o15];
      r32 !== n15[t18] && (i16 = true), r32 && (a17[t18] = true);
    })), i16 && (this.childrenStyles.set(t17, a17), Rn(this));
  }
  render() {
    const o14 = g(this), t17 = {};
    return this.childrenStyles.forEach(((o15) => {
      Object.assign(t17, o15);
    })), Ct(It, { key: "b849db2863778dee6c5a251bffa1b3a657aeb036", class: Object.assign(Object.assign({}, t17), o6(this.color, { [o14]: true, "in-toolbar": n5("ion-toolbar", this.el) })) }, Ct("div", { key: "67f5bba9c4f527c3f35bfe1313a2b85741f9b246", class: "toolbar-background", part: "background" }), Ct("div", { key: "085e8c68f056e5b0deb9d1606431fbeb45dae8e5", class: "toolbar-container", part: "container" }, Ct("slot", { key: "15227c79c3baf883fd8c43fdb7e1313453933c79", name: "start" }), Ct("slot", { key: "0b8a7f7e685aa31c80d9bc03446ccc3a9d07e0e8", name: "secondary" }), Ct("div", { key: "57e4628c1fa89df79dd80456259db961bb691404", class: "toolbar-content", part: "content" }, Ct("slot", { key: "82c2f6e1acf8d96db259bd8baf295881801edbd5" })), Ct("slot", { key: "b2d4afb15214199f206c0a5e08b581e4c9c2f58a", name: "primary" }), Ct("slot", { key: "bfb909a0c472f8834046c2ea23bef2f562167ad3", name: "end" })));
  }
  get el() {
    return this;
  }
  static get style() {
    return { ios: ":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end: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}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-color-step-50, var(--ion-background-color-step-50, #f7f7f7)));--color:var(--ion-toolbar-color, var(--ion-text-color, #000));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.2)))));--padding-top:3px;--padding-bottom:3px;--padding-start:4px;--padding-end:4px;--min-height:44px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:4;order:4;min-width:0}:host(.toolbar-segment) .toolbar-content{display:-ms-inline-flexbox;display:inline-flex}:host(.toolbar-searchbar) .toolbar-container{padding-top:0;padding-bottom:0}:host(.toolbar-searchbar) ::slotted(*){-ms-flex-item-align:start;align-self:start}:host(.toolbar-searchbar) ::slotted(ion-chip){margin-top:3px}::slotted(ion-buttons){min-height:38px}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:3;order:3}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}:host(.toolbar-title-large) .toolbar-container{-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:start;align-items:flex-start}:host(.toolbar-title-large) .toolbar-content ion-title{-ms-flex:1;flex:1;-ms-flex-order:8;order:8;min-width:100%}", md: ":host{--border-width:0;--border-style:solid;--opacity:1;--opacity-scale:1;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;padding-right:var(--ion-safe-area-right);padding-left:var(--ion-safe-area-left);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;z-index:10;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.ion-color){color:var(--ion-color-contrast)}:host(.ion-color) .toolbar-background{background:var(--ion-color-base)}.toolbar-container{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end: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}.toolbar-background{left:0;right:0;top:0;bottom:0;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);contain:strict;opacity:calc(var(--opacity) * var(--opacity-scale));z-index:-1;pointer-events:none}::slotted(ion-progress-bar){left:0;right:0;bottom:0;position:absolute}:host{--background:var(--ion-toolbar-background, var(--ion-background-color, #fff));--color:var(--ion-toolbar-color, var(--ion-text-color, #424242));--border-color:var(--ion-toolbar-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, #c1c4cd))));--padding-top:0;--padding-bottom:0;--padding-start:0;--padding-end:0;--min-height:56px}.toolbar-content{-ms-flex:1;flex:1;-ms-flex-order:3;order:3;min-width:0;max-width:100%}::slotted(.buttons-first-slot){-webkit-margin-start:4px;margin-inline-start:4px}::slotted(.buttons-last-slot){-webkit-margin-end:4px;margin-inline-end:4px}::slotted([slot=start]){-ms-flex-order:2;order:2}::slotted([slot=secondary]){-ms-flex-order:4;order:4}::slotted([slot=primary]){-ms-flex-order:5;order:5;text-align:end}::slotted([slot=end]){-ms-flex-order:6;order:6;text-align:end}" };
  }
}, [289, "ion-toolbar", { color: [513] }, [[0, "ionStyle", "childrenStyle"]]]);
function b16() {
  "undefined" != typeof customElements && ["ion-toolbar"].forEach(((o14) => {
    "ion-toolbar" === o14 && (customElements.get(Zn(o14)) || customElements.define(Zn(o14), l25));
  }));
}

// node_modules/@ionic/core/components/p-BTF2nRLo.js
var x14 = Dn(class extends I {
  constructor(o14) {
    super(), false !== o14 && this.__registerHost(), this.cancelText = "Close", this.options = [];
  }
  closeModal() {
    const o14 = this.el.closest("ion-modal");
    o14 && o14.dismiss();
  }
  findOptionFromEvent(o14) {
    const { options: e16 } = this;
    return e16.find(((e17) => e17.value === o14.target.value));
  }
  getValues(o14) {
    const { multiple: e16, options: i16 } = this;
    if (e16) return i16.filter(((o15) => o15.checked)).map(((o15) => o15.value));
    const t17 = o14 ? this.findOptionFromEvent(o14) : null;
    return t17 ? t17.value : void 0;
  }
  callOptionHandler(o14) {
    const e16 = this.findOptionFromEvent(o14), i16 = this.getValues(o14);
    (null == e16 ? void 0 : e16.handler) && _2(e16.handler, i16);
  }
  setChecked(o14) {
    const { multiple: e16 } = this, i16 = this.findOptionFromEvent(o14);
    e16 && i16 && (i16.checked = o14.detail.checked);
  }
  renderRadioOptions() {
    const o14 = this.options.filter(((o15) => o15.checked)).map(((o15) => o15.value))[0];
    return Ct("ion-radio-group", { value: o14, onIonChange: (o15) => this.callOptionHandler(o15) }, this.options.map(((e16) => Ct("ion-item", { lines: "none", class: Object.assign({ "item-radio-checked": e16.value === o14 }, r5(e16.cssClass)) }, Ct("ion-radio", { value: e16.value, disabled: e16.disabled, justify: "start", labelPlacement: "end", onClick: () => this.closeModal(), onKeyUp: (o15) => {
      " " === o15.key && this.closeModal();
    } }, e16.text)))));
  }
  renderCheckboxOptions() {
    return this.options.map(((o14) => Ct("ion-item", { class: Object.assign({ "item-checkbox-checked": o14.checked }, r5(o14.cssClass)) }, Ct("ion-checkbox", { value: o14.value, disabled: o14.disabled, checked: o14.checked, justify: "start", labelPlacement: "end", onIonChange: (o15) => {
      this.setChecked(o15), this.callOptionHandler(o15), Rn(this);
    } }, o14.text))));
  }
  render() {
    return Ct(It, { key: "f8a4cd6ff23ff01eaa1bdaf3c046814e7b30b23b", class: g(this) }, Ct("ion-header", { key: "9e29a7e57ad5cf332641111882f16852187ec8ba" }, Ct("ion-toolbar", { key: "e6af5d6eabbf4b10799fc8a0b8f91d29b12d41f5" }, void 0 !== this.header && Ct("ion-title", { key: "6056e52d15dbf307571d25e0305d67228a79237d" }, this.header), Ct("ion-buttons", { key: "c9aa4fb2e21a93f3a95c5a8f0ba8b7d5553c5a72", slot: "end" }, Ct("ion-button", { key: "5ffbf512719bcb053b652fc96b1b6154d0593095", onClick: () => this.closeModal() }, this.cancelText)))), Ct("ion-content", { key: "0ec9098798a4e6de7a83a0a7e9d10bdcd7c98a78" }, Ct("ion-list", { key: "d60b1700d3c2f8655951632de810900707a101f0" }, true === this.multiple ? this.renderCheckboxOptions() : this.renderRadioOptions())));
  }
  get el() {
    return this;
  }
  static get style() {
    return { ionic: '.sc-ion-select-modal-ionic-h{height:100%}ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic::part(container),ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic [part~="container"]{display:none}ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic::part(label),ion-list.sc-ion-select-modal-ionic ion-radio.sc-ion-select-modal-ionic [part~="label"]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-item.sc-ion-select-modal-ionic{--inner-border-width:0}.item-radio-checked.sc-ion-select-modal-ionic{--background:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.08);--background-focused:var(--ion-color-primary, #0054e9);--background-focused-opacity:0.2;--background-hover:var(--ion-color-primary, #0054e9);--background-hover-opacity:0.12}.item-checkbox-checked.sc-ion-select-modal-ionic{--background-activated:var(--ion-item-color, var(--ion-text-color, #000));--background-focused:var(--ion-item-color, var(--ion-text-color, #000));--background-hover:var(--ion-item-color, var(--ion-text-color, #000));--color:var(--ion-color-primary, #0054e9)}', ios: '.sc-ion-select-modal-ios-h{height:100%}ion-item.sc-ion-select-modal-ios{--inner-padding-end:0}ion-radio.sc-ion-select-modal-ios::after{bottom:0;position:absolute;width:calc(100% - 0.9375rem - 16px);border-width:0px 0px 0.55px 0px;border-style:solid;border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));content:""}ion-radio.sc-ion-select-modal-ios::after{inset-inline-start:calc(0.9375rem + 16px)}', md: '.sc-ion-select-modal-md-h{height:100%}ion-list.sc-ion-select-modal-md ion-radio.sc-ion-select-modal-md::part(container),ion-list.sc-ion-select-modal-md ion-radio.sc-ion-select-modal-md [part~="container"]{display:none}ion-list.sc-ion-select-modal-md ion-radio.sc-ion-select-modal-md::part(label),ion-list.sc-ion-select-modal-md ion-radio.sc-ion-select-modal-md [part~="label"]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-item.sc-ion-select-modal-md{--inner-border-width:0}.item-radio-checked.sc-ion-select-modal-md{--background:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.08);--background-focused:var(--ion-color-primary, #0054e9);--background-focused-opacity:0.2;--background-hover:var(--ion-color-primary, #0054e9);--background-hover-opacity:0.12}.item-checkbox-checked.sc-ion-select-modal-md{--background-activated:var(--ion-item-color, var(--ion-text-color, #000));--background-focused:var(--ion-item-color, var(--ion-text-color, #000));--background-hover:var(--ion-item-color, var(--ion-text-color, #000));--color:var(--ion-color-primary, #0054e9)}' };
  }
}, [34, "ion-select-modal", { header: [1], cancelText: [1, "cancel-text"], multiple: [4], options: [16] }]);
function E9() {
  "undefined" != typeof customElements && ["ion-select-modal", "ion-button", "ion-buttons", "ion-checkbox", "ion-content", "ion-header", "ion-icon", "ion-item", "ion-list", "ion-radio", "ion-radio-group", "ion-ripple-effect", "ion-title", "ion-toolbar"].forEach(((o14) => {
    switch (o14) {
      case "ion-select-modal":
        customElements.get(Zn(o14)) || customElements.define(Zn(o14), x14);
        break;
      case "ion-button":
        customElements.get(Zn(o14)) || m11();
        break;
      case "ion-buttons":
        customElements.get(Zn(o14)) || c15();
        break;
      case "ion-checkbox":
        customElements.get(Zn(o14)) || d18();
        break;
      case "ion-content":
        customElements.get(Zn(o14)) || x6();
        break;
      case "ion-header":
        customElements.get(Zn(o14)) || w7();
        break;
      case "ion-icon":
        customElements.get(Zn(o14)) || y6();
        break;
      case "ion-item":
        customElements.get(Zn(o14)) || v13();
        break;
      case "ion-list":
        customElements.get(Zn(o14)) || l20();
        break;
      case "ion-radio":
        customElements.get(Zn(o14)) || x10();
        break;
      case "ion-radio-group":
        customElements.get(Zn(o14)) || p28();
        break;
      case "ion-ripple-effect":
        customElements.get(Zn(o14)) || p7();
        break;
      case "ion-title":
        customElements.get(Zn(o14)) || d20();
        break;
      case "ion-toolbar":
        customElements.get(Zn(o14)) || b16();
    }
  }));
}

// node_modules/@ionic/core/components/ion-select-modal.js
var r26 = E9;

// node_modules/@ionic/core/components/ion-select-option.js
var r27 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.__attachShadow(), this.inputId = "ion-selopt-" + l26++, this.disabled = false;
  }
  render() {
    return Ct(It, { key: "824730b6c1e4f15b716e91b05840e890af5f1577", role: "option", id: this.inputId, class: g(this) });
  }
  get el() {
    return this;
  }
  static get style() {
    return ":host{display:none}";
  }
}, [1, "ion-select-option", { disabled: [4], value: [8] }]);
var l26 = 0;
var p29 = function() {
  "undefined" != typeof customElements && ["ion-select-option"].forEach(((t17) => {
    "ion-select-option" === t17 && (customElements.get(Zn(t17)) || customElements.define(Zn(t17), r27));
  }));
};

// node_modules/@ionic/core/components/ion-skeleton-text.js
var g15 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.__attachShadow(), this.ionStyle = Jt(this, "ionStyle", 7), this.animated = false;
  }
  componentWillLoad() {
    this.emitStyle();
  }
  emitStyle() {
    this.ionStyle.emit({ "skeleton-text": true });
  }
  render() {
    const t17 = this.animated && n.getBoolean("animated", true), i16 = n5("ion-avatar", this.el) || n5("ion-thumbnail", this.el), n15 = g(this);
    return Ct(It, { key: "cb8da9aba121811b9a4ffdae60ed88105897cb3c", class: { [n15]: true, "skeleton-text-animated": t17, "in-media": i16 } }, Ct("span", { key: "5379deee3c76d46d615be0cba14b4f60129ffa25" }, "\xA0"));
  }
  get el() {
    return this;
  }
  static get style() {
    return ":host{--background:rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065);border-radius:var(--border-radius, inherit);display:block;width:100%;height:inherit;margin-top:4px;margin-bottom:4px;background:var(--background);line-height:10px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}span{display:inline-block}:host(.in-media){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;height:100%}:host(.skeleton-text-animated){position:relative;background:-webkit-gradient(linear, left top, right top, color-stop(8%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065)), color-stop(18%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.135)), color-stop(33%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065)));background:linear-gradient(to right, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065) 8%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.135) 18%, rgba(var(--background-rgb, var(--ion-text-color-rgb, 0, 0, 0)), 0.065) 33%);background-size:800px 104px;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:shimmer;animation-name:shimmer;-webkit-animation-timing-function:linear;animation-timing-function:linear}@-webkit-keyframes shimmer{0%{background-position:-400px 0}100%{background-position:400px 0}}@keyframes shimmer{0%{background-position:-400px 0}100%{background-position:400px 0}}";
  }
}, [1, "ion-skeleton-text", { animated: [4] }]);
var c31 = function() {
  "undefined" != typeof customElements && ["ion-skeleton-text"].forEach(((t17) => {
    "ion-skeleton-text" === t17 && (customElements.get(Zn(t17)) || customElements.define(Zn(t17), g15));
  }));
};

// node_modules/@ionic/core/components/ion-spinner.js
var p30 = m17;

// node_modules/@ionic/core/components/ion-split-pane.js
var d21 = "split-pane-main";
var r28 = "split-pane-side";
var p31 = { xs: "(min-width: 0px)", sm: "(min-width: 576px)", md: "(min-width: 768px)", lg: "(min-width: 992px)", xl: "(min-width: 1200px)", never: "" };
var h17 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.__attachShadow(), this.ionSplitPaneVisible = Jt(this, "ionSplitPaneVisible", 7), this.visible = false, this.disabled = false, this.when = p31.lg;
  }
  visibleChanged(t17) {
    this.ionSplitPaneVisible.emit({ visible: t17 });
  }
  isVisible() {
    return __async(this, null, function* () {
      return Promise.resolve(this.visible);
    });
  }
  connectedCallback() {
    return __async(this, null, function* () {
      "undefined" != typeof customElements && null != customElements && (yield customElements.whenDefined("ion-split-pane")), this.styleMainElement(), this.updateState();
    });
  }
  disconnectedCallback() {
    this.rmL && (this.rmL(), this.rmL = void 0);
  }
  updateState() {
    if (this.rmL && (this.rmL(), this.rmL = void 0), this.disabled) return void (this.visible = false);
    const t17 = this.when;
    if ("boolean" == typeof t17) return void (this.visible = t17);
    const i16 = p31[t17] || t17;
    if (0 === i16.length) return void (this.visible = false);
    const e16 = (t18) => {
      this.visible = t18.matches;
    }, s23 = window.matchMedia(i16);
    s23.addListener(e16), this.rmL = () => s23.removeListener(e16), this.visible = s23.matches;
  }
  styleMainElement() {
    const t17 = this.contentId, i16 = this.el.children, e16 = this.el.childElementCount;
    let o14 = false;
    for (let n15 = 0; n15 < e16; n15++) {
      const e17 = i16[n15], a17 = void 0 !== t17 && e17.id === t17;
      if (a17) {
        if (o14) return void u("[ion-split-pane] - Cannot have more than one main node.");
        c32(e17, a17), o14 = true;
      }
    }
    o14 || u("[ion-split-pane] - Does not have a specified main node.");
  }
  render() {
    const t17 = g(this);
    return Ct(It, { key: "05c88c009fbe2e223fd261760a2b49da1653ff62", class: { [t17]: true, ["split-pane-" + t17]: true, "split-pane-visible": this.visible } }, Ct("slot", { key: "b35865082661253c4468520d79234fa5dab5bd35" }));
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { visible: [{ visibleChanged: 0 }], disabled: [{ updateState: 0 }], when: [{ updateState: 0 }] };
  }
  static get style() {
    return { ios: ":host{--side-width:100%;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;contain:strict}:host(.split-pane-visible) ::slotted(.split-pane-main){left:0;right:0;top:0;bottom:0;position:relative;-ms-flex:1;flex:1;-webkit-box-shadow:none;box-shadow:none;overflow:hidden;z-index:0}::slotted(.split-pane-side:not(ion-menu)){display:none}:host{--border:0.55px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));--side-min-width:270px;--side-max-width:28%}", md: ":host{--side-width:100%;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;contain:strict}:host(.split-pane-visible) ::slotted(.split-pane-main){left:0;right:0;top:0;bottom:0;position:relative;-ms-flex:1;flex:1;-webkit-box-shadow:none;box-shadow:none;overflow:hidden;z-index:0}::slotted(.split-pane-side:not(ion-menu)){display:none}:host{--border:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));--side-min-width:270px;--side-max-width:28%}" };
  }
}, [289, "ion-split-pane", { contentId: [513, "content-id"], disabled: [4], when: [8], visible: [32], isVisible: [64] }, void 0, { visible: [{ visibleChanged: 0 }], disabled: [{ updateState: 0 }], when: [{ updateState: 0 }] }]);
var c32 = (t17, i16) => {
  let e16, s23;
  i16 ? (e16 = d21, s23 = r28) : (e16 = r28, s23 = d21);
  const o14 = t17.classList;
  o14.add(e16), o14.remove(s23);
};
var b17 = function() {
  "undefined" != typeof customElements && ["ion-split-pane"].forEach(((t17) => {
    "ion-split-pane" === t17 && (customElements.get(Zn(t17)) || customElements.define(Zn(t17), h17));
  }));
};

// node_modules/@ionic/core/components/ion-tab.js
var c33 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.__attachShadow(), this.loaded = false, this.active = false;
  }
  componentWillLoad() {
    return __async(this, null, function* () {
      this.active && (yield this.setActive());
    });
  }
  setActive() {
    return __async(this, null, function* () {
      yield this.prepareLazyLoaded(), this.active = true;
    });
  }
  changeActive(t17) {
    t17 && this.prepareLazyLoaded();
  }
  prepareLazyLoaded() {
    if (!this.loaded && null != this.component) {
      this.loaded = true;
      try {
        return o8(this.delegate, this.el, this.component, ["ion-page"]);
      } catch (t17) {
        f("[ion-tab] - Exception in prepareLazyLoaded:", t17);
      }
    }
    return Promise.resolve(void 0);
  }
  render() {
    const { tab: t17, active: e16, component: a17 } = this;
    return Ct(It, { key: "fbd837bad7a0632336d46a597ace23673b153e48", role: "tabpanel", "aria-hidden": e16 ? null : "true", "aria-labelledby": "tab-button-" + t17, class: { "ion-page": void 0 === a17, "tab-hidden": !e16 } }, Ct("slot", { key: "35c218169fda826c9c1337558e0278d0c7f5f26a" }));
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { active: [{ changeActive: 0 }] };
  }
  static get style() {
    return ":host(.tab-hidden){display:none !important}";
  }
}, [257, "ion-tab", { active: [1028], delegate: [16], tab: [1], component: [1], setActive: [64] }, void 0, { active: [{ changeActive: 0 }] }]);
var d22 = function() {
  "undefined" != typeof customElements && ["ion-tab"].forEach(((t17) => {
    "ion-tab" === t17 && (customElements.get(Zn(t17)) || customElements.define(Zn(t17), c33));
  }));
};

// node_modules/@ionic/core/components/ion-tab-bar.js
var b18 = Dn(class extends I {
  constructor(o14) {
    super(), false !== o14 && this.__registerHost(), this.__attachShadow(), this.ionTabBarChanged = Jt(this, "ionTabBarChanged", 7), this.ionTabBarLoaded = Jt(this, "ionTabBarLoaded", 7), this.keyboardCtrl = null, this.keyboardCtrlPromise = null, this.didLoad = false, this.keyboardVisible = false, this.translucent = false;
  }
  selectedTabChanged() {
    this.didLoad && void 0 !== this.selectedTab && this.ionTabBarChanged.emit({ tab: this.selectedTab });
  }
  componentDidLoad() {
    this.ionTabBarLoaded.emit(), this.didLoad = true, void 0 !== this.selectedTab && this.ionTabBarChanged.emit({ tab: this.selectedTab });
  }
  connectedCallback() {
    return __async(this, null, function* () {
      const o14 = s17(((o15, t18) => __async(this, null, function* () {
        false === o15 && void 0 !== t18 && (yield t18), this.keyboardVisible = o15;
      })));
      this.keyboardCtrlPromise = o14;
      const t17 = yield o14;
      this.keyboardCtrlPromise === o14 ? (this.keyboardCtrl = t17, this.keyboardCtrlPromise = null) : t17.destroy();
    });
  }
  disconnectedCallback() {
    this.keyboardCtrlPromise && (this.keyboardCtrlPromise.then(((o14) => o14.destroy())), this.keyboardCtrlPromise = null), this.keyboardCtrl && (this.keyboardCtrl.destroy(), this.keyboardCtrl = null);
  }
  render() {
    const { color: o14, translucent: t17, keyboardVisible: r32 } = this, n15 = g(this), s23 = r32 && "top" !== this.el.getAttribute("slot");
    return Ct(It, { key: "24e164eaf81a0bec9237b561465618f10990806c", role: "tablist", "aria-hidden": s23 ? "true" : null, class: o6(o14, { [n15]: true, "tab-bar-translucent": t17, "tab-bar-hidden": s23 }) }, Ct("slot", { key: "0ca29a2d97a7c38bbf43f8d79e271b874b4d9be8" }));
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { selectedTab: [{ selectedTabChanged: 0 }] };
  }
  static get style() {
    return { ios: ":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-right:var(--ion-safe-area-right);padding-bottom:var(--ion-safe-area-bottom, 0);padding-left:var(--ion-safe-area-left);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}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-color-step-50, var(--ion-background-color-step-50, #f7f7f7)));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:0.55px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.2)))));--color:var(--ion-tab-bar-color, var(--ion-color-step-600, var(--ion-text-color-step-400, #666666)));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #0054e9));height:50px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.tab-bar-translucent){--background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(210%) blur(20px);backdrop-filter:saturate(210%) blur(20px)}:host(.ion-color.tab-bar-translucent){background:rgba(var(--ion-color-base-rgb), 0.8)}:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.6)}}", md: ":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:auto;padding-right:var(--ion-safe-area-right);padding-bottom:var(--ion-safe-area-bottom, 0);padding-left:var(--ion-safe-area-left);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}:host(.ion-color) ::slotted(ion-tab-button){--background-focused:var(--ion-color-shade);--color-selected:var(--ion-color-contrast)}:host(.ion-color) ::slotted(.tab-selected){color:var(--ion-color-contrast)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){color:rgba(var(--ion-color-contrast-rgb), 0.7)}:host(.ion-color),:host(.ion-color) ::slotted(ion-tab-button){background:var(--ion-color-base)}:host(.ion-color) ::slotted(ion-tab-button.ion-focused),:host(.tab-bar-translucent) ::slotted(ion-tab-button.ion-focused){background:var(--background-focused)}:host(.tab-bar-translucent) ::slotted(ion-tab-button){background:transparent}:host([slot=top]){padding-top:var(--ion-safe-area-top, 0);padding-bottom:0;border-top:0;border-bottom:var(--border)}:host(.tab-bar-hidden){display:none !important}:host{--background:var(--ion-tab-bar-background, var(--ion-background-color, #fff));--background-focused:var(--ion-tab-bar-background-focused, #e0e0e0);--border:1px solid var(--ion-tab-bar-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.07)))));--color:var(--ion-tab-bar-color, var(--ion-color-step-650, var(--ion-text-color-step-350, #595959)));--color-selected:var(--ion-tab-bar-color-selected, var(--ion-color-primary, #0054e9));height:56px}" };
  }
}, [289, "ion-tab-bar", { color: [513], selectedTab: [1, "selected-tab"], translucent: [4], keyboardVisible: [32] }, void 0, { selectedTab: [{ selectedTabChanged: 0 }] }]);
var d23 = function() {
  "undefined" != typeof customElements && ["ion-tab-bar"].forEach(((o14) => {
    "ion-tab-bar" === o14 && (customElements.get(Zn(o14)) || customElements.define(Zn(o14), b18));
  }));
};

// node_modules/@ionic/core/components/ion-tab-button.js
var b19 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.__attachShadow(), this.ionTabButtonClick = Jt(this, "ionTabButtonClick", 7), this.inheritedAttributes = {}, this.disabled = false, this.selected = false, this.onKeyUp = (t18) => {
      "Enter" !== t18.key && " " !== t18.key || this.selectTab(t18);
    }, this.onClick = (t18) => {
      this.selectTab(t18);
    };
  }
  onTabBarChanged(t17) {
    const o14 = t17.target, e16 = this.el.parentElement;
    (t17.composedPath().includes(e16) || (null == o14 ? void 0 : o14.contains(this.el))) && (this.selected = this.tab === t17.detail.tab);
  }
  componentWillLoad() {
    this.inheritedAttributes = Object.assign({}, n2(this.el, ["aria-label"])), void 0 === this.layout && (this.layout = n.get("tabButtonLayout", "icon-top"));
  }
  selectTab(t17) {
    void 0 !== this.tab && (this.disabled || this.ionTabButtonClick.emit({ tab: this.tab, href: this.href, selected: this.selected }), t17.preventDefault());
  }
  get hasLabel() {
    return !!this.el.querySelector("ion-label");
  }
  get hasIcon() {
    return !!this.el.querySelector("ion-icon");
  }
  render() {
    const { disabled: t17, hasIcon: o14, hasLabel: e16, href: i16, rel: r32, target: l27, layout: d25, selected: b21, tab: c36, inheritedAttributes: h21 } = this, p33 = g(this), g20 = { download: this.download, href: i16, rel: r32, target: l27 };
    return Ct(It, { key: "638b93ef40701ec3aefb89b1579eb91aaf6d4f8a", onClick: this.onClick, onKeyup: this.onKeyUp, id: void 0 !== c36 ? "tab-button-" + c36 : null, class: { [p33]: true, "tab-selected": b21, "tab-disabled": t17, "tab-has-label": e16, "tab-has-icon": o14, "tab-has-label-only": e16 && !o14, "tab-has-icon-only": o14 && !e16, ["tab-layout-" + d25]: true, "ion-activatable": true, "ion-selectable": true, "ion-focusable": true } }, Ct("a", Object.assign({ key: "c053d32fbcdad8d5e4a409956b47164d7a080c6b" }, g20, { class: "button-native", part: "native", role: "tab", "aria-selected": b21 ? "true" : null, "aria-disabled": t17 ? "true" : null, tabindex: t17 ? "-1" : void 0 }, h21), Ct("span", { key: "b3b460d33ec978a46b069442280d31b23bc8e794", class: "button-inner" }, Ct("slot", { key: "87b3928475c941263261101b8fae27c6370d4671" })), "md" === p33 && Ct("ion-ripple-effect", { key: "6532e5b4546aebe4becaebe1c93ce0e6aedaffe7", type: "unbounded" })));
  }
  get el() {
    return this;
  }
  static get style() {
    return { ios: ':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:2px;--padding-bottom:0;--padding-start:2px;max-width:240px;font-size:10px}::slotted(ion-badge){-webkit-padding-start:6px;padding-inline-start:6px;-webkit-padding-end:6px;padding-inline-end:6px;padding-top:1px;padding-bottom:1px;top:4px;height:auto;font-size:12px;line-height:16px}::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}::slotted(ion-icon){margin-top:2px;margin-bottom:2px;font-size:24px}::slotted(ion-icon::before){vertical-align:top}::slotted(ion-label){margin-top:0;margin-bottom:1px;min-height:11px;font-weight:500}:host(.tab-has-label-only) ::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:12px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-label),:host(.tab-layout-icon-start) ::slotted(ion-label),:host(.tab-layout-icon-hide) ::slotted(ion-label){margin-top:2px;margin-bottom:2px;font-size:14px;line-height:1.1}:host(.tab-layout-icon-end) ::slotted(ion-icon),:host(.tab-layout-icon-start) ::slotted(ion-icon){min-width:24px;height:26px;margin-top:2px;margin-bottom:1px;font-size:24px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:calc(50% + 12px)}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:1px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:4px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:10px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:calc(50% + 35px)}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:10px}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:calc(50% + 30px)}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:10px}:host(.tab-layout-label-hide) ::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host(.tab-layout-label-hide) ::slotted(ion-icon),:host(.tab-has-icon-only) ::slotted(ion-icon){font-size:30px}', md: ':host{--ripple-color:var(--color-selected);--background-focused-opacity:1;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;outline:none;background:var(--background);color:var(--color)}.button-native{border-radius:inherit;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;border:0;outline:none;background:transparent;text-decoration:none;cursor:pointer;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-drag:none}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;z-index:1}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){a:hover{color:var(--color-selected)}}:host(.tab-selected){color:var(--color-selected)}:host(.tab-hidden){display:none !important}:host(.tab-disabled){pointer-events:none;opacity:0.4}::slotted(ion-label),::slotted(ion-icon){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-label){-ms-flex-order:0;order:0}::slotted(ion-icon){-ms-flex-order:-1;order:-1;height:1em}:host(.tab-has-label-only) ::slotted(ion-label){white-space:normal}::slotted(ion-badge){-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1}:host(.tab-layout-icon-start){-ms-flex-direction:row;flex-direction:row}:host(.tab-layout-icon-end){-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.tab-layout-icon-bottom){-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.tab-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.tab-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color)}:host{--padding-top:0;--padding-end:12px;--padding-bottom:0;--padding-start:12px;max-width:168px;font-size:12px;font-weight:normal;letter-spacing:0.03em}::slotted(ion-label){margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;text-transform:none}::slotted(ion-icon){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;-webkit-transform-origin:center center;transform-origin:center center;font-size:22px}:host-context([dir=rtl]) ::slotted(ion-icon){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}[dir=rtl] ::slotted(ion-icon){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}@supports selector(:dir(rtl)){::slotted(ion-icon):dir(rtl){-webkit-transform-origin:calc(100% - center) center;transform-origin:calc(100% - center) center}}::slotted(ion-badge){border-radius:8px;-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:2px;padding-inline-end:2px;padding-top:3px;padding-bottom:2px;top:8px;min-width:12px;font-size:8px;font-weight:normal}::slotted(ion-badge){inset-inline-start:calc(50% + 6px)}::slotted(ion-badge:empty){display:block;min-width:8px;height:8px}:host(.tab-layout-icon-top) ::slotted(ion-icon){margin-top:6px;margin-bottom:2px}:host(.tab-layout-icon-top) ::slotted(ion-label){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){top:8px}:host(.tab-layout-icon-bottom) ::slotted(ion-badge){inset-inline-start:70%}:host(.tab-layout-icon-bottom) ::slotted(ion-icon){margin-top:0;margin-bottom:6px}:host(.tab-layout-icon-bottom) ::slotted(ion-label){margin-top:6px;margin-bottom:0}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){top:16px}:host(.tab-layout-icon-start) ::slotted(ion-badge),:host(.tab-layout-icon-end) ::slotted(ion-badge){inset-inline-start:80%}:host(.tab-layout-icon-start) ::slotted(ion-icon){-webkit-margin-end:6px;margin-inline-end:6px}:host(.tab-layout-icon-end) ::slotted(ion-icon){-webkit-margin-start:6px;margin-inline-start:6px}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){top:16px}:host(.tab-layout-icon-hide) ::slotted(ion-badge),:host(.tab-has-label-only) ::slotted(ion-badge){inset-inline-start:70%}:host(.tab-layout-icon-hide) ::slotted(ion-label),:host(.tab-has-label-only) ::slotted(ion-label){margin-top:0;margin-bottom:0}:host(.tab-layout-label-hide) ::slotted(ion-badge),:host(.tab-has-icon-only) ::slotted(ion-badge){top:16px}:host(.tab-layout-label-hide) ::slotted(ion-icon),:host(.tab-has-icon-only) ::slotted(ion-icon){margin-top:0;margin-bottom:0;font-size:24px}' };
  }
}, [289, "ion-tab-button", { disabled: [4], download: [1], href: [1], rel: [1], layout: [1025], selected: [1028], tab: [1], target: [1] }, [[8, "ionTabBarChanged", "onTabBarChanged"]]]);
var h18 = function() {
  "undefined" != typeof customElements && ["ion-tab-button", "ion-ripple-effect"].forEach(((t17) => {
    switch (t17) {
      case "ion-tab-button":
        customElements.get(Zn(t17)) || customElements.define(Zn(t17), b19);
        break;
      case "ion-ripple-effect":
        customElements.get(Zn(t17)) || p7();
    }
  }));
};

// node_modules/@ionic/core/components/ion-text.js
var i14 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.__attachShadow();
  }
  render() {
    const t17 = g(this);
    return Ct(It, { key: "bfaa49d35f43b8036725ae8a322c716fc6e43bdf", class: o6(this.color, { [t17]: true }) }, Ct("slot", { key: "c04880cd1935b42cbe60f58fd523b4d8a96072dc" }));
  }
  static get style() {
    return ":host(.ion-color){color:var(--ion-color-base)}";
  }
}, [257, "ion-text", { color: [513] }]);
var f26 = function() {
  "undefined" != typeof customElements && ["ion-text"].forEach(((t17) => {
    "ion-text" === t17 && (customElements.get(Zn(t17)) || customElements.define(Zn(t17), i14));
  }));
};

// node_modules/@ionic/core/components/ion-thumbnail.js
var d24 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.__attachShadow();
  }
  render() {
    return Ct(It, { key: "b250e01664238f1dca8f9757b15bc3d5d9387ffa", class: g(this) }, Ct("slot", { key: "72cb568bccabc983c5186a7596ef6c6d4ebf5ad9" }));
  }
  static get style() {
    return ":host{--size:48px;--border-radius:0;border-radius:var(--border-radius);display:block;width:var(--size);height:var(--size)}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}";
  }
}, [257, "ion-thumbnail"]);
var c34 = function() {
  "undefined" != typeof customElements && ["ion-thumbnail"].forEach(((t17) => {
    "ion-thumbnail" === t17 && (customElements.get(Zn(t17)) || customElements.define(Zn(t17), d24));
  }));
};

// node_modules/@ionic/core/components/ion-title.js
var m27 = d20;

// node_modules/@ionic/core/components/ion-toast.js
var A5 = (t17, o14) => Math.floor(t17 / 2 - o14 / 2);
var P5 = (t17, o14) => {
  const e16 = r(), i16 = r(), { position: a17, top: s23, bottom: n15 } = o14, r32 = c(t17).querySelector(".toast-wrapper");
  switch (i16.addElement(r32), a17) {
    case "top":
      i16.fromTo("transform", "translateY(-100%)", `translateY(${s23})`);
      break;
    case "middle":
      const o15 = A5(t17.clientHeight, r32.clientHeight);
      r32.style.top = o15 + "px", i16.fromTo("opacity", 0.01, 1);
      break;
    default:
      i16.fromTo("transform", "translateY(100%)", `translateY(${n15})`);
  }
  return e16.easing("cubic-bezier(.155,1.105,.295,1.12)").duration(400).addAnimation(i16);
};
var W6 = (t17, o14) => {
  const e16 = r(), i16 = r(), { position: a17, top: s23, bottom: n15 } = o14, r32 = c(t17).querySelector(".toast-wrapper");
  switch (i16.addElement(r32), a17) {
    case "top":
      i16.fromTo("transform", `translateY(${s23})`, "translateY(-100%)");
      break;
    case "middle":
      i16.fromTo("opacity", 0.99, 0);
      break;
    default:
      i16.fromTo("transform", `translateY(${n15})`, "translateY(100%)");
  }
  return e16.easing("cubic-bezier(.36,.66,.04,1)").duration(300).addAnimation(i16);
};
var B10 = (t17, o14) => {
  const e16 = r(), i16 = r(), { position: a17, top: s23, bottom: n15 } = o14, r32 = c(t17).querySelector(".toast-wrapper");
  switch (i16.addElement(r32), a17) {
    case "top":
      r32.style.setProperty("transform", `translateY(${s23})`), i16.fromTo("opacity", 0.01, 1);
      break;
    case "middle":
      const o15 = A5(t17.clientHeight, r32.clientHeight);
      r32.style.top = o15 + "px", i16.fromTo("opacity", 0.01, 1);
      break;
    default:
      r32.style.setProperty("transform", `translateY(${n15})`), i16.fromTo("opacity", 0.01, 1);
  }
  return e16.easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation(i16);
};
var I7 = (t17) => {
  const o14 = r(), e16 = r(), i16 = c(t17).querySelector(".toast-wrapper");
  return e16.addElement(i16).fromTo("opacity", 0.99, 0), o14.easing("cubic-bezier(.36,.66,.04,1)").duration(300).addAnimation(e16);
};
var G7 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.__attachShadow(), this.didPresent = Jt(this, "ionToastDidPresent", 7), this.willPresent = Jt(this, "ionToastWillPresent", 7), this.willDismiss = Jt(this, "ionToastWillDismiss", 7), this.didDismiss = Jt(this, "ionToastDidDismiss", 7), this.didPresentShorthand = Jt(this, "didPresent", 7), this.willPresentShorthand = Jt(this, "willPresent", 7), this.willDismissShorthand = Jt(this, "willDismiss", 7), this.didDismissShorthand = Jt(this, "didDismiss", 7), this.delegateController = X2(this), this.lockController = t11(), this.triggerController = Y2(), this.customHTMLEnabled = n.get("innerHTMLTemplatesEnabled", l5), this.presented = false, this.revealContentToScreenReader = false, this.hasController = false, this.duration = n.getNumber("toastDuration", 0), this.layout = "baseline", this.keyboardClose = false, this.position = "bottom", this.translucent = false, this.animated = true, this.isOpen = false, this.dispatchCancelHandler = (t18) => {
      if (Q2(t18.detail.role)) {
        const t19 = this.getButtons().find(((t20) => "cancel" === t20.role));
        this.callButtonHandler(t19);
      }
    }, this.createSwipeGesture = (t18) => {
      const o14 = this.gesture = ((t19, o15, e16) => {
        const i16 = c(t19).querySelector(".toast-wrapper"), a17 = t19.clientHeight, s23 = i16.getBoundingClientRect();
        let n15 = 0;
        const r32 = "middle" === t19.position ? 0.5 : 0, d25 = "top" === t19.position ? -1 : 1, l27 = A5(a17, s23.height), p33 = [{ offset: 0, transform: `translateY(-${l27 + s23.height}px)` }, { offset: 0.5, transform: "translateY(0px)" }, { offset: 1, transform: `translateY(${l27 + s23.height}px)` }], h21 = r("toast-swipe-to-dismiss-animation").addElement(i16).duration(100);
        switch (t19.position) {
          case "middle":
            n15 = a17 + s23.height, h21.keyframes(p33), h21.progressStart(true, 0.5);
            break;
          case "top":
            n15 = s23.bottom, h21.keyframes([{ offset: 0, transform: `translateY(${o15.top})` }, { offset: 1, transform: "translateY(-100%)" }]), h21.progressStart(true, 0);
            break;
          default:
            n15 = a17 - s23.top, h21.keyframes([{ offset: 0, transform: `translateY(${o15.bottom})` }, { offset: 1, transform: "translateY(100%)" }]), h21.progressStart(true, 0);
        }
        const m28 = (t20) => t20 * d25 / n15, u21 = s4({ el: i16, gestureName: "toast-swipe-to-dismiss", gesturePriority: U, direction: "y", onMove: (t20) => {
          const o16 = r32 + m28(t20.deltaY);
          h21.progressStep(o16);
        }, onEnd: (o16) => {
          const a18 = o16.velocityY, s24 = (o16.deltaY + 1e3 * a18) / n15 * d25;
          u21.enable(false);
          let r33 = true, c36 = 1, b21 = 0, g20 = 0;
          if ("middle" === t19.position) {
            r33 = s24 >= 0.25 || s24 <= -0.25, c36 = 1, b21 = 0;
            const t20 = i16.getBoundingClientRect(), e17 = t20.top - l27, a19 = (l27 + t20.height) * (o16.deltaY <= 0 ? -1 : 1);
            h21.keyframes([{ offset: 0, transform: `translateY(${e17 + "px"})` }, { offset: 1, transform: `translateY(${r33 ? a19 + "px" : "0px"})` }]), g20 = a19 - e17;
          } else r33 = s24 >= 0.5, c36 = r33 ? 1 : 0, b21 = m28(o16.deltaY), g20 = (r33 ? 1 - b21 : b21) * n15;
          const f27 = Math.min(Math.abs(g20) / Math.abs(a18), 200);
          h21.onFinish((() => {
            r33 ? (e16(), h21.destroy()) : ("middle" === t19.position ? h21.keyframes(p33).progressStart(true, 0.5) : h21.progressStart(true, 0), u21.enable(true));
          }), { oneTimeCallback: true }).progressEnd(c36, b21, f27);
        } });
        return u21;
      })(this.el, t18, (() => {
        this.dismiss(void 0, K2);
      }));
      o14.enable(true);
    }, this.destroySwipeGesture = () => {
      const { gesture: t18 } = this;
      void 0 !== t18 && (t18.destroy(), this.gesture = void 0);
    }, this.prefersSwipeGesture = () => {
      const { swipeGesture: t18 } = this;
      return "vertical" === t18;
    };
  }
  swipeGestureChanged() {
    this.destroySwipeGesture(), this.presented && this.prefersSwipeGesture() && this.createSwipeGesture(this.lastPresentedPosition);
  }
  onIsOpenChange(t17, o14) {
    true === t17 && false === o14 ? this.present() : false === t17 && true === o14 && this.dismiss();
  }
  triggerChanged() {
    const { trigger: t17, el: o14, triggerController: e16 } = this;
    t17 && e16.addClickListener(o14, t17);
  }
  connectedCallback() {
    I3(this.el), this.triggerChanged();
  }
  disconnectedCallback() {
    this.triggerController.removeClickListener();
  }
  componentWillLoad() {
    var t17;
    (null === (t17 = this.htmlAttributes) || void 0 === t17 ? void 0 : t17.id) || N(this.el);
  }
  componentDidLoad() {
    true === this.isOpen && d2((() => this.present())), this.triggerChanged();
  }
  present() {
    return __async(this, null, function* () {
      const o14 = yield this.lockController.lock();
      yield this.delegateController.attachViewToDom();
      const { el: e16, position: i16 } = this, a17 = (function(o15, e17, i17, a18) {
        let s23;
        if (s23 = "md" === i17 ? "top" === o15 ? 8 : -8 : "top" === o15 ? 10 : -10, e17 && d) {
          !(function(o16, e18) {
            null === o16.offsetParent && u("[ion-toast] - The positionAnchor element for ion-toast was found in the DOM, but appears to be hidden. This may lead to unexpected positioning of the toast.", e18);
          })(e17, a18);
          const i18 = e17.getBoundingClientRect();
          return "top" === o15 ? s23 += i18.bottom : "bottom" === o15 && (s23 -= d.innerHeight - i18.top), { top: s23 + "px", bottom: s23 + "px" };
        }
        return { top: `calc(${s23}px + var(--ion-safe-area-top, 0px))`, bottom: `calc(${s23}px - var(--ion-safe-area-bottom, 0px))` };
      })(i16, this.getAnchorElement(), g(this), e16);
      this.lastPresentedPosition = a17, yield $(this, "toastEnter", P5, B10, { position: i16, top: a17.top, bottom: a17.bottom }), this.revealContentToScreenReader = true, this.duration > 0 && (this.durationTimeout = setTimeout((() => this.dismiss(void 0, "timeout")), this.duration)), this.prefersSwipeGesture() && this.createSwipeGesture(a17), o14();
    });
  }
  dismiss(t17, o14) {
    return __async(this, null, function* () {
      var e16, i16;
      const a17 = yield this.lockController.lock(), { durationTimeout: s23, position: n15, lastPresentedPosition: r32 } = this;
      s23 && clearTimeout(s23);
      const d25 = yield J(this, t17, o14, "toastLeave", W6, I7, { position: n15, top: null !== (e16 = null == r32 ? void 0 : r32.top) && void 0 !== e16 ? e16 : "", bottom: null !== (i16 = null == r32 ? void 0 : r32.bottom) && void 0 !== i16 ? i16 : "" });
      return d25 && (this.delegateController.removeViewFromDom(), this.revealContentToScreenReader = false), this.lastPresentedPosition = void 0, this.destroySwipeGesture(), a17(), d25;
    });
  }
  onDidDismiss() {
    return q3(this.el, "ionToastDidDismiss");
  }
  onWillDismiss() {
    return q3(this.el, "ionToastWillDismiss");
  }
  getButtons() {
    return this.buttons ? this.buttons.map(((t17) => "string" == typeof t17 ? { text: t17 } : t17)) : [];
  }
  getAnchorElement() {
    const { position: o14, positionAnchor: i16, el: a17 } = this;
    if (void 0 !== i16) if ("middle" !== o14 || void 0 === i16) {
      if ("string" == typeof i16) {
        const o15 = document.getElementById(i16);
        return null === o15 ? void u(`[ion-toast] - An anchor element with an ID of "${i16}" was not found in the DOM.`, a17) : o15;
      }
      if (i16 instanceof I) return i16;
      u("[ion-toast] - Invalid positionAnchor value:", i16, a17);
    } else u('[ion-toast] - The positionAnchor property is ignored when using position="middle".', this.el);
  }
  buttonClick(t17) {
    return __async(this, null, function* () {
      const o14 = t17.role;
      return Q2(o14) || (yield this.callButtonHandler(t17)) ? this.dismiss(void 0, o14) : Promise.resolve();
    });
  }
  callButtonHandler(t17) {
    return __async(this, null, function* () {
      if (null == t17 ? void 0 : t17.handler) try {
        if (false === (yield _2(t17.handler))) return false;
      } catch (t18) {
        f("[ion-toast] - Exception in callButtonHandler:", t18);
      }
      return true;
    });
  }
  renderButtons(t17, o14) {
    if (0 === t17.length) return;
    const e16 = g(this);
    return Ct("div", { class: { "toast-button-group": true, ["toast-button-group-" + o14]: true } }, t17.map(((t18) => Ct("button", Object.assign({}, t18.htmlAttributes, { type: "button", class: L8(t18), tabIndex: 0, onClick: () => this.buttonClick(t18), part: H7(t18) }), Ct("div", { class: "toast-button-inner" }, t18.icon && Ct("ion-icon", { "aria-hidden": "true", icon: t18.icon, slot: void 0 === t18.text ? "icon-only" : void 0, class: "toast-button-icon" }), t18.text), "md" === e16 && Ct("ion-ripple-effect", { type: void 0 !== t18.icon && void 0 === t18.text ? "unbounded" : "bounded" })))));
  }
  renderToastMessage(t17, o14 = null) {
    const { customHTMLEnabled: e16, message: i16 } = this;
    return e16 ? Ct("div", { key: t17, "aria-hidden": o14, class: "toast-message", part: "message", innerHTML: n4(i16) }) : Ct("div", { key: t17, "aria-hidden": o14, class: "toast-message", part: "message" }, i16);
  }
  renderHeader(t17, o14 = null) {
    return Ct("div", { key: t17, class: "toast-header", "aria-hidden": o14, part: "header" }, this.header);
  }
  render() {
    const { layout: o14, el: e16, revealContentToScreenReader: i16, header: a17, message: s23 } = this, d25 = this.getButtons(), l27 = d25.filter(((t17) => "start" === t17.side)), p33 = d25.filter(((t17) => "start" !== t17.side)), c36 = g(this), h21 = { "toast-wrapper": true, ["toast-" + this.position]: true, ["toast-layout-" + o14]: true };
    return "stacked" === o14 && l27.length > 0 && p33.length > 0 && u("[ion-toast] - This toast is using start and end buttons with the stacked toast layout. We recommend following the best practice of using either start or end buttons with the stacked toast layout.", e16), Ct(It, Object.assign({ key: "b5256edcf33d0ef51e6c5080c84e1ca58abe2ae0", tabindex: "-1" }, this.htmlAttributes, { style: { zIndex: "" + (6e4 + this.overlayIndex) }, class: o6(this.color, Object.assign(Object.assign({ [c36]: true }, r5(this.cssClass)), { "overlay-hidden": true, "toast-translucent": this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), Ct("div", { key: "0860f7e895d8bc66e44c4d924ca569f4cbb1a749", class: h21, part: "wrapper" }, Ct("div", { key: "28784199c880a3f664677c8f5560b7caa8903251", class: "toast-container", part: "container" }, this.renderButtons(l27, "start"), void 0 !== this.icon && Ct("ion-icon", { key: "0a63ba1336ad43d2aec14e49055eb46c112359c2", class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" }), Ct("div", { key: "ecec8107af582dc55d4b3828dd7f3054a29f26b1", class: "toast-content", part: "content", role: "status", "aria-atomic": "true", "aria-live": "polite" }, !i16 && void 0 !== a17 && this.renderHeader("oldHeader", "true"), !i16 && void 0 !== s23 && this.renderToastMessage("oldMessage", "true"), i16 && void 0 !== a17 && this.renderHeader("header"), i16 && void 0 !== s23 && this.renderToastMessage("header")), this.renderButtons(p33, "end"))));
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { swipeGesture: [{ swipeGestureChanged: 0 }], isOpen: [{ onIsOpenChange: 0 }], trigger: [{ triggerChanged: 0 }] };
  }
  static get style() {
    return { ios: ":host{--border-width:0;--border-style:none;--border-color:initial;--box-shadow:none;--min-width:auto;--width:auto;--min-height:auto;--height:auto;--max-height:auto;--white-space:normal;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);contain:strict;z-index:1001;pointer-events:none}:host{inset-inline-start:0}:host(.overlay-hidden){display:none}:host(.ion-color){--button-color:inherit;color:var(--ion-color-contrast)}:host(.ion-color) .toast-button-cancel{color:inherit}:host(.ion-color) .toast-wrapper{background:var(--ion-color-base)}.toast-wrapper{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);pointer-events:auto}.toast-wrapper{inset-inline-start:var(--start);inset-inline-end:var(--end)}.toast-wrapper.toast-top{-webkit-transform:translate3d(0,  -100%,  0);transform:translate3d(0,  -100%,  0);top:0}.toast-wrapper.toast-bottom{-webkit-transform:translate3d(0,  100%,  0);transform:translate3d(0,  100%,  0);bottom:0}.toast-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;max-height:inherit;contain:content}.toast-layout-stacked .toast-container{-ms-flex-wrap:wrap;flex-wrap:wrap}.toast-layout-baseline .toast-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}.toast-icon{-webkit-margin-start:16px;margin-inline-start:16px}.toast-content{-ms-flex:1;flex:1;min-width:0}.toast-message{-ms-flex:1;flex:1;white-space:var(--white-space)}.toast-button-group{display:-ms-flexbox;display:flex}.toast-layout-stacked .toast-button-group{-ms-flex-pack:end;justify-content:end;width:100%}.toast-button{border:0;outline:none;color:var(--button-color);z-index:0}.toast-icon,.toast-button-icon{font-size:1.4em}.toast-button-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (any-hover: hover){.toast-button:hover{cursor:pointer}}:host{--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--border-radius:14px;--button-color:var(--ion-color-primary, #0054e9);--color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--max-width:700px;--max-height:478px;--start:10px;--end:10px;font-size:clamp(14px, 0.875rem, 43.4px)}.toast-wrapper{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;display:block;position:absolute;z-index:10}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.toast-translucent) .toast-wrapper{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}:host(.ion-color.toast-translucent) .toast-wrapper{background:rgba(var(--ion-color-base-rgb), 0.8)}}.toast-wrapper.toast-middle{opacity:0.01}.toast-content{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:15px;padding-bottom:15px}.toast-header{margin-bottom:2px;font-weight:500}.toast-button{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:10px;padding-bottom:10px;min-height:44px;-webkit-transition:background-color, opacity 100ms linear;transition:background-color, opacity 100ms linear;border:0;background-color:transparent;font-family:var(--ion-font-family);font-size:clamp(17px, 1.0625rem, 21.998px);font-weight:500;overflow:hidden}.toast-button.ion-activated{opacity:0.4}@media (any-hover: hover){.toast-button:hover{opacity:0.6}}", md: ":host{--border-width:0;--border-style:none;--border-color:initial;--box-shadow:none;--min-width:auto;--width:auto;--min-height:auto;--height:auto;--max-height:auto;--white-space:normal;top:0;display:block;position:absolute;width:100%;height:100%;outline:none;color:var(--color);font-family:var(--ion-font-family, inherit);contain:strict;z-index:1001;pointer-events:none}:host{inset-inline-start:0}:host(.overlay-hidden){display:none}:host(.ion-color){--button-color:inherit;color:var(--ion-color-contrast)}:host(.ion-color) .toast-button-cancel{color:inherit}:host(.ion-color) .toast-wrapper{background:var(--ion-color-base)}.toast-wrapper{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);pointer-events:auto}.toast-wrapper{inset-inline-start:var(--start);inset-inline-end:var(--end)}.toast-wrapper.toast-top{-webkit-transform:translate3d(0,  -100%,  0);transform:translate3d(0,  -100%,  0);top:0}.toast-wrapper.toast-bottom{-webkit-transform:translate3d(0,  100%,  0);transform:translate3d(0,  100%,  0);bottom:0}.toast-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;max-height:inherit;contain:content}.toast-layout-stacked .toast-container{-ms-flex-wrap:wrap;flex-wrap:wrap}.toast-layout-baseline .toast-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}.toast-icon{-webkit-margin-start:16px;margin-inline-start:16px}.toast-content{-ms-flex:1;flex:1;min-width:0}.toast-message{-ms-flex:1;flex:1;white-space:var(--white-space)}.toast-button-group{display:-ms-flexbox;display:flex}.toast-layout-stacked .toast-button-group{-ms-flex-pack:end;justify-content:end;width:100%}.toast-button{border:0;outline:none;color:var(--button-color);z-index:0}.toast-icon,.toast-button-icon{font-size:1.4em}.toast-button-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media (any-hover: hover){.toast-button:hover{cursor:pointer}}:host{--background:var(--ion-color-step-800, var(--ion-background-color-step-800, #333333));--border-radius:4px;--box-shadow:0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);--button-color:var(--ion-color-primary, #0054e9);--color:var(--ion-color-step-50, var(--ion-text-color-step-950, #f2f2f2));--max-width:700px;--start:8px;--end:8px;font-size:0.875rem}.toast-wrapper{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;display:block;position:absolute;opacity:0.01;z-index:10}.toast-content{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:14px;padding-bottom:14px}.toast-header{margin-bottom:2px;font-weight:500;line-height:1.25rem}.toast-message{line-height:1.25rem}.toast-layout-baseline .toast-button-group-start{-webkit-margin-start:8px;margin-inline-start:8px}.toast-layout-stacked .toast-button-group-start{-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px}.toast-layout-baseline .toast-button-group-end{-webkit-margin-end:8px;margin-inline-end:8px}.toast-layout-stacked .toast-button-group-end{-webkit-margin-end:8px;margin-inline-end:8px;margin-bottom:8px}.toast-button{-webkit-padding-start:15px;padding-inline-start:15px;-webkit-padding-end:15px;padding-inline-end:15px;padding-top:10px;padding-bottom:10px;position:relative;background-color:transparent;font-family:var(--ion-font-family);font-size:0.875rem;font-weight:500;letter-spacing:0.84px;text-transform:uppercase;overflow:hidden}.toast-button-cancel{color:var(--ion-color-step-100, var(--ion-text-color-step-900, #e6e6e6))}.toast-button-icon-only{border-radius:50%;-webkit-padding-start:9px;padding-inline-start:9px;-webkit-padding-end:9px;padding-inline-end:9px;padding-top:9px;padding-bottom:9px;width:36px;height:36px}@media (any-hover: hover){.toast-button:hover{background-color:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.08)}.toast-button-cancel:hover{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.08)}}" };
  }
}, [33, "ion-toast", { overlayIndex: [2, "overlay-index"], delegate: [16], hasController: [4, "has-controller"], color: [513], enterAnimation: [16], leaveAnimation: [16], cssClass: [1, "css-class"], duration: [2], header: [1], layout: [1], message: [1], keyboardClose: [4, "keyboard-close"], position: [1], positionAnchor: [1, "position-anchor"], buttons: [16], translucent: [4], animated: [4], icon: [1], htmlAttributes: [16], swipeGesture: [1, "swipe-gesture"], isOpen: [4, "is-open"], trigger: [1], revealContentToScreenReader: [32], present: [64], dismiss: [64], onDidDismiss: [64], onWillDismiss: [64] }, void 0, { swipeGesture: [{ swipeGestureChanged: 0 }], isOpen: [{ onIsOpenChange: 0 }], trigger: [{ triggerChanged: 0 }] }]);
var L8 = (t17) => ({ "toast-button": true, "toast-button-icon-only": void 0 !== t17.icon && void 0 === t17.text, ["toast-button-" + t17.role]: void 0 !== t17.role, "ion-focusable": true, "ion-activatable": true });
var H7 = (t17) => Q2(t17.role) ? "button cancel" : "button";
var V4 = function() {
  "undefined" != typeof customElements && ["ion-toast", "ion-icon", "ion-ripple-effect"].forEach(((t17) => {
    switch (t17) {
      case "ion-toast":
        customElements.get(Zn(t17)) || customElements.define(Zn(t17), G7);
        break;
      case "ion-icon":
        customElements.get(Zn(t17)) || y6();
        break;
      case "ion-ripple-effect":
        customElements.get(Zn(t17)) || p7();
    }
  }));
};

// node_modules/@ionic/core/components/ion-toolbar.js
var p32 = b16;

// node_modules/@ionic/core/components/ion-nav.js
var g16 = class {
  constructor(t17, i16) {
    this.component = t17, this.params = i16, this.state = 1;
  }
  init(t17) {
    return __async(this, null, function* () {
      if (this.state = 2, !this.element) {
        const i16 = this.component;
        this.element = yield o8(this.delegate, t17, i16, ["ion-page", "ion-page-invisible"], this.params);
      }
    });
  }
  _destroy() {
    v(3 !== this.state, "view state must be ATTACHED");
    const t17 = this.element;
    t17 && (this.delegate ? this.delegate.removeViewFromDom(t17.parentElement, t17) : t17.remove()), this.nav = void 0, this.state = 3;
  }
};
var b20 = (t17, i16, e16) => !!t17 && t17.component === i16 && _(t17.params, e16);
var y9 = (t17, i16) => t17 ? t17 instanceof g16 ? t17 : new g16(t17, i16) : null;
var k8 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.__attachShadow(), this.ionNavWillLoad = Jt(this, "ionNavWillLoad", 7), this.ionNavWillChange = Jt(this, "ionNavWillChange", 3), this.ionNavDidChange = Jt(this, "ionNavDidChange", 3), this.transInstr = [], this.gestureOrAnimationInProgress = false, this.useRouter = false, this.isTransitioning = false, this.destroyed = false, this.views = [], this.didLoad = false, this.animated = true;
  }
  swipeGestureChanged() {
    this.gesture && this.gesture.enable(true === this.swipeGesture);
  }
  rootChanged() {
    void 0 !== this.root && false !== this.didLoad && (this.useRouter || void 0 !== this.root && this.setRoot(this.root, this.rootParams));
  }
  componentWillLoad() {
    if (this.useRouter = null !== document.querySelector("ion-router") && null === this.el.closest("[no-router]"), void 0 === this.swipeGesture) {
      const t17 = g(this);
      this.swipeGesture = n.getBoolean("swipeBackEnabled", "ios" === t17);
    }
    this.ionNavWillLoad.emit();
  }
  componentDidLoad() {
    return __async(this, null, function* () {
      this.didLoad = true, this.rootChanged(), this.gesture = (yield import("./chunk-D67GYD3B.js")).createSwipeBackGesture(this.el, this.canStart.bind(this), this.onStart.bind(this), this.onMove.bind(this), this.onEnd.bind(this)), this.swipeGestureChanged();
    });
  }
  connectedCallback() {
    this.destroyed = false;
  }
  disconnectedCallback() {
    for (const t17 of this.views) E(t17.element, l2), t17._destroy();
    this.gesture && (this.gesture.destroy(), this.gesture = void 0), this.transInstr.length = 0, this.views.length = 0, this.destroyed = true;
  }
  push(t17, i16, e16, s23) {
    return this.insert(-1, t17, i16, e16, s23);
  }
  insert(t17, i16, e16, s23, o14) {
    return this.insertPages(t17, [{ component: i16, componentProps: e16 }], s23, o14);
  }
  insertPages(t17, i16, e16, s23) {
    return this.queueTrns({ insertStart: t17, insertViews: i16, opts: e16 }, s23);
  }
  pop(t17, i16) {
    return this.removeIndex(-1, 1, t17, i16);
  }
  popTo(t17, i16, e16) {
    const s23 = { removeStart: -1, removeCount: -1, opts: i16 };
    return "object" == typeof t17 && t17.component ? (s23.removeView = t17, s23.removeStart = 1) : "number" == typeof t17 && (s23.removeStart = t17 + 1), this.queueTrns(s23, e16);
  }
  popToRoot(t17, i16) {
    return this.removeIndex(1, -1, t17, i16);
  }
  removeIndex(t17, i16 = 1, e16, s23) {
    return this.queueTrns({ removeStart: t17, removeCount: i16, opts: e16 }, s23);
  }
  setRoot(t17, i16, e16, s23) {
    return this.setPages([{ component: t17, componentProps: i16 }], e16, s23);
  }
  setPages(t17, i16, e16) {
    return null != i16 || (i16 = {}), true !== i16.animated && (i16.animated = false), this.queueTrns({ insertStart: 0, insertViews: t17, removeStart: 0, removeCount: -1, opts: i16 }, e16);
  }
  setRouteId(t17, i16, e16, s23) {
    const o14 = this.getActiveSync();
    if (b20(o14, t17, i16)) return Promise.resolve({ changed: false, element: o14.element });
    let n15;
    const r32 = new Promise(((t18) => n15 = t18));
    let a17;
    const h21 = { updateURL: false, viewIsReady: (t18) => {
      let i17;
      const e17 = new Promise(((t19) => i17 = t19));
      return n15({ changed: true, element: t18, markVisible: () => __async(this, null, function* () {
        i17(), yield a17;
      }) }), e17;
    } };
    if ("root" === e16) a17 = this.setRoot(t17, i16, h21);
    else {
      const o15 = this.views.find(((e17) => b20(e17, t17, i16)));
      o15 ? a17 = this.popTo(o15, Object.assign(Object.assign({}, h21), { direction: "back", animationBuilder: s23 })) : "forward" === e16 ? a17 = this.push(t17, i16, Object.assign(Object.assign({}, h21), { animationBuilder: s23 })) : "back" === e16 && (a17 = this.setRoot(t17, i16, Object.assign(Object.assign({}, h21), { direction: "back", animated: true, animationBuilder: s23 })));
    }
    return r32;
  }
  getRouteId() {
    return __async(this, null, function* () {
      const t17 = this.getActiveSync();
      if (t17) return { id: t17.element.tagName, params: t17.params, element: t17.element };
    });
  }
  getActive() {
    return __async(this, null, function* () {
      return this.getActiveSync();
    });
  }
  getByIndex(t17) {
    return __async(this, null, function* () {
      return this.views[t17];
    });
  }
  canGoBack(t17) {
    return __async(this, null, function* () {
      return this.canGoBackSync(t17);
    });
  }
  getPrevious(t17) {
    return __async(this, null, function* () {
      return this.getPreviousSync(t17);
    });
  }
  getLength() {
    return __async(this, null, function* () {
      return Promise.resolve(this.views.length);
    });
  }
  getActiveSync() {
    return this.views[this.views.length - 1];
  }
  canGoBackSync(t17 = this.getActiveSync()) {
    return !(!t17 || !this.getPreviousSync(t17));
  }
  getPreviousSync(t17 = this.getActiveSync()) {
    if (!t17) return;
    const i16 = this.views, e16 = i16.indexOf(t17);
    return e16 > 0 ? i16[e16 - 1] : void 0;
  }
  queueTrns(t17, i16) {
    return __async(this, null, function* () {
      var e16, s23;
      if (this.isTransitioning && (null === (e16 = t17.opts) || void 0 === e16 ? void 0 : e16.skipIfBusy)) return false;
      const o14 = new Promise(((i17, e17) => {
        t17.resolve = i17, t17.reject = e17;
      }));
      if (t17.done = i16, t17.opts && false !== t17.opts.updateURL && this.useRouter) {
        const i17 = document.querySelector("ion-router");
        if (i17) {
          const e17 = yield i17.canTransition();
          if (false === e17) return false;
          if ("string" == typeof e17) return i17.push(e17, t17.opts.direction || "back"), false;
        }
      }
      return 0 === (null === (s23 = t17.insertViews) || void 0 === s23 ? void 0 : s23.length) && (t17.insertViews = void 0), this.transInstr.push(t17), this.nextTrns(), o14;
    });
  }
  success(t17, i16) {
    if (this.destroyed) this.fireError("nav controller was destroyed", i16);
    else if (i16.done && i16.done(t17.hasCompleted, t17.requiresTransition, t17.enteringView, t17.leavingView, t17.direction), i16.resolve(t17.hasCompleted), false !== i16.opts.updateURL && this.useRouter) {
      const i17 = document.querySelector("ion-router");
      i17 && i17.navChanged("back" === t17.direction ? "back" : "forward");
    }
  }
  failed(t17, i16) {
    this.destroyed ? this.fireError("nav controller was destroyed", i16) : (this.transInstr.length = 0, this.fireError(t17, i16));
  }
  fireError(t17, i16) {
    i16.done && i16.done(false, false, t17), i16.reject && !this.destroyed ? i16.reject(t17) : i16.resolve(false);
  }
  nextTrns() {
    if (this.isTransitioning) return false;
    const t17 = this.transInstr.shift();
    return !!t17 && (this.runTransition(t17), true);
  }
  runTransition(t17) {
    return __async(this, null, function* () {
      try {
        this.ionNavWillChange.emit(), this.isTransitioning = true, this.prepareTI(t17);
        const i16 = this.getActiveSync(), e16 = this.getEnteringView(t17, i16);
        if (!i16 && !e16) throw Error("no views in the stack to be removed");
        e16 && 1 === e16.state && (yield e16.init(this.el)), this.postViewInit(e16, i16, t17);
        const s23 = (t17.enteringRequiresTransition || t17.leavingRequiresTransition) && e16 !== i16;
        let o14;
        s23 && t17.opts && i16 && ("back" === t17.opts.direction && (t17.opts.animationBuilder = t17.opts.animationBuilder || (null == e16 ? void 0 : e16.animationBuilder)), i16.animationBuilder = t17.opts.animationBuilder), o14 = s23 ? yield this.transition(e16, i16, t17) : { hasCompleted: true, requiresTransition: false }, this.success(o14, t17), this.ionNavDidChange.emit();
      } catch (i16) {
        this.failed(i16, t17);
      }
      this.isTransitioning = false, this.nextTrns();
    });
  }
  prepareTI(t17) {
    var i16, e16, s23;
    const o14 = this.views.length;
    if (null !== (i16 = t17.opts) && void 0 !== i16 || (t17.opts = {}), null !== (e16 = (s23 = t17.opts).delegate) && void 0 !== e16 || (s23.delegate = this.delegate), void 0 !== t17.removeView) {
      v(void 0 !== t17.removeStart, "removeView needs removeStart"), v(void 0 !== t17.removeCount, "removeView needs removeCount");
      const i17 = this.views.indexOf(t17.removeView);
      if (i17 < 0) throw Error("removeView was not found");
      t17.removeStart += i17;
    }
    void 0 !== t17.removeStart && (t17.removeStart < 0 && (t17.removeStart = o14 - 1), t17.removeCount < 0 && (t17.removeCount = o14 - t17.removeStart), t17.leavingRequiresTransition = t17.removeCount > 0 && t17.removeStart + t17.removeCount === o14), t17.insertViews && ((t17.insertStart < 0 || t17.insertStart > o14) && (t17.insertStart = o14), t17.enteringRequiresTransition = t17.insertStart === o14);
    const n15 = t17.insertViews;
    if (!n15) return;
    v(n15.length > 0, "length can not be zero");
    const r32 = ((t18) => t18.map(((t19) => t19 instanceof g16 ? t19 : "component" in t19 ? y9(t19.component, null === t19.componentProps ? void 0 : t19.componentProps) : y9(t19, void 0))).filter(((t19) => null !== t19)))(n15);
    if (0 === r32.length) throw Error("invalid views to insert");
    for (const i17 of r32) {
      i17.delegate = t17.opts.delegate;
      const e17 = i17.nav;
      if (e17 && e17 !== this) throw Error("inserted view was already inserted");
      if (3 === i17.state) throw Error("inserted view was already destroyed");
    }
    t17.insertViews = r32;
  }
  getEnteringView(t17, i16) {
    const e16 = t17.insertViews;
    if (void 0 !== e16) return e16[e16.length - 1];
    const s23 = t17.removeStart;
    if (void 0 !== s23) {
      const e17 = this.views, o14 = s23 + t17.removeCount;
      for (let t18 = e17.length - 1; t18 >= 0; t18--) {
        const n15 = e17[t18];
        if ((t18 < s23 || t18 >= o14) && n15 !== i16) return n15;
      }
    }
  }
  postViewInit(t17, i16, e16) {
    var s23, n15, r32;
    v(i16 || t17, "Both leavingView and enteringView are null"), v(e16.resolve, "resolve must be valid"), v(e16.reject, "reject must be valid");
    const a17 = e16.opts, { insertViews: h21, removeStart: u21, removeCount: l27 } = e16;
    let f27;
    if (void 0 !== u21 && void 0 !== l27) {
      v(u21 >= 0, "removeStart can not be negative"), v(l27 >= 0, "removeCount can not be negative"), f27 = [];
      for (let e17 = u21; e17 < u21 + l27; e17++) {
        const s24 = this.views[e17];
        void 0 !== s24 && s24 !== t17 && s24 !== i16 && f27.push(s24);
      }
      null !== (s23 = a17.direction) && void 0 !== s23 || (a17.direction = "back");
    }
    const w12 = this.views.length + (null !== (n15 = null == h21 ? void 0 : h21.length) && void 0 !== n15 ? n15 : 0) - (null != l27 ? l27 : 0);
    if (v(w12 >= 0, "final balance can not be negative"), 0 === w12) throw u("[ion-nav] - You can't remove all the pages in the navigation stack. nav.pop() is probably called too many times.", this, this.el), Error("navigation stack needs at least one root page");
    if (h21) {
      let t18 = e16.insertStart;
      for (const i17 of h21) this.insertViewAt(i17, t18), t18++;
      e16.enteringRequiresTransition && (null !== (r32 = a17.direction) && void 0 !== r32 || (a17.direction = "forward"));
    }
    if (f27 && f27.length > 0) {
      for (const t18 of f27) E(t18.element, s3), E(t18.element, c2), E(t18.element, l2);
      for (const t18 of f27) this.destroyView(t18);
    }
  }
  transition(t17, i16, e16) {
    return __async(this, null, function* () {
      const o14 = e16.opts, n15 = o14.progressAnimation ? (t18) => {
        void 0 === t18 || this.gestureOrAnimationInProgress ? this.sbAni = t18 : (this.gestureOrAnimationInProgress = true, t18.onFinish((() => {
          this.gestureOrAnimationInProgress = false;
        }), { oneTimeCallback: true }), t18.progressEnd(0, 0, 0));
      } : void 0, r32 = g(this), a17 = t17.element, h21 = i16 && i16.element, c36 = Object.assign(Object.assign({ mode: r32, showGoBack: this.canGoBackSync(t17), baseEl: this.el, progressCallback: n15, animated: this.animated && n.getBoolean("animated", true), enteringEl: a17, leavingEl: h21 }, o14), { animationBuilder: o14.animationBuilder || this.animation || n.get("navAnimation") }), { hasCompleted: d25 } = yield v2(c36);
      return this.transitionFinish(d25, t17, i16, o14);
    });
  }
  transitionFinish(t17, i16, e16, s23) {
    const o14 = t17 ? i16 : e16;
    return o14 && this.unmountInactiveViews(o14), { hasCompleted: t17, requiresTransition: true, enteringView: i16, leavingView: e16, direction: s23.direction };
  }
  insertViewAt(t17, i16) {
    const e16 = this.views, s23 = e16.indexOf(t17);
    s23 > -1 ? (v(t17.nav === this, "view is not part of the nav"), e16.splice(s23, 1), e16.splice(i16, 0, t17)) : (v(!t17.nav, "nav is used"), t17.nav = this, e16.splice(i16, 0, t17));
  }
  removeView(t17) {
    v(2 === t17.state || 3 === t17.state, "view state should be loaded or destroyed");
    const i16 = this.views, e16 = i16.indexOf(t17);
    v(e16 > -1, "view must be part of the stack"), e16 >= 0 && i16.splice(e16, 1);
  }
  destroyView(t17) {
    t17._destroy(), this.removeView(t17);
  }
  unmountInactiveViews(t17) {
    if (this.destroyed) return;
    const i16 = this.views, e16 = i16.indexOf(t17);
    for (let t18 = i16.length - 1; t18 >= 0; t18--) {
      const s23 = i16[t18], o14 = s23.element;
      o14 && (t18 > e16 ? (E(o14, l2), this.destroyView(s23)) : t18 < e16 && D(o14, true));
    }
  }
  canStart() {
    return !this.gestureOrAnimationInProgress && !!this.swipeGesture && !this.isTransitioning && 0 === this.transInstr.length && this.canGoBackSync();
  }
  onStart() {
    this.gestureOrAnimationInProgress = true, this.pop({ direction: "back", progressAnimation: true });
  }
  onMove(t17) {
    this.sbAni && this.sbAni.progressStep(t17);
  }
  onEnd(t17, i16, e16) {
    if (this.sbAni) {
      this.sbAni.onFinish((() => {
        this.gestureOrAnimationInProgress = false;
      }), { oneTimeCallback: true });
      let s23 = t17 ? -1e-3 : 1e-3;
      t17 ? s23 += t7([0, 0], [0.32, 0.72], [0, 1], [1, 1], i16)[0] : (this.sbAni.easing("cubic-bezier(1, 0, 0.68, 0.28)"), s23 += t7([0, 0], [1, 0], [0.68, 0.28], [1, 1], i16)[0]), this.sbAni.progressEnd(t17 ? 1 : 0, s23, e16);
    } else this.gestureOrAnimationInProgress = false;
  }
  render() {
    return Ct("slot", { key: "a549286b51b1bb23c9ef51f71148452228d0ab14" });
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { swipeGesture: [{ swipeGestureChanged: 0 }], root: [{ rootChanged: 0 }] };
  }
  static get style() {
    return ":host{left:0;right:0;top:0;bottom:0;position:absolute;contain:layout size style;z-index:0}";
  }
}, [257, "ion-nav", { delegate: [16], swipeGesture: [1028, "swipe-gesture"], animated: [4], animation: [16], rootParams: [16], root: [1], push: [64], insert: [64], insertPages: [64], pop: [64], popTo: [64], popToRoot: [64], removeIndex: [64], setRoot: [64], setPages: [64], setRouteId: [64], getRouteId: [64], getActive: [64], getByIndex: [64], canGoBack: [64], getPrevious: [64], getLength: [64] }, void 0, { swipeGesture: [{ swipeGestureChanged: 0 }], root: [{ rootChanged: 0 }] }]);
var E10 = function() {
  "undefined" != typeof customElements && ["ion-nav"].forEach(((t17) => {
    "ion-nav" === t17 && (customElements.get(Zn(t17)) || customElements.define(Zn(t17), k8));
  }));
};

// node_modules/@ionic/core/components/ion-checkbox.js
var r29 = d18;

// node_modules/@ionic/core/components/ion-datetime.js
var we2 = (e16, t17, a17, i16) => null === e16.day || void 0 !== i16 && !i16.includes(e16.day) || !(!t17 || !n9(e16, t17)) || !(!a17 || !o11(e16, a17));
var ke = (e16, t17, a17, i16, n15, o14, r32) => {
  const s23 = void 0 !== (Array.isArray(a17) ? a17 : [a17]).find(((e17) => t13(t17, e17))), d25 = t13(t17, i16);
  return { disabled: we2(t17, n15, o14, r32), isActive: s23, isToday: d25, ariaSelected: s23 ? "true" : null, ariaLabel: B8(e16, d25, t17), text: null != t17.day ? q6(e16, t17) : null };
};
var je = (e16, { minParts: t17, maxParts: a17 }) => !!((e17, t18, a18) => !!(t18 && t18.year > e17) || !!(a18 && a18.year < e17))(e16.year, t17, a17) || !!(t17 && n9(e16, t17) || a17 && o11(e16, a17));
var Ce = (e16, a17) => {
  var i16, n15, o14, r32;
  ((null === (i16 = null == a17 ? void 0 : a17.date) || void 0 === i16 ? void 0 : i16.timeZone) || (null === (n15 = null == a17 ? void 0 : a17.date) || void 0 === n15 ? void 0 : n15.timeZoneName) || (null === (o14 = null == a17 ? void 0 : a17.time) || void 0 === o14 ? void 0 : o14.timeZone) || (null === (r32 = null == a17 ? void 0 : a17.time) || void 0 === r32 ? void 0 : r32.timeZoneName)) && u('[ion-datetime] - "timeZone" and "timeZoneName" are not supported in "formatOptions".', e16);
};
var Oe2 = (e16, a17, i16) => {
  if (i16) switch (a17) {
    case "date":
    case "month-year":
    case "month":
    case "year":
      void 0 === i16.date && u(`[ion-datetime] - The '${a17}' presentation requires a date object in formatOptions.`, e16);
      break;
    case "time":
      void 0 === i16.time && u("[ion-datetime] - The 'time' presentation requires a time object in formatOptions.", e16);
      break;
    case "date-time":
    case "time-date":
      void 0 === i16.date && void 0 === i16.time && u(`[ion-datetime] - The '${a17}' presentation requires either a date or time object (or both) in formatOptions.`, e16);
  }
};
var Pe = Dn(class extends I {
  constructor(e16) {
    super(), false !== e16 && this.__registerHost(), this.__attachShadow(), this.ionCancel = Jt(this, "ionCancel", 7), this.ionChange = Jt(this, "ionChange", 7), this.ionValueChange = Jt(this, "ionValueChange", 7), this.ionFocus = Jt(this, "ionFocus", 7), this.ionBlur = Jt(this, "ionBlur", 7), this.ionStyle = Jt(this, "ionStyle", 7), this.ionRender = Jt(this, "ionRender", 7), this.inputId = "ion-dt-" + De++, this.prevPresentation = null, this.showMonthAndYear = false, this.activeParts = [], this.workingParts = { month: 5, day: 28, year: 2021, hour: 13, minute: 52, ampm: "pm", isAdjacentDay: false }, this.isTimePopoverOpen = false, this.color = "primary", this.name = this.inputId, this.disabled = false, this.readonly = false, this.showAdjacentDays = false, this.presentation = "date-time", this.cancelText = "Cancel", this.doneText = "Done", this.clearText = "Clear", this.locale = "default", this.firstDayOfWeek = 0, this.multiple = false, this.showDefaultTitle = false, this.showDefaultButtons = false, this.showClearButton = false, this.showDefaultTimeLabel = true, this.size = "fixed", this.preferWheel = false, this.warnIfIncorrectValueUsage = () => {
      const { multiple: e17, value: a17 } = this;
      !e17 && Array.isArray(a17) && u(`[ion-datetime] - An array of values was passed, but multiple is "false". This is incorrect usage and may result in unexpected behaviors. To dismiss this warning, pass a string to the "value" property when multiple="false".

  Value Passed: [${a17.map(((e18) => `'${e18}'`)).join(", ")}]
`, this.el);
    }, this.setValue = (e17) => {
      this.value = e17, this.ionChange.emit({ value: e17 });
    }, this.getActivePartsWithFallback = () => {
      var e17;
      const { defaultParts: t17 } = this;
      return null !== (e17 = this.getActivePart()) && void 0 !== e17 ? e17 : t17;
    }, this.getActivePart = () => {
      const { activeParts: e17 } = this;
      return Array.isArray(e17) ? e17[0] : e17;
    }, this.closeParentOverlay = (e17) => {
      const t17 = this.el.closest("ion-modal, ion-popover");
      t17 && t17.dismiss(void 0, e17);
    }, this.setWorkingParts = (e17) => {
      this.workingParts = Object.assign({}, e17);
    }, this.setActiveParts = (e17, t17 = false) => {
      if (this.readonly) return;
      const { multiple: a17, minParts: i16, maxParts: n15, activeParts: o14 } = this, r32 = W5(e17, i16, n15);
      if (this.setWorkingParts(r32), a17) {
        const e18 = Array.isArray(o14) ? o14 : [o14];
        this.activeParts = t17 ? e18.filter(((e19) => !t13(e19, r32))) : [...e18, r32];
      } else this.activeParts = Object.assign({}, r32);
      null !== this.el.querySelector('[slot="buttons"]') || this.showDefaultButtons || this.confirm();
    }, this.initializeKeyboardListeners = () => {
      const e17 = this.calendarBodyRef;
      if (!e17) return;
      const t17 = this.el.shadowRoot, a17 = e17.querySelector(".calendar-month:nth-of-type(2)"), i16 = new MutationObserver(((t18) => {
        var i17;
        !(null === (i17 = t18[0].oldValue) || void 0 === i17 ? void 0 : i17.includes("ion-focused")) && e17.classList.contains("ion-focused") && this.focusWorkingDay(a17);
      }));
      i16.observe(e17, { attributeFilter: ["class"], attributeOldValue: true }), this.destroyKeyboardMO = () => {
        null == i16 || i16.disconnect();
      }, e17.addEventListener("keydown", ((e18) => {
        const i17 = t17.activeElement;
        if (!i17 || !i17.classList.contains("calendar-day")) return;
        const n15 = m14(i17);
        let o14;
        switch (e18.key) {
          case "ArrowDown":
            e18.preventDefault(), o14 = x7(n15);
            break;
          case "ArrowUp":
            e18.preventDefault(), o14 = k4(n15);
            break;
          case "ArrowRight":
            e18.preventDefault(), o14 = D5(n15);
            break;
          case "ArrowLeft":
            e18.preventDefault(), o14 = T5(n15);
            break;
          case "Home":
            e18.preventDefault(), o14 = b8(n15);
            break;
          case "End":
            e18.preventDefault(), o14 = I6(n15);
            break;
          case "PageUp":
            e18.preventDefault(), o14 = e18.shiftKey ? U4(n15) : C2(n15);
            break;
          case "PageDown":
            e18.preventDefault(), o14 = e18.shiftKey ? E7(n15) : g7(n15);
            break;
          default:
            return;
        }
        we2(o14, this.minParts, this.maxParts) || (this.setWorkingParts(Object.assign(Object.assign({}, this.workingParts), o14)), requestAnimationFrame((() => this.focusWorkingDay(a17))));
      }));
    }, this.focusWorkingDay = (e17) => {
      const { day: t17, month: a17, year: i16 } = this.workingParts, n15 = (/* @__PURE__ */ new Date(`${a17}/1/${i16}`)).getDay();
      if (null === t17) return;
      const o14 = e17.querySelector(`.calendar-day-wrapper:nth-of-type(${(n15 >= this.firstDayOfWeek ? n15 - this.firstDayOfWeek : 7 - (this.firstDayOfWeek - n15)) + t17}) .calendar-day`);
      o14 && o14.focus();
    }, this.processMinParts = () => {
      const { min: e17, defaultParts: t17 } = this;
      this.minParts = void 0 !== e17 ? O6(e17, t17) : void 0;
    }, this.processMaxParts = () => {
      const { max: e17, defaultParts: t17 } = this;
      this.maxParts = void 0 !== e17 ? w6(e17, t17) : void 0;
    }, this.initializeCalendarListener = () => {
      const e17 = this.calendarBodyRef;
      if (!e17) return;
      const t17 = e17.querySelectorAll(".calendar-month"), a17 = t17[0], i16 = t17[1], n15 = t17[2], r32 = "ios" === g(this) && "undefined" != typeof navigator && navigator.maxTouchPoints > 1;
      P((() => {
        e17.scrollLeft = a17.clientWidth * (o4(this.el) ? -1 : 1);
        const t18 = (t19) => {
          const i17 = e17.getBoundingClientRect(), o14 = (o4(this.el) ? e17.scrollLeft >= -2 : e17.scrollLeft <= 2) ? a17 : n15, r33 = o14.getBoundingClientRect();
          if (Math.abs(r33.x - i17.x) > 2) return;
          const { forceRenderDate: s24 } = this;
          return void 0 !== s24 ? { month: s24.month, year: s24.year, day: s24.day } : o14 === a17 ? C2(t19) : o14 === n15 ? g7(t19) : void 0;
        }, s23 = () => {
          r32 && (e17.style.removeProperty("pointer-events"), l27 = false);
          const a18 = t18(this.workingParts);
          if (!a18) return;
          const { month: n16, day: s24, year: d26 } = a18;
          je({ month: n16, year: d26, day: null }, { minParts: Object.assign(Object.assign({}, this.minParts), { day: null }), maxParts: Object.assign(Object.assign({}, this.maxParts), { day: null }) }) || (e17.style.setProperty("overflow", "hidden"), P((() => {
            var t19;
            this.setWorkingParts(Object.assign(Object.assign({}, this.workingParts), { month: n16, day: s24, year: d26 })), e17.scrollLeft = i16.clientWidth * (o4(this.el) ? -1 : 1), e17.style.removeProperty("overflow"), this.resolveForceDateScrolling && this.resolveForceDateScrolling();
            const a19 = this.el.shadowRoot.activeElement;
            a19 && a19.classList.contains("calendar-day") && (null === (t19 = a19.closest(".calendar-body")) || void 0 === t19 || t19.focus());
          })));
        };
        let d25, l27 = false;
        const h21 = () => {
          d25 && clearTimeout(d25), !l27 && r32 && (e17.style.setProperty("pointer-events", "none"), l27 = true), d25 = setTimeout(s23, 50);
        };
        e17.addEventListener("scroll", h21), this.destroyCalendarListener = () => {
          e17.removeEventListener("scroll", h21);
        };
      }));
    }, this.destroyInteractionListeners = () => {
      const { destroyCalendarListener: e17, destroyKeyboardMO: t17 } = this;
      void 0 !== e17 && e17(), void 0 !== t17 && t17();
    }, this.ensureReadyIfVisible = () => {
      if (this.el.classList.contains("datetime-ready")) return;
      const e17 = this.el.getBoundingClientRect();
      0 !== e17.width && 0 !== e17.height && (this.initializeListeners(), P((() => {
        this.el.classList.add("datetime-ready");
      })));
    }, this.loadTimeoutCleanup = () => {
      this.loadTimeout && (clearTimeout(this.loadTimeout), this.loadTimeout = void 0);
    }, this.processValue = (e17) => {
      const t17 = null != e17 && "" !== e17 && (!Array.isArray(e17) || e17.length > 0), a17 = t17 ? y7(e17) : this.defaultParts, { minParts: i16, maxParts: n15, workingParts: o14, el: r32 } = this;
      if (this.warnIfIncorrectValueUsage(), !a17) return;
      t17 && r13(a17, i16, n15);
      const s23 = h11(Array.isArray(a17) ? a17[a17.length - 1] : a17, i16, n15), { month: d25, day: l27, year: h21, hour: c36, minute: p33 } = s23, m28 = f12(c36);
      this.activeParts = t17 ? Array.isArray(a17) ? [...a17] : { month: d25, day: l27, year: h21, hour: c36, minute: p33, ampm: m28 } : [];
      const u21 = void 0 !== d25 && d25 !== o14.month || void 0 !== h21 && h21 !== o14.year, b21 = r32.classList.contains("datetime-ready"), { isGridStyle: y14, showMonthAndYear: g20 } = this;
      y14 && u21 && b21 && !g20 ? this.animateToDate(s23) : this.setWorkingParts({ month: d25, day: l27, year: h21, hour: c36, minute: p33, ampm: m28 });
    }, this.animateToDate = (e17) => __async(this, null, function* () {
      const { workingParts: t17 } = this;
      this.forceRenderDate = e17;
      const a17 = new Promise(((e18) => {
        this.resolveForceDateScrolling = e18;
      }));
      n9(e17, t17) ? this.prevMonth() : this.nextMonth(), yield a17, this.resolveForceDateScrolling = void 0, this.forceRenderDate = void 0;
    }), this.onFocus = () => {
      this.ionFocus.emit();
    }, this.onBlur = () => {
      this.ionBlur.emit();
    }, this.hasValue = () => null != this.value, this.nextMonth = () => {
      const e17 = this.calendarBodyRef;
      if (!e17) return;
      const t17 = e17.querySelector(".calendar-month:last-of-type");
      t17 && e17.scrollTo({ top: 0, left: 2 * t17.offsetWidth * (o4(this.el) ? -1 : 1), behavior: "smooth" });
    }, this.prevMonth = () => {
      const e17 = this.calendarBodyRef;
      if (!e17) return;
      const t17 = e17.querySelector(".calendar-month:first-of-type");
      t17 && e17.scrollTo({ top: 0, left: 2 * t17.offsetWidth * (o4(this.el) ? 1 : -1), behavior: "smooth" });
    }, this.toggleMonthAndYearView = () => {
      this.showMonthAndYear = !this.showMonthAndYear;
    };
  }
  formatOptionsChanged() {
    const { el: e16, formatOptions: t17, presentation: a17 } = this;
    Oe2(e16, a17, t17), Ce(e16, t17);
  }
  disabledChanged() {
    this.emitStyle();
  }
  minChanged() {
    this.processMinParts();
  }
  maxChanged() {
    this.processMaxParts();
  }
  presentationChanged() {
    const { el: e16, formatOptions: t17, presentation: a17 } = this;
    Oe2(e16, a17, t17);
  }
  get isGridStyle() {
    const { presentation: e16, preferWheel: t17 } = this;
    return ("date" === e16 || "date-time" === e16 || "time-date" === e16) && !t17;
  }
  yearValuesChanged() {
    this.parsedYearValues = v9(this.yearValues);
  }
  monthValuesChanged() {
    this.parsedMonthValues = v9(this.monthValues);
  }
  dayValuesChanged() {
    this.parsedDayValues = v9(this.dayValues);
  }
  hourValuesChanged() {
    this.parsedHourValues = v9(this.hourValues);
  }
  minuteValuesChanged() {
    this.parsedMinuteValues = v9(this.minuteValues);
  }
  valueChanged() {
    return __async(this, null, function* () {
      const { value: e16 } = this;
      this.hasValue() && this.processValue(e16), this.emitStyle(), this.ionValueChange.emit({ value: e16 });
    });
  }
  confirm(e16 = false) {
    return __async(this, null, function* () {
      const { isCalendarPicker: t17, activeParts: a17, preferWheel: i16, workingParts: n15 } = this;
      void 0 === a17 && t17 || this.setValue(Array.isArray(a17) && 0 === a17.length ? i16 ? p13(n15) : void 0 : p13(a17)), e16 && this.closeParentOverlay(Ve);
    });
  }
  reset(e16) {
    return __async(this, null, function* () {
      this.processValue(e16);
    });
  }
  cancel(e16 = false) {
    return __async(this, null, function* () {
      this.ionCancel.emit(), e16 && this.closeParentOverlay(ze);
    });
  }
  get isCalendarPicker() {
    const { presentation: e16 } = this;
    return "date" === e16 || "date-time" === e16 || "time-date" === e16;
  }
  connectedCallback() {
    this.clearFocusVisible = e4(this.el).destroy, this.loadTimeout = setTimeout((() => {
      this.ensureReadyIfVisible();
    }), 100);
  }
  disconnectedCallback() {
    this.clearFocusVisible && (this.clearFocusVisible(), this.clearFocusVisible = void 0), this.loadTimeoutCleanup();
  }
  initializeListeners() {
    this.initializeCalendarListener(), this.initializeKeyboardListeners();
  }
  componentDidLoad() {
    const { el: e16, intersectionTrackerRef: t17 } = this, a17 = new IntersectionObserver(((e17) => {
      e17[0].isIntersecting && (this.initializeListeners(), P((() => {
        this.el.classList.add("datetime-ready");
      })));
    }), { threshold: 0.01, root: e16 });
    d2((() => null == a17 ? void 0 : a17.observe(t17))), this.loadTimeoutCleanup(), this.loadTimeout = setTimeout((() => {
      this.ensureReadyIfVisible();
    }), 100);
    const i16 = new IntersectionObserver(((e17) => {
      e17[0].isIntersecting || (this.destroyInteractionListeners(), this.showMonthAndYear = false, P((() => {
        this.el.classList.remove("datetime-ready");
      })));
    }), { threshold: 0, root: e16 });
    d2((() => null == i16 ? void 0 : i16.observe(t17)));
    const n15 = c(this.el);
    n15.addEventListener("ionFocus", ((e17) => e17.stopPropagation())), n15.addEventListener("ionBlur", ((e17) => e17.stopPropagation()));
  }
  componentDidRender() {
    const { presentation: e16, prevPresentation: t17, calendarBodyRef: a17, minParts: i16, preferWheel: n15, forceRenderDate: o14 } = this;
    if (void 0 !== i16 && !n15 && ["date-time", "time-date", "date"].includes(e16) && a17) {
      const e17 = a17.querySelector(".calendar-month:nth-of-type(1)");
      e17 && void 0 === o14 && (a17.scrollLeft = e17.clientWidth * (o4(this.el) ? -1 : 1));
    }
    null !== t17 ? e16 !== t17 && (this.prevPresentation = e16, this.destroyInteractionListeners(), this.initializeListeners(), this.showMonthAndYear = false, d2((() => {
      this.ionRender.emit();
    }))) : this.prevPresentation = e16;
  }
  componentWillLoad() {
    const { el: e16, formatOptions: a17, highlightedDates: i16, multiple: n15, presentation: o14, preferWheel: r32 } = this;
    n15 && ("date" !== o14 && u('[ion-datetime] - Multiple date selection is only supported for presentation="date".', e16), r32 && u('[ion-datetime] - Multiple date selection is not supported with preferWheel="true".', e16)), void 0 !== i16 && ("date" !== o14 && "date-time" !== o14 && "time-date" !== o14 && u("[ion-datetime] - The highlightedDates property is only supported with the date, date-time, and time-date presentations.", e16), r32 && u('[ion-datetime] - The highlightedDates property is not supported with preferWheel="true".', e16)), a17 && (Oe2(e16, o14, a17), Ce(e16, a17));
    const s23 = this.parsedHourValues = v9(this.hourValues), d25 = this.parsedMinuteValues = v9(this.minuteValues), l27 = this.parsedMonthValues = v9(this.monthValues), h21 = this.parsedYearValues = v9(this.yearValues), c36 = this.parsedDayValues = v9(this.dayValues), p33 = this.todayParts = y7(re());
    this.processMinParts(), this.processMaxParts(), this.defaultParts = G5({ refParts: p33, monthValues: l27, dayValues: c36, yearValues: h21, hourValues: s23, minuteValues: d25, minParts: this.minParts, maxParts: this.maxParts }), this.processValue(this.value), this.emitStyle();
  }
  emitStyle() {
    this.ionStyle.emit({ interactive: true, datetime: true, "interactive-disabled": this.disabled });
  }
  renderFooter() {
    const { disabled: e16, readonly: t17, showDefaultButtons: a17, showClearButton: i16 } = this, n15 = e16 || t17;
    if (null === this.el.querySelector('[slot="buttons"]') && !a17 && !i16) return;
    const o14 = () => {
      this.reset(), this.setValue(void 0);
    };
    return Ct("div", { class: "datetime-footer" }, Ct("div", { class: "datetime-buttons" }, Ct("div", { class: { "datetime-action-buttons": true, "has-clear-button": this.showClearButton } }, Ct("slot", { name: "buttons" }, Ct("ion-buttons", null, a17 && Ct("ion-button", { id: "cancel-button", color: this.color, onClick: () => this.cancel(true), disabled: n15 }, this.cancelText), Ct("div", { class: "datetime-action-buttons-container" }, i16 && Ct("ion-button", { id: "clear-button", color: this.color, onClick: () => o14(), disabled: n15 }, this.clearText), a17 && Ct("ion-button", { id: "confirm-button", color: this.color, onClick: () => this.confirm(true), disabled: n15 }, this.doneText)))))));
  }
  renderWheelPicker(e16 = this.presentation) {
    const t17 = "time-date" === e16 ? [this.renderTimePickerColumns(e16), this.renderDatePickerColumns(e16)] : [this.renderDatePickerColumns(e16), this.renderTimePickerColumns(e16)];
    return Ct("ion-picker", { class: nn }, t17);
  }
  renderDatePickerColumns(e16) {
    return "date-time" === e16 || "time-date" === e16 ? this.renderCombinedDatePickerColumn() : this.renderIndividualDatePickerColumns(e16);
  }
  renderCombinedDatePickerColumn() {
    const { defaultParts: t17, disabled: a17, workingParts: i16, locale: n15, minParts: o14, maxParts: s23, todayParts: d25, isDateEnabled: l27 } = this, h21 = this.getActivePartsWithFallback(), c36 = me(i16), p33 = c36[c36.length - 1];
    c36[0].day = 1, p33.day = d11(p33.month, p33.year);
    const m28 = void 0 !== o14 && o11(o14, c36[0]) ? o14 : c36[0], u21 = void 0 !== s23 && n9(s23, p33) ? s23 : p33, b21 = Oe(n15, d25, m28, u21, this.parsedDayValues, this.parsedMonthValues);
    let y14 = b21.items;
    const g20 = b21.parts;
    l27 && (y14 = y14.map(((t18, a18) => {
      const i17 = g20[a18];
      let n16;
      try {
        n16 = !l27(p13(i17));
      } catch (t19) {
        f("[ion-datetime] - Exception thrown from provided `isDateEnabled` function. Please check your function and try again.", t19);
      }
      return Object.assign(Object.assign({}, t18), { disabled: n16 });
    })));
    const f27 = null !== i16.day ? `${i16.year}-${i16.month}-${i16.day}` : `${t17.year}-${t17.month}-${t17.day}`;
    return Ct("ion-picker-column", { part: Te, "aria-label": "Select a date", class: "date-column", color: this.color, disabled: a17, value: f27, onIonChange: (e16) => {
      const { value: t18 } = e16.detail, a18 = g20.find((({ month: e17, day: a19, year: i17 }) => t18 === `${i17}-${e17}-${a19}`));
      this.setWorkingParts(Object.assign(Object.assign({}, i16), a18)), this.setActiveParts(Object.assign(Object.assign({}, h21), a18)), e16.stopPropagation();
    } }, y14.map(((e16) => Ct("ion-picker-column-option", { part: e16.value === f27 ? `${$e2} ${Ee}` : $e2, key: e16.value, disabled: e16.disabled, value: e16.value }, e16.text))));
  }
  renderIndividualDatePickerColumns(t17) {
    const { workingParts: a17, isDateEnabled: i16 } = this, n15 = "year" !== t17 && "time" !== t17 ? ye(this.locale, a17, this.minParts, this.maxParts, this.parsedMonthValues) : [];
    let o14 = "date" === t17 ? he(this.locale, a17, this.minParts, this.maxParts, this.parsedDayValues) : [];
    i16 && (o14 = o14.map(((t18) => {
      const { value: n16 } = t18, o15 = { month: a17.month, day: "string" == typeof n16 ? parseInt(n16) : n16, year: a17.year };
      let r33;
      try {
        r33 = !i16(p13(o15));
      } catch (t19) {
        f("[ion-datetime] - Exception thrown from provided `isDateEnabled` function. Please check your function and try again.", t19);
      }
      return Object.assign(Object.assign({}, t18), { disabled: r33 });
    })));
    const r32 = "month" !== t17 && "time" !== t17 ? fe(this.locale, this.defaultParts, this.minParts, this.maxParts, this.parsedYearValues) : [];
    let s23 = [];
    return s23 = u11(this.locale, { month: "numeric", day: "numeric" }) ? [this.renderMonthPickerColumn(n15), this.renderDayPickerColumn(o14), this.renderYearPickerColumn(r32)] : [this.renderDayPickerColumn(o14), this.renderMonthPickerColumn(n15), this.renderYearPickerColumn(r32)], s23;
  }
  renderDayPickerColumn(e16) {
    var t17;
    if (0 === e16.length) return [];
    const { disabled: a17, workingParts: i16 } = this, n15 = this.getActivePartsWithFallback(), o14 = null !== (t17 = null !== i16.day ? i16.day : this.defaultParts.day) && void 0 !== t17 ? t17 : void 0;
    return Ct("ion-picker-column", { part: Te, "aria-label": "Select a day", class: "day-column", color: this.color, disabled: a17, value: o14, onIonChange: (e17) => {
      this.setWorkingParts(Object.assign(Object.assign({}, i16), { day: e17.detail.value })), this.setActiveParts(Object.assign(Object.assign({}, n15), { day: e17.detail.value })), e17.stopPropagation();
    } }, e16.map(((e17) => Ct("ion-picker-column-option", { part: e17.value === o14 ? `${$e2} ${Ee}` : $e2, key: e17.value, disabled: e17.disabled, value: e17.value }, e17.text))));
  }
  renderMonthPickerColumn(e16) {
    if (0 === e16.length) return [];
    const { disabled: t17, workingParts: a17 } = this, i16 = this.getActivePartsWithFallback();
    return Ct("ion-picker-column", { part: Te, "aria-label": "Select a month", class: "month-column", color: this.color, disabled: t17, value: a17.month, onIonChange: (e17) => {
      this.setWorkingParts(Object.assign(Object.assign({}, a17), { month: e17.detail.value })), this.setActiveParts(Object.assign(Object.assign({}, i16), { month: e17.detail.value })), e17.stopPropagation();
    } }, e16.map(((e17) => Ct("ion-picker-column-option", { part: e17.value === a17.month ? `${$e2} ${Ee}` : $e2, key: e17.value, disabled: e17.disabled, value: e17.value }, e17.text))));
  }
  renderYearPickerColumn(e16) {
    if (0 === e16.length) return [];
    const { disabled: t17, workingParts: a17 } = this, i16 = this.getActivePartsWithFallback();
    return Ct("ion-picker-column", { part: Te, "aria-label": "Select a year", class: "year-column", color: this.color, disabled: t17, value: a17.year, onIonChange: (e17) => {
      this.setWorkingParts(Object.assign(Object.assign({}, a17), { year: e17.detail.value })), this.setActiveParts(Object.assign(Object.assign({}, i16), { year: e17.detail.value })), e17.stopPropagation();
    } }, e16.map(((e17) => Ct("ion-picker-column-option", { part: e17.value === a17.year ? `${$e2} ${Ee}` : $e2, key: e17.value, disabled: e17.disabled, value: e17.value }, e17.text))));
  }
  renderTimePickerColumns(e16) {
    if (["date", "month", "month-year", "year"].includes(e16)) return [];
    const t17 = void 0 !== this.getActivePart(), { hoursData: a17, minutesData: i16, dayPeriodData: n15 } = $e(this.locale, this.workingParts, this.hourCycle, t17 ? this.minParts : void 0, t17 ? this.maxParts : void 0, this.parsedHourValues, this.parsedMinuteValues);
    return [this.renderHourPickerColumn(a17), this.renderMinutePickerColumn(i16), this.renderDayPeriodPickerColumn(n15)];
  }
  renderHourPickerColumn(e16) {
    const { disabled: t17, workingParts: a17 } = this;
    if (0 === e16.length) return [];
    const i16 = this.getActivePartsWithFallback();
    return Ct("ion-picker-column", { part: Te, "aria-label": "Select an hour", color: this.color, disabled: t17, value: i16.hour, numericInput: true, onIonChange: (e17) => {
      this.setWorkingParts(Object.assign(Object.assign({}, a17), { hour: e17.detail.value })), this.setActiveParts(Object.assign(Object.assign({}, this.getActivePartsWithFallback()), { hour: e17.detail.value })), e17.stopPropagation();
    } }, e16.map(((e17) => Ct("ion-picker-column-option", { part: e17.value === i16.hour ? `${$e2} ${Ee}` : $e2, key: e17.value, disabled: e17.disabled, value: e17.value }, e17.text))));
  }
  renderMinutePickerColumn(e16) {
    const { disabled: t17, workingParts: a17 } = this;
    if (0 === e16.length) return [];
    const i16 = this.getActivePartsWithFallback();
    return Ct("ion-picker-column", { part: Te, "aria-label": "Select a minute", color: this.color, disabled: t17, value: i16.minute, numericInput: true, onIonChange: (e17) => {
      this.setWorkingParts(Object.assign(Object.assign({}, a17), { minute: e17.detail.value })), this.setActiveParts(Object.assign(Object.assign({}, this.getActivePartsWithFallback()), { minute: e17.detail.value })), e17.stopPropagation();
    } }, e16.map(((e17) => Ct("ion-picker-column-option", { part: e17.value === i16.minute ? `${$e2} ${Ee}` : $e2, key: e17.value, disabled: e17.disabled, value: e17.value }, e17.text))));
  }
  renderDayPeriodPickerColumn(e16) {
    const { disabled: t17, workingParts: a17 } = this;
    if (0 === e16.length) return [];
    const i16 = this.getActivePartsWithFallback(), n15 = l14(this.locale);
    return Ct("ion-picker-column", { part: Te, "aria-label": "Select a day period", style: n15 ? { order: "-1" } : {}, color: this.color, disabled: t17, value: i16.ampm, onIonChange: (e17) => {
      const t18 = P3(a17, e17.detail.value);
      this.setWorkingParts(Object.assign(Object.assign({}, a17), { ampm: e17.detail.value, hour: t18 })), this.setActiveParts(Object.assign(Object.assign({}, this.getActivePartsWithFallback()), { ampm: e17.detail.value, hour: t18 })), e17.stopPropagation();
    } }, e16.map(((e17) => Ct("ion-picker-column-option", { part: e17.value === i16.ampm ? `${$e2} ${Ee}` : $e2, key: e17.value, disabled: e17.disabled, value: e17.value }, e17.text))));
  }
  renderWheelView(e16) {
    const { locale: t17 } = this, a17 = u11(t17) ? "month-first" : "year-first";
    return Ct("div", { class: { ["wheel-order-" + a17]: true } }, this.renderWheelPicker(e16));
  }
  renderCalendarHeader(e16) {
    const { disabled: t17 } = this, a17 = "ios" === e16 ? g3 : a7, i16 = "ios" === e16 ? w4 : n6, n15 = t17 || ((e17, t18, a18) => {
      const i17 = Object.assign(Object.assign({}, C2(this.workingParts)), { day: null });
      return je(i17, { minParts: t18, maxParts: a18 });
    })(0, this.minParts, this.maxParts), o14 = t17 || ((e17, t18) => {
      const a18 = Object.assign(Object.assign({}, g7(this.workingParts)), { day: null });
      return je(a18, { maxParts: t18 });
    })(0, this.maxParts), s23 = this.el.getAttribute("dir") || void 0;
    return Ct("div", { class: "calendar-header", part: "calendar-header" }, Ct("div", { class: "calendar-action-buttons" }, Ct("div", { class: "calendar-month-year" }, Ct("button", { class: { "calendar-month-year-toggle": true, "ion-activatable": true, "ion-focusable": true }, part: "month-year-button", disabled: t17, "aria-label": this.showMonthAndYear ? "Hide year picker" : "Show year picker", onClick: () => this.toggleMonthAndYearView() }, Ct("span", { id: "toggle-wrapper" }, H6(this.locale, this.workingParts), Ct("ion-icon", { "aria-hidden": "true", icon: this.showMonthAndYear ? a17 : i16, lazy: false, flipRtl: true })), "md" === e16 && Ct("ion-ripple-effect", null))), Ct("div", { class: "calendar-next-prev" }, Ct("ion-buttons", null, Ct("ion-button", { "aria-label": "Previous month", disabled: n15, onClick: () => this.prevMonth(), part: "navigation-button previous-button" }, Ct("ion-icon", { dir: s23, "aria-hidden": "true", slot: "icon-only", icon: l7, lazy: false, flipRtl: true })), Ct("ion-button", { "aria-label": "Next month", disabled: o14, onClick: () => this.nextMonth(), part: "navigation-button next-button" }, Ct("ion-icon", { dir: s23, "aria-hidden": "true", slot: "icon-only", icon: w4, lazy: false, flipRtl: true }))))), Ct("div", { class: "calendar-days-of-week", "aria-hidden": "true", part: "calendar-days-of-week" }, se(this.locale, e16, this.firstDayOfWeek % 7).map(((e17) => Ct("div", { class: "day-of-week" }, e17)))));
  }
  renderMonth(t17, a17) {
    const { disabled: i16, readonly: n15 } = this, o14 = void 0 === this.parsedYearValues || this.parsedYearValues.includes(a17), s23 = void 0 === this.parsedMonthValues || this.parsedMonthValues.includes(t17), d25 = !o14 || !s23, l27 = i16 || n15, h21 = i16 || je({ month: t17, year: a17, day: null }, { minParts: Object.assign(Object.assign({}, this.minParts), { day: null }), maxParts: Object.assign(Object.assign({}, this.maxParts), { day: null }) }), c36 = this.workingParts.month === t17 && this.workingParts.year === a17, p33 = this.getActivePartsWithFallback();
    return Ct("div", { "aria-hidden": c36 ? null : "true", class: { "calendar-month": true, "calendar-month-disabled": !c36 && h21 } }, Ct("div", { class: "calendar-month-grid" }, ce(t17, a17, this.firstDayOfWeek % 7, this.showAdjacentDays).map(((i17, n16) => {
      const { day: o15, dayOfWeek: s24, isAdjacentDay: h22 } = i17, { el: c37, highlightedDates: m28, isDateEnabled: u21, multiple: b21, showAdjacentDays: y14 } = this;
      let g20 = t17, f27 = a17;
      y14 && h22 && null !== o15 && (o15 > 20 ? 1 === t17 ? (f27 = a17 - 1, g20 = 12) : g20 = t17 - 1 : o15 < 15 && (12 === t17 ? (f27 = a17 + 1, g20 = 1) : g20 = t17 + 1));
      const x16 = { month: g20, day: o15, year: f27, isAdjacentDay: h22 }, v18 = null === o15, { isActive: w12, isToday: k12, ariaLabel: j8, ariaSelected: C7, disabled: O10, text: P6 } = ke(this.locale, x16, this.activeParts, this.todayParts, this.minParts, this.maxParts, this.parsedDayValues), D7 = p13(x16);
      let z11 = d25 || O10;
      if (!z11 && void 0 !== u21) try {
        z11 = !u21(D7);
      } catch (t18) {
        f("[ion-datetime] - Exception thrown from provided `isDateEnabled` function. Please check your function and try again.", c37, t18);
      }
      const V5 = z11 && l27, T8 = z11 || l27;
      let $4, E11;
      return void 0 === m28 || w12 || null === o15 || h22 || ($4 = ((t18, a18, i18) => {
        if (Array.isArray(t18)) {
          const e16 = a18.split("T")[0], i19 = t18.find(((t19) => t19.date === e16));
          if (i19) return { textColor: i19.textColor, backgroundColor: i19.backgroundColor, border: i19.border };
        } else try {
          return t18(a18);
        } catch (t19) {
          f("[ion-datetime] - Exception thrown from provided `highlightedDates` callback. Please check your function and try again.", i18, t19);
        }
      })(m28, D7, c37)), v18 || h22 ? h22 && (E11 = "calendar-day" + (z11 ? " disabled" : "")) : E11 = `calendar-day${w12 ? " active" : ""}${k12 ? " today" : ""}${z11 ? " disabled" : ""}`, Ct("div", { class: "calendar-day-wrapper" }, Ct("button", { ref: (e16) => {
        e16 && (e16.style.setProperty("color", "" + ($4 ? $4.textColor : ""), "important"), e16.style.setProperty("background-color", "" + ($4 ? $4.backgroundColor : ""), "important"), e16.style.setProperty("border", "" + ($4 ? $4.border : ""), "important"));
      }, tabindex: "-1", "data-day": o15, "data-month": g20, "data-year": f27, "data-index": n16, "data-day-of-week": s24, disabled: T8, class: { "calendar-day-padding": v18, "calendar-day": true, "calendar-day-active": w12, "calendar-day-constrained": V5, "calendar-day-today": k12, "calendar-day-adjacent-day": h22 }, part: E11, "aria-hidden": v18 ? "true" : null, "aria-selected": C7, "aria-label": j8, onClick: () => {
        v18 || (h22 ? (this.el.blur(), this.activeParts = Object.assign(Object.assign({}, p33), x16), this.animateToDate(x16), this.confirm()) : (this.setWorkingParts(Object.assign(Object.assign({}, this.workingParts), x16)), b21 ? this.setActiveParts(x16, w12) : this.setActiveParts(Object.assign(Object.assign({}, p33), x16))));
      } }, P6));
    }))));
  }
  renderCalendarBody() {
    return Ct("div", { class: "calendar-body ion-focusable", ref: (e16) => this.calendarBodyRef = e16, tabindex: "0" }, me(this.workingParts, this.forceRenderDate).map((({ month: e16, year: t17 }) => this.renderMonth(e16, t17))));
  }
  renderCalendar(e16) {
    return Ct("div", { class: "datetime-calendar", key: "datetime-calendar" }, this.renderCalendarHeader(e16), this.renderCalendarBody());
  }
  renderTimeLabel() {
    if (null !== this.el.querySelector('[slot="time-label"]') || this.showDefaultTimeLabel) return Ct("slot", { name: "time-label" }, "Time");
  }
  renderTimeOverlay() {
    const { disabled: e16, hourCycle: t17, isTimePopoverOpen: a17, locale: i16, formatOptions: n15 } = this, o14 = a13(i16, t17), s23 = this.getActivePartsWithFallback();
    return [Ct("div", { class: "time-header" }, this.renderTimeLabel()), Ct("button", { class: { "time-body": true, "time-body-active": a17 }, part: "time-button" + (a17 ? " active" : ""), "aria-expanded": "false", "aria-haspopup": "true", disabled: e16, onClick: (e17) => __async(this, null, function* () {
      const { popoverRef: t18 } = this;
      t18 && (this.isTimePopoverOpen = true, t18.present(new CustomEvent("ionShadowTarget", { detail: { ionShadowTarget: e17.target } })), yield t18.onWillDismiss(), this.isTimePopoverOpen = false);
    }) }, F3(i16, s23, o14, null == n15 ? void 0 : n15.time)), Ct("ion-popover", { alignment: "center", translucent: true, overlayIndex: 1, arrow: false, onWillPresent: (e17) => {
      e17.target.querySelectorAll("ion-picker-column").forEach(((e18) => e18.scrollActiveItemIntoView()));
    }, style: { "--offset-y": "-10px", "--min-width": "fit-content" }, keyboardEvents: true, ref: (e17) => this.popoverRef = e17 }, this.renderWheelPicker("time"))];
  }
  getHeaderSelectedDateText() {
    var t17;
    const { activeParts: a17, formatOptions: i16, multiple: n15, titleSelectedDatesFormatter: o14 } = this;
    let r32;
    if (n15 && Array.isArray(a17) && 1 !== a17.length) {
      if (r32 = a17.length + " days", void 0 !== o14) try {
        r32 = o14(p13(a17));
      } catch (t18) {
        f("[ion-datetime] - Exception in provided `titleSelectedDatesFormatter`:", t18);
      }
    } else r32 = L6(this.locale, this.getActivePartsWithFallback(), null !== (t17 = null == i16 ? void 0 : i16.date) && void 0 !== t17 ? t17 : { weekday: "short", month: "short", day: "numeric" });
    return r32;
  }
  renderHeader(e16 = true) {
    if (null !== this.el.querySelector('[slot="title"]') || this.showDefaultTitle) return Ct("div", { class: "datetime-header", part: "datetime-header" }, Ct("div", { class: "datetime-title", part: "datetime-title" }, Ct("slot", { name: "title" }, "Select Date")), e16 && Ct("div", { class: "datetime-selected-date", part: "datetime-selected-date" }, this.getHeaderSelectedDateText()));
  }
  renderTime() {
    const { presentation: e16 } = this;
    return Ct("div", { class: "datetime-time" }, "time" === e16 ? this.renderWheelPicker() : this.renderTimeOverlay());
  }
  renderCalendarViewMonthYearPicker() {
    return Ct("div", { class: "datetime-year" }, this.renderWheelView("month-year"));
  }
  renderDatetime(e16) {
    const { presentation: t17, preferWheel: a17 } = this;
    if (a17 && ("date" === t17 || "date-time" === t17 || "time-date" === t17)) return [this.renderHeader(false), this.renderWheelView(), this.renderFooter()];
    switch (t17) {
      case "date-time":
        return [this.renderHeader(), this.renderCalendar(e16), this.renderCalendarViewMonthYearPicker(), this.renderTime(), this.renderFooter()];
      case "time-date":
        return [this.renderHeader(), this.renderTime(), this.renderCalendar(e16), this.renderCalendarViewMonthYearPicker(), this.renderFooter()];
      case "time":
        return [this.renderHeader(false), this.renderTime(), this.renderFooter()];
      case "month":
      case "month-year":
      case "year":
        return [this.renderHeader(false), this.renderWheelView(), this.renderFooter()];
      default:
        return [this.renderHeader(), this.renderCalendar(e16), this.renderCalendarViewMonthYearPicker(), this.renderFooter()];
    }
  }
  render() {
    const { name: e16, value: t17, disabled: a17, el: i16, color: n15, readonly: o14, showMonthAndYear: d25, preferWheel: l27, presentation: h21, size: c36, isGridStyle: m28 } = this, u21 = g(this), y14 = "year" === h21 || "month" === h21 || "month-year" === h21, g20 = d25 || y14, f27 = d25 && !y14, x16 = ("date" === h21 || "date-time" === h21 || "time-date" === h21) && l27;
    return f2(true, i16, e16, oe(t17), a17), Ct(It, { key: "59e0811aa273e88dfb8e4b703e6824088a457380", "aria-disabled": a17 ? "true" : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, o6(n15, { [u21]: true, "datetime-readonly": o14, "datetime-disabled": a17, "show-month-and-year": g20, "month-year-picker-open": f27, ["datetime-presentation-" + h21]: true, ["datetime-size-" + c36]: true, "datetime-prefer-wheel": x16, "datetime-grid": m28 })) }, Ct("div", { key: "3753ff3dde3085070916c3de83687a219a49e553", class: "intersection-tracker", ref: (e17) => this.intersectionTrackerRef = e17 }), this.renderDatetime(u21));
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { formatOptions: [{ formatOptionsChanged: 0 }], disabled: [{ disabledChanged: 0 }], min: [{ minChanged: 0 }], max: [{ maxChanged: 0 }], presentation: [{ presentationChanged: 0 }], yearValues: [{ yearValuesChanged: 0 }], monthValues: [{ monthValuesChanged: 0 }], dayValues: [{ dayValuesChanged: 0 }], hourValues: [{ hourValuesChanged: 0 }], minuteValues: [{ minuteValuesChanged: 0 }], value: [{ valueChanged: 0 }] };
  }
  static get style() {
    return { ios: ':host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{-ms-flex-order:3;order:3;text-align:end}:host .wheel-order-year-first .month-column{-ms-flex-order:2;order:2;text-align:end}:host .wheel-order-year-first .year-column{-ms-flex-order:1;order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:-ms-flexbox;display:flex}:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled) .calendar-days-of-week,:host(.datetime-disabled) .datetime-time{opacity:0.4}:host(.datetime-readonly){pointer-events:none;}:host(.datetime-readonly) .calendar-action-buttons,:host(.datetime-readonly) .calendar-body,:host(.datetime-readonly) .datetime-year{pointer-events:initial}:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]{opacity:1}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.datetime-action-buttons .datetime-action-buttons-container{display:-ms-flexbox;display:flex}:host .calendar-action-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .calendar-action-buttons ion-button{--background:transparent}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day:not(.calendar-day-adjacent-day):focus{background:rgba(var(--ion-color-base-rgb), 0.2);-webkit-box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-flexbox;display:flex;border:none;background:var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0));color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons .calendar-month-year-toggle{color:var(--ion-color-base)}.calendar-month-year{min-width:0}.calendar-month-year-toggle{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;position:relative;border:0;outline:none;background:transparent;cursor:pointer;z-index:1}.calendar-month-year-toggle::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0;-webkit-transition:opacity 15ms linear, background-color 15ms linear;transition:opacity 15ms linear, background-color 15ms linear;z-index:-1}.calendar-month-year-toggle.ion-focused::after{background:currentColor}.calendar-month-year-toggle:disabled{opacity:0.3;pointer-events:none}.calendar-month-year-toggle ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0}.calendar-month-year-toggle #toggle-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}ion-picker{--highlight-background:var(--wheel-highlight-background);--highlight-border-radius:var(--wheel-highlight-border-radius);--fade-background-rgb:var(--wheel-fade-background-rgb)}:host{--background:var(--ion-color-light, #f4f5f8);--background-rgb:var(--ion-color-light-rgb, 244, 245, 248);--title-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}:host(.datetime-presentation-date-time:not(.datetime-prefer-wheel)),:host(.datetime-presentation-time-date:not(.datetime-prefer-wheel)),:host(.datetime-presentation-date:not(.datetime-prefer-wheel)){min-height:350px}:host .datetime-header{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px;border-bottom:0.55px solid var(--ion-color-step-200, var(--ion-background-color-step-200, #cccccc));font-size:min(0.875rem, 22.4px)}:host .datetime-header .datetime-title{color:var(--title-color)}:host .datetime-header .datetime-selected-date{margin-top:10px}.calendar-month-year-toggle{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;min-height:44px;font-size:min(1rem, 25.6px);font-weight:600}.calendar-month-year-toggle.ion-focused::after{opacity:0.15}.calendar-month-year-toggle #toggle-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:10px;margin-bottom:10px}:host .calendar-action-buttons .calendar-month-year-toggle ion-icon,:host .calendar-action-buttons ion-buttons ion-button{color:var(--ion-color-base)}:host .calendar-action-buttons ion-buttons{-ms-flex-align:stretch;align-items:stretch;height:100%}:host .calendar-action-buttons ion-buttons ion-button{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}:host .calendar-days-of-week{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0;color:var(--ion-color-step-300, var(--ion-text-color-step-700, #b3b3b3));font-size:min(0.75rem, 19.2px);font-weight:600;line-height:24px;text-transform:uppercase}@supports (border-radius: mod(1px, 1px)){.calendar-days-of-week .day-of-week{width:clamp(20px, calc(mod(min(1rem, 24px), 24px) * 10), 100%);height:24px;overflow:hidden}.calendar-day{border-radius:max(8px, mod(min(1rem, 24px), 24px) * 10)}}@supports ((border-radius: mod(1px, 1px)) and (background: -webkit-named-image(apple-pay-logo-black)) and (not (contain-intrinsic-size: none))) or (not (border-radius: mod(1px, 1px))){.calendar-days-of-week .day-of-week{width:auto;height:auto;overflow:initial}.calendar-day{border-radius:32px}}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;-ms-flex-align:center;align-items:center;height:calc(100% - 16px)}:host .calendar-day-wrapper{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;height:0;min-height:1rem}:host .calendar-day{width:40px;min-width:40px;height:40px;font-size:min(1.25rem, 32px)}.calendar-day.calendar-day-active{background:rgba(var(--ion-color-base-rgb), 0.2);font-size:min(1.375rem, 35.2px)}:host .calendar-day.calendar-day-today{color:var(--ion-color-base)}:host .calendar-day.calendar-day-active,:host .calendar-day.calendar-day-adjacent-day.calendar-day-active{color:var(--ion-color-base);font-weight:600}:host .calendar-day.calendar-day-today.calendar-day-active{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host .calendar-day.calendar-day-adjacent-day{color:var(--ion-color-step-300, var(--ion-text-color-step-700, #b3b3b3))}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:16px;font-size:min(1rem, 25.6px)}:host .datetime-time .time-header{font-weight:600}:host .datetime-buttons{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;border-top:0.55px solid var(--ion-color-step-200, var(--ion-background-color-step-200, #cccccc))}:host .datetime-buttons ::slotted(ion-buttons),:host .datetime-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}:host .datetime-action-buttons{width:100%}', md: ':host{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;background:var(--background);overflow:hidden}:host(.datetime-size-fixed){width:auto;height:auto}:host(.datetime-size-fixed:not(.datetime-prefer-wheel)){max-width:350px}:host(.datetime-size-fixed.datetime-prefer-wheel){min-width:350px;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content}:host(.datetime-size-cover){width:100%}:host .calendar-body,:host .datetime-year{opacity:0}:host(:not(.datetime-ready)) .datetime-year{position:absolute;pointer-events:none}:host(.datetime-ready) .calendar-body{opacity:1}:host(.datetime-ready) .datetime-year{display:none;opacity:1}:host .wheel-order-year-first .day-column{-ms-flex-order:3;order:3;text-align:end}:host .wheel-order-year-first .month-column{-ms-flex-order:2;order:2;text-align:end}:host .wheel-order-year-first .year-column{-ms-flex-order:1;order:1;text-align:start}:host .datetime-calendar,:host .datetime-year{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-flow:column;flex-flow:column}:host(.show-month-and-year) .datetime-year{display:-ms-flexbox;display:flex}:host(.show-month-and-year) .calendar-next-prev,:host(.show-month-and-year) .calendar-days-of-week,:host(.show-month-and-year) .calendar-body,:host(.show-month-and-year) .datetime-time{display:none}:host(.month-year-picker-open) .datetime-footer{display:none}:host(.datetime-disabled){pointer-events:none}:host(.datetime-disabled) .calendar-days-of-week,:host(.datetime-disabled) .datetime-time{opacity:0.4}:host(.datetime-readonly){pointer-events:none;}:host(.datetime-readonly) .calendar-action-buttons,:host(.datetime-readonly) .calendar-body,:host(.datetime-readonly) .datetime-year{pointer-events:initial}:host(.datetime-readonly) .calendar-day[disabled]:not(.calendar-day-constrained),:host(.datetime-readonly) .datetime-action-buttons ion-button[disabled]{opacity:1}:host .datetime-header .datetime-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .datetime-action-buttons.has-clear-button{width:100%}:host .datetime-action-buttons ion-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.datetime-action-buttons .datetime-action-buttons-container{display:-ms-flexbox;display:flex}:host .calendar-action-buttons{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .calendar-action-buttons ion-button{--background:transparent}:host .calendar-days-of-week{display:grid;grid-template-columns:repeat(7, 1fr);text-align:center}.calendar-days-of-week .day-of-week{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0}:host .calendar-body{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;overflow-x:scroll;overflow-y:hidden;scrollbar-width:none;outline:none}:host .calendar-body .calendar-month{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;scroll-snap-align:start;scroll-snap-stop:always;-ms-flex-negative:0;flex-shrink:0;width:100%}:host .calendar-body .calendar-month-disabled{scroll-snap-align:none}:host .calendar-body::-webkit-scrollbar{display:none}:host .calendar-body .calendar-month-grid{display:grid;grid-template-columns:repeat(7, 1fr)}:host .calendar-day-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:0;min-height:0;overflow:visible}.calendar-day{border-radius:50%;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:0px;margin-bottom:0px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;outline:none;background:none;color:currentColor;font-family:var(--ion-font-family, inherit);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:0}:host .calendar-day[disabled]{pointer-events:none;opacity:0.4}.calendar-day:not(.calendar-day-adjacent-day):focus{background:rgba(var(--ion-color-base-rgb), 0.2);-webkit-box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0px 0px 0px 4px rgba(var(--ion-color-base-rgb), 0.2)}:host .datetime-time{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host(.datetime-presentation-time) .datetime-time{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host ion-popover{--height:200px}:host .time-header{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .time-body{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-flexbox;display:flex;border:none;background:var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0));color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host .time-body-active{color:var(--ion-color-base)}:host(.in-item){position:static}:host(.show-month-and-year) .calendar-action-buttons .calendar-month-year-toggle{color:var(--ion-color-base)}.calendar-month-year{min-width:0}.calendar-month-year-toggle{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;position:relative;border:0;outline:none;background:transparent;cursor:pointer;z-index:1}.calendar-month-year-toggle::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0;-webkit-transition:opacity 15ms linear, background-color 15ms linear;transition:opacity 15ms linear, background-color 15ms linear;z-index:-1}.calendar-month-year-toggle.ion-focused::after{background:currentColor}.calendar-month-year-toggle:disabled{opacity:0.3;pointer-events:none}.calendar-month-year-toggle ion-icon{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0}.calendar-month-year-toggle #toggle-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center}ion-picker{--highlight-background:var(--wheel-highlight-background);--highlight-border-radius:var(--wheel-highlight-border-radius);--fade-background-rgb:var(--wheel-fade-background-rgb)}:host{--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #ffffff));--title-color:var(--ion-color-contrast)}:host .datetime-header{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:20px;background:var(--ion-color-base);color:var(--title-color)}:host .datetime-header .datetime-title{font-size:0.75rem;text-transform:uppercase}:host .datetime-header .datetime-selected-date{margin-top:30px;font-size:2.125rem}:host .calendar-action-buttons ion-button{--color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959))}.calendar-month-year-toggle{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:12px;min-height:48px;background:transparent;color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959));z-index:1}.calendar-month-year-toggle.ion-focused::after{opacity:0.04}.calendar-month-year-toggle ion-ripple-effect{color:currentColor}@media (any-hover: hover){.calendar-month-year-toggle.ion-activatable:not(.ion-focused):hover::after{background:currentColor;opacity:0.04}}:host .calendar-days-of-week{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:0px;padding-bottom:0px;color:var(--ion-color-step-500, var(--ion-text-color-step-500, gray));font-size:0.875rem;line-height:36px}:host .calendar-body .calendar-month .calendar-month-grid{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:4px;padding-bottom:4px;grid-template-rows:repeat(6, 1fr)}:host .calendar-day{width:42px;min-width:42px;height:42px;font-size:0.875rem}:host .calendar-day.calendar-day-today{border:1px solid var(--ion-color-base);color:var(--ion-color-base)}:host .calendar-day.calendar-day-active,:host .calendar-day.calendar-day-adjacent-day.calendar-day-active{color:var(--ion-color-contrast)}.calendar-day.calendar-day-active,.calendar-day.calendar-day-active:focus{border:1px solid var(--ion-color-base);background:var(--ion-color-base)}:host .calendar-day.calendar-day-adjacent-day{color:var(--ion-color-step-500, var(--ion-text-color-step-500, gray))}:host .datetime-time{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:8px;padding-bottom:8px}:host .time-header{color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959))}:host(.datetime-presentation-month) .datetime-year,:host(.datetime-presentation-year) .datetime-year,:host(.datetime-presentation-month-year) .datetime-year{margin-top:20px;margin-bottom:20px}:host .datetime-buttons{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:10px;padding-bottom:10px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end}' };
  }
}, [289, "ion-datetime", { color: [1], name: [1], disabled: [4], formatOptions: [16], readonly: [4], isDateEnabled: [16], showAdjacentDays: [4, "show-adjacent-days"], min: [1025], max: [1025], presentation: [1], cancelText: [1, "cancel-text"], doneText: [1, "done-text"], clearText: [1, "clear-text"], yearValues: [8, "year-values"], monthValues: [8, "month-values"], dayValues: [8, "day-values"], hourValues: [8, "hour-values"], minuteValues: [8, "minute-values"], locale: [1], firstDayOfWeek: [2, "first-day-of-week"], titleSelectedDatesFormatter: [16], multiple: [4], highlightedDates: [16], value: [1025], showDefaultTitle: [4, "show-default-title"], showDefaultButtons: [4, "show-default-buttons"], showClearButton: [4, "show-clear-button"], showDefaultTimeLabel: [4, "show-default-time-label"], hourCycle: [1, "hour-cycle"], size: [1], preferWheel: [4, "prefer-wheel"], showMonthAndYear: [32], activeParts: [32], workingParts: [32], isTimePopoverOpen: [32], forceRenderDate: [32], confirm: [64], reset: [64], cancel: [64] }, void 0, { formatOptions: [{ formatOptionsChanged: 0 }], disabled: [{ disabledChanged: 0 }], min: [{ minChanged: 0 }], max: [{ maxChanged: 0 }], presentation: [{ presentationChanged: 0 }], yearValues: [{ yearValuesChanged: 0 }], monthValues: [{ monthValuesChanged: 0 }], dayValues: [{ dayValuesChanged: 0 }], hourValues: [{ hourValuesChanged: 0 }], minuteValues: [{ minuteValuesChanged: 0 }], value: [{ valueChanged: 0 }] }]);
var De = 0;
var ze = "datetime-cancel";
var Ve = "datetime-confirm";
var Te = "wheel";
var $e2 = "wheel-item";
var Ee = "active";
var Se = function() {
  "undefined" != typeof customElements && ["ion-datetime", "ion-backdrop", "ion-button", "ion-buttons", "ion-icon", "ion-picker", "ion-picker-column", "ion-picker-column-option", "ion-popover", "ion-ripple-effect"].forEach(((e16) => {
    switch (e16) {
      case "ion-datetime":
        customElements.get(Zn(e16)) || customElements.define(Zn(e16), Pe);
        break;
      case "ion-backdrop":
        customElements.get(Zn(e16)) || c11();
        break;
      case "ion-button":
        customElements.get(Zn(e16)) || m11();
        break;
      case "ion-buttons":
        customElements.get(Zn(e16)) || c15();
        break;
      case "ion-icon":
        customElements.get(Zn(e16)) || y6();
        break;
      case "ion-picker":
        customElements.get(Zn(e16)) || c25();
        break;
      case "ion-picker-column":
        customElements.get(Zn(e16)) || b12();
        break;
      case "ion-picker-column-option":
        customElements.get(Zn(e16)) || c26();
        break;
      case "ion-popover":
        customElements.get(Zn(e16)) || Z4();
        break;
      case "ion-ripple-effect":
        customElements.get(Zn(e16)) || p7();
    }
  }));
};

// node_modules/ionicons/components/index.js
var NAMESPACE = "ionicons";
var BUILD = (
  /* ionicons */
  { hydratedSelectorName: "hydrated", lazyLoad: false, updatable: true }
);
var __defProp = Object.defineProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var getHostRef = (ref) => {
  if (ref.__stencil__getHostRef) {
    return ref.__stencil__getHostRef();
  }
  return void 0;
};
var registerHost = (hostElement, cmpMeta) => {
  const hostRef = {
    $flags$: 0,
    $hostElement$: hostElement,
    $cmpMeta$: cmpMeta,
    $instanceValues$: /* @__PURE__ */ new Map()
  };
  {
    hostRef.$onReadyPromise$ = new Promise((r32) => hostRef.$onReadyResolve$ = r32);
    hostElement["s-p"] = [];
    hostElement["s-rc"] = [];
  }
  const ref = hostRef;
  hostElement.__stencil__getHostRef = () => ref;
  return ref;
};
var isMemberInElement = (elm, memberName) => memberName in elm;
var consoleError = (e16, el) => (0, console.error)(e16, el);
var styles = /* @__PURE__ */ new Map();
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
var XLINK_NS = "http://www.w3.org/1999/xlink";
var win = typeof window !== "undefined" ? window : {};
var H8 = win.HTMLElement || class {
};
var plt = {
  $flags$: 0,
  $resourcesUrl$: "",
  jmp: (h22) => h22(),
  raf: (h22) => requestAnimationFrame(h22),
  ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
  rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
  ce: (eventName, opts) => new CustomEvent(eventName, opts)
};
var promiseResolve = (v18) => Promise.resolve(v18);
var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
  try {
    new CSSStyleSheet();
    return typeof new CSSStyleSheet().replaceSync === "function";
  } catch (e16) {
  }
  return false;
})();
var queuePending = false;
var queueDomReads = [];
var queueDomWrites = [];
var queueTask = (queue, write) => (cb) => {
  queue.push(cb);
  if (!queuePending) {
    queuePending = true;
    if (write && plt.$flags$ & 4) {
      nextTick(flush);
    } else {
      plt.raf(flush);
    }
  }
};
var consume = (queue) => {
  for (let i22 = 0; i22 < queue.length; i22++) {
    try {
      queue[i22](performance.now());
    } catch (e16) {
      consoleError(e16);
    }
  }
  queue.length = 0;
};
var flush = () => {
  consume(queueDomReads);
  {
    consume(queueDomWrites);
    if (queuePending = queueDomReads.length > 0) {
      plt.raf(flush);
    }
  }
};
var nextTick = (cb) => promiseResolve().then(cb);
var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
var getAssetPath = (path) => {
  const assetUrl = new URL(path, plt.$resourcesUrl$);
  return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;
};
var isComplexType = (o14) => {
  o14 = typeof o14;
  return o14 === "object" || o14 === "function";
};
function queryNonceMetaTagContent(doc) {
  var _a, _b, _c;
  return (_c = (_b = (_a = doc.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
}
var escapeRegExpSpecialCharacters = (text) => {
  return text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
};
var result_exports = {};
__export(result_exports, {
  err: () => err,
  map: () => map,
  ok: () => ok,
  unwrap: () => unwrap,
  unwrapErr: () => unwrapErr
});
var ok = (value) => ({
  isOk: true,
  isErr: false,
  value
});
var err = (value) => ({
  isOk: false,
  isErr: true,
  value
});
function map(result, fn) {
  if (result.isOk) {
    const val = fn(result.value);
    if (val instanceof Promise) {
      return val.then((newVal) => ok(newVal));
    } else {
      return ok(val);
    }
  }
  if (result.isErr) {
    const value = result.value;
    return err(value);
  }
  throw "should never get here";
}
var unwrap = (result) => {
  if (result.isOk) {
    return result.value;
  } else {
    throw result.value;
  }
};
var unwrapErr = (result) => {
  if (result.isErr) {
    return result.value;
  } else {
    throw result.value;
  }
};
function createStyleSheetIfNeededAndSupported(styles2) {
  return void 0;
}
var globalStyleSheet;
function createShadowRoot(cmpMeta) {
  var _a;
  const shadowRoot = this.attachShadow({ mode: "open" });
  if (globalStyleSheet === void 0) globalStyleSheet = (_a = createStyleSheetIfNeededAndSupported()) != null ? _a : null;
  if (globalStyleSheet) shadowRoot.adoptedStyleSheets.push(globalStyleSheet);
}
var createTime = (fnName, tagName = "") => {
  {
    return () => {
      return;
    };
  }
};
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
var registerStyle = (scopeId2, cssText, allowCS) => {
  let style = styles.get(scopeId2);
  if (supportsConstructableStylesheets && allowCS) {
    style = style || new CSSStyleSheet();
    if (typeof style === "string") {
      style = cssText;
    } else {
      style.replaceSync(cssText);
    }
  } else {
    style = cssText;
  }
  styles.set(scopeId2, style);
};
var addStyle = (styleContainerNode, cmpMeta, mode) => {
  var _a;
  const scopeId2 = getScopeId(cmpMeta);
  const style = styles.get(scopeId2);
  if (!win.document) {
    return scopeId2;
  }
  styleContainerNode = styleContainerNode.nodeType === 11 ? styleContainerNode : win.document;
  if (style) {
    if (typeof style === "string") {
      styleContainerNode = styleContainerNode.head || styleContainerNode;
      let appliedStyles = rootAppliedStyles.get(styleContainerNode);
      let styleElm;
      if (!appliedStyles) {
        rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
      }
      if (!appliedStyles.has(scopeId2)) {
        {
          styleElm = win.document.createElement("style");
          styleElm.innerHTML = style;
          const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
          if (nonce != null) {
            styleElm.setAttribute("nonce", nonce);
          }
          if (!(cmpMeta.$flags$ & 1)) {
            if (styleContainerNode.nodeName === "HEAD") {
              const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
              const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
              styleContainerNode.insertBefore(
                styleElm,
                (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
              );
            } else if ("host" in styleContainerNode) {
              if (supportsConstructableStylesheets) {
                const stylesheet = new CSSStyleSheet();
                stylesheet.replaceSync(style);
                styleContainerNode.adoptedStyleSheets.unshift(stylesheet);
              } else {
                const existingStyleContainer = styleContainerNode.querySelector("style");
                if (existingStyleContainer) {
                  existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
                } else {
                  styleContainerNode.prepend(styleElm);
                }
              }
            } else {
              styleContainerNode.append(styleElm);
            }
          }
          if (cmpMeta.$flags$ & 1) {
            styleContainerNode.insertBefore(styleElm, null);
          }
        }
        if (cmpMeta.$flags$ & 4) {
          styleElm.innerHTML += SLOT_FB_CSS;
        }
        if (appliedStyles) {
          appliedStyles.add(scopeId2);
        }
      }
    } else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
      styleContainerNode.adoptedStyleSheets.push(style);
    }
  }
  return scopeId2;
};
var attachStyles = (hostRef) => {
  const cmpMeta = hostRef.$cmpMeta$;
  const elm = hostRef.$hostElement$;
  const flags = cmpMeta.$flags$;
  const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
  const scopeId2 = addStyle(
    elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
    cmpMeta
  );
  if (flags & 10) {
    elm["s-sc"] = scopeId2;
    elm.classList.add(scopeId2 + "-h");
  }
  endAttachStyles();
};
var getScopeId = (cmp, mode) => "sc-" + cmp.$tagName$;
var h19 = (nodeName, vnodeData, ...children) => {
  let child = null;
  let key = null;
  let simple = false;
  let lastSimple = false;
  const vNodeChildren = [];
  const walk = (c36) => {
    for (let i22 = 0; i22 < c36.length; i22++) {
      child = c36[i22];
      if (Array.isArray(child)) {
        walk(child);
      } else if (child != null && typeof child !== "boolean") {
        if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
          child = String(child);
        }
        if (simple && lastSimple) {
          vNodeChildren[vNodeChildren.length - 1].$text$ += child;
        } else {
          vNodeChildren.push(simple ? newVNode(null, child) : child);
        }
        lastSimple = simple;
      }
    }
  };
  walk(children);
  if (vnodeData) {
    if (vnodeData.key) {
      key = vnodeData.key;
    }
    {
      const classData = vnodeData.className || vnodeData.class;
      if (classData) {
        vnodeData.class = typeof classData !== "object" ? classData : Object.keys(classData).filter((k12) => classData[k12]).join(" ");
      }
    }
  }
  const vnode = newVNode(nodeName, null);
  vnode.$attrs$ = vnodeData;
  if (vNodeChildren.length > 0) {
    vnode.$children$ = vNodeChildren;
  }
  {
    vnode.$key$ = key;
  }
  return vnode;
};
var newVNode = (tag, text) => {
  const vnode = {
    $flags$: 0,
    $tag$: tag,
    $text$: text,
    $elm$: null,
    $children$: null
  };
  {
    vnode.$attrs$ = null;
  }
  {
    vnode.$key$ = null;
  }
  return vnode;
};
var Host = {};
var isHost = (node) => node && node.$tag$ === Host;
var createSupportsRuleRe = (selector) => {
  const safeSelector2 = escapeRegExpSpecialCharacters(selector);
  return new RegExp(
    // First capture group: match any context before the selector that's not inside @supports selector()
    // Using negative lookahead to avoid matching inside @supports selector(...) condition
    `(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${safeSelector2}))(${safeSelector2}\\b)`,
    "g"
  );
};
createSupportsRuleRe("::slotted");
createSupportsRuleRe(":host");
createSupportsRuleRe(":host-context");
var parsePropertyValue = (propValue, propType, isFormAssociated) => {
  if (propValue != null && !isComplexType(propValue)) {
    if (propType & 4) {
      {
        return propValue === "false" ? false : propValue === "" || !!propValue;
      }
    }
    if (propType & 1) {
      return String(propValue);
    }
    return propValue;
  }
  return propValue;
};
var emitEvent = (elm, name, opts) => {
  const ev = plt.ce(name, opts);
  elm.dispatchEvent(ev);
  return ev;
};
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
  if (oldValue === newValue) {
    return;
  }
  let isProp = isMemberInElement(elm, memberName);
  let ln = memberName.toLowerCase();
  if (memberName === "class") {
    const classList = elm.classList;
    const oldClasses = parseClassList(oldValue);
    let newClasses = parseClassList(newValue);
    {
      classList.remove(...oldClasses.filter((c36) => c36 && !newClasses.includes(c36)));
      classList.add(...newClasses.filter((c36) => c36 && !oldClasses.includes(c36)));
    }
  } else if (memberName === "style") {
    {
      for (const prop in oldValue) {
        if (!newValue || newValue[prop] == null) {
          if (prop.includes("-")) {
            elm.style.removeProperty(prop);
          } else {
            elm.style[prop] = "";
          }
        }
      }
    }
    for (const prop in newValue) {
      if (!oldValue || newValue[prop] !== oldValue[prop]) {
        if (prop.includes("-")) {
          elm.style.setProperty(prop, newValue[prop]);
        } else {
          elm.style[prop] = newValue[prop];
        }
      }
    }
  } else if (memberName === "key") ;
  else if (memberName === "ref") {
    if (newValue) {
      newValue(elm);
    }
  } else if (!elm.__lookupSetter__(memberName) && memberName[0] === "o" && memberName[1] === "n") {
    if (memberName[2] === "-") {
      memberName = memberName.slice(3);
    } else if (isMemberInElement(win, ln)) {
      memberName = ln.slice(2);
    } else {
      memberName = ln[2] + memberName.slice(3);
    }
    if (oldValue || newValue) {
      const capture = memberName.endsWith(CAPTURE_EVENT_SUFFIX);
      memberName = memberName.replace(CAPTURE_EVENT_REGEX, "");
      if (oldValue) {
        plt.rel(elm, memberName, oldValue, capture);
      }
      if (newValue) {
        plt.ael(elm, memberName, newValue, capture);
      }
    }
  } else {
    const isComplex = isComplexType(newValue);
    if ((isProp || isComplex && newValue !== null) && true) {
      try {
        if (!elm.tagName.includes("-")) {
          const n15 = newValue == null ? "" : newValue;
          if (memberName === "list") {
            isProp = false;
          } else if (oldValue == null || elm[memberName] != n15) {
            if (typeof elm.__lookupSetter__(memberName) === "function") {
              elm[memberName] = n15;
            } else {
              elm.setAttribute(memberName, n15);
            }
          }
        } else if (elm[memberName] !== newValue) {
          elm[memberName] = newValue;
        }
      } catch (e16) {
      }
    }
    let xlink = false;
    {
      if (ln !== (ln = ln.replace(/^xlink\:?/, ""))) {
        memberName = ln;
        xlink = true;
      }
    }
    if (newValue == null || newValue === false) {
      if (newValue !== false || elm.getAttribute(memberName) === "") {
        if (xlink) {
          elm.removeAttributeNS(XLINK_NS, memberName);
        } else {
          elm.removeAttribute(memberName);
        }
      }
    } else if ((!isProp || flags & 4 || isSvg) && !isComplex && elm.nodeType === 1) {
      newValue = newValue === true ? "" : newValue;
      if (xlink) {
        elm.setAttributeNS(XLINK_NS, memberName, newValue);
      } else {
        elm.setAttribute(memberName, newValue);
      }
    }
  }
};
var parseClassListRegex = /\s/;
var parseClassList = (value) => {
  if (typeof value === "object" && value && "baseVal" in value) {
    value = value.baseVal;
  }
  if (!value || typeof value !== "string") {
    return [];
  }
  return value.split(parseClassListRegex);
};
var CAPTURE_EVENT_SUFFIX = "Capture";
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
  const elm = newVnode.$elm$.nodeType === 11 && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
  const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
  const newVnodeAttrs = newVnode.$attrs$ || {};
  {
    for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
      if (!(memberName in newVnodeAttrs)) {
        setAccessor(
          elm,
          memberName,
          oldVnodeAttrs[memberName],
          void 0,
          isSvgMode2,
          newVnode.$flags$
        );
      }
    }
  }
  for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
    setAccessor(
      elm,
      memberName,
      oldVnodeAttrs[memberName],
      newVnodeAttrs[memberName],
      isSvgMode2,
      newVnode.$flags$
    );
  }
};
function sortedAttrNames(attrNames) {
  return attrNames.includes("ref") ? (
    // we need to sort these to ensure that `'ref'` is the last attr
    [...attrNames.filter((attr) => attr !== "ref"), "ref"]
  ) : (
    // no need to sort, return the original array
    attrNames
  );
}
var hostTagName;
var isSvgMode = false;
var createElm = (oldParentVNode, newParentVNode, childIndex) => {
  const newVNode2 = newParentVNode.$children$[childIndex];
  let i22 = 0;
  let elm;
  let childNode;
  if (newVNode2.$text$ !== null) {
    elm = newVNode2.$elm$ = win.document.createTextNode(newVNode2.$text$);
  } else {
    if (!win.document) {
      throw new Error(
        "You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component."
      );
    }
    elm = newVNode2.$elm$ = win.document.createElement(
      newVNode2.$tag$
    );
    {
      updateElement(null, newVNode2, isSvgMode);
    }
    if (newVNode2.$children$) {
      for (i22 = 0; i22 < newVNode2.$children$.length; ++i22) {
        childNode = createElm(oldParentVNode, newVNode2, i22);
        if (childNode) {
          elm.appendChild(childNode);
        }
      }
    }
  }
  elm["s-hn"] = hostTagName;
  return elm;
};
var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
  let containerElm = parentElm;
  let childNode;
  if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
    containerElm = containerElm.shadowRoot;
  }
  for (; startIdx <= endIdx; ++startIdx) {
    if (vnodes[startIdx]) {
      childNode = createElm(null, parentVNode, startIdx);
      if (childNode) {
        vnodes[startIdx].$elm$ = childNode;
        insertBefore(containerElm, childNode, before);
      }
    }
  }
};
var removeVnodes = (vnodes, startIdx, endIdx) => {
  for (let index = startIdx; index <= endIdx; ++index) {
    const vnode = vnodes[index];
    if (vnode) {
      const elm = vnode.$elm$;
      nullifyVNodeRefs(vnode);
      if (elm) {
        elm.remove();
      }
    }
  }
};
var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = false) => {
  let oldStartIdx = 0;
  let newStartIdx = 0;
  let idxInOld = 0;
  let i22 = 0;
  let oldEndIdx = oldCh.length - 1;
  let oldStartVnode = oldCh[0];
  let oldEndVnode = oldCh[oldEndIdx];
  let newEndIdx = newCh.length - 1;
  let newStartVnode = newCh[0];
  let newEndVnode = newCh[newEndIdx];
  let node;
  let elmToMove;
  while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
    if (oldStartVnode == null) {
      oldStartVnode = oldCh[++oldStartIdx];
    } else if (oldEndVnode == null) {
      oldEndVnode = oldCh[--oldEndIdx];
    } else if (newStartVnode == null) {
      newStartVnode = newCh[++newStartIdx];
    } else if (newEndVnode == null) {
      newEndVnode = newCh[--newEndIdx];
    } else if (isSameVnode(oldStartVnode, newStartVnode, isInitialRender)) {
      patch(oldStartVnode, newStartVnode, isInitialRender);
      oldStartVnode = oldCh[++oldStartIdx];
      newStartVnode = newCh[++newStartIdx];
    } else if (isSameVnode(oldEndVnode, newEndVnode, isInitialRender)) {
      patch(oldEndVnode, newEndVnode, isInitialRender);
      oldEndVnode = oldCh[--oldEndIdx];
      newEndVnode = newCh[--newEndIdx];
    } else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {
      patch(oldStartVnode, newEndVnode, isInitialRender);
      insertBefore(parentElm, oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
      oldStartVnode = oldCh[++oldStartIdx];
      newEndVnode = newCh[--newEndIdx];
    } else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
      patch(oldEndVnode, newStartVnode, isInitialRender);
      insertBefore(parentElm, oldEndVnode.$elm$, oldStartVnode.$elm$);
      oldEndVnode = oldCh[--oldEndIdx];
      newStartVnode = newCh[++newStartIdx];
    } else {
      idxInOld = -1;
      {
        for (i22 = oldStartIdx; i22 <= oldEndIdx; ++i22) {
          if (oldCh[i22] && oldCh[i22].$key$ !== null && oldCh[i22].$key$ === newStartVnode.$key$) {
            idxInOld = i22;
            break;
          }
        }
      }
      if (idxInOld >= 0) {
        elmToMove = oldCh[idxInOld];
        if (elmToMove.$tag$ !== newStartVnode.$tag$) {
          node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld);
        } else {
          patch(elmToMove, newStartVnode, isInitialRender);
          oldCh[idxInOld] = void 0;
          node = elmToMove.$elm$;
        }
        newStartVnode = newCh[++newStartIdx];
      } else {
        node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx);
        newStartVnode = newCh[++newStartIdx];
      }
      if (node) {
        {
          insertBefore(oldStartVnode.$elm$.parentNode, node, oldStartVnode.$elm$);
        }
      }
    }
  }
  if (oldStartIdx > oldEndIdx) {
    addVnodes(
      parentElm,
      newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$,
      newVNode2,
      newCh,
      newStartIdx,
      newEndIdx
    );
  } else if (newStartIdx > newEndIdx) {
    removeVnodes(oldCh, oldStartIdx, oldEndIdx);
  }
};
var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
  if (leftVNode.$tag$ === rightVNode.$tag$) {
    if (!isInitialRender) {
      return leftVNode.$key$ === rightVNode.$key$;
    }
    if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
      leftVNode.$key$ = rightVNode.$key$;
    }
    return true;
  }
  return false;
};
var patch = (oldVNode, newVNode2, isInitialRender = false) => {
  const elm = newVNode2.$elm$ = oldVNode.$elm$;
  const oldChildren = oldVNode.$children$;
  const newChildren = newVNode2.$children$;
  const text = newVNode2.$text$;
  if (text === null) {
    {
      updateElement(oldVNode, newVNode2, isSvgMode);
    }
    if (oldChildren !== null && newChildren !== null) {
      updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
    } else if (newChildren !== null) {
      if (oldVNode.$text$ !== null) {
        elm.textContent = "";
      }
      addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
    } else if (
      // don't do this on initial render as it can cause non-hydrated content to be removed
      !isInitialRender && BUILD.updatable && oldChildren !== null
    ) {
      removeVnodes(oldChildren, 0, oldChildren.length - 1);
    } else ;
  } else if (oldVNode.$text$ !== text) {
    elm.data = text;
  }
};
var nullifyVNodeRefs = (vNode) => {
  {
    vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
    vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
  }
};
var insertBefore = (parent, newNode, reference) => {
  {
    return parent == null ? void 0 : parent.insertBefore(newNode, reference);
  }
};
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
  const hostElm = hostRef.$hostElement$;
  const cmpMeta = hostRef.$cmpMeta$;
  const oldVNode = hostRef.$vnode$ || newVNode(null, null);
  const isHostElement = isHost(renderFnResults);
  const rootVnode = isHostElement ? renderFnResults : h19(null, null, renderFnResults);
  hostTagName = hostElm.tagName;
  if (cmpMeta.$attrsToReflect$) {
    rootVnode.$attrs$ = rootVnode.$attrs$ || {};
    cmpMeta.$attrsToReflect$.map(
      ([propName, attribute]) => rootVnode.$attrs$[attribute] = hostElm[propName]
    );
  }
  if (isInitialLoad && rootVnode.$attrs$) {
    for (const key of Object.keys(rootVnode.$attrs$)) {
      if (hostElm.hasAttribute(key) && !["key", "ref", "style", "class"].includes(key)) {
        rootVnode.$attrs$[key] = hostElm[key];
      }
    }
  }
  rootVnode.$tag$ = null;
  rootVnode.$flags$ |= 4;
  hostRef.$vnode$ = rootVnode;
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm;
  patch(oldVNode, rootVnode, isInitialLoad);
};
var attachToAncestor = (hostRef, ancestorComponent) => {
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
    const index = ancestorComponent["s-p"].push(
      new Promise(
        (r32) => hostRef.$onRenderResolve$ = () => {
          ancestorComponent["s-p"].splice(index - 1, 1);
          r32();
        }
      )
    );
  }
};
var scheduleUpdate = (hostRef, isInitialLoad) => {
  {
    hostRef.$flags$ |= 16;
  }
  if (hostRef.$flags$ & 4) {
    hostRef.$flags$ |= 512;
    return;
  }
  attachToAncestor(hostRef, hostRef.$ancestorComponent$);
  const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
  return writeTask(dispatch);
};
var dispatchHooks = (hostRef, isInitialLoad) => {
  const elm = hostRef.$hostElement$;
  const endSchedule = createTime("scheduleUpdate", hostRef.$cmpMeta$.$tagName$);
  const instance = elm;
  if (!instance) {
    throw new Error(
      `Can't render component <${elm.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
    );
  }
  let maybePromise;
  if (isInitialLoad) {
    maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
  } else {
    maybePromise = safeCall(instance, "componentWillUpdate", void 0, elm);
  }
  maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender", void 0, elm));
  endSchedule();
  return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
};
var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn).catch((err2) => {
  console.error(err2);
  fn();
}) : fn();
var isPromisey = (maybePromise) => maybePromise instanceof Promise || maybePromise && maybePromise.then && typeof maybePromise.then === "function";
var updateComponent = (hostRef, instance, isInitialLoad) => __async(null, null, function* () {
  var _a;
  const elm = hostRef.$hostElement$;
  const endUpdate = createTime("update", hostRef.$cmpMeta$.$tagName$);
  const rc = elm["s-rc"];
  if (isInitialLoad) {
    attachStyles(hostRef);
  }
  const endRender = createTime("render", hostRef.$cmpMeta$.$tagName$);
  {
    callRender(hostRef, instance, elm, isInitialLoad);
  }
  if (rc) {
    rc.map((cb) => cb());
    elm["s-rc"] = void 0;
  }
  endRender();
  endUpdate();
  {
    const childrenPromises = (_a = elm["s-p"]) != null ? _a : [];
    const postUpdate = () => postUpdateComponent(hostRef);
    if (childrenPromises.length === 0) {
      postUpdate();
    } else {
      Promise.all(childrenPromises).then(postUpdate);
      hostRef.$flags$ |= 4;
      childrenPromises.length = 0;
    }
  }
});
var callRender = (hostRef, instance, elm, isInitialLoad) => {
  try {
    instance = instance.render();
    {
      hostRef.$flags$ &= -17;
    }
    {
      hostRef.$flags$ |= 2;
    }
    {
      {
        {
          renderVdom(hostRef, instance, isInitialLoad);
        }
      }
    }
  } catch (e16) {
    consoleError(e16, hostRef.$hostElement$);
  }
  return null;
};
var postUpdateComponent = (hostRef) => {
  const tagName = hostRef.$cmpMeta$.$tagName$;
  const elm = hostRef.$hostElement$;
  const endPostUpdate = createTime("postUpdate", tagName);
  const instance = elm;
  const ancestorComponent = hostRef.$ancestorComponent$;
  safeCall(instance, "componentDidRender", void 0, elm);
  if (!(hostRef.$flags$ & 64)) {
    hostRef.$flags$ |= 64;
    {
      addHydratedFlag(elm);
    }
    safeCall(instance, "componentDidLoad", void 0, elm);
    endPostUpdate();
    {
      hostRef.$onReadyResolve$(elm);
      if (!ancestorComponent) {
        appDidLoad();
      }
    }
  } else {
    safeCall(instance, "componentDidUpdate", void 0, elm);
    endPostUpdate();
  }
  {
    if (hostRef.$onRenderResolve$) {
      hostRef.$onRenderResolve$();
      hostRef.$onRenderResolve$ = void 0;
    }
    if (hostRef.$flags$ & 512) {
      nextTick(() => scheduleUpdate(hostRef, false));
    }
    hostRef.$flags$ &= -517;
  }
};
var appDidLoad = (who) => {
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
};
var safeCall = (instance, method, arg, elm) => {
  if (instance && instance[method]) {
    try {
      return instance[method](arg);
    } catch (e16) {
      consoleError(e16, elm);
    }
  }
  return void 0;
};
var addHydratedFlag = (elm) => {
  var _a;
  return elm.classList.add((_a = BUILD.hydratedSelectorName) != null ? _a : "hydrated");
};
var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
var setValue = (ref, propName, newVal, cmpMeta) => {
  const hostRef = getHostRef(ref);
  const elm = ref;
  const oldVal = hostRef.$instanceValues$.get(propName);
  const flags = hostRef.$flags$;
  const instance = elm;
  newVal = parsePropertyValue(
    newVal,
    cmpMeta.$members$[propName][0]
  );
  const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
  const didValueChange = newVal !== oldVal && !areBothNaN;
  if (didValueChange) {
    hostRef.$instanceValues$.set(propName, newVal);
    {
      if (cmpMeta.$watchers$ && flags & 128) {
        const watchMethods = cmpMeta.$watchers$[propName];
        if (watchMethods) {
          watchMethods.map((watchMethodName) => {
            try {
              instance[watchMethodName](newVal, oldVal, propName);
            } catch (e16) {
              consoleError(e16, elm);
            }
          });
        }
      }
      if ((flags & (2 | 16)) === 2) {
        if (instance.componentShouldUpdate) {
          if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
            return;
          }
        }
        scheduleUpdate(hostRef, false);
      }
    }
  }
};
var proxyComponent = (Cstr, cmpMeta, flags) => {
  var _a, _b;
  const prototype = Cstr.prototype;
  if (cmpMeta.$members$ || (cmpMeta.$watchers$ || Cstr.watchers)) {
    if (Cstr.watchers && !cmpMeta.$watchers$) {
      cmpMeta.$watchers$ = Cstr.watchers;
    }
    const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
    members.map(([memberName, [memberFlags]]) => {
      if (memberFlags & 31 || memberFlags & 32) {
        const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
        if (origGetter) cmpMeta.$members$[memberName][0] |= 2048;
        if (origSetter) cmpMeta.$members$[memberName][0] |= 4096;
        {
          Object.defineProperty(prototype, memberName, {
            get() {
              {
                return origGetter ? origGetter.apply(this) : getValue(this, memberName);
              }
            },
            configurable: true,
            enumerable: true
          });
        }
        Object.defineProperty(prototype, memberName, {
          set(newValue) {
            const ref = getHostRef(this);
            if (origSetter) {
              const currentValue = memberFlags & 32 ? this[memberName] : ref.$hostElement$[memberName];
              if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
                newValue = ref.$instanceValues$.get(memberName);
              } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
                ref.$instanceValues$.set(memberName, currentValue);
              }
              origSetter.apply(this, [
                parsePropertyValue(
                  newValue,
                  memberFlags
                )
              ]);
              newValue = memberFlags & 32 ? this[memberName] : ref.$hostElement$[memberName];
              setValue(this, memberName, newValue, cmpMeta);
              return;
            }
            {
              setValue(this, memberName, newValue, cmpMeta);
              return;
            }
          }
        });
      }
    });
    {
      const attrNameToPropName = /* @__PURE__ */ new Map();
      prototype.attributeChangedCallback = function(attrName, oldValue, newValue) {
        plt.jmp(() => {
          var _a2;
          const propName = attrNameToPropName.get(attrName);
          if (this.hasOwnProperty(propName) && BUILD.lazyLoad) ;
          else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
          this[propName] == newValue) {
            return;
          } else if (propName == null) {
            const hostRef = getHostRef(this);
            const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
            if (flags2 && !(flags2 & 8) && flags2 & 128 && newValue !== oldValue) {
              const elm = this;
              const instance = elm;
              const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
              entry == null ? void 0 : entry.forEach((callbackName) => {
                if (instance[callbackName] != null) {
                  instance[callbackName].call(instance, newValue, oldValue, attrName);
                }
              });
            }
            return;
          }
          const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
          newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
          if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
            this[propName] = newValue;
          }
        });
      };
      Cstr.observedAttributes = Array.from(
        /* @__PURE__ */ new Set([
          ...Object.keys((_b = cmpMeta.$watchers$) != null ? _b : {}),
          ...members.filter(
            ([_6, m28]) => m28[0] & 15
            /* HasAttribute */
          ).map(([propName, m28]) => {
            var _a2;
            const attrName = m28[1] || propName;
            attrNameToPropName.set(attrName, propName);
            if (m28[0] & 512) {
              (_a2 = cmpMeta.$attrsToReflect$) == null ? void 0 : _a2.push([propName, attrName]);
            }
            return attrName;
          })
        ])
      );
    }
  }
  return Cstr;
};
var initializeComponent = (elm, hostRef, cmpMeta, hmrVersionId) => __async(null, null, function* () {
  let Cstr;
  if ((hostRef.$flags$ & 32) === 0) {
    hostRef.$flags$ |= 32;
    {
      Cstr = elm.constructor;
      const cmpTag = elm.localName;
      customElements.whenDefined(cmpTag).then(
        () => hostRef.$flags$ |= 128
        /* isWatchReady */
      );
    }
    if (Cstr && Cstr.style) {
      let style;
      if (typeof Cstr.style === "string") {
        style = Cstr.style;
      }
      const scopeId2 = getScopeId(cmpMeta);
      if (!styles.has(scopeId2)) {
        const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
        registerStyle(scopeId2, style, !!(cmpMeta.$flags$ & 1));
        endRegisterStyles();
      }
    }
  }
  const ancestorComponent = hostRef.$ancestorComponent$;
  const schedule = () => scheduleUpdate(hostRef, true);
  if (ancestorComponent && ancestorComponent["s-rc"]) {
    ancestorComponent["s-rc"].push(schedule);
  } else {
    schedule();
  }
});
var fireConnectedCallback = (instance, elm) => {
};
var connectedCallback = (elm) => {
  if ((plt.$flags$ & 1) === 0) {
    const hostRef = getHostRef(elm);
    const cmpMeta = hostRef.$cmpMeta$;
    const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
    if (!(hostRef.$flags$ & 1)) {
      hostRef.$flags$ |= 1;
      {
        let ancestorComponent = elm;
        while (ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host) {
          if (ancestorComponent["s-p"]) {
            attachToAncestor(hostRef, hostRef.$ancestorComponent$ = ancestorComponent);
            break;
          }
        }
      }
      if (cmpMeta.$members$) {
        Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
          if (memberFlags & 31 && elm.hasOwnProperty(memberName)) {
            const value = elm[memberName];
            delete elm[memberName];
            elm[memberName] = value;
          }
        });
      }
      if (BUILD.initializeNextTick) {
        nextTick(() => initializeComponent(elm, hostRef, cmpMeta));
      } else {
        initializeComponent(elm, hostRef, cmpMeta);
      }
    } else {
      if (hostRef == null ? void 0 : hostRef.$lazyInstance$) ;
      else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
        hostRef.$onReadyPromise$.then(() => fireConnectedCallback());
      }
    }
    endConnected();
  }
};
var disconnectedCallback = (elm) => __async(null, null, function* () {
  if ((plt.$flags$ & 1) === 0) {
    getHostRef(elm);
  }
  if (rootAppliedStyles.has(elm)) {
    rootAppliedStyles.delete(elm);
  }
  if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
    rootAppliedStyles.delete(elm.shadowRoot);
  }
});
var proxyCustomElement = (Cstr, compactMeta) => {
  const cmpMeta = {
    $flags$: compactMeta[0],
    $tagName$: compactMeta[1]
  };
  {
    cmpMeta.$members$ = compactMeta[2];
  }
  {
    cmpMeta.$watchers$ = Cstr.$watchers$;
  }
  {
    cmpMeta.$attrsToReflect$ = [];
  }
  const originalConnectedCallback = Cstr.prototype.connectedCallback;
  const originalDisconnectedCallback = Cstr.prototype.disconnectedCallback;
  Object.assign(Cstr.prototype, {
    __hasHostListenerAttached: false,
    __registerHost() {
      registerHost(this, cmpMeta);
    },
    connectedCallback() {
      if (!this.__hasHostListenerAttached) {
        getHostRef(this);
        this.__hasHostListenerAttached = true;
      }
      connectedCallback(this);
      if (originalConnectedCallback) {
        originalConnectedCallback.call(this);
      }
    },
    disconnectedCallback() {
      disconnectedCallback(this);
      if (originalDisconnectedCallback) {
        originalDisconnectedCallback.call(this);
      }
    },
    __attachShadow() {
      {
        if (!this.shadowRoot) {
          createShadowRoot.call(this, cmpMeta);
        } else {
          if (this.shadowRoot.mode !== "open") {
            throw new Error(
              `Unable to re-use existing shadow root for ${cmpMeta.$tagName$}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`
            );
          }
        }
      }
    }
  });
  Cstr.is = cmpMeta.$tagName$;
  return proxyComponent(Cstr, cmpMeta);
};
var CACHED_MAP;
var getIconMap = () => {
  if (typeof window === "undefined") {
    return /* @__PURE__ */ new Map();
  } else {
    if (!CACHED_MAP) {
      const win2 = window;
      win2.Ionicons = win2.Ionicons || {};
      CACHED_MAP = win2.Ionicons.map = win2.Ionicons.map || /* @__PURE__ */ new Map();
    }
    return CACHED_MAP;
  }
};
var getUrl2 = (i16) => {
  let url = getSrc(i16.src);
  if (url) {
    return url;
  }
  url = getName(i16.name, i16.icon, i16.mode, i16.ios, i16.md);
  if (url) {
    return getNamedUrl(url, i16);
  }
  if (i16.icon) {
    url = getSrc(i16.icon);
    if (url) {
      return url;
    }
    url = getSrc(i16.icon[i16.mode]);
    if (url) {
      return url;
    }
  }
  return null;
};
var getNamedUrl = (iconName, iconEl) => {
  const url = getIconMap().get(iconName);
  if (url) {
    return url;
  }
  try {
    return getAssetPath(`svg/${iconName}.svg`);
  } catch (e16) {
    console.log("e", e16);
    console.warn(`[Ionicons Warning]: Could not load icon with name "${iconName}". Ensure that the icon is registered using addIcons or that the icon SVG data is passed directly to the icon component.`, iconEl);
  }
};
var getName = (iconName, icon, mode, ios, md) => {
  mode = (mode && toLower(mode)) === "ios" ? "ios" : "md";
  if (ios && mode === "ios") {
    iconName = toLower(ios);
  } else if (md && mode === "md") {
    iconName = toLower(md);
  } else {
    if (!iconName && icon && !isSrc(icon)) {
      iconName = icon;
    }
    if (isStr(iconName)) {
      iconName = toLower(iconName);
    }
  }
  if (!isStr(iconName) || iconName.trim() === "") {
    return null;
  }
  const invalidChars = iconName.replace(/[a-z]|-|\d/gi, "");
  if (invalidChars !== "") {
    return null;
  }
  return iconName;
};
var getSrc = (src) => {
  if (isStr(src)) {
    src = src.trim();
    if (isSrc(src)) {
      return src;
    }
  }
  return null;
};
var isSrc = (str) => str.length > 0 && /(\/|\.)/.test(str);
var isStr = (val) => typeof val === "string";
var toLower = (val) => val.toLowerCase();
var inheritAttributes = (el, attributes = []) => {
  const attributeObject = {};
  attributes.forEach((attr) => {
    if (el.hasAttribute(attr)) {
      const value = el.getAttribute(attr);
      if (value !== null) {
        attributeObject[attr] = el.getAttribute(attr);
      }
      el.removeAttribute(attr);
    }
  });
  return attributeObject;
};
var isRTL = (hostEl) => {
  if (hostEl) {
    if (hostEl.dir !== "") {
      return hostEl.dir.toLowerCase() === "rtl";
    }
  }
  return (document === null || document === void 0 ? void 0 : document.dir.toLowerCase()) === "rtl";
};

// node_modules/ionicons/components/ion-icon.js
var validateContent = (svgContent) => {
  const div = document.createElement("div");
  div.innerHTML = svgContent;
  for (let i16 = div.childNodes.length - 1; i16 >= 0; i16--) {
    if (div.childNodes[i16].nodeName.toLowerCase() !== "svg") {
      div.removeChild(div.childNodes[i16]);
    }
  }
  const svgElm = div.firstElementChild;
  if (svgElm && svgElm.nodeName.toLowerCase() === "svg") {
    const svgClass = svgElm.getAttribute("class") || "";
    svgElm.setAttribute("class", (svgClass + " s-ion-icon").trim());
    if (isValid2(svgElm)) {
      return div.innerHTML;
    }
  }
  return "";
};
var isValid2 = (elm) => {
  if (elm.nodeType === 1) {
    if (elm.nodeName.toLowerCase() === "script") {
      return false;
    }
    for (let i16 = 0; i16 < elm.attributes.length; i16++) {
      const name = elm.attributes[i16].name;
      if (isStr(name) && name.toLowerCase().indexOf("on") === 0) {
        return false;
      }
    }
    for (let i16 = 0; i16 < elm.childNodes.length; i16++) {
      if (!isValid2(elm.childNodes[i16])) {
        return false;
      }
    }
  }
  return true;
};
var isSvgDataUrl = (url) => url.startsWith("data:image/svg+xml");
var isEncodedDataUrl = (url) => url.indexOf(";utf8,") !== -1;
var ioniconContent = /* @__PURE__ */ new Map();
var requests = /* @__PURE__ */ new Map();
var parser;
function safeFallback(url) {
  const svg = "";
  ioniconContent.set(url, svg);
  return svg;
}
var getSvgContent = (url, sanitize) => {
  const req = requests.get(url);
  if (req) {
    return req;
  }
  if (typeof fetch !== "undefined" && typeof document !== "undefined") {
    if (isSvgDataUrl(url) && isEncodedDataUrl(url)) {
      return Promise.resolve(getSvgByUrl(url));
    }
    return fetchSvg(url, sanitize);
  }
  return Promise.resolve(safeFallback(url));
};
function getSvgByUrl(url) {
  if (!parser) {
    parser = new DOMParser();
  }
  const doc = parser.parseFromString(url, "text/html");
  const svg = doc.querySelector("svg");
  if (svg) {
    ioniconContent.set(url, svg.outerHTML);
    return svg.outerHTML;
  }
  throw new Error(`Could not parse svg from ${url}`);
}
function fetchSvg(url, sanitize) {
  const req = fetch(url).then((rsp) => {
    return rsp.text().then((svgContent) => {
      if (svgContent && sanitize !== false) {
        svgContent = validateContent(svgContent);
      }
      const svg = svgContent || "";
      ioniconContent.set(url, svg);
      return svg;
    }).catch(() => safeFallback(url));
  }).catch(() => safeFallback(url));
  requests.set(url, req);
  return req;
}
var iconCss = ":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}@supports (background: -webkit-named-image(i)){:host(.icon-rtl) .icon-inner{transform:scaleX(-1)}}@supports not selector(:dir(rtl)) and selector(:host-context([dir='rtl'])){:host(.icon-rtl) .icon-inner{transform:scaleX(-1)}}:host(.flip-rtl):host-context([dir='rtl']) .icon-inner{transform:scaleX(-1)}@supports selector(:dir(rtl)){:host(.flip-rtl:dir(rtl)) .icon-inner{transform:scaleX(-1)}:host(.flip-rtl:dir(ltr)) .icon-inner{transform:scaleX(1)}}:host(.icon-small){font-size:1.125rem !important}:host(.icon-large){font-size:2rem !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}";
var Icon = /* @__PURE__ */ proxyCustomElement(class Icon2 extends H8 {
  constructor() {
    super();
    this.__registerHost();
    this.__attachShadow();
    this.iconName = null;
    this.inheritedAttributes = {};
    this.didLoadIcon = false;
    this.isVisible = false;
    this.mode = getIonMode();
    this.lazy = false;
    this.sanitize = true;
  }
  componentWillLoad() {
    this.inheritedAttributes = inheritAttributes(this.el, ["aria-label"]);
  }
  connectedCallback() {
    this.waitUntilVisible(this.el, "50px", () => {
      this.isVisible = true;
      this.loadIcon();
    });
  }
  /**
   * Loads the icon after the component has finished rendering.
   */
  componentDidLoad() {
    if (!this.didLoadIcon) {
      this.loadIcon();
    }
  }
  /**
   * Disconnect the IntersectionObserver.
   */
  disconnectedCallback() {
    if (this.io) {
      this.io.disconnect();
      this.io = void 0;
    }
  }
  /**
   * Wait until the icon is visible in the viewport.
   * @param el - The element to observe.
   * @param rootMargin - The root margin of the observer.
   * @param cb - The callback to call when the element is visible.
   */
  waitUntilVisible(el, rootMargin, cb) {
    const hasIntersectionObserverSupport = Boolean(this.lazy && typeof window !== "undefined" && window.IntersectionObserver);
    if (!hasIntersectionObserverSupport) {
      return cb();
    }
    const io = this.io = new window.IntersectionObserver((data) => {
      if (data[0].isIntersecting) {
        io.disconnect();
        this.io = void 0;
        cb();
      }
    }, { rootMargin });
    io.observe(el);
  }
  /**
   * Watch for changes to the icon name, src, icon, ios, or md properties.
   * When a change is detected, the icon will be loaded.
   */
  loadIcon() {
    if (this.isVisible) {
      const url = getUrl2(this);
      if (url) {
        if (ioniconContent.has(url)) {
          this.svgContent = ioniconContent.get(url);
        } else {
          getSvgContent(url, this.sanitize).then(() => this.svgContent = ioniconContent.get(url));
        }
        this.didLoadIcon = true;
      }
    }
    this.iconName = getName(this.name, this.icon, this.mode, this.ios, this.md);
  }
  render() {
    const { flipRtl, iconName, inheritedAttributes, el } = this;
    const mode = this.mode || "md";
    const shouldAutoFlip = iconName ? (iconName.includes("arrow") || iconName.includes("chevron")) && flipRtl !== false : false;
    const shouldBeFlippable = flipRtl || shouldAutoFlip;
    return h19(Host, Object.assign({ key: "0578c899781ca145dd8205acd9670af39b57cf2e", role: "img", class: Object.assign(Object.assign({ [mode]: true }, createColorClasses(this.color)), { [`icon-${this.size}`]: !!this.size, "flip-rtl": shouldBeFlippable, "icon-rtl": shouldBeFlippable && isRTL(el) }) }, inheritedAttributes), this.svgContent ? h19("div", { class: "icon-inner", innerHTML: this.svgContent }) : h19("div", { class: "icon-inner" }));
  }
  static get assetsDirs() {
    return ["svg"];
  }
  get el() {
    return this;
  }
  static get watchers() {
    return {
      "name": ["loadIcon"],
      "src": ["loadIcon"],
      "icon": ["loadIcon"],
      "ios": ["loadIcon"],
      "md": ["loadIcon"]
    };
  }
  static get style() {
    return iconCss;
  }
}, [1, "ion-icon", {
  "mode": [1025],
  "color": [1],
  "ios": [1],
  "md": [1],
  "flipRtl": [4, "flip-rtl"],
  "name": [513],
  "src": [1],
  "icon": [8],
  "size": [1],
  "lazy": [4],
  "sanitize": [4],
  "svgContent": [32],
  "isVisible": [32]
}, void 0, {
  "name": ["loadIcon"],
  "src": ["loadIcon"],
  "icon": ["loadIcon"],
  "ios": ["loadIcon"],
  "md": ["loadIcon"]
}]);
var getIonMode = () => typeof document !== "undefined" && document.documentElement.getAttribute("mode") || "md";
var createColorClasses = (color) => {
  return color ? {
    "ion-color": true,
    [`ion-color-${color}`]: true
  } : null;
};
function defineCustomElement$1() {
  if (typeof customElements === "undefined") {
    return;
  }
  const components = ["ion-icon"];
  components.forEach((tagName) => {
    switch (tagName) {
      case "ion-icon":
        if (!customElements.get(tagName)) {
          customElements.define(tagName, Icon);
        }
        break;
    }
  });
}
var defineCustomElement = defineCustomElement$1;

// node_modules/@ionic/core/components/p-ak_d-z48.js
var r30 = (r32, e16, i16) => {
  let n15;
  const s23 = () => void 0 !== e16() && void 0 === r32.label && null !== i16(), d25 = () => {
    const t17 = e16();
    if (void 0 === t17) return;
    if (!s23()) return void t17.style.removeProperty("width");
    const c36 = i16().scrollWidth;
    if (0 === c36 && null === t17.offsetParent && void 0 !== d && "IntersectionObserver" in d) {
      if (void 0 !== n15) return;
      const o14 = n15 = new IntersectionObserver(((t18) => {
        1 === t18[0].intersectionRatio && (d25(), o14.disconnect(), n15 = void 0);
      }), { threshold: 0.01, root: r32 });
      o14.observe(t17);
    } else t17.style.setProperty("width", 0.75 * c36 + "px");
  };
  return { calculateNotchWidth: () => {
    s23() && d2((() => {
      d25();
    }));
  }, destroy: () => {
    n15 && (n15.disconnect(), n15 = void 0);
  } };
};

// node_modules/@ionic/core/components/p-Cy5XSfIk.js
var e15 = (t17, e16, i16) => {
  let n15, s23;
  if (void 0 !== d && "MutationObserver" in d) {
    const o14 = Array.isArray(e16) ? e16 : [e16];
    n15 = new MutationObserver(((t18) => {
      for (const e17 of t18) for (const t19 of e17.addedNodes) if (t19.nodeType === Node.ELEMENT_NODE && o14.includes(t19.slot)) return i16(), void d2((() => c36(t19)));
    })), n15.observe(t17, { childList: true, subtree: true });
  }
  const c36 = (o14) => {
    var r32;
    s23 && (s23.disconnect(), s23 = void 0), s23 = new MutationObserver(((o15) => {
      i16();
      for (const r33 of o15) for (const o16 of r33.removedNodes) o16.nodeType === Node.ELEMENT_NODE && o16.slot === e16 && f27();
    })), s23.observe(null !== (r32 = o14.parentElement) && void 0 !== r32 ? r32 : o14, { subtree: true, childList: true });
  }, f27 = () => {
    s23 && (s23.disconnect(), s23 = void 0);
  };
  return { destroy: () => {
    n15 && (n15.disconnect(), n15 = void 0), f27();
  } };
};
var i15 = (o14, r32, e16) => {
  const i16 = null == o14 ? 0 : o14.toString().length, s23 = n14(i16, r32);
  if (void 0 === e16) return s23;
  try {
    return e16(i16, r32);
  } catch (o15) {
    return f("[ion-input] - Exception in provided `counterFormatter`:", o15), s23;
  }
};
var n14 = (o14, r32) => `${o14} / ${r32}`;

// node_modules/@ionic/core/components/ion-input.js
var y10 = Dn(class extends I {
  constructor(i16) {
    super(), false !== i16 && this.__registerHost(), this.ionInput = Jt(this, "ionInput", 7), this.ionChange = Jt(this, "ionChange", 7), this.ionBlur = Jt(this, "ionBlur", 7), this.ionFocus = Jt(this, "ionFocus", 7), this.inputId = "ion-input-" + k9++, this.helperTextId = this.inputId + "-helper-text", this.errorTextId = this.inputId + "-error-text", this.labelTextId = this.inputId + "-label", this.inheritedAttributes = {}, this.isComposing = false, this.didInputClearOnEdit = false, this.hasFocus = false, this.isInvalid = false, this.autocapitalize = "off", this.autocomplete = "off", this.autocorrect = "off", this.autofocus = false, this.clearInput = false, this.counter = false, this.disabled = false, this.labelPlacement = "start", this.name = this.inputId, this.readonly = false, this.required = false, this.spellcheck = false, this.type = "text", this.value = "", this.onInput = (i17) => {
      const t17 = i17.target;
      t17 && (this.value = t17.value || ""), this.emitInputChange(i17);
    }, this.onChange = (i17) => {
      this.emitValueChange(i17);
    }, this.onBlur = (i17) => {
      this.hasFocus = false, this.focusedValue !== this.value && this.emitValueChange(i17), this.didInputClearOnEdit = false, this.ionBlur.emit(i17);
    }, this.onFocus = (i17) => {
      this.hasFocus = true, this.focusedValue = this.value, this.ionFocus.emit(i17);
    }, this.onKeydown = (i17) => {
      this.checkClearOnEdit(i17);
    }, this.onCompositionStart = () => {
      this.isComposing = true;
    }, this.onCompositionEnd = () => {
      this.isComposing = false;
    }, this.clearTextInput = (i17) => {
      this.clearInput && !this.readonly && !this.disabled && i17 && (i17.preventDefault(), i17.stopPropagation(), this.setFocus()), this.value = "", this.emitInputChange(i17);
    }, this.onLabelClick = (i17) => {
      i17.target === i17.currentTarget && i17.stopPropagation();
    };
  }
  debounceChanged() {
    const { ionInput: i16, debounce: t17, originalIonInput: n15 } = this;
    this.ionInput = void 0 === t17 ? null != n15 ? n15 : i16 : y(i16, t17);
  }
  onTypeChange() {
    const i16 = this.el.querySelector("ion-input-password-toggle");
    i16 && (i16.type = this.type);
  }
  valueChanged() {
    const i16 = this.nativeInput, t17 = this.getValue();
    i16 && i16.value !== t17 && !this.isComposing && (i16.value = t17);
  }
  onDirChanged(i16) {
    this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { dir: i16 }), Rn(this);
  }
  onClickCapture(i16) {
    const t17 = this.nativeInput;
    t17 && i16.target === t17 && (i16.stopPropagation(), this.el.click());
  }
  componentWillLoad() {
    this.inheritedAttributes = Object.assign(Object.assign({}, s2(this.el)), n2(this.el, ["tabindex", "title", "data-form-type", "dir"]));
  }
  connectedCallback() {
    const { el: i16 } = this;
    this.slotMutationController = e15(i16, ["label", "start", "end"], (() => {
      this.setSlottedLabelId(), Rn(this);
    })), this.setSlottedLabelId(), this.notchController = r30(i16, (() => this.notchSpacerEl), (() => this.labelSlot)), "undefined" != typeof MutationObserver && (this.validationObserver = new MutationObserver((() => {
      const t17 = n13(i16);
      this.isInvalid !== t17 && (this.isInvalid = t17, Rn(this));
    })), this.validationObserver.observe(i16, { attributes: true, attributeFilter: ["class"] })), this.isInvalid = n13(i16), this.debounceChanged(), document.dispatchEvent(new CustomEvent("ionInputDidLoad", { detail: this.el }));
  }
  componentDidLoad() {
    this.originalIonInput = this.ionInput, this.onTypeChange(), this.debounceChanged();
  }
  componentDidRender() {
    var i16;
    null === (i16 = this.notchController) || void 0 === i16 || i16.calculateNotchWidth();
  }
  disconnectedCallback() {
    document.dispatchEvent(new CustomEvent("ionInputDidUnload", { detail: this.el })), this.slotMutationController && (this.slotMutationController.destroy(), this.slotMutationController = void 0), this.notchController && (this.notchController.destroy(), this.notchController = void 0), this.validationObserver && (this.validationObserver.disconnect(), this.validationObserver = void 0);
  }
  setFocus() {
    return __async(this, null, function* () {
      this.nativeInput && this.nativeInput.focus();
    });
  }
  getInputElement() {
    return __async(this, null, function* () {
      return this.nativeInput || (yield new Promise(((i16) => e2(this.el, i16)))), Promise.resolve(this.nativeInput);
    });
  }
  emitValueChange(i16) {
    const { value: t17 } = this, n15 = null == t17 ? t17 : "" + t17;
    this.focusedValue = n15, this.ionChange.emit({ value: n15, event: i16 });
  }
  emitInputChange(i16) {
    const { value: t17 } = this;
    this.ionInput.emit({ value: null == t17 ? t17 : "" + t17, event: i16 });
  }
  shouldClearOnEdit() {
    const { type: i16, clearOnEdit: t17 } = this;
    return void 0 === t17 ? "password" === i16 : t17;
  }
  getValue() {
    return "number" == typeof this.value ? "" + this.value : "" + (this.value || "");
  }
  checkClearOnEdit(i16) {
    if (!this.shouldClearOnEdit()) return;
    const t17 = ["Enter", "Tab", "Shift", "Meta", "Alt", "Control"].includes(i16.key);
    this.didInputClearOnEdit || !this.hasValue() || t17 || (this.value = "", this.emitInputChange(i16)), t17 || (this.didInputClearOnEdit = true);
  }
  hasValue() {
    return this.getValue().length > 0;
  }
  renderHintText() {
    const { helperText: i16, errorText: t17, helperTextId: n15, errorTextId: o14, isInvalid: a17 } = this;
    return [Ct("div", { id: n15, class: "helper-text", "aria-live": "polite" }, a17 ? null : i16), Ct("div", { id: o14, class: "error-text", role: "alert" }, a17 ? t17 : null)];
  }
  getHintTextID() {
    const { isInvalid: i16, helperText: t17, errorText: n15, helperTextId: o14, errorTextId: e16 } = this;
    return i16 && n15 ? e16 : t17 ? o14 : void 0;
  }
  renderCounter() {
    const { counter: i16, maxlength: t17, counterFormatter: n15, value: o14 } = this;
    if (true === i16 && void 0 !== t17) return Ct("div", { class: "counter" }, i15(o14, t17, n15));
  }
  renderBottomContent() {
    const { counter: i16, helperText: t17, errorText: n15, maxlength: o14 } = this;
    if (t17 || n15 || true === i16 && void 0 !== o14) return Ct("div", { class: "input-bottom" }, this.renderHintText(), this.renderCounter());
  }
  renderLabel() {
    const { label: i16, labelTextId: t17 } = this;
    return Ct("div", { class: { "label-text-wrapper": true, "label-text-wrapper-hidden": !this.hasLabel }, "aria-hidden": this.hasLabel ? "true" : null }, void 0 === i16 ? Ct("slot", { name: "label" }) : Ct("div", { class: "label-text", id: t17 }, i16));
  }
  get labelSlot() {
    return this.el.querySelector('[slot="label"]');
  }
  setSlottedLabelId() {
    const i16 = this.labelSlot;
    i16 && !i16.id && (i16.id = this.labelTextId);
  }
  getLabelledById() {
    var i16;
    if (!this.inheritedAttributes["aria-label"]) return void 0 !== this.label ? this.labelTextId : (null === (i16 = this.labelSlot) || void 0 === i16 ? void 0 : i16.id) || void 0;
  }
  get hasLabel() {
    return void 0 !== this.label || null !== this.labelSlot;
  }
  renderLabelContainer() {
    return "md" === g(this) && "outline" === this.fill ? [Ct("div", { class: "input-outline-container" }, Ct("div", { class: "input-outline-start" }), Ct("div", { class: { "input-outline-notch": true, "input-outline-notch-hidden": !this.hasLabel } }, Ct("div", { class: "notch-spacer", "aria-hidden": "true", ref: (i16) => this.notchSpacerEl = i16 }, this.label)), Ct("div", { class: "input-outline-end" })), this.renderLabel()] : this.renderLabel();
  }
  render() {
    const { disabled: i16, fill: t17, readonly: n15, shape: o14, inputId: r32, labelPlacement: l27, el: s23, hasFocus: p33, clearInputIcon: d25 } = this, c36 = g(this), u21 = this.getValue(), h21 = n5("ion-item", this.el), m28 = "md" === c36 && "outline" !== t17 && !h21, w12 = null != d25 ? d25 : "ios" === c36 ? r6 : m5, y14 = this.hasValue(), k12 = null !== s23.querySelector('[slot="start"], [slot="end"]'), z11 = "stacked" === l27 || "floating" === l27 && (y14 || p33 || k12);
    return Ct(It, { key: "9ba9cf425b573d2ca9ac34455a0e6b8474c4de6d", class: o6(this.color, { [c36]: true, "has-value": y14, "has-focus": p33, "label-floating": z11, ["input-fill-" + t17]: void 0 !== t17, ["input-shape-" + o14]: void 0 !== o14, ["input-label-placement-" + l27]: true, "in-item": h21, "in-item-color": n5("ion-item.ion-color", this.el), "input-disabled": i16 }) }, Ct("label", { key: "74b989d0aa5ab38f29f952519868f05119df6005", class: "input-wrapper", htmlFor: r32, onClick: this.onLabelClick }, this.renderLabelContainer(), Ct("div", { key: "47f2b42e2f74ea866b4f871026e08ab375d7a726", class: "native-wrapper", onClick: this.onLabelClick }, Ct("slot", { key: "eaabe5a4a329a356cac3294d15c087d0d131fff2", name: "start" }), Ct("input", Object.assign({ key: "c821a984a8a9b7f96f30892c06d8deda093ff24b", class: "native-input", ref: (i17) => this.nativeInput = i17, id: r32, disabled: i16, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, multiple: this.multiple, name: this.name, pattern: this.pattern, placeholder: this.placeholder || "", readOnly: n15, required: this.required, spellcheck: this.spellcheck, step: this.step, type: this.type, value: u21, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeydown, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd, "aria-describedby": this.getHintTextID(), "aria-invalid": this.isInvalid ? "true" : void 0, "aria-labelledby": this.getLabelledById() }, this.inheritedAttributes)), this.clearInput && !n15 && !i16 && Ct("button", { key: "62069c11016ee190dc46ab941372e1c4ad8a36ed", "aria-label": "reset", type: "button", class: "input-clear-icon", onPointerDown: (i17) => {
      i17.preventDefault();
    }, onClick: this.clearTextInput }, Ct("ion-icon", { key: "dd75a516d32110d85382b664c663bd41f177ce12", "aria-hidden": "true", icon: w12 })), Ct("slot", { key: "330d4b9389f2c62223a5ee24003e96ef3e6b2473", name: "end" })), m28 && Ct("div", { key: "8e442bed130ddc84976ab70fd3f8578d6bcc6316", class: "input-highlight" })), this.renderBottomContent());
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { debounce: [{ debounceChanged: 0 }], type: [{ onTypeChange: 0 }], value: [{ valueChanged: 0 }], dir: [{ onDirChanged: 0 }] };
  }
  static get style() {
    return { ios: ".sc-ion-input-ios-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:var(--ion-placeholder-opacity, 0.6);--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--background:transparent;--color:initial;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #0054e9);--highlight-color-valid:var(--ion-color-success, #2dd55b);--highlight-color-invalid:var(--ion-color-danger, #c5000f);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;min-height:44px;padding:0 !important;color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2}ion-item[slot=start].sc-ion-input-ios-h,ion-item [slot=start].sc-ion-input-ios-h,ion-item[slot=end].sc-ion-input-ios-h,ion-item [slot=end].sc-ion-input-ios-h{width:auto}.ion-color.sc-ion-input-ios-h{--highlight-color-focused:var(--ion-color-base)}.input-label-placement-floating.sc-ion-input-ios-h,.input-label-placement-stacked.sc-ion-input-ios-h{min-height:56px}.native-input.sc-ion-input-ios{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:inline-block;position:relative;-ms-flex:1;flex:1;width:100%;max-width:100%;height:100%;max-height:100%;border:0;outline:none;background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:1}.native-input.sc-ion-input-ios::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-ios:-webkit-autofill{background-color:transparent}.native-input.sc-ion-input-ios:invalid{-webkit-box-shadow:none;box-shadow:none}.native-input.sc-ion-input-ios::-ms-clear{display:none}.cloned-input.sc-ion-input-ios{position:absolute;top:0;bottom:0;height:auto;max-height:none;pointer-events:none}.cloned-input.sc-ion-input-ios:disabled{opacity:1}.input-clear-icon.sc-ion-input-ios{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;background-position:center;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:30px;height:30px;border:0;outline:none;background-color:transparent;background-repeat:no-repeat;color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));visibility:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}.in-item-color.sc-ion-input-ios-h .input-clear-icon.sc-ion-input-ios{color:inherit}.input-clear-icon.sc-ion-input-ios:focus{opacity:0.5}.has-value.sc-ion-input-ios-h .input-clear-icon.sc-ion-input-ios{visibility:visible}.input-wrapper.sc-ion-input-ios{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:stretch;align-items:stretch;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal}.native-wrapper.sc-ion-input-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;width:100%}.ion-touched.ion-invalid.sc-ion-input-ios-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-input-ios-h{--highlight-color:var(--highlight-color-valid)}.input-bottom.sc-ion-input-ios{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:5px;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--border-width) var(--border-style) var(--border-color);font-size:0.75rem;white-space:normal}.has-focus.ion-valid.sc-ion-input-ios-h,.ion-touched.ion-invalid.sc-ion-input-ios-h{--border-color:var(--highlight-color)}.input-bottom.sc-ion-input-ios .error-text.sc-ion-input-ios{display:none;color:var(--highlight-color-invalid)}.input-bottom.sc-ion-input-ios .helper-text.sc-ion-input-ios{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}.ion-touched.ion-invalid.sc-ion-input-ios-h .input-bottom.sc-ion-input-ios .error-text.sc-ion-input-ios{display:block}.ion-touched.ion-invalid.sc-ion-input-ios-h .input-bottom.sc-ion-input-ios .helper-text.sc-ion-input-ios{display:none}.input-bottom.sc-ion-input-ios .counter.sc-ion-input-ios{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}.has-focus.sc-ion-input-ios-h input.sc-ion-input-ios{caret-color:var(--highlight-color)}.label-text-wrapper.sc-ion-input-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text.sc-ion-input-ios,.sc-ion-input-ios-s>[slot=label]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden.sc-ion-input-ios,.input-outline-notch-hidden.sc-ion-input-ios{display:none}.input-wrapper.sc-ion-input-ios input.sc-ion-input-ios{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.input-label-placement-start.sc-ion-input-ios-h .input-wrapper.sc-ion-input-ios{-ms-flex-direction:row;flex-direction:row}.input-label-placement-start.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.input-label-placement-end.sc-ion-input-ios-h .input-wrapper.sc-ion-input-ios{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.input-label-placement-end.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}.input-label-placement-fixed.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.input-label-placement-fixed.sc-ion-input-ios-h .label-text.sc-ion-input-ios{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.input-label-placement-stacked.sc-ion-input-ios-h .input-wrapper.sc-ion-input-ios,.input-label-placement-floating.sc-ion-input-ios-h .input-wrapper.sc-ion-input-ios{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}.input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,.input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-transform-origin:left top;transform-origin:left top;max-width:100%;z-index:2}[dir=rtl].sc-ion-input-ios-h -no-combinator.input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl] .sc-ion-input-ios-h -no-combinator.input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl].input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl] .input-label-placement-stacked.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl].sc-ion-input-ios-h -no-combinator.input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl] .sc-ion-input-ios-h -no-combinator.input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl].input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios,[dir=rtl] .input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.input-label-placement-stacked.sc-ion-input-ios-h:dir(rtl) .label-text-wrapper.sc-ion-input-ios,.input-label-placement-floating.sc-ion-input-ios-h:dir(rtl) .label-text-wrapper.sc-ion-input-ios{-webkit-transform-origin:right top;transform-origin:right top}}.input-label-placement-stacked.sc-ion-input-ios-h input.sc-ion-input-ios,.input-label-placement-floating.sc-ion-input-ios-h input.sc-ion-input-ios{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0}.input-label-placement-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}.input-label-placement-floating.sc-ion-input-ios-h input.sc-ion-input-ios{opacity:0}.has-focus.input-label-placement-floating.sc-ion-input-ios-h input.sc-ion-input-ios,.has-value.input-label-placement-floating.sc-ion-input-ios-h input.sc-ion-input-ios{opacity:1}.label-floating.sc-ion-input-ios-h .label-text-wrapper.sc-ion-input-ios{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}.sc-ion-input-ios-s>[slot=start]:last-of-type{-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}.sc-ion-input-ios-s>[slot=end]:first-of-type{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}.sc-ion-input-ios-h[disabled].sc-ion-input-ios-s>ion-input-password-toggle,.sc-ion-input-ios-h[disabled] .sc-ion-input-ios-s>ion-input-password-toggle,.sc-ion-input-ios-h[readonly].sc-ion-input-ios-s>ion-input-password-toggle,.sc-ion-input-ios-h[readonly] .sc-ion-input-ios-s>ion-input-password-toggle{visibility:hidden}.sc-ion-input-ios-h{--border-width:0.55px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));--highlight-height:0px;font-size:inherit}.input-clear-icon.sc-ion-input-ios ion-icon.sc-ion-input-ios{width:18px;height:18px}.input-disabled.sc-ion-input-ios-h{opacity:0.3}.sc-ion-input-ios-s>ion-button[slot=start].button-has-icon-only,.sc-ion-input-ios-s>ion-button[slot=end].button-has-icon-only{--border-radius:50%;--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;aspect-ratio:1}", md: ".sc-ion-input-md-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:var(--ion-placeholder-opacity, 0.6);--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--background:transparent;--color:initial;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #0054e9);--highlight-color-valid:var(--ion-color-success, #2dd55b);--highlight-color-invalid:var(--ion-color-danger, #c5000f);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;min-height:44px;padding:0 !important;color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2}ion-item[slot=start].sc-ion-input-md-h,ion-item [slot=start].sc-ion-input-md-h,ion-item[slot=end].sc-ion-input-md-h,ion-item [slot=end].sc-ion-input-md-h{width:auto}.ion-color.sc-ion-input-md-h{--highlight-color-focused:var(--ion-color-base)}.input-label-placement-floating.sc-ion-input-md-h,.input-label-placement-stacked.sc-ion-input-md-h{min-height:56px}.native-input.sc-ion-input-md{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:inline-block;position:relative;-ms-flex:1;flex:1;width:100%;max-width:100%;height:100%;max-height:100%;border:0;outline:none;background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;z-index:1}.native-input.sc-ion-input-md::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-input.sc-ion-input-md:-webkit-autofill{background-color:transparent}.native-input.sc-ion-input-md:invalid{-webkit-box-shadow:none;box-shadow:none}.native-input.sc-ion-input-md::-ms-clear{display:none}.cloned-input.sc-ion-input-md{position:absolute;top:0;bottom:0;height:auto;max-height:none;pointer-events:none}.cloned-input.sc-ion-input-md:disabled{opacity:1}.input-clear-icon.sc-ion-input-md{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:auto;margin-bottom:auto;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;background-position:center;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:30px;height:30px;border:0;outline:none;background-color:transparent;background-repeat:no-repeat;color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));visibility:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}.in-item-color.sc-ion-input-md-h .input-clear-icon.sc-ion-input-md{color:inherit}.input-clear-icon.sc-ion-input-md:focus{opacity:0.5}.has-value.sc-ion-input-md-h .input-clear-icon.sc-ion-input-md{visibility:visible}.input-wrapper.sc-ion-input-md{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:stretch;align-items:stretch;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal}.native-wrapper.sc-ion-input-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;width:100%}.ion-touched.ion-invalid.sc-ion-input-md-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-input-md-h{--highlight-color:var(--highlight-color-valid)}.input-bottom.sc-ion-input-md{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:5px;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--border-width) var(--border-style) var(--border-color);font-size:0.75rem;white-space:normal}.has-focus.ion-valid.sc-ion-input-md-h,.ion-touched.ion-invalid.sc-ion-input-md-h{--border-color:var(--highlight-color)}.input-bottom.sc-ion-input-md .error-text.sc-ion-input-md{display:none;color:var(--highlight-color-invalid)}.input-bottom.sc-ion-input-md .helper-text.sc-ion-input-md{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}.ion-touched.ion-invalid.sc-ion-input-md-h .input-bottom.sc-ion-input-md .error-text.sc-ion-input-md{display:block}.ion-touched.ion-invalid.sc-ion-input-md-h .input-bottom.sc-ion-input-md .helper-text.sc-ion-input-md{display:none}.input-bottom.sc-ion-input-md .counter.sc-ion-input-md{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}.has-focus.sc-ion-input-md-h input.sc-ion-input-md{caret-color:var(--highlight-color)}.label-text-wrapper.sc-ion-input-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text.sc-ion-input-md,.sc-ion-input-md-s>[slot=label]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden.sc-ion-input-md,.input-outline-notch-hidden.sc-ion-input-md{display:none}.input-wrapper.sc-ion-input-md input.sc-ion-input-md{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.input-label-placement-start.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{-ms-flex-direction:row;flex-direction:row}.input-label-placement-start.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.input-label-placement-end.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.input-label-placement-end.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}.input-label-placement-fixed.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.input-label-placement-fixed.sc-ion-input-md-h .label-text.sc-ion-input-md{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.input-label-placement-stacked.sc-ion-input-md-h .input-wrapper.sc-ion-input-md,.input-label-placement-floating.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:left top;transform-origin:left top;max-width:100%;z-index:2}[dir=rtl].sc-ion-input-md-h -no-combinator.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].sc-ion-input-md-h -no-combinator.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.input-label-placement-stacked.sc-ion-input-md-h:dir(rtl) .label-text-wrapper.sc-ion-input-md,.input-label-placement-floating.sc-ion-input-md-h:dir(rtl) .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:right top;transform-origin:right top}}.input-label-placement-stacked.sc-ion-input-md-h input.sc-ion-input-md,.input-label-placement-floating.sc-ion-input-md-h input.sc-ion-input-md{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0}.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}.input-label-placement-floating.sc-ion-input-md-h input.sc-ion-input-md{opacity:0}.has-focus.input-label-placement-floating.sc-ion-input-md-h input.sc-ion-input-md,.has-value.input-label-placement-floating.sc-ion-input-md-h input.sc-ion-input-md{opacity:1}.label-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}.sc-ion-input-md-s>[slot=start]:last-of-type{-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}.sc-ion-input-md-s>[slot=end]:first-of-type{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}.sc-ion-input-md-h[disabled].sc-ion-input-md-s>ion-input-password-toggle,.sc-ion-input-md-h[disabled] .sc-ion-input-md-s>ion-input-password-toggle,.sc-ion-input-md-h[readonly].sc-ion-input-md-s>ion-input-password-toggle,.sc-ion-input-md-h[readonly] .sc-ion-input-md-s>ion-input-password-toggle{visibility:hidden}.input-fill-solid.sc-ion-input-md-h{--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--border-color:var(--ion-color-step-500, var(--ion-background-color-step-500, gray));--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}.input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{border-bottom:var(--border-width) var(--border-style) var(--border-color)}.has-focus.input-fill-solid.ion-valid.sc-ion-input-md-h,.input-fill-solid.ion-touched.ion-invalid.sc-ion-input-md-h{--border-color:var(--highlight-color)}.input-fill-solid.sc-ion-input-md-h .input-bottom.sc-ion-input-md{border-top:none}@media (any-hover: hover){.input-fill-solid.sc-ion-input-md-h:hover{--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6));--border-color:var(--ion-color-step-750, var(--ion-background-color-step-750, #404040))}}.input-fill-solid.has-focus.sc-ion-input-md-h{--background:var(--ion-color-step-150, var(--ion-background-color-step-150, #d9d9d9));--border-color:var(--ion-color-step-750, var(--ion-background-color-step-750, #404040))}.input-fill-solid.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0px;border-end-start-radius:0px}.label-floating.input-fill-solid.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{max-width:calc(100% / 0.75)}.input-fill-outline.sc-ion-input-md-h{--border-color:var(--ion-color-step-300, var(--ion-background-color-step-300, #b3b3b3));--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}.input-fill-outline.input-shape-round.sc-ion-input-md-h{--border-radius:28px;--padding-start:32px;--padding-end:32px}.has-focus.input-fill-outline.ion-valid.sc-ion-input-md-h,.input-fill-outline.ion-touched.ion-invalid.sc-ion-input-md-h{--border-color:var(--highlight-color)}@media (any-hover: hover){.input-fill-outline.sc-ion-input-md-h:hover{--border-color:var(--ion-color-step-750, var(--ion-background-color-step-750, #404040))}}.input-fill-outline.has-focus.sc-ion-input-md-h{--border-width:var(--highlight-height);--border-color:var(--highlight-color)}.input-fill-outline.sc-ion-input-md-h .input-bottom.sc-ion-input-md{border-top:none}.input-fill-outline.sc-ion-input-md-h .input-wrapper.sc-ion-input-md{border-bottom:none}.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:left top;transform-origin:left top;position:absolute;max-width:calc(100% - var(--padding-start) - var(--padding-end))}[dir=rtl].sc-ion-input-md-h -no-combinator.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].sc-ion-input-md-h -no-combinator.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .sc-ion-input-md-h -no-combinator.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl].input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,[dir=rtl] .input-fill-outline.input-label-placement-floating.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h:dir(rtl) .label-text-wrapper.sc-ion-input-md,.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h:dir(rtl) .label-text-wrapper.sc-ion-input-md{-webkit-transform-origin:right top;transform-origin:right top}}.input-fill-outline.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{position:relative}.label-floating.input-fill-outline.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{-webkit-transform:translateY(-32%) scale(0.75);transform:translateY(-32%) scale(0.75);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;max-width:calc((100% - var(--padding-start) - var(--padding-end) - 8px) / 0.75)}.input-fill-outline.input-label-placement-stacked.sc-ion-input-md-h input.sc-ion-input-md,.input-fill-outline.input-label-placement-floating.sc-ion-input-md-h input.sc-ion-input-md{margin-left:0;margin-right:0;margin-top:6px;margin-bottom:6px}.input-fill-outline.sc-ion-input-md-h .input-outline-container.sc-ion-input-md{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;width:100%;height:100%}.input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md,.input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md{pointer-events:none}.input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md,.input-fill-outline.sc-ion-input-md-h .input-outline-notch.sc-ion-input-md,.input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md{border-top:var(--border-width) var(--border-style) var(--border-color);border-bottom:var(--border-width) var(--border-style) var(--border-color)}.input-fill-outline.sc-ion-input-md-h .input-outline-notch.sc-ion-input-md{max-width:calc(100% - var(--padding-start) - var(--padding-end))}.input-fill-outline.sc-ion-input-md-h .notch-spacer.sc-ion-input-md{-webkit-padding-end:8px;padding-inline-end:8px;font-size:calc(1em * 0.75);opacity:0;pointer-events:none;-webkit-box-sizing:content-box;box-sizing:content-box}.input-fill-outline.sc-ion-input-md-h .input-outline-start.sc-ion-input-md{border-start-start-radius:var(--border-radius);border-start-end-radius:0px;border-end-end-radius:0px;border-end-start-radius:var(--border-radius);-webkit-border-start:var(--border-width) var(--border-style) var(--border-color);border-inline-start:var(--border-width) var(--border-style) var(--border-color);width:calc(var(--padding-start) - 4px)}.input-fill-outline.sc-ion-input-md-h .input-outline-end.sc-ion-input-md{-webkit-border-end:var(--border-width) var(--border-style) var(--border-color);border-inline-end:var(--border-width) var(--border-style) var(--border-color);border-start-start-radius:0px;border-start-end-radius:var(--border-radius);border-end-end-radius:var(--border-radius);border-end-start-radius:0px;-ms-flex-positive:1;flex-grow:1}.label-floating.input-fill-outline.sc-ion-input-md-h .input-outline-notch.sc-ion-input-md{border-top:none}.sc-ion-input-md-h{--border-width:1px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));--highlight-height:2px;font-size:inherit}.input-clear-icon.sc-ion-input-md ion-icon.sc-ion-input-md{width:22px;height:22px}.input-disabled.sc-ion-input-md-h{opacity:0.38}.has-focus.ion-valid.sc-ion-input-md-h,.ion-touched.ion-invalid.sc-ion-input-md-h{--border-color:var(--highlight-color)}.input-bottom.sc-ion-input-md .counter.sc-ion-input-md{letter-spacing:0.0333333333em}.input-label-placement-floating.has-focus.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.input-label-placement-stacked.has-focus.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{color:var(--highlight-color)}.has-focus.input-label-placement-floating.ion-valid.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.input-label-placement-floating.ion-touched.ion-invalid.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.has-focus.input-label-placement-stacked.ion-valid.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md,.input-label-placement-stacked.ion-touched.ion-invalid.sc-ion-input-md-h .label-text-wrapper.sc-ion-input-md{color:var(--highlight-color)}.input-highlight.sc-ion-input-md{bottom:-1px;position:absolute;width:100%;height:var(--highlight-height);-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform 200ms;transition:-webkit-transform 200ms;transition:transform 200ms;transition:transform 200ms, -webkit-transform 200ms;background:var(--highlight-color)}.input-highlight.sc-ion-input-md{inset-inline-start:0}.has-focus.sc-ion-input-md-h .input-highlight.sc-ion-input-md{-webkit-transform:scale(1);transform:scale(1)}.in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md{bottom:0}.in-item.sc-ion-input-md-h .input-highlight.sc-ion-input-md{inset-inline-start:0}.input-shape-round.sc-ion-input-md-h{--border-radius:16px}.sc-ion-input-md-s>ion-button[slot=start].button-has-icon-only,.sc-ion-input-md-s>ion-button[slot=end].button-has-icon-only{--border-radius:50%;--padding-start:8px;--padding-end:8px;--padding-top:8px;--padding-bottom:8px;aspect-ratio:1;min-height:40px}" };
  }
}, [294, "ion-input", { color: [513], autocapitalize: [1], autocomplete: [1], autocorrect: [1], autofocus: [4], clearInput: [4, "clear-input"], clearInputIcon: [1, "clear-input-icon"], clearOnEdit: [4, "clear-on-edit"], counter: [4], counterFormatter: [16], debounce: [2], disabled: [516], enterkeyhint: [1], errorText: [1, "error-text"], fill: [1], inputmode: [1], helperText: [1, "helper-text"], label: [1], labelPlacement: [1, "label-placement"], max: [8], maxlength: [2], min: [8], minlength: [2], multiple: [4], name: [1], pattern: [1], placeholder: [1], readonly: [516], required: [4], shape: [1], spellcheck: [4], step: [1], type: [1], value: [1032], hasFocus: [32], isInvalid: [32], setFocus: [64], getInputElement: [64] }, [[2, "click", "onClickCapture"]], { debounce: [{ debounceChanged: 0 }], type: [{ onTypeChange: 0 }], value: [{ valueChanged: 0 }], dir: [{ onDirChanged: 0 }] }]);
var k9 = 0;
var C5 = function() {
  "undefined" != typeof customElements && ["ion-input", "ion-icon"].forEach(((i16) => {
    switch (i16) {
      case "ion-input":
        customElements.get(Zn(i16)) || customElements.define(Zn(i16), y10);
        break;
      case "ion-icon":
        customElements.get(Zn(i16)) || y6();
    }
  }));
};

// node_modules/@ionic/core/components/ion-input-otp.js
var c35 = Dn(class extends I {
  constructor(i16) {
    super(), false !== i16 && this.__registerHost(), this.ionInput = Jt(this, "ionInput", 7), this.ionChange = Jt(this, "ionChange", 7), this.ionComplete = Jt(this, "ionComplete", 7), this.ionBlur = Jt(this, "ionBlur", 7), this.ionFocus = Jt(this, "ionFocus", 7), this.inheritedAttributes = {}, this.inputRefs = [], this.inputId = "ion-input-otp-" + h20++, this.parsedSeparators = [], this.isKeyboardNavigation = false, this.inputValues = [], this.hasFocus = false, this.previousInputValues = [], this.autocapitalize = "off", this.disabled = false, this.fill = "outline", this.length = 4, this.readonly = false, this.shape = "round", this.size = "medium", this.type = "number", this.value = "", this.onFocus = (i17) => (o14) => {
      var t17;
      const { inputRefs: n15 } = this;
      this.hasFocus || (this.ionFocus.emit(o14), this.focusedValue = this.value), this.hasFocus = true;
      let s23 = i17;
      if (!this.isKeyboardNavigation) {
        const o15 = this.inputValues[i17] ? i17 : this.getFirstEmptyIndex();
        s23 = -1 === o15 ? this.length - 1 : o15, null === (t17 = this.inputRefs[s23]) || void 0 === t17 || t17.focus();
      }
      n15.forEach(((i18, o15) => {
        i18.tabIndex = o15 === s23 ? 0 : -1;
      })), this.isKeyboardNavigation = false;
    }, this.onBlur = (i17) => {
      const { inputRefs: o14 } = this, t17 = i17.relatedTarget;
      null != t17 && o14.includes(t17) || (this.hasFocus = false, this.updateTabIndexes(), this.ionBlur.emit(i17), this.focusedValue !== this.value && this.emitIonChange(i17));
    }, this.onKeyDown = (i17) => (o14) => {
      const { disabled: t17, length: n15, readonly: s23 } = this, r32 = o4(this.el), p33 = o14.target;
      if (!t17) if (!s23 || "Backspace" !== o14.key && "Delete" !== o14.key) {
        if (!(p33.selectionStart !== p33.selectionEnd || (o14.metaKey || o14.ctrlKey) && ["a", "c", "v", "x", "r", "z", "y"].includes(o14.key.toLowerCase()))) {
          if ("Backspace" === o14.key) if (this.inputValues[i17]) {
            for (let o15 = i17; o15 < n15 - 1; o15++) this.inputValues[o15] = this.inputValues[o15 + 1];
            this.inputValues[n15 - 1] = "";
            for (let i18 = 0; i18 < n15; i18++) this.inputRefs[i18].value = this.inputValues[i18] || "";
            this.updateValue(o14), o14.preventDefault();
          } else !this.inputValues[i17] && i17 > 0 && this.focusPrevious(i17);
          else if ("ArrowLeft" === o14.key || "ArrowRight" === o14.key) {
            this.isKeyboardNavigation = true, o14.preventDefault();
            const t18 = "ArrowLeft" === o14.key;
            t18 && r32 || !t18 && !r32 ? this.inputValues[i17] && i17 < n15 - 1 && this.focusNext(i17) : this.focusPrevious(i17);
          } else if ("Tab" === o14.key) return void (this.isKeyboardNavigation = true);
        }
      } else o14.preventDefault();
    }, this.onInput = (i17) => (o14) => {
      var t17, n15;
      const { disabled: s23, length: r32, readonly: p33, validKeyPattern: e16 } = this, a17 = o14.target, l27 = a17.value, d25 = this.previousInputValues[i17] || "";
      if (s23 || p33) return;
      if (l27.length - d25.length > 1) {
        const i18 = l27.split("").filter(((i19) => e16.test(i19))).slice(0, r32);
        0 === i18.length && requestAnimationFrame((() => {
          this.inputRefs.forEach(((i19) => {
            i19.value = "";
          }));
        }));
        for (let o15 = 0; o15 < r32; o15++) this.inputValues[o15] = i18[o15] || "", this.inputRefs[o15].value = i18[o15] || "";
        return this.updateValue(o14), setTimeout((() => {
          var o15;
          null === (o15 = this.inputRefs[i18.length < r32 ? i18.length : r32 - 1]) || void 0 === o15 || o15.focus();
        }), 20), void (this.previousInputValues = [...this.inputValues]);
      }
      if (l27.length > 0 && !e16.test(l27[l27.length - 1])) return a17.value = this.inputValues[i17] || "", void (this.previousInputValues = [...this.inputValues]);
      if (0 === a17.selectionStart && a17.selectionEnd === l27.length || !this.inputValues[i17]) return this.inputValues[i17] = l27, a17.value = l27, this.updateValue(o14), this.focusNext(i17), void (this.previousInputValues = [...this.inputValues]);
      if (this.inputValues[i17] && "" === this.inputValues[this.inputValues.length - 1] && 2 === l27.length) {
        let t18 = o14.data;
        if (t18 || (t18 = l27.split("").find(((i18, o15) => i18 !== d25[o15])) || l27[l27.length - 1]), !e16.test(t18)) return a17.value = this.inputValues[i17] || "", void (this.previousInputValues = [...this.inputValues]);
        for (let o15 = this.inputValues.length - 1; o15 > i17; o15--) this.inputValues[o15] = this.inputValues[o15 - 1], this.inputRefs[o15].value = this.inputValues[o15] || "";
        return this.inputValues[i17] = t18, this.inputRefs[i17].value = t18, this.updateValue(o14), void (this.previousInputValues = [...this.inputValues]);
      }
      const u21 = null !== (n15 = l27[(null !== (t17 = a17.selectionStart) && void 0 !== t17 ? t17 : l27.length) - 1]) && void 0 !== n15 ? n15 : l27[0];
      if (!e16.test(u21)) return a17.value = this.inputValues[i17] || "", void (this.previousInputValues = [...this.inputValues]);
      this.inputValues[i17] = u21, a17.value = u21, this.updateValue(o14), this.previousInputValues = [...this.inputValues];
    }, this.onPaste = (i17) => {
      var o14, t17;
      const { disabled: n15, inputRefs: s23, length: r32, readonly: p33, validKeyPattern: e16 } = this;
      if (i17.preventDefault(), n15 || p33) return;
      const a17 = null === (o14 = i17.clipboardData) || void 0 === o14 ? void 0 : o14.getData("text");
      if (!a17) return void this.emitIonInput(i17);
      const l27 = a17.split("").filter(((i18) => e16.test(i18))).slice(0, r32);
      l27.forEach(((i18, o15) => {
        o15 < r32 && (this.inputRefs[o15].value = i18, this.inputValues[o15] = i18);
      })), this.value = l27.join(""), this.updateValue(i17), null === (t17 = s23[l27.length < r32 ? l27.length : r32 - 1]) || void 0 === t17 || t17.focus();
    };
  }
  setFocus(i16) {
    return __async(this, null, function* () {
      var o14, t17;
      if ("number" == typeof i16) null === (o14 = this.inputRefs[Math.max(0, Math.min(i16, this.length - 1))]) || void 0 === o14 || o14.focus();
      else {
        const i17 = this.getTabbableIndex();
        null === (t17 = this.inputRefs[i17]) || void 0 === t17 || t17.focus();
      }
    });
  }
  valueChanged() {
    this.initializeValues(), this.updateTabIndexes();
  }
  processSeparators() {
    const { separators: i16, length: o14 } = this;
    if (void 0 === i16) return void (this.parsedSeparators = []);
    if ("string" == typeof i16 && "all" !== i16 && !/^(\d+)(,\d+)*$/.test(i16)) return u('[ion-input-otp] - Invalid separators format. Expected a comma-separated list of numbers, an array of numbers, or "all". Received: ' + i16, this.el), void (this.parsedSeparators = []);
    let t17;
    t17 = "all" === i16 ? Array.from({ length: o14 - 1 }, ((i17, o15) => o15 + 1)) : Array.isArray(i16) ? i16 : i16.split(",").map(((i17) => parseInt(i17, 10))).filter(((i17) => !isNaN(i17))), t17.filter(((i17, o15) => t17.indexOf(i17) !== o15)).length > 0 && u("[ion-input-otp] - Duplicate separator positions are not allowed. Received: " + i16, this.el);
    const s23 = t17.filter(((i17) => i17 > o14));
    s23.length > 0 && u(`[ion-input-otp] - The following separator positions are greater than the input length (${o14}): ${s23.join(", ")}. These separators will be ignored.`, this.el), this.parsedSeparators = t17.filter(((i17) => i17 <= o14));
  }
  componentWillLoad() {
    this.inheritedAttributes = s2(this.el), this.processSeparators(), this.initializeValues();
  }
  componentDidLoad() {
    this.updateTabIndexes();
  }
  get validKeyPattern() {
    return RegExp(`^${this.getPattern()}$`, "u");
  }
  getPattern() {
    const { pattern: i16, type: o14 } = this;
    return i16 || ("number" === o14 ? "[\\p{N}]" : "[\\p{L}\\p{N}]");
  }
  getInputmode() {
    const { inputmode: i16 } = this;
    return i16 || ("number" == this.type ? "numeric" : "text");
  }
  initializeValues() {
    this.inputValues = Array(this.length).fill(""), null != this.value && 0 !== (this.value + "").length && ((this.value + "").split("").slice(0, this.length).forEach(((i16, o14) => {
      this.validKeyPattern.test(i16) && (this.inputValues[o14] = i16);
    })), this.value = this.inputValues.join(""), this.previousInputValues = [...this.inputValues]);
  }
  updateValue(i16) {
    const { inputValues: o14, length: t17 } = this, n15 = o14.join("");
    this.value = n15, this.emitIonInput(i16), n15.length === t17 && this.ionComplete.emit({ value: n15 });
  }
  emitIonChange(i16) {
    const { value: o14 } = this;
    this.ionChange.emit({ value: null == o14 ? o14 : "" + o14, event: i16 });
  }
  emitIonInput(i16) {
    const { value: o14 } = this;
    this.ionInput.emit({ value: null == o14 ? o14 : "" + o14, event: i16 });
  }
  focusNext(i16) {
    var o14;
    const { inputRefs: t17, length: n15 } = this;
    i16 < n15 - 1 && (null === (o14 = t17[i16 + 1]) || void 0 === o14 || o14.focus());
  }
  focusPrevious(i16) {
    var o14;
    const { inputRefs: t17 } = this;
    i16 > 0 && (null === (o14 = t17[i16 - 1]) || void 0 === o14 || o14.focus());
  }
  getFirstEmptyIndex() {
    var i16;
    const { inputValues: o14, length: t17 } = this;
    return null !== (i16 = Array.from({ length: t17 }, ((i17, t18) => o14[t18] || "")).findIndex(((i17) => !i17 || "" === i17))) && void 0 !== i16 ? i16 : -1;
  }
  getTabbableIndex() {
    const { length: i16 } = this, o14 = this.getFirstEmptyIndex();
    return -1 === o14 ? i16 - 1 : o14;
  }
  updateTabIndexes() {
    const { inputRefs: i16, inputValues: o14, length: t17 } = this;
    let n15 = -1;
    for (let i17 = 0; i17 < t17; i17++) if (!o14[i17] || "" === o14[i17]) {
      n15 = i17;
      break;
    }
    i16.forEach(((i17, s23) => {
      const r32 = -1 === n15 ? s23 === t17 - 1 : n15 === s23;
      i17.tabIndex = r32 ? 0 : -1, i17.setAttribute("aria-hidden", o14[s23] && "" !== o14[s23] || r32 ? "false" : "true");
    }));
  }
  showSeparator(i16) {
    const { length: o14 } = this;
    return this.parsedSeparators.includes(i16 + 1) && i16 < o14 - 1;
  }
  render() {
    var i16, o14;
    const { autocapitalize: t17, color: n15, disabled: e16, el: a17, fill: l27, hasFocus: c36, inheritedAttributes: h21, inputId: v18, inputRefs: g20, inputValues: m28, length: f27, readonly: b21, shape: x16, size: k12 } = this, w12 = g(this), y14 = this.getInputmode(), z11 = this.getTabbableIndex(), I8 = this.getPattern(), R5 = "" !== (null === (o14 = null === (i16 = a17.querySelector(".input-otp-description")) || void 0 === i16 ? void 0 : i16.textContent) || void 0 === o14 ? void 0 : o14.trim());
    return Ct(It, { key: "5c1386ae6b8038ec33ca94fd818c9353b1b37f75", class: o6(n15, { [w12]: true, "has-focus": c36, ["input-otp-size-" + k12]: true, ["input-otp-shape-" + x16]: true, ["input-otp-fill-" + l27]: true, "input-otp-disabled": e16, "input-otp-readonly": b21 }) }, Ct("div", Object.assign({ key: "9a19129688e55095f8386826c73ef3f9744becff", role: "group", "aria-label": "One-time password input", class: "input-otp-group" }, h21), Array.from({ length: f27 }).map(((i17, o15) => Ct(Vn, null, Ct("div", { class: "native-wrapper" }, Ct("input", { class: "native-input", id: `${v18}-${o15}`, "aria-label": `Input ${o15 + 1} of ${f27}`, type: "text", autoCapitalize: t17, inputmode: y14, pattern: I8, disabled: e16, readOnly: b21, tabIndex: o15 === z11 ? 0 : -1, value: m28[o15] || "", autocomplete: "one-time-code", ref: (i18) => g20[o15] = i18, onInput: this.onInput(o15), onBlur: this.onBlur, onFocus: this.onFocus(o15), onKeyDown: this.onKeyDown(o15), onPaste: this.onPaste })), this.showSeparator(o15) && Ct("div", { class: "input-otp-separator" }))))), Ct("div", { key: "7853819c3610c4691191f1836b947bf4ec17939d", class: { "input-otp-description": true, "input-otp-description-hidden": !R5 } }, Ct("slot", { key: "f4674d47d3d3991f21a0a79321ebc323968071dc" })));
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { value: [{ valueChanged: 0 }], separators: [{ processSeparators: 0 }], length: [{ processSeparators: 0 }] };
  }
  static get style() {
    return { ios: ".sc-ion-input-otp-ios-h{--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--padding-top:16px;--padding-end:0;--padding-bottom:16px;--padding-start:0;--color:initial;--min-width:40px;--separator-width:8px;--separator-height:var(--separator-width);--separator-border-radius:999px;--separator-color:var(--ion-color-step-150, var(--ion-background-color-step-150, #d9d9d9));--highlight-color-focused:var(--ion-color-primary, #0054e9);--highlight-color-valid:var(--ion-color-success, #2dd55b);--highlight-color-invalid:var(--ion-color-danger, #c5000f);--highlight-color:var(--highlight-color-focused);display:block;position:relative;font-size:0.875rem}.input-otp-group.sc-ion-input-otp-ios{-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.native-wrapper.sc-ion-input-otp-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:var(--min-width)}.native-input.sc-ion-input-otp-ios{border-radius:var(--border-radius);width:var(--width);min-width:inherit;height:var(--height);border-width:var(--border-width);border-style:solid;border-color:var(--border-color);background:var(--background);color:var(--color);font-size:inherit;text-align:center;-webkit-appearance:none;-moz-appearance:none;appearance:none}.has-focus.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios{caret-color:var(--highlight-color)}.input-otp-description.sc-ion-input-otp-ios{color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));font-size:0.75rem;line-height:1.25rem;text-align:center}.input-otp-description-hidden.sc-ion-input-otp-ios{display:none}.input-otp-separator.sc-ion-input-otp-ios{border-radius:var(--separator-border-radius);-ms-flex-negative:0;flex-shrink:0;width:var(--separator-width);height:var(--separator-height);background:var(--separator-color)}.input-otp-size-small.sc-ion-input-otp-ios-h{--width:40px;--height:40px}.input-otp-size-small.sc-ion-input-otp-ios-h .input-otp-group.sc-ion-input-otp-ios{gap:8px}.input-otp-size-medium.sc-ion-input-otp-ios-h{--width:48px;--height:48px}.input-otp-size-large.sc-ion-input-otp-ios-h{--width:56px;--height:56px}.input-otp-size-medium.sc-ion-input-otp-ios-h .input-otp-group.sc-ion-input-otp-ios,.input-otp-size-large.sc-ion-input-otp-ios-h .input-otp-group.sc-ion-input-otp-ios{gap:12px}.input-otp-shape-round.sc-ion-input-otp-ios-h{--border-radius:16px}.input-otp-shape-soft.sc-ion-input-otp-ios-h{--border-radius:8px}.input-otp-shape-rectangular.sc-ion-input-otp-ios-h{--border-radius:0}.input-otp-fill-outline.sc-ion-input-otp-ios-h{--background:none}.input-otp-fill-solid.sc-ion-input-otp-ios-h{--border-color:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2))}.input-otp-disabled.sc-ion-input-otp-ios-h{--color:var(--ion-color-step-350, var(--ion-text-color-step-650, #a6a6a6))}.input-otp-fill-outline.input-otp-disabled.sc-ion-input-otp-ios-h{--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--border-color:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.input-otp-disabled.sc-ion-input-otp-ios-h,.input-otp-disabled.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios:disabled{cursor:not-allowed}.has-focus.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios:focus{--border-color:var(--highlight-color);outline:none}.input-otp-fill-outline.input-otp-readonly.sc-ion-input-otp-ios-h{--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2))}.input-otp-fill-solid.input-otp-disabled.sc-ion-input-otp-ios-h,.input-otp-fill-solid.input-otp-readonly.sc-ion-input-otp-ios-h{--border-color:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6));--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.ion-touched.ion-invalid.sc-ion-input-otp-ios-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-input-otp-ios-h{--highlight-color:var(--highlight-color-valid)}.has-focus.ion-valid.sc-ion-input-otp-ios-h,.ion-touched.ion-invalid.sc-ion-input-otp-ios-h{--border-color:var(--highlight-color)}.ion-color.sc-ion-input-otp-ios-h{--highlight-color-focused:var(--ion-color-base)}.input-otp-fill-outline.ion-color.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios,.input-otp-fill-solid.ion-color.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios:focus{border-color:rgba(var(--ion-color-base-rgb), 0.6)}.input-otp-fill-outline.ion-color.ion-invalid.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios,.input-otp-fill-solid.ion-color.ion-invalid.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios,.input-otp-fill-outline.ion-color.has-focus.ion-invalid.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios,.input-otp-fill-solid.ion-color.has-focus.ion-invalid.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios{border-color:var(--ion-color-danger, #c5000f)}.input-otp-fill-outline.ion-color.ion-valid.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios,.input-otp-fill-solid.ion-color.ion-valid.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios,.input-otp-fill-outline.ion-color.has-focus.ion-valid.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios,.input-otp-fill-solid.ion-color.has-focus.ion-valid.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios{border-color:var(--ion-color-success, #2dd55b)}.input-otp-fill-outline.input-otp-disabled.ion-color.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios{border-color:rgba(var(--ion-color-base-rgb), 0.3)}.sc-ion-input-otp-ios-h{--border-width:0.55px}.has-focus.sc-ion-input-otp-ios-h .native-input.sc-ion-input-otp-ios:focus{--border-width:1px}.input-otp-fill-outline.sc-ion-input-otp-ios-h{--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))))}", md: ".sc-ion-input-otp-md-h{--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--padding-top:16px;--padding-end:0;--padding-bottom:16px;--padding-start:0;--color:initial;--min-width:40px;--separator-width:8px;--separator-height:var(--separator-width);--separator-border-radius:999px;--separator-color:var(--ion-color-step-150, var(--ion-background-color-step-150, #d9d9d9));--highlight-color-focused:var(--ion-color-primary, #0054e9);--highlight-color-valid:var(--ion-color-success, #2dd55b);--highlight-color-invalid:var(--ion-color-danger, #c5000f);--highlight-color:var(--highlight-color-focused);display:block;position:relative;font-size:0.875rem}.input-otp-group.sc-ion-input-otp-md{-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.native-wrapper.sc-ion-input-otp-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:var(--min-width)}.native-input.sc-ion-input-otp-md{border-radius:var(--border-radius);width:var(--width);min-width:inherit;height:var(--height);border-width:var(--border-width);border-style:solid;border-color:var(--border-color);background:var(--background);color:var(--color);font-size:inherit;text-align:center;-webkit-appearance:none;-moz-appearance:none;appearance:none}.has-focus.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md{caret-color:var(--highlight-color)}.input-otp-description.sc-ion-input-otp-md{color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));font-size:0.75rem;line-height:1.25rem;text-align:center}.input-otp-description-hidden.sc-ion-input-otp-md{display:none}.input-otp-separator.sc-ion-input-otp-md{border-radius:var(--separator-border-radius);-ms-flex-negative:0;flex-shrink:0;width:var(--separator-width);height:var(--separator-height);background:var(--separator-color)}.input-otp-size-small.sc-ion-input-otp-md-h{--width:40px;--height:40px}.input-otp-size-small.sc-ion-input-otp-md-h .input-otp-group.sc-ion-input-otp-md{gap:8px}.input-otp-size-medium.sc-ion-input-otp-md-h{--width:48px;--height:48px}.input-otp-size-large.sc-ion-input-otp-md-h{--width:56px;--height:56px}.input-otp-size-medium.sc-ion-input-otp-md-h .input-otp-group.sc-ion-input-otp-md,.input-otp-size-large.sc-ion-input-otp-md-h .input-otp-group.sc-ion-input-otp-md{gap:12px}.input-otp-shape-round.sc-ion-input-otp-md-h{--border-radius:16px}.input-otp-shape-soft.sc-ion-input-otp-md-h{--border-radius:8px}.input-otp-shape-rectangular.sc-ion-input-otp-md-h{--border-radius:0}.input-otp-fill-outline.sc-ion-input-otp-md-h{--background:none}.input-otp-fill-solid.sc-ion-input-otp-md-h{--border-color:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2))}.input-otp-disabled.sc-ion-input-otp-md-h{--color:var(--ion-color-step-350, var(--ion-text-color-step-650, #a6a6a6))}.input-otp-fill-outline.input-otp-disabled.sc-ion-input-otp-md-h{--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--border-color:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.input-otp-disabled.sc-ion-input-otp-md-h,.input-otp-disabled.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md:disabled{cursor:not-allowed}.has-focus.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md:focus{--border-color:var(--highlight-color);outline:none}.input-otp-fill-outline.input-otp-readonly.sc-ion-input-otp-md-h{--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2))}.input-otp-fill-solid.input-otp-disabled.sc-ion-input-otp-md-h,.input-otp-fill-solid.input-otp-readonly.sc-ion-input-otp-md-h{--border-color:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6));--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.ion-touched.ion-invalid.sc-ion-input-otp-md-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-input-otp-md-h{--highlight-color:var(--highlight-color-valid)}.has-focus.ion-valid.sc-ion-input-otp-md-h,.ion-touched.ion-invalid.sc-ion-input-otp-md-h{--border-color:var(--highlight-color)}.ion-color.sc-ion-input-otp-md-h{--highlight-color-focused:var(--ion-color-base)}.input-otp-fill-outline.ion-color.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md,.input-otp-fill-solid.ion-color.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md:focus{border-color:rgba(var(--ion-color-base-rgb), 0.6)}.input-otp-fill-outline.ion-color.ion-invalid.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md,.input-otp-fill-solid.ion-color.ion-invalid.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md,.input-otp-fill-outline.ion-color.has-focus.ion-invalid.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md,.input-otp-fill-solid.ion-color.has-focus.ion-invalid.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md{border-color:var(--ion-color-danger, #c5000f)}.input-otp-fill-outline.ion-color.ion-valid.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md,.input-otp-fill-solid.ion-color.ion-valid.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md,.input-otp-fill-outline.ion-color.has-focus.ion-valid.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md,.input-otp-fill-solid.ion-color.has-focus.ion-valid.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md{border-color:var(--ion-color-success, #2dd55b)}.input-otp-fill-outline.input-otp-disabled.ion-color.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md{border-color:rgba(var(--ion-color-base-rgb), 0.3)}.sc-ion-input-otp-md-h{--border-width:1px}.has-focus.sc-ion-input-otp-md-h .native-input.sc-ion-input-otp-md:focus{--border-width:2px}.input-otp-fill-outline.sc-ion-input-otp-md-h{--border-color:var(--ion-color-step-300, var(--ion-background-color-step-300, #b3b3b3))}" };
  }
}, [294, "ion-input-otp", { autocapitalize: [1], color: [513], disabled: [516], fill: [1], inputmode: [1], length: [2], pattern: [1], readonly: [516], separators: [1], shape: [1], size: [1], type: [1], value: [1032], inputValues: [32], hasFocus: [32], previousInputValues: [32], setFocus: [64] }, void 0, { value: [{ valueChanged: 0 }], separators: [{ processSeparators: 0 }], length: [{ processSeparators: 0 }] }]);
var h20 = 0;
var g17 = function() {
  "undefined" != typeof customElements && ["ion-input-otp"].forEach(((i16) => {
    "ion-input-otp" === i16 && (customElements.get(Zn(i16)) || customElements.define(Zn(i16), c35));
  }));
};

// node_modules/@ionic/core/components/ion-radio-group.js
var r31 = p28;

// node_modules/@ionic/core/components/ion-range.js
var x15 = Dn(class extends I {
  constructor(e16) {
    super(), false !== e16 && this.__registerHost(), this.__attachShadow(), this.ionChange = Jt(this, "ionChange", 7), this.ionInput = Jt(this, "ionInput", 7), this.ionFocus = Jt(this, "ionFocus", 7), this.ionBlur = Jt(this, "ionBlur", 7), this.ionKnobMoveStart = Jt(this, "ionKnobMoveStart", 7), this.ionKnobMoveEnd = Jt(this, "ionKnobMoveEnd", 7), this.rangeId = "ion-r-" + B11++, this.didLoad = false, this.noUpdate = false, this.hasFocus = false, this.inheritedAttributes = {}, this.contentEl = null, this.initialContentScrollY = true, this.focusFromPointer = false, this.ratioA = 0, this.ratioB = 0, this.name = this.rangeId, this.dualKnobs = false, this.min = 0, this.max = 100, this.pin = false, this.pinFormatter = (e17) => Math.round(e17), this.snaps = false, this.step = 1, this.ticks = true, this.disabled = false, this.value = 0, this.compareValues = (e17, t17) => "object" == typeof e17 && "object" == typeof t17 ? e17.lower !== t17.lower || e17.upper !== t17.upper : e17 !== t17, this.clampBounds = (e17) => b(this.min, e17, this.max), this.ensureValueInBounds = (e17) => this.dualKnobs ? { lower: this.clampBounds(e17.lower), upper: this.clampBounds(e17.upper) } : this.clampBounds(e17), this.labelPlacement = "start", this.setupGesture = () => __async(this, null, function* () {
      const e17 = this.rangeSlider;
      e17 && (this.gesture = (yield import("./chunk-7STYLPNF.js")).createGesture({ el: e17, gestureName: "range", gesturePriority: 100, threshold: 10, onStart: () => this.onStart(), onMove: (e18) => this.onMove(e18), onEnd: (e18) => this.onEnd(e18) }), this.gesture.enable(!this.disabled));
    }), this.setupActivatedObserver = () => {
      const e17 = this.el.shadowRoot.querySelector(".range-knob-handle-a"), t17 = this.el.shadowRoot.querySelector(".range-knob-handle-b"), a17 = () => {
        this.activatedKnob = (null == e17 ? void 0 : e17.classList.contains("ion-activated")) ? "A" : (null == t17 ? void 0 : t17.classList.contains("ion-activated")) ? "B" : void 0;
      };
      "undefined" != typeof MutationObserver && (this.activatedObserver = new MutationObserver(a17), this.activatedObserver.observe(this.el.shadowRoot, { attributes: true, attributeFilter: ["class"], subtree: true })), a17();
    }, this.handleKeyboard = (e17, t17) => {
      const { ensureValueInBounds: a17 } = this;
      let n15 = this.step;
      n15 = n15 > 0 ? n15 : 1, n15 /= this.max - this.min, t17 || (n15 *= -1), "A" === e17 ? this.ratioA = b(0, this.ratioA + n15, 1) : this.ratioB = b(0, this.ratioB + n15, 1), this.ionKnobMoveStart.emit({ value: a17(this.value) }), this.updateValue(), this.emitValueChange(), this.ionKnobMoveEnd.emit({ value: a17(this.value) });
    }, this.onBlur = () => {
      this.hasFocus && (this.hasFocus = false, this.focusedKnob = void 0, this.ionBlur.emit());
    }, this.onFocus = () => {
      this.hasFocus || (this.hasFocus = true, this.ionFocus.emit());
    }, this.onKnobFocus = (e17) => {
      this.focusFromPointer ? (this.focusFromPointer = false, this.focusedKnob = void 0) : this.focusedKnob = e17, this.hasFocus || (this.hasFocus = true, this.ionFocus.emit());
    }, this.onKnobBlur = () => {
      setTimeout((() => {
        var e17;
        const t17 = null === (e17 = this.el.shadowRoot) || void 0 === e17 ? void 0 : e17.activeElement;
        t17 && t17.classList.contains("range-knob-handle") || this.hasFocus && (this.hasFocus = false, this.focusedKnob = void 0, this.ionBlur.emit());
      }), 0);
    }, this.onKnobMouseEnter = (e17) => {
      this.hoveredKnob = e17;
    }, this.onKnobMouseLeave = () => {
      this.hoveredKnob = void 0;
    };
  }
  debounceChanged() {
    const { ionInput: e16, debounce: t17, originalIonInput: a17 } = this;
    this.ionInput = void 0 === t17 ? null != a17 ? a17 : e16 : y(e16, t17);
  }
  minChanged(e16) {
    T(e16) || (this.min = 0), this.noUpdate || this.updateRatio();
  }
  maxChanged(e16) {
    T(e16) || (this.max = 100), this.noUpdate || this.updateRatio();
  }
  stepChanged(e16) {
    T(e16) || (this.step = 1);
  }
  activeBarStartChanged() {
    const { activeBarStart: e16 } = this;
    void 0 !== e16 && (e16 > this.max ? (u(`[ion-range] - The value of activeBarStart (${e16}) is greater than the max (${this.max}). Valid values are greater than or equal to the min value and less than or equal to the max value.`, this.el), this.activeBarStart = this.max) : e16 < this.min && (u(`[ion-range] - The value of activeBarStart (${e16}) is less than the min (${this.min}). Valid values are greater than or equal to the min value and less than or equal to the max value.`, this.el), this.activeBarStart = this.min));
  }
  disabledChanged() {
    this.gesture && this.gesture.enable(!this.disabled);
  }
  valueChanged(e16, t17) {
    this.compareValues(e16, t17) && this.ionInput.emit({ value: this.value }), this.noUpdate || this.updateRatio();
  }
  componentWillLoad() {
    this.el.hasAttribute("id") && (this.rangeId = this.el.getAttribute("id")), this.inheritedAttributes = s2(this.el), this.min = T(this.min) ? this.min : 0, this.max = T(this.max) ? this.max : 100, this.step = T(this.step) ? this.step : 1;
  }
  componentDidLoad() {
    this.originalIonInput = this.ionInput, this.setupGesture(), this.updateRatio(), this.setupActivatedObserver(), this.didLoad = true;
  }
  connectedCallback() {
    var e16;
    this.updateRatio(), this.debounceChanged(), this.disabledChanged(), this.activeBarStartChanged(), this.didLoad && (this.setupGesture(), this.setupActivatedObserver());
    const t17 = f3(this.el);
    this.contentEl = null !== (e16 = null == t17 ? void 0 : t17.querySelector(".ion-content-scroll-host")) && void 0 !== e16 ? e16 : t17;
  }
  disconnectedCallback() {
    this.gesture && (this.gesture.destroy(), this.gesture = void 0), this.activatedObserver && (this.activatedObserver.disconnect(), this.activatedObserver = void 0);
  }
  getValue() {
    var e16;
    const t17 = null !== (e16 = this.value) && void 0 !== e16 ? e16 : 0;
    return this.dualKnobs ? "object" == typeof t17 ? t17 : { lower: 0, upper: t17 } : "object" == typeof t17 ? t17.upper : t17;
  }
  emitValueChange() {
    this.value = this.ensureValueInBounds(this.value), this.ionChange.emit({ value: this.value });
  }
  onStart() {
    this.ionKnobMoveStart.emit({ value: this.ensureValueInBounds(this.value) });
  }
  onMove(e16) {
    const { contentEl: t17, pressedKnob: a17 } = this, n15 = e16.currentX;
    t17 && void 0 === this.pressedKnob && (this.initialContentScrollY = h2(t17)), void 0 === a17 && this.setPressedKnob(n15), this.update(n15);
  }
  onEnd(e16) {
    var t17;
    const { contentEl: a17, initialContentScrollY: n15 } = this, r32 = null !== (t17 = e16.currentX) && void 0 !== t17 ? t17 : e16.clientX;
    void 0 === this.pressedKnob && this.setPressedKnob(r32), a17 && void 0 !== this.pressedKnob && l3(a17, n15), this.update(r32), this.pressedKnob = void 0, this.emitValueChange(), this.ionKnobMoveEnd.emit({ value: this.ensureValueInBounds(this.value) });
  }
  update(e16) {
    const t17 = this.rect;
    let a17 = b(0, (e16 - t17.left) / t17.width, 1);
    o4(this.el) && (a17 = 1 - a17), this.snaps && (a17 = z9(y11(a17, this.min, this.max, this.step), this.min, this.max)), "A" === this.pressedKnob ? this.ratioA = a17 : this.ratioB = a17, this.updateValue();
  }
  setPressedKnob(e16) {
    const t17 = this.rect = this.rangeSlider.getBoundingClientRect();
    let a17 = b(0, (e16 - t17.left) / t17.width, 1);
    o4(this.el) && (a17 = 1 - a17), this.pressedKnob = !this.dualKnobs || Math.abs(this.ratioA - a17) < Math.abs(this.ratioB - a17) ? "A" : "B";
  }
  get valA() {
    return y11(this.ratioA, this.min, this.max, this.step);
  }
  get valB() {
    return y11(this.ratioB, this.min, this.max, this.step);
  }
  get ratioLower() {
    if (this.dualKnobs) return Math.min(this.ratioA, this.ratioB);
    const { activeBarStart: e16 } = this;
    return null == e16 ? 0 : z9(e16, this.min, this.max);
  }
  get ratioUpper() {
    return this.dualKnobs ? Math.max(this.ratioA, this.ratioB) : this.ratioA;
  }
  updateRatio() {
    const e16 = this.getValue(), { min: t17, max: a17 } = this;
    if (this.dualKnobs) {
      const n15 = z9(e16.lower, t17, a17), r32 = z9(e16.upper, t17, a17);
      Math.abs(this.ratioA - n15) + Math.abs(this.ratioB - r32) <= Math.abs(this.ratioA - r32) + Math.abs(this.ratioB - n15) ? (this.ratioA = n15, this.ratioB = r32) : (this.ratioA = r32, this.ratioB = n15);
    } else this.ratioA = z9(e16, t17, a17);
  }
  updateValue() {
    this.noUpdate = true;
    const { valA: e16, valB: t17 } = this;
    this.value = this.dualKnobs ? { lower: Math.min(e16, t17), upper: Math.max(e16, t17) } : e16, this.noUpdate = false;
  }
  get hasStartSlotContent() {
    return null !== this.el.querySelector('[slot="start"]');
  }
  get hasEndSlotContent() {
    return null !== this.el.querySelector('[slot="end"]');
  }
  get hasLabel() {
    return void 0 !== this.label || null !== this.el.querySelector('[slot="label"]');
  }
  renderRangeSlider() {
    var e16;
    const { min: t17, max: a17, step: n15, handleKeyboard: i16, activatedKnob: o14, focusedKnob: s23, hoveredKnob: l27, pressedKnob: d25, disabled: h21, pin: b21, ratioLower: c36, ratioUpper: g20, pinFormatter: p33, inheritedAttributes: u21 } = this;
    let k12 = 100 * c36 + "%", f27 = 100 - 100 * g20 + "%";
    const x16 = o4(this.el), y14 = x16 ? "right" : "left", B12 = x16 ? "left" : "right", K6 = (e17) => ({ [y14]: e17[y14] });
    false === this.dualKnobs && (this.valA < (null !== (e16 = this.activeBarStart) && void 0 !== e16 ? e16 : this.min) ? (k12 = 100 * g20 + "%", f27 = 100 - 100 * c36 + "%") : (k12 = 100 * c36 + "%", f27 = 100 - 100 * g20 + "%"));
    const C7 = { [y14]: k12, [B12]: f27 }, M8 = [];
    if (this.snaps && this.ticks) for (let e17 = t17; e17 <= a17; e17 += n15) {
      const n16 = z9(e17, t17, a17), r32 = { ratio: n16, active: n16 >= Math.min(c36, g20) && n16 <= Math.max(c36, g20) };
      r32[y14] = 100 * n16 + "%", M8.push(r32);
    }
    return Ct("div", { class: "range-slider", ref: (e17) => this.rangeSlider = e17, onPointerDown: () => {
      this.focusFromPointer = true;
    }, onPointerUp: (e17) => {
      this.focusFromPointer = false, void 0 === this.pressedKnob && (this.onStart(), this.onEnd(e17));
    } }, M8.map(((e17) => Ct("div", { style: K6(e17), role: "presentation", class: { "range-tick": true, "range-tick-active": e17.active }, part: e17.active ? "tick-active" : "tick" }))), Ct("div", { class: "range-bar-container" }, Ct("div", { class: "range-bar", role: "presentation", part: "bar" }), Ct("div", { class: { "range-bar": true, "range-bar-active": true, "has-ticks": M8.length > 0 }, role: "presentation", style: C7, part: "bar-active" })), v15(x16, { knob: "A", position: w9("A", this.ratioA, this.ratioB, this.dualKnobs), dualKnobs: this.dualKnobs, activated: "A" === o14, focused: "A" === s23, hovered: "A" === l27, pressed: "A" === d25, value: this.valA, ratio: this.ratioA, pin: b21, pinFormatter: p33, disabled: h21, handleKeyboard: i16, min: t17, max: a17, inheritedAttributes: u21, onKnobFocus: this.onKnobFocus, onKnobBlur: this.onKnobBlur, onKnobMouseEnter: this.onKnobMouseEnter, onKnobMouseLeave: this.onKnobMouseLeave }), this.dualKnobs && v15(x16, { knob: "B", position: w9("B", this.ratioA, this.ratioB, this.dualKnobs), dualKnobs: this.dualKnobs, activated: "B" === o14, focused: "B" === s23, hovered: "B" === l27, pressed: "B" === d25, value: this.valB, ratio: this.ratioB, pin: b21, pinFormatter: p33, disabled: h21, handleKeyboard: i16, min: t17, max: a17, inheritedAttributes: u21, onKnobFocus: this.onKnobFocus, onKnobBlur: this.onKnobBlur, onKnobMouseEnter: this.onKnobMouseEnter, onKnobMouseLeave: this.onKnobMouseLeave }));
  }
  render() {
    const { disabled: e16, el: t17, hasLabel: a17, rangeId: n15, pin: o14, pressedKnob: s23, labelPlacement: l27, label: d25, dualKnobs: h21, min: b21, max: c36 } = this, g20 = n5("ion-item", t17), m28 = g20 && !(a17 && ("start" === l27 || "fixed" === l27) || this.hasStartSlotContent), x16 = g20 && !(a17 && "end" === l27 || this.hasEndSlotContent), v18 = g(this), y14 = h21 ? null == s23 ? void 0 : s23.toLowerCase() : void 0, z11 = h21 && s23 ? w9(s23, this.ratioA, this.ratioB, h21) : void 0, B12 = h21 ? this.valA === b21 || this.valB === b21 : this.valA === b21, K6 = h21 ? this.valA === c36 || this.valB === c36 : this.valA === c36;
    return f2(true, t17, this.name, JSON.stringify(this.getValue()), e16), Ct(It, { key: "f8063d1234fb113fe55a7902845dd4b4da8b1edb", onFocusin: this.onFocus, onFocusout: this.onBlur, id: n15, class: o6(this.color, { [v18]: true, "in-item": g20, "range-disabled": e16, "range-dual-knobs": h21, "range-pressed": void 0 !== s23, ["range-pressed-" + y14]: void 0 !== s23 && void 0 !== y14, ["range-pressed-" + z11]: void 0 !== s23 && void 0 !== z11, "range-has-pin": o14, ["range-label-placement-" + l27]: true, "range-item-start-adjustment": m28, "range-item-end-adjustment": x16, "range-value-min": B12, "range-value-max": K6 }) }, Ct("label", { key: "beead65ab01e3b18e4be59c0ee8ac6ebf32aad7c", class: "range-wrapper", id: "range-label" }, Ct("div", { key: "03633c689d9d2e4c50a2131bcd560329df49e314", class: { "label-text-wrapper": true, "label-text-wrapper-hidden": !a17 }, part: "label" }, void 0 !== d25 ? Ct("div", { class: "label-text" }, d25) : Ct("slot", { name: "label" })), Ct("div", { key: "c066804263ab6ae7393f8dcc51184b7198844ffa", class: "native-wrapper" }, Ct("slot", { key: "7e8ea224d72b3e965dd948bee7e45c1a096b6899", name: "start" }), this.renderRangeSlider(), Ct("slot", { key: "21f242f6f60ff3adce6a2d90b2d4dac1ceaf6624", name: "end" }))));
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { debounce: [{ debounceChanged: 0 }], min: [{ minChanged: 0 }], max: [{ maxChanged: 0 }], step: [{ stepChanged: 0 }], activeBarStart: [{ activeBarStartChanged: 0 }], disabled: [{ disabledChanged: 0 }], value: [{ valueChanged: 0 }] };
  }
  static get style() {
    return { ios: ":host{--knob-handle-size:calc(var(--knob-size) * 2);display:-ms-flexbox;display:flex;position:relative;-ms-flex:3;flex:3;-ms-flex-align:center;align-items:center;font-family:var(--ion-font-family, inherit);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.range-disabled){pointer-events:none}::slotted(ion-label){-ms-flex:initial;flex:initial}::slotted(ion-icon[slot]){font-size:24px}.range-slider{position:relative;-ms-flex:1;flex:1;width:100%;height:var(--height);contain:size layout style;cursor:-webkit-grab;cursor:grab;-ms-touch-action:pan-y;touch-action:pan-y}:host(.range-pressed) .range-slider{cursor:-webkit-grabbing;cursor:grabbing}.range-pin{position:absolute;background:var(--ion-color-base);color:var(--ion-color-contrast);text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box}.range-knob-handle{top:calc((var(--height) - var(--knob-handle-size)) / 2);-webkit-margin-start:calc(0px - var(--knob-handle-size) / 2);margin-inline-start:calc(0px - var(--knob-handle-size) / 2);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-pack:center;justify-content:center;width:var(--knob-handle-size);height:var(--knob-handle-size);text-align:center}.range-knob-handle{inset-inline-start:0}:host-context([dir=rtl]) .range-knob-handle{left:unset}[dir=rtl] .range-knob-handle{left:unset}@supports selector(:dir(rtl)){.range-knob-handle:dir(rtl){left:unset}}.range-knob-handle:active,.range-knob-handle:focus{outline:none}.range-bar-container{border-radius:var(--bar-border-radius);top:calc((var(--height) - var(--bar-height)) / 2);position:absolute;width:100%;height:var(--bar-height)}.range-bar-container{inset-inline-start:0}:host-context([dir=rtl]) .range-bar-container{left:unset}[dir=rtl] .range-bar-container{left:unset}@supports selector(:dir(rtl)){.range-bar-container:dir(rtl){left:unset}}.range-bar{border-radius:var(--bar-border-radius);position:absolute;width:100%;height:var(--bar-height);background:var(--bar-background);pointer-events:none}.range-knob{border-radius:var(--knob-border-radius);top:calc(50% - var(--knob-size) / 2);position:absolute;width:var(--knob-size);height:var(--knob-size);background:var(--knob-background);-webkit-box-shadow:var(--knob-box-shadow);box-shadow:var(--knob-box-shadow);z-index:2;pointer-events:none}.range-knob{inset-inline-start:calc(50% - var(--knob-size) / 2)}:host-context([dir=rtl]) .range-knob{left:unset}[dir=rtl] .range-knob{left:unset}@supports selector(:dir(rtl)){.range-knob:dir(rtl){left:unset}}:host(.range-pressed) .range-bar-active{will-change:left, right}:host(.in-item){width:100%}:host([slot=start]),:host([slot=end]){width:auto}:host(.in-item) ::slotted(ion-label){-ms-flex-item-align:center;align-self:center}.range-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit}::slotted([slot=label]){max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}:host(.range-label-placement-start) .range-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.range-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.range-label-placement-end) .range-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.range-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.range-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.range-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.range-label-placement-stacked) .range-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}:host(.range-label-placement-stacked) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host-context([dir=rtl]):host(.range-label-placement-stacked) .label-text-wrapper,:host-context([dir=rtl]).range-label-placement-stacked .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.range-label-placement-stacked:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.in-item.range-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.range-label-placement-stacked) .native-wrapper{margin-bottom:0px}:host{--knob-border-radius:50%;--knob-background:#ffffff;--knob-box-shadow:0px 0.5px 4px rgba(0, 0, 0, 0.12), 0px 6px 13px rgba(0, 0, 0, 0.12);--knob-size:26px;--bar-height:4px;--bar-background:var(--ion-color-step-900, var(--ion-background-color-step-900, #e6e6e6));--bar-background-active:var(--ion-color-primary, #0054e9);--bar-border-radius:2px;--height:42px}:host(.range-item-start-adjustment){-webkit-padding-start:24px;padding-inline-start:24px}:host(.range-item-end-adjustment){-webkit-padding-end:24px;padding-inline-end:24px}:host(.ion-color) .range-bar-active,:host(.ion-color) .range-tick-active{background:var(--ion-color-base)}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.range-has-pin:not(.range-label-placement-stacked)){padding-top:calc(8px + 0.75rem)}:host(.range-has-pin.range-label-placement-stacked) .label-text-wrapper{margin-bottom:calc(8px + 0.75rem)}.range-bar-active{bottom:0;width:auto;background:var(--bar-background-active)}.range-bar-active.has-ticks{border-radius:0;-webkit-margin-start:-2px;margin-inline-start:-2px;-webkit-margin-end:-2px;margin-inline-end:-2px}.range-tick{-webkit-margin-start:-2px;margin-inline-start:-2px;border-radius:0;position:absolute;top:17px;width:4px;height:8px;background:var(--ion-color-step-900, var(--ion-background-color-step-900, #e6e6e6));pointer-events:none}.range-tick-active{background:var(--bar-background-active)}.range-pin{-webkit-transform:translate3d(0,  100%,  0) scale(0.01);transform:translate3d(0,  100%,  0) scale(0.01);-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;min-width:28px;-webkit-transition:-webkit-transform 120ms ease;transition:-webkit-transform 120ms ease;transition:transform 120ms ease;transition:transform 120ms ease, -webkit-transform 120ms ease;background:transparent;color:var(--ion-text-color, #000);font-size:0.75rem;text-align:center}.range-knob-pressed .range-pin,.range-knob-handle.ion-focused .range-pin{-webkit-transform:translate3d(0, calc(-100% + 11px), 0) scale(1);transform:translate3d(0, calc(-100% + 11px), 0) scale(1)}:host(.range-disabled){opacity:0.3}", md: ':host{--knob-handle-size:calc(var(--knob-size) * 2);display:-ms-flexbox;display:flex;position:relative;-ms-flex:3;flex:3;-ms-flex-align:center;align-items:center;font-family:var(--ion-font-family, inherit);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.range-disabled){pointer-events:none}::slotted(ion-label){-ms-flex:initial;flex:initial}::slotted(ion-icon[slot]){font-size:24px}.range-slider{position:relative;-ms-flex:1;flex:1;width:100%;height:var(--height);contain:size layout style;cursor:-webkit-grab;cursor:grab;-ms-touch-action:pan-y;touch-action:pan-y}:host(.range-pressed) .range-slider{cursor:-webkit-grabbing;cursor:grabbing}.range-pin{position:absolute;background:var(--ion-color-base);color:var(--ion-color-contrast);text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box}.range-knob-handle{top:calc((var(--height) - var(--knob-handle-size)) / 2);-webkit-margin-start:calc(0px - var(--knob-handle-size) / 2);margin-inline-start:calc(0px - var(--knob-handle-size) / 2);display:-ms-flexbox;display:flex;position:absolute;-ms-flex-pack:center;justify-content:center;width:var(--knob-handle-size);height:var(--knob-handle-size);text-align:center}.range-knob-handle{inset-inline-start:0}:host-context([dir=rtl]) .range-knob-handle{left:unset}[dir=rtl] .range-knob-handle{left:unset}@supports selector(:dir(rtl)){.range-knob-handle:dir(rtl){left:unset}}.range-knob-handle:active,.range-knob-handle:focus{outline:none}.range-bar-container{border-radius:var(--bar-border-radius);top:calc((var(--height) - var(--bar-height)) / 2);position:absolute;width:100%;height:var(--bar-height)}.range-bar-container{inset-inline-start:0}:host-context([dir=rtl]) .range-bar-container{left:unset}[dir=rtl] .range-bar-container{left:unset}@supports selector(:dir(rtl)){.range-bar-container:dir(rtl){left:unset}}.range-bar{border-radius:var(--bar-border-radius);position:absolute;width:100%;height:var(--bar-height);background:var(--bar-background);pointer-events:none}.range-knob{border-radius:var(--knob-border-radius);top:calc(50% - var(--knob-size) / 2);position:absolute;width:var(--knob-size);height:var(--knob-size);background:var(--knob-background);-webkit-box-shadow:var(--knob-box-shadow);box-shadow:var(--knob-box-shadow);z-index:2;pointer-events:none}.range-knob{inset-inline-start:calc(50% - var(--knob-size) / 2)}:host-context([dir=rtl]) .range-knob{left:unset}[dir=rtl] .range-knob{left:unset}@supports selector(:dir(rtl)){.range-knob:dir(rtl){left:unset}}:host(.range-pressed) .range-bar-active{will-change:left, right}:host(.in-item){width:100%}:host([slot=start]),:host([slot=end]){width:auto}:host(.in-item) ::slotted(ion-label){-ms-flex-item-align:center;align-self:center}.range-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit}::slotted([slot=label]){max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center}:host(.range-label-placement-start) .range-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.range-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.range-label-placement-end) .range-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.range-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.range-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.range-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.range-label-placement-stacked) .range-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}:host(.range-label-placement-stacked) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top;-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host-context([dir=rtl]):host(.range-label-placement-stacked) .label-text-wrapper,:host-context([dir=rtl]).range-label-placement-stacked .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.range-label-placement-stacked:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.in-item.range-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.range-label-placement-stacked) .native-wrapper{margin-bottom:0px}:host{--knob-border-radius:50%;--knob-background:var(--bar-background-active);--knob-box-shadow:none;--knob-size:18px;--bar-height:2px;--bar-background:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.26);--bar-background-active:var(--ion-color-primary, #0054e9);--bar-border-radius:0;--height:42px;--pin-background:var(--ion-color-primary, #0054e9);--pin-color:var(--ion-color-primary-contrast, #fff)}::slotted(:not(ion-icon)[slot=start]),::slotted(:not(ion-icon)[slot=end]),.native-wrapper{font-size:0.75rem}:host(.range-item-start-adjustment){-webkit-padding-start:18px;padding-inline-start:18px}:host(.range-item-end-adjustment){-webkit-padding-end:18px;padding-inline-end:18px}:host(.ion-color) .range-bar{background:rgba(var(--ion-color-base-rgb), 0.26)}:host(.ion-color) .range-bar-active,:host(.ion-color) .range-knob,:host(.ion-color) .range-knob::before,:host(.ion-color) .range-pin,:host(.ion-color) .range-pin::before,:host(.ion-color) .range-tick{background:var(--ion-color-base);color:var(--ion-color-contrast)}::slotted([slot=start]){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:14px;margin-inline-end:14px;margin-top:0;margin-bottom:0}::slotted([slot=end]){-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.range-has-pin:not(.range-label-placement-stacked)){padding-top:1.75rem}:host(.range-has-pin.range-label-placement-stacked) .label-text-wrapper{margin-bottom:1.75rem}.range-bar-active{bottom:0;width:auto;background:var(--bar-background-active)}.range-knob{-webkit-transform:scale(0.67);transform:scale(0.67);-webkit-transition-duration:120ms;transition-duration:120ms;-webkit-transition-property:background-color, border, -webkit-transform;transition-property:background-color, border, -webkit-transform;transition-property:transform, background-color, border;transition-property:transform, background-color, border, -webkit-transform;-webkit-transition-timing-function:ease;transition-timing-function:ease;z-index:2}.range-knob::before{border-radius:50%;position:absolute;width:var(--knob-size);height:var(--knob-size);-webkit-transform:scale(1);transform:scale(1);-webkit-transition:0.267s cubic-bezier(0, 0, 0.58, 1);transition:0.267s cubic-bezier(0, 0, 0.58, 1);background:var(--knob-background);content:"";opacity:0.13;pointer-events:none}.range-knob::before{inset-inline-start:0}.range-tick{position:absolute;top:calc((var(--height) - var(--bar-height)) / 2);width:var(--bar-height);height:var(--bar-height);background:var(--bar-background-active);z-index:1;pointer-events:none}.range-tick-active{background:transparent}.range-pin{padding-left:0;padding-right:0;padding-top:8px;padding-bottom:8px;border-radius:50%;-webkit-transform:translate3d(0,  0,  0) scale(0.01);transform:translate3d(0,  0,  0) scale(0.01);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:1.75rem;height:1.75rem;-webkit-transition:background 120ms ease, -webkit-transform 120ms ease;transition:background 120ms ease, -webkit-transform 120ms ease;transition:transform 120ms ease, background 120ms ease;transition:transform 120ms ease, background 120ms ease, -webkit-transform 120ms ease;background:var(--pin-background);color:var(--pin-color)}.range-pin::before{bottom:-1px;-webkit-margin-start:-13px;margin-inline-start:-13px;border-radius:50% 50% 50% 0;position:absolute;width:26px;height:26px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transition:background 120ms ease;transition:background 120ms ease;background:var(--pin-background);content:"";z-index:-1}.range-pin::before{inset-inline-start:50%}:host-context([dir=rtl]) .range-pin::before{left:unset}[dir=rtl] .range-pin::before{left:unset}@supports selector(:dir(rtl)){.range-pin::before:dir(rtl){left:unset}}.range-knob-pressed .range-pin,.range-knob-handle.ion-focused .range-pin{-webkit-transform:translate3d(0, calc(-100% + 4px), 0) scale(1);transform:translate3d(0, calc(-100% + 4px), 0) scale(1)}@media (any-hover: hover){.range-knob-handle:hover .range-knob:before{-webkit-transform:scale(2);transform:scale(2);opacity:0.13}}.range-knob-handle.ion-activated .range-knob:before,.range-knob-handle.ion-focused .range-knob:before,.range-knob-handle.range-knob-pressed .range-knob:before{-webkit-transform:scale(2);transform:scale(2)}.range-knob-handle.ion-focused .range-knob::before{opacity:0.13}.range-knob-handle.ion-activated .range-knob::before,.range-knob-handle.range-knob-pressed .range-knob::before{opacity:0.25}:host(:not(.range-has-pin)) .range-knob-pressed .range-knob,:host(:not(.range-has-pin)) .range-knob-handle.ion-focused .range-knob{-webkit-transform:scale(1);transform:scale(1)}:host(.range-disabled) .range-bar-active,:host(.range-disabled) .range-bar,:host(.range-disabled) .range-tick{background-color:var(--ion-color-step-250, var(--ion-background-color-step-250, #bfbfbf))}:host(.range-disabled) .range-knob{-webkit-transform:scale(0.55);transform:scale(0.55);outline:5px solid #fff;background-color:var(--ion-color-step-250, var(--ion-background-color-step-250, #bfbfbf))}:host(.range-disabled) .label-text-wrapper,:host(.range-disabled) ::slotted([slot=start]),:host(.range-disabled) ::slotted([slot=end]){opacity:0.38}' };
  }
}, [289, "ion-range", { color: [513], debounce: [2], name: [1], label: [1], dualKnobs: [4, "dual-knobs"], min: [2], max: [2], pin: [4], pinFormatter: [16], snaps: [4], step: [2], ticks: [4], activeBarStart: [1026, "active-bar-start"], disabled: [4], value: [1026], labelPlacement: [1, "label-placement"], ratioA: [32], ratioB: [32], activatedKnob: [32], focusedKnob: [32], hoveredKnob: [32], pressedKnob: [32] }, void 0, { debounce: [{ debounceChanged: 0 }], min: [{ minChanged: 0 }], max: [{ maxChanged: 0 }], step: [{ stepChanged: 0 }], activeBarStart: [{ activeBarStartChanged: 0 }], disabled: [{ disabledChanged: 0 }], value: [{ valueChanged: 0 }] }]);
var v15 = (e16, { knob: t17, position: a17, dualKnobs: n15, value: i16, ratio: o14, min: s23, max: l27, disabled: d25, activated: h21, focused: b21, hovered: c36, pressed: g20, pin: p33, handleKeyboard: m28, pinFormatter: u21, inheritedAttributes: k12, onKnobFocus: f27, onKnobBlur: x16, onKnobMouseEnter: v18, onKnobMouseLeave: w12 }) => {
  const y14 = e16 ? "right" : "left", z11 = k12["aria-label"];
  return Ct("div", { onKeyDown: (e17) => {
    const a18 = e17.key;
    "ArrowLeft" === a18 || "ArrowDown" === a18 ? (m28(t17, false), e17.preventDefault(), e17.stopPropagation()) : "ArrowRight" !== a18 && "ArrowUp" !== a18 || (m28(t17, true), e17.preventDefault(), e17.stopPropagation());
  }, onFocus: () => f27(t17), onBlur: x16, onMouseEnter: () => v18(t17), onMouseLeave: w12, class: { "range-knob-handle": true, "range-knob-handle-a": "A" === t17, "range-knob-handle-b": "B" === t17, "range-knob-pressed": g20, "range-knob-min": i16 === s23, "range-knob-max": i16 === l27, "ion-activatable": true, "ion-focusable": true, "ion-focused": b21 }, part: ["knob-handle", n15 && "A" === t17 && "knob-handle-a", n15 && "B" === t17 && "knob-handle-b", n15 && "lower" === a17 && "knob-handle-lower", n15 && "upper" === a17 && "knob-handle-upper", g20 && "pressed", b21 && "focused", c36 && "hover", h21 && "activated"].filter(Boolean).join(" "), style: (() => {
    const e17 = {};
    return e17[y14] = 100 * o14 + "%", e17;
  })(), role: "slider", tabindex: d25 ? -1 : 0, "aria-label": void 0 !== z11 ? z11 : null, "aria-labelledby": void 0 === z11 ? "range-label" : null, "aria-valuemin": s23, "aria-valuemax": l27, "aria-disabled": d25 ? "true" : null, "aria-valuenow": i16 }, p33 && Ct("div", { class: "range-pin", role: "presentation", part: ["pin", n15 && "A" === t17 && "pin-a", n15 && "B" === t17 && "pin-b", n15 && "lower" === a17 && "pin-lower", n15 && "upper" === a17 && "pin-upper", g20 && "pressed", b21 && "focused", c36 && "hover", h21 && "activated"].filter(Boolean).join(" ") }, u21(i16)), Ct("div", { class: "range-knob", role: "presentation", part: ["knob", n15 && "A" === t17 && "knob-a", n15 && "B" === t17 && "knob-b", n15 && "lower" === a17 && "knob-lower", n15 && "upper" === a17 && "knob-upper", g20 && "pressed", b21 && "focused", c36 && "hover", h21 && "activated"].filter(Boolean).join(" ") }));
};
var w9 = (e16, t17, a17, n15) => n15 ? t17 === a17 ? "A" === e16 ? "lower" : "upper" : "A" === e16 ? t17 < a17 ? "lower" : "upper" : a17 < t17 ? "lower" : "upper" : "lower";
var y11 = (e16, t17, a17, n15) => {
  let r32 = (a17 - t17) * e16;
  return n15 > 0 && (r32 = Math.round(r32 / n15) * n15 + t17), (function(e17, ...t18) {
    if (!T(e17)) return 0;
    const a18 = Math.max(...t18.map(((e18) => (function(e19) {
      return T(e19) ? e19 % 1 == 0 ? 0 : ("" + e19).split(".")[1].length : 0;
    })(e18))));
    return Number(e17.toFixed(a18));
  })(b(t17, r32, a17), t17, a17, n15);
};
var z9 = (e16, t17, a17) => b(0, (e16 - t17) / (a17 - t17), 1);
var B11 = 0;
var C6 = function() {
  "undefined" != typeof customElements && ["ion-range"].forEach(((e16) => {
    "ion-range" === e16 && (customElements.get(Zn(e16)) || customElements.define(Zn(e16), x15));
  }));
};

// node_modules/@ionic/core/components/ion-searchbar.js
var w10 = Dn(class extends I {
  constructor(a17) {
    super(), false !== a17 && this.__registerHost(), this.ionInput = Jt(this, "ionInput", 7), this.ionChange = Jt(this, "ionChange", 7), this.ionCancel = Jt(this, "ionCancel", 7), this.ionClear = Jt(this, "ionClear", 7), this.ionBlur = Jt(this, "ionBlur", 7), this.ionFocus = Jt(this, "ionFocus", 7), this.ionStyle = Jt(this, "ionStyle", 7), this.isCancelVisible = false, this.shouldAlignLeft = true, this.inputId = "ion-searchbar-" + k10++, this.inheritedAttributes = {}, this.focused = false, this.noAnimate = true, this.animated = false, this.autocapitalize = "off", this.autocomplete = "off", this.autocorrect = "off", this.cancelButtonIcon = n.get("backButtonIcon", s9), this.cancelButtonText = "Cancel", this.disabled = false, this.name = this.inputId, this.placeholder = "Search", this.showCancelButton = "never", this.showClearButton = "always", this.spellcheck = false, this.type = "search", this.value = "", this.onClearInput = (a18) => __async(this, null, function* () {
      return this.clearTimeout && clearTimeout(this.clearTimeout), this.ionClear.emit(), new Promise(((o14) => {
        this.clearTimeout = setTimeout((() => {
          const r32 = this.getValue();
          "" !== r32 && (this.value = "", this.emitInputChange(), a18 && !this.focused && (this.setFocus(), this.focusedValue = r32)), o14();
        }), 64);
      }));
    }), this.onCancelSearchbar = (a18) => __async(this, null, function* () {
      a18 && (a18.preventDefault(), a18.stopPropagation()), this.ionCancel.emit();
      const o14 = this.getValue(), r32 = this.focused;
      yield this.onClearInput(), o14 && !r32 && this.emitValueChange(a18), this.nativeInput && this.nativeInput.blur();
    }), this.onInput = (a18) => {
      const o14 = a18.target;
      o14 && (this.value = o14.value), this.emitInputChange(a18);
    }, this.onChange = (a18) => {
      this.emitValueChange(a18);
    }, this.onBlur = (a18) => {
      this.focused = false, this.ionBlur.emit(), this.positionElements(), this.focusedValue !== this.value && this.emitValueChange(a18), this.focusedValue = void 0;
    }, this.onFocus = () => {
      this.focused = true, this.focusedValue = this.value, this.ionFocus.emit(), this.positionElements();
    };
  }
  onLangChanged(a17) {
    this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { lang: a17 }), Rn(this);
  }
  onDirChanged(a17) {
    this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { dir: a17 }), Rn(this);
  }
  debounceChanged() {
    const { ionInput: a17, debounce: o14, originalIonInput: r32 } = this;
    this.ionInput = void 0 === o14 ? null != r32 ? r32 : a17 : y(a17, o14);
  }
  valueChanged() {
    const a17 = this.nativeInput, o14 = this.getValue();
    a17 && a17.value !== o14 && (a17.value = o14);
  }
  showCancelButtonChanged() {
    requestAnimationFrame((() => {
      this.positionElements(), Rn(this);
    }));
  }
  connectedCallback() {
    this.emitStyle();
  }
  componentWillLoad() {
    this.inheritedAttributes = Object.assign({}, n2(this.el, ["lang", "dir"]));
  }
  componentDidLoad() {
    this.originalIonInput = this.ionInput, this.positionElements(), this.debounceChanged(), this.loadTimeout = setTimeout((() => {
      this.noAnimate = false;
    }), 300);
  }
  disconnectedCallback() {
    this.loadTimeout && clearTimeout(this.loadTimeout), this.clearTimeout && clearTimeout(this.clearTimeout);
  }
  emitStyle() {
    this.ionStyle.emit({ searchbar: true });
  }
  setFocus() {
    return __async(this, null, function* () {
      this.nativeInput && this.nativeInput.focus();
    });
  }
  getInputElement() {
    return __async(this, null, function* () {
      return this.nativeInput || (yield new Promise(((a17) => e2(this.el, a17)))), Promise.resolve(this.nativeInput);
    });
  }
  emitValueChange(a17) {
    const { value: o14 } = this, r32 = null == o14 ? o14 : "" + o14;
    this.focusedValue = r32, this.ionChange.emit({ value: r32, event: a17 });
  }
  emitInputChange(a17) {
    const { value: o14 } = this;
    this.ionInput.emit({ value: o14, event: a17 });
  }
  positionElements() {
    const a17 = this.getValue(), o14 = this.shouldAlignLeft, r32 = g(this), e16 = !this.animated || "" !== a17.trim() || !!this.focused;
    this.shouldAlignLeft = e16, "ios" === r32 && (o14 !== e16 && this.positionPlaceholder(), this.animated && this.positionCancelButton());
  }
  positionPlaceholder() {
    const a17 = this.nativeInput;
    if (!a17) return;
    const o14 = o4(this.el), r32 = (this.el.shadowRoot || this.el).querySelector(".searchbar-search-icon");
    if (this.shouldAlignLeft) a17.removeAttribute("style"), r32.removeAttribute("style");
    else {
      const e16 = document, i16 = e16.createElement("span");
      i16.innerText = this.placeholder || "", e16.body.appendChild(i16), d2((() => {
        const e17 = i16.offsetWidth;
        i16.remove();
        const n15 = "calc(50% - " + e17 / 2 + "px)", t17 = "calc(50% - " + (e17 / 2 + r32.clientWidth + 8) + "px)";
        o14 ? (a17.style.paddingRight = n15, r32.style.marginRight = t17) : (a17.style.paddingLeft = n15, r32.style.marginLeft = t17);
      }));
    }
  }
  positionCancelButton() {
    const a17 = o4(this.el), o14 = (this.el.shadowRoot || this.el).querySelector(".searchbar-cancel-button"), r32 = this.shouldShowCancelButton();
    if (null !== o14 && r32 !== this.isCancelVisible) {
      const e16 = o14.style;
      if (this.isCancelVisible = r32, r32) a17 ? e16.marginLeft = "0" : e16.marginRight = "0";
      else {
        const r33 = o14.offsetWidth;
        r33 > 0 && (a17 ? e16.marginLeft = -r33 + "px" : e16.marginRight = -r33 + "px");
      }
    }
  }
  getValue() {
    return this.value || "";
  }
  hasValue() {
    return "" !== this.getValue();
  }
  shouldShowCancelButton() {
    return !("never" === this.showCancelButton || "focus" === this.showCancelButton && !this.focused);
  }
  shouldShowClearButton() {
    return !("never" === this.showClearButton || "focus" === this.showClearButton && !this.focused);
  }
  render() {
    const { cancelButtonText: a17, autocapitalize: o14 } = this, r32 = this.animated && n.getBoolean("animated", true), i16 = g(this), s23 = this.clearIcon || ("ios" === i16 ? r6 : m5), c36 = this.searchIcon || ("ios" === i16 ? j3 : Z2), h21 = this.shouldShowCancelButton(), l27 = "never" !== this.showCancelButton && Ct("button", { key: "9e9f3a7f6ee66140181f8c3cfa42bbeee75adafc", "aria-label": a17, "aria-hidden": h21 ? void 0 : "true", type: "button", tabIndex: "ios" !== i16 || h21 ? void 0 : -1, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, Ct("div", { key: "5f83fbcc0708830637815e8c0b69356cad381870", "aria-hidden": "true" }, "md" === i16 ? Ct("ion-icon", { "aria-hidden": "true", mode: i16, icon: this.cancelButtonIcon, lazy: false }) : a17));
    return Ct(It, { key: "219c263c1f3cc63e18bc2d2ba5d672b7806eddd0", role: "search", "aria-disabled": this.disabled ? "true" : null, class: o6(this.color, { [i16]: true, "searchbar-animated": r32, "searchbar-disabled": this.disabled, "searchbar-no-animate": r32 && this.noAnimate, "searchbar-has-value": this.hasValue(), "searchbar-left-aligned": this.shouldAlignLeft, "searchbar-has-focus": this.focused, "searchbar-should-show-clear": this.shouldShowClearButton(), "searchbar-should-show-cancel": this.shouldShowCancelButton() }) }, Ct("div", { key: "3f1c25442d6d87c0df67f79482a925b80dcc403d", class: "searchbar-input-container" }, Ct("input", Object.assign({ key: "a386fecafda0fab449ea1488906ba6cfc55e2b5c", "aria-label": "search text", disabled: this.disabled, ref: (a18) => this.nativeInput = a18, class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, minLength: this.minlength, maxLength: this.maxlength, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoCapitalize: "default" === o14 ? void 0 : o14, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }, this.inheritedAttributes)), "md" === i16 && l27, Ct("ion-icon", { key: "5f81642628335def39a14f0726e0fafdc7203776", "aria-hidden": "true", mode: i16, icon: c36, lazy: false, class: "searchbar-search-icon" }), Ct("button", { key: "da3073646f2d7f639261b556517fbadabc3c10e9", "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (a18) => {
      a18.preventDefault();
    }, onClick: () => this.onClearInput(true) }, Ct("ion-icon", { key: "065cd6c707ae462c0767df1bab04ce8045f340a4", "aria-hidden": "true", mode: i16, icon: s23, lazy: false, class: "searchbar-clear-icon" }))), "ios" === i16 && l27);
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { lang: [{ onLangChanged: 0 }], dir: [{ onDirChanged: 0 }], debounce: [{ debounceChanged: 0 }], value: [{ valueChanged: 0 }], showCancelButton: [{ showCancelButtonChanged: 0 }] };
  }
  static get style() {
    return { ios: ".sc-ion-searchbar-ios-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:var(--ion-placeholder-opacity, 0.6);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-searchbar-ios-h{color:var(--ion-color-contrast)}.ion-color.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{background:var(--ion-color-base)}.ion-color.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:inherit}.searchbar-search-icon.sc-ion-searchbar-ios{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-ios{display:block;position:relative;-ms-flex-negative:1;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-ios{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;border-radius:var(--border-radius);display:block;width:100%;min-height:inherit;border:0;outline:none;background:var(--background);font-family:inherit;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-input.sc-ion-searchbar-ios::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-ios::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-ios>div.sc-ion-searchbar-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-clear-button.sc-ion-searchbar-ios:focus{opacity:0.5}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios{display:block}.searchbar-disabled.sc-ion-searchbar-ios-h{cursor:default;opacity:0.4;pointer-events:none}.sc-ion-searchbar-ios-h{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.07);--border-radius:10px;--box-shadow:none;--cancel-button-color:var(--ion-color-primary, #0054e9);--clear-button-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));--color:var(--ion-text-color, #000);--icon-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:12px;padding-bottom:12px;min-height:60px;contain:content}.searchbar-input-container.sc-ion-searchbar-ios{min-height:36px}.searchbar-search-icon.sc-ion-searchbar-ios{-webkit-margin-start:calc(50% - 60px);margin-inline-start:calc(50% - 60px);top:0;position:absolute;width:1.375rem;height:100%;contain:strict}.searchbar-search-icon.sc-ion-searchbar-ios{inset-inline-start:5px}.searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:6px;padding-bottom:6px;height:100%;font-size:1.0625rem;font-weight:400;contain:strict}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:1.75rem;padding-inline-start:1.75rem;-webkit-padding-end:1.75rem;padding-inline-end:1.75rem}.searchbar-clear-button.sc-ion-searchbar-ios{top:0;background-position:center;position:absolute;width:1.875rem;height:100%;border:0;background-color:transparent}.searchbar-clear-button.sc-ion-searchbar-ios{inset-inline-end:0}.searchbar-clear-icon.sc-ion-searchbar-ios{width:1.125rem;height:100%}.searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0;background-color:transparent;font-size:17px}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{-webkit-margin-start:0;margin-inline-start:0}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:1.875rem;padding-inline-start:1.875rem}.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{display:block}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-transition:all 300ms ease;transition:all 300ms ease}.searchbar-animated.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{opacity:1;pointer-events:auto}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-margin-end:-100%;margin-inline-end:-100%;-webkit-transform:translate3d(0,  0,  0);transform:translate3d(0,  0,  0);-webkit-transition:all 300ms ease;transition:all 300ms ease;opacity:0;pointer-events:none}.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-transition-duration:0ms;transition-duration:0ms}.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{color:var(--ion-color-base)}@media (any-hover: hover){.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios:hover{color:var(--ion-color-tint)}}ion-toolbar.sc-ion-searchbar-ios-h,ion-toolbar .sc-ion-searchbar-ios-h{padding-top:1px;padding-bottom:15px;min-height:52px}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color),ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color){color:inherit}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios{color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios{background:rgba(var(--ion-color-contrast-rgb), 0.07);color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}", md: ".sc-ion-searchbar-md-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:var(--ion-placeholder-opacity, 0.6);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;color:var(--color);font-family:var(--ion-font-family, inherit);-webkit-box-sizing:border-box;box-sizing:border-box}.ion-color.sc-ion-searchbar-md-h{color:var(--ion-color-contrast)}.ion-color.sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md{background:var(--ion-color-base)}.ion-color.sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md,.ion-color.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,.ion-color.sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{color:inherit}.searchbar-search-icon.sc-ion-searchbar-md{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-md{display:block;position:relative;-ms-flex-negative:1;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-md{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;border-radius:var(--border-radius);display:block;width:100%;min-height:inherit;border:0;outline:none;background:var(--background);font-family:inherit;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-input.sc-ion-searchbar-md::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-md::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-md::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-md>div.sc-ion-searchbar-md{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-clear-button.sc-ion-searchbar-md:focus{opacity:0.5}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-md-h .searchbar-clear-button.sc-ion-searchbar-md{display:block}.searchbar-disabled.sc-ion-searchbar-md-h{cursor:default;opacity:0.4;pointer-events:none}.sc-ion-searchbar-md-h{--background:var(--ion-background-color, #fff);--border-radius:2px;--box-shadow:0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);--cancel-button-color:var(--ion-color-step-900, var(--ion-text-color-step-100, #1a1a1a));--clear-button-color:initial;--color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--icon-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:8px;padding-bottom:8px;background:inherit}.searchbar-search-icon.sc-ion-searchbar-md{top:11px;width:1.3125rem;height:1.3125rem}.searchbar-search-icon.sc-ion-searchbar-md{inset-inline-start:16px}.searchbar-cancel-button.sc-ion-searchbar-md{top:0;background-color:transparent;font-size:1.5em}.searchbar-cancel-button.sc-ion-searchbar-md{inset-inline-start:9px}.searchbar-search-icon.sc-ion-searchbar-md,.searchbar-cancel-button.sc-ion-searchbar-md{position:absolute}.searchbar-search-icon.ion-activated.sc-ion-searchbar-md,.searchbar-cancel-button.ion-activated.sc-ion-searchbar-md{background-color:transparent}.searchbar-input.sc-ion-searchbar-md{-webkit-padding-start:3.4375rem;padding-inline-start:3.4375rem;-webkit-padding-end:3.4375rem;padding-inline-end:3.4375rem;padding-top:0.375rem;padding-bottom:0.375rem;background-position:left 8px center;height:auto;font-size:1rem;font-weight:400;line-height:30px}[dir=rtl].sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md,[dir=rtl] .sc-ion-searchbar-md-h .searchbar-input.sc-ion-searchbar-md{background-position:right 8px center}[dir=rtl].sc-ion-searchbar-md .searchbar-input.sc-ion-searchbar-md{background-position:right 8px center}@supports selector(:dir(rtl)){.searchbar-input.sc-ion-searchbar-md:dir(rtl){background-position:right 8px center}}.searchbar-clear-button.sc-ion-searchbar-md{top:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;position:absolute;height:100%;border:0;background-color:transparent}.searchbar-clear-button.sc-ion-searchbar-md{inset-inline-end:13px}.searchbar-clear-button.ion-activated.sc-ion-searchbar-md{background-color:transparent}.searchbar-clear-icon.sc-ion-searchbar-md{width:1.375rem;height:100%}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-search-icon.sc-ion-searchbar-md{display:block}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md,.searchbar-should-show-cancel.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md{display:block}.searchbar-has-focus.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md+.searchbar-search-icon.sc-ion-searchbar-md,.searchbar-should-show-cancel.sc-ion-searchbar-md-h .searchbar-cancel-button.sc-ion-searchbar-md+.searchbar-search-icon.sc-ion-searchbar-md{display:none}ion-toolbar.sc-ion-searchbar-md-h,ion-toolbar .sc-ion-searchbar-md-h{-webkit-padding-start:7px;padding-inline-start:7px;-webkit-padding-end:7px;padding-inline-end:7px;padding-top:3px;padding-bottom:3px}" };
  }
}, [34, "ion-searchbar", { color: [513], animated: [4], autocapitalize: [1], autocomplete: [1], autocorrect: [1], cancelButtonIcon: [1, "cancel-button-icon"], cancelButtonText: [1, "cancel-button-text"], clearIcon: [1, "clear-icon"], debounce: [2], disabled: [4], inputmode: [1], enterkeyhint: [1], maxlength: [2], minlength: [2], name: [1], placeholder: [1], searchIcon: [1, "search-icon"], showCancelButton: [1, "show-cancel-button"], showClearButton: [1, "show-clear-button"], spellcheck: [4], type: [1], value: [1025], focused: [32], noAnimate: [32], setFocus: [64], getInputElement: [64] }, void 0, { lang: [{ onLangChanged: 0 }], dir: [{ onDirChanged: 0 }], debounce: [{ debounceChanged: 0 }], value: [{ valueChanged: 0 }], showCancelButton: [{ showCancelButtonChanged: 0 }] }]);
var k10 = 0;
var z10 = function() {
  "undefined" != typeof customElements && ["ion-searchbar", "ion-icon"].forEach(((a17) => {
    switch (a17) {
      case "ion-searchbar":
        customElements.get(Zn(a17)) || customElements.define(Zn(a17), w10);
        break;
      case "ion-icon":
        customElements.get(Zn(a17)) || y6();
    }
  }));
};

// node_modules/@ionic/core/components/ion-segment.js
var u19 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.__attachShadow(), this.ionChange = Jt(this, "ionChange", 7), this.ionSelect = Jt(this, "ionSelect", 7), this.ionStyle = Jt(this, "ionStyle", 7), this.segmentViewEl = null, this.activated = false, this.disabled = false, this.scrollable = false, this.swipeGesture = true, this.selectOnFocus = false, this.onClick = (t18) => {
      const s23 = t18.target, e16 = this.checked;
      "ION-SEGMENT" !== s23.tagName && (this.value = s23.value, s23 !== e16 && this.emitValueChange(), this.segmentViewEl ? (this.updateSegmentView(), this.scrollable && e16 && this.checkButton(e16, s23)) : !this.scrollable && this.swipeGesture || (e16 ? this.checkButton(e16, s23) : this.setCheckedClasses()));
    }, this.onSlottedItemsChange = () => {
      this.valueChanged(this.value);
    }, this.getSegmentButton = (t18) => {
      var s23, e16;
      const i16 = this.getButtons().filter(((t19) => !t19.disabled)), o14 = i16.findIndex(((t19) => t19 === document.activeElement));
      switch (t18) {
        case "first":
          return i16[0];
        case "last":
          return i16[i16.length - 1];
        case "next":
          return null !== (s23 = i16[o14 + 1]) && void 0 !== s23 ? s23 : i16[0];
        case "previous":
          return null !== (e16 = i16[o14 - 1]) && void 0 !== e16 ? e16 : i16[i16.length - 1];
        default:
          return null;
      }
    };
  }
  colorChanged(t17, s23) {
    (void 0 === s23 && void 0 !== t17 || void 0 !== s23 && void 0 === t17) && this.emitStyle();
  }
  swipeGestureChanged() {
    this.gestureChanged();
  }
  valueChanged(t17, s23) {
    if (this.segmentViewEl && void 0 === t17) this.value = this.getButtons()[0].value;
    else {
      if (void 0 !== s23 && void 0 !== t17) {
        const e16 = this.getButtons(), i16 = e16.find(((t18) => t18.value === s23)), o14 = e16.find(((s24) => s24.value === t17));
        i16 && o14 && (this.segmentViewEl ? false !== this.triggerScrollOnValueChange && this.updateSegmentView() : this.checkButton(i16, o14));
      } else void 0 !== t17 && void 0 === s23 && this.segmentViewEl && this.updateSegmentView();
      this.ionSelect.emit({ value: t17 }), this.segmentViewEl || this.scrollActiveButtonIntoView(), this.triggerScrollOnValueChange = void 0;
    }
  }
  disabledChanged() {
    if (this.gestureChanged(), this.segmentViewEl) this.segmentViewEl.disabled = this.disabled;
    else {
      const t17 = this.getButtons();
      for (const s23 of t17) s23.disabled = this.disabled;
    }
  }
  gestureChanged() {
    this.gesture && this.gesture.enable(!this.scrollable && !this.disabled && this.swipeGesture);
  }
  connectedCallback() {
    this.emitStyle(), this.segmentViewEl = this.getSegmentView();
  }
  disconnectedCallback() {
    this.segmentViewEl = null;
  }
  componentWillLoad() {
    this.emitStyle();
  }
  componentDidLoad() {
    return __async(this, null, function* () {
      this.segmentViewEl = this.getSegmentView(), this.setCheckedClasses(), d2((() => {
        this.scrollActiveButtonIntoView(false);
      })), this.gesture = (yield import("./chunk-7STYLPNF.js")).createGesture({ el: this.el, gestureName: "segment", gesturePriority: 100, threshold: 0, passive: false, onStart: (t17) => this.onStart(t17), onMove: (t17) => this.onMove(t17), onEnd: (t17) => this.onEnd(t17) }), this.gestureChanged(), this.disabled && this.disabledChanged(), this.updateSegmentView(false);
    });
  }
  onStart(t17) {
    this.valueBeforeGesture = this.value, this.activate(t17);
  }
  onMove(t17) {
    this.setNextIndex(t17);
  }
  onEnd(t17) {
    this.setActivated(false), this.setNextIndex(t17, true), t17.event.stopImmediatePropagation();
    const s23 = this.value;
    void 0 !== s23 && this.valueBeforeGesture !== s23 && (this.emitValueChange(), this.updateSegmentView()), this.valueBeforeGesture = void 0;
  }
  emitValueChange() {
    const { value: t17 } = this;
    this.ionChange.emit({ value: t17 });
  }
  getButtons() {
    return Array.from(this.el.querySelectorAll("ion-segment-button"));
  }
  get checked() {
    return this.getButtons().find(((t17) => t17.value === this.value));
  }
  setActivated(t17) {
    this.getButtons().forEach(((s23) => {
      s23.classList.toggle("segment-button-activated", t17);
    })), this.activated = t17;
  }
  activate(t17) {
    const s23 = t17.event.target, e16 = this.getButtons().find(((t18) => t18.value === this.value));
    "ION-SEGMENT-BUTTON" === s23.tagName && (e16 || (this.value = s23.value, this.setCheckedClasses()), this.value === s23.value && this.setActivated(true));
  }
  getIndicator(t17) {
    return (t17.shadowRoot || t17).querySelector(".segment-button-indicator");
  }
  checkButton(t17, s23) {
    const e16 = this.getIndicator(t17), o14 = this.getIndicator(s23);
    if (null === e16 || null === o14) return;
    const n15 = e16.getBoundingClientRect(), r32 = o14.getBoundingClientRect(), a17 = `translate3d(${n15.left - r32.left}px, 0, 0) scaleX(${n15.width / r32.width})`;
    P((() => {
      o14.classList.remove("segment-button-indicator-animated"), o14.style.setProperty("transform", a17), o14.getBoundingClientRect(), o14.classList.add("segment-button-indicator-animated"), o14.style.setProperty("transform", ""), this.scrollActiveButtonIntoView(true);
    })), this.value = s23.value, this.setCheckedClasses();
  }
  setCheckedClasses() {
    const t17 = this.getButtons(), s23 = t17.findIndex(((t18) => t18.value === this.value)) + 1;
    for (const s24 of t17) s24.classList.remove("segment-button-after-checked");
    s23 < t17.length && t17[s23].classList.add("segment-button-after-checked");
  }
  getSegmentView() {
    const t17 = this.getButtons().find(((t18) => t18.contentId)), s23 = document.querySelector(`ion-segment-content[id="${null == t17 ? void 0 : t17.contentId}"]`);
    return null == s23 ? void 0 : s23.closest("ion-segment-view");
  }
  handleSegmentViewScroll(t17) {
    const { scrollRatio: s23, isManualScroll: e16 } = t17.detail;
    if (!e16) return;
    const i16 = t17.target, o14 = this.segmentViewEl, n15 = this.el;
    if (t17.composedPath().includes(o14) || (null == i16 ? void 0 : i16.contains(n15))) {
      const t18 = this.getButtons();
      if (!t18.length) return;
      const e17 = t18.findIndex(((t19) => t19.value === this.value)), i17 = t18[e17], o15 = Math.round(s23 * (t18.length - 1));
      void 0 !== this.lastNextIndex && this.lastNextIndex === o15 || (this.lastNextIndex = o15, this.triggerScrollOnValueChange = false, this.checkButton(i17, t18[o15]), this.emitValueChange());
    }
  }
  updateSegmentView(t17 = true) {
    const s23 = this.getButtons().find(((t18) => t18.value === this.value));
    if (!(null == s23 ? void 0 : s23.contentId)) return;
    const e16 = this.segmentViewEl;
    e16 && e16.setContent(s23.contentId, t17);
  }
  scrollActiveButtonIntoView(t17 = true) {
    const { scrollable: s23, value: e16, el: i16 } = this;
    if (s23) {
      const s24 = this.getButtons().find(((t18) => t18.value === e16));
      if (void 0 !== s24) {
        const e17 = i16.getBoundingClientRect(), o14 = s24.getBoundingClientRect();
        i16.scrollTo({ top: 0, left: i16.scrollLeft + (o14.x - e17.x - e17.width / 2 + o14.width / 2), behavior: t17 ? "smooth" : "instant" });
      }
    }
  }
  setNextIndex(t17, s23 = false) {
    const e16 = o4(this.el), i16 = this.activated, o14 = this.getButtons(), n15 = o14.findIndex(((t18) => t18.value === this.value)), r32 = o14[n15];
    let a17, l27;
    if (-1 === n15) return;
    const c36 = r32.getBoundingClientRect(), d25 = c36.left, u21 = c36.width, m28 = t17.currentX, g20 = c36.top + c36.height / 2, b21 = this.el.getRootNode().elementFromPoint(m28, g20);
    if (i16 && !s23) {
      if (e16 ? m28 > d25 + u21 : m28 < d25) {
        const t18 = n15 - 1;
        t18 >= 0 && (l27 = t18);
      } else if ((e16 ? m28 < d25 : m28 > d25 + u21) && i16 && !s23) {
        const t18 = n15 + 1;
        t18 < o14.length && (l27 = t18);
      }
      void 0 === l27 || o14[l27].disabled || (a17 = o14[l27]);
    }
    if (!i16 && s23 && (a17 = b21), null != a17) {
      if ("ION-SEGMENT" === a17.tagName) return false;
      r32 !== a17 && this.checkButton(r32, a17);
    }
    return true;
  }
  emitStyle() {
    this.ionStyle.emit({ segment: true });
  }
  onKeyDown(t17) {
    const s23 = o4(this.el);
    let e16, i16 = this.selectOnFocus;
    switch (t17.key) {
      case "ArrowRight":
        t17.preventDefault(), e16 = this.getSegmentButton(s23 ? "previous" : "next");
        break;
      case "ArrowLeft":
        t17.preventDefault(), e16 = this.getSegmentButton(s23 ? "next" : "previous");
        break;
      case "Home":
        t17.preventDefault(), e16 = this.getSegmentButton("first");
        break;
      case "End":
        t17.preventDefault(), e16 = this.getSegmentButton("last");
        break;
      case " ":
      case "Enter":
        t17.preventDefault(), e16 = document.activeElement, i16 = true;
    }
    if (e16) {
      if (i16) {
        const t18 = this.checked;
        this.checkButton(t18 || e16, e16), e16 !== t18 && this.emitValueChange();
      }
      e16.setFocus();
    }
  }
  render() {
    const t17 = g(this);
    return Ct(It, { key: "725cc37b25c539fa5e3ae8d90530ae33ededc3de", role: "tablist", onClick: this.onClick, class: o6(this.color, { [t17]: true, "in-toolbar": n5("ion-toolbar", this.el), "in-toolbar-color": n5("ion-toolbar[color]", this.el), "segment-activated": this.activated, "segment-disabled": this.disabled, "segment-scrollable": this.scrollable }) }, Ct("slot", { key: "c51cf7ea50325866a9367d214e12bc3754870335", onSlotchange: this.onSlottedItemsChange }));
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { color: [{ colorChanged: 0 }], swipeGesture: [{ swipeGestureChanged: 0 }], value: [{ valueChanged: 0 }], disabled: [{ disabledChanged: 0 }] };
  }
  static get style() {
    return { ios: ":host{--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:grid;grid-auto-columns:1fr;position:relative;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:center;justify-content:center;width:100%;background:var(--background);font-family:var(--ion-font-family, inherit);text-align:center;contain:paint;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.segment-scrollable){-ms-flex-pack:start;justify-content:start;width:auto;overflow-x:auto;grid-auto-columns:minmax(-webkit-min-content, 1fr);grid-auto-columns:minmax(min-content, 1fr)}:host(.segment-scrollable::-webkit-scrollbar){display:none}:host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.065);border-radius:8px;overflow:hidden;z-index:0}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.065)}:host(.in-toolbar){-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;width:auto}:host(.in-toolbar:not(.ion-color)){background:var(--ion-toolbar-segment-background, var(--background))}:host(.in-toolbar-color:not(.ion-color)){background:rgba(var(--ion-color-contrast-rgb), 0.11)}", md: ":host{--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:grid;grid-auto-columns:1fr;position:relative;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:center;justify-content:center;width:100%;background:var(--background);font-family:var(--ion-font-family, inherit);text-align:center;contain:paint;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.segment-scrollable){-ms-flex-pack:start;justify-content:start;width:auto;overflow-x:auto;grid-auto-columns:minmax(-webkit-min-content, 1fr);grid-auto-columns:minmax(min-content, 1fr)}:host(.segment-scrollable::-webkit-scrollbar){display:none}:host{--background:transparent;grid-auto-columns:minmax(auto, 360px)}:host(.in-toolbar){min-height:var(--min-height)}:host(.segment-scrollable) ::slotted(ion-segment-button){min-width:auto}" };
  }
}, [289, "ion-segment", { color: [513], disabled: [4], scrollable: [4], swipeGesture: [4, "swipe-gesture"], value: [1032], selectOnFocus: [4, "select-on-focus"], activated: [32] }, [[16, "ionSegmentViewScroll", "handleSegmentViewScroll"], [0, "keydown", "onKeyDown"]], { color: [{ colorChanged: 0 }], swipeGesture: [{ swipeGestureChanged: 0 }], value: [{ valueChanged: 0 }], disabled: [{ disabledChanged: 0 }] }]);
var g18 = function() {
  "undefined" != typeof customElements && ["ion-segment"].forEach(((t17) => {
    "ion-segment" === t17 && (customElements.get(Zn(t17)) || customElements.define(Zn(t17), u19));
  }));
};

// node_modules/@ionic/core/components/p-EK4xUz-q.js
var g19 = Dn(class extends I {
  constructor(o14) {
    super(), false !== o14 && this.__registerHost(), this.options = [];
  }
  findOptionFromEvent(o14) {
    const { options: e16 } = this;
    return e16.find(((e17) => e17.value === o14.target.value));
  }
  callOptionHandler(o14) {
    const e16 = this.findOptionFromEvent(o14), i16 = this.getValues(o14);
    (null == e16 ? void 0 : e16.handler) && _2(e16.handler, i16);
  }
  dismissParentPopover() {
    const o14 = this.el.closest("ion-popover");
    o14 && o14.dismiss();
  }
  setChecked(o14) {
    const { multiple: e16 } = this, i16 = this.findOptionFromEvent(o14);
    e16 && i16 && (i16.checked = o14.detail.checked);
  }
  getValues(o14) {
    const { multiple: e16, options: i16 } = this;
    if (e16) return i16.filter(((o15) => o15.checked)).map(((o15) => o15.value));
    const t17 = this.findOptionFromEvent(o14);
    return t17 ? t17.value : void 0;
  }
  renderOptions(o14) {
    const { multiple: e16 } = this;
    return true === e16 ? this.renderCheckboxOptions(o14) : this.renderRadioOptions(o14);
  }
  renderCheckboxOptions(o14) {
    return o14.map(((o15) => Ct("ion-item", { class: Object.assign({ "item-checkbox-checked": o15.checked }, r5(o15.cssClass)) }, Ct("ion-checkbox", { value: o15.value, disabled: o15.disabled, checked: o15.checked, justify: "start", labelPlacement: "end", onIonChange: (o16) => {
      this.setChecked(o16), this.callOptionHandler(o16), Rn(this);
    } }, o15.text))));
  }
  renderRadioOptions(o14) {
    const e16 = o14.filter(((o15) => o15.checked)).map(((o15) => o15.value))[0];
    return Ct("ion-radio-group", { value: e16, onIonChange: (o15) => this.callOptionHandler(o15) }, o14.map(((o15) => Ct("ion-item", { class: Object.assign({ "item-radio-checked": o15.value === e16 }, r5(o15.cssClass)) }, Ct("ion-radio", { value: o15.value, disabled: o15.disabled, onClick: () => this.dismissParentPopover(), onKeyUp: (o16) => {
      " " === o16.key && this.dismissParentPopover();
    } }, o15.text)))));
  }
  render() {
    const { header: o14, message: e16, options: t17, subHeader: r32 } = this, n15 = void 0 !== r32 || void 0 !== e16;
    return Ct(It, { key: "0c9845a40d3fc392b0a7d64e2a6ed27d94bb7634", class: g(this) }, Ct("ion-list", { key: "84a30f6661b0f8c00e6fa199658ed2adbcf27358" }, void 0 !== o14 && Ct("ion-list-header", { key: "13f5f56bbfbc06751fa516291a2da72629b60ece" }, o14), n15 && Ct("ion-item", { key: "3d39d18e720e798bbde334e79e6832091c7dfb81" }, Ct("ion-label", { key: "d3051b0d140120b44bf5e79572f6f287e7cfb03a", class: "ion-text-wrap" }, void 0 !== r32 && Ct("h3", { key: "b16805956f3316f8ec703c123b76f717488e8637" }, r32), void 0 !== e16 && Ct("p", { key: "2215ac4ab4146a14e75a79192e319a8016286b5f" }, e16))), this.renderOptions(t17)));
  }
  get el() {
    return this;
  }
  static get style() {
    return { ios: ".sc-ion-select-popover-ios-h ion-list.sc-ion-select-popover-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-list-header.sc-ion-select-popover-ios,ion-label.sc-ion-select-popover-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-select-popover-ios-h{overflow-y:auto}", md: '.sc-ion-select-popover-md-h ion-list.sc-ion-select-popover-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-list-header.sc-ion-select-popover-md,ion-label.sc-ion-select-popover-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}.sc-ion-select-popover-md-h{overflow-y:auto}ion-list.sc-ion-select-popover-md ion-radio.sc-ion-select-popover-md::part(container),ion-list.sc-ion-select-popover-md ion-radio.sc-ion-select-popover-md [part~="container"]{display:none}ion-list.sc-ion-select-popover-md ion-radio.sc-ion-select-popover-md::part(label),ion-list.sc-ion-select-popover-md ion-radio.sc-ion-select-popover-md [part~="label"]{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}ion-item.sc-ion-select-popover-md{--inner-border-width:0}.item-radio-checked.sc-ion-select-popover-md{--background:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.08);--background-focused:var(--ion-color-primary, #0054e9);--background-focused-opacity:0.2;--background-hover:var(--ion-color-primary, #0054e9);--background-hover-opacity:0.12}.item-checkbox-checked.sc-ion-select-popover-md{--background-activated:var(--ion-item-color, var(--ion-text-color, #000));--background-focused:var(--ion-item-color, var(--ion-text-color, #000));--background-hover:var(--ion-item-color, var(--ion-text-color, #000));--color:var(--ion-color-primary, #0054e9)}' };
  }
}, [34, "ion-select-popover", { header: [1], subHeader: [1, "sub-header"], message: [1], multiple: [4], options: [16] }]);
function k11() {
  "undefined" != typeof customElements && ["ion-select-popover", "ion-checkbox", "ion-icon", "ion-item", "ion-label", "ion-list", "ion-list-header", "ion-radio", "ion-radio-group", "ion-ripple-effect"].forEach(((o14) => {
    switch (o14) {
      case "ion-select-popover":
        customElements.get(Zn(o14)) || customElements.define(Zn(o14), g19);
        break;
      case "ion-checkbox":
        customElements.get(Zn(o14)) || d18();
        break;
      case "ion-icon":
        customElements.get(Zn(o14)) || y6();
        break;
      case "ion-item":
        customElements.get(Zn(o14)) || v13();
        break;
      case "ion-label":
        customElements.get(Zn(o14)) || m18();
        break;
      case "ion-list":
        customElements.get(Zn(o14)) || l20();
        break;
      case "ion-list-header":
        customElements.get(Zn(o14)) || l21();
        break;
      case "ion-radio":
        customElements.get(Zn(o14)) || x10();
        break;
      case "ion-radio-group":
        customElements.get(Zn(o14)) || p28();
        break;
      case "ion-ripple-effect":
        customElements.get(Zn(o14)) || p7();
    }
  }));
}

// node_modules/@ionic/core/components/ion-select.js
var U5 = Dn(class extends I {
  constructor(e16) {
    super(), false !== e16 && this.__registerHost(), this.__attachShadow(), this.ionChange = Jt(this, "ionChange", 7), this.ionCancel = Jt(this, "ionCancel", 7), this.ionDismiss = Jt(this, "ionDismiss", 7), this.ionFocus = Jt(this, "ionFocus", 7), this.ionBlur = Jt(this, "ionBlur", 7), this.ionStyle = Jt(this, "ionStyle", 7), this.inputId = "ion-sel-" + _5++, this.helperTextId = this.inputId + "-helper-text", this.errorTextId = this.inputId + "-error-text", this.inheritedAttributes = {}, this.isExpanded = false, this.hasFocus = false, this.isInvalid = false, this.cancelText = "Cancel", this.disabled = false, this.interface = "alert", this.interfaceOptions = {}, this.labelPlacement = "start", this.multiple = false, this.name = this.inputId, this.okText = "OK", this.required = false, this.onClick = (e17) => {
      const t17 = e17.target, i16 = t17.closest('[slot="start"], [slot="end"]');
      t17 === this.el || null === i16 ? (this.setFocus(), this.open(e17)) : e17.preventDefault();
    }, this.onFocus = () => {
      this.hasFocus = true, this.ionFocus.emit();
    }, this.onBlur = () => {
      this.hasFocus = false, this.ionBlur.emit();
    }, this.onLabelClick = (e17) => {
      e17.target === e17.currentTarget && e17.stopPropagation();
    };
  }
  styleChanged() {
    this.emitStyle();
  }
  setValue(e16) {
    this.value = e16, this.ionChange.emit({ value: e16 });
  }
  connectedCallback() {
    return __async(this, null, function* () {
      const { el: e16 } = this;
      this.notchController = r30(e16, (() => this.notchSpacerEl), (() => this.labelSlot)), this.updateOverlayOptions(), this.emitStyle(), this.mutationO = r17(this.el, "ion-select-option", (() => __async(this, null, function* () {
        this.updateOverlayOptions(), Rn(this);
      }))), "undefined" != typeof MutationObserver && (this.validationObserver = new MutationObserver((() => {
        const e17 = n13(this.el);
        this.isInvalid !== e17 && (this.isInvalid = e17, Promise.resolve().then((() => {
          this.hintTextId = this.getHintTextId();
        })));
      })), this.validationObserver.observe(e16, { attributes: true, attributeFilter: ["class"] })), this.isInvalid = n13(this.el);
    });
  }
  componentWillLoad() {
    this.inheritedAttributes = n2(this.el, ["aria-label"]), this.hintTextId = this.getHintTextId();
  }
  componentDidLoad() {
    this.emitStyle();
  }
  disconnectedCallback() {
    this.mutationO && (this.mutationO.disconnect(), this.mutationO = void 0), this.notchController && (this.notchController.destroy(), this.notchController = void 0), this.validationObserver && (this.validationObserver.disconnect(), this.validationObserver = void 0);
  }
  open(e16) {
    return __async(this, null, function* () {
      if (this.disabled || this.isExpanded) return;
      this.isExpanded = true;
      const t17 = this.overlay = yield this.createOverlay(e16), i16 = () => {
        const e17 = this.childOpts.findIndex(((e18) => e18.value === this.value));
        if (e17 > -1) {
          const i17 = t17.querySelector(`.select-interface-option:nth-of-type(${e17 + 1})`);
          if (i17) {
            const e18 = i17.querySelector("ion-radio, ion-checkbox");
            e18 && (i17.scrollIntoView({ block: "nearest" }), e18.setFocus()), p(i17);
          }
        } else {
          const e18 = t17.querySelector("ion-radio:not(.radio-disabled), ion-checkbox:not(.checkbox-disabled)");
          e18 && (e18.setFocus(), p(e18.closest("ion-item")));
        }
      };
      if ("modal" === this.interface) t17.addEventListener("ionModalWillPresent", i16, { once: true });
      else if ("popover" === this.interface) t17.addEventListener("ionPopoverWillPresent", i16, { once: true });
      else {
        const e17 = () => {
          requestAnimationFrame((() => {
            i16();
          }));
        };
        "alert" === this.interface ? t17.addEventListener("ionAlertWillPresent", e17, { once: true }) : "action-sheet" === this.interface && t17.addEventListener("ionActionSheetWillPresent", e17, { once: true });
      }
      return t17.onDidDismiss().then((() => {
        this.overlay = void 0, this.isExpanded = false, this.ionDismiss.emit(), this.setFocus();
      })), yield t17.present(), t17;
    });
  }
  createOverlay(e16) {
    let t17 = this.interface;
    return "action-sheet" === t17 && this.multiple && (u(`[ion-select] - Interface cannot be "${t17}" with a multi-value select. Using the "alert" interface instead.`), t17 = "alert"), "popover" !== t17 || e16 || (u(`[ion-select] - Interface cannot be a "${t17}" without passing an event. Using the "alert" interface instead.`), t17 = "alert"), "action-sheet" === t17 ? this.openActionSheet() : "popover" === t17 ? this.openPopover(e16) : "modal" === t17 ? this.openModal() : this.openAlert();
  }
  updateOverlayOptions() {
    const e16 = this.overlay;
    if (!e16) return;
    const t17 = this.childOpts, i16 = this.value;
    switch (this.interface) {
      case "action-sheet":
        e16.buttons = this.createActionSheetButtons(t17, i16);
        break;
      case "popover":
        const l27 = e16.querySelector("ion-select-popover");
        l27 && (l27.options = this.createOverlaySelectOptions(t17, i16));
        break;
      case "modal":
        const o14 = e16.querySelector("ion-select-modal");
        o14 && (o14.options = this.createOverlaySelectOptions(t17, i16));
        break;
      case "alert":
        e16.inputs = this.createAlertInputs(t17, this.multiple ? "checkbox" : "radio", i16);
    }
  }
  createActionSheetButtons(e16, t17) {
    const i16 = e16.map(((e17) => {
      const i17 = G8(e17), l27 = Array.from(e17.classList).filter(((e18) => "hydrated" !== e18)).join(" "), o14 = `${ee2} ${l27}`, s23 = m22(t17, i17, this.compareWith);
      return { role: s23 ? "selected" : "", text: e17.textContent, cssClass: o14, handler: () => {
        this.setValue(i17);
      }, htmlAttributes: { "aria-checked": s23 ? "true" : "false", role: "radio" } };
    }));
    return i16.push({ text: this.cancelText, role: "cancel", handler: () => {
      this.ionCancel.emit();
    } }), i16;
  }
  createAlertInputs(e16, t17, i16) {
    return e16.map(((e17) => {
      const l27 = G8(e17), o14 = Array.from(e17.classList).filter(((e18) => "hydrated" !== e18)).join(" ");
      return { type: t17, cssClass: `${ee2} ${o14}`, label: e17.textContent || "", value: l27, checked: m22(i16, l27, this.compareWith), disabled: e17.disabled };
    }));
  }
  createOverlaySelectOptions(e16, t17) {
    return e16.map(((e17) => {
      const i16 = G8(e17), l27 = Array.from(e17.classList).filter(((e18) => "hydrated" !== e18)).join(" ");
      return { text: e17.textContent || "", cssClass: `${ee2} ${l27}`, value: i16, checked: m22(t17, i16, this.compareWith), disabled: e17.disabled, handler: (e18) => {
        this.setValue(e18), this.multiple || this.close();
      } };
    }));
  }
  openPopover(e16) {
    return __async(this, null, function* () {
      const { fill: t17, labelPlacement: i16 } = this, l27 = this.interfaceOptions, o14 = g(this), s23 = "md" !== o14, a17 = this.multiple, r32 = this.value;
      let n15 = e16, c36 = "auto";
      "floating" === i16 || "stacked" === i16 || "md" === o14 && void 0 !== t17 ? c36 = "cover" : n15 = Object.assign(Object.assign({}, e16), { detail: { ionShadowTarget: this.nativeWrapperEl } });
      const d25 = Object.assign(Object.assign({ mode: o14, event: n15, alignment: "center", size: c36, showBackdrop: s23 }, l27), { component: "ion-select-popover", cssClass: ["select-popover", l27.cssClass], componentProps: { header: l27.header, subHeader: l27.subHeader, message: l27.message, multiple: a17, value: r32, options: this.createOverlaySelectOptions(this.childOpts, r32) } });
      return B3.create(d25);
    });
  }
  openActionSheet() {
    return __async(this, null, function* () {
      const e16 = g(this), t17 = this.interfaceOptions, i16 = Object.assign(Object.assign({ mode: e16 }, t17), { buttons: this.createActionSheetButtons(this.childOpts, this.value), cssClass: ["select-action-sheet", t17.cssClass] });
      return k2.create(i16);
    });
  }
  openAlert() {
    return __async(this, null, function* () {
      const e16 = this.interfaceOptions, t17 = this.multiple ? "checkbox" : "radio", i16 = g(this), l27 = Object.assign(Object.assign({ mode: i16 }, e16), { header: e16.header ? e16.header : this.labelText, inputs: this.createAlertInputs(this.childOpts, t17, this.value), buttons: [{ text: this.cancelText, role: "cancel", handler: () => {
        this.ionCancel.emit();
      } }, { text: this.okText, handler: (e17) => {
        this.setValue(e17);
      } }], cssClass: ["select-alert", e16.cssClass, this.multiple ? "multiple-select-alert" : "single-select-alert"] });
      return x3.create(l27);
    });
  }
  openModal() {
    const { multiple: e16, value: t17, interfaceOptions: i16 } = this, l27 = g(this), o14 = Object.assign(Object.assign({}, i16), { mode: l27, cssClass: ["select-modal", i16.cssClass], component: "ion-select-modal", componentProps: { header: i16.header, cancelText: this.cancelText, multiple: e16, value: t17, options: this.createOverlaySelectOptions(this.childOpts, t17) } });
    return A.create(o14);
  }
  close() {
    return this.overlay ? this.overlay.dismiss() : Promise.resolve(false);
  }
  hasValue() {
    return "" !== this.getText();
  }
  get childOpts() {
    return Array.from(this.el.querySelectorAll("ion-select-option"));
  }
  get labelText() {
    const { label: e16 } = this;
    if (void 0 !== e16) return e16;
    const { labelSlot: t17 } = this;
    return null !== t17 ? t17.textContent : void 0;
  }
  getText() {
    const e16 = this.selectedText;
    return null != e16 && "" !== e16 ? e16 : X6(this.childOpts, this.value, this.compareWith);
  }
  setFocus() {
    this.focusEl && this.focusEl.focus();
  }
  emitStyle() {
    const { disabled: e16 } = this;
    this.ionStyle.emit({ "interactive-disabled": e16 });
  }
  renderLabel() {
    const { label: e16 } = this;
    return Ct("div", { class: { "label-text-wrapper": true, "label-text-wrapper-hidden": !this.hasLabel }, part: "label" }, void 0 === e16 ? Ct("slot", { name: "label" }) : Ct("div", { class: "label-text" }, e16));
  }
  componentDidRender() {
    var e16;
    null === (e16 = this.notchController) || void 0 === e16 || e16.calculateNotchWidth();
  }
  get labelSlot() {
    return this.el.querySelector('[slot="label"]');
  }
  get hasLabel() {
    return void 0 !== this.label || null !== this.labelSlot;
  }
  renderLabelContainer() {
    return "md" === g(this) && "outline" === this.fill ? [Ct("div", { class: "select-outline-container" }, Ct("div", { class: "select-outline-start" }), Ct("div", { class: { "select-outline-notch": true, "select-outline-notch-hidden": !this.hasLabel } }, Ct("div", { class: "notch-spacer", "aria-hidden": "true", ref: (e16) => this.notchSpacerEl = e16 }, this.label)), Ct("div", { class: "select-outline-end" })), this.renderLabel()] : this.renderLabel();
  }
  renderSelectText() {
    const { placeholder: e16 } = this;
    let t17 = false, i16 = this.getText();
    return "" === i16 && void 0 !== e16 && (i16 = e16, t17 = true), Ct("div", { "aria-hidden": "true", class: { "select-text": true, "select-placeholder": t17 }, part: t17 ? "placeholder" : "text" }, i16);
  }
  renderSelectIcon() {
    const e16 = g(this), { isExpanded: t17, toggleIcon: i16, expandedIcon: l27 } = this;
    let s23;
    return s23 = t17 && void 0 !== l27 ? l27 : null != i16 ? i16 : "ios" === e16 ? e7 : n6, Ct("ion-icon", { class: "select-icon", part: "icon", "aria-hidden": "true", icon: s23 });
  }
  get ariaLabel() {
    var e16;
    const { placeholder: t17, inheritedAttributes: i16 } = this, l27 = this.getText(), o14 = null !== (e16 = i16["aria-label"]) && void 0 !== e16 ? e16 : this.labelText;
    let s23 = l27;
    return "" === s23 && void 0 !== t17 && (s23 = t17), void 0 !== o14 && (s23 = "" === s23 ? o14 : `${o14}, ${s23}`), s23;
  }
  renderListbox() {
    const { disabled: e16, inputId: t17, isExpanded: i16, required: l27 } = this;
    return Ct("button", { disabled: e16, id: t17, "aria-label": this.ariaLabel, "aria-haspopup": "dialog", "aria-expanded": "" + i16, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? "true" : void 0, "aria-required": "" + l27, onFocus: this.onFocus, onBlur: this.onBlur, ref: (e17) => this.focusEl = e17 });
  }
  getHintTextId() {
    const { helperText: e16, errorText: t17, helperTextId: i16, errorTextId: l27, isInvalid: o14 } = this;
    return o14 && t17 ? l27 : e16 ? i16 : void 0;
  }
  renderHintText() {
    const { helperText: e16, errorText: t17, helperTextId: i16, errorTextId: l27, isInvalid: s23 } = this;
    return [Ct("div", { id: i16, class: "helper-text", part: "supporting-text helper-text", "aria-live": "polite" }, s23 ? null : e16), Ct("div", { id: l27, class: "error-text", part: "supporting-text error-text", role: "alert" }, s23 ? t17 : null)];
  }
  renderBottomContent() {
    const { helperText: e16, errorText: t17 } = this;
    if (e16 || t17) return Ct("div", { class: "select-bottom", part: "bottom" }, this.renderHintText());
  }
  render() {
    const { disabled: e16, el: t17, isExpanded: i16, expandedIcon: l27, labelPlacement: a17, justify: r32, placeholder: n15, fill: c36, shape: d25, name: p33, value: h21, hasFocus: b21 } = this, g20 = g(this), f27 = "floating" === a17 || "stacked" === a17, u21 = !f27 && void 0 !== r32, x16 = o4(t17) ? "rtl" : "ltr", v18 = n5("ion-item", this.el), j8 = "md" === g20 && "outline" !== c36 && !v18, z11 = this.hasValue(), C7 = null !== t17.querySelector('[slot="start"], [slot="end"]');
    f2(true, t17, p33, Q6(h21), e16);
    const T8 = "stacked" === a17 || "floating" === a17 && (z11 || i16 || C7);
    return Ct(It, { key: "5f4ee901b65554eacc9fa52230d06b1a5ff1247c", onClick: this.onClick, class: o6(this.color, { [g20]: true, "in-item": v18, "in-item-color": n5("ion-item.ion-color", t17), "select-disabled": e16, "select-expanded": i16, "has-expanded-icon": void 0 !== l27, "has-value": z11, "label-floating": T8, "has-placeholder": void 0 !== n15, "has-focus": b21, "ion-focusable": true, ["select-" + x16]: true, ["select-fill-" + c36]: void 0 !== c36, ["select-justify-" + r32]: u21, ["select-shape-" + d25]: void 0 !== d25, ["select-label-placement-" + a17]: true }) }, Ct("label", { key: "d56d89b5b58da2b5eaebada9d1be58ca45c67806", class: "select-wrapper", id: "select-label", onClick: this.onLabelClick, part: "wrapper" }, this.renderLabelContainer(), Ct("div", { key: "bc8bf089c693781ad5b3a5db76a12223867d748e", class: "select-wrapper-inner", part: "inner" }, Ct("slot", { key: "e1c12b96f1573eb192608c458ed1f3463174cd89", name: "start" }), Ct("div", { key: "6ee5e3900d8e462f175649b502ac6faa2f2b9909", class: "native-wrapper", ref: (e17) => this.nativeWrapperEl = e17, part: "container" }, this.renderSelectText(), this.renderListbox()), Ct("slot", { key: "faeaea34aad412e1458beab95d4b1b9ca7b87c41", name: "end" }), !f27 && this.renderSelectIcon()), f27 && this.renderSelectIcon(), j8 && Ct("div", { key: "aeff51e51c990844869eff9940575ce6b2223135", class: "select-highlight" })), this.renderBottomContent());
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { disabled: [{ styleChanged: 0 }], isExpanded: [{ styleChanged: 0 }], placeholder: [{ styleChanged: 0 }], value: [{ styleChanged: 0 }] };
  }
  static get style() {
    return { ios: ":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--placeholder-color:currentColor;--placeholder-opacity:var(--ion-placeholder-opacity, 0.6);--background:transparent;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #0054e9);--highlight-color-valid:var(--ion-color-success, #2dd55b);--highlight-color-invalid:var(--ion-color-danger, #c5000f);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;min-height:44px;font-family:var(--ion-font-family, inherit);white-space:nowrap;cursor:pointer;z-index:2}:host(.select-label-placement-floating),:host(.select-label-placement-stacked){min-height:56px}:host(.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0}:host(.select-disabled){pointer-events:none}:host(.has-focus) button{border:2px solid #5e9ed6}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}button{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.select-icon{-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0;position:relative;-ms-flex-negative:0;flex-shrink:0}:host(.in-item-color) .select-icon{color:inherit}:host(.select-label-placement-stacked) .select-icon,:host(.select-label-placement-floating) .select-icon{position:absolute;height:100%}:host(.select-ltr.select-label-placement-stacked) .select-icon,:host(.select-ltr.select-label-placement-floating) .select-icon{right:var(--padding-end, 0)}:host(.select-rtl.select-label-placement-stacked) .select-icon,:host(.select-rtl.select-label-placement-floating) .select-icon{left:var(--padding-start, 0)}.select-text{-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:inherit;overflow:hidden}.select-wrapper{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal;cursor:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.select-wrapper .select-placeholder{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.select-wrapper-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;overflow:hidden}:host(.select-label-placement-stacked) .select-wrapper-inner,:host(.select-label-placement-floating) .select-wrapper-inner{-ms-flex-positive:1;flex-grow:1}:host(.ion-touched.ion-invalid){--highlight-color:var(--highlight-color-invalid)}:host(.ion-valid){--highlight-color:var(--highlight-color-valid)}.select-bottom{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:5px;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--border-width) var(--border-style) var(--border-color);font-size:0.75rem;white-space:normal}:host(.has-focus.ion-valid),:host(.select-expanded.ion-valid),:host(.ion-touched.ion-invalid),:host(.select-expanded.ion-touched.ion-invalid){--border-color:var(--highlight-color)}.select-bottom .error-text{display:none;color:var(--highlight-color-invalid)}.select-bottom .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}:host(.ion-touched.ion-invalid) .select-bottom .error-text{display:block}:host(.ion-touched.ion-invalid) .select-bottom .helper-text{display:none}.label-text-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text,::slotted([slot=label]){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden,.select-outline-notch-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);overflow:hidden}:host(.select-justify-space-between) .select-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.select-justify-start) .select-wrapper{-ms-flex-pack:start;justify-content:start}:host(.select-justify-end) .select-wrapper{-ms-flex-pack:end;justify-content:end}:host(.select-label-placement-start) .select-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.select-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-end) .select-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.select-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.select-label-placement-stacked) .select-wrapper,:host(.select-label-placement-floating) .select-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}:host(.select-label-placement-stacked) .label-text-wrapper,:host(.select-label-placement-floating) .label-text-wrapper{max-width:100%}:host(.select-ltr.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0;-ms-flex-positive:1;flex-grow:1;width:100%}:host(.select-label-placement-floating) .label-text-wrapper{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}:host(.select-label-placement-floating:not(.label-floating)) .native-wrapper .select-placeholder{opacity:0}:host(.select-expanded.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.has-focus.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.has-value.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:1}:host(.label-floating) .label-text-wrapper{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]:last-of-type){-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}::slotted([slot=end]:first-of-type){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host{--border-width:0.55px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));--highlight-height:0px}.select-icon{width:1.125rem;height:1.125rem;color:var(--ion-color-step-650, var(--ion-text-color-step-350, #595959))}:host(.select-label-placement-stacked) .select-wrapper-inner,:host(.select-label-placement-floating) .select-wrapper-inner{width:calc(100% - 1.125rem - 4px)}:host(.select-disabled){opacity:0.3}::slotted(ion-button[slot=start].button-has-icon-only),::slotted(ion-button[slot=end].button-has-icon-only){--border-radius:50%;--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;aspect-ratio:1}", md: ":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--placeholder-color:currentColor;--placeholder-opacity:var(--ion-placeholder-opacity, 0.6);--background:transparent;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #0054e9);--highlight-color-valid:var(--ion-color-success, #2dd55b);--highlight-color-invalid:var(--ion-color-danger, #c5000f);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;min-height:44px;font-family:var(--ion-font-family, inherit);white-space:nowrap;cursor:pointer;z-index:2}:host(.select-label-placement-floating),:host(.select-label-placement-stacked){min-height:56px}:host(.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0}:host(.select-disabled){pointer-events:none}:host(.has-focus) button{border:2px solid #5e9ed6}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}button{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.select-icon{-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0;position:relative;-ms-flex-negative:0;flex-shrink:0}:host(.in-item-color) .select-icon{color:inherit}:host(.select-label-placement-stacked) .select-icon,:host(.select-label-placement-floating) .select-icon{position:absolute;height:100%}:host(.select-ltr.select-label-placement-stacked) .select-icon,:host(.select-ltr.select-label-placement-floating) .select-icon{right:var(--padding-end, 0)}:host(.select-rtl.select-label-placement-stacked) .select-icon,:host(.select-rtl.select-label-placement-floating) .select-icon{left:var(--padding-start, 0)}.select-text{-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:inherit;overflow:hidden}.select-wrapper{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal;cursor:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.select-wrapper .select-placeholder{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.select-wrapper-inner{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;overflow:hidden}:host(.select-label-placement-stacked) .select-wrapper-inner,:host(.select-label-placement-floating) .select-wrapper-inner{-ms-flex-positive:1;flex-grow:1}:host(.ion-touched.ion-invalid){--highlight-color:var(--highlight-color-invalid)}:host(.ion-valid){--highlight-color:var(--highlight-color-valid)}.select-bottom{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:5px;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--border-width) var(--border-style) var(--border-color);font-size:0.75rem;white-space:normal}:host(.has-focus.ion-valid),:host(.select-expanded.ion-valid),:host(.ion-touched.ion-invalid),:host(.select-expanded.ion-touched.ion-invalid){--border-color:var(--highlight-color)}.select-bottom .error-text{display:none;color:var(--highlight-color-invalid)}.select-bottom .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}:host(.ion-touched.ion-invalid) .select-bottom .error-text{display:block}:host(.ion-touched.ion-invalid) .select-bottom .helper-text{display:none}.label-text-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text,::slotted([slot=label]){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden,.select-outline-notch-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);overflow:hidden}:host(.select-justify-space-between) .select-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.select-justify-start) .select-wrapper{-ms-flex-pack:start;justify-content:start}:host(.select-justify-end) .select-wrapper{-ms-flex-pack:end;justify-content:end}:host(.select-label-placement-start) .select-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.select-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-end) .select-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.select-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.select-label-placement-stacked) .select-wrapper,:host(.select-label-placement-floating) .select-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}:host(.select-label-placement-stacked) .label-text-wrapper,:host(.select-label-placement-floating) .label-text-wrapper{max-width:100%}:host(.select-ltr.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0;-ms-flex-positive:1;flex-grow:1;width:100%}:host(.select-label-placement-floating) .label-text-wrapper{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}:host(.select-label-placement-floating:not(.label-floating)) .native-wrapper .select-placeholder{opacity:0}:host(.select-expanded.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.has-focus.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.has-value.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:1}:host(.label-floating) .label-text-wrapper{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted([slot=start]:last-of-type){-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}::slotted([slot=end]:first-of-type){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.select-fill-solid){--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--border-color:var(--ion-color-step-500, var(--ion-background-color-step-500, gray));--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}:host(.select-fill-solid) .select-wrapper{border-bottom:var(--border-width) var(--border-style) var(--border-color)}:host(.select-expanded.select-fill-solid.ion-valid),:host(.has-focus.select-fill-solid.ion-valid),:host(.select-fill-solid.ion-touched.ion-invalid){--border-color:var(--highlight-color)}:host(.select-fill-solid) .select-bottom{border-top:none}@media (any-hover: hover){:host(.select-fill-solid:hover){--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6));--border-color:var(--ion-color-step-750, var(--ion-background-color-step-750, #404040))}}:host(.select-fill-solid.select-expanded),:host(.select-fill-solid.has-focus){--background:var(--ion-color-step-150, var(--ion-background-color-step-150, #d9d9d9));--border-color:var(--highlight-color)}:host(.select-fill-solid) .select-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0px;border-end-start-radius:0px}:host(.label-floating.select-fill-solid) .label-text-wrapper{max-width:calc(100% / 0.75)}:host(.in-item.select-expanded.select-fill-solid) .select-wrapper .select-icon,:host(.in-item.has-focus.select-fill-solid) .select-wrapper .select-icon,:host(.in-item.has-focus.ion-valid.select-fill-solid) .select-wrapper .select-icon,:host(.in-item.ion-touched.ion-invalid.select-fill-solid) .select-wrapper .select-icon{color:var(--highlight-color)}:host(.select-fill-outline){--border-color:var(--ion-color-step-300, var(--ion-background-color-step-300, #b3b3b3));--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}:host(.select-fill-outline.select-shape-round){--border-radius:28px;--padding-start:32px;--padding-end:32px}:host(.has-focus.select-fill-outline.ion-valid),:host(.select-fill-outline.ion-touched.ion-invalid){--border-color:var(--highlight-color)}@media (any-hover: hover){:host(.select-fill-outline:hover){--border-color:var(--ion-color-step-750, var(--ion-background-color-step-750, #404040))}}:host(.select-fill-outline.select-expanded),:host(.select-fill-outline.has-focus){--border-width:var(--highlight-height);--border-color:var(--highlight-color)}:host(.select-fill-outline) .select-bottom{border-top:none}:host(.select-fill-outline) .select-wrapper{border-bottom:none}:host(.select-ltr.select-fill-outline.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-fill-outline.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-fill-outline.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-fill-outline.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-fill-outline.select-label-placement-stacked) .label-text-wrapper,:host(.select-fill-outline.select-label-placement-floating) .label-text-wrapper{position:absolute;max-width:calc(100% - var(--padding-start) - var(--padding-end))}:host(.select-fill-outline) .label-text-wrapper{position:relative;z-index:1}:host(.label-floating.select-fill-outline) .label-text-wrapper{-webkit-transform:translateY(-32%) scale(0.75);transform:translateY(-32%) scale(0.75);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;max-width:calc((100% - var(--padding-start) - var(--padding-end) - 8px) / 0.75)}:host(.select-fill-outline.select-label-placement-stacked) select,:host(.select-fill-outline.select-label-placement-floating) select{margin-left:0;margin-right:0;margin-top:6px;margin-bottom:6px}:host(.select-fill-outline) .select-outline-container{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;width:100%;height:100%}:host(.select-fill-outline) .select-outline-start,:host(.select-fill-outline) .select-outline-end{pointer-events:none}:host(.select-fill-outline) .select-outline-start,:host(.select-fill-outline) .select-outline-notch,:host(.select-fill-outline) .select-outline-end{border-top:var(--border-width) var(--border-style) var(--border-color);border-bottom:var(--border-width) var(--border-style) var(--border-color);-webkit-box-sizing:border-box;box-sizing:border-box}:host(.select-fill-outline) .select-outline-notch{max-width:calc(100% - var(--padding-start) - var(--padding-end))}:host(.select-fill-outline) .notch-spacer{-webkit-padding-end:8px;padding-inline-end:8px;font-size:calc(1em * 0.75);opacity:0;pointer-events:none}:host(.select-fill-outline) .select-outline-start{-webkit-border-start:var(--border-width) var(--border-style) var(--border-color);border-inline-start:var(--border-width) var(--border-style) var(--border-color)}:host(.select-fill-outline) .select-outline-start{border-start-start-radius:var(--border-radius);border-start-end-radius:0px;border-end-end-radius:0px;border-end-start-radius:var(--border-radius)}:host(.select-fill-outline) .select-outline-start{width:calc(var(--padding-start) - 4px)}:host(.select-fill-outline) .select-outline-end{-webkit-border-end:var(--border-width) var(--border-style) var(--border-color);border-inline-end:var(--border-width) var(--border-style) var(--border-color)}:host(.select-fill-outline) .select-outline-end{border-start-start-radius:0px;border-start-end-radius:var(--border-radius);border-end-end-radius:var(--border-radius);border-end-start-radius:0px}:host(.select-fill-outline) .select-outline-end{-ms-flex-positive:1;flex-grow:1}:host(.label-floating.select-fill-outline) .select-outline-notch{border-top:none}:host(.in-item.select-expanded.select-fill-outline) .select-wrapper .select-icon,:host(.in-item.has-focus.select-fill-outline) .select-wrapper .select-icon,:host(.in-item.has-focus.ion-valid.select-fill-outline) .select-wrapper .select-icon,:host(.in-item.ion-touched.ion-invalid.select-fill-outline) .select-wrapper .select-icon{color:var(--highlight-color)}:host{--border-width:1px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));--highlight-height:2px}:host(.select-label-placement-floating.select-expanded) .label-text-wrapper,:host(.select-label-placement-floating.has-focus) .label-text-wrapper,:host(.select-label-placement-stacked.select-expanded) .label-text-wrapper,:host(.select-label-placement-stacked.has-focus) .label-text-wrapper{color:var(--highlight-color)}:host(.has-focus.select-label-placement-floating.ion-valid) .label-text-wrapper,:host(.select-label-placement-floating.ion-touched.ion-invalid) .label-text-wrapper,:host(.has-focus.select-label-placement-stacked.ion-valid) .label-text-wrapper,:host(.select-label-placement-stacked.ion-touched.ion-invalid) .label-text-wrapper{color:var(--highlight-color)}.select-highlight{bottom:-1px;position:absolute;width:100%;height:var(--highlight-height);-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform 200ms;transition:-webkit-transform 200ms;transition:transform 200ms;transition:transform 200ms, -webkit-transform 200ms;background:var(--highlight-color)}.select-highlight{inset-inline-start:0}:host(.select-expanded) .select-highlight,:host(.has-focus) .select-highlight{-webkit-transform:scale(1);transform:scale(1)}:host(.in-item) .select-highlight{bottom:0}:host(.in-item) .select-highlight{inset-inline-start:0}.select-icon{width:0.8125rem;-webkit-transition:-webkit-transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);transition:transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);color:var(--ion-color-step-500, var(--ion-text-color-step-500, gray))}:host(.select-expanded:not(.has-expanded-icon)) .select-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.in-item.select-expanded) .select-wrapper .select-icon,:host(.in-item.has-focus) .select-wrapper .select-icon,:host(.in-item.has-focus.ion-valid) .select-wrapper .select-icon,:host(.in-item.ion-touched.ion-invalid) .select-wrapper .select-icon{color:var(--ion-color-step-500, var(--ion-text-color-step-500, gray))}:host(.select-expanded) .select-wrapper .select-icon,:host(.has-focus.ion-valid) .select-wrapper .select-icon,:host(.ion-touched.ion-invalid) .select-wrapper .select-icon,:host(.has-focus) .select-wrapper .select-icon{color:var(--highlight-color)}:host(.select-shape-round){--border-radius:16px}:host(.select-label-placement-stacked) .select-wrapper-inner,:host(.select-label-placement-floating) .select-wrapper-inner{width:calc(100% - 0.8125rem - 4px)}:host(.select-disabled){opacity:0.38}::slotted(ion-button[slot=start].button-has-icon-only),::slotted(ion-button[slot=end].button-has-icon-only){--border-radius:50%;--padding-start:8px;--padding-end:8px;--padding-top:8px;--padding-bottom:8px;aspect-ratio:1;min-height:40px}" };
  }
}, [289, "ion-select", { cancelText: [1, "cancel-text"], color: [513], compareWith: [1, "compare-with"], disabled: [4], fill: [1], errorText: [1, "error-text"], helperText: [1, "helper-text"], interface: [1], interfaceOptions: [8, "interface-options"], justify: [1], label: [1], labelPlacement: [1, "label-placement"], multiple: [4], name: [1], okText: [1, "ok-text"], placeholder: [1], selectedText: [1, "selected-text"], toggleIcon: [1, "toggle-icon"], expandedIcon: [1, "expanded-icon"], shape: [1], value: [1032], required: [4], isExpanded: [32], hasFocus: [32], isInvalid: [32], hintTextId: [32], open: [64] }, void 0, { disabled: [{ styleChanged: 0 }], isExpanded: [{ styleChanged: 0 }], placeholder: [{ styleChanged: 0 }], value: [{ styleChanged: 0 }] }]);
var G8 = (e16) => {
  const t17 = e16.value;
  return void 0 === t17 ? e16.textContent || "" : t17;
};
var Q6 = (e16) => {
  if (null != e16) return Array.isArray(e16) ? e16.join(",") : "" + e16;
};
var X6 = (e16, t17, i16) => void 0 === t17 ? "" : Array.isArray(t17) ? t17.map(((t18) => Z6(e16, t18, i16))).filter(((e17) => null !== e17)).join(", ") : Z6(e16, t17, i16) || "";
var Z6 = (e16, t17, i16) => {
  const l27 = e16.find(((e17) => p23(t17, G8(e17), i16)));
  return l27 ? l27.textContent : null;
};
var _5 = 0;
var ee2 = "select-interface-option";
var ie2 = function() {
  "undefined" != typeof customElements && ["ion-select", "ion-action-sheet", "ion-alert", "ion-backdrop", "ion-button", "ion-buttons", "ion-checkbox", "ion-content", "ion-header", "ion-icon", "ion-item", "ion-label", "ion-list", "ion-list-header", "ion-modal", "ion-popover", "ion-radio", "ion-radio-group", "ion-ripple-effect", "ion-select-modal", "ion-select-popover", "ion-title", "ion-toolbar"].forEach(((e16) => {
    switch (e16) {
      case "ion-select":
        customElements.get(Zn(e16)) || customElements.define(Zn(e16), U5);
        break;
      case "ion-action-sheet":
        customElements.get(Zn(e16)) || S5();
        break;
      case "ion-alert":
        customElements.get(Zn(e16)) || H5();
        break;
      case "ion-backdrop":
        customElements.get(Zn(e16)) || c11();
        break;
      case "ion-button":
        customElements.get(Zn(e16)) || m11();
        break;
      case "ion-buttons":
        customElements.get(Zn(e16)) || c15();
        break;
      case "ion-checkbox":
        customElements.get(Zn(e16)) || d18();
        break;
      case "ion-content":
        customElements.get(Zn(e16)) || x6();
        break;
      case "ion-header":
        customElements.get(Zn(e16)) || w7();
        break;
      case "ion-icon":
        customElements.get(Zn(e16)) || y6();
        break;
      case "ion-item":
        customElements.get(Zn(e16)) || v13();
        break;
      case "ion-label":
        customElements.get(Zn(e16)) || m18();
        break;
      case "ion-list":
        customElements.get(Zn(e16)) || l20();
        break;
      case "ion-list-header":
        customElements.get(Zn(e16)) || l21();
        break;
      case "ion-modal":
        customElements.get(Zn(e16)) || ct();
        break;
      case "ion-popover":
        customElements.get(Zn(e16)) || Z4();
        break;
      case "ion-radio":
        customElements.get(Zn(e16)) || x10();
        break;
      case "ion-radio-group":
        customElements.get(Zn(e16)) || p28();
        break;
      case "ion-ripple-effect":
        customElements.get(Zn(e16)) || p7();
        break;
      case "ion-select-modal":
        customElements.get(Zn(e16)) || E9();
        break;
      case "ion-select-popover":
        customElements.get(Zn(e16)) || k11();
        break;
      case "ion-title":
        customElements.get(Zn(e16)) || d20();
        break;
      case "ion-toolbar":
        customElements.get(Zn(e16)) || b16();
    }
  }));
};

// node_modules/@ionic/core/components/ion-textarea.js
var w11 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.ionChange = Jt(this, "ionChange", 7), this.ionInput = Jt(this, "ionInput", 7), this.ionBlur = Jt(this, "ionBlur", 7), this.ionFocus = Jt(this, "ionFocus", 7), this.inputId = "ion-textarea-" + v16++, this.helperTextId = this.inputId + "-helper-text", this.errorTextId = this.inputId + "-error-text", this.didTextareaClearOnEdit = false, this.inheritedAttributes = {}, this.hasFocus = false, this.isInvalid = false, this.autocapitalize = "none", this.autofocus = false, this.clearOnEdit = false, this.disabled = false, this.name = this.inputId, this.readonly = false, this.required = false, this.spellcheck = false, this.autoGrow = false, this.value = "", this.counter = false, this.labelPlacement = "start", this.onInput = (t18) => {
      const e16 = t18.target;
      e16 && (this.value = e16.value || ""), this.emitInputChange(t18);
    }, this.onChange = (t18) => {
      this.emitValueChange(t18);
    }, this.onFocus = (t18) => {
      this.hasFocus = true, this.focusedValue = this.value, this.ionFocus.emit(t18);
    }, this.onBlur = (t18) => {
      this.hasFocus = false, this.focusedValue !== this.value && this.emitValueChange(t18), this.didTextareaClearOnEdit = false, this.ionBlur.emit(t18);
    }, this.onKeyDown = (t18) => {
      this.checkClearOnEdit(t18);
    }, this.onLabelClick = (t18) => {
      t18.target === t18.currentTarget && t18.stopPropagation();
    };
  }
  debounceChanged() {
    const { ionInput: t17, debounce: e16, originalIonInput: a17 } = this;
    this.ionInput = void 0 === e16 ? null != a17 ? a17 : t17 : y(t17, e16);
  }
  valueChanged() {
    const t17 = this.nativeInput, e16 = this.getValue();
    t17 && t17.value !== e16 && (t17.value = e16), this.runAutoGrow();
  }
  onDirChanged(t17) {
    this.inheritedAttributes = Object.assign(Object.assign({}, this.inheritedAttributes), { dir: t17 }), Rn(this);
  }
  onClickCapture(t17) {
    const e16 = this.nativeInput;
    e16 && t17.target === e16 && (t17.stopPropagation(), this.el.click());
  }
  connectedCallback() {
    const { el: t17 } = this;
    this.slotMutationController = e15(t17, ["label", "start", "end"], (() => Rn(this))), this.notchController = r30(t17, (() => this.notchSpacerEl), (() => this.labelSlot)), "undefined" != typeof MutationObserver && (this.validationObserver = new MutationObserver((() => {
      const t18 = n13(this.el);
      this.isInvalid !== t18 && (this.isInvalid = t18, Rn(this));
    })), this.validationObserver.observe(t17, { attributes: true, attributeFilter: ["class"] })), this.isInvalid = n13(this.el), this.debounceChanged(), document.dispatchEvent(new CustomEvent("ionInputDidLoad", { detail: t17 }));
  }
  disconnectedCallback() {
    document.dispatchEvent(new CustomEvent("ionInputDidUnload", { detail: this.el })), this.slotMutationController && (this.slotMutationController.destroy(), this.slotMutationController = void 0), this.notchController && (this.notchController.destroy(), this.notchController = void 0), this.validationObserver && (this.validationObserver.disconnect(), this.validationObserver = void 0);
  }
  componentWillLoad() {
    this.inheritedAttributes = Object.assign(Object.assign({}, s2(this.el)), n2(this.el, ["data-form-type", "title", "tabindex", "dir"]));
  }
  componentDidLoad() {
    this.originalIonInput = this.ionInput, this.runAutoGrow();
  }
  componentDidRender() {
    var t17;
    null === (t17 = this.notchController) || void 0 === t17 || t17.calculateNotchWidth();
  }
  setFocus() {
    return __async(this, null, function* () {
      this.nativeInput && this.nativeInput.focus();
    });
  }
  getInputElement() {
    return __async(this, null, function* () {
      return this.nativeInput || (yield new Promise(((t17) => e2(this.el, t17)))), Promise.resolve(this.nativeInput);
    });
  }
  emitValueChange(t17) {
    const { value: e16 } = this, a17 = null == e16 ? e16 : "" + e16;
    this.focusedValue = a17, this.ionChange.emit({ value: a17, event: t17 });
  }
  emitInputChange(t17) {
    const { value: e16 } = this;
    this.ionInput.emit({ value: e16, event: t17 });
  }
  runAutoGrow() {
    this.nativeInput && this.autoGrow && P((() => {
      var t17;
      this.textareaWrapper && (this.textareaWrapper.dataset.replicatedValue = null !== (t17 = this.value) && void 0 !== t17 ? t17 : "");
    }));
  }
  checkClearOnEdit(t17) {
    if (!this.clearOnEdit) return;
    const e16 = ["Tab", "Shift", "Meta", "Alt", "Control"].includes(t17.key);
    this.didTextareaClearOnEdit || !this.hasValue() || e16 || (this.value = "", this.emitInputChange(t17)), e16 || (this.didTextareaClearOnEdit = true);
  }
  hasValue() {
    return "" !== this.getValue();
  }
  getValue() {
    return this.value || "";
  }
  renderLabel() {
    const { label: t17 } = this;
    return Ct("div", { class: { "label-text-wrapper": true, "label-text-wrapper-hidden": !this.hasLabel } }, void 0 === t17 ? Ct("slot", { name: "label" }) : Ct("div", { class: "label-text" }, t17));
  }
  get labelSlot() {
    return this.el.querySelector('[slot="label"]');
  }
  get hasLabel() {
    return void 0 !== this.label || null !== this.labelSlot;
  }
  renderLabelContainer() {
    return "md" === g(this) && "outline" === this.fill ? [Ct("div", { class: "textarea-outline-container" }, Ct("div", { class: "textarea-outline-start" }), Ct("div", { class: { "textarea-outline-notch": true, "textarea-outline-notch-hidden": !this.hasLabel } }, Ct("div", { class: "notch-spacer", "aria-hidden": "true", ref: (t17) => this.notchSpacerEl = t17 }, this.label)), Ct("div", { class: "textarea-outline-end" })), this.renderLabel()] : this.renderLabel();
  }
  renderHintText() {
    const { helperText: t17, errorText: e16, helperTextId: a17, errorTextId: i16, isInvalid: r32 } = this;
    return [Ct("div", { id: a17, class: "helper-text", "aria-live": "polite" }, r32 ? null : t17), Ct("div", { id: i16, class: "error-text", role: "alert" }, r32 ? e16 : null)];
  }
  getHintTextID() {
    const { isInvalid: t17, helperText: e16, errorText: a17, helperTextId: i16, errorTextId: r32 } = this;
    return t17 && a17 ? r32 : e16 ? i16 : void 0;
  }
  renderCounter() {
    const { counter: t17, maxlength: e16, counterFormatter: a17, value: i16 } = this;
    if (true === t17 && void 0 !== e16) return Ct("div", { class: "counter" }, i15(i16, e16, a17));
  }
  renderBottomContent() {
    const { counter: t17, helperText: e16, errorText: a17, maxlength: i16 } = this;
    if (e16 || a17 || true === t17 && void 0 !== i16) return Ct("div", { class: "textarea-bottom" }, this.renderHintText(), this.renderCounter());
  }
  render() {
    const { inputId: t17, disabled: e16, fill: a17, shape: i16, labelPlacement: r32, el: l27, hasFocus: s23 } = this, d25 = g(this), c36 = this.getValue(), x16 = n5("ion-item", this.el), p33 = "md" === d25 && "outline" !== a17 && !x16, h21 = this.hasValue(), m28 = null !== l27.querySelector('[slot="start"], [slot="end"]'), b21 = "stacked" === r32 || "floating" === r32 && (h21 || s23 || m28);
    return Ct(It, { key: "4257e84acd46f43390fa2413d0b8f40e16a37499", class: o6(this.color, { [d25]: true, "has-value": h21, "has-focus": s23, "label-floating": b21, ["textarea-fill-" + a17]: void 0 !== a17, ["textarea-shape-" + i16]: void 0 !== i16, ["textarea-label-placement-" + r32]: true, "textarea-disabled": e16 }) }, Ct("label", { key: "003da35bad92ab36777b7ae40855541bf900c64a", class: "textarea-wrapper", htmlFor: t17, onClick: this.onLabelClick }, this.renderLabelContainer(), Ct("div", { key: "3cae2d19f96ba2b18a2d64298fdcc4b64ad34ac7", class: "textarea-wrapper-inner" }, Ct("div", { key: "e26cb06763d551f7f83b6ea80349871aab18a016", class: "start-slot-wrapper" }, Ct("slot", { key: "135ba6db893eaca5f2a785fe61e24f33f56f3765", name: "start" })), Ct("div", { key: "951eabdd01c5e370790cec8578268361dcc8abdc", class: "native-wrapper", ref: (t18) => this.textareaWrapper = t18 }, Ct("textarea", Object.assign({ key: "13d78f1a934b9f8d85cd9ed386dabc786f953f1d", class: "native-textarea", ref: (t18) => this.nativeInput = t18, id: t17, disabled: e16, autoCapitalize: this.autocapitalize, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, minLength: this.minlength, maxLength: this.maxlength, name: this.name, placeholder: this.placeholder || "", readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, cols: this.cols, rows: this.rows, wrap: this.wrap, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeyDown, "aria-describedby": this.getHintTextID(), "aria-invalid": this.isInvalid ? "true" : void 0 }, this.inheritedAttributes), c36)), Ct("div", { key: "699038558019470bccb4853fa65e7aeb069e0baa", class: "end-slot-wrapper" }, Ct("slot", { key: "19d8c212d7c718aeb6924e10bf8e48cad01314ea", name: "end" }))), p33 && Ct("div", { key: "910a9437437ce7cab21e37a1cb4a6b309afda58f", class: "textarea-highlight" })), this.renderBottomContent());
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { debounce: [{ debounceChanged: 0 }], value: [{ valueChanged: 0 }], dir: [{ onDirChanged: 0 }] };
  }
  static get style() {
    return { ios: '.sc-ion-textarea-ios-h{--background:initial;--color:initial;--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:var(--ion-placeholder-opacity, 0.6);--padding-top:0;--padding-end:0;--padding-bottom:8px;--padding-start:0;--border-radius:0;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #0054e9);--highlight-color-valid:var(--ion-color-success, #2dd55b);--highlight-color-invalid:var(--ion-color-danger, #c5000f);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;min-height:44px;color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}.textarea-label-placement-floating.sc-ion-textarea-ios-h,.textarea-label-placement-stacked.sc-ion-textarea-ios-h{--padding-top:0px;min-height:56px}[cols].sc-ion-textarea-ios-h:not([auto-grow]){width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.ion-color.sc-ion-textarea-ios-h{--highlight-color-focused:var(--ion-color-base);background:initial}ion-item.sc-ion-textarea-ios-h,ion-item .sc-ion-textarea-ios-h{-ms-flex-item-align:baseline;align-self:baseline}ion-item[slot=start].sc-ion-textarea-ios-h,ion-item [slot=start].sc-ion-textarea-ios-h,ion-item[slot=end].sc-ion-textarea-ios-h,ion-item [slot=end].sc-ion-textarea-ios-h{width:auto}.native-textarea.sc-ion-textarea-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;position:relative;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;white-space:pre-wrap;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box;resize:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.native-textarea.sc-ion-textarea-ios::-webkit-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios::-moz-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios:-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios::-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios::placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-ios{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;grid-area:1/1/2/2;word-break:break-word}.cloned-input.sc-ion-textarea-ios{position:absolute;top:0;bottom:0;height:auto;max-height:none;pointer-events:none}.cloned-input.sc-ion-textarea-ios:disabled{opacity:1}[auto-grow].sc-ion-textarea-ios-h .cloned-input.sc-ion-textarea-ios{height:100%}[auto-grow].sc-ion-textarea-ios-h .native-textarea.sc-ion-textarea-ios{overflow:hidden}.textarea-wrapper.sc-ion-textarea-ios{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:0px;padding-bottom:0px;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:start;align-items:flex-start;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal}.native-wrapper.sc-ion-textarea-ios{position:relative;width:100%;height:100%}.has-focus.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios{caret-color:var(--highlight-color)}.native-wrapper.sc-ion-textarea-ios textarea.sc-ion-textarea-ios{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom)}.native-wrapper.sc-ion-textarea-ios{display:grid;min-width:inherit;max-width:inherit;min-height:inherit;max-height:inherit;grid-auto-rows:100%}.native-wrapper.sc-ion-textarea-ios::after{white-space:pre-wrap;content:attr(data-replicated-value) " ";visibility:hidden}.native-wrapper.sc-ion-textarea-ios::after{padding-left:0;padding-right:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;grid-area:1/1/2/2;word-break:break-word}.textarea-wrapper-inner.sc-ion-textarea-ios{display:-ms-flexbox;display:flex;width:100%;min-height:inherit}.ion-touched.ion-invalid.sc-ion-textarea-ios-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-textarea-ios-h{--highlight-color:var(--highlight-color-valid)}.textarea-bottom.sc-ion-textarea-ios{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:5px;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--border-width) var(--border-style) var(--border-color);font-size:0.75rem;white-space:normal}.has-focus.ion-valid.sc-ion-textarea-ios-h,.ion-touched.ion-invalid.sc-ion-textarea-ios-h{--border-color:var(--highlight-color)}.textarea-bottom.sc-ion-textarea-ios .error-text.sc-ion-textarea-ios{display:none;color:var(--highlight-color-invalid)}.textarea-bottom.sc-ion-textarea-ios .helper-text.sc-ion-textarea-ios{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}.ion-touched.ion-invalid.sc-ion-textarea-ios-h .textarea-bottom.sc-ion-textarea-ios .error-text.sc-ion-textarea-ios{display:block}.ion-touched.ion-invalid.sc-ion-textarea-ios-h .textarea-bottom.sc-ion-textarea-ios .helper-text.sc-ion-textarea-ios{display:none}.textarea-bottom.sc-ion-textarea-ios .counter.sc-ion-textarea-ios{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}.label-text-wrapper.sc-ion-textarea-ios{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text.sc-ion-textarea-ios,.sc-ion-textarea-ios-s>[slot=label]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden.sc-ion-textarea-ios,.textarea-outline-notch-hidden.sc-ion-textarea-ios{display:none}.textarea-wrapper.sc-ion-textarea-ios textarea.sc-ion-textarea-ios{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.textarea-label-placement-start.sc-ion-textarea-ios-h .textarea-wrapper.sc-ion-textarea-ios{-ms-flex-direction:row;flex-direction:row}.textarea-label-placement-start.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.textarea-label-placement-end.sc-ion-textarea-ios-h .textarea-wrapper.sc-ion-textarea-ios{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.textarea-label-placement-end.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}.textarea-label-placement-fixed.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.textarea-label-placement-fixed.sc-ion-textarea-ios-h .label-text.sc-ion-textarea-ios{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.textarea-label-placement-stacked.sc-ion-textarea-ios-h .textarea-wrapper.sc-ion-textarea-ios,.textarea-label-placement-floating.sc-ion-textarea-ios-h .textarea-wrapper.sc-ion-textarea-ios{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}.textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform-origin:left top;transform-origin:left top;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;max-width:100%;z-index:2}[dir=rtl].sc-ion-textarea-ios-h -no-combinator.textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl] .sc-ion-textarea-ios-h -no-combinator.textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl].textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl] .textarea-label-placement-stacked.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl].sc-ion-textarea-ios-h -no-combinator.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl] .sc-ion-textarea-ios-h -no-combinator.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl].textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios,[dir=rtl] .textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.textarea-label-placement-stacked.sc-ion-textarea-ios-h:dir(rtl) .label-text-wrapper.sc-ion-textarea-ios,.textarea-label-placement-floating.sc-ion-textarea-ios-h:dir(rtl) .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform-origin:right top;transform-origin:right top}}.textarea-label-placement-stacked.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios,.textarea-label-placement-floating.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios,.textarea-label-placement-stacked[auto-grow].sc-ion-textarea-ios-h .native-wrapper.sc-ion-textarea-ios::after,.textarea-label-placement-floating[auto-grow].sc-ion-textarea-ios-h .native-wrapper.sc-ion-textarea-ios::after{-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:8px;margin-bottom:0px}.sc-ion-textarea-ios-h.textarea-label-placement-stacked.sc-ion-textarea-ios-s>[slot=start],.sc-ion-textarea-ios-h.textarea-label-placement-stacked .sc-ion-textarea-ios-s>[slot=start],.sc-ion-textarea-ios-h.textarea-label-placement-stacked.sc-ion-textarea-ios-s>[slot=end],.sc-ion-textarea-ios-h.textarea-label-placement-stacked .sc-ion-textarea-ios-s>[slot=end],.sc-ion-textarea-ios-h.textarea-label-placement-floating.sc-ion-textarea-ios-s>[slot=start],.sc-ion-textarea-ios-h.textarea-label-placement-floating .sc-ion-textarea-ios-s>[slot=start],.sc-ion-textarea-ios-h.textarea-label-placement-floating.sc-ion-textarea-ios-s>[slot=end],.sc-ion-textarea-ios-h.textarea-label-placement-floating .sc-ion-textarea-ios-s>[slot=end]{margin-top:8px}.textarea-label-placement-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}.textarea-label-placement-floating.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios{opacity:0}.has-focus.textarea-label-placement-floating.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios,.has-value.textarea-label-placement-floating.sc-ion-textarea-ios-h textarea.sc-ion-textarea-ios{opacity:1}.label-floating.sc-ion-textarea-ios-h .label-text-wrapper.sc-ion-textarea-ios{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}.start-slot-wrapper.sc-ion-textarea-ios,.end-slot-wrapper.sc-ion-textarea-ios{padding-left:0;padding-right:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:start}.sc-ion-textarea-ios-s>[slot=start],.sc-ion-textarea-ios-s>[slot=end]{margin-top:0}.sc-ion-textarea-ios-s>[slot=start]:last-of-type{-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}.sc-ion-textarea-ios-s>[slot=end]:first-of-type{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}.sc-ion-textarea-ios-h{--border-width:0.55px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, var(--ion-background-color-step-250, #c8c7cc))));--padding-top:10px;--padding-end:0px;--padding-bottom:8px;--padding-start:0px;--highlight-height:0px;font-size:inherit}.textarea-disabled.sc-ion-textarea-ios-h{opacity:0.3}.sc-ion-textarea-ios-s>ion-button[slot=start].button-has-icon-only,.sc-ion-textarea-ios-s>ion-button[slot=end].button-has-icon-only{--border-radius:50%;--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;aspect-ratio:1}', md: '.sc-ion-textarea-md-h{--background:initial;--color:initial;--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:var(--ion-placeholder-opacity, 0.6);--padding-top:0;--padding-end:0;--padding-bottom:8px;--padding-start:0;--border-radius:0;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #0054e9);--highlight-color-valid:var(--ion-color-success, #2dd55b);--highlight-color-invalid:var(--ion-color-danger, #c5000f);--highlight-color:var(--highlight-color-focused);display:block;position:relative;width:100%;min-height:44px;color:var(--color);font-family:var(--ion-font-family, inherit);z-index:2;-webkit-box-sizing:border-box;box-sizing:border-box}.textarea-label-placement-floating.sc-ion-textarea-md-h,.textarea-label-placement-stacked.sc-ion-textarea-md-h{--padding-top:0px;min-height:56px}[cols].sc-ion-textarea-md-h:not([auto-grow]){width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.ion-color.sc-ion-textarea-md-h{--highlight-color-focused:var(--ion-color-base);background:initial}ion-item.sc-ion-textarea-md-h,ion-item .sc-ion-textarea-md-h{-ms-flex-item-align:baseline;align-self:baseline}ion-item[slot=start].sc-ion-textarea-md-h,ion-item [slot=start].sc-ion-textarea-md-h,ion-item[slot=end].sc-ion-textarea-md-h,ion-item [slot=end].sc-ion-textarea-md-h{width:auto}.native-textarea.sc-ion-textarea-md{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:block;position:relative;-ms-flex:1;flex:1;width:100%;max-width:100%;max-height:100%;border:0;outline:none;background:transparent;white-space:pre-wrap;z-index:1;-webkit-box-sizing:border-box;box-sizing:border-box;resize:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.native-textarea.sc-ion-textarea-md::-webkit-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md::-moz-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md:-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md::-ms-input-placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md::placeholder{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.native-textarea.sc-ion-textarea-md{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;grid-area:1/1/2/2;word-break:break-word}.cloned-input.sc-ion-textarea-md{position:absolute;top:0;bottom:0;height:auto;max-height:none;pointer-events:none}.cloned-input.sc-ion-textarea-md:disabled{opacity:1}[auto-grow].sc-ion-textarea-md-h .cloned-input.sc-ion-textarea-md{height:100%}[auto-grow].sc-ion-textarea-md-h .native-textarea.sc-ion-textarea-md{overflow:hidden}.textarea-wrapper.sc-ion-textarea-md{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:0px;padding-bottom:0px;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:start;align-items:flex-start;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal}.native-wrapper.sc-ion-textarea-md{position:relative;width:100%;height:100%}.has-focus.sc-ion-textarea-md-h textarea.sc-ion-textarea-md{caret-color:var(--highlight-color)}.native-wrapper.sc-ion-textarea-md textarea.sc-ion-textarea-md{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom)}.native-wrapper.sc-ion-textarea-md{display:grid;min-width:inherit;max-width:inherit;min-height:inherit;max-height:inherit;grid-auto-rows:100%}.native-wrapper.sc-ion-textarea-md::after{white-space:pre-wrap;content:attr(data-replicated-value) " ";visibility:hidden}.native-wrapper.sc-ion-textarea-md::after{padding-left:0;padding-right:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border-radius:var(--border-radius);color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;grid-area:1/1/2/2;word-break:break-word}.textarea-wrapper-inner.sc-ion-textarea-md{display:-ms-flexbox;display:flex;width:100%;min-height:inherit}.ion-touched.ion-invalid.sc-ion-textarea-md-h{--highlight-color:var(--highlight-color-invalid)}.ion-valid.sc-ion-textarea-md-h{--highlight-color:var(--highlight-color-valid)}.textarea-bottom.sc-ion-textarea-md{-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:5px;padding-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;border-top:var(--border-width) var(--border-style) var(--border-color);font-size:0.75rem;white-space:normal}.has-focus.ion-valid.sc-ion-textarea-md-h,.ion-touched.ion-invalid.sc-ion-textarea-md-h{--border-color:var(--highlight-color)}.textarea-bottom.sc-ion-textarea-md .error-text.sc-ion-textarea-md{display:none;color:var(--highlight-color-invalid)}.textarea-bottom.sc-ion-textarea-md .helper-text.sc-ion-textarea-md{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}.ion-touched.ion-invalid.sc-ion-textarea-md-h .textarea-bottom.sc-ion-textarea-md .error-text.sc-ion-textarea-md{display:block}.ion-touched.ion-invalid.sc-ion-textarea-md-h .textarea-bottom.sc-ion-textarea-md .helper-text.sc-ion-textarea-md{display:none}.textarea-bottom.sc-ion-textarea-md .counter.sc-ion-textarea-md{-webkit-margin-start:auto;margin-inline-start:auto;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d));white-space:nowrap;-webkit-padding-start:16px;padding-inline-start:16px}.label-text-wrapper.sc-ion-textarea-md{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text.sc-ion-textarea-md,.sc-ion-textarea-md-s>[slot=label]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden.sc-ion-textarea-md,.textarea-outline-notch-hidden.sc-ion-textarea-md{display:none}.textarea-wrapper.sc-ion-textarea-md textarea.sc-ion-textarea-md{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.textarea-label-placement-start.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{-ms-flex-direction:row;flex-direction:row}.textarea-label-placement-start.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.textarea-label-placement-end.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.textarea-label-placement-end.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}.textarea-label-placement-fixed.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}.textarea-label-placement-fixed.sc-ion-textarea-md-h .label-text.sc-ion-textarea-md{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.textarea-label-placement-stacked.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md,.textarea-label-placement-floating.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:left top;transform-origin:left top;-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:0px;padding-bottom:0px;max-width:100%;z-index:2}[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.textarea-label-placement-stacked.sc-ion-textarea-md-h:dir(rtl) .label-text-wrapper.sc-ion-textarea-md,.textarea-label-placement-floating.sc-ion-textarea-md-h:dir(rtl) .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:right top;transform-origin:right top}}.textarea-label-placement-stacked.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.textarea-label-placement-stacked[auto-grow].sc-ion-textarea-md-h .native-wrapper.sc-ion-textarea-md::after,.textarea-label-placement-floating[auto-grow].sc-ion-textarea-md-h .native-wrapper.sc-ion-textarea-md::after{-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:8px;margin-bottom:0px}.sc-ion-textarea-md-h.textarea-label-placement-stacked.sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-label-placement-stacked .sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-label-placement-stacked.sc-ion-textarea-md-s>[slot=end],.sc-ion-textarea-md-h.textarea-label-placement-stacked .sc-ion-textarea-md-s>[slot=end],.sc-ion-textarea-md-h.textarea-label-placement-floating.sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-label-placement-floating .sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-label-placement-floating.sc-ion-textarea-md-s>[slot=end],.sc-ion-textarea-md-h.textarea-label-placement-floating .sc-ion-textarea-md-s>[slot=end]{margin-top:8px}.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md{opacity:0}.has-focus.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.has-value.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md{opacity:1}.label-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}.start-slot-wrapper.sc-ion-textarea-md,.end-slot-wrapper.sc-ion-textarea-md{padding-left:0;padding-right:0;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:start;align-self:start}.sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-s>[slot=end]{margin-top:0}.sc-ion-textarea-md-s>[slot=start]:last-of-type{-webkit-margin-end:16px;margin-inline-end:16px;-webkit-margin-start:0;margin-inline-start:0}.sc-ion-textarea-md-s>[slot=end]:first-of-type{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}.textarea-fill-solid.sc-ion-textarea-md-h{--background:var(--ion-color-step-50, var(--ion-background-color-step-50, #f2f2f2));--border-color:var(--ion-color-step-500, var(--ion-background-color-step-500, gray));--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}.textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{border-bottom:var(--border-width) var(--border-style) var(--border-color)}.has-focus.textarea-fill-solid.ion-valid.sc-ion-textarea-md-h,.textarea-fill-solid.ion-touched.ion-invalid.sc-ion-textarea-md-h{--border-color:var(--highlight-color)}.textarea-fill-solid.sc-ion-textarea-md-h .textarea-bottom.sc-ion-textarea-md{border-top:none}@media (any-hover: hover){.textarea-fill-solid.sc-ion-textarea-md-h:hover{--background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6));--border-color:var(--ion-color-step-750, var(--ion-background-color-step-750, #404040))}}.textarea-fill-solid.has-focus.sc-ion-textarea-md-h{--background:var(--ion-color-step-150, var(--ion-background-color-step-150, #d9d9d9));--border-color:var(--ion-color-step-750, var(--ion-background-color-step-750, #404040))}.textarea-fill-solid.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0px;border-end-start-radius:0px}.label-floating.textarea-fill-solid.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{max-width:calc(100% / 0.75)}.textarea-fill-outline.sc-ion-textarea-md-h{--border-color:var(--ion-color-step-300, var(--ion-background-color-step-300, #b3b3b3));--border-radius:4px;--padding-start:16px;--padding-end:16px;min-height:56px}.textarea-fill-outline.textarea-shape-round.sc-ion-textarea-md-h{--border-radius:28px;--padding-start:32px;--padding-end:32px}.has-focus.textarea-fill-outline.ion-valid.sc-ion-textarea-md-h,.textarea-fill-outline.ion-touched.ion-invalid.sc-ion-textarea-md-h{--border-color:var(--highlight-color)}@media (any-hover: hover){.textarea-fill-outline.sc-ion-textarea-md-h:hover{--border-color:var(--ion-color-step-750, var(--ion-background-color-step-750, #404040))}}.textarea-fill-outline.has-focus.sc-ion-textarea-md-h{--border-width:var(--highlight-height);--border-color:var(--highlight-color)}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-bottom.sc-ion-textarea-md{border-top:none}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-wrapper.sc-ion-textarea-md{border-bottom:none}.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:left top;transform-origin:left top;position:absolute;max-width:calc(100% - var(--padding-start) - var(--padding-end))}[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .sc-ion-textarea-md-h -no-combinator.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl].textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,[dir=rtl] .textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h:dir(rtl) .label-text-wrapper.sc-ion-textarea-md,.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h:dir(rtl) .label-text-wrapper.sc-ion-textarea-md{-webkit-transform-origin:right top;transform-origin:right top}}.textarea-fill-outline.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{position:relative}.label-floating.textarea-fill-outline.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{-webkit-transform:translateY(-32%) scale(0.75);transform:translateY(-32%) scale(0.75);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;max-width:calc(     (100% - var(--padding-start) - var(--padding-end) - 8px) / 0.75   )}.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-h textarea.sc-ion-textarea-md,.textarea-fill-outline.textarea-label-placement-stacked[auto-grow].sc-ion-textarea-md-h .native-wrapper.sc-ion-textarea-md::after,.textarea-fill-outline.textarea-label-placement-floating[auto-grow].sc-ion-textarea-md-h .native-wrapper.sc-ion-textarea-md::after{-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:0px;margin-inline-end:0px;margin-top:12px;margin-bottom:0px}.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-stacked .sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-stacked.sc-ion-textarea-md-s>[slot=end],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-stacked .sc-ion-textarea-md-s>[slot=end],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-floating .sc-ion-textarea-md-s>[slot=start],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-floating.sc-ion-textarea-md-s>[slot=end],.sc-ion-textarea-md-h.textarea-fill-outline.textarea-label-placement-floating .sc-ion-textarea-md-s>[slot=end]{margin-top:12px}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-container.sc-ion-textarea-md{left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;width:100%;height:100%}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md,.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md{pointer-events:none}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md,.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-notch.sc-ion-textarea-md,.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md{border-top:var(--border-width) var(--border-style) var(--border-color);border-bottom:var(--border-width) var(--border-style) var(--border-color)}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-notch.sc-ion-textarea-md{max-width:calc(100% - var(--padding-start) - var(--padding-end))}.textarea-fill-outline.sc-ion-textarea-md-h .notch-spacer.sc-ion-textarea-md{-webkit-padding-end:8px;padding-inline-end:8px;font-size:calc(1em * 0.75);opacity:0;pointer-events:none;-webkit-box-sizing:content-box;box-sizing:content-box}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-start.sc-ion-textarea-md{border-start-start-radius:var(--border-radius);border-start-end-radius:0px;border-end-end-radius:0px;border-end-start-radius:var(--border-radius);-webkit-border-start:var(--border-width) var(--border-style) var(--border-color);border-inline-start:var(--border-width) var(--border-style) var(--border-color);width:calc(var(--padding-start) - 4px)}.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-end.sc-ion-textarea-md{-webkit-border-end:var(--border-width) var(--border-style) var(--border-color);border-inline-end:var(--border-width) var(--border-style) var(--border-color);border-start-start-radius:0px;border-start-end-radius:var(--border-radius);border-end-end-radius:var(--border-radius);border-end-start-radius:0px;-ms-flex-positive:1;flex-grow:1}.label-floating.textarea-fill-outline.sc-ion-textarea-md-h .textarea-outline-notch.sc-ion-textarea-md{border-top:none}.sc-ion-textarea-md-h{--border-width:1px;--border-color:var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));--padding-top:18px;--padding-end:0px;--padding-bottom:8px;--padding-start:0px;--highlight-height:2px;font-size:inherit}.textarea-bottom.sc-ion-textarea-md .counter.sc-ion-textarea-md{letter-spacing:0.0333333333em}.textarea-label-placement-floating.has-focus.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-label-placement-stacked.has-focus.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{color:var(--highlight-color)}.has-focus.textarea-label-placement-floating.ion-valid.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-label-placement-floating.ion-touched.ion-invalid.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.has-focus.textarea-label-placement-stacked.ion-valid.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md,.textarea-label-placement-stacked.ion-touched.ion-invalid.sc-ion-textarea-md-h .label-text-wrapper.sc-ion-textarea-md{color:var(--highlight-color)}.textarea-disabled.sc-ion-textarea-md-h{opacity:0.38}.textarea-highlight.sc-ion-textarea-md{bottom:-1px;position:absolute;width:100%;height:var(--highlight-height);-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform 200ms;transition:-webkit-transform 200ms;transition:transform 200ms;transition:transform 200ms, -webkit-transform 200ms;background:var(--highlight-color)}.textarea-highlight.sc-ion-textarea-md{inset-inline-start:0}.has-focus.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{-webkit-transform:scale(1);transform:scale(1)}.in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{bottom:0}.in-item.sc-ion-textarea-md-h .textarea-highlight.sc-ion-textarea-md{inset-inline-start:0}.textarea-shape-round.sc-ion-textarea-md-h{--border-radius:16px}.sc-ion-textarea-md-s>ion-button[slot=start].button-has-icon-only,.sc-ion-textarea-md-s>ion-button[slot=end].button-has-icon-only{--border-radius:50%;--padding-start:8px;--padding-end:8px;--padding-top:8px;--padding-bottom:8px;aspect-ratio:1;min-height:40px}' };
  }
}, [294, "ion-textarea", { color: [513], autocapitalize: [1], autofocus: [4], clearOnEdit: [4, "clear-on-edit"], debounce: [2], disabled: [516], fill: [1], inputmode: [1], enterkeyhint: [1], maxlength: [2], minlength: [2], name: [1], placeholder: [1], readonly: [516], required: [4], spellcheck: [4], cols: [514], rows: [2], wrap: [1], autoGrow: [516, "auto-grow"], value: [1025], counter: [4], counterFormatter: [16], errorText: [1, "error-text"], helperText: [1, "helper-text"], label: [1], labelPlacement: [1, "label-placement"], shape: [1], hasFocus: [32], isInvalid: [32], setFocus: [64], getInputElement: [64] }, [[2, "click", "onClickCapture"]], { debounce: [{ debounceChanged: 0 }], value: [{ valueChanged: 0 }], dir: [{ onDirChanged: 0 }] }]);
var v16 = 0;
var y12 = function() {
  "undefined" != typeof customElements && ["ion-textarea"].forEach(((t17) => {
    "ion-textarea" === t17 && (customElements.get(Zn(t17)) || customElements.define(Zn(t17), w11));
  }));
};

// node_modules/@ionic/core/components/ion-toggle.js
var u20 = Dn(class extends I {
  constructor(t17) {
    super(), false !== t17 && this.__registerHost(), this.__attachShadow(), this.ionChange = Jt(this, "ionChange", 7), this.ionFocus = Jt(this, "ionFocus", 7), this.ionBlur = Jt(this, "ionBlur", 7), this.inputId = "ion-tg-" + y13++, this.inputLabelId = this.inputId + "-lbl", this.helperTextId = this.inputId + "-helper-text", this.errorTextId = this.inputId + "-error-text", this.lastDrag = 0, this.inheritedAttributes = {}, this.didLoad = false, this.activated = false, this.isInvalid = false, this.name = this.inputId, this.checked = false, this.disabled = false, this.value = "on", this.enableOnOffLabels = n.get("toggleOnOffLabels"), this.labelPlacement = "start", this.required = false, this.setupGesture = () => __async(this, null, function* () {
      const { toggleTrack: t18 } = this;
      t18 && (this.gesture = (yield import("./chunk-7STYLPNF.js")).createGesture({ el: t18, gestureName: "toggle", gesturePriority: 100, threshold: 5, passive: false, onStart: () => this.onStart(), onMove: (t19) => this.onMove(t19), onEnd: (t19) => this.onEnd(t19) }), this.disabledChanged());
    }), this.onKeyDown = (t18) => {
      " " === t18.key && (t18.preventDefault(), this.disabled || this.toggleChecked());
    }, this.onClick = (t18) => {
      const e16 = s7("ios");
      this.disabled || (t18.preventDefault(), this.lastDrag + 300 < Date.now() && (this.toggleChecked(), e16 && e10()));
    }, this.onDivLabelClick = (t18) => {
      t18.stopPropagation();
    }, this.onFocus = () => {
      this.ionFocus.emit();
    }, this.onBlur = () => {
      this.ionBlur.emit();
    }, this.getSwitchLabelIcon = (t18, e16) => "md" === t18 ? e16 ? t10 : f6 : e16 ? f6 : d5;
  }
  disabledChanged() {
    this.gesture && this.gesture.enable(!this.disabled);
  }
  toggleChecked() {
    const { checked: t17, value: e16 } = this, a17 = !t17;
    this.checked = a17, this.ionChange.emit({ checked: a17, value: e16 });
  }
  connectedCallback() {
    return __async(this, null, function* () {
      const { didLoad: t17, el: e16 } = this;
      t17 && this.setupGesture(), "undefined" != typeof MutationObserver && (this.validationObserver = new MutationObserver((() => {
        const t18 = n13(e16);
        this.isInvalid !== t18 && (this.isInvalid = t18, Promise.resolve().then((() => {
          this.hintTextId = this.getHintTextId();
        })));
      })), this.validationObserver.observe(e16, { attributes: true, attributeFilter: ["class"] })), this.isInvalid = n13(e16);
    });
  }
  componentDidLoad() {
    this.setupGesture(), this.didLoad = true;
  }
  disconnectedCallback() {
    this.gesture && (this.gesture.destroy(), this.gesture = void 0), this.validationObserver && (this.validationObserver.disconnect(), this.validationObserver = void 0);
  }
  componentWillLoad() {
    this.inheritedAttributes = Object.assign({}, s2(this.el)), this.hintTextId = this.getHintTextId();
  }
  onStart() {
    this.activated = true, this.setFocus();
  }
  onMove(t17) {
    v17(o4(this.el), this.checked, t17.deltaX, -10) && (this.toggleChecked(), e10());
  }
  onEnd(t17) {
    this.activated = false, this.lastDrag = Date.now(), t17.event.preventDefault(), t17.event.stopImmediatePropagation();
  }
  getValue() {
    return this.value || "";
  }
  setFocus() {
    this.el.focus();
  }
  renderOnOffSwitchLabels(t17, e16) {
    const a17 = this.getSwitchLabelIcon(t17, e16);
    return Ct("ion-icon", { class: { "toggle-switch-icon": true, "toggle-switch-icon-checked": e16 }, icon: a17, "aria-hidden": "true" });
  }
  renderToggleControl() {
    const t17 = g(this), { enableOnOffLabels: e16, checked: a17 } = this;
    return Ct("div", { class: "toggle-icon", part: "track", ref: (t18) => this.toggleTrack = t18 }, e16 && "ios" === t17 && [this.renderOnOffSwitchLabels(t17, true), this.renderOnOffSwitchLabels(t17, false)], Ct("div", { class: "toggle-icon-wrapper" }, Ct("div", { class: "toggle-inner", part: "handle" }, e16 && "md" === t17 && this.renderOnOffSwitchLabels(t17, a17))));
  }
  get hasLabel() {
    return "" !== this.el.textContent;
  }
  getHintTextId() {
    const { helperText: t17, errorText: e16, helperTextId: a17, errorTextId: o14, isInvalid: r32 } = this;
    return r32 && e16 ? o14 : t17 ? a17 : void 0;
  }
  renderHintText() {
    const { helperText: t17, errorText: e16, helperTextId: a17, errorTextId: o14, isInvalid: i16 } = this;
    if (t17 || e16) return Ct("div", { class: "toggle-bottom" }, Ct("div", { id: a17, class: "helper-text", part: "supporting-text helper-text", "aria-live": "polite" }, i16 ? null : t17), Ct("div", { id: o14, class: "error-text", part: "supporting-text error-text", role: "alert" }, i16 ? e16 : null));
  }
  render() {
    const { activated: t17, alignment: e16, checked: a17, color: o14, disabled: l27, el: n15, hasLabel: g20, inheritedAttributes: c36, inputId: d25, inputLabelId: x16, justify: f27, labelPlacement: w12, name: k12, required: u21 } = this, v18 = g(this), y14 = this.getValue(), j8 = o4(n15) ? "rtl" : "ltr";
    return f2(true, n15, k12, a17 ? y14 : "", l27), Ct(It, { key: "736e1dcfca34fd41f6f0632652e7f86d6996a232", role: "switch", "aria-checked": "" + a17, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? "true" : void 0, onClick: this.onClick, "aria-labelledby": g20 ? x16 : null, "aria-label": c36["aria-label"] || null, "aria-disabled": l27 ? "true" : null, "aria-required": u21 ? "true" : void 0, tabindex: l27 ? void 0 : 0, onKeyDown: this.onKeyDown, onFocus: this.onFocus, onBlur: this.onBlur, class: o6(o14, { [v18]: true, "in-item": n5("ion-item", n15), "toggle-activated": t17, "toggle-checked": a17, "toggle-disabled": l27, ["toggle-justify-" + f27]: void 0 !== f27, ["toggle-alignment-" + e16]: void 0 !== e16, ["toggle-label-placement-" + w12]: true, ["toggle-" + j8]: true }) }, Ct("label", { key: "e697739fd3964c1c6c23331cf7e38a9841c46a6a", class: "toggle-wrapper", htmlFor: d25 }, Ct("input", Object.assign({ key: "3d500b8c1bc879591249d183c1abb3f5f26aff6b", type: "checkbox", role: "switch", "aria-checked": "" + a17, checked: a17, disabled: l27, id: d25, required: u21 }, c36)), Ct("div", { key: "e38f3fe0e66b4ca434fd81514f5ef771c2960841", class: { "label-text-wrapper": true, "label-text-wrapper-hidden": !g20 }, part: "label", id: x16, onClick: this.onDivLabelClick }, Ct("slot", { key: "006dd3558264d69ab020c07005b348adc4ecdd5b" }), this.renderHintText()), Ct("div", { key: "dd4e52de31caabee41ec1bc58efecd1e213368c9", class: "native-wrapper" }, this.renderToggleControl())));
  }
  get el() {
    return this;
  }
  static get watchers() {
    return { disabled: [{ disabledChanged: 0 }] };
  }
  static get style() {
    return { ios: ":host{-webkit-box-sizing:content-box !important;box-sizing:content-box !important;display:inline-block;position:relative;max-width:100%;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-focused) input{border:2px solid #5e9ed6}:host(.toggle-disabled){pointer-events:none}input{display:none}.toggle-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.toggle-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.toggle-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.toggle-bottom{padding-top:4px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75rem;white-space:normal}:host(.toggle-label-placement-stacked) .toggle-bottom{font-size:1rem}.toggle-bottom .error-text{display:none;color:var(--ion-color-danger, #c5000f)}.toggle-bottom .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}:host(.ion-touched.ion-invalid) .toggle-bottom .error-text{display:block}:host(.ion-touched.ion-invalid) .toggle-bottom .helper-text{display:none}:host(.toggle-label-placement-start) .toggle-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.toggle-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-end) .toggle-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-pack:start;justify-content:start}:host(.toggle-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.toggle-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.toggle-label-placement-stacked) .toggle-wrapper{-ms-flex-direction:column;flex-direction:column;text-align:center}:host(.toggle-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.toggle-justify-space-between) .toggle-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.toggle-justify-start) .toggle-wrapper{-ms-flex-pack:start;justify-content:start}:host(.toggle-justify-end) .toggle-wrapper{-ms-flex-pack:end;justify-content:end}:host(.toggle-alignment-start) .toggle-wrapper{-ms-flex-align:start;align-items:start}:host(.toggle-alignment-center) .toggle-wrapper{-ms-flex-align:center;align-items:center}:host(.toggle-justify-space-between),:host(.toggle-justify-start),:host(.toggle-justify-end),:host(.toggle-alignment-start),:host(.toggle-alignment-center){display:block}.toggle-icon-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;-webkit-transition:var(--handle-transition);transition:var(--handle-transition);will-change:transform}.toggle-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;background:var(--track-background);overflow:inherit}:host(.toggle-checked) .toggle-icon{background:var(--track-background-checked)}.toggle-inner{border-radius:var(--handle-border-radius);position:absolute;left:var(--handle-spacing);width:var(--handle-width);height:var(--handle-height);max-height:var(--handle-max-height);-webkit-transition:var(--handle-transition);transition:var(--handle-transition);background:var(--handle-background);-webkit-box-shadow:var(--handle-box-shadow);box-shadow:var(--handle-box-shadow);contain:strict}:host(.toggle-ltr) .toggle-inner{left:var(--handle-spacing)}:host(.toggle-rtl) .toggle-inner{right:var(--handle-spacing)}:host(.toggle-ltr.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width)), 0, 0);transform:translate3d(calc(100% - var(--handle-width)), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width)), 0, 0);transform:translate3d(calc(-100% + var(--handle-width)), 0, 0)}:host(.toggle-checked) .toggle-inner{background:var(--handle-background-checked)}:host(.toggle-ltr.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0)}:host{--track-background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.088);--track-background-checked:var(--ion-color-primary, #0054e9);--border-radius:15.5px;--handle-background:#ffffff;--handle-background-checked:#ffffff;--handle-border-radius:25.5px;--handle-box-shadow:0 3px 4px rgba(0, 0, 0, 0.06), 0 3px 8px rgba(0, 0, 0, 0.06);--handle-height:calc(31px - (2px * 2));--handle-max-height:calc(100% - var(--handle-spacing) * 2);--handle-width:calc(31px - (2px * 2));--handle-spacing:2px;--handle-transition:transform 300ms, width 120ms ease-in-out 80ms, left 110ms ease-in-out 80ms, right 110ms ease-in-out 80ms}.native-wrapper .toggle-icon{width:51px;height:31px;overflow:hidden}:host(.ion-color.toggle-checked) .toggle-icon{background:var(--ion-color-base)}:host(.toggle-activated) .toggle-switch-icon{opacity:0}.toggle-icon{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:background-color 300ms;transition:background-color 300ms}.toggle-inner{will-change:transform}.toggle-switch-icon{position:absolute;top:50%;width:11px;height:11px;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:opacity 300ms, color 300ms;transition:opacity 300ms, color 300ms}.toggle-switch-icon{position:absolute;color:var(--ion-color-dark, #222428)}:host(.toggle-ltr) .toggle-switch-icon{right:6px}:host(.toggle-rtl) .toggle-switch-icon{right:initial;left:6px;}:host(.toggle-checked) .toggle-switch-icon.toggle-switch-icon-checked{color:var(--ion-color-contrast, #fff)}:host(.toggle-checked) .toggle-switch-icon:not(.toggle-switch-icon-checked){opacity:0}.toggle-switch-icon-checked{position:absolute;width:15px;height:15px;-webkit-transform:translateY(-50%) rotate(90deg);transform:translateY(-50%) rotate(90deg)}:host(.toggle-ltr) .toggle-switch-icon-checked{right:initial;left:4px;}:host(.toggle-rtl) .toggle-switch-icon-checked{right:4px}:host(.toggle-activated) .toggle-icon::before,:host(.toggle-checked) .toggle-icon::before{-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0)}:host(.toggle-activated.toggle-checked) .toggle-inner::before{-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0)}:host(.toggle-activated) .toggle-inner{width:calc(var(--handle-width) + 6px)}:host(.toggle-ltr.toggle-activated.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width) - 6px), 0, 0);transform:translate3d(calc(100% - var(--handle-width) - 6px), 0, 0)}:host(.toggle-rtl.toggle-activated.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width) + 6px), 0, 0);transform:translate3d(calc(-100% + var(--handle-width) + 6px), 0, 0)}:host(.toggle-disabled){opacity:0.3}", md: ":host{-webkit-box-sizing:content-box !important;box-sizing:content-box !important;display:inline-block;position:relative;max-width:100%;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.ion-focused) input{border:2px solid #5e9ed6}:host(.toggle-disabled){pointer-events:none}input{display:none}.toggle-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.toggle-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.toggle-label-placement-stacked) .native-wrapper{margin-bottom:10px}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.toggle-bottom{padding-top:4px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75rem;white-space:normal}:host(.toggle-label-placement-stacked) .toggle-bottom{font-size:1rem}.toggle-bottom .error-text{display:none;color:var(--ion-color-danger, #c5000f)}.toggle-bottom .helper-text{display:block;color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}:host(.ion-touched.ion-invalid) .toggle-bottom .error-text{display:block}:host(.ion-touched.ion-invalid) .toggle-bottom .helper-text{display:none}:host(.toggle-label-placement-start) .toggle-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.toggle-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-end) .toggle-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-pack:start;justify-content:start}:host(.toggle-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.toggle-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.toggle-label-placement-stacked) .toggle-wrapper{-ms-flex-direction:column;flex-direction:column;text-align:center}:host(.toggle-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.toggle-justify-space-between) .toggle-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.toggle-justify-start) .toggle-wrapper{-ms-flex-pack:start;justify-content:start}:host(.toggle-justify-end) .toggle-wrapper{-ms-flex-pack:end;justify-content:end}:host(.toggle-alignment-start) .toggle-wrapper{-ms-flex-align:start;align-items:start}:host(.toggle-alignment-center) .toggle-wrapper{-ms-flex-align:center;align-items:center}:host(.toggle-justify-space-between),:host(.toggle-justify-start),:host(.toggle-justify-end),:host(.toggle-alignment-start),:host(.toggle-alignment-center){display:block}.toggle-icon-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;-webkit-transition:var(--handle-transition);transition:var(--handle-transition);will-change:transform}.toggle-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;background:var(--track-background);overflow:inherit}:host(.toggle-checked) .toggle-icon{background:var(--track-background-checked)}.toggle-inner{border-radius:var(--handle-border-radius);position:absolute;left:var(--handle-spacing);width:var(--handle-width);height:var(--handle-height);max-height:var(--handle-max-height);-webkit-transition:var(--handle-transition);transition:var(--handle-transition);background:var(--handle-background);-webkit-box-shadow:var(--handle-box-shadow);box-shadow:var(--handle-box-shadow);contain:strict}:host(.toggle-ltr) .toggle-inner{left:var(--handle-spacing)}:host(.toggle-rtl) .toggle-inner{right:var(--handle-spacing)}:host(.toggle-ltr.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width)), 0, 0);transform:translate3d(calc(100% - var(--handle-width)), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width)), 0, 0);transform:translate3d(calc(-100% + var(--handle-width)), 0, 0)}:host(.toggle-checked) .toggle-inner{background:var(--handle-background-checked)}:host(.toggle-ltr.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0)}:host{--track-background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.39);--track-background-checked:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.5);--border-radius:14px;--handle-background:#ffffff;--handle-background-checked:var(--ion-color-primary, #0054e9);--handle-border-radius:50%;--handle-box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);--handle-width:20px;--handle-height:20px;--handle-max-height:calc(100% + 6px);--handle-spacing:0;--handle-transition:transform 160ms cubic-bezier(0.4, 0, 0.2, 1), background-color 160ms cubic-bezier(0.4, 0, 0.2, 1)}.native-wrapper .toggle-icon{width:36px;height:14px}:host(.ion-color.toggle-checked) .toggle-icon{background:rgba(var(--ion-color-base-rgb), 0.5)}:host(.ion-color.toggle-checked) .toggle-inner{background:var(--ion-color-base)}:host(.toggle-checked) .toggle-inner{color:var(--ion-color-contrast, #fff)}.toggle-icon{-webkit-transition:background-color 160ms;transition:background-color 160ms}.toggle-inner{will-change:background-color, transform;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:#000}.toggle-inner .toggle-switch-icon{-webkit-padding-start:1px;padding-inline-start:1px;-webkit-padding-end:1px;padding-inline-end:1px;padding-top:1px;padding-bottom:1px;width:100%;height:100%}:host(.toggle-disabled){opacity:0.38}" };
  }
}, [289, "ion-toggle", { color: [513], name: [1], checked: [1028], disabled: [4], errorText: [1, "error-text"], helperText: [1, "helper-text"], value: [1], enableOnOffLabels: [4, "enable-on-off-labels"], labelPlacement: [1, "label-placement"], justify: [1], alignment: [1], required: [4], activated: [32], isInvalid: [32], hintTextId: [32] }, void 0, { disabled: [{ disabledChanged: 0 }] }]);
var v17 = (t17, e16, a17, o14) => e16 ? !t17 && o14 > a17 || t17 && 10 < a17 : !t17 && 10 < a17 || t17 && o14 > a17;
var y13 = 0;
var T7 = function() {
  "undefined" != typeof customElements && ["ion-toggle", "ion-icon"].forEach(((t17) => {
    switch (t17) {
      case "ion-toggle":
        customElements.get(Zn(t17)) || customElements.define(Zn(t17), u20);
        break;
      case "ion-icon":
        customElements.get(Zn(t17)) || y6();
    }
  }));
};

// node_modules/@ionic/angular/fesm2022/ionic-angular-standalone.mjs
var _c02 = ["outletContent"];
var _c1 = ["*"];
function IonModal_div_0_Template(rf, ctx) {
  if (rf & 1) {
    \u0275\u0275elementStart(0, "div", 1);
    \u0275\u0275elementContainer(1, 2);
    \u0275\u0275elementEnd();
  }
  if (rf & 2) {
    const ctx_r0 = \u0275\u0275nextContext();
    \u0275\u0275advance();
    \u0275\u0275property("ngTemplateOutlet", ctx_r0.template);
  }
}
function IonPopover_ng_container_0_Template(rf, ctx) {
  if (rf & 1) {
    \u0275\u0275elementContainer(0, 1);
  }
  if (rf & 2) {
    const ctx_r0 = \u0275\u0275nextContext();
    \u0275\u0275property("ngTemplateOutlet", ctx_r0.template);
  }
}
var _c2 = ["outlet"];
var _c3 = [[["", "slot", "top"]], "*", [["ion-tab"]]];
var _c4 = ["[slot=top]", "*", "ion-tab"];
function IonTabs_ion_router_outlet_3_Template(rf, ctx) {
  if (rf & 1) {
    const _r1 = \u0275\u0275getCurrentView();
    \u0275\u0275elementStart(0, "ion-router-outlet", 5, 1);
    \u0275\u0275listener("stackWillChange", function IonTabs_ion_router_outlet_3_Template_ion_router_outlet_stackWillChange_0_listener($event) {
      \u0275\u0275restoreView(_r1);
      const ctx_r1 = \u0275\u0275nextContext();
      return \u0275\u0275resetView(ctx_r1.onStackWillChange($event));
    })("stackDidChange", function IonTabs_ion_router_outlet_3_Template_ion_router_outlet_stackDidChange_0_listener($event) {
      \u0275\u0275restoreView(_r1);
      const ctx_r1 = \u0275\u0275nextContext();
      return \u0275\u0275resetView(ctx_r1.onStackDidChange($event));
    });
    \u0275\u0275elementEnd();
  }
}
function IonTabs_ng_content_4_Template(rf, ctx) {
  if (rf & 1) {
    \u0275\u0275projection(0, 2, ["*ngIf", "tabs.length > 0"]);
  }
}
var IonRouterOutlet2 = class IonRouterOutlet3 extends IonRouterOutlet {
  parentOutlet;
  /**
   * `static: true` must be set so the query results are resolved
   * before change detection runs. Otherwise, the view container
   * ref will be ion-router-outlet instead of ng-container, and
   * the first view will be added as a sibling of ion-router-outlet
   * instead of a child.
   */
  outletContent;
  /**
   * We need to pass in the correct instance of IonRouterOutlet
   * otherwise parentOutlet will be null in a nested outlet context.
   * This results in APIs such as NavController.pop not working
   * in nested outlets because the parent outlet cannot be found.
   */
  constructor(name, tabs, commonLocation, elementRef, router, zone, activatedRoute, parentOutlet) {
    super(name, tabs, commonLocation, elementRef, router, zone, activatedRoute, parentOutlet);
    this.parentOutlet = parentOutlet;
  }
  /** @nocollapse */
  static \u0275fac = function IonRouterOutlet_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonRouterOutlet3)(\u0275\u0275injectAttribute("name"), \u0275\u0275injectAttribute("tabs"), \u0275\u0275directiveInject(Location), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(Router), \u0275\u0275directiveInject(NgZone), \u0275\u0275directiveInject(ActivatedRoute), \u0275\u0275directiveInject(IonRouterOutlet3, 12));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonRouterOutlet3,
    selectors: [["ion-router-outlet"]],
    viewQuery: function IonRouterOutlet_Query(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275viewQuery(_c02, 7, ViewContainerRef);
      }
      if (rf & 2) {
        let _t;
        \u0275\u0275queryRefresh(_t = \u0275\u0275loadQuery()) && (ctx.outletContent = _t.first);
      }
    },
    features: [\u0275\u0275InheritDefinitionFeature],
    ngContentSelectors: _c1,
    decls: 3,
    vars: 0,
    consts: [["outletContent", ""]],
    template: function IonRouterOutlet_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275domElementContainerStart(0, null, 0);
        \u0275\u0275projection(2);
        \u0275\u0275domElementContainerEnd();
      }
    },
    encapsulation: 2
  });
};
IonRouterOutlet2 = __decorate([ProxyCmp({
  defineCustomElementFn: f9
})], IonRouterOutlet2);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonRouterOutlet2, [{
    type: Component,
    args: [{
      selector: "ion-router-outlet",
      standalone: true,
      template: "<ng-container #outletContent><ng-content></ng-content></ng-container>"
    }]
  }], function() {
    return [{
      type: void 0,
      decorators: [{
        type: Attribute,
        args: ["name"]
      }]
    }, {
      type: void 0,
      decorators: [{
        type: Optional
      }, {
        type: Attribute,
        args: ["tabs"]
      }]
    }, {
      type: Location
    }, {
      type: ElementRef
    }, {
      type: Router
    }, {
      type: NgZone
    }, {
      type: ActivatedRoute
    }, {
      type: IonRouterOutlet2,
      decorators: [{
        type: SkipSelf
      }, {
        type: Optional
      }]
    }];
  }, {
    outletContent: [{
      type: ViewChild,
      args: ["outletContent", {
        read: ViewContainerRef,
        static: true
      }]
    }]
  });
})();
var IonBackButton3 = class IonBackButton4 extends IonBackButton {
  constructor(routerOutlet, navCtrl, config, r32, z11, c36) {
    super(routerOutlet, navCtrl, config, r32, z11, c36);
  }
  /** @nocollapse */
  static \u0275fac = function IonBackButton_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonBackButton4)(\u0275\u0275directiveInject(IonRouterOutlet2, 8), \u0275\u0275directiveInject(NavController), \u0275\u0275directiveInject(Config), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone), \u0275\u0275directiveInject(ChangeDetectorRef));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonBackButton4,
    selectors: [["ion-back-button"]],
    features: [\u0275\u0275InheritDefinitionFeature],
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonBackButton_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonBackButton3 = __decorate([ProxyCmp({
  defineCustomElementFn: v7
})], IonBackButton3);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonBackButton3, [{
    type: Component,
    args: [{
      selector: "ion-back-button",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      standalone: true
    }]
  }], function() {
    return [{
      type: IonRouterOutlet2,
      decorators: [{
        type: Optional
      }]
    }, {
      type: NavController
    }, {
      type: Config
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }, {
      type: ChangeDetectorRef
    }];
  }, null);
})();
var IonModal3 = class IonModal4 extends IonModal {
  /** @nocollapse */
  static \u0275fac = /* @__PURE__ */ (() => {
    let \u0275IonModal_BaseFactory;
    return function IonModal_Factory(__ngFactoryType__) {
      return (\u0275IonModal_BaseFactory || (\u0275IonModal_BaseFactory = \u0275\u0275getInheritedFactory(IonModal4)))(__ngFactoryType__ || IonModal4);
    };
  })();
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonModal4,
    selectors: [["ion-modal"]],
    features: [\u0275\u0275InheritDefinitionFeature],
    decls: 1,
    vars: 1,
    consts: [["class", "ion-delegate-host ion-page", 4, "ngIf"], [1, "ion-delegate-host", "ion-page"], [3, "ngTemplateOutlet"]],
    template: function IonModal_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275template(0, IonModal_div_0_Template, 2, 1, "div", 0);
      }
      if (rf & 2) {
        \u0275\u0275property("ngIf", ctx.isCmpOpen || ctx.keepContentsMounted);
      }
    },
    dependencies: [CommonModule, NgIf, NgTemplateOutlet],
    encapsulation: 2,
    changeDetection: 0
  });
};
IonModal3 = __decorate([ProxyCmp({
  defineCustomElementFn: p8
})], IonModal3);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonModal3, [{
    type: Component,
    args: [{
      selector: "ion-modal",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: `<div class="ion-delegate-host ion-page" *ngIf="isCmpOpen || keepContentsMounted">
    <ng-container [ngTemplateOutlet]="template"></ng-container>
  </div>`,
      standalone: true,
      imports: [CommonModule]
    }]
  }], null, null);
})();
var IonPopover3 = class IonPopover4 extends IonPopover {
  /** @nocollapse */
  static \u0275fac = /* @__PURE__ */ (() => {
    let \u0275IonPopover_BaseFactory;
    return function IonPopover_Factory(__ngFactoryType__) {
      return (\u0275IonPopover_BaseFactory || (\u0275IonPopover_BaseFactory = \u0275\u0275getInheritedFactory(IonPopover4)))(__ngFactoryType__ || IonPopover4);
    };
  })();
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonPopover4,
    selectors: [["ion-popover"]],
    features: [\u0275\u0275InheritDefinitionFeature],
    decls: 1,
    vars: 1,
    consts: [[3, "ngTemplateOutlet", 4, "ngIf"], [3, "ngTemplateOutlet"]],
    template: function IonPopover_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275template(0, IonPopover_ng_container_0_Template, 1, 1, "ng-container", 0);
      }
      if (rf & 2) {
        \u0275\u0275property("ngIf", ctx.isCmpOpen || ctx.keepContentsMounted);
      }
    },
    dependencies: [CommonModule, NgIf, NgTemplateOutlet],
    encapsulation: 2,
    changeDetection: 0
  });
};
IonPopover3 = __decorate([ProxyCmp({
  defineCustomElementFn: r7
})], IonPopover3);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonPopover3, [{
    type: Component,
    args: [{
      selector: "ion-popover",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: `<ng-container [ngTemplateOutlet]="template" *ngIf="isCmpOpen || keepContentsMounted"></ng-container>`,
      standalone: true,
      imports: [CommonModule]
    }]
  }], null, null);
})();
var IonRouterLink = class _IonRouterLink extends RouterLinkDelegateDirective {
  /** @nocollapse */
  static \u0275fac = /* @__PURE__ */ (() => {
    let \u0275IonRouterLink_BaseFactory;
    return function IonRouterLink_Factory(__ngFactoryType__) {
      return (\u0275IonRouterLink_BaseFactory || (\u0275IonRouterLink_BaseFactory = \u0275\u0275getInheritedFactory(_IonRouterLink)))(__ngFactoryType__ || _IonRouterLink);
    };
  })();
  /** @nocollapse */
  static \u0275dir = /* @__PURE__ */ \u0275\u0275defineDirective({
    type: _IonRouterLink,
    selectors: [["", "routerLink", "", 5, "a", 5, "area"]],
    features: [\u0275\u0275InheritDefinitionFeature]
  });
};
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonRouterLink, [{
    type: Directive,
    args: [{
      selector: ":not(a):not(area)[routerLink]",
      standalone: true
    }]
  }], null, null);
})();
var IonRouterLinkWithHref = class _IonRouterLinkWithHref extends RouterLinkWithHrefDelegateDirective {
  /** @nocollapse */
  static \u0275fac = /* @__PURE__ */ (() => {
    let \u0275IonRouterLinkWithHref_BaseFactory;
    return function IonRouterLinkWithHref_Factory(__ngFactoryType__) {
      return (\u0275IonRouterLinkWithHref_BaseFactory || (\u0275IonRouterLinkWithHref_BaseFactory = \u0275\u0275getInheritedFactory(_IonRouterLinkWithHref)))(__ngFactoryType__ || _IonRouterLinkWithHref);
    };
  })();
  /** @nocollapse */
  static \u0275dir = /* @__PURE__ */ \u0275\u0275defineDirective({
    type: _IonRouterLinkWithHref,
    selectors: [["a", "routerLink", ""], ["area", "routerLink", ""]],
    features: [\u0275\u0275InheritDefinitionFeature]
  });
};
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonRouterLinkWithHref, [{
    type: Directive,
    args: [{
      selector: "a[routerLink],area[routerLink]",
      standalone: true
    }]
  }], null, null);
})();
var proxyInputs2 = (Cmp, inputs) => {
  const Prototype = Cmp.prototype;
  inputs.forEach((item) => {
    Object.defineProperty(Prototype, item, {
      get() {
        return this.el[item];
      },
      set(val) {
        this.z.runOutsideAngular(() => this.el[item] = val);
      },
      /**
       * In the event that proxyInputs is called
       * multiple times re-defining these inputs
       * will cause an error to be thrown. As a result
       * we set configurable: true to indicate these
       * properties can be changed.
       */
      configurable: true
    });
  });
};
var proxyMethods2 = (Cmp, methods) => {
  const Prototype = Cmp.prototype;
  methods.forEach((methodName) => {
    Prototype[methodName] = function() {
      const args = arguments;
      return this.z.runOutsideAngular(() => this.el[methodName].apply(this.el, args));
    };
  });
};
var proxyOutputs2 = (instance, el, events) => {
  events.forEach((eventName) => instance[eventName] = fromEvent(el, eventName));
};
function ProxyCmp2(opts) {
  const decorator = function(cls) {
    const {
      defineCustomElementFn,
      inputs,
      methods
    } = opts;
    if (defineCustomElementFn !== void 0) {
      defineCustomElementFn();
    }
    if (inputs) {
      proxyInputs2(cls, inputs);
    }
    if (methods) {
      proxyMethods2(cls, methods);
    }
    return cls;
  };
  return decorator;
}
var IonAccordion = class IonAccordion2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonAccordion_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonAccordion2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonAccordion2,
    selectors: [["ion-accordion"]],
    inputs: {
      disabled: "disabled",
      mode: "mode",
      readonly: "readonly",
      toggleIcon: "toggleIcon",
      toggleIconSlot: "toggleIconSlot",
      value: "value"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonAccordion_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonAccordion = __decorate([ProxyCmp2({
  defineCustomElementFn: f10,
  inputs: ["disabled", "mode", "readonly", "toggleIcon", "toggleIconSlot", "value"]
})], IonAccordion);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonAccordion, [{
    type: Component,
    args: [{
      selector: "ion-accordion",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["disabled", "mode", "readonly", "toggleIcon", "toggleIconSlot", "value"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonAccordionGroup = class IonAccordionGroup2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionChange"]);
  }
  /** @nocollapse */
  static \u0275fac = function IonAccordionGroup_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonAccordionGroup2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonAccordionGroup2,
    selectors: [["ion-accordion-group"]],
    inputs: {
      animated: "animated",
      disabled: "disabled",
      expand: "expand",
      mode: "mode",
      multiple: "multiple",
      readonly: "readonly",
      value: "value"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonAccordionGroup_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonAccordionGroup = __decorate([ProxyCmp2({
  defineCustomElementFn: p9,
  inputs: ["animated", "disabled", "expand", "mode", "multiple", "readonly", "value"]
})], IonAccordionGroup);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonAccordionGroup, [{
    type: Component,
    args: [{
      selector: "ion-accordion-group",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["animated", "disabled", "expand", "mode", "multiple", "readonly", "value"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonActionSheet = class IonActionSheet2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionActionSheetDidPresent", "ionActionSheetWillPresent", "ionActionSheetWillDismiss", "ionActionSheetDidDismiss", "didPresent", "willPresent", "willDismiss", "didDismiss"]);
  }
  /** @nocollapse */
  static \u0275fac = function IonActionSheet_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonActionSheet2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonActionSheet2,
    selectors: [["ion-action-sheet"]],
    inputs: {
      animated: "animated",
      backdropDismiss: "backdropDismiss",
      buttons: "buttons",
      cssClass: "cssClass",
      enterAnimation: "enterAnimation",
      header: "header",
      htmlAttributes: "htmlAttributes",
      isOpen: "isOpen",
      keyboardClose: "keyboardClose",
      leaveAnimation: "leaveAnimation",
      mode: "mode",
      subHeader: "subHeader",
      translucent: "translucent",
      trigger: "trigger"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonActionSheet_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonActionSheet = __decorate([ProxyCmp2({
  defineCustomElementFn: r9,
  inputs: ["animated", "backdropDismiss", "buttons", "cssClass", "enterAnimation", "header", "htmlAttributes", "isOpen", "keyboardClose", "leaveAnimation", "mode", "subHeader", "translucent", "trigger"],
  methods: ["present", "dismiss", "onDidDismiss", "onWillDismiss"]
})], IonActionSheet);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonActionSheet, [{
    type: Component,
    args: [{
      selector: "ion-action-sheet",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["animated", "backdropDismiss", "buttons", "cssClass", "enterAnimation", "header", "htmlAttributes", "isOpen", "keyboardClose", "leaveAnimation", "mode", "subHeader", "translucent", "trigger"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonAlert = class IonAlert2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionAlertDidPresent", "ionAlertWillPresent", "ionAlertWillDismiss", "ionAlertDidDismiss", "didPresent", "willPresent", "willDismiss", "didDismiss"]);
  }
  /** @nocollapse */
  static \u0275fac = function IonAlert_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonAlert2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonAlert2,
    selectors: [["ion-alert"]],
    inputs: {
      animated: "animated",
      backdropDismiss: "backdropDismiss",
      buttons: "buttons",
      cssClass: "cssClass",
      enterAnimation: "enterAnimation",
      header: "header",
      htmlAttributes: "htmlAttributes",
      inputs: "inputs",
      isOpen: "isOpen",
      keyboardClose: "keyboardClose",
      leaveAnimation: "leaveAnimation",
      message: "message",
      mode: "mode",
      subHeader: "subHeader",
      translucent: "translucent",
      trigger: "trigger"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonAlert_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonAlert = __decorate([ProxyCmp2({
  defineCustomElementFn: r10,
  inputs: ["animated", "backdropDismiss", "buttons", "cssClass", "enterAnimation", "header", "htmlAttributes", "inputs", "isOpen", "keyboardClose", "leaveAnimation", "message", "mode", "subHeader", "translucent", "trigger"],
  methods: ["present", "dismiss", "onDidDismiss", "onWillDismiss"]
})], IonAlert);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonAlert, [{
    type: Component,
    args: [{
      selector: "ion-alert",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["animated", "backdropDismiss", "buttons", "cssClass", "enterAnimation", "header", "htmlAttributes", "inputs", "isOpen", "keyboardClose", "leaveAnimation", "message", "mode", "subHeader", "translucent", "trigger"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonApp = class IonApp2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonApp_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonApp2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonApp2,
    selectors: [["ion-app"]],
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonApp_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonApp = __decorate([ProxyCmp2({
  defineCustomElementFn: l11,
  methods: ["setFocus"]
})], IonApp);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonApp, [{
    type: Component,
    args: [{
      selector: "ion-app",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: [],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonAvatar = class IonAvatar2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonAvatar_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonAvatar2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonAvatar2,
    selectors: [["ion-avatar"]],
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonAvatar_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonAvatar = __decorate([ProxyCmp2({
  defineCustomElementFn: c13
})], IonAvatar);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonAvatar, [{
    type: Component,
    args: [{
      selector: "ion-avatar",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: [],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonBackdrop = class IonBackdrop2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionBackdropTap"]);
  }
  /** @nocollapse */
  static \u0275fac = function IonBackdrop_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonBackdrop2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonBackdrop2,
    selectors: [["ion-backdrop"]],
    inputs: {
      stopPropagation: "stopPropagation",
      tappable: "tappable",
      visible: "visible"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonBackdrop_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonBackdrop = __decorate([ProxyCmp2({
  defineCustomElementFn: p10,
  inputs: ["stopPropagation", "tappable", "visible"]
})], IonBackdrop);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonBackdrop, [{
    type: Component,
    args: [{
      selector: "ion-backdrop",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["stopPropagation", "tappable", "visible"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonBadge = class IonBadge2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonBadge_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonBadge2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonBadge2,
    selectors: [["ion-badge"]],
    inputs: {
      color: "color",
      mode: "mode"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonBadge_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonBadge = __decorate([ProxyCmp2({
  defineCustomElementFn: s12,
  inputs: ["color", "mode"]
})], IonBadge);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonBadge, [{
    type: Component,
    args: [{
      selector: "ion-badge",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["color", "mode"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonBreadcrumb = class IonBreadcrumb2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionFocus", "ionBlur"]);
  }
  /** @nocollapse */
  static \u0275fac = function IonBreadcrumb_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonBreadcrumb2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonBreadcrumb2,
    selectors: [["ion-breadcrumb"]],
    inputs: {
      active: "active",
      color: "color",
      disabled: "disabled",
      download: "download",
      href: "href",
      mode: "mode",
      rel: "rel",
      routerAnimation: "routerAnimation",
      routerDirection: "routerDirection",
      separator: "separator",
      target: "target"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonBreadcrumb_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonBreadcrumb = __decorate([ProxyCmp2({
  defineCustomElementFn: f11,
  inputs: ["active", "color", "disabled", "download", "href", "mode", "rel", "routerAnimation", "routerDirection", "separator", "target"]
})], IonBreadcrumb);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonBreadcrumb, [{
    type: Component,
    args: [{
      selector: "ion-breadcrumb",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["active", "color", "disabled", "download", "href", "mode", "rel", "routerAnimation", "routerDirection", "separator", "target"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonBreadcrumbs = class IonBreadcrumbs2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionCollapsedClick"]);
  }
  /** @nocollapse */
  static \u0275fac = function IonBreadcrumbs_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonBreadcrumbs2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonBreadcrumbs2,
    selectors: [["ion-breadcrumbs"]],
    inputs: {
      color: "color",
      itemsAfterCollapse: "itemsAfterCollapse",
      itemsBeforeCollapse: "itemsBeforeCollapse",
      maxItems: "maxItems",
      mode: "mode"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonBreadcrumbs_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonBreadcrumbs = __decorate([ProxyCmp2({
  defineCustomElementFn: m10,
  inputs: ["color", "itemsAfterCollapse", "itemsBeforeCollapse", "maxItems", "mode"]
})], IonBreadcrumbs);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonBreadcrumbs, [{
    type: Component,
    args: [{
      selector: "ion-breadcrumbs",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["color", "itemsAfterCollapse", "itemsBeforeCollapse", "maxItems", "mode"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonButton = class IonButton2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionFocus", "ionBlur"]);
  }
  /** @nocollapse */
  static \u0275fac = function IonButton_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonButton2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonButton2,
    selectors: [["ion-button"]],
    inputs: {
      buttonType: "buttonType",
      color: "color",
      disabled: "disabled",
      download: "download",
      expand: "expand",
      fill: "fill",
      form: "form",
      href: "href",
      mode: "mode",
      rel: "rel",
      routerAnimation: "routerAnimation",
      routerDirection: "routerDirection",
      shape: "shape",
      size: "size",
      strong: "strong",
      target: "target",
      type: "type"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonButton_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonButton = __decorate([ProxyCmp2({
  defineCustomElementFn: r11,
  inputs: ["buttonType", "color", "disabled", "download", "expand", "fill", "form", "href", "mode", "rel", "routerAnimation", "routerDirection", "shape", "size", "strong", "target", "type"]
})], IonButton);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonButton, [{
    type: Component,
    args: [{
      selector: "ion-button",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["buttonType", "color", "disabled", "download", "expand", "fill", "form", "href", "mode", "rel", "routerAnimation", "routerDirection", "shape", "size", "strong", "target", "type"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonButtons = class IonButtons2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonButtons_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonButtons2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonButtons2,
    selectors: [["ion-buttons"]],
    inputs: {
      collapse: "collapse"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonButtons_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonButtons = __decorate([ProxyCmp2({
  defineCustomElementFn: r12,
  inputs: ["collapse"]
})], IonButtons);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonButtons, [{
    type: Component,
    args: [{
      selector: "ion-buttons",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["collapse"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonCard = class IonCard2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonCard_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonCard2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonCard2,
    selectors: [["ion-card"]],
    inputs: {
      button: "button",
      color: "color",
      disabled: "disabled",
      download: "download",
      href: "href",
      mode: "mode",
      rel: "rel",
      routerAnimation: "routerAnimation",
      routerDirection: "routerDirection",
      target: "target",
      type: "type"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonCard_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonCard = __decorate([ProxyCmp2({
  defineCustomElementFn: p11,
  inputs: ["button", "color", "disabled", "download", "href", "mode", "rel", "routerAnimation", "routerDirection", "target", "type"]
})], IonCard);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonCard, [{
    type: Component,
    args: [{
      selector: "ion-card",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["button", "color", "disabled", "download", "href", "mode", "rel", "routerAnimation", "routerDirection", "target", "type"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonCardContent = class IonCardContent2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonCardContent_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonCardContent2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonCardContent2,
    selectors: [["ion-card-content"]],
    inputs: {
      mode: "mode"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonCardContent_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonCardContent = __decorate([ProxyCmp2({
  defineCustomElementFn: m12,
  inputs: ["mode"]
})], IonCardContent);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonCardContent, [{
    type: Component,
    args: [{
      selector: "ion-card-content",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["mode"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonCardHeader = class IonCardHeader2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonCardHeader_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonCardHeader2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonCardHeader2,
    selectors: [["ion-card-header"]],
    inputs: {
      color: "color",
      mode: "mode",
      translucent: "translucent"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonCardHeader_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonCardHeader = __decorate([ProxyCmp2({
  defineCustomElementFn: c16,
  inputs: ["color", "mode", "translucent"]
})], IonCardHeader);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonCardHeader, [{
    type: Component,
    args: [{
      selector: "ion-card-header",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["color", "mode", "translucent"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonCardSubtitle = class IonCardSubtitle2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonCardSubtitle_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonCardSubtitle2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonCardSubtitle2,
    selectors: [["ion-card-subtitle"]],
    inputs: {
      color: "color",
      mode: "mode"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonCardSubtitle_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonCardSubtitle = __decorate([ProxyCmp2({
  defineCustomElementFn: c17,
  inputs: ["color", "mode"]
})], IonCardSubtitle);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonCardSubtitle, [{
    type: Component,
    args: [{
      selector: "ion-card-subtitle",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["color", "mode"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonCardTitle = class IonCardTitle2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonCardTitle_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonCardTitle2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonCardTitle2,
    selectors: [["ion-card-title"]],
    inputs: {
      color: "color",
      mode: "mode"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonCardTitle_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonCardTitle = __decorate([ProxyCmp2({
  defineCustomElementFn: d10,
  inputs: ["color", "mode"]
})], IonCardTitle);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonCardTitle, [{
    type: Component,
    args: [{
      selector: "ion-card-title",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["color", "mode"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonChip = class IonChip2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonChip_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonChip2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonChip2,
    selectors: [["ion-chip"]],
    inputs: {
      color: "color",
      disabled: "disabled",
      mode: "mode",
      outline: "outline"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonChip_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonChip = __decorate([ProxyCmp2({
  defineCustomElementFn: c18,
  inputs: ["color", "disabled", "mode", "outline"]
})], IonChip);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonChip, [{
    type: Component,
    args: [{
      selector: "ion-chip",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["color", "disabled", "mode", "outline"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonCol = class IonCol2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonCol_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonCol2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonCol2,
    selectors: [["ion-col"]],
    inputs: {
      offset: "offset",
      offsetLg: "offsetLg",
      offsetMd: "offsetMd",
      offsetSm: "offsetSm",
      offsetXl: "offsetXl",
      offsetXs: "offsetXs",
      pull: "pull",
      pullLg: "pullLg",
      pullMd: "pullMd",
      pullSm: "pullSm",
      pullXl: "pullXl",
      pullXs: "pullXs",
      push: "push",
      pushLg: "pushLg",
      pushMd: "pushMd",
      pushSm: "pushSm",
      pushXl: "pushXl",
      pushXs: "pushXs",
      size: "size",
      sizeLg: "sizeLg",
      sizeMd: "sizeMd",
      sizeSm: "sizeSm",
      sizeXl: "sizeXl",
      sizeXs: "sizeXs"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonCol_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonCol = __decorate([ProxyCmp2({
  defineCustomElementFn: c19,
  inputs: ["offset", "offsetLg", "offsetMd", "offsetSm", "offsetXl", "offsetXs", "pull", "pullLg", "pullMd", "pullSm", "pullXl", "pullXs", "push", "pushLg", "pushMd", "pushSm", "pushXl", "pushXs", "size", "sizeLg", "sizeMd", "sizeSm", "sizeXl", "sizeXs"]
})], IonCol);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonCol, [{
    type: Component,
    args: [{
      selector: "ion-col",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["offset", "offsetLg", "offsetMd", "offsetSm", "offsetXl", "offsetXs", "pull", "pullLg", "pullMd", "pullSm", "pullXl", "pullXs", "push", "pushLg", "pushMd", "pushSm", "pushXl", "pushXs", "size", "sizeLg", "sizeMd", "sizeSm", "sizeXl", "sizeXs"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonContent = class IonContent2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionScrollStart", "ionScroll", "ionScrollEnd"]);
  }
  /** @nocollapse */
  static \u0275fac = function IonContent_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonContent2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonContent2,
    selectors: [["ion-content"]],
    inputs: {
      color: "color",
      fixedSlotPlacement: "fixedSlotPlacement",
      forceOverscroll: "forceOverscroll",
      fullscreen: "fullscreen",
      scrollEvents: "scrollEvents",
      scrollX: "scrollX",
      scrollY: "scrollY"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonContent_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonContent = __decorate([ProxyCmp2({
  defineCustomElementFn: a12,
  inputs: ["color", "fixedSlotPlacement", "forceOverscroll", "fullscreen", "scrollEvents", "scrollX", "scrollY"],
  methods: ["getScrollElement", "scrollToTop", "scrollToBottom", "scrollByPoint", "scrollToPoint"]
})], IonContent);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonContent, [{
    type: Component,
    args: [{
      selector: "ion-content",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["color", "fixedSlotPlacement", "forceOverscroll", "fullscreen", "scrollEvents", "scrollX", "scrollY"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonDatetimeButton = class IonDatetimeButton2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonDatetimeButton_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonDatetimeButton2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonDatetimeButton2,
    selectors: [["ion-datetime-button"]],
    inputs: {
      color: "color",
      datetime: "datetime",
      disabled: "disabled",
      mode: "mode"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonDatetimeButton_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonDatetimeButton = __decorate([ProxyCmp2({
  defineCustomElementFn: v10,
  inputs: ["color", "datetime", "disabled", "mode"]
})], IonDatetimeButton);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonDatetimeButton, [{
    type: Component,
    args: [{
      selector: "ion-datetime-button",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["color", "datetime", "disabled", "mode"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonFab = class IonFab2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonFab_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonFab2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonFab2,
    selectors: [["ion-fab"]],
    inputs: {
      activated: "activated",
      edge: "edge",
      horizontal: "horizontal",
      vertical: "vertical"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonFab_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonFab = __decorate([ProxyCmp2({
  defineCustomElementFn: l15,
  inputs: ["activated", "edge", "horizontal", "vertical"],
  methods: ["close"]
})], IonFab);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonFab, [{
    type: Component,
    args: [{
      selector: "ion-fab",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["activated", "edge", "horizontal", "vertical"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonFabButton = class IonFabButton2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionFocus", "ionBlur"]);
  }
  /** @nocollapse */
  static \u0275fac = function IonFabButton_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonFabButton2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonFabButton2,
    selectors: [["ion-fab-button"]],
    inputs: {
      activated: "activated",
      closeIcon: "closeIcon",
      color: "color",
      disabled: "disabled",
      download: "download",
      href: "href",
      mode: "mode",
      rel: "rel",
      routerAnimation: "routerAnimation",
      routerDirection: "routerDirection",
      show: "show",
      size: "size",
      target: "target",
      translucent: "translucent",
      type: "type"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonFabButton_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonFabButton = __decorate([ProxyCmp2({
  defineCustomElementFn: v11,
  inputs: ["activated", "closeIcon", "color", "disabled", "download", "href", "mode", "rel", "routerAnimation", "routerDirection", "show", "size", "target", "translucent", "type"]
})], IonFabButton);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonFabButton, [{
    type: Component,
    args: [{
      selector: "ion-fab-button",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["activated", "closeIcon", "color", "disabled", "download", "href", "mode", "rel", "routerAnimation", "routerDirection", "show", "size", "target", "translucent", "type"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonFabList = class IonFabList2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonFabList_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonFabList2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonFabList2,
    selectors: [["ion-fab-list"]],
    inputs: {
      activated: "activated",
      side: "side"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonFabList_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonFabList = __decorate([ProxyCmp2({
  defineCustomElementFn: l16,
  inputs: ["activated", "side"]
})], IonFabList);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonFabList, [{
    type: Component,
    args: [{
      selector: "ion-fab-list",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["activated", "side"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonFooter = class IonFooter2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonFooter_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonFooter2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonFooter2,
    selectors: [["ion-footer"]],
    inputs: {
      collapse: "collapse",
      mode: "mode",
      translucent: "translucent"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonFooter_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonFooter = __decorate([ProxyCmp2({
  defineCustomElementFn: m15,
  inputs: ["collapse", "mode", "translucent"]
})], IonFooter);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonFooter, [{
    type: Component,
    args: [{
      selector: "ion-footer",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["collapse", "mode", "translucent"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonGrid = class IonGrid2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonGrid_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonGrid2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonGrid2,
    selectors: [["ion-grid"]],
    inputs: {
      fixed: "fixed"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonGrid_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonGrid = __decorate([ProxyCmp2({
  defineCustomElementFn: t14,
  inputs: ["fixed"]
})], IonGrid);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonGrid, [{
    type: Component,
    args: [{
      selector: "ion-grid",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["fixed"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonHeader = class IonHeader2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonHeader_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonHeader2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonHeader2,
    selectors: [["ion-header"]],
    inputs: {
      collapse: "collapse",
      mode: "mode",
      translucent: "translucent"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonHeader_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonHeader = __decorate([ProxyCmp2({
  defineCustomElementFn: r16,
  inputs: ["collapse", "mode", "translucent"]
})], IonHeader);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonHeader, [{
    type: Component,
    args: [{
      selector: "ion-header",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["collapse", "mode", "translucent"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonImg = class IonImg2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionImgWillLoad", "ionImgDidLoad", "ionError"]);
  }
  /** @nocollapse */
  static \u0275fac = function IonImg_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonImg2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonImg2,
    selectors: [["ion-img"]],
    inputs: {
      alt: "alt",
      src: "src"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonImg_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonImg = __decorate([ProxyCmp2({
  defineCustomElementFn: l17,
  inputs: ["alt", "src"]
})], IonImg);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonImg, [{
    type: Component,
    args: [{
      selector: "ion-img",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["alt", "src"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonInfiniteScroll = class IonInfiniteScroll2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionInfinite"]);
  }
  /** @nocollapse */
  static \u0275fac = function IonInfiniteScroll_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonInfiniteScroll2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonInfiniteScroll2,
    selectors: [["ion-infinite-scroll"]],
    inputs: {
      disabled: "disabled",
      position: "position",
      threshold: "threshold"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonInfiniteScroll_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonInfiniteScroll = __decorate([ProxyCmp2({
  defineCustomElementFn: p15,
  inputs: ["disabled", "position", "threshold"],
  methods: ["complete"]
})], IonInfiniteScroll);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonInfiniteScroll, [{
    type: Component,
    args: [{
      selector: "ion-infinite-scroll",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["disabled", "position", "threshold"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonInfiniteScrollContent = class IonInfiniteScrollContent2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonInfiniteScrollContent_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonInfiniteScrollContent2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonInfiniteScrollContent2,
    selectors: [["ion-infinite-scroll-content"]],
    inputs: {
      loadingSpinner: "loadingSpinner",
      loadingText: "loadingText"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonInfiniteScrollContent_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonInfiniteScrollContent = __decorate([ProxyCmp2({
  defineCustomElementFn: f18,
  inputs: ["loadingSpinner", "loadingText"]
})], IonInfiniteScrollContent);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonInfiniteScrollContent, [{
    type: Component,
    args: [{
      selector: "ion-infinite-scroll-content",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["loadingSpinner", "loadingText"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonInputPasswordToggle = class IonInputPasswordToggle2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonInputPasswordToggle_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonInputPasswordToggle2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonInputPasswordToggle2,
    selectors: [["ion-input-password-toggle"]],
    inputs: {
      color: "color",
      hideIcon: "hideIcon",
      mode: "mode",
      showIcon: "showIcon"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonInputPasswordToggle_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonInputPasswordToggle = __decorate([ProxyCmp2({
  defineCustomElementFn: h13,
  inputs: ["color", "hideIcon", "mode", "showIcon"]
})], IonInputPasswordToggle);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonInputPasswordToggle, [{
    type: Component,
    args: [{
      selector: "ion-input-password-toggle",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["color", "hideIcon", "mode", "showIcon"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonItem = class IonItem2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonItem_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonItem2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonItem2,
    selectors: [["ion-item"]],
    inputs: {
      button: "button",
      color: "color",
      detail: "detail",
      detailIcon: "detailIcon",
      disabled: "disabled",
      download: "download",
      href: "href",
      lines: "lines",
      mode: "mode",
      rel: "rel",
      routerAnimation: "routerAnimation",
      routerDirection: "routerDirection",
      target: "target",
      type: "type"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonItem_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonItem = __decorate([ProxyCmp2({
  defineCustomElementFn: p17,
  inputs: ["button", "color", "detail", "detailIcon", "disabled", "download", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "target", "type"]
})], IonItem);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonItem, [{
    type: Component,
    args: [{
      selector: "ion-item",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["button", "color", "detail", "detailIcon", "disabled", "download", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "target", "type"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonItemDivider = class IonItemDivider2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonItemDivider_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonItemDivider2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonItemDivider2,
    selectors: [["ion-item-divider"]],
    inputs: {
      color: "color",
      mode: "mode",
      sticky: "sticky"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonItemDivider_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonItemDivider = __decorate([ProxyCmp2({
  defineCustomElementFn: s18,
  inputs: ["color", "mode", "sticky"]
})], IonItemDivider);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonItemDivider, [{
    type: Component,
    args: [{
      selector: "ion-item-divider",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["color", "mode", "sticky"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonItemGroup = class IonItemGroup2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonItemGroup_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonItemGroup2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonItemGroup2,
    selectors: [["ion-item-group"]],
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonItemGroup_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonItemGroup = __decorate([ProxyCmp2({
  defineCustomElementFn: p18
})], IonItemGroup);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonItemGroup, [{
    type: Component,
    args: [{
      selector: "ion-item-group",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: [],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonItemOption = class IonItemOption2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonItemOption_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonItemOption2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonItemOption2,
    selectors: [["ion-item-option"]],
    inputs: {
      color: "color",
      disabled: "disabled",
      download: "download",
      expandable: "expandable",
      href: "href",
      mode: "mode",
      rel: "rel",
      target: "target",
      type: "type"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonItemOption_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonItemOption = __decorate([ProxyCmp2({
  defineCustomElementFn: c22,
  inputs: ["color", "disabled", "download", "expandable", "href", "mode", "rel", "target", "type"]
})], IonItemOption);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonItemOption, [{
    type: Component,
    args: [{
      selector: "ion-item-option",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["color", "disabled", "download", "expandable", "href", "mode", "rel", "target", "type"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonItemOptions = class IonItemOptions2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionSwipe"]);
  }
  /** @nocollapse */
  static \u0275fac = function IonItemOptions_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonItemOptions2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonItemOptions2,
    selectors: [["ion-item-options"]],
    inputs: {
      side: "side"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonItemOptions_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonItemOptions = __decorate([ProxyCmp2({
  defineCustomElementFn: p19,
  inputs: ["side"]
})], IonItemOptions);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonItemOptions, [{
    type: Component,
    args: [{
      selector: "ion-item-options",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["side"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonItemSliding = class IonItemSliding2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionDrag"]);
  }
  /** @nocollapse */
  static \u0275fac = function IonItemSliding_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonItemSliding2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonItemSliding2,
    selectors: [["ion-item-sliding"]],
    inputs: {
      disabled: "disabled"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonItemSliding_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonItemSliding = __decorate([ProxyCmp2({
  defineCustomElementFn: b11,
  inputs: ["disabled"],
  methods: ["getOpenAmount", "getSlidingRatio", "open", "close", "closeOpened"]
})], IonItemSliding);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonItemSliding, [{
    type: Component,
    args: [{
      selector: "ion-item-sliding",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["disabled"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonLabel = class IonLabel2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonLabel_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonLabel2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonLabel2,
    selectors: [["ion-label"]],
    inputs: {
      color: "color",
      mode: "mode",
      position: "position"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonLabel_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonLabel = __decorate([ProxyCmp2({
  defineCustomElementFn: r18,
  inputs: ["color", "mode", "position"]
})], IonLabel);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonLabel, [{
    type: Component,
    args: [{
      selector: "ion-label",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["color", "mode", "position"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonList = class IonList2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonList_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonList2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonList2,
    selectors: [["ion-list"]],
    inputs: {
      inset: "inset",
      lines: "lines",
      mode: "mode"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonList_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonList = __decorate([ProxyCmp2({
  defineCustomElementFn: r20,
  inputs: ["inset", "lines", "mode"],
  methods: ["closeSlidingItems"]
})], IonList);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonList, [{
    type: Component,
    args: [{
      selector: "ion-list",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["inset", "lines", "mode"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonListHeader = class IonListHeader2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonListHeader_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonListHeader2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonListHeader2,
    selectors: [["ion-list-header"]],
    inputs: {
      color: "color",
      lines: "lines",
      mode: "mode"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonListHeader_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonListHeader = __decorate([ProxyCmp2({
  defineCustomElementFn: p21,
  inputs: ["color", "lines", "mode"]
})], IonListHeader);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonListHeader, [{
    type: Component,
    args: [{
      selector: "ion-list-header",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["color", "lines", "mode"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonLoading = class IonLoading2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionLoadingDidPresent", "ionLoadingWillPresent", "ionLoadingWillDismiss", "ionLoadingDidDismiss", "didPresent", "willPresent", "willDismiss", "didDismiss"]);
  }
  /** @nocollapse */
  static \u0275fac = function IonLoading_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonLoading2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonLoading2,
    selectors: [["ion-loading"]],
    inputs: {
      animated: "animated",
      backdropDismiss: "backdropDismiss",
      cssClass: "cssClass",
      duration: "duration",
      enterAnimation: "enterAnimation",
      htmlAttributes: "htmlAttributes",
      isOpen: "isOpen",
      keyboardClose: "keyboardClose",
      leaveAnimation: "leaveAnimation",
      message: "message",
      mode: "mode",
      showBackdrop: "showBackdrop",
      spinner: "spinner",
      translucent: "translucent",
      trigger: "trigger"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonLoading_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonLoading = __decorate([ProxyCmp2({
  defineCustomElementFn: T6,
  inputs: ["animated", "backdropDismiss", "cssClass", "duration", "enterAnimation", "htmlAttributes", "isOpen", "keyboardClose", "leaveAnimation", "message", "mode", "showBackdrop", "spinner", "translucent", "trigger"],
  methods: ["present", "dismiss", "onDidDismiss", "onWillDismiss"]
})], IonLoading);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonLoading, [{
    type: Component,
    args: [{
      selector: "ion-loading",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["animated", "backdropDismiss", "cssClass", "duration", "enterAnimation", "htmlAttributes", "isOpen", "keyboardClose", "leaveAnimation", "message", "mode", "showBackdrop", "spinner", "translucent", "trigger"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonMenu = class IonMenu2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionWillOpen", "ionWillClose", "ionDidOpen", "ionDidClose"]);
  }
  /** @nocollapse */
  static \u0275fac = function IonMenu_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonMenu2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonMenu2,
    selectors: [["ion-menu"]],
    inputs: {
      contentId: "contentId",
      disabled: "disabled",
      maxEdgeStart: "maxEdgeStart",
      menuId: "menuId",
      side: "side",
      swipeGesture: "swipeGesture",
      type: "type"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonMenu_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonMenu = __decorate([ProxyCmp2({
  defineCustomElementFn: D6,
  inputs: ["contentId", "disabled", "maxEdgeStart", "menuId", "side", "swipeGesture", "type"],
  methods: ["isOpen", "isActive", "open", "close", "toggle", "setOpen"]
})], IonMenu);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonMenu, [{
    type: Component,
    args: [{
      selector: "ion-menu",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["contentId", "disabled", "maxEdgeStart", "menuId", "side", "swipeGesture", "type"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonMenuButton = class IonMenuButton2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonMenuButton_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonMenuButton2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonMenuButton2,
    selectors: [["ion-menu-button"]],
    inputs: {
      autoHide: "autoHide",
      color: "color",
      disabled: "disabled",
      menu: "menu",
      mode: "mode",
      type: "type"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonMenuButton_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonMenuButton = __decorate([ProxyCmp2({
  defineCustomElementFn: v14,
  inputs: ["autoHide", "color", "disabled", "menu", "mode", "type"]
})], IonMenuButton);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonMenuButton, [{
    type: Component,
    args: [{
      selector: "ion-menu-button",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["autoHide", "color", "disabled", "menu", "mode", "type"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonMenuToggle = class IonMenuToggle2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonMenuToggle_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonMenuToggle2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonMenuToggle2,
    selectors: [["ion-menu-toggle"]],
    inputs: {
      autoHide: "autoHide",
      menu: "menu"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonMenuToggle_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonMenuToggle = __decorate([ProxyCmp2({
  defineCustomElementFn: m19,
  inputs: ["autoHide", "menu"]
})], IonMenuToggle);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonMenuToggle, [{
    type: Component,
    args: [{
      selector: "ion-menu-toggle",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["autoHide", "menu"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonNavLink = class IonNavLink2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonNavLink_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonNavLink2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonNavLink2,
    selectors: [["ion-nav-link"]],
    inputs: {
      component: "component",
      componentProps: "componentProps",
      routerAnimation: "routerAnimation",
      routerDirection: "routerDirection"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonNavLink_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonNavLink = __decorate([ProxyCmp2({
  defineCustomElementFn: u14,
  inputs: ["component", "componentProps", "routerAnimation", "routerDirection"]
})], IonNavLink);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonNavLink, [{
    type: Component,
    args: [{
      selector: "ion-nav-link",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["component", "componentProps", "routerAnimation", "routerDirection"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonNote = class IonNote2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonNote_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonNote2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonNote2,
    selectors: [["ion-note"]],
    inputs: {
      color: "color",
      mode: "mode"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonNote_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonNote = __decorate([ProxyCmp2({
  defineCustomElementFn: l23,
  inputs: ["color", "mode"]
})], IonNote);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonNote, [{
    type: Component,
    args: [{
      selector: "ion-note",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["color", "mode"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonPicker = class IonPicker2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonPicker_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonPicker2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonPicker2,
    selectors: [["ion-picker"]],
    inputs: {
      mode: "mode"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonPicker_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonPicker = __decorate([ProxyCmp2({
  defineCustomElementFn: p22,
  inputs: ["mode"]
})], IonPicker);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonPicker, [{
    type: Component,
    args: [{
      selector: "ion-picker",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["mode"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonPickerColumn = class IonPickerColumn2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionChange"]);
  }
  /** @nocollapse */
  static \u0275fac = function IonPickerColumn_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonPickerColumn2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonPickerColumn2,
    selectors: [["ion-picker-column"]],
    inputs: {
      color: "color",
      disabled: "disabled",
      mode: "mode",
      value: "value"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonPickerColumn_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonPickerColumn = __decorate([ProxyCmp2({
  defineCustomElementFn: r22,
  inputs: ["color", "disabled", "mode", "value"],
  methods: ["setFocus"]
})], IonPickerColumn);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonPickerColumn, [{
    type: Component,
    args: [{
      selector: "ion-picker-column",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["color", "disabled", "mode", "value"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonPickerColumnOption = class IonPickerColumnOption2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonPickerColumnOption_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonPickerColumnOption2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonPickerColumnOption2,
    selectors: [["ion-picker-column-option"]],
    inputs: {
      color: "color",
      disabled: "disabled",
      value: "value"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonPickerColumnOption_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonPickerColumnOption = __decorate([ProxyCmp2({
  defineCustomElementFn: r23,
  inputs: ["color", "disabled", "value"]
})], IonPickerColumnOption);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonPickerColumnOption, [{
    type: Component,
    args: [{
      selector: "ion-picker-column-option",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["color", "disabled", "value"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonPickerLegacy = class IonPickerLegacy2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionPickerDidPresent", "ionPickerWillPresent", "ionPickerWillDismiss", "ionPickerDidDismiss", "didPresent", "willPresent", "willDismiss", "didDismiss"]);
  }
  /** @nocollapse */
  static \u0275fac = function IonPickerLegacy_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonPickerLegacy2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonPickerLegacy2,
    selectors: [["ion-picker-legacy"]],
    inputs: {
      animated: "animated",
      backdropDismiss: "backdropDismiss",
      buttons: "buttons",
      columns: "columns",
      cssClass: "cssClass",
      duration: "duration",
      enterAnimation: "enterAnimation",
      htmlAttributes: "htmlAttributes",
      isOpen: "isOpen",
      keyboardClose: "keyboardClose",
      leaveAnimation: "leaveAnimation",
      mode: "mode",
      showBackdrop: "showBackdrop",
      trigger: "trigger"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonPickerLegacy_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonPickerLegacy = __decorate([ProxyCmp2({
  defineCustomElementFn: B9,
  inputs: ["animated", "backdropDismiss", "buttons", "columns", "cssClass", "duration", "enterAnimation", "htmlAttributes", "isOpen", "keyboardClose", "leaveAnimation", "mode", "showBackdrop", "trigger"],
  methods: ["present", "dismiss", "onDidDismiss", "onWillDismiss", "getColumn"]
})], IonPickerLegacy);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonPickerLegacy, [{
    type: Component,
    args: [{
      selector: "ion-picker-legacy",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["animated", "backdropDismiss", "buttons", "columns", "cssClass", "duration", "enterAnimation", "htmlAttributes", "isOpen", "keyboardClose", "leaveAnimation", "mode", "showBackdrop", "trigger"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonProgressBar = class IonProgressBar2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonProgressBar_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonProgressBar2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonProgressBar2,
    selectors: [["ion-progress-bar"]],
    inputs: {
      buffer: "buffer",
      color: "color",
      mode: "mode",
      reversed: "reversed",
      type: "type",
      value: "value"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonProgressBar_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonProgressBar = __decorate([ProxyCmp2({
  defineCustomElementFn: u15,
  inputs: ["buffer", "color", "mode", "reversed", "type", "value"]
})], IonProgressBar);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonProgressBar, [{
    type: Component,
    args: [{
      selector: "ion-progress-bar",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["buffer", "color", "mode", "reversed", "type", "value"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonRadio = class IonRadio2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionFocus", "ionBlur"]);
  }
  /** @nocollapse */
  static \u0275fac = function IonRadio_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonRadio2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonRadio2,
    selectors: [["ion-radio"]],
    inputs: {
      alignment: "alignment",
      color: "color",
      disabled: "disabled",
      justify: "justify",
      labelPlacement: "labelPlacement",
      mode: "mode",
      name: "name",
      value: "value"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonRadio_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonRadio = __decorate([ProxyCmp2({
  defineCustomElementFn: r24,
  inputs: ["alignment", "color", "disabled", "justify", "labelPlacement", "mode", "name", "value"]
})], IonRadio);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonRadio, [{
    type: Component,
    args: [{
      selector: "ion-radio",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["alignment", "color", "disabled", "justify", "labelPlacement", "mode", "name", "value"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonRefresher = class IonRefresher2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionRefresh", "ionPull", "ionStart", "ionPullStart", "ionPullEnd"]);
  }
  /** @nocollapse */
  static \u0275fac = function IonRefresher_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonRefresher2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonRefresher2,
    selectors: [["ion-refresher"]],
    inputs: {
      closeDuration: "closeDuration",
      disabled: "disabled",
      mode: "mode",
      pullFactor: "pullFactor",
      pullMax: "pullMax",
      pullMin: "pullMin",
      snapbackDuration: "snapbackDuration"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonRefresher_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonRefresher = __decorate([ProxyCmp2({
  defineCustomElementFn: Y5,
  inputs: ["closeDuration", "disabled", "mode", "pullFactor", "pullMax", "pullMin", "snapbackDuration"],
  methods: ["complete", "cancel", "getProgress"]
})], IonRefresher);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonRefresher, [{
    type: Component,
    args: [{
      selector: "ion-refresher",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["closeDuration", "disabled", "mode", "pullFactor", "pullMax", "pullMin", "snapbackDuration"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonRefresherContent = class IonRefresherContent2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonRefresherContent_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonRefresherContent2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonRefresherContent2,
    selectors: [["ion-refresher-content"]],
    inputs: {
      pullingIcon: "pullingIcon",
      pullingText: "pullingText",
      refreshingSpinner: "refreshingSpinner",
      refreshingText: "refreshingText"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonRefresherContent_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonRefresherContent = __decorate([ProxyCmp2({
  defineCustomElementFn: g13,
  inputs: ["pullingIcon", "pullingText", "refreshingSpinner", "refreshingText"]
})], IonRefresherContent);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonRefresherContent, [{
    type: Component,
    args: [{
      selector: "ion-refresher-content",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["pullingIcon", "pullingText", "refreshingSpinner", "refreshingText"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonReorder = class IonReorder2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonReorder_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonReorder2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonReorder2,
    selectors: [["ion-reorder"]],
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonReorder_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonReorder = __decorate([ProxyCmp2({
  defineCustomElementFn: m25
})], IonReorder);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonReorder, [{
    type: Component,
    args: [{
      selector: "ion-reorder",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: [],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonReorderGroup = class IonReorderGroup2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionItemReorder", "ionReorderStart", "ionReorderMove", "ionReorderEnd"]);
  }
  /** @nocollapse */
  static \u0275fac = function IonReorderGroup_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonReorderGroup2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonReorderGroup2,
    selectors: [["ion-reorder-group"]],
    inputs: {
      disabled: "disabled"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonReorderGroup_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonReorderGroup = __decorate([ProxyCmp2({
  defineCustomElementFn: x12,
  inputs: ["disabled"],
  methods: ["complete"]
})], IonReorderGroup);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonReorderGroup, [{
    type: Component,
    args: [{
      selector: "ion-reorder-group",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["disabled"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonRippleEffect = class IonRippleEffect2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonRippleEffect_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonRippleEffect2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonRippleEffect2,
    selectors: [["ion-ripple-effect"]],
    inputs: {
      type: "type"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonRippleEffect_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonRippleEffect = __decorate([ProxyCmp2({
  defineCustomElementFn: f25,
  inputs: ["type"],
  methods: ["addRipple"]
})], IonRippleEffect);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonRippleEffect, [{
    type: Component,
    args: [{
      selector: "ion-ripple-effect",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["type"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonRow = class IonRow2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonRow_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonRow2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonRow2,
    selectors: [["ion-row"]],
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonRow_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonRow = __decorate([ProxyCmp2({
  defineCustomElementFn: c29
})], IonRow);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonRow, [{
    type: Component,
    args: [{
      selector: "ion-row",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: [],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonSegmentButton = class IonSegmentButton2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonSegmentButton_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonSegmentButton2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonSegmentButton2,
    selectors: [["ion-segment-button"]],
    inputs: {
      contentId: "contentId",
      disabled: "disabled",
      layout: "layout",
      mode: "mode",
      type: "type",
      value: "value"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonSegmentButton_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonSegmentButton = __decorate([ProxyCmp2({
  defineCustomElementFn: p26,
  inputs: ["contentId", "disabled", "layout", "mode", "type", "value"]
})], IonSegmentButton);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonSegmentButton, [{
    type: Component,
    args: [{
      selector: "ion-segment-button",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["contentId", "disabled", "layout", "mode", "type", "value"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonSegmentContent = class IonSegmentContent2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonSegmentContent_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonSegmentContent2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonSegmentContent2,
    selectors: [["ion-segment-content"]],
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonSegmentContent_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonSegmentContent = __decorate([ProxyCmp2({
  defineCustomElementFn: r25
})], IonSegmentContent);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonSegmentContent, [{
    type: Component,
    args: [{
      selector: "ion-segment-content",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: [],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonSegmentView = class IonSegmentView2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionSegmentViewScroll"]);
  }
  /** @nocollapse */
  static \u0275fac = function IonSegmentView_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonSegmentView2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonSegmentView2,
    selectors: [["ion-segment-view"]],
    inputs: {
      disabled: "disabled",
      swipeGesture: "swipeGesture"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonSegmentView_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonSegmentView = __decorate([ProxyCmp2({
  defineCustomElementFn: h15,
  inputs: ["disabled", "swipeGesture"]
})], IonSegmentView);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonSegmentView, [{
    type: Component,
    args: [{
      selector: "ion-segment-view",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["disabled", "swipeGesture"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonSelectModal = class IonSelectModal2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonSelectModal_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonSelectModal2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonSelectModal2,
    selectors: [["ion-select-modal"]],
    inputs: {
      cancelText: "cancelText",
      header: "header",
      multiple: "multiple",
      options: "options"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonSelectModal_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonSelectModal = __decorate([ProxyCmp2({
  defineCustomElementFn: r26,
  inputs: ["cancelText", "header", "multiple", "options"]
})], IonSelectModal);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonSelectModal, [{
    type: Component,
    args: [{
      selector: "ion-select-modal",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["cancelText", "header", "multiple", "options"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonSelectOption = class IonSelectOption2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonSelectOption_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonSelectOption2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonSelectOption2,
    selectors: [["ion-select-option"]],
    inputs: {
      disabled: "disabled",
      value: "value"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonSelectOption_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonSelectOption = __decorate([ProxyCmp2({
  defineCustomElementFn: p29,
  inputs: ["disabled", "value"]
})], IonSelectOption);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonSelectOption, [{
    type: Component,
    args: [{
      selector: "ion-select-option",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["disabled", "value"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonSkeletonText = class IonSkeletonText2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonSkeletonText_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonSkeletonText2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonSkeletonText2,
    selectors: [["ion-skeleton-text"]],
    inputs: {
      animated: "animated"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonSkeletonText_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonSkeletonText = __decorate([ProxyCmp2({
  defineCustomElementFn: c31,
  inputs: ["animated"]
})], IonSkeletonText);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonSkeletonText, [{
    type: Component,
    args: [{
      selector: "ion-skeleton-text",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["animated"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonSpinner = class IonSpinner2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonSpinner_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonSpinner2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonSpinner2,
    selectors: [["ion-spinner"]],
    inputs: {
      color: "color",
      duration: "duration",
      name: "name",
      paused: "paused"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonSpinner_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonSpinner = __decorate([ProxyCmp2({
  defineCustomElementFn: p30,
  inputs: ["color", "duration", "name", "paused"]
})], IonSpinner);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonSpinner, [{
    type: Component,
    args: [{
      selector: "ion-spinner",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["color", "duration", "name", "paused"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonSplitPane = class IonSplitPane2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionSplitPaneVisible"]);
  }
  /** @nocollapse */
  static \u0275fac = function IonSplitPane_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonSplitPane2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonSplitPane2,
    selectors: [["ion-split-pane"]],
    inputs: {
      contentId: "contentId",
      disabled: "disabled",
      when: "when"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonSplitPane_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonSplitPane = __decorate([ProxyCmp2({
  defineCustomElementFn: b17,
  inputs: ["contentId", "disabled", "when"]
})], IonSplitPane);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonSplitPane, [{
    type: Component,
    args: [{
      selector: "ion-split-pane",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["contentId", "disabled", "when"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonTab = class IonTab2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonTab_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonTab2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonTab2,
    selectors: [["ion-tab"]],
    inputs: {
      component: "component",
      tab: "tab"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonTab_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonTab = __decorate([ProxyCmp2({
  defineCustomElementFn: d22,
  inputs: ["component", "tab"],
  methods: ["setActive"]
})], IonTab);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonTab, [{
    type: Component,
    args: [{
      selector: "ion-tab",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["component", "tab"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonTabBar = class IonTabBar2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonTabBar_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonTabBar2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonTabBar2,
    selectors: [["ion-tab-bar"]],
    inputs: {
      color: "color",
      mode: "mode",
      selectedTab: "selectedTab",
      translucent: "translucent"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonTabBar_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonTabBar = __decorate([ProxyCmp2({
  defineCustomElementFn: d23,
  inputs: ["color", "mode", "selectedTab", "translucent"]
})], IonTabBar);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonTabBar, [{
    type: Component,
    args: [{
      selector: "ion-tab-bar",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["color", "mode", "selectedTab", "translucent"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonTabButton = class IonTabButton2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonTabButton_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonTabButton2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonTabButton2,
    selectors: [["ion-tab-button"]],
    inputs: {
      disabled: "disabled",
      download: "download",
      href: "href",
      layout: "layout",
      mode: "mode",
      rel: "rel",
      selected: "selected",
      tab: "tab",
      target: "target"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonTabButton_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonTabButton = __decorate([ProxyCmp2({
  defineCustomElementFn: h18,
  inputs: ["disabled", "download", "href", "layout", "mode", "rel", "selected", "tab", "target"]
})], IonTabButton);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonTabButton, [{
    type: Component,
    args: [{
      selector: "ion-tab-button",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["disabled", "download", "href", "layout", "mode", "rel", "selected", "tab", "target"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonText = class IonText2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonText_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonText2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonText2,
    selectors: [["ion-text"]],
    inputs: {
      color: "color",
      mode: "mode"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonText_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonText = __decorate([ProxyCmp2({
  defineCustomElementFn: f26,
  inputs: ["color", "mode"]
})], IonText);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonText, [{
    type: Component,
    args: [{
      selector: "ion-text",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["color", "mode"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonThumbnail = class IonThumbnail2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonThumbnail_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonThumbnail2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonThumbnail2,
    selectors: [["ion-thumbnail"]],
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonThumbnail_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonThumbnail = __decorate([ProxyCmp2({
  defineCustomElementFn: c34
})], IonThumbnail);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonThumbnail, [{
    type: Component,
    args: [{
      selector: "ion-thumbnail",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: [],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonTitle = class IonTitle2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonTitle_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonTitle2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonTitle2,
    selectors: [["ion-title"]],
    inputs: {
      color: "color",
      size: "size"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonTitle_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonTitle = __decorate([ProxyCmp2({
  defineCustomElementFn: m27,
  inputs: ["color", "size"]
})], IonTitle);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonTitle, [{
    type: Component,
    args: [{
      selector: "ion-title",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["color", "size"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonToast = class IonToast2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionToastDidPresent", "ionToastWillPresent", "ionToastWillDismiss", "ionToastDidDismiss", "didPresent", "willPresent", "willDismiss", "didDismiss"]);
  }
  /** @nocollapse */
  static \u0275fac = function IonToast_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonToast2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonToast2,
    selectors: [["ion-toast"]],
    inputs: {
      animated: "animated",
      buttons: "buttons",
      color: "color",
      cssClass: "cssClass",
      duration: "duration",
      enterAnimation: "enterAnimation",
      header: "header",
      htmlAttributes: "htmlAttributes",
      icon: "icon",
      isOpen: "isOpen",
      keyboardClose: "keyboardClose",
      layout: "layout",
      leaveAnimation: "leaveAnimation",
      message: "message",
      mode: "mode",
      position: "position",
      positionAnchor: "positionAnchor",
      swipeGesture: "swipeGesture",
      translucent: "translucent",
      trigger: "trigger"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonToast_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonToast = __decorate([ProxyCmp2({
  defineCustomElementFn: V4,
  inputs: ["animated", "buttons", "color", "cssClass", "duration", "enterAnimation", "header", "htmlAttributes", "icon", "isOpen", "keyboardClose", "layout", "leaveAnimation", "message", "mode", "position", "positionAnchor", "swipeGesture", "translucent", "trigger"],
  methods: ["present", "dismiss", "onDidDismiss", "onWillDismiss"]
})], IonToast);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonToast, [{
    type: Component,
    args: [{
      selector: "ion-toast",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["animated", "buttons", "color", "cssClass", "duration", "enterAnimation", "header", "htmlAttributes", "icon", "isOpen", "keyboardClose", "layout", "leaveAnimation", "message", "mode", "position", "positionAnchor", "swipeGesture", "translucent", "trigger"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonToolbar = class IonToolbar2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonToolbar_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonToolbar2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonToolbar2,
    selectors: [["ion-toolbar"]],
    inputs: {
      color: "color",
      mode: "mode"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonToolbar_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonToolbar = __decorate([ProxyCmp2({
  defineCustomElementFn: p32,
  inputs: ["color", "mode"]
})], IonToolbar);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonToolbar, [{
    type: Component,
    args: [{
      selector: "ion-toolbar",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["color", "mode"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var IonTabs2 = class _IonTabs extends IonTabs {
  outlet;
  tabBar;
  tabBars;
  tabs;
  /** @nocollapse */
  static \u0275fac = /* @__PURE__ */ (() => {
    let \u0275IonTabs_BaseFactory;
    return function IonTabs_Factory(__ngFactoryType__) {
      return (\u0275IonTabs_BaseFactory || (\u0275IonTabs_BaseFactory = \u0275\u0275getInheritedFactory(_IonTabs)))(__ngFactoryType__ || _IonTabs);
    };
  })();
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: _IonTabs,
    selectors: [["ion-tabs"]],
    contentQueries: function IonTabs_ContentQueries(rf, ctx, dirIndex) {
      if (rf & 1) {
        \u0275\u0275contentQuery(dirIndex, IonTabBar, 5);
        \u0275\u0275contentQuery(dirIndex, IonTabBar, 4);
        \u0275\u0275contentQuery(dirIndex, IonTab, 4);
      }
      if (rf & 2) {
        let _t;
        \u0275\u0275queryRefresh(_t = \u0275\u0275loadQuery()) && (ctx.tabBar = _t.first);
        \u0275\u0275queryRefresh(_t = \u0275\u0275loadQuery()) && (ctx.tabBars = _t);
        \u0275\u0275queryRefresh(_t = \u0275\u0275loadQuery()) && (ctx.tabs = _t);
      }
    },
    viewQuery: function IonTabs_Query(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275viewQuery(_c2, 5, IonRouterOutlet2);
      }
      if (rf & 2) {
        let _t;
        \u0275\u0275queryRefresh(_t = \u0275\u0275loadQuery()) && (ctx.outlet = _t.first);
      }
    },
    features: [\u0275\u0275InheritDefinitionFeature],
    ngContentSelectors: _c4,
    decls: 6,
    vars: 2,
    consts: [["tabsInner", ""], ["outlet", ""], [1, "tabs-inner"], ["tabs", "true", 3, "stackWillChange", "stackDidChange", 4, "ngIf"], [4, "ngIf"], ["tabs", "true", 3, "stackWillChange", "stackDidChange"]],
    template: function IonTabs_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef(_c3);
        \u0275\u0275projection(0);
        \u0275\u0275elementStart(1, "div", 2, 0);
        \u0275\u0275template(3, IonTabs_ion_router_outlet_3_Template, 2, 0, "ion-router-outlet", 3)(4, IonTabs_ng_content_4_Template, 1, 0, "ng-content", 4);
        \u0275\u0275elementEnd();
        \u0275\u0275projection(5, 1);
      }
      if (rf & 2) {
        \u0275\u0275advance(3);
        \u0275\u0275property("ngIf", ctx.tabs.length === 0);
        \u0275\u0275advance();
        \u0275\u0275property("ngIf", ctx.tabs.length > 0);
      }
    },
    dependencies: [IonRouterOutlet2, NgIf],
    styles: ["[_nghost-%COMP%]{display:flex;position:absolute;inset:0;flex-direction:column;width:100%;height:100%;contain:layout size style}.tabs-inner[_ngcontent-%COMP%]{position:relative;flex:1;contain:layout size style}"]
  });
};
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonTabs2, [{
    type: Component,
    args: [{
      selector: "ion-tabs",
      template: `
    <ng-content select="[slot=top]"></ng-content>
    <div class="tabs-inner" #tabsInner>
      <ion-router-outlet
        *ngIf="tabs.length === 0"
        #outlet
        tabs="true"
        (stackWillChange)="onStackWillChange($event)"
        (stackDidChange)="onStackDidChange($event)"
      ></ion-router-outlet>
      <ng-content *ngIf="tabs.length > 0" select="ion-tab"></ng-content>
    </div>
    <ng-content></ng-content>
  `,
      standalone: true,
      imports: [IonRouterOutlet2, NgIf],
      styles: [":host{display:flex;position:absolute;inset:0;flex-direction:column;width:100%;height:100%;contain:layout size style}.tabs-inner{position:relative;flex:1;contain:layout size style}\n"]
    }]
  }], null, {
    outlet: [{
      type: ViewChild,
      args: ["outlet", {
        read: IonRouterOutlet2,
        static: false
      }]
    }],
    tabBar: [{
      type: ContentChild,
      args: [IonTabBar, {
        static: false
      }]
    }],
    tabBars: [{
      type: ContentChildren,
      args: [IonTabBar]
    }],
    tabs: [{
      type: ContentChildren,
      args: [IonTab]
    }]
  });
})();
var ModalController = class _ModalController extends OverlayBaseController {
  angularDelegate = inject(AngularDelegate);
  injector = inject(Injector);
  environmentInjector = inject(EnvironmentInjector);
  constructor() {
    super(A);
    p8();
  }
  create(opts) {
    const _a = opts, {
      injector: customInjector
    } = _a, restOpts = __objRest(_a, [
      "injector"
    ]);
    return super.create(__spreadProps(__spreadValues({}, restOpts), {
      delegate: this.angularDelegate.create(this.environmentInjector, this.injector, "modal", customInjector)
    }));
  }
  /** @nocollapse */
  static \u0275fac = function ModalController_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || _ModalController)();
  };
  /** @nocollapse */
  static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({
    token: _ModalController,
    factory: _ModalController.\u0275fac
  });
};
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(ModalController, [{
    type: Injectable
  }], function() {
    return [];
  }, null);
})();
var PopoverController = class extends OverlayBaseController {
  angularDelegate = inject(AngularDelegate);
  injector = inject(Injector);
  environmentInjector = inject(EnvironmentInjector);
  constructor() {
    super(B3);
    r7();
  }
  create(opts) {
    const _a = opts, {
      injector: customInjector
    } = _a, restOpts = __objRest(_a, [
      "injector"
    ]);
    return super.create(__spreadProps(__spreadValues({}, restOpts), {
      delegate: this.angularDelegate.create(this.environmentInjector, this.injector, "popover", customInjector)
    }));
  }
};
var provideIonicAngular = (config = {}) => {
  return makeEnvironmentProviders([{
    provide: ConfigToken,
    useValue: config
  }, {
    provide: APP_INITIALIZER,
    useFactory: initializeIonicAngular,
    multi: true,
    deps: [ConfigToken, DOCUMENT]
  }, provideComponentInputBinding(), AngularDelegate, ModalController, PopoverController]);
};
var initializeIonicAngular = (config, doc) => {
  return () => {
    doc.documentElement.classList.add("ion-ce");
    y4(config);
  };
};
var ActionSheetController = class _ActionSheetController extends OverlayBaseController {
  constructor() {
    super(k2);
    r9();
  }
  /** @nocollapse */
  static \u0275fac = function ActionSheetController_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || _ActionSheetController)();
  };
  /** @nocollapse */
  static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({
    token: _ActionSheetController,
    factory: _ActionSheetController.\u0275fac,
    providedIn: "root"
  });
};
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(ActionSheetController, [{
    type: Injectable,
    args: [{
      providedIn: "root"
    }]
  }], function() {
    return [];
  }, null);
})();
var AlertController = class _AlertController extends OverlayBaseController {
  constructor() {
    super(x3);
    r10();
  }
  /** @nocollapse */
  static \u0275fac = function AlertController_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || _AlertController)();
  };
  /** @nocollapse */
  static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({
    token: _AlertController,
    factory: _AlertController.\u0275fac,
    providedIn: "root"
  });
};
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(AlertController, [{
    type: Injectable,
    args: [{
      providedIn: "root"
    }]
  }], function() {
    return [];
  }, null);
})();
var AnimationController = class _AnimationController {
  /**
   * Create a new animation
   */
  create(animationId) {
    return r(animationId);
  }
  /**
   * EXPERIMENTAL
   *
   * Given a progression and a cubic bezier function,
   * this utility returns the time value(s) at which the
   * cubic bezier reaches the given time progression.
   *
   * If the cubic bezier never reaches the progression
   * the result will be an empty array.
   *
   * This is most useful for switching between easing curves
   * when doing a gesture animation (i.e. going from linear easing
   * during a drag, to another easing when `progressEnd` is called)
   */
  easingTime(p0, p1, p210, p33, progression) {
    return t7(p0, p1, p210, p33, progression);
  }
  /** @nocollapse */
  static \u0275fac = function AnimationController_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || _AnimationController)();
  };
  /** @nocollapse */
  static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({
    token: _AnimationController,
    factory: _AnimationController.\u0275fac,
    providedIn: "root"
  });
};
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(AnimationController, [{
    type: Injectable,
    args: [{
      providedIn: "root"
    }]
  }], null, null);
})();
var GestureController = class _GestureController {
  zone;
  constructor(zone) {
    this.zone = zone;
  }
  /**
   * Create a new gesture
   */
  create(opts, runInsideAngularZone = false) {
    if (runInsideAngularZone) {
      Object.getOwnPropertyNames(opts).forEach((key) => {
        if (typeof opts[key] === "function") {
          const fn = opts[key];
          opts[key] = (...props) => this.zone.run(() => fn(...props));
        }
      });
    }
    return s4(opts);
  }
  /** @nocollapse */
  static \u0275fac = function GestureController_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || _GestureController)(\u0275\u0275inject(NgZone));
  };
  /** @nocollapse */
  static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({
    token: _GestureController,
    factory: _GestureController.\u0275fac,
    providedIn: "root"
  });
};
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(GestureController, [{
    type: Injectable,
    args: [{
      providedIn: "root"
    }]
  }], function() {
    return [{
      type: NgZone
    }];
  }, null);
})();
var LoadingController = class _LoadingController extends OverlayBaseController {
  constructor() {
    super(j2);
    T6();
  }
  /** @nocollapse */
  static \u0275fac = function LoadingController_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || _LoadingController)();
  };
  /** @nocollapse */
  static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({
    token: _LoadingController,
    factory: _LoadingController.\u0275fac,
    providedIn: "root"
  });
};
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(LoadingController, [{
    type: Injectable,
    args: [{
      providedIn: "root"
    }]
  }], function() {
    return [];
  }, null);
})();
var MenuController2 = class _MenuController extends MenuController {
  constructor() {
    super(p4);
  }
  /** @nocollapse */
  static \u0275fac = function MenuController_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || _MenuController)();
  };
  /** @nocollapse */
  static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({
    token: _MenuController,
    factory: _MenuController.\u0275fac,
    providedIn: "root"
  });
};
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(MenuController2, [{
    type: Injectable,
    args: [{
      providedIn: "root"
    }]
  }], function() {
    return [];
  }, null);
})();
var PickerController = class _PickerController extends OverlayBaseController {
  constructor() {
    super(C);
    B9();
  }
  /** @nocollapse */
  static \u0275fac = function PickerController_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || _PickerController)();
  };
  /** @nocollapse */
  static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({
    token: _PickerController,
    factory: _PickerController.\u0275fac,
    providedIn: "root"
  });
};
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(PickerController, [{
    type: Injectable,
    args: [{
      providedIn: "root"
    }]
  }], function() {
    return [];
  }, null);
})();
var ToastController = class _ToastController extends OverlayBaseController {
  constructor() {
    super(D3);
    V4();
  }
  /** @nocollapse */
  static \u0275fac = function ToastController_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || _ToastController)();
  };
  /** @nocollapse */
  static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({
    token: _ToastController,
    factory: _ToastController.\u0275fac,
    providedIn: "root"
  });
};
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(ToastController, [{
    type: Injectable,
    args: [{
      providedIn: "root"
    }]
  }], function() {
    return [];
  }, null);
})();
var IonNav3 = class IonNav4 extends IonNav {
  constructor(ref, environmentInjector, injector, angularDelegate, z11, c36) {
    super(ref, environmentInjector, injector, angularDelegate, z11, c36);
  }
  /** @nocollapse */
  static \u0275fac = function IonNav_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonNav4)(\u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(EnvironmentInjector), \u0275\u0275directiveInject(Injector), \u0275\u0275directiveInject(AngularDelegate), \u0275\u0275directiveInject(NgZone), \u0275\u0275directiveInject(ChangeDetectorRef));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonNav4,
    selectors: [["ion-nav"]],
    features: [\u0275\u0275InheritDefinitionFeature],
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonNav_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2
  });
};
IonNav3 = __decorate([ProxyCmp({
  defineCustomElementFn: E10
})], IonNav3);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonNav3, [{
    type: Component,
    args: [{
      selector: "ion-nav",
      template: "<ng-content></ng-content>",
      standalone: true
    }]
  }], function() {
    return [{
      type: ElementRef
    }, {
      type: EnvironmentInjector
    }, {
      type: Injector
    }, {
      type: AngularDelegate
    }, {
      type: NgZone
    }, {
      type: ChangeDetectorRef
    }];
  }, null);
})();
var CHECKBOX_INPUTS = ["checked", "color", "disabled", "errorText", "helperText", "indeterminate", "justify", "labelPlacement", "mode", "name", "value"];
var accessorProvider$a = {
  provide: NG_VALUE_ACCESSOR,
  useExisting: /* @__PURE__ */ forwardRef(() => IonCheckbox),
  multi: true
};
var IonCheckbox = class IonCheckbox2 extends ValueAccessor {
  z;
  el;
  constructor(c36, r32, z11, injector) {
    super(injector, r32);
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionChange", "ionFocus", "ionBlur"]);
  }
  writeValue(value) {
    this.elementRef.nativeElement.checked = this.lastValue = value;
    setIonicClasses(this.elementRef);
  }
  handleIonChange(el) {
    this.handleValueChange(el, el.checked);
  }
  /** @nocollapse */
  static \u0275fac = function IonCheckbox_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonCheckbox2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone), \u0275\u0275directiveInject(Injector));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonCheckbox2,
    selectors: [["ion-checkbox"]],
    hostBindings: function IonCheckbox_HostBindings(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275listener("ionChange", function IonCheckbox_ionChange_HostBindingHandler($event) {
          return ctx.handleIonChange($event.target);
        });
      }
    },
    inputs: {
      checked: "checked",
      color: "color",
      disabled: "disabled",
      errorText: "errorText",
      helperText: "helperText",
      indeterminate: "indeterminate",
      justify: "justify",
      labelPlacement: "labelPlacement",
      mode: "mode",
      name: "name",
      value: "value"
    },
    features: [\u0275\u0275ProvidersFeature([accessorProvider$a]), \u0275\u0275InheritDefinitionFeature],
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonCheckbox_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonCheckbox = __decorate([ProxyCmp2({
  defineCustomElementFn: r29,
  inputs: CHECKBOX_INPUTS
})], IonCheckbox);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonCheckbox, [{
    type: Component,
    args: [{
      selector: "ion-checkbox",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: CHECKBOX_INPUTS,
      providers: [accessorProvider$a],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }, {
      type: Injector
    }];
  }, {
    handleIonChange: [{
      type: HostListener,
      args: ["ionChange", ["$event.target"]]
    }]
  });
})();
var DATETIME_INPUTS = ["cancelText", "clearText", "color", "dayValues", "disabled", "doneText", "firstDayOfWeek", "formatOptions", "highlightedDates", "hourCycle", "hourValues", "isDateEnabled", "locale", "max", "min", "minuteValues", "mode", "monthValues", "multiple", "name", "preferWheel", "presentation", "readonly", "showAdjacentDays", "showClearButton", "showDefaultButtons", "showDefaultTimeLabel", "showDefaultTitle", "size", "titleSelectedDatesFormatter", "value", "yearValues"];
var accessorProvider$9 = {
  provide: NG_VALUE_ACCESSOR,
  useExisting: /* @__PURE__ */ forwardRef(() => IonDatetime),
  multi: true
};
var IonDatetime = class IonDatetime2 extends ValueAccessor {
  z;
  el;
  constructor(c36, r32, z11, injector) {
    super(injector, r32);
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionCancel", "ionChange", "ionFocus", "ionBlur"]);
  }
  handleIonChange(el) {
    this.handleValueChange(el, el.value);
  }
  /** @nocollapse */
  static \u0275fac = function IonDatetime_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonDatetime2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone), \u0275\u0275directiveInject(Injector));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonDatetime2,
    selectors: [["ion-datetime"]],
    hostBindings: function IonDatetime_HostBindings(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275listener("ionChange", function IonDatetime_ionChange_HostBindingHandler($event) {
          return ctx.handleIonChange($event.target);
        });
      }
    },
    inputs: {
      cancelText: "cancelText",
      clearText: "clearText",
      color: "color",
      dayValues: "dayValues",
      disabled: "disabled",
      doneText: "doneText",
      firstDayOfWeek: "firstDayOfWeek",
      formatOptions: "formatOptions",
      highlightedDates: "highlightedDates",
      hourCycle: "hourCycle",
      hourValues: "hourValues",
      isDateEnabled: "isDateEnabled",
      locale: "locale",
      max: "max",
      min: "min",
      minuteValues: "minuteValues",
      mode: "mode",
      monthValues: "monthValues",
      multiple: "multiple",
      name: "name",
      preferWheel: "preferWheel",
      presentation: "presentation",
      readonly: "readonly",
      showAdjacentDays: "showAdjacentDays",
      showClearButton: "showClearButton",
      showDefaultButtons: "showDefaultButtons",
      showDefaultTimeLabel: "showDefaultTimeLabel",
      showDefaultTitle: "showDefaultTitle",
      size: "size",
      titleSelectedDatesFormatter: "titleSelectedDatesFormatter",
      value: "value",
      yearValues: "yearValues"
    },
    features: [\u0275\u0275ProvidersFeature([accessorProvider$9]), \u0275\u0275InheritDefinitionFeature],
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonDatetime_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonDatetime = __decorate([ProxyCmp2({
  defineCustomElementFn: Se,
  inputs: DATETIME_INPUTS,
  methods: ["confirm", "reset", "cancel"]
})], IonDatetime);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonDatetime, [{
    type: Component,
    args: [{
      selector: "ion-datetime",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: DATETIME_INPUTS,
      providers: [accessorProvider$9],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }, {
      type: Injector
    }];
  }, {
    handleIonChange: [{
      type: HostListener,
      args: ["ionChange", ["$event.target"]]
    }]
  });
})();
var IonIcon = class IonIcon2 {
  z;
  el;
  constructor(c36, r32, z11) {
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
  }
  /** @nocollapse */
  static \u0275fac = function IonIcon_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonIcon2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonIcon2,
    selectors: [["ion-icon"]],
    inputs: {
      color: "color",
      flipRtl: "flipRtl",
      icon: "icon",
      ios: "ios",
      lazy: "lazy",
      md: "md",
      mode: "mode",
      name: "name",
      sanitize: "sanitize",
      size: "size",
      src: "src"
    },
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonIcon_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonIcon = __decorate([ProxyCmp2({
  defineCustomElementFn: defineCustomElement,
  inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"]
})], IonIcon);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonIcon, [{
    type: Component,
    args: [{
      selector: "ion-icon",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }];
  }, null);
})();
var INPUT_INPUTS = ["accept", "autocapitalize", "autocomplete", "autocorrect", "autofocus", "clearInput", "clearOnEdit", "color", "counter", "counterFormatter", "debounce", "disabled", "enterkeyhint", "errorText", "fill", "helperText", "inputmode", "label", "labelPlacement", "max", "maxlength", "min", "minlength", "mode", "multiple", "name", "pattern", "placeholder", "readonly", "required", "shape", "size", "spellcheck", "step", "type", "value"];
var accessorProvider$8 = {
  provide: NG_VALUE_ACCESSOR,
  useExisting: /* @__PURE__ */ forwardRef(() => IonInput),
  multi: true
};
var IonInput = class IonInput2 extends ValueAccessor {
  z;
  el;
  constructor(c36, r32, z11, injector) {
    super(injector, r32);
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionInput", "ionChange", "ionBlur", "ionFocus"]);
  }
  handleIonInput(el) {
    this.handleValueChange(el, el.value);
  }
  registerOnChange(fn) {
    super.registerOnChange((value) => {
      if (this.type === "number") {
        fn(value === "" ? null : parseFloat(value));
      } else {
        fn(value);
      }
    });
  }
  /** @nocollapse */
  static \u0275fac = function IonInput_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonInput2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone), \u0275\u0275directiveInject(Injector));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonInput2,
    selectors: [["ion-input"]],
    hostBindings: function IonInput_HostBindings(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275listener("ionInput", function IonInput_ionInput_HostBindingHandler($event) {
          return ctx.handleIonInput($event.target);
        });
      }
    },
    inputs: {
      accept: "accept",
      autocapitalize: "autocapitalize",
      autocomplete: "autocomplete",
      autocorrect: "autocorrect",
      autofocus: "autofocus",
      clearInput: "clearInput",
      clearOnEdit: "clearOnEdit",
      color: "color",
      counter: "counter",
      counterFormatter: "counterFormatter",
      debounce: "debounce",
      disabled: "disabled",
      enterkeyhint: "enterkeyhint",
      errorText: "errorText",
      fill: "fill",
      helperText: "helperText",
      inputmode: "inputmode",
      label: "label",
      labelPlacement: "labelPlacement",
      max: "max",
      maxlength: "maxlength",
      min: "min",
      minlength: "minlength",
      mode: "mode",
      multiple: "multiple",
      name: "name",
      pattern: "pattern",
      placeholder: "placeholder",
      readonly: "readonly",
      required: "required",
      shape: "shape",
      size: "size",
      spellcheck: "spellcheck",
      step: "step",
      type: "type",
      value: "value"
    },
    features: [\u0275\u0275ProvidersFeature([accessorProvider$8]), \u0275\u0275InheritDefinitionFeature],
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonInput_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonInput = __decorate([ProxyCmp2({
  defineCustomElementFn: C5,
  inputs: INPUT_INPUTS,
  methods: ["setFocus", "getInputElement"]
})], IonInput);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonInput, [{
    type: Component,
    args: [{
      selector: "ion-input",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: INPUT_INPUTS,
      providers: [accessorProvider$8],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }, {
      type: Injector
    }];
  }, {
    handleIonInput: [{
      type: HostListener,
      args: ["ionInput", ["$event.target"]]
    }]
  });
})();
var INPUT_OTP_INPUTS = ["autocapitalize", "color", "disabled", "fill", "inputmode", "length", "pattern", "readonly", "separators", "shape", "size", "type", "value"];
var accessorProvider$7 = {
  provide: NG_VALUE_ACCESSOR,
  useExisting: /* @__PURE__ */ forwardRef(() => IonInputOtp),
  multi: true
};
var IonInputOtp = class IonInputOtp2 extends ValueAccessor {
  z;
  el;
  constructor(c36, r32, z11, injector) {
    super(injector, r32);
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionInput", "ionChange", "ionComplete", "ionBlur", "ionFocus"]);
  }
  handleIonInput(el) {
    this.handleValueChange(el, el.value);
  }
  registerOnChange(fn) {
    super.registerOnChange((value) => {
      if (this.type === "number") {
        fn(value === "" ? null : parseFloat(value));
      } else {
        fn(value);
      }
    });
  }
  /** @nocollapse */
  static \u0275fac = function IonInputOtp_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonInputOtp2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone), \u0275\u0275directiveInject(Injector));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonInputOtp2,
    selectors: [["ion-input-otp"]],
    hostBindings: function IonInputOtp_HostBindings(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275listener("ionInput", function IonInputOtp_ionInput_HostBindingHandler($event) {
          return ctx.handleIonInput($event.target);
        });
      }
    },
    inputs: {
      autocapitalize: "autocapitalize",
      color: "color",
      disabled: "disabled",
      fill: "fill",
      inputmode: "inputmode",
      length: "length",
      pattern: "pattern",
      readonly: "readonly",
      separators: "separators",
      shape: "shape",
      size: "size",
      type: "type",
      value: "value"
    },
    features: [\u0275\u0275ProvidersFeature([accessorProvider$7]), \u0275\u0275InheritDefinitionFeature],
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonInputOtp_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonInputOtp = __decorate([ProxyCmp2({
  defineCustomElementFn: g17,
  inputs: INPUT_OTP_INPUTS,
  methods: ["setFocus"]
})], IonInputOtp);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonInputOtp, [{
    type: Component,
    args: [{
      selector: "ion-input-otp",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: INPUT_OTP_INPUTS,
      providers: [accessorProvider$7],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }, {
      type: Injector
    }];
  }, {
    handleIonInput: [{
      type: HostListener,
      args: ["ionInput", ["$event.target"]]
    }]
  });
})();
var RADIO_GROUP_INPUTS = ["allowEmptySelection", "compareWith", "errorText", "helperText", "name", "value"];
var accessorProvider$6 = {
  provide: NG_VALUE_ACCESSOR,
  useExisting: /* @__PURE__ */ forwardRef(() => IonRadioGroup),
  multi: true
};
var IonRadioGroup = class IonRadioGroup2 extends ValueAccessor {
  z;
  el;
  constructor(c36, r32, z11, injector) {
    super(injector, r32);
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionChange"]);
  }
  handleIonChange(el) {
    this.handleValueChange(el, el.value);
  }
  /** @nocollapse */
  static \u0275fac = function IonRadioGroup_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonRadioGroup2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone), \u0275\u0275directiveInject(Injector));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonRadioGroup2,
    selectors: [["ion-radio-group"]],
    hostBindings: function IonRadioGroup_HostBindings(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275listener("ionChange", function IonRadioGroup_ionChange_HostBindingHandler($event) {
          return ctx.handleIonChange($event.target);
        });
      }
    },
    inputs: {
      allowEmptySelection: "allowEmptySelection",
      compareWith: "compareWith",
      errorText: "errorText",
      helperText: "helperText",
      name: "name",
      value: "value"
    },
    features: [\u0275\u0275ProvidersFeature([accessorProvider$6]), \u0275\u0275InheritDefinitionFeature],
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonRadioGroup_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonRadioGroup = __decorate([ProxyCmp2({
  defineCustomElementFn: r31,
  inputs: RADIO_GROUP_INPUTS
})], IonRadioGroup);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonRadioGroup, [{
    type: Component,
    args: [{
      selector: "ion-radio-group",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: RADIO_GROUP_INPUTS,
      providers: [accessorProvider$6],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }, {
      type: Injector
    }];
  }, {
    handleIonChange: [{
      type: HostListener,
      args: ["ionChange", ["$event.target"]]
    }]
  });
})();
var RANGE_INPUTS = ["activeBarStart", "color", "debounce", "disabled", "dualKnobs", "label", "labelPlacement", "max", "min", "mode", "name", "pin", "pinFormatter", "snaps", "step", "ticks", "value"];
var accessorProvider$5 = {
  provide: NG_VALUE_ACCESSOR,
  useExisting: /* @__PURE__ */ forwardRef(() => IonRange),
  multi: true
};
var IonRange = class IonRange2 extends ValueAccessor {
  z;
  el;
  constructor(c36, r32, z11, injector) {
    super(injector, r32);
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionChange", "ionInput", "ionFocus", "ionBlur", "ionKnobMoveStart", "ionKnobMoveEnd"]);
  }
  handleIonInput(el) {
    this.handleValueChange(el, el.value);
  }
  /** @nocollapse */
  static \u0275fac = function IonRange_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonRange2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone), \u0275\u0275directiveInject(Injector));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonRange2,
    selectors: [["ion-range"]],
    hostBindings: function IonRange_HostBindings(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275listener("ionInput", function IonRange_ionInput_HostBindingHandler($event) {
          return ctx.handleIonInput($event.target);
        });
      }
    },
    inputs: {
      activeBarStart: "activeBarStart",
      color: "color",
      debounce: "debounce",
      disabled: "disabled",
      dualKnobs: "dualKnobs",
      label: "label",
      labelPlacement: "labelPlacement",
      max: "max",
      min: "min",
      mode: "mode",
      name: "name",
      pin: "pin",
      pinFormatter: "pinFormatter",
      snaps: "snaps",
      step: "step",
      ticks: "ticks",
      value: "value"
    },
    features: [\u0275\u0275ProvidersFeature([accessorProvider$5]), \u0275\u0275InheritDefinitionFeature],
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonRange_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonRange = __decorate([ProxyCmp2({
  defineCustomElementFn: C6,
  inputs: RANGE_INPUTS
})], IonRange);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonRange, [{
    type: Component,
    args: [{
      selector: "ion-range",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: RANGE_INPUTS,
      providers: [accessorProvider$5],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }, {
      type: Injector
    }];
  }, {
    handleIonInput: [{
      type: HostListener,
      args: ["ionInput", ["$event.target"]]
    }]
  });
})();
var SEARCHBAR_INPUTS = ["animated", "autocomplete", "autocorrect", "cancelButtonIcon", "cancelButtonText", "clearIcon", "color", "debounce", "disabled", "enterkeyhint", "inputmode", "mode", "name", "placeholder", "searchIcon", "showCancelButton", "showClearButton", "spellcheck", "type", "value"];
var accessorProvider$4 = {
  provide: NG_VALUE_ACCESSOR,
  useExisting: /* @__PURE__ */ forwardRef(() => IonSearchbar),
  multi: true
};
var IonSearchbar = class IonSearchbar2 extends ValueAccessor {
  z;
  el;
  constructor(c36, r32, z11, injector) {
    super(injector, r32);
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionInput", "ionChange", "ionCancel", "ionClear", "ionBlur", "ionFocus"]);
  }
  handleIonInput(el) {
    this.handleValueChange(el, el.value);
  }
  /** @nocollapse */
  static \u0275fac = function IonSearchbar_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonSearchbar2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone), \u0275\u0275directiveInject(Injector));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonSearchbar2,
    selectors: [["ion-searchbar"]],
    hostBindings: function IonSearchbar_HostBindings(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275listener("ionInput", function IonSearchbar_ionInput_HostBindingHandler($event) {
          return ctx.handleIonInput($event.target);
        });
      }
    },
    inputs: {
      animated: "animated",
      autocomplete: "autocomplete",
      autocorrect: "autocorrect",
      cancelButtonIcon: "cancelButtonIcon",
      cancelButtonText: "cancelButtonText",
      clearIcon: "clearIcon",
      color: "color",
      debounce: "debounce",
      disabled: "disabled",
      enterkeyhint: "enterkeyhint",
      inputmode: "inputmode",
      mode: "mode",
      name: "name",
      placeholder: "placeholder",
      searchIcon: "searchIcon",
      showCancelButton: "showCancelButton",
      showClearButton: "showClearButton",
      spellcheck: "spellcheck",
      type: "type",
      value: "value"
    },
    features: [\u0275\u0275ProvidersFeature([accessorProvider$4]), \u0275\u0275InheritDefinitionFeature],
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonSearchbar_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonSearchbar = __decorate([ProxyCmp2({
  defineCustomElementFn: z10,
  inputs: SEARCHBAR_INPUTS,
  methods: ["setFocus", "getInputElement"]
})], IonSearchbar);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonSearchbar, [{
    type: Component,
    args: [{
      selector: "ion-searchbar",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: SEARCHBAR_INPUTS,
      providers: [accessorProvider$4],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }, {
      type: Injector
    }];
  }, {
    handleIonInput: [{
      type: HostListener,
      args: ["ionInput", ["$event.target"]]
    }]
  });
})();
var SEGMENT_INPUTS = ["color", "disabled", "mode", "scrollable", "selectOnFocus", "swipeGesture", "value"];
var accessorProvider$3 = {
  provide: NG_VALUE_ACCESSOR,
  useExisting: /* @__PURE__ */ forwardRef(() => IonSegment),
  multi: true
};
var IonSegment = class IonSegment2 extends ValueAccessor {
  z;
  el;
  constructor(c36, r32, z11, injector) {
    super(injector, r32);
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionChange"]);
  }
  handleIonChange(el) {
    this.handleValueChange(el, el.value);
  }
  /** @nocollapse */
  static \u0275fac = function IonSegment_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonSegment2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone), \u0275\u0275directiveInject(Injector));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonSegment2,
    selectors: [["ion-segment"]],
    hostBindings: function IonSegment_HostBindings(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275listener("ionChange", function IonSegment_ionChange_HostBindingHandler($event) {
          return ctx.handleIonChange($event.target);
        });
      }
    },
    inputs: {
      color: "color",
      disabled: "disabled",
      mode: "mode",
      scrollable: "scrollable",
      selectOnFocus: "selectOnFocus",
      swipeGesture: "swipeGesture",
      value: "value"
    },
    features: [\u0275\u0275ProvidersFeature([accessorProvider$3]), \u0275\u0275InheritDefinitionFeature],
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonSegment_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonSegment = __decorate([ProxyCmp2({
  defineCustomElementFn: g18,
  inputs: SEGMENT_INPUTS
})], IonSegment);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonSegment, [{
    type: Component,
    args: [{
      selector: "ion-segment",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: SEGMENT_INPUTS,
      providers: [accessorProvider$3],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }, {
      type: Injector
    }];
  }, {
    handleIonChange: [{
      type: HostListener,
      args: ["ionChange", ["$event.target"]]
    }]
  });
})();
var SELECT_INPUTS = ["cancelText", "color", "compareWith", "disabled", "errorText", "expandedIcon", "fill", "helperText", "interface", "interfaceOptions", "justify", "label", "labelPlacement", "mode", "multiple", "name", "okText", "placeholder", "selectedText", "shape", "toggleIcon", "value"];
var accessorProvider$2 = {
  provide: NG_VALUE_ACCESSOR,
  useExisting: /* @__PURE__ */ forwardRef(() => IonSelect),
  multi: true
};
var IonSelect = class IonSelect2 extends ValueAccessor {
  z;
  el;
  constructor(c36, r32, z11, injector) {
    super(injector, r32);
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionChange", "ionCancel", "ionDismiss", "ionFocus", "ionBlur"]);
  }
  handleIonChange(el) {
    this.handleValueChange(el, el.value);
  }
  /** @nocollapse */
  static \u0275fac = function IonSelect_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonSelect2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone), \u0275\u0275directiveInject(Injector));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonSelect2,
    selectors: [["ion-select"]],
    hostBindings: function IonSelect_HostBindings(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275listener("ionChange", function IonSelect_ionChange_HostBindingHandler($event) {
          return ctx.handleIonChange($event.target);
        });
      }
    },
    inputs: {
      cancelText: "cancelText",
      color: "color",
      compareWith: "compareWith",
      disabled: "disabled",
      errorText: "errorText",
      expandedIcon: "expandedIcon",
      fill: "fill",
      helperText: "helperText",
      interface: "interface",
      interfaceOptions: "interfaceOptions",
      justify: "justify",
      label: "label",
      labelPlacement: "labelPlacement",
      mode: "mode",
      multiple: "multiple",
      name: "name",
      okText: "okText",
      placeholder: "placeholder",
      selectedText: "selectedText",
      shape: "shape",
      toggleIcon: "toggleIcon",
      value: "value"
    },
    features: [\u0275\u0275ProvidersFeature([accessorProvider$2]), \u0275\u0275InheritDefinitionFeature],
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonSelect_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonSelect = __decorate([ProxyCmp2({
  defineCustomElementFn: ie2,
  inputs: SELECT_INPUTS,
  methods: ["open"]
})], IonSelect);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonSelect, [{
    type: Component,
    args: [{
      selector: "ion-select",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: SELECT_INPUTS,
      providers: [accessorProvider$2],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }, {
      type: Injector
    }];
  }, {
    handleIonChange: [{
      type: HostListener,
      args: ["ionChange", ["$event.target"]]
    }]
  });
})();
var TEXTAREA_INPUTS = ["autoGrow", "autocapitalize", "autofocus", "clearOnEdit", "color", "cols", "counter", "counterFormatter", "debounce", "disabled", "enterkeyhint", "errorText", "fill", "helperText", "inputmode", "label", "labelPlacement", "maxlength", "minlength", "mode", "name", "placeholder", "readonly", "required", "rows", "shape", "spellcheck", "value", "wrap"];
var accessorProvider$1 = {
  provide: NG_VALUE_ACCESSOR,
  useExisting: /* @__PURE__ */ forwardRef(() => IonTextarea),
  multi: true
};
var IonTextarea = class IonTextarea2 extends ValueAccessor {
  z;
  el;
  constructor(c36, r32, z11, injector) {
    super(injector, r32);
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionChange", "ionInput", "ionBlur", "ionFocus"]);
  }
  handleIonInput(el) {
    this.handleValueChange(el, el.value);
  }
  /** @nocollapse */
  static \u0275fac = function IonTextarea_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonTextarea2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone), \u0275\u0275directiveInject(Injector));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonTextarea2,
    selectors: [["ion-textarea"]],
    hostBindings: function IonTextarea_HostBindings(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275listener("ionInput", function IonTextarea_ionInput_HostBindingHandler($event) {
          return ctx.handleIonInput($event.target);
        });
      }
    },
    inputs: {
      autoGrow: "autoGrow",
      autocapitalize: "autocapitalize",
      autofocus: "autofocus",
      clearOnEdit: "clearOnEdit",
      color: "color",
      cols: "cols",
      counter: "counter",
      counterFormatter: "counterFormatter",
      debounce: "debounce",
      disabled: "disabled",
      enterkeyhint: "enterkeyhint",
      errorText: "errorText",
      fill: "fill",
      helperText: "helperText",
      inputmode: "inputmode",
      label: "label",
      labelPlacement: "labelPlacement",
      maxlength: "maxlength",
      minlength: "minlength",
      mode: "mode",
      name: "name",
      placeholder: "placeholder",
      readonly: "readonly",
      required: "required",
      rows: "rows",
      shape: "shape",
      spellcheck: "spellcheck",
      value: "value",
      wrap: "wrap"
    },
    features: [\u0275\u0275ProvidersFeature([accessorProvider$1]), \u0275\u0275InheritDefinitionFeature],
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonTextarea_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonTextarea = __decorate([ProxyCmp2({
  defineCustomElementFn: y12,
  inputs: TEXTAREA_INPUTS,
  methods: ["setFocus", "getInputElement"]
})], IonTextarea);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonTextarea, [{
    type: Component,
    args: [{
      selector: "ion-textarea",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: TEXTAREA_INPUTS,
      providers: [accessorProvider$1],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }, {
      type: Injector
    }];
  }, {
    handleIonInput: [{
      type: HostListener,
      args: ["ionInput", ["$event.target"]]
    }]
  });
})();
var TOGGLE_INPUTS = ["checked", "color", "disabled", "enableOnOffLabels", "errorText", "helperText", "justify", "labelPlacement", "mode", "name", "value"];
var accessorProvider = {
  provide: NG_VALUE_ACCESSOR,
  useExisting: /* @__PURE__ */ forwardRef(() => IonToggle),
  multi: true
};
var IonToggle = class IonToggle2 extends ValueAccessor {
  z;
  el;
  constructor(c36, r32, z11, injector) {
    super(injector, r32);
    this.z = z11;
    c36.detach();
    this.el = r32.nativeElement;
    proxyOutputs2(this, this.el, ["ionChange", "ionFocus", "ionBlur"]);
  }
  writeValue(value) {
    this.elementRef.nativeElement.checked = this.lastValue = value;
    setIonicClasses(this.elementRef);
  }
  handleIonChange(el) {
    this.handleValueChange(el, el.checked);
  }
  /** @nocollapse */
  static \u0275fac = function IonToggle_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || IonToggle2)(\u0275\u0275directiveInject(ChangeDetectorRef), \u0275\u0275directiveInject(ElementRef), \u0275\u0275directiveInject(NgZone), \u0275\u0275directiveInject(Injector));
  };
  /** @nocollapse */
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({
    type: IonToggle2,
    selectors: [["ion-toggle"]],
    hostBindings: function IonToggle_HostBindings(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275listener("ionChange", function IonToggle_ionChange_HostBindingHandler($event) {
          return ctx.handleIonChange($event.target);
        });
      }
    },
    inputs: {
      checked: "checked",
      color: "color",
      disabled: "disabled",
      enableOnOffLabels: "enableOnOffLabels",
      errorText: "errorText",
      helperText: "helperText",
      justify: "justify",
      labelPlacement: "labelPlacement",
      mode: "mode",
      name: "name",
      value: "value"
    },
    features: [\u0275\u0275ProvidersFeature([accessorProvider]), \u0275\u0275InheritDefinitionFeature],
    ngContentSelectors: _c1,
    decls: 1,
    vars: 0,
    template: function IonToggle_Template(rf, ctx) {
      if (rf & 1) {
        \u0275\u0275projectionDef();
        \u0275\u0275projection(0);
      }
    },
    encapsulation: 2,
    changeDetection: 0
  });
};
IonToggle = __decorate([ProxyCmp2({
  defineCustomElementFn: T7,
  inputs: TOGGLE_INPUTS
})], IonToggle);
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(IonToggle, [{
    type: Component,
    args: [{
      selector: "ion-toggle",
      changeDetection: ChangeDetectionStrategy.OnPush,
      template: "<ng-content></ng-content>",
      // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
      inputs: TOGGLE_INPUTS,
      providers: [accessorProvider],
      standalone: true
    }]
  }], function() {
    return [{
      type: ChangeDetectorRef
    }, {
      type: ElementRef
    }, {
      type: NgZone
    }, {
      type: Injector
    }];
  }, {
    handleIonChange: [{
      type: HostListener,
      args: ["ionChange", ["$event.target"]]
    }]
  });
})();

// src/app/app.config.ts
registerLocaleData(fr_default);
var appConfig = {
  providers: [
    provideBrowserGlobalErrorListeners(),
    provideZoneChangeDetection({ eventCoalescing: true }),
    provideRouter(routes),
    provideNzIcons(icons),
    provideNzI18n(fr_FR),
    provideAnimationsAsync(),
    provideHttpClient(),
    provideIonicAngular({})
  ]
};

// src/app/app.ts
var App = class _App {
  static \u0275fac = function App_Factory(__ngFactoryType__) {
    return new (__ngFactoryType__ || _App)();
  };
  static \u0275cmp = /* @__PURE__ */ \u0275\u0275defineComponent({ type: _App, selectors: [["app-root"]], decls: 1, vars: 0, template: function App_Template(rf, ctx) {
    if (rf & 1) {
      \u0275\u0275element(0, "router-outlet");
    }
  }, dependencies: [RouterOutlet], styles: ["\n\n[_nghost-%COMP%] {\n  display: block;\n  height: 100%;\n  background-color: var(--bg);\n}\n/*# sourceMappingURL=app.css.map */"] });
};
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(App, [{
    type: Component,
    args: [{ selector: "app-root", imports: [RouterOutlet], template: "<router-outlet />\n", styles: ["/* src/app/app.css */\n:host {\n  display: block;\n  height: 100%;\n  background-color: var(--bg);\n}\n/*# sourceMappingURL=app.css.map */\n"] }]
  }], null, null);
})();
(() => {
  (typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(App, { className: "App", filePath: "src/app/app.ts", lineNumber: 10 });
})();

// src/main.ts
bootstrapApplication(App, appConfig).catch((err2) => console.error(err2));
/*! Bundled license information:

@angular/common/locales/fr.js:
  (**
   * @license
   * Copyright Google LLC All Rights Reserved.
   *
   * Use of this source code is governed by an MIT-style license that can be
   * found in the LICENSE file at https://angular.dev/license
   *)

@angular/platform-browser/fesm2022/animations/async.mjs:
  (**
   * @license Angular v20.3.18
   * (c) 2010-2025 Google LLC. https://angular.dev/
   * License: MIT
   *)

@ionic/core/components/p-hHmYLOfE.js:
@ionic/core/components/p-CDfQnFrd.js:
@ionic/core/components/p-BUbsoBOV.js:
@ionic/core/components/p-DiVJyqlX.js:
@ionic/core/components/p-D6NJwNJN.js:
@ionic/core/components/p-BR3tZJmu.js:
@ionic/core/components/p-Cq8cQ0NL.js:
@ionic/core/components/index.js:
@ionic/core/components/p-CO7fmmxt.js:
@ionic/core/components/p-YLXPWgVj.js:
@ionic/core/components/p-fpbh6w3f.js:
@ionic/core/components/ion-back-button.js:
@ionic/core/components/p-B-hirT0v.js:
@ionic/core/components/ion-router-outlet.js:
@ionic/core/components/p-CoA-aqGF.js:
@ionic/core/components/p-BVnB3eEn.js:
@ionic/core/components/ion-modal.js:
@ionic/core/components/p-DHsZWn1l.js:
@ionic/core/components/ion-popover.js:
@ionic/core/components/ion-accordion.js:
@ionic/core/components/ion-accordion-group.js:
@ionic/core/components/p-cyNmxje6.js:
@ionic/core/components/p-C4jPsTQa.js:
@ionic/core/components/p-1KVKSLu5.js:
@ionic/core/components/ion-action-sheet.js:
@ionic/core/components/p-CH0NYjKq.js:
@ionic/core/components/ion-alert.js:
@ionic/core/components/ion-app.js:
@ionic/core/components/ion-avatar.js:
@ionic/core/components/ion-backdrop.js:
@ionic/core/components/ion-badge.js:
@ionic/core/components/ion-breadcrumb.js:
@ionic/core/components/ion-breadcrumbs.js:
@ionic/core/components/p-BTeL5HCK.js:
@ionic/core/components/ion-button.js:
@ionic/core/components/p-B8b1Ukl9.js:
@ionic/core/components/ion-buttons.js:
@ionic/core/components/ion-card.js:
@ionic/core/components/ion-card-content.js:
@ionic/core/components/ion-card-header.js:
@ionic/core/components/ion-card-subtitle.js:
@ionic/core/components/ion-card-title.js:
@ionic/core/components/ion-chip.js:
@ionic/core/components/ion-col.js:
@ionic/core/components/p-ApmKVjaE.js:
@ionic/core/components/ion-content.js:
@ionic/core/components/p-BS1TtEiJ.js:
@ionic/core/components/ion-datetime-button.js:
@ionic/core/components/ion-fab.js:
@ionic/core/components/ion-fab-button.js:
@ionic/core/components/ion-fab-list.js:
@ionic/core/components/p-CtWGkNnJ.js:
@ionic/core/components/ion-footer.js:
@ionic/core/components/ion-grid.js:
@ionic/core/components/p-BYDc3hSE.js:
@ionic/core/components/ion-header.js:
@ionic/core/components/ion-img.js:
@ionic/core/components/ion-infinite-scroll.js:
@ionic/core/components/p-Cyxa_4PV.js:
@ionic/core/components/ion-infinite-scroll-content.js:
@ionic/core/components/ion-input-password-toggle.js:
@ionic/core/components/p-kvaDs24J.js:
@ionic/core/components/ion-item.js:
@ionic/core/components/ion-item-divider.js:
@ionic/core/components/ion-item-group.js:
@ionic/core/components/ion-item-option.js:
@ionic/core/components/ion-item-options.js:
@ionic/core/components/p-Dtdm8lKC.js:
@ionic/core/components/ion-item-sliding.js:
@ionic/core/components/p-B6FQ0cKR.js:
@ionic/core/components/ion-label.js:
@ionic/core/components/p-DYdpXONG.js:
@ionic/core/components/ion-list.js:
@ionic/core/components/p-BagjAGC0.js:
@ionic/core/components/ion-list-header.js:
@ionic/core/components/ion-loading.js:
@ionic/core/components/ion-menu.js:
@ionic/core/components/p-BNAG-aVv.js:
@ionic/core/components/ion-menu-button.js:
@ionic/core/components/ion-menu-toggle.js:
@ionic/core/components/ion-nav-link.js:
@ionic/core/components/ion-note.js:
@ionic/core/components/p-B6HaBl3o.js:
@ionic/core/components/ion-picker.js:
@ionic/core/components/p-FBcnjE5W.js:
@ionic/core/components/ion-picker-column.js:
@ionic/core/components/p-BxwWvu-b.js:
@ionic/core/components/ion-picker-column-option.js:
@ionic/core/components/p-BegtE7nr.js:
@ionic/core/components/ion-picker-legacy.js:
@ionic/core/components/ion-progress-bar.js:
@ionic/core/components/p-BSB38Tek.js:
@ionic/core/components/ion-radio.js:
@ionic/core/components/p-CgqKJg96.js:
@ionic/core/components/ion-refresher.js:
@ionic/core/components/ion-refresher-content.js:
@ionic/core/components/ion-reorder.js:
@ionic/core/components/ion-reorder-group.js:
@ionic/core/components/ion-ripple-effect.js:
@ionic/core/components/ion-row.js:
@ionic/core/components/ion-segment-button.js:
@ionic/core/components/ion-segment-content.js:
@ionic/core/components/ion-segment-view.js:
@ionic/core/components/p-DJztqcrH.js:
@ionic/core/components/p-SBseW5KJ.js:
@ionic/core/components/p-Bk2zuNWT.js:
@ionic/core/components/p-CgfaEEem.js:
@ionic/core/components/p-DJMZehmW.js:
@ionic/core/components/p-BTF2nRLo.js:
@ionic/core/components/ion-select-modal.js:
@ionic/core/components/ion-select-option.js:
@ionic/core/components/ion-skeleton-text.js:
@ionic/core/components/ion-spinner.js:
@ionic/core/components/ion-split-pane.js:
@ionic/core/components/ion-tab.js:
@ionic/core/components/ion-tab-bar.js:
@ionic/core/components/ion-tab-button.js:
@ionic/core/components/ion-text.js:
@ionic/core/components/ion-thumbnail.js:
@ionic/core/components/ion-title.js:
@ionic/core/components/ion-toast.js:
@ionic/core/components/ion-toolbar.js:
@ionic/core/components/ion-nav.js:
@ionic/core/components/ion-checkbox.js:
@ionic/core/components/ion-datetime.js:
@ionic/core/components/p-ak_d-z48.js:
@ionic/core/components/p-Cy5XSfIk.js:
@ionic/core/components/ion-input.js:
@ionic/core/components/ion-input-otp.js:
@ionic/core/components/ion-radio-group.js:
@ionic/core/components/ion-range.js:
@ionic/core/components/ion-searchbar.js:
@ionic/core/components/ion-segment.js:
@ionic/core/components/p-EK4xUz-q.js:
@ionic/core/components/ion-select.js:
@ionic/core/components/ion-textarea.js:
@ionic/core/components/ion-toggle.js:
  (*!
   * (C) Ionic http://ionicframework.com - MIT License
   *)
*/
//# sourceMappingURL=main.js.map
