{"ast":null,"code":"const formatDistanceLocale = {\n  lessThanXSeconds: {\n    one: \"sekunddan kam\",\n    other: \"{{count}} sekunddan kam\"\n  },\n  xSeconds: {\n    one: \"1 sekund\",\n    other: \"{{count}} sekund\"\n  },\n  halfAMinute: \"yarim minut\",\n  lessThanXMinutes: {\n    one: \"bir minutdan kam\",\n    other: \"{{count}} minutdan kam\"\n  },\n  xMinutes: {\n    one: \"1 minut\",\n    other: \"{{count}} minut\"\n  },\n  aboutXHours: {\n    one: \"tahminan 1 soat\",\n    other: \"tahminan {{count}} soat\"\n  },\n  xHours: {\n    one: \"1 soat\",\n    other: \"{{count}} soat\"\n  },\n  xDays: {\n    one: \"1 kun\",\n    other: \"{{count}} kun\"\n  },\n  aboutXWeeks: {\n    one: \"tahminan 1 hafta\",\n    other: \"tahminan {{count}} hafta\"\n  },\n  xWeeks: {\n    one: \"1 hafta\",\n    other: \"{{count}} hafta\"\n  },\n  aboutXMonths: {\n    one: \"tahminan 1 oy\",\n    other: \"tahminan {{count}} oy\"\n  },\n  xMonths: {\n    one: \"1 oy\",\n    other: \"{{count}} oy\"\n  },\n  aboutXYears: {\n    one: \"tahminan 1 yil\",\n    other: \"tahminan {{count}} yil\"\n  },\n  xYears: {\n    one: \"1 yil\",\n    other: \"{{count}} yil\"\n  },\n  overXYears: {\n    one: \"1 yildan ko'p\",\n    other: \"{{count}} yildan ko'p\"\n  },\n  almostXYears: {\n    one: \"deyarli 1 yil\",\n    other: \"deyarli {{count}} yil\"\n  }\n};\nexport const formatDistance = (token, count, options) => {\n  let result;\n  const tokenValue = formatDistanceLocale[token];\n  if (typeof tokenValue === \"string\") {\n    result = tokenValue;\n  } else if (count === 1) {\n    result = tokenValue.one;\n  } else {\n    result = tokenValue.other.replace(\"{{count}}\", String(count));\n  }\n  if (options?.addSuffix) {\n    if (options.comparison && options.comparison > 0) {\n      return result + \" dan keyin\";\n    } else {\n      return result + \" oldin\";\n    }\n  }\n  return result;\n};","map":{"version":3,"names":["formatDistanceLocale","lessThanXSeconds","one","other","xSeconds","halfAMinute","lessThanXMinutes","xMinutes","aboutXHours","xHours","xDays","aboutXWeeks","xWeeks","aboutXMonths","xMonths","aboutXYears","xYears","overXYears","almostXYears","formatDistance","token","count","options","result","tokenValue","replace","String","addSuffix","comparison"],"sources":["/root/rfcontavagas_hom/12.-Servidor-local-Docker/Front-Parking-Angular/node_modules/date-fns/locale/uz/_lib/formatDistance.mjs"],"sourcesContent":["const formatDistanceLocale = {\n  lessThanXSeconds: {\n    one: \"sekunddan kam\",\n    other: \"{{count}} sekunddan kam\",\n  },\n\n  xSeconds: {\n    one: \"1 sekund\",\n    other: \"{{count}} sekund\",\n  },\n\n  halfAMinute: \"yarim minut\",\n\n  lessThanXMinutes: {\n    one: \"bir minutdan kam\",\n    other: \"{{count}} minutdan kam\",\n  },\n\n  xMinutes: {\n    one: \"1 minut\",\n    other: \"{{count}} minut\",\n  },\n\n  aboutXHours: {\n    one: \"tahminan 1 soat\",\n    other: \"tahminan {{count}} soat\",\n  },\n\n  xHours: {\n    one: \"1 soat\",\n    other: \"{{count}} soat\",\n  },\n\n  xDays: {\n    one: \"1 kun\",\n    other: \"{{count}} kun\",\n  },\n\n  aboutXWeeks: {\n    one: \"tahminan 1 hafta\",\n    other: \"tahminan {{count}} hafta\",\n  },\n\n  xWeeks: {\n    one: \"1 hafta\",\n    other: \"{{count}} hafta\",\n  },\n\n  aboutXMonths: {\n    one: \"tahminan 1 oy\",\n    other: \"tahminan {{count}} oy\",\n  },\n\n  xMonths: {\n    one: \"1 oy\",\n    other: \"{{count}} oy\",\n  },\n\n  aboutXYears: {\n    one: \"tahminan 1 yil\",\n    other: \"tahminan {{count}} yil\",\n  },\n\n  xYears: {\n    one: \"1 yil\",\n    other: \"{{count}} yil\",\n  },\n\n  overXYears: {\n    one: \"1 yildan ko'p\",\n    other: \"{{count}} yildan ko'p\",\n  },\n\n  almostXYears: {\n    one: \"deyarli 1 yil\",\n    other: \"deyarli {{count}} yil\",\n  },\n};\n\nexport const formatDistance = (token, count, options) => {\n  let result;\n\n  const tokenValue = formatDistanceLocale[token];\n  if (typeof tokenValue === \"string\") {\n    result = tokenValue;\n  } else if (count === 1) {\n    result = tokenValue.one;\n  } else {\n    result = tokenValue.other.replace(\"{{count}}\", String(count));\n  }\n\n  if (options?.addSuffix) {\n    if (options.comparison && options.comparison > 0) {\n      return result + \" dan keyin\";\n    } else {\n      return result + \" oldin\";\n    }\n  }\n\n  return result;\n};\n"],"mappings":"AAAA,MAAMA,oBAAoB,GAAG;EAC3BC,gBAAgB,EAAE;IAChBC,GAAG,EAAE,eAAe;IACpBC,KAAK,EAAE;EACT,CAAC;EAEDC,QAAQ,EAAE;IACRF,GAAG,EAAE,UAAU;IACfC,KAAK,EAAE;EACT,CAAC;EAEDE,WAAW,EAAE,aAAa;EAE1BC,gBAAgB,EAAE;IAChBJ,GAAG,EAAE,kBAAkB;IACvBC,KAAK,EAAE;EACT,CAAC;EAEDI,QAAQ,EAAE;IACRL,GAAG,EAAE,SAAS;IACdC,KAAK,EAAE;EACT,CAAC;EAEDK,WAAW,EAAE;IACXN,GAAG,EAAE,iBAAiB;IACtBC,KAAK,EAAE;EACT,CAAC;EAEDM,MAAM,EAAE;IACNP,GAAG,EAAE,QAAQ;IACbC,KAAK,EAAE;EACT,CAAC;EAEDO,KAAK,EAAE;IACLR,GAAG,EAAE,OAAO;IACZC,KAAK,EAAE;EACT,CAAC;EAEDQ,WAAW,EAAE;IACXT,GAAG,EAAE,kBAAkB;IACvBC,KAAK,EAAE;EACT,CAAC;EAEDS,MAAM,EAAE;IACNV,GAAG,EAAE,SAAS;IACdC,KAAK,EAAE;EACT,CAAC;EAEDU,YAAY,EAAE;IACZX,GAAG,EAAE,eAAe;IACpBC,KAAK,EAAE;EACT,CAAC;EAEDW,OAAO,EAAE;IACPZ,GAAG,EAAE,MAAM;IACXC,KAAK,EAAE;EACT,CAAC;EAEDY,WAAW,EAAE;IACXb,GAAG,EAAE,gBAAgB;IACrBC,K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