intlayer-editor 8.1.7 → 8.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/dist/assets/{CodeBlockShiki-Ch4AAtUQ.js → CodeBlockShiki-BXrRHeYx.js} +18 -16
- package/client/dist/assets/{bundle-web-C2mLvHWE.js → bundle-web-XXLowsEv.js} +24 -433
- package/client/dist/assets/{index-rcOj3SU8.css → index-B2i361gn.css} +70 -2
- package/client/dist/assets/{index-BXmuBOCO.js → index-CEHLBzQk.js} +1 -1
- package/client/dist/assets/{index-ClPHjZmS.js → index-DwSBwgdT.js} +180 -186
- package/client/dist/index.html +2 -2
- package/package.json +11 -11
- package/server/dist/controllers/dictionary.controller.cjs.map +1 -1
- package/server/dist/controllers/dictionary.controller.d.ts +3 -1
- package/server/dist/controllers/dictionary.controller.mjs.map +1 -1
- package/server/dist/export.d.ts +2 -2
|
@@ -12763,15 +12763,15 @@ var e$n = Object.defineProperty, t$A = (t2, n2) => {
|
|
|
12763
12763
|
for (var i2 in t2) e$n(r2, i2, { get: t2[i2], enumerable: true });
|
|
12764
12764
|
return e$n(r2, Symbol.toStringTag, { value: `Module` }), r2;
|
|
12765
12765
|
};
|
|
12766
|
-
var te$1 = t$A({ AFRIKAANS: () => ne$1, AFRIKAANS_SOUTH_AFRICA: () => e$m, ALBANIAN: () => Gn, ALBANIAN_ALBANIA: () => Kn, ALL_LOCALES: () => Fi, AMHARIC: () => $r, AMHARIC_ETHIOPIA: () => ei, ARABIC: () => re$1, ARABIC_ALGERIA: () => r$X, ARABIC_BAHRAIN: () => n$
|
|
12767
|
-
const ne$1 = `af`, e$m = `af-ZA`, re$1 = `ar`, t$z = `ar-AE`, n$T = `ar-BH`, r$X = `ar-DZ`, i$J = `ar-EG`, a$L = `ar-IQ`, o$M = `ar-JO`, s$H = `ar-KW`, c$x = `ar-LB`, l$u = `ar-LY`, u$p = `ar-MA`, d$i = `ar-OM`, f$i = `ar-QA`, p$h = `ar-SA`, m$f = `ar-SY`, h$f = `ar-TN`, g$d = `ar-YE`, ie$1 = `az`, _$c = `az-AZ`, ae$1 = `be`, v$b = `be-BY`, oe$1 = `bg`, y$9 = `bg-BG`, se$1 = `bs`, b$6 = `bs-BA`, ce$2 = `ca`, x$6 = `ca-ES`, le$2 = `cs`, S$6 = `cs-CZ`, ue$2 = `cy`, C$7 = `cy-GB`, de$2 = `da`, w$5 = `da-DK`, fe$3 = `de`, T$4 = `de-AT`, E$3 = `de-CH`, D$3 = `de-DE`, O$3 = `de-LI`, k$5 = `de-LU`, pe$2 = `dv`, A$2 = `dv-MV`, me$3 = `el`, j$2 = `el-GR`, he$3 = `en`, M$1 = `en-AU`, N$3 = `en-BZ`, P$3 = `en-CA`, F$3 = `en-CB`, I$3 = `en-GB`, L$4 = `en-IE`, R$3 = `en-JM`, z$3 = `en-NZ`, B$5 = `en-PH`, V$3 = `en-TT`, H$4 = `en-US`, U$4 = `en-ZA`, W$4 = `en-ZW`, ge$1 = `eo`, _e$2 = `es`, G$3 = `es-AR`, K$4 = `es-BO`, q$2 = `es-CL`, J$3 = `es-CO`, Y$4 = `es-CR`, X$4 = `es-DO`, Z$3 = `es-EC`, ve$2 = `es-ES`, ye$2 = `es-GT`, be$2 = `es-HN`, xe$2 = `es-MX`, Se$2 = `es-NI`, Ce$1 = `es-PA`, we$2 = `es-PE`, Te$2 = `es-PR`, Ee$1 = `es-PY`, De$1 = `es-SV`, Oe$1 = `es-UY`, ke$1 = `es-VE`, Ae$1 = `et`, je$1 = `et-EE`, Me$2 = `eu`, Ne$1 = `eu-ES`, Pe$2 = `fa`, Fe = `fa-IR`, Ie$1 = `fi`, Le = `fi-FI`, Re$1 = `fo`, ze = `fo-FO`, Be = `fr`, Ve = `fr-BE`, He = `fr-CA`, Ue = `fr-CH`, We = `fr-FR`, Ge = `fr-LU`, Ke = `fr-MC`, qe$1 = `ga`, Je$1 = `ga-IE`, Ye = `gd`, Xe = `gd-GB`, Ze = `gl`, Qe = `gl-ES`, $e = `gu`, et = `gu-IN`, tt = `he`, nt = `he-IL`, rt = `hi`, it = `hi-IN`, at = `hr`, ot = `hr-BA`, st = `hr-HR`, ct = `hu`, lt = `hu-HU`, ut = `hy`, dt = `hy-AM`, ft = `id`, pt = `id-ID`, mt = `is`, ht = `is-IS`, gt = `it`, _t = `it-CH`, vt = `it-IT`, yt = `ja`, bt = `ja-JP`, xt = `ka`, St = `ka-GE`, Ct = `kk`, wt = `kk-KZ`, Tt = `kn`, Et = `kn-IN`, Dt = `ko`, Ot = `ko-KR`, kt = `kok`, At = `kok-IN`, jt = `ku`, Mt = `ku-TR`, Nt = `ky`, Pt = `ky-KG`, Ft = `lt`, It = `lt-LT`, Lt = `lv`, Rt = `lv-LV`, zt = `mi`, Bt = `mi-NZ`, Vt = `mk`, Ht = `mk-MK`, Ut = `mn`, Wt = `mn-MN`, Gt = `mr`, Q$2 = `mr-IN`, Kt = `ms`, qt = `ms-BN`, Jt = `ms-MY`, Yt = `mt`, Xt = `mt-MT`, Zt = `ml`, Qt = `ml-IN`, $t = `no`, en = `nb`, tn = `nb-NO`, nn = `nl`, rn = `nl-BE`, an = `nl-NL`, on$1 = `nn`, sn = `nn-NO`, cn$1 = `ns`, ln = `ns-ZA`, un = `pa`, dn = `pa-IN`, fn = `pl`, pn = `pl-PL`, mn = `ps`, hn = `ps-AR`, gn = `pt`, _n = `pt-BR`, vn = `pt-PT`, yn = `qu`, bn = `qu-BO`, xn = `qu-EC`, Sn = `qu-PE`, Cn = `ro`, wn = `ro-RO`, Tn = `ro-MD`, En = `rm`, Dn = `rm-CH`, On = `ru`, kn = `ru-RU`, An = `ru-MD`, jn = `sa`, Mn = `sa-IN`, Nn = `se`, Pn = `se-FI`, Fn = `se-NO`, In = `se-SE`, Ln = `hsb`, Rn = `hsb-DE`, zn = `dsb`, Bn = `dsb-DE`, Vn = `sk`, Hn = `sk-SK`, Un = `sl`, Wn = `sl-SI`, Gn = `sq`, Kn = `sq-AL`, qn = `sr`, Jn = `sr-BA`, Yn = `sr-SP`, Xn = `sv`, Zn = `sv-FI`, Qn = `sv-SE`, $n = `sw`, er = `sw-KE`, tr = `syr`, nr = `syr-SY`, rr = `ta`, ir = `ta-IN`, ar = `te`, or = `te-IN`, sr = `th`, cr = `th-TH`, lr = `tl`, ur = `tl-PH`, dr = `tn`, fr = `tn-ZA`, pr = `tr`, mr = `tr-TR`, hr = `tt`, gr = `tt-RU`, _r = `ts`, vr = `uk`, yr = `uk-UA`, br = `ur`, xr = `ur-PK`, Sr = `uz`, Cr = `uz-UZ`, wr = `vi`, Tr = `vi-VN`, Er = `ve`, Dr = `ve-ZA`, Or = `xh`, kr = `xh-ZA`, Ar = `zh`, jr = `zh-Hans`, Mr = `zh-CN`, Nr = `zh-HK`, Pr = `zh-MO`, Fr = `zh-SG`, Ir = `zh-Hant`, Lr = `zu`, Rr = `zu-ZA`, zr = `bn`, Br = `bn-BD`, Vr = `bn-IN`, Hr = `bn-MM`, Ur = `my`, Wr = `my-MM`, Gr = `km`, Kr = `km-KH`, qr = `lo`, Jr = `lo-LA`, Yr = `yo`, Xr = `yo-NG`, Zr = `yi`, Qr = `yi-001`, $r = `am`, ei = `am-ET`, ti = `ne`, ni = `ne-NP`, ri = `si`, ii = `si-LK`, ai = `sr-Cyrl`, oi = `sr-RS`, si = `sr-BA`, ci = `en-IN`, li = `en-SG`, ui = `en-HK`, di = `en-NG`, fi = `en-PK`, pi = `en-MY`, mi = `en-BW`, hi = `en-KE`, gi = `en-TZ`, _i = `en-GH`, vi = `en-UG`, yi = `es-CU`, bi = `es-US`, xi = `pt-GW`, Si = `pt-MZ`, Ci = `pt-ST`, wi = `pt-CV`, Ti = `pt-TL`, Ei = `pt-MO`, Di = `zh-TW`, Oi = `ar-MR`, ki = `ar-PS`, Ai = `ar-SD`, ji = `ar-DJ`, Mi = `ar-SO`, Ni = `ar-TD`, Pi = `ar-KM`, $$4 = `mg-MG`, Fi = { AFRIKAANS: `af`, AFRIKAANS_SOUTH_AFRICA: e$m, ARABIC: `ar`, ARABIC_UNITED_ARAB_EMIRATES: t$z, ARABIC_BAHRAIN: n$T, ARABIC_ALGERIA: r$X, ARABIC_EGYPT: i$J, ARABIC_IRAQ: a$L, ARABIC_JORDAN: o$M, ARABIC_KUWAIT: s$H, ARABIC_LEBANON: c$x, ARABIC_LIBYA: l$u, ARABIC_MOROCCO: u$p, ARABIC_OMAN: d$i, ARABIC_QATAR: f$i, ARABIC_SAUDI_ARABIA: p$h, ARABIC_SYRIA: m$f, ARABIC_TUNISIA: h$f, ARABIC_YEMEN: g$d, AZERI_LATIN: `az`, AZERI_LATIN_AZERBAIJAN: _$c, BELARUSIAN: `be`, BELARUSIAN_BELARUS: v$b, BULGARIAN: `bg`, BULGARIAN_BULGARIA: y$9, BOSNIAN: `bs`, BOSNIAN_BOSNIA_AND_HERZEGOVINA: b$6, CATALAN: `ca`, CATALAN_SPAIN: x$6, CZECH: `cs`, CZECH_CZECH_REPUBLIC: S$6, WELSH: `cy`, WELSH_UNITED_KINGDOM: C$7, DANISH: `da`, DANISH_DENMARK: w$5, GERMAN: `de`, GERMAN_AUSTRIA: T$4, GERMAN_SWITZERLAND: E$3, GERMAN_GERMANY: D$3, GERMAN_LIECHTENSTEIN: O$3, GERMAN_LUXEMBOURG: k$5, DIVEHI: `dv`, DIVEHI_MALDIVES: A$2, GREEK: `el`, GREEK_GREECE: j$2, ENGLISH: `en`, ENGLISH_AUSTRALIA: M$1, ENGLISH_BELIZE: N$3, ENGLISH_CANADA: P$3, ENGLISH_CARIBBEAN: F$3, ENGLISH_UNITED_KINGDOM: I$3, ENGLISH_IRELAND: L$4, ENGLISH_JAMAICA: R$3, ENGLISH_NEW_ZEALAND: z$3, ENGLISH_PHILIPPINES: B$5, ENGLISH_TRINIDAD_AND_TOBAGO: V$3, ENGLISH_UNITED_STATES: H$4, ENGLISH_SOUTH_AFRICA: U$4, ENGLISH_ZIMBABWE: W$4, ESPERANTO: `eo`, SPANISH: `es`, SPANISH_ARGENTINA: G$3, SPANISH_BOLIVIA: K$4, SPANISH_CHILE: q$2, SPANISH_COLOMBIA: J$3, SPANISH_COSTA_RICA: Y$4, SPANISH_DOMINICAN_REPUBLIC: X$4, SPANISH_ECUADOR: Z$3, SPANISH_SPAIN: ve$2, SPANISH_GUATEMALA: ye$2, SPANISH_HONDURAS: be$2, SPANISH_MEXICO: xe$2, SPANISH_NICARAGUA: Se$2, SPANISH_PANAMA: Ce$1, SPANISH_PERU: we$2, SPANISH_PUERTO_RICO: Te$2, SPANISH_PARAGUAY: Ee$1, SPANISH_EL_SALVADOR: De$1, SPANISH_URUGUAY: Oe$1, SPANISH_VENEZUELA: ke$1, ESTONIAN: `et`, ESTONIAN_ESTONIA: je$1, BASQUE: `eu`, BASQUE_SPAIN: Ne$1, FARSI: `fa`, FARSI_IRAN: Fe, FINNISH: `fi`, FINNISH_FINLAND: Le, FAROESE: `fo`, FAROESE_FAROE_ISLANDS: ze, FRENCH: `fr`, FRENCH_BELGIUM: Ve, FRENCH_CANADA: He, FRENCH_SWITZERLAND: Ue, FRENCH_FRANCE: We, FRENCH_LUXEMBOURG: Ge, FRENCH_PRINCIPALITY_OF_MONACO: Ke, IRISH: `ga`, IRISH_IRELAND: Je$1, SCOTTISH_GAELIC: `gd`, SCOTTISH_GAELIC_UNITED_KINGDOM: Xe, GALICIAN: `gl`, GALICIAN_SPAIN: Qe, GUJARATI: `gu`, GUJARATI_INDIA: et, HEBREW: `he`, HEBREW_ISRAEL: nt, HINDI: `hi`, HINDI_INDIA: it, CROATIAN: `hr`, CROATIAN_BOSNIA_AND_HERZEGOVINA: ot, CROATIAN_CROATIA: st, HUNGARIAN: `hu`, HUNGARIAN_HUNGARY: lt, ARMENIAN: `hy`, ARMENIAN_ARMENIA: dt, INDONESIAN: `id`, INDONESIAN_INDONESIA: pt, ICELANDIC: `is`, ICELANDIC_ICELAND: ht, ITALIAN: `it`, ITALIAN_SWITZERLAND: _t, ITALIAN_ITALY: vt, JAPANESE: `ja`, JAPANESE_JAPAN: bt, GEORGIAN: `ka`, GEORGIAN_GEORGIA: St, KAZAKH: `kk`, KAZAKH_KAZAKHSTAN: wt, KANNADA: `kn`, KANNADA_INDIA: Et, KOREAN: `ko`, KOREAN_KOREA: Ot, KONKANI: `kok`, KONKANI_INDIA: At, KURDISH: `ku`, KURDISH_TURKEY: Mt, KYRGYZ: `ky`, KYRGYZ_KYRGYZSTAN: Pt, LITHUANIAN: `lt`, LITHUANIAN_LITHUANIA: It, LATVIAN: `lv`, LATVIAN_LATVIA: Rt, MAORI: `mi`, MAORI_NEW_ZEALAND: Bt, FYRO_MACEDONIAN: `mk`, FYRO_MACEDONIAN_MACEDONIA: Ht, MONGOLIAN: `mn`, MONGOLIAN_MONGOLIA: Wt, MARATHI: `mr`, MARATHI_INDIA: Q$2, MALAY: `ms`, MALAY_BRUNEI_DARUSSALAM: qt, MALAY_MALAYSIA: Jt, MALTESE: `mt`, MALTESE_MALTA: Xt, MALAYALAM: `ml`, MALAYALAM_INDIA: Qt, NORWEGIAN: `no`, NORWEGIAN_BOKMAL: `nb`, NORWEGIAN_BOKMAL_NORWAY: tn, DUTCH: `nl`, DUTCH_BELGIUM: rn, DUTCH_NETHERLANDS: an, NORWEGIAN_NYNORSK: `nn`, NORWEGIAN_NYNORSK_NORWAY: sn, NORTHERN_SOTHO: `ns`, NORTHERN_SOTHO_SOUTH_AFRICA: ln, PUNJABI: `pa`, PUNJABI_INDIA: dn, POLISH: `pl`, POLISH_POLAND: pn, PASHTO: `ps`, PASHTO_AFGHANISTAN: hn, PORTUGUESE: `pt`, PORTUGUESE_BRAZIL: _n, PORTUGUESE_PORTUGAL: vn, QUECHUA: `qu`, QUECHUA_BOLIVIA: bn, QUECHUA_ECUADOR: xn, QUECHUA_PERU: Sn, ROMANIAN: `ro`, ROMANIAN_ROMANIA: wn, ROMANIAN_MOLDOVA: Tn, ROMANSH: `rm`, ROMANSH_SWITZERLAND: Dn, RUSSIAN: `ru`, RUSSIAN_RUSSIA: kn, RUSSIAN_MOLDOVA: An, SANSKRIT: `sa`, SANSKRIT_INDIA: Mn, SAMI_NORTHERN: `se`, SAMI_NORTHERN_FINLAND: Pn, SAMI_NORTHERN_NORWAY: Fn, SAMI_NORTHERN_SWEDEN: In, UPPER_SORBIAN: `hsb`, UPPER_SORBIAN_GERMANY: Rn, LOWER_SORBIAN: `dsb`, LOWER_SORBIAN_GERMANY: Bn, SLOVAK: `sk`, SLOVAK_SLOVAKIA: Hn, SLOVENIAN: `sl`, SLOVENIAN_SLOVENIA: Wn, ALBANIAN: `sq`, ALBANIAN_ALBANIA: Kn, SERBIAN_LATIN: `sr`, SERBIAN_LATIN_BOSNIA_AND_HERZEGOVINA: Jn, SERBIAN_LATIN_SERBIA_AND_MONTENEGRO: Yn, SWEDISH: `sv`, SWEDISH_FINLAND: Zn, SWEDISH_SWEDEN: Qn, SWAHILI: `sw`, SWAHILI_KENYA: er, SYRIAC: `syr`, SYRIAC_SYRIA: nr, TAMIL: `ta`, TAMIL_INDIA: ir, TELUGU: `te`, TELUGU_INDIA: or, THAI: `th`, THAI_THAILAND: cr, TAGALOG: `tl`, TAGALOG_PHILIPPINES: ur, TSWANA: `tn`, TSWANA_SOUTH_AFRICA: fr, TURKISH: `tr`, TURKISH_TURKEY: mr, TATAR: `tt`, TATAR_RUSSIA: gr, TSOGA: `ts`, UKRAINIAN: `uk`, UKRAINIAN_UKRAINE: yr, URDU: `ur`, URDU_ISLAMIC_REPUBLIC_OF_PAKISTAN: xr, UZBEK_LATIN: `uz`, UZBEK_LATIN_UZBEKISTAN: Cr, VIETNAMESE: `vi`, VIETNAMESE_VIET_NAM: Tr, VENDA: `ve`, VENDA_SOUTH_AFRICA: Dr, XHOSA: `xh`, XHOSA_SOUTH_AFRICA: kr, CHINESE: `zh`, CHINESE_SIMPLIFIED: jr, CHINESE_SIMPLIFIED_CHINA: Mr, CHINESE_HONG_KONG: Nr, CHINESE_MACAU: Pr, CHINESE_SINGAPORE: Fr, CHINESE_TRADITIONAL: Ir, ZULU: `zu`, ZULU_SOUTH_AFRICA: Rr, BENGALI: `bn`, BENGALI_BANGLADESH: Br, BENGALI_INDIA: Vr, BENGALI_MYANMAR: Hr, BURMESE: `my`, BURMESE_MYANMAR: Wr, KHMER: `km`, KHMER_CAMBODIA: Kr, LAO: `lo`, LAO_LAOS: Jr, YORUBA: `yo`, YORUBA_NIGERIA: Xr, YIDDISH: `yi`, YIDDISH_WORLD: Qr, AMHARIC: `am`, AMHARIC_ETHIOPIA: ei, NEPALI: `ne`, NEPALI_NEPAL: ni, SINHALA: `si`, SINHALA_SRI_LANKA: ii, SERBIAN_CYRILLIC: ai, SERBIAN_CYRILLIC_SERBIA: oi, SERBIAN_CYRILLIC_BOSNIA_AND_HERZEGOVINA: si, ENGLISH_INDIA: ci, ENGLISH_SINGAPORE: li, ENGLISH_HONG_KONG: ui, ENGLISH_NIGERIA: di, ENGLISH_PAKISTAN: fi, ENGLISH_MALAYSIA: pi, ENGLISH_BOTSWANA: mi, ENGLISH_KENYA: hi, ENGLISH_TANZANIA: gi, ENGLISH_GHANA: _i, ENGLISH_UGANDA: vi, SPANISH_CUBA: yi, SPANISH_UNITED_STATES: bi, PORTUGUESE_GUINEA_BISSAU: xi, PORTUGUESE_MOZAMBIQUE: Si, PORTUGUESE_SAO_TOME_AND_PRINCIPE: Ci, PORTUGUESE_CAPE_VERDE: wi, PORTUGUESE_TIMOR_LESTE: Ti, PORTUGUESE_MACAU: Ei, CHINESE_TAIWAN: Di, ARABIC_MAURITANIA: Oi, ARABIC_PALESTINE: ki, ARABIC_SUDAN: Ai, ARABIC_DJIBOUTI: ji, ARABIC_SOMALIA: Mi, ARABIC_CHAD: Ni, ARABIC_COMOROS: Pi, MALAGASY_MADAGASCAR: $$4 };
|
|
12766
|
+
var te$1 = t$A({ AFRIKAANS: () => ne$1, AFRIKAANS_SOUTH_AFRICA: () => e$m, ALBANIAN: () => Gn, ALBANIAN_ALBANIA: () => Kn, ALL_LOCALES: () => Fi, AMHARIC: () => $r, AMHARIC_ETHIOPIA: () => ei, ARABIC: () => re$1, ARABIC_ALGERIA: () => r$X, ARABIC_BAHRAIN: () => n$S, ARABIC_CHAD: () => Ni, ARABIC_COMOROS: () => Pi, ARABIC_DJIBOUTI: () => ji, ARABIC_EGYPT: () => i$J, ARABIC_IRAQ: () => a$L, ARABIC_JORDAN: () => o$M, ARABIC_KUWAIT: () => s$H, ARABIC_LEBANON: () => c$x, ARABIC_LIBYA: () => l$u, ARABIC_MAURITANIA: () => Oi, ARABIC_MOROCCO: () => u$p, ARABIC_OMAN: () => d$i, ARABIC_PALESTINE: () => ki, ARABIC_QATAR: () => f$i, ARABIC_SAUDI_ARABIA: () => p$h, ARABIC_SOMALIA: () => Mi, ARABIC_SUDAN: () => Ai, ARABIC_SYRIA: () => m$g, ARABIC_TUNISIA: () => h$e, ARABIC_UNITED_ARAB_EMIRATES: () => t$z, ARABIC_YEMEN: () => g$d, ARMENIAN: () => ut, ARMENIAN_ARMENIA: () => dt, AZERI_LATIN: () => ie$1, AZERI_LATIN_AZERBAIJAN: () => _$c, BASQUE: () => Me$2, BASQUE_SPAIN: () => Ne$1, BELARUSIAN: () => ae$1, BELARUSIAN_BELARUS: () => v$b, BENGALI: () => zr, BENGALI_BANGLADESH: () => Br, BENGALI_INDIA: () => Vr, BENGALI_MYANMAR: () => Hr, BOSNIAN: () => se$1, BOSNIAN_BOSNIA_AND_HERZEGOVINA: () => b$6, BULGARIAN: () => oe$1, BULGARIAN_BULGARIA: () => y$9, BURMESE: () => Ur, BURMESE_MYANMAR: () => Wr, CATALAN: () => ce$2, CATALAN_SPAIN: () => x$6, CHINESE: () => Ar, CHINESE_HONG_KONG: () => Nr, CHINESE_MACAU: () => Pr, CHINESE_SIMPLIFIED: () => jr, CHINESE_SIMPLIFIED_CHINA: () => Mr, CHINESE_SINGAPORE: () => Fr, CHINESE_TAIWAN: () => Di, CHINESE_TRADITIONAL: () => Ir, CROATIAN: () => at, CROATIAN_BOSNIA_AND_HERZEGOVINA: () => ot, CROATIAN_CROATIA: () => st, CZECH: () => le$2, CZECH_CZECH_REPUBLIC: () => S$6, DANISH: () => de$2, DANISH_DENMARK: () => w$5, DIVEHI: () => pe$2, DIVEHI_MALDIVES: () => A$2, DUTCH: () => nn, DUTCH_BELGIUM: () => rn, DUTCH_NETHERLANDS: () => an, ENGLISH: () => he$3, ENGLISH_AUSTRALIA: () => M$1, ENGLISH_BELIZE: () => N$3, ENGLISH_BOTSWANA: () => mi, ENGLISH_CANADA: () => P$3, ENGLISH_CARIBBEAN: () => F$3, ENGLISH_GHANA: () => _i, ENGLISH_HONG_KONG: () => ui, ENGLISH_INDIA: () => ci, ENGLISH_IRELAND: () => L$4, ENGLISH_JAMAICA: () => R$3, ENGLISH_KENYA: () => hi, ENGLISH_MALAYSIA: () => pi, ENGLISH_NEW_ZEALAND: () => z$3, ENGLISH_NIGERIA: () => di, ENGLISH_PAKISTAN: () => fi, ENGLISH_PHILIPPINES: () => B$5, ENGLISH_SINGAPORE: () => li, ENGLISH_SOUTH_AFRICA: () => U$4, ENGLISH_TANZANIA: () => gi, ENGLISH_TRINIDAD_AND_TOBAGO: () => V$3, ENGLISH_UGANDA: () => vi, ENGLISH_UNITED_KINGDOM: () => I$3, ENGLISH_UNITED_STATES: () => H$4, ENGLISH_ZIMBABWE: () => W$4, ESPERANTO: () => ge$1, ESTONIAN: () => Ae$1, ESTONIAN_ESTONIA: () => je$1, FAROESE: () => Re$1, FAROESE_FAROE_ISLANDS: () => ze, FARSI: () => Pe$2, FARSI_IRAN: () => Fe, FINNISH: () => Ie$1, FINNISH_FINLAND: () => Le, FRENCH: () => Be, FRENCH_BELGIUM: () => Ve, FRENCH_CANADA: () => He, FRENCH_FRANCE: () => We, FRENCH_LUXEMBOURG: () => Ge, FRENCH_PRINCIPALITY_OF_MONACO: () => Ke, FRENCH_SWITZERLAND: () => Ue, FYRO_MACEDONIAN: () => Vt, FYRO_MACEDONIAN_MACEDONIA: () => Ht, GALICIAN: () => Ze, GALICIAN_SPAIN: () => Qe, GEORGIAN: () => xt, GEORGIAN_GEORGIA: () => St, GERMAN: () => fe$3, GERMAN_AUSTRIA: () => T$4, GERMAN_GERMANY: () => D$3, GERMAN_LIECHTENSTEIN: () => O$3, GERMAN_LUXEMBOURG: () => k$5, GERMAN_SWITZERLAND: () => E$3, GREEK: () => me$3, GREEK_GREECE: () => j$2, GUJARATI: () => $e, GUJARATI_INDIA: () => et, HEBREW: () => tt, HEBREW_ISRAEL: () => nt, HINDI: () => rt, HINDI_INDIA: () => it, HUNGARIAN: () => ct, HUNGARIAN_HUNGARY: () => lt, ICELANDIC: () => mt, ICELANDIC_ICELAND: () => ht, INDONESIAN: () => ft, INDONESIAN_INDONESIA: () => pt, IRISH: () => qe$1, IRISH_IRELAND: () => Je$1, ITALIAN: () => gt, ITALIAN_ITALY: () => vt, ITALIAN_SWITZERLAND: () => _t, JAPANESE: () => yt, JAPANESE_JAPAN: () => bt, KANNADA: () => Tt, KANNADA_INDIA: () => Et, KAZAKH: () => Ct, KAZAKH_KAZAKHSTAN: () => wt, KHMER: () => Gr, KHMER_CAMBODIA: () => Kr, KONKANI: () => kt, KONKANI_INDIA: () => At, KOREAN: () => Dt, KOREAN_KOREA: () => Ot, KURDISH: () => jt, KURDISH_TURKEY: () => Mt, KYRGYZ: () => Nt, KYRGYZ_KYRGYZSTAN: () => Pt, LAO: () => qr, LAO_LAOS: () => Jr, LATVIAN: () => Lt, LATVIAN_LATVIA: () => Rt, LITHUANIAN: () => Ft, LITHUANIAN_LITHUANIA: () => It, LOWER_SORBIAN: () => zn, LOWER_SORBIAN_GERMANY: () => Bn, MALAGASY_MADAGASCAR: () => $$4, MALAY: () => Kt, MALAYALAM: () => Zt, MALAYALAM_INDIA: () => Qt, MALAY_BRUNEI_DARUSSALAM: () => qt, MALAY_MALAYSIA: () => Jt, MALTESE: () => Yt, MALTESE_MALTA: () => Xt, MAORI: () => zt, MAORI_NEW_ZEALAND: () => Bt, MARATHI: () => Gt, MARATHI_INDIA: () => Q$2, MONGOLIAN: () => Ut, MONGOLIAN_MONGOLIA: () => Wt, NEPALI: () => ti, NEPALI_NEPAL: () => ni, NORTHERN_SOTHO: () => cn$1, NORTHERN_SOTHO_SOUTH_AFRICA: () => ln, NORWEGIAN: () => $t, NORWEGIAN_BOKMAL: () => en, NORWEGIAN_BOKMAL_NORWAY: () => tn, NORWEGIAN_NYNORSK: () => on$1, NORWEGIAN_NYNORSK_NORWAY: () => sn, PASHTO: () => mn, PASHTO_AFGHANISTAN: () => hn, POLISH: () => fn, POLISH_POLAND: () => pn, PORTUGUESE: () => gn, PORTUGUESE_BRAZIL: () => _n, PORTUGUESE_CAPE_VERDE: () => wi, PORTUGUESE_GUINEA_BISSAU: () => xi, PORTUGUESE_MACAU: () => Ei, PORTUGUESE_MOZAMBIQUE: () => Si, PORTUGUESE_PORTUGAL: () => vn, PORTUGUESE_SAO_TOME_AND_PRINCIPE: () => Ci, PORTUGUESE_TIMOR_LESTE: () => Ti, PUNJABI: () => un, PUNJABI_INDIA: () => dn, QUECHUA: () => yn, QUECHUA_BOLIVIA: () => bn, QUECHUA_ECUADOR: () => xn, QUECHUA_PERU: () => Sn, ROMANIAN: () => Cn, ROMANIAN_MOLDOVA: () => Tn, ROMANIAN_ROMANIA: () => wn, ROMANSH: () => En, ROMANSH_SWITZERLAND: () => Dn, RUSSIAN: () => On, RUSSIAN_MOLDOVA: () => An, RUSSIAN_RUSSIA: () => kn, SAMI_NORTHERN: () => Nn, SAMI_NORTHERN_FINLAND: () => Pn, SAMI_NORTHERN_NORWAY: () => Fn, SAMI_NORTHERN_SWEDEN: () => In, SANSKRIT: () => jn, SANSKRIT_INDIA: () => Mn, SCOTTISH_GAELIC: () => Ye, SCOTTISH_GAELIC_UNITED_KINGDOM: () => Xe, SERBIAN_CYRILLIC: () => ai, SERBIAN_CYRILLIC_BOSNIA_AND_HERZEGOVINA: () => si, SERBIAN_CYRILLIC_SERBIA: () => oi, SERBIAN_LATIN: () => qn, SERBIAN_LATIN_BOSNIA_AND_HERZEGOVINA: () => Jn, SERBIAN_LATIN_SERBIA_AND_MONTENEGRO: () => Yn, SINHALA: () => ri, SINHALA_SRI_LANKA: () => ii, SLOVAK: () => Vn, SLOVAK_SLOVAKIA: () => Hn, SLOVENIAN: () => Un, SLOVENIAN_SLOVENIA: () => Wn, SPANISH: () => _e$2, SPANISH_ARGENTINA: () => G$3, SPANISH_BOLIVIA: () => K$4, SPANISH_CHILE: () => q$2, SPANISH_COLOMBIA: () => J$3, SPANISH_COSTA_RICA: () => Y$4, SPANISH_CUBA: () => yi, SPANISH_DOMINICAN_REPUBLIC: () => X$4, SPANISH_ECUADOR: () => Z$3, SPANISH_EL_SALVADOR: () => De$1, SPANISH_GUATEMALA: () => ye$2, SPANISH_HONDURAS: () => be$2, SPANISH_MEXICO: () => xe$2, SPANISH_NICARAGUA: () => Se$2, SPANISH_PANAMA: () => Ce$1, SPANISH_PARAGUAY: () => Ee$1, SPANISH_PERU: () => we$2, SPANISH_PUERTO_RICO: () => Te$2, SPANISH_SPAIN: () => ve$2, SPANISH_UNITED_STATES: () => bi, SPANISH_URUGUAY: () => Oe$1, SPANISH_VENEZUELA: () => ke$1, SWAHILI: () => $n, SWAHILI_KENYA: () => er, SWEDISH: () => Xn, SWEDISH_FINLAND: () => Zn, SWEDISH_SWEDEN: () => Qn, SYRIAC: () => tr, SYRIAC_SYRIA: () => nr, TAGALOG: () => lr, TAGALOG_PHILIPPINES: () => ur, TAMIL: () => rr, TAMIL_INDIA: () => ir, TATAR: () => hr, TATAR_RUSSIA: () => gr, TELUGU: () => ar, TELUGU_INDIA: () => or, THAI: () => sr, THAI_THAILAND: () => cr, TSOGA: () => _r, TSWANA: () => dr, TSWANA_SOUTH_AFRICA: () => fr, TURKISH: () => pr, TURKISH_TURKEY: () => mr, UKRAINIAN: () => vr, UKRAINIAN_UKRAINE: () => yr, UPPER_SORBIAN: () => Ln, UPPER_SORBIAN_GERMANY: () => Rn, URDU: () => br, URDU_ISLAMIC_REPUBLIC_OF_PAKISTAN: () => xr, UZBEK_LATIN: () => Sr, UZBEK_LATIN_UZBEKISTAN: () => Cr, VENDA: () => Er, VENDA_SOUTH_AFRICA: () => Dr, VIETNAMESE: () => wr, VIETNAMESE_VIET_NAM: () => Tr, WELSH: () => ue$2, WELSH_UNITED_KINGDOM: () => C$7, XHOSA: () => Or, XHOSA_SOUTH_AFRICA: () => kr, YIDDISH: () => Zr, YIDDISH_WORLD: () => Qr, YORUBA: () => Yr, YORUBA_NIGERIA: () => Xr, ZULU: () => Lr, ZULU_SOUTH_AFRICA: () => Rr });
|
|
12767
|
+
const ne$1 = `af`, e$m = `af-ZA`, re$1 = `ar`, t$z = `ar-AE`, n$S = `ar-BH`, r$X = `ar-DZ`, i$J = `ar-EG`, a$L = `ar-IQ`, o$M = `ar-JO`, s$H = `ar-KW`, c$x = `ar-LB`, l$u = `ar-LY`, u$p = `ar-MA`, d$i = `ar-OM`, f$i = `ar-QA`, p$h = `ar-SA`, m$g = `ar-SY`, h$e = `ar-TN`, g$d = `ar-YE`, ie$1 = `az`, _$c = `az-AZ`, ae$1 = `be`, v$b = `be-BY`, oe$1 = `bg`, y$9 = `bg-BG`, se$1 = `bs`, b$6 = `bs-BA`, ce$2 = `ca`, x$6 = `ca-ES`, le$2 = `cs`, S$6 = `cs-CZ`, ue$2 = `cy`, C$7 = `cy-GB`, de$2 = `da`, w$5 = `da-DK`, fe$3 = `de`, T$4 = `de-AT`, E$3 = `de-CH`, D$3 = `de-DE`, O$3 = `de-LI`, k$5 = `de-LU`, pe$2 = `dv`, A$2 = `dv-MV`, me$3 = `el`, j$2 = `el-GR`, he$3 = `en`, M$1 = `en-AU`, N$3 = `en-BZ`, P$3 = `en-CA`, F$3 = `en-CB`, I$3 = `en-GB`, L$4 = `en-IE`, R$3 = `en-JM`, z$3 = `en-NZ`, B$5 = `en-PH`, V$3 = `en-TT`, H$4 = `en-US`, U$4 = `en-ZA`, W$4 = `en-ZW`, ge$1 = `eo`, _e$2 = `es`, G$3 = `es-AR`, K$4 = `es-BO`, q$2 = `es-CL`, J$3 = `es-CO`, Y$4 = `es-CR`, X$4 = `es-DO`, Z$3 = `es-EC`, ve$2 = `es-ES`, ye$2 = `es-GT`, be$2 = `es-HN`, xe$2 = `es-MX`, Se$2 = `es-NI`, Ce$1 = `es-PA`, we$2 = `es-PE`, Te$2 = `es-PR`, Ee$1 = `es-PY`, De$1 = `es-SV`, Oe$1 = `es-UY`, ke$1 = `es-VE`, Ae$1 = `et`, je$1 = `et-EE`, Me$2 = `eu`, Ne$1 = `eu-ES`, Pe$2 = `fa`, Fe = `fa-IR`, Ie$1 = `fi`, Le = `fi-FI`, Re$1 = `fo`, ze = `fo-FO`, Be = `fr`, Ve = `fr-BE`, He = `fr-CA`, Ue = `fr-CH`, We = `fr-FR`, Ge = `fr-LU`, Ke = `fr-MC`, qe$1 = `ga`, Je$1 = `ga-IE`, Ye = `gd`, Xe = `gd-GB`, Ze = `gl`, Qe = `gl-ES`, $e = `gu`, et = `gu-IN`, tt = `he`, nt = `he-IL`, rt = `hi`, it = `hi-IN`, at = `hr`, ot = `hr-BA`, st = `hr-HR`, ct = `hu`, lt = `hu-HU`, ut = `hy`, dt = `hy-AM`, ft = `id`, pt = `id-ID`, mt = `is`, ht = `is-IS`, gt = `it`, _t = `it-CH`, vt = `it-IT`, yt = `ja`, bt = `ja-JP`, xt = `ka`, St = `ka-GE`, Ct = `kk`, wt = `kk-KZ`, Tt = `kn`, Et = `kn-IN`, Dt = `ko`, Ot = `ko-KR`, kt = `kok`, At = `kok-IN`, jt = `ku`, Mt = `ku-TR`, Nt = `ky`, Pt = `ky-KG`, Ft = `lt`, It = `lt-LT`, Lt = `lv`, Rt = `lv-LV`, zt = `mi`, Bt = `mi-NZ`, Vt = `mk`, Ht = `mk-MK`, Ut = `mn`, Wt = `mn-MN`, Gt = `mr`, Q$2 = `mr-IN`, Kt = `ms`, qt = `ms-BN`, Jt = `ms-MY`, Yt = `mt`, Xt = `mt-MT`, Zt = `ml`, Qt = `ml-IN`, $t = `no`, en = `nb`, tn = `nb-NO`, nn = `nl`, rn = `nl-BE`, an = `nl-NL`, on$1 = `nn`, sn = `nn-NO`, cn$1 = `ns`, ln = `ns-ZA`, un = `pa`, dn = `pa-IN`, fn = `pl`, pn = `pl-PL`, mn = `ps`, hn = `ps-AR`, gn = `pt`, _n = `pt-BR`, vn = `pt-PT`, yn = `qu`, bn = `qu-BO`, xn = `qu-EC`, Sn = `qu-PE`, Cn = `ro`, wn = `ro-RO`, Tn = `ro-MD`, En = `rm`, Dn = `rm-CH`, On = `ru`, kn = `ru-RU`, An = `ru-MD`, jn = `sa`, Mn = `sa-IN`, Nn = `se`, Pn = `se-FI`, Fn = `se-NO`, In = `se-SE`, Ln = `hsb`, Rn = `hsb-DE`, zn = `dsb`, Bn = `dsb-DE`, Vn = `sk`, Hn = `sk-SK`, Un = `sl`, Wn = `sl-SI`, Gn = `sq`, Kn = `sq-AL`, qn = `sr`, Jn = `sr-BA`, Yn = `sr-SP`, Xn = `sv`, Zn = `sv-FI`, Qn = `sv-SE`, $n = `sw`, er = `sw-KE`, tr = `syr`, nr = `syr-SY`, rr = `ta`, ir = `ta-IN`, ar = `te`, or = `te-IN`, sr = `th`, cr = `th-TH`, lr = `tl`, ur = `tl-PH`, dr = `tn`, fr = `tn-ZA`, pr = `tr`, mr = `tr-TR`, hr = `tt`, gr = `tt-RU`, _r = `ts`, vr = `uk`, yr = `uk-UA`, br = `ur`, xr = `ur-PK`, Sr = `uz`, Cr = `uz-UZ`, wr = `vi`, Tr = `vi-VN`, Er = `ve`, Dr = `ve-ZA`, Or = `xh`, kr = `xh-ZA`, Ar = `zh`, jr = `zh-Hans`, Mr = `zh-CN`, Nr = `zh-HK`, Pr = `zh-MO`, Fr = `zh-SG`, Ir = `zh-Hant`, Lr = `zu`, Rr = `zu-ZA`, zr = `bn`, Br = `bn-BD`, Vr = `bn-IN`, Hr = `bn-MM`, Ur = `my`, Wr = `my-MM`, Gr = `km`, Kr = `km-KH`, qr = `lo`, Jr = `lo-LA`, Yr = `yo`, Xr = `yo-NG`, Zr = `yi`, Qr = `yi-001`, $r = `am`, ei = `am-ET`, ti = `ne`, ni = `ne-NP`, ri = `si`, ii = `si-LK`, ai = `sr-Cyrl`, oi = `sr-RS`, si = `sr-BA`, ci = `en-IN`, li = `en-SG`, ui = `en-HK`, di = `en-NG`, fi = `en-PK`, pi = `en-MY`, mi = `en-BW`, hi = `en-KE`, gi = `en-TZ`, _i = `en-GH`, vi = `en-UG`, yi = `es-CU`, bi = `es-US`, xi = `pt-GW`, Si = `pt-MZ`, Ci = `pt-ST`, wi = `pt-CV`, Ti = `pt-TL`, Ei = `pt-MO`, Di = `zh-TW`, Oi = `ar-MR`, ki = `ar-PS`, Ai = `ar-SD`, ji = `ar-DJ`, Mi = `ar-SO`, Ni = `ar-TD`, Pi = `ar-KM`, $$4 = `mg-MG`, Fi = { AFRIKAANS: `af`, AFRIKAANS_SOUTH_AFRICA: e$m, ARABIC: `ar`, ARABIC_UNITED_ARAB_EMIRATES: t$z, ARABIC_BAHRAIN: n$S, ARABIC_ALGERIA: r$X, ARABIC_EGYPT: i$J, ARABIC_IRAQ: a$L, ARABIC_JORDAN: o$M, ARABIC_KUWAIT: s$H, ARABIC_LEBANON: c$x, ARABIC_LIBYA: l$u, ARABIC_MOROCCO: u$p, ARABIC_OMAN: d$i, ARABIC_QATAR: f$i, ARABIC_SAUDI_ARABIA: p$h, ARABIC_SYRIA: m$g, ARABIC_TUNISIA: h$e, ARABIC_YEMEN: g$d, AZERI_LATIN: `az`, AZERI_LATIN_AZERBAIJAN: _$c, BELARUSIAN: `be`, BELARUSIAN_BELARUS: v$b, BULGARIAN: `bg`, BULGARIAN_BULGARIA: y$9, BOSNIAN: `bs`, BOSNIAN_BOSNIA_AND_HERZEGOVINA: b$6, CATALAN: `ca`, CATALAN_SPAIN: x$6, CZECH: `cs`, CZECH_CZECH_REPUBLIC: S$6, WELSH: `cy`, WELSH_UNITED_KINGDOM: C$7, DANISH: `da`, DANISH_DENMARK: w$5, GERMAN: `de`, GERMAN_AUSTRIA: T$4, GERMAN_SWITZERLAND: E$3, GERMAN_GERMANY: D$3, GERMAN_LIECHTENSTEIN: O$3, GERMAN_LUXEMBOURG: k$5, DIVEHI: `dv`, DIVEHI_MALDIVES: A$2, GREEK: `el`, GREEK_GREECE: j$2, ENGLISH: `en`, ENGLISH_AUSTRALIA: M$1, ENGLISH_BELIZE: N$3, ENGLISH_CANADA: P$3, ENGLISH_CARIBBEAN: F$3, ENGLISH_UNITED_KINGDOM: I$3, ENGLISH_IRELAND: L$4, ENGLISH_JAMAICA: R$3, ENGLISH_NEW_ZEALAND: z$3, ENGLISH_PHILIPPINES: B$5, ENGLISH_TRINIDAD_AND_TOBAGO: V$3, ENGLISH_UNITED_STATES: H$4, ENGLISH_SOUTH_AFRICA: U$4, ENGLISH_ZIMBABWE: W$4, ESPERANTO: `eo`, SPANISH: `es`, SPANISH_ARGENTINA: G$3, SPANISH_BOLIVIA: K$4, SPANISH_CHILE: q$2, SPANISH_COLOMBIA: J$3, SPANISH_COSTA_RICA: Y$4, SPANISH_DOMINICAN_REPUBLIC: X$4, SPANISH_ECUADOR: Z$3, SPANISH_SPAIN: ve$2, SPANISH_GUATEMALA: ye$2, SPANISH_HONDURAS: be$2, SPANISH_MEXICO: xe$2, SPANISH_NICARAGUA: Se$2, SPANISH_PANAMA: Ce$1, SPANISH_PERU: we$2, SPANISH_PUERTO_RICO: Te$2, SPANISH_PARAGUAY: Ee$1, SPANISH_EL_SALVADOR: De$1, SPANISH_URUGUAY: Oe$1, SPANISH_VENEZUELA: ke$1, ESTONIAN: `et`, ESTONIAN_ESTONIA: je$1, BASQUE: `eu`, BASQUE_SPAIN: Ne$1, FARSI: `fa`, FARSI_IRAN: Fe, FINNISH: `fi`, FINNISH_FINLAND: Le, FAROESE: `fo`, FAROESE_FAROE_ISLANDS: ze, FRENCH: `fr`, FRENCH_BELGIUM: Ve, FRENCH_CANADA: He, FRENCH_SWITZERLAND: Ue, FRENCH_FRANCE: We, FRENCH_LUXEMBOURG: Ge, FRENCH_PRINCIPALITY_OF_MONACO: Ke, IRISH: `ga`, IRISH_IRELAND: Je$1, SCOTTISH_GAELIC: `gd`, SCOTTISH_GAELIC_UNITED_KINGDOM: Xe, GALICIAN: `gl`, GALICIAN_SPAIN: Qe, GUJARATI: `gu`, GUJARATI_INDIA: et, HEBREW: `he`, HEBREW_ISRAEL: nt, HINDI: `hi`, HINDI_INDIA: it, CROATIAN: `hr`, CROATIAN_BOSNIA_AND_HERZEGOVINA: ot, CROATIAN_CROATIA: st, HUNGARIAN: `hu`, HUNGARIAN_HUNGARY: lt, ARMENIAN: `hy`, ARMENIAN_ARMENIA: dt, INDONESIAN: `id`, INDONESIAN_INDONESIA: pt, ICELANDIC: `is`, ICELANDIC_ICELAND: ht, ITALIAN: `it`, ITALIAN_SWITZERLAND: _t, ITALIAN_ITALY: vt, JAPANESE: `ja`, JAPANESE_JAPAN: bt, GEORGIAN: `ka`, GEORGIAN_GEORGIA: St, KAZAKH: `kk`, KAZAKH_KAZAKHSTAN: wt, KANNADA: `kn`, KANNADA_INDIA: Et, KOREAN: `ko`, KOREAN_KOREA: Ot, KONKANI: `kok`, KONKANI_INDIA: At, KURDISH: `ku`, KURDISH_TURKEY: Mt, KYRGYZ: `ky`, KYRGYZ_KYRGYZSTAN: Pt, LITHUANIAN: `lt`, LITHUANIAN_LITHUANIA: It, LATVIAN: `lv`, LATVIAN_LATVIA: Rt, MAORI: `mi`, MAORI_NEW_ZEALAND: Bt, FYRO_MACEDONIAN: `mk`, FYRO_MACEDONIAN_MACEDONIA: Ht, MONGOLIAN: `mn`, MONGOLIAN_MONGOLIA: Wt, MARATHI: `mr`, MARATHI_INDIA: Q$2, MALAY: `ms`, MALAY_BRUNEI_DARUSSALAM: qt, MALAY_MALAYSIA: Jt, MALTESE: `mt`, MALTESE_MALTA: Xt, MALAYALAM: `ml`, MALAYALAM_INDIA: Qt, NORWEGIAN: `no`, NORWEGIAN_BOKMAL: `nb`, NORWEGIAN_BOKMAL_NORWAY: tn, DUTCH: `nl`, DUTCH_BELGIUM: rn, DUTCH_NETHERLANDS: an, NORWEGIAN_NYNORSK: `nn`, NORWEGIAN_NYNORSK_NORWAY: sn, NORTHERN_SOTHO: `ns`, NORTHERN_SOTHO_SOUTH_AFRICA: ln, PUNJABI: `pa`, PUNJABI_INDIA: dn, POLISH: `pl`, POLISH_POLAND: pn, PASHTO: `ps`, PASHTO_AFGHANISTAN: hn, PORTUGUESE: `pt`, PORTUGUESE_BRAZIL: _n, PORTUGUESE_PORTUGAL: vn, QUECHUA: `qu`, QUECHUA_BOLIVIA: bn, QUECHUA_ECUADOR: xn, QUECHUA_PERU: Sn, ROMANIAN: `ro`, ROMANIAN_ROMANIA: wn, ROMANIAN_MOLDOVA: Tn, ROMANSH: `rm`, ROMANSH_SWITZERLAND: Dn, RUSSIAN: `ru`, RUSSIAN_RUSSIA: kn, RUSSIAN_MOLDOVA: An, SANSKRIT: `sa`, SANSKRIT_INDIA: Mn, SAMI_NORTHERN: `se`, SAMI_NORTHERN_FINLAND: Pn, SAMI_NORTHERN_NORWAY: Fn, SAMI_NORTHERN_SWEDEN: In, UPPER_SORBIAN: `hsb`, UPPER_SORBIAN_GERMANY: Rn, LOWER_SORBIAN: `dsb`, LOWER_SORBIAN_GERMANY: Bn, SLOVAK: `sk`, SLOVAK_SLOVAKIA: Hn, SLOVENIAN: `sl`, SLOVENIAN_SLOVENIA: Wn, ALBANIAN: `sq`, ALBANIAN_ALBANIA: Kn, SERBIAN_LATIN: `sr`, SERBIAN_LATIN_BOSNIA_AND_HERZEGOVINA: Jn, SERBIAN_LATIN_SERBIA_AND_MONTENEGRO: Yn, SWEDISH: `sv`, SWEDISH_FINLAND: Zn, SWEDISH_SWEDEN: Qn, SWAHILI: `sw`, SWAHILI_KENYA: er, SYRIAC: `syr`, SYRIAC_SYRIA: nr, TAMIL: `ta`, TAMIL_INDIA: ir, TELUGU: `te`, TELUGU_INDIA: or, THAI: `th`, THAI_THAILAND: cr, TAGALOG: `tl`, TAGALOG_PHILIPPINES: ur, TSWANA: `tn`, TSWANA_SOUTH_AFRICA: fr, TURKISH: `tr`, TURKISH_TURKEY: mr, TATAR: `tt`, TATAR_RUSSIA: gr, TSOGA: `ts`, UKRAINIAN: `uk`, UKRAINIAN_UKRAINE: yr, URDU: `ur`, URDU_ISLAMIC_REPUBLIC_OF_PAKISTAN: xr, UZBEK_LATIN: `uz`, UZBEK_LATIN_UZBEKISTAN: Cr, VIETNAMESE: `vi`, VIETNAMESE_VIET_NAM: Tr, VENDA: `ve`, VENDA_SOUTH_AFRICA: Dr, XHOSA: `xh`, XHOSA_SOUTH_AFRICA: kr, CHINESE: `zh`, CHINESE_SIMPLIFIED: jr, CHINESE_SIMPLIFIED_CHINA: Mr, CHINESE_HONG_KONG: Nr, CHINESE_MACAU: Pr, CHINESE_SINGAPORE: Fr, CHINESE_TRADITIONAL: Ir, ZULU: `zu`, ZULU_SOUTH_AFRICA: Rr, BENGALI: `bn`, BENGALI_BANGLADESH: Br, BENGALI_INDIA: Vr, BENGALI_MYANMAR: Hr, BURMESE: `my`, BURMESE_MYANMAR: Wr, KHMER: `km`, KHMER_CAMBODIA: Kr, LAO: `lo`, LAO_LAOS: Jr, YORUBA: `yo`, YORUBA_NIGERIA: Xr, YIDDISH: `yi`, YIDDISH_WORLD: Qr, AMHARIC: `am`, AMHARIC_ETHIOPIA: ei, NEPALI: `ne`, NEPALI_NEPAL: ni, SINHALA: `si`, SINHALA_SRI_LANKA: ii, SERBIAN_CYRILLIC: ai, SERBIAN_CYRILLIC_SERBIA: oi, SERBIAN_CYRILLIC_BOSNIA_AND_HERZEGOVINA: si, ENGLISH_INDIA: ci, ENGLISH_SINGAPORE: li, ENGLISH_HONG_KONG: ui, ENGLISH_NIGERIA: di, ENGLISH_PAKISTAN: fi, ENGLISH_MALAYSIA: pi, ENGLISH_BOTSWANA: mi, ENGLISH_KENYA: hi, ENGLISH_TANZANIA: gi, ENGLISH_GHANA: _i, ENGLISH_UGANDA: vi, SPANISH_CUBA: yi, SPANISH_UNITED_STATES: bi, PORTUGUESE_GUINEA_BISSAU: xi, PORTUGUESE_MOZAMBIQUE: Si, PORTUGUESE_SAO_TOME_AND_PRINCIPE: Ci, PORTUGUESE_CAPE_VERDE: wi, PORTUGUESE_TIMOR_LESTE: Ti, PORTUGUESE_MACAU: Ei, CHINESE_TAIWAN: Di, ARABIC_MAURITANIA: Oi, ARABIC_PALESTINE: ki, ARABIC_SUDAN: Ai, ARABIC_DJIBOUTI: ji, ARABIC_SOMALIA: Mi, ARABIC_CHAD: Ni, ARABIC_COMOROS: Pi, MALAGASY_MADAGASCAR: $$4 };
|
|
12768
12768
|
let e$l = (function(e2) {
|
|
12769
12769
|
return e2.Translation = `translation`, e2.Enumeration = `enumeration`, e2.Condition = `condition`, e2.Insertion = `insertion`, e2.File = `file`, e2.Object = `object`, e2.Array = `array`, e2.Nested = `nested`, e2.ReactNode = `reactNode`, e2.Markdown = `markdown`, e2.HTML = `html`, e2.Text = `text`, e2.Number = `number`, e2.Boolean = `boolean`, e2.Gender = `gender`, e2.Null = `null`, e2.Unknown = `unknown`, e2;
|
|
12770
12770
|
})({});
|
|
12771
12771
|
const t$y = (t2, n2) => {
|
|
12772
12772
|
let r2 = t2 ? String(t2) : te$1.ENGLISH;
|
|
12773
12773
|
return n2 ? `${r2}|${JSON.stringify(n2)}` : r2;
|
|
12774
|
-
}, n$
|
|
12774
|
+
}, n$R = (e2) => {
|
|
12775
12775
|
let n2 = /* @__PURE__ */ new Map();
|
|
12776
12776
|
function r2(r3, i2) {
|
|
12777
12777
|
let a2 = r3, o2 = i2;
|
|
@@ -12791,7 +12791,7 @@ const t$y = (t2, n2) => {
|
|
|
12791
12791
|
if (e2.has(r2)) return e2.get(r2);
|
|
12792
12792
|
let a2 = Reflect.get(t2, r2, i2);
|
|
12793
12793
|
if (typeof a2 == `function` && typeof r2 == `string` && /^[A-Z]/.test(r2)) {
|
|
12794
|
-
let t3 = n$
|
|
12794
|
+
let t3 = n$R(a2);
|
|
12795
12795
|
return e2.set(r2, t3), t3;
|
|
12796
12796
|
}
|
|
12797
12797
|
return a2;
|
|
@@ -12818,8 +12818,8 @@ const e$k = (e2, t2) => {
|
|
|
12818
12818
|
} catch {
|
|
12819
12819
|
}
|
|
12820
12820
|
};
|
|
12821
|
-
const n$
|
|
12822
|
-
let r2 = t2?.isVerbose ?? false, i2 = t2?.config?.mode ?? `default`, a2 = t2?.level ?? `info`, o2 = n$
|
|
12821
|
+
const n$Q = (t2) => t2, r$V = (e2, t2) => {
|
|
12822
|
+
let r2 = t2?.isVerbose ?? false, i2 = t2?.config?.mode ?? `default`, a2 = t2?.level ?? `info`, o2 = n$Q(t2?.config?.prefix), s2 = t2?.config?.log ?? console.log, c2 = t2?.config?.info ?? console.info, l2 = t2?.config?.warn ?? console.warn, u2 = t2?.config?.error ?? console.error, d2 = t2?.config?.debug ?? console.debug;
|
|
12823
12823
|
if (i2 === `disabled` || r2 && i2 !== `verbose`) return;
|
|
12824
12824
|
let f2 = o2 ? [o2, ...[e2].flat()] : [e2].flat();
|
|
12825
12825
|
if (a2 === `debug`) return d2(...f2);
|
|
@@ -12844,23 +12844,23 @@ var e$j = Object.defineProperty, t$x = (t2, n2) => {
|
|
|
12844
12844
|
if (typeof require < `u`) return require.apply(this, arguments);
|
|
12845
12845
|
throw Error('Calling `require` for "' + e2 + "\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.");
|
|
12846
12846
|
});
|
|
12847
|
-
var t$w = t$x({ BUILD_MODE: () => n$
|
|
12848
|
-
const n$
|
|
12849
|
-
var t$v = t$x({ CODE_DIR: () => a$J, CONTENT_DIR: () => i$F, EXCLUDED_PATHS: () => r$T, FILE_EXTENSIONS: () => n$
|
|
12850
|
-
const n$
|
|
12851
|
-
var t$u = t$x({ CONTENT_AUTO_TRANSFORMATION: () => i$E, FILL: () => n$
|
|
12852
|
-
const n$
|
|
12853
|
-
var t$t = t$x({ APPLICATION_URL: () => n$
|
|
12854
|
-
const n$
|
|
12855
|
-
var n$
|
|
12847
|
+
var t$w = t$x({ BUILD_MODE: () => n$P, CACHE: () => o$K, OPTIMIZE: () => r$U, OUTPUT_FORMAT: () => a$K, TRAVERSE_PATTERN: () => i$G, TYPE_CHECKING: () => s$F });
|
|
12848
|
+
const n$P = `auto`, r$U = void 0, i$G = [`**/*.{tsx,ts,js,mjs,cjs,jsx,vue,svelte,svte}`, `!**/node_modules/**`], a$K = [`esm`, `cjs`], o$K = true, s$F = false;
|
|
12849
|
+
var t$v = t$x({ CODE_DIR: () => a$J, CONTENT_DIR: () => i$F, EXCLUDED_PATHS: () => r$T, FILE_EXTENSIONS: () => n$O, I18NEXT_DICTIONARIES_DIR: () => o$J, REACT_INTL_MESSAGES_DIR: () => s$E, WATCH: () => c$w });
|
|
12850
|
+
const n$O = [`.content.ts`, `.content.js`, `.content.cjs`, `.content.mjs`, `.content.json`, `.content.json5`, `.content.jsonc`, `.content.tsx`, `.content.jsx`], r$T = [`**/node_modules/**`, `**/dist/**`, `**/build/**`, `**/.intlayer/**`, `**/.next/**`, `**/.nuxt/**`, `**/.expo/**`, `**/.vercel/**`, `**/.turbo/**`, `**/.tanstack/**`], i$F = [`.`], a$J = [`.`], o$J = `i18next_resources`, s$E = `intl_messages`, c$w = false;
|
|
12851
|
+
var t$u = t$x({ CONTENT_AUTO_TRANSFORMATION: () => i$E, FILL: () => n$N, IMPORT_MODE: () => a$I, LOCATION: () => r$S });
|
|
12852
|
+
const n$N = true, r$S = `local`, i$E = false, a$I = `static`;
|
|
12853
|
+
var t$t = t$x({ APPLICATION_URL: () => n$M, BACKEND_URL: () => a$H, CMS_URL: () => i$D, DICTIONARY_PRIORITY_STRATEGY: () => l$s, EDITOR_URL: () => r$R, IS_ENABLED: () => s$D, LIVE_SYNC: () => c$v, LIVE_SYNC_PORT: () => u$o, PORT: () => o$I });
|
|
12854
|
+
const n$M = ``, r$R = `http://localhost:8000`, i$D = `https://app.intlayer.org`, a$H = `https://back.intlayer.org`, o$I = 8e3, s$D = true, c$v = true, l$s = `local_first`, u$o = 4e3;
|
|
12855
|
+
var n$L = t$x({ DEFAULT_LOCALE: () => a$G, LOCALES: () => r$Q, REQUIRED_LOCALES: () => i$C, STRICT_MODE: () => o$H });
|
|
12856
12856
|
const r$Q = [te$1.ENGLISH], i$C = [], a$G = te$1.ENGLISH, o$H = `inclusive`;
|
|
12857
|
-
var n$
|
|
12857
|
+
var n$K = t$x({ MODE: () => r$P, PREFIX: () => i$B });
|
|
12858
12858
|
const r$P = `default`, i$B = `${i$H.GREY_DARK}[intlayer] ${i$H.RESET}`;
|
|
12859
|
-
var t$s = t$x({ BASE_PATH: () => a$F, COOKIE_NAME: () => r$O, HEADER_NAME: () => n$
|
|
12860
|
-
const n$
|
|
12861
|
-
var t$r = t$x({ CACHE_DIR: () => f$h, CONFIG_DIR: () => d$h, DICTIONARIES_DIR: () => r$N, DYNAMIC_DICTIONARIES_DIR: () => s$B, FETCH_DICTIONARIES_DIR: () => c$t, MAIN_DIR: () => n$
|
|
12862
|
-
const n$
|
|
12863
|
-
var l$q = t$x({ Build: () => t$w, Content: () => t$v, Dictionary: () => t$u, Editor: () => t$t, Internationalization: () => n$
|
|
12859
|
+
var t$s = t$x({ BASE_PATH: () => a$F, COOKIE_NAME: () => r$O, HEADER_NAME: () => n$J, LOCALE_STORAGE_NAME: () => i$A, ROUTING_MODE: () => s$C, SERVER_SET_COOKIE: () => o$G, STORAGE: () => c$u });
|
|
12860
|
+
const n$J = `x-intlayer-locale`, r$O = `INTLAYER_LOCALE`, i$A = `INTLAYER_LOCALE`, a$F = ``, o$G = `always`, s$C = `prefix-no-default`, c$u = [`cookie`, `header`];
|
|
12861
|
+
var t$r = t$x({ CACHE_DIR: () => f$h, CONFIG_DIR: () => d$h, DICTIONARIES_DIR: () => r$N, DYNAMIC_DICTIONARIES_DIR: () => s$B, FETCH_DICTIONARIES_DIR: () => c$t, MAIN_DIR: () => n$I, MASKS_DIR: () => i$z, MODULE_AUGMENTATION_DIR: () => u$n, REMOTE_DICTIONARIES_DIR: () => a$E, TEMP_DIR: () => p$g, TYPES_DIR: () => l$r, UNMERGED_DICTIONARIES_DIR: () => o$F });
|
|
12862
|
+
const n$I = `.intlayer/main`, r$N = `.intlayer/dictionary`, i$z = `.intlayer/mask`, a$E = `.intlayer/remote_dictionary`, o$F = `.intlayer/unmerged_dictionary`, s$B = `.intlayer/dynamic_dictionary`, c$t = `.intlayer/fetch_dictionary`, l$r = `.intlayer/types`, u$n = `.intlayer/types`, d$h = `.intlayer/config`, f$h = `.intlayer/cache`, p$g = `.intlayer/tmp`;
|
|
12863
|
+
var l$q = t$x({ Build: () => t$w, Content: () => t$v, Dictionary: () => t$u, Editor: () => t$t, Internationalization: () => n$L, Log: () => n$K, Routing: () => t$s, System: () => t$r });
|
|
12864
12864
|
const e$i = (e2) => {
|
|
12865
12865
|
if (!e2 || typeof e2 != `string`) return ``;
|
|
12866
12866
|
let t2 = e2.replace(/([a-z])([A-Z])/g, `$1 $2`).replace(/([A-Z]+)([A-Z][a-z])/g, `$1 $2`);
|
|
@@ -12869,7 +12869,7 @@ const e$i = (e2) => {
|
|
|
12869
12869
|
const t$q = (t2) => {
|
|
12870
12870
|
let { name: n2, path: r2, expires: i2, domain: a2, secure: o2, sameSite: s2, httpOnly: c2 } = t2 ?? {};
|
|
12871
12871
|
return { name: n2 ?? l$q.Routing.COOKIE_NAME, attributes: { path: r2, expires: i2, domain: a2, secure: o2, sameSite: s2, httpOnly: c2 } };
|
|
12872
|
-
}, n$
|
|
12872
|
+
}, n$H = (t2) => {
|
|
12873
12873
|
let { name: n2 } = t2 ?? {};
|
|
12874
12874
|
return { name: n2 ?? l$q.Routing.LOCALE_STORAGE_NAME };
|
|
12875
12875
|
}, r$M = (t2) => {
|
|
@@ -12879,8 +12879,8 @@ const t$q = (t2) => {
|
|
|
12879
12879
|
if (typeof e2 == `string`) {
|
|
12880
12880
|
if (!a$D(e2)) return { cookies: [], localStorage: [], sessionStorage: [], headers: [] };
|
|
12881
12881
|
if (e2 === `cookie`) return { cookies: [t$q()] };
|
|
12882
|
-
if (e2 === `localStorage`) return { localStorage: [n$
|
|
12883
|
-
if (e2 === `sessionStorage`) return { sessionStorage: [n$
|
|
12882
|
+
if (e2 === `localStorage`) return { localStorage: [n$H()] };
|
|
12883
|
+
if (e2 === `sessionStorage`) return { sessionStorage: [n$H()] };
|
|
12884
12884
|
if (e2 === `header`) return { headers: [r$M()] };
|
|
12885
12885
|
}
|
|
12886
12886
|
if (typeof e2 == `object` && e2) {
|
|
@@ -12888,18 +12888,18 @@ const t$q = (t2) => {
|
|
|
12888
12888
|
if (i$y(a2)) return { cookies: [t$q(a2)] };
|
|
12889
12889
|
if (`type` in a2 && a2.type === `localStorage`) {
|
|
12890
12890
|
let { name: e3, ...t2 } = a2;
|
|
12891
|
-
return { localStorage: [n$
|
|
12891
|
+
return { localStorage: [n$H({ name: e3, ...t2 })] };
|
|
12892
12892
|
}
|
|
12893
12893
|
if (`type` in a2 && a2.type === `sessionStorage`) {
|
|
12894
12894
|
let { name: e3, ...t2 } = a2;
|
|
12895
|
-
return { sessionStorage: [n$
|
|
12895
|
+
return { sessionStorage: [n$H({ name: e3, ...t2 })] };
|
|
12896
12896
|
}
|
|
12897
12897
|
if (`type` in a2 && a2.type === `header`) {
|
|
12898
12898
|
let { name: e3, ...t2 } = a2;
|
|
12899
12899
|
return { headers: [r$M({ name: e3, ...t2 })] };
|
|
12900
12900
|
}
|
|
12901
12901
|
let { name: o2, ...s2 } = a2;
|
|
12902
|
-
return { localStorage: [n$
|
|
12902
|
+
return { localStorage: [n$H({ name: o2, ...s2 })] };
|
|
12903
12903
|
}
|
|
12904
12904
|
return { cookies: [], localStorage: [], sessionStorage: [], headers: [] };
|
|
12905
12905
|
}, s$A = (e2, t2) => ({ cookies: [...e2.cookies, ...t2.cookies ?? []], localStorage: [...e2.localStorage, ...t2.localStorage ?? []], sessionStorage: [...e2.sessionStorage, ...t2.sessionStorage ?? []], headers: [...e2.headers, ...t2.headers ?? []] }), c$s = (e2) => {
|
|
@@ -13066,7 +13066,7 @@ const t$o = (t2) => {
|
|
|
13066
13066
|
}
|
|
13067
13067
|
};
|
|
13068
13068
|
const t$n = (t2, n2 = t2) => new i$I.DisplayNames(n2, { type: `language` }).of(t2) ?? `Unknown locale`;
|
|
13069
|
-
const n$
|
|
13069
|
+
const n$G = (n2, r2 = b$5?.internationalization?.locales) => {
|
|
13070
13070
|
let i2 = e$h(n2), a2 = n2;
|
|
13071
13071
|
n2?.endsWith(`/`) && (a2 = n2.slice(0, -1));
|
|
13072
13072
|
let o2 = i2 ? new URL(a2) : new URL(a2, `http://example.com`), s2 = o2.pathname;
|
|
@@ -13076,7 +13076,7 @@ const n$H = (n2, r2 = b$5?.internationalization?.locales) => {
|
|
|
13076
13076
|
let u2 = new URLSearchParams(o2.search);
|
|
13077
13077
|
return u2.has(`locale`) && (u2.delete(`locale`), o2.search = u2.toString()), i2 ? o2.toString() : o2.toString().replace(`http://example.com`, ``);
|
|
13078
13078
|
};
|
|
13079
|
-
const n$
|
|
13079
|
+
const n$F = (n2, r2 = {}) => {
|
|
13080
13080
|
let { defaultLocale: i2, mode: a2, locales: o2 } = { defaultLocale: b$5?.internationalization?.defaultLocale ?? l$q.Internationalization.DEFAULT_LOCALE, mode: b$5?.routing?.mode ?? l$q.Routing.ROUTING_MODE, locales: b$5?.internationalization?.locales ?? l$q.Internationalization.LOCALES, ...r2 };
|
|
13081
13081
|
return !n2 || !o2.includes(n2) ? { prefix: ``, localePrefix: void 0 } : a2 === `prefix-all` || a2 === `prefix-no-default` && i2 !== n2 ? { prefix: `${n2}/`, localePrefix: n2 } : { prefix: ``, localePrefix: void 0 };
|
|
13082
13082
|
};
|
|
@@ -13085,7 +13085,7 @@ const e$f = (e2, t2 = `url`) => {
|
|
|
13085
13085
|
}, t$m = (e2) => {
|
|
13086
13086
|
let t2 = e2.replace(/\//g, `\\/`).replace(/\\\/:(?:[^/\\*+?]+)\*/g, `(?:\\/(.*))?`).replace(/\\\/:(?:[^/\\*+?]+)\?/g, `(?:\\/([^\\/]+))?`).replace(/:([^/\\*+?]+)\*/g, `(.*)`).replace(/:([^/\\*+?]+)\?/g, `([^\\/]*)`).replace(/:([^/\\*+?]+)\+/g, `(.+)`).replace(/:([^/\\*+?]+)/g, `([^\\/]+)`);
|
|
13087
13087
|
return RegExp(`^${t2}$`);
|
|
13088
|
-
}, n$
|
|
13088
|
+
}, n$E = (e2, t2) => {
|
|
13089
13089
|
let n2 = 0;
|
|
13090
13090
|
return e2.replace(/:([^/\\*+?]+)[*+?]?/g, () => t2[n2++] ?? ``).replace(/\/+/g, `/`).replace(/\/$/, ``) || `/`;
|
|
13091
13091
|
}, r$K = (e2, n2) => {
|
|
@@ -13099,7 +13099,7 @@ const e$f = (e2, t2 = `url`) => {
|
|
|
13099
13099
|
let a3 = o2[t3];
|
|
13100
13100
|
if (!a3) continue;
|
|
13101
13101
|
let s3 = r$K(e2, a3);
|
|
13102
|
-
if (s3) return n$
|
|
13102
|
+
if (s3) return n$E(i3, s3);
|
|
13103
13103
|
}
|
|
13104
13104
|
}
|
|
13105
13105
|
return e2;
|
|
@@ -13109,13 +13109,13 @@ const e$f = (e2, t2 = `url`) => {
|
|
|
13109
13109
|
let { canonical: i3, localized: o2 } = a2, s2 = r$K(e2, i3);
|
|
13110
13110
|
if (s2) {
|
|
13111
13111
|
let e3 = o2[t2];
|
|
13112
|
-
if (e3) return { path: n$
|
|
13112
|
+
if (e3) return { path: n$E(e3, s2), isRewritten: true };
|
|
13113
13113
|
}
|
|
13114
13114
|
}
|
|
13115
13115
|
return { path: e2, isRewritten: false };
|
|
13116
13116
|
};
|
|
13117
13117
|
const c$r = (c2, l2, u2 = {}) => {
|
|
13118
|
-
let { defaultLocale: d2, mode: f2, locales: p2, rewrite: m2 } = { defaultLocale: b$5?.internationalization?.defaultLocale ?? l$q.Internationalization.DEFAULT_LOCALE, mode: b$5?.routing?.mode ?? l$q.Routing.ROUTING_MODE, locales: b$5?.internationalization?.locales ?? l$q.Internationalization.LOCALES, rewrite: b$5?.routing?.rewrite, ...u2 }, h2 = n$
|
|
13118
|
+
let { defaultLocale: d2, mode: f2, locales: p2, rewrite: m2 } = { defaultLocale: b$5?.internationalization?.defaultLocale ?? l$q.Internationalization.DEFAULT_LOCALE, mode: b$5?.routing?.mode ?? l$q.Routing.ROUTING_MODE, locales: b$5?.internationalization?.locales ?? l$q.Internationalization.LOCALES, rewrite: b$5?.routing?.rewrite, ...u2 }, h2 = n$G(c2, p2), g2 = e$f(m2, `url`);
|
|
13119
13119
|
if (f2 === `no-prefix`) return a$A(i$w(h2, void 0, g2), l2, g2).path;
|
|
13120
13120
|
let _2 = e$h(h2), v2 = _2 ? new URL(h2) : new URL(h2, `http://example.com`), y2 = _2 ? `${v2.protocol}//${v2.host}` : ``, b2 = a$A(i$w(v2.pathname, void 0, g2), l2, g2).path;
|
|
13121
13121
|
if (f2 === `search-params`) {
|
|
@@ -13124,7 +13124,7 @@ const c$r = (c2, l2, u2 = {}) => {
|
|
|
13124
13124
|
let t2 = e2.toString(), n2 = t2 ? `${b2}?${t2}` : b2;
|
|
13125
13125
|
return _2 ? `${y2}${n2}${v2.hash}` : `${n2}${v2.hash}`;
|
|
13126
13126
|
}
|
|
13127
|
-
let { prefix: x2 } = n$
|
|
13127
|
+
let { prefix: x2 } = n$F(l2, { defaultLocale: d2, mode: f2, locales: p2 }), S2 = `/${x2}${b2}`;
|
|
13128
13128
|
return S2 = S2.replaceAll(/\/+/g, `/`), S2.length > 1 && S2.endsWith(`/`) && (S2 = S2.slice(0, -1)), _2 ? `${y2}${S2}${v2.search}${v2.hash}` : `${S2}${v2.search}${v2.hash}`;
|
|
13129
13129
|
};
|
|
13130
13130
|
const a$z = i$x(a$B), s$z = (e2, t2) => a$C(e2, { ...a$B, isCookieEnabled: t2 });
|
|
@@ -13243,7 +13243,7 @@ const o$C = reactExports.createContext(void 0), s$w = reactExports.createContext
|
|
|
13243
13243
|
if (!t2) throw Error(`useDictionariesRecordStates must be used within a DictionariesRecordProvider`);
|
|
13244
13244
|
return { ...t2, ...e2 };
|
|
13245
13245
|
};
|
|
13246
|
-
const n$
|
|
13246
|
+
const n$D = () => {
|
|
13247
13247
|
let [n2] = a$y(e$c.INTLAYER_CURRENT_LOCALE, void 0, { receive: true, emit: false });
|
|
13248
13248
|
return n2;
|
|
13249
13249
|
};
|
|
@@ -13328,9 +13328,9 @@ const t$h = (t2) => {
|
|
|
13328
13328
|
}
|
|
13329
13329
|
return !t2 || typeof t2 != `object` ? t2 : Array.isArray(t2) ? t2[0] : t2;
|
|
13330
13330
|
};
|
|
13331
|
-
const n$
|
|
13331
|
+
const n$C = (e2) => typeof e2 == `object` && !!e2 && `nodeType` in e2 && typeof e2.nodeType == `string`, r$I = (e2) => Object.values(e$l).includes(e2), i$u = (i2) => {
|
|
13332
13332
|
if (typeof i2 == `string`) return e$l.Text;
|
|
13333
|
-
if (n$
|
|
13333
|
+
if (n$C(i2)) {
|
|
13334
13334
|
let e2 = i2.nodeType;
|
|
13335
13335
|
return r$I(e2) ? e2 : e$l.Unknown;
|
|
13336
13336
|
}
|
|
@@ -13402,11 +13402,11 @@ const e$7 = (e2) => {
|
|
|
13402
13402
|
return e2;
|
|
13403
13403
|
}
|
|
13404
13404
|
return n2;
|
|
13405
|
-
}, n$
|
|
13405
|
+
}, n$B = (t2, r2 = /* @__PURE__ */ new WeakSet()) => {
|
|
13406
13406
|
if (typeof t2 != `object` || !t2 || r2.has(t2) || (r2.add(t2), !e$7(t2))) return t2;
|
|
13407
|
-
if (Array.isArray(t2)) return t2.map((e2) => n$
|
|
13407
|
+
if (Array.isArray(t2)) return t2.map((e2) => n$B(e2, r2));
|
|
13408
13408
|
let i2 = {};
|
|
13409
|
-
for (let [e2, a2] of Object.entries(t2)) a2 !== void 0 && (i2[e2] = n$
|
|
13409
|
+
for (let [e2, a2] of Object.entries(t2)) a2 !== void 0 && (i2[e2] = n$B(a2, r2));
|
|
13410
13410
|
return i2;
|
|
13411
13411
|
}, r$H = (e2, r2, i2) => {
|
|
13412
13412
|
let a2 = [], o2 = (t2) => e2[t2], s2 = o2(r2);
|
|
@@ -13421,7 +13421,7 @@ const e$7 = (e2) => {
|
|
|
13421
13421
|
}
|
|
13422
13422
|
}
|
|
13423
13423
|
if (a2.length === 0) return;
|
|
13424
|
-
let c2 = a2.filter((e3) => e3 !== void 0).map((e3) => n$
|
|
13424
|
+
let c2 = a2.filter((e3) => e3 !== void 0).map((e3) => n$B(e3));
|
|
13425
13425
|
return c2.length === 1 || Array.isArray(c2[0]) ? c2[0] : c2.reduce((e3, n2) => t$b(e3, n2));
|
|
13426
13426
|
};
|
|
13427
13427
|
const s$v = (e2, t2) => ({ id: `translation-plugin`, canHandle: (e3) => typeof e3 == `object` && e3?.nodeType === e$l.Translation, transform: (n2, r2, i2) => {
|
|
@@ -13481,9 +13481,9 @@ const t$a = (t2, n2, r2) => {
|
|
|
13481
13481
|
}
|
|
13482
13482
|
return t2;
|
|
13483
13483
|
};
|
|
13484
|
-
const f$f = reactExports.createContext(void 0), m$
|
|
13485
|
-
let { localeDictionaries: i2 } = u$l(), a2 = n$
|
|
13486
|
-
return jsxRuntimeExports.jsx(f$f.Provider, { value: { editedContent: p2 }, children: jsxRuntimeExports.jsx(h$
|
|
13484
|
+
const f$f = reactExports.createContext(void 0), m$f = (t2) => r$J(`${e$c.INTLAYER_EDITED_CONTENT_CHANGED}/get`, t2), h$d = reactExports.createContext(void 0), g$c = (e2, t2) => typeof e2 == `function` ? e2(t2) : e2, _$b = ({ children: e2 }) => {
|
|
13485
|
+
let { localeDictionaries: i2 } = u$l(), a2 = n$D(), [p2, m2] = a$y(e$c.INTLAYER_EDITED_CONTENT_CHANGED);
|
|
13486
|
+
return jsxRuntimeExports.jsx(f$f.Provider, { value: { editedContent: p2 }, children: jsxRuntimeExports.jsx(h$d.Provider, { value: { setEditedContentState: m2, setEditedDictionary: (e3) => {
|
|
13487
13487
|
let t2 = g$c(e3);
|
|
13488
13488
|
return m2((n2) => t2.localId ? (t2 = g$c(e3, n2?.[t2.localId]), { ...n2, [t2.localId]: t2 }) : (console.error(`no localId`, t2), n2)), t2;
|
|
13489
13489
|
}, setEditedContent: (e3, t2) => {
|
|
@@ -13530,7 +13530,7 @@ const f$f = reactExports.createContext(void 0), m$e = (t2) => r$J(`${e$c.INTLAYE
|
|
|
13530
13530
|
if (t3) return t3;
|
|
13531
13531
|
}
|
|
13532
13532
|
} }, children: e2 }) });
|
|
13533
|
-
}, v$a = () => reactExports.useContext(h$
|
|
13533
|
+
}, v$a = () => reactExports.useContext(h$d), y$8 = () => {
|
|
13534
13534
|
let e2 = reactExports.useContext(f$f), t2 = v$a();
|
|
13535
13535
|
return { ...e2, ...t2 };
|
|
13536
13536
|
};
|
|
@@ -13557,7 +13557,7 @@ const o$z = reactExports.createContext(void 0), s$t = reactExports.createContext
|
|
|
13557
13557
|
return { ...t2, ...e2 };
|
|
13558
13558
|
};
|
|
13559
13559
|
const f$e = ({ children: e2 }) => {
|
|
13560
|
-
let t2 = m$
|
|
13560
|
+
let t2 = m$f();
|
|
13561
13561
|
return reactExports.useEffect(() => {
|
|
13562
13562
|
t2();
|
|
13563
13563
|
}, []), jsxRuntimeExports.jsx(c$o, { children: jsxRuntimeExports.jsx(_$b, { children: jsxRuntimeExports.jsx(c$l, { children: e2 }) }) });
|
|
@@ -13566,12 +13566,12 @@ const f$e = ({ children: e2 }) => {
|
|
|
13566
13566
|
return reactExports.useEffect(() => {
|
|
13567
13567
|
r2 || n2();
|
|
13568
13568
|
}, [r2]), r2 ? e2 : t2;
|
|
13569
|
-
}, m$
|
|
13569
|
+
}, m$e = ({ children: e2, fallback: t2 }) => {
|
|
13570
13570
|
let [n2, r2] = reactExports.useState(false);
|
|
13571
13571
|
return reactExports.useEffect(() => {
|
|
13572
13572
|
r2(window.self !== window.top);
|
|
13573
13573
|
}, []), n2 ? e2 : t2;
|
|
13574
|
-
}, h$
|
|
13574
|
+
}, h$c = ({ children: n2, configuration: r2, ...i2 }) => jsxRuntimeExports.jsx(u$j, { children: jsxRuntimeExports.jsx(s$x, { configuration: r2, children: i2.mode === `editor` ? jsxRuntimeExports.jsx(l$p, { ...i2, children: jsxRuntimeExports.jsx(f$e, { children: n2 }) }) : jsxRuntimeExports.jsx(m$e, { fallback: n2, children: jsxRuntimeExports.jsx(l$p, { ...i2, children: jsxRuntimeExports.jsx(p$e, { fallback: n2, children: jsxRuntimeExports.jsx(f$e, { children: n2 }) }) }) }) }) });
|
|
13575
13575
|
const r$G = (t2, r2) => a$y(e$c.INTLAYER_URL_CHANGE, t2, r2);
|
|
13576
13576
|
const a$v = (e2, t2, n2) => {
|
|
13577
13577
|
for (let r2 of t2) try {
|
|
@@ -13579,7 +13579,7 @@ const a$v = (e2, t2, n2) => {
|
|
|
13579
13579
|
} catch {
|
|
13580
13580
|
}
|
|
13581
13581
|
}, o$y = () => {
|
|
13582
|
-
let { localeDictionaries: i2 } = u$l(), o2 = n$
|
|
13582
|
+
let { localeDictionaries: i2 } = u$l(), o2 = n$D(), { setFocusedContent: s2, setFocusedContentKeyPath: c2, focusedContent: l2 } = u$i();
|
|
13583
13583
|
return { focusedContent: reactExports.useMemo(() => {
|
|
13584
13584
|
if (!l2 || !i2 || l2.dictionaryLocalId) return l2;
|
|
13585
13585
|
let e2 = Object.values(i2).filter((e3) => e3.key === l2.dictionaryKey), t2 = a$v(l2.keyPath ?? [], e2, o2);
|
|
@@ -13607,7 +13607,7 @@ const e$6 = (e2) => {
|
|
|
13607
13607
|
let t2 = {}, n2 = /([a-zA-Z0-9-]+)="([^"]*)"/g, r2 = n2.exec(e2);
|
|
13608
13608
|
for (; r2 !== null; ) t2[r2[1]] = r2[2], r2 = n2.exec(e2);
|
|
13609
13609
|
return t2;
|
|
13610
|
-
}, t$9 = /* @__PURE__ */ new Map(), n$
|
|
13610
|
+
}, t$9 = /* @__PURE__ */ new Map(), n$A = (n2) => {
|
|
13611
13611
|
if (t$9.has(n2)) return t$9.get(n2);
|
|
13612
13612
|
if (typeof n2 != `string`) return [];
|
|
13613
13613
|
let r2 = /<(\/)?([a-zA-Z0-9.-]+)([\s\S]*?)(\/?)>/g, i2 = [], a2 = [], o2 = 0, s2 = r2.exec(n2), c2 = (e2) => {
|
|
@@ -13633,7 +13633,7 @@ const e$6 = (e2) => {
|
|
|
13633
13633
|
}
|
|
13634
13634
|
return t$9.set(n2, i2), i2;
|
|
13635
13635
|
}, r$F = (e2, t2) => {
|
|
13636
|
-
let r2 = n$
|
|
13636
|
+
let r2 = n$A(e2), i2 = 0, a2 = (e3) => {
|
|
13637
13637
|
if (typeof e3 == `string`) return e3;
|
|
13638
13638
|
let { tagName: n2, props: r3, children: o3 } = e3, s2 = o3.flatMap(a2), c2 = i2++, l2 = t2[n2];
|
|
13639
13639
|
if (!l2) {
|
|
@@ -13741,7 +13741,7 @@ const s$s = (s2) => {
|
|
|
13741
13741
|
let { dictionaryKey: c2, keyPath: l2, html: u2, userComponents: d2 } = s2, f2 = i$s()?.components || {}, p2 = i$t({ dictionaryKey: c2 ?? ``, keyPath: l2 ?? [], children: u2 }), m2 = typeof p2 == `string` ? p2 : u2, h2 = { ...o$x, ...f2, ...d2 }, g2 = Object.fromEntries(Object.entries(h2).filter(([, e2]) => e2).map(([e2, t2]) => [e2, (e3) => reactExports.createElement(t2, e3)]));
|
|
13742
13742
|
return jsxRuntimeExports.jsx(f$c, { ...s2, children: r$F(m2, g2) });
|
|
13743
13743
|
};
|
|
13744
|
-
const e$3 = { blockQuote: `0`, breakLine: `1`, breakThematic: `2`, codeBlock: `3`, codeFenced: `4`, codeInline: `5`, footnote: `6`, footnoteReference: `7`, gfmTask: `8`, heading: `9`, headingSetext: `10`, htmlBlock: `11`, htmlComment: `12`, htmlSelfClosing: `13`, customComponent: `34`, image: `14`, link: `15`, linkAngleBraceStyleDetector: `16`, linkBareUrlDetector: `17`, newlineCoalescer: `19`, orderedList: `20`, paragraph: `21`, ref: `22`, refImage: `23`, refLink: `24`, table: `25`, tableSeparator: `26`, text: `27`, textBolded: `28`, textEmphasized: `29`, textEscaped: `30`, textMarked: `31`, textStrikethroughed: `32`, unorderedList: `33` }, t$6 = { MAX: 0, HIGH: 1, MED: 2, LOW: 3, MIN: 4 }, n$
|
|
13744
|
+
const e$3 = { blockQuote: `0`, breakLine: `1`, breakThematic: `2`, codeBlock: `3`, codeFenced: `4`, codeInline: `5`, footnote: `6`, footnoteReference: `7`, gfmTask: `8`, heading: `9`, headingSetext: `10`, htmlBlock: `11`, htmlComment: `12`, htmlSelfClosing: `13`, customComponent: `34`, image: `14`, link: `15`, linkAngleBraceStyleDetector: `16`, linkBareUrlDetector: `17`, newlineCoalescer: `19`, orderedList: `20`, paragraph: `21`, ref: `22`, refImage: `23`, refLink: `24`, table: `25`, tableSeparator: `26`, text: `27`, textBolded: `28`, textEmphasized: `29`, textEscaped: `30`, textMarked: `31`, textStrikethroughed: `32`, unorderedList: `33` }, t$6 = { MAX: 0, HIGH: 1, MED: 2, LOW: 3, MIN: 4 }, n$z = 20, r$C = `allowFullScreen.allowTransparency.autoComplete.autoFocus.autoPlay.cellPadding.cellSpacing.charSet.classId.colSpan.contentEditable.contextMenu.crossOrigin.encType.formAction.formEncType.formMethod.formNoValidate.formTarget.frameBorder.hrefLang.inputMode.keyParams.keyType.marginHeight.marginWidth.maxLength.mediaGroup.minLength.noValidate.radioGroup.readOnly.rowSpan.spellCheck.srcDoc.srcLang.srcSet.tabIndex.useMap`.split(`.`).reduce((e2, t2) => (e2[t2.toLowerCase()] = t2, e2), { class: `className`, for: `htmlFor` }), i$r = { amp: `&`, apos: `'`, gt: `>`, lt: `<`, nbsp: ` `, quot: `“` }, ee$1 = [`style`, `script`, `pre`], te = [`src`, `href`, `data`, `formAction`, `srcDoc`, `action`], ne = /([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi, re = /\n{2,}$/, ie = /^(\s*>[\s\S]*?)(?=\n\n|$)/, ae = /^ *> ?/gm, oe = /^(?:\[!([^\]]*)\]\n)?([\s\S]*)/, se = /^ {2,}\n/, a$r = /^(?:([-*_])( *\1){2,}) *(?:\n *)+\n/, o$w = /^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/, s$r = /^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/, c$k = /^(`+)((?:\\`|(?!\1)`|[^`])+)\1/, l$j = /^(?:\n *)*\n/, u$h = /\r\n?/g, d$c = /^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/, f$b = /^\[\^([^\]]+)]/, p$c = /\f/g, m$d = /^---[ \t]*\n(.|\n)*?\n---[ \t]*\n/, h$b = /^\s*?\[(x|\s)\]/, g$b = /^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, _$a = /^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, v$9 = /^([^\n]+)\n *(=|-)\2{2,} *\n/, y$7 = /^ *(?!<[a-zA-Z][^ >/]* ?\/>)<([a-zA-Z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i, b$4 = /&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi, x$5 = /^<!--[\s\S]*?(?:-->)/, S$5 = /^(data|aria|x)-[a-z_][a-z\d_.-]*$/, C$6 = /^ *<([a-zA-Z][a-zA-Z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i, w$4 = /^ *<([A-Z][a-zA-Z0-9]*)(?:\s+((?:<.*?>|[^>])*))?>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/, T$3 = /^\{.*\}$/, E$2 = /^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/, D$2 = /^<([^ >]+[:@/][^ >]+)>/, O$2 = /-([a-z])?/gi, k$4 = /^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/, A$1 = /(^ *\||\| *$)/g, j$1 = /^ *:-+: *$/, N$2 = /^ *-+: *$/, P$2 = /^[^\n]+(?: {2}\n|\n{2,})/, F$2 = /^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/, I$2 = /^!\[([^\]]*)\] ?\[([^\]]*)\]/, L$3 = /^\[([^\]]*)\] ?\[([^\]]*)\]/, R$2 = /(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/, z$2 = /\t/g, B$4 = /^\n+/, ce$1 = /^\n*([ \t]*)/, V$2 = /(?:^|\n)( *)$/, H$3 = `(?:\\d+\\.)`, U$3 = `(?:[*+-])`, W$3 = /^\\([^0-9A-Za-z\s])/, G$2 = /\\([^0-9A-Za-z\s])/g, le$1 = /^[\s\S](?:(?! {2}\n|[0-9]\.|http)[^=*_~\-\n:<`\\[!])*/, ue$1 = /^(:[a-zA-Z0-9-_]+:)/, de$1 = 1, fe$2 = 2, K$3 = (e2) => `(?=[\\s\\S]+?\\1${e2 ? `\\1` : ``})`, q$1 = "((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|\\\\[^\\s]|[\\s\\S])+?)", pe$1 = RegExp(`^([*_])\\1${K$3(1)}${q$1}\\1\\1(?!\\1)`), me$2 = RegExp(`^([*_])${K$3(0)}${q$1}\\1(?!\\1)`), he$2 = RegExp(`^(==)${K$3(0)}${q$1}\\1`), ge = RegExp(`^(~~)${K$3(0)}${q$1}\\1`), J$2 = (e2) => `( *)(` + (e2 === 1 ? H$3 : U$3) + `) +`, Y$3 = J$2(1), X$3 = J$2(2), Z$2 = (e2) => RegExp(`^` + (e2 === 1 ? Y$3 : X$3)), _e$1 = Z$2(1), ve$1 = Z$2(2), Q$1 = (e2) => RegExp(`^` + (e2 === 1 ? Y$3 : X$3) + `[^\\n]*(?:\\n(?!\\1` + (e2 === 1 ? H$3 : U$3) + ` )[^\\n]*)*(\\n|$)`, `gm`), ye$1 = Q$1(1), be$1 = Q$1(2), $$3 = (e2) => {
|
|
13745
13745
|
let t2 = e2 === 1 ? H$3 : U$3;
|
|
13746
13746
|
return RegExp(`^( *)(` + t2 + `) [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1` + t2 + ` (?!` + t2 + ` ))\\n*|\\s*\\n*$)`);
|
|
13747
13747
|
}, xe$1 = $$3(1), Se$1 = $$3(2);
|
|
@@ -13749,7 +13749,7 @@ const p$b = (e2) => {
|
|
|
13749
13749
|
let t2 = e2.length;
|
|
13750
13750
|
for (; t2 > 0 && e2[t2 - 1] <= ` `; ) t2--;
|
|
13751
13751
|
return e2.slice(0, t2);
|
|
13752
|
-
}, m$
|
|
13752
|
+
}, m$c = (e2, t2) => e2.startsWith(t2), h$a = (e2) => {
|
|
13753
13753
|
let t2 = e2[0];
|
|
13754
13754
|
return (t2 === `"` || t2 === `'`) && e2.length >= 2 && e2[e2.length - 1] === t2 ? e2.slice(1, -1) : e2;
|
|
13755
13755
|
}, g$a = (e2) => e2 && e2.replace(G$2, `$1`), _$9 = (...e2) => e2.filter(Boolean).join(` `), v$8 = (e2, t2, n2) => {
|
|
@@ -13767,7 +13767,7 @@ const p$b = (e2) => {
|
|
|
13767
13767
|
}, S$4 = (e2) => {
|
|
13768
13768
|
let t2 = performance.now(), a2 = e2.replace(u$h, `
|
|
13769
13769
|
`).replace(p$c, ``).replace(z$2, ` `), o2 = performance.now() - t2;
|
|
13770
|
-
return o2 > n$
|
|
13770
|
+
return o2 > n$z && console.log(`normalizeWhitespace: ${o2.toFixed(3)}ms, source length: ${e2.length}`), a2;
|
|
13771
13771
|
}, C$5 = (e2, t2) => {
|
|
13772
13772
|
let n2 = performance.now();
|
|
13773
13773
|
if (!t2) return e2;
|
|
@@ -13785,7 +13785,7 @@ const p$b = (e2) => {
|
|
|
13785
13785
|
return a2 ? e3 : e3.startsWith(t2) ? e3.slice(t2.length) : e3;
|
|
13786
13786
|
}).join(`
|
|
13787
13787
|
`), u2 = performance.now() - n2;
|
|
13788
|
-
return u2 > n$
|
|
13788
|
+
return u2 > n$z && console.log(`trimLeadingWhitespaceOutsideFences: ${u2.toFixed(3)}ms, text length: ${e2.length}, lines count: ${i2.length}`), l2;
|
|
13789
13789
|
}, w$3 = (e2) => (e2.indexOf(`-`) !== -1 && e2.match(S$5) === null && (e2 = e2.replace(O$2, (e3, t2) => t2.toUpperCase())), e2), T$2 = (e2) => {
|
|
13790
13790
|
let t2 = performance.now(), n2 = [], i2 = ``, a2 = false, o2 = false, s2 = ``;
|
|
13791
13791
|
if (!e2) return n2;
|
|
@@ -13812,7 +13812,7 @@ const p$b = (e2) => {
|
|
|
13812
13812
|
}
|
|
13813
13813
|
}
|
|
13814
13814
|
let l2 = performance.now() - t2;
|
|
13815
|
-
return l2 > n$
|
|
13815
|
+
return l2 > n$z && console.log(`parseStyleAttribute: ${l2.toFixed(3)}ms, styleString length: ${e2.length}, styles count: ${n2.length}`), n2;
|
|
13816
13816
|
}, E$1 = (t2, n2, r2, i2) => n2 === `style` ? T$2(r2).reduce((e2, [n3, r3]) => {
|
|
13817
13817
|
let a2 = n3.replace(/(-[a-z])/g, (e3) => e3[1].toUpperCase());
|
|
13818
13818
|
return e2[a2] = i2(r3, t2, n3), e2;
|
|
@@ -13832,14 +13832,14 @@ const p$b = (e2) => {
|
|
|
13832
13832
|
c2 += e3;
|
|
13833
13833
|
}), l2(), n2.inTable = o2;
|
|
13834
13834
|
let u2 = performance.now() - a2;
|
|
13835
|
-
return u2 > n$
|
|
13835
|
+
return u2 > n$z && console.log(`parseTableRow: ${u2.toFixed(3)}ms, source length: ${e2.length}, cells count: ${s2.length}`), s2;
|
|
13836
13836
|
}, A = (e2, t2, n2) => {
|
|
13837
13837
|
let i2 = performance.now(), a2 = e2.trim().split(`
|
|
13838
13838
|
`), o2 = a2.map((e3) => k$3(e3, t2, n2, true)), s2 = performance.now() - i2;
|
|
13839
|
-
return s2 > n$
|
|
13839
|
+
return s2 > n$z && console.log(`parseTableCells: ${s2.toFixed(3)}ms, source length: ${e2.length}, rows count: ${a2.length}`), o2;
|
|
13840
13840
|
}, j = (e2, t2, n2) => {
|
|
13841
13841
|
if (Array.isArray(n2)) {
|
|
13842
|
-
for (let t3 = 0; t3 < n2.length; t3++) if (m$
|
|
13842
|
+
for (let t3 = 0; t3 < n2.length; t3++) if (m$c(e2, n2[t3])) return true;
|
|
13843
13843
|
return false;
|
|
13844
13844
|
}
|
|
13845
13845
|
return n2(e2, t2);
|
|
@@ -13849,14 +13849,14 @@ const p$b = (e2) => {
|
|
|
13849
13849
|
let s2 = e2(t2, n2);
|
|
13850
13850
|
n2.inline = a2, n2.simple = o2;
|
|
13851
13851
|
let c2 = performance.now() - i2;
|
|
13852
|
-
return c2 > n$
|
|
13852
|
+
return c2 > n$z && console.log(`parseInline: ${c2.toFixed(3)}ms, children length: ${t2.length}, result count: ${s2.length}`), s2;
|
|
13853
13853
|
}, R$1 = (e2, t2, n2) => {
|
|
13854
13854
|
let i2 = performance.now(), a2 = n2.inline ?? false, o2 = n2.simple ?? false;
|
|
13855
13855
|
n2.inline = false, n2.simple = true;
|
|
13856
13856
|
let s2 = e2(t2, n2);
|
|
13857
13857
|
n2.inline = a2, n2.simple = o2;
|
|
13858
13858
|
let c2 = performance.now() - i2;
|
|
13859
|
-
return c2 > n$
|
|
13859
|
+
return c2 > n$z && console.log(`parseSimpleInline: ${c2.toFixed(3)}ms, children length: ${t2.length}, result count: ${s2.length}`), s2;
|
|
13860
13860
|
}, z$1 = (e2, t2, n2 = {}) => {
|
|
13861
13861
|
let i2 = performance.now(), a2 = n2.inline || false;
|
|
13862
13862
|
n2.inline = false;
|
|
@@ -13867,7 +13867,7 @@ const p$b = (e2) => {
|
|
|
13867
13867
|
` : o2, n2);
|
|
13868
13868
|
n2.inline = a2;
|
|
13869
13869
|
let c2 = performance.now() - i2;
|
|
13870
|
-
return c2 > n$
|
|
13870
|
+
return c2 > n$z && console.log(`parseBlock: ${c2.toFixed(3)}ms, children length: ${t2.length}, result count: ${s2.length}`), s2;
|
|
13871
13871
|
}, B$3 = (e2, t2, n2) => ({ children: L$2(t2, e2[2], n2) }), V$1 = () => ({}), H$2 = () => null, U$2 = (e2, t2) => {
|
|
13872
13872
|
for (let n2 = 0; n2 < e2.length; n2++) if (e2[n2].test(t2)) return true;
|
|
13873
13873
|
return false;
|
|
@@ -13898,7 +13898,7 @@ const r$B = (r2) => {
|
|
|
13898
13898
|
let c2 = performance.now() - i3;
|
|
13899
13899
|
return c2 > 1 && console.log(`nestedParse: ${c2.toFixed(3)}ms, source length: ${e2.length}, result count: ${s3.length}`), s3;
|
|
13900
13900
|
}, s2 = performance.now() - i2;
|
|
13901
|
-
return s2 > n$
|
|
13901
|
+
return s2 > n$z && console.log(`parserFor: ${s2.toFixed(3)}ms, rules count: ${a2.length}`), (e2, n2) => o2(S$4(e2), n2);
|
|
13902
13902
|
};
|
|
13903
13903
|
const t$5 = (n2) => (r2, i2 = {}) => {
|
|
13904
13904
|
let a2 = performance.now(), o2 = (e2, r3 = {}) => t$5(n2)(e2, r3);
|
|
@@ -13910,13 +13910,13 @@ const t$5 = (n2) => (r2, i2 = {}) => {
|
|
|
13910
13910
|
}
|
|
13911
13911
|
i2.key = t2;
|
|
13912
13912
|
let l2 = performance.now() - a2;
|
|
13913
|
-
return l2 > n$
|
|
13913
|
+
return l2 > n$z && console.log(`renderFor (array): ${l2.toFixed(3)}ms, ast length: ${r2.length}`), n3;
|
|
13914
13914
|
}
|
|
13915
13915
|
let s2 = n2(r2, o2, i2), c2 = performance.now() - a2;
|
|
13916
|
-
return c2 > n$
|
|
13917
|
-
}, n$
|
|
13916
|
+
return c2 > n$z && console.log(`renderFor (single): ${c2.toFixed(3)}ms, ast type: ${r2.type}`), s2;
|
|
13917
|
+
}, n$y = (t2, n2) => (r2, i2, a2) => {
|
|
13918
13918
|
let o2 = performance.now(), s2 = t2[r2.type]?._render, c2 = n2 ? n2(() => s2?.(r2, i2, a2), r2, i2, a2) : s2?.(r2, i2, a2), l2 = performance.now() - o2;
|
|
13919
|
-
return l2 > n$
|
|
13919
|
+
return l2 > n$z && console.log(`createRenderer: ${l2.toFixed(3)}ms, ast type: ${r2.type}, hasUserRender: ${!!n2}`), c2;
|
|
13920
13920
|
};
|
|
13921
13921
|
const Ae = /^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/, je = RegExp(`^\\[((?:\\[[^\\[\\]]*(?:\\[[^\\[\\]]*\\][^\\[\\]]*)*\\]|[^\\[\\]])*)\\]\\(\\s*<?((?:\\([^)]*\\)|[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`), Me$1 = (e2, t2) => {
|
|
13922
13922
|
if (typeof e2 != `string`) return e2;
|
|
@@ -14020,7 +14020,7 @@ const Ae = /^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/, je = RegEx
|
|
|
14020
14020
|
return { target: `#${B2(e3[1])}`, text: e3[1] };
|
|
14021
14021
|
}, _render(t3, n2, r2 = {}) {
|
|
14022
14022
|
return e2(`a`, { key: r2.key, href: H2(t3.target, `a`, `href`) ?? void 0 }, e2(`sup`, { key: r2.key }, t3.text));
|
|
14023
|
-
} }, [e$3.gfmTask]: { _qualify: [`[ ]`, `[x]`], _match: N$1(h$
|
|
14023
|
+
} }, [e$3.gfmTask]: { _qualify: [`[ ]`, `[x]`], _match: N$1(h$b), _order: t$6.HIGH, _parse(e3) {
|
|
14024
14024
|
return { completed: e3[1].toLowerCase() === `x` };
|
|
14025
14025
|
}, _render(t3, n2, r2 = {}) {
|
|
14026
14026
|
return e2(`input`, { checked: t3.completed, key: r2.key, readOnly: true, type: `checkbox` });
|
|
@@ -14074,7 +14074,7 @@ const Ae = /^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/, je = RegEx
|
|
|
14074
14074
|
} }, [e$3.linkAngleBraceStyleDetector]: { _qualify: [`<`], _match: N$1(D$2), _order: t$6.MAX, _parse(e3) {
|
|
14075
14075
|
let t3 = e3[1], n2 = false;
|
|
14076
14076
|
return t3.indexOf(`@`) !== -1 && t3.indexOf(`//`) === -1 && (n2 = true, t3 = t3.replace(`mailto:`, ``)), { children: [{ text: t3, type: e$3.text }], target: n2 ? `mailto:${t3}` : t3, type: e$3.link };
|
|
14077
|
-
} }, [e$3.linkBareUrlDetector]: { _qualify: (e3, t3) => !!(t3.inline && !t3.inAnchor && !g2.disableAutoLink && (m$
|
|
14077
|
+
} }, [e$3.linkBareUrlDetector]: { _qualify: (e3, t3) => !!(t3.inline && !t3.inAnchor && !g2.disableAutoLink && (m$c(e3, `http://`) || m$c(e3, `https://`))), _match: N$1(E$2), _order: t$6.MAX, _parse(e3) {
|
|
14078
14078
|
return { children: [{ text: e3[1], type: e$3.text }], target: e3[1], type: e$3.link };
|
|
14079
14079
|
} }, [e$3.newlineCoalescer]: { _match: F$1(l$j), _order: t$6.LOW, _parse: V$1, _render() {
|
|
14080
14080
|
return `
|
|
@@ -14129,7 +14129,7 @@ const Ae = /^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/, je = RegEx
|
|
|
14129
14129
|
return a3 ? a3.reduce((t2, r3) => {
|
|
14130
14130
|
let a4 = r3.indexOf(`=`);
|
|
14131
14131
|
if (a4 !== -1) {
|
|
14132
|
-
let o3 = w$3(r3.slice(0, a4)).trim(), s3 = h$
|
|
14132
|
+
let o3 = w$3(r3.slice(0, a4)).trim(), s3 = h$a(r3.slice(a4 + 1).trim()), c2 = r$C[o3] ?? o3;
|
|
14133
14133
|
if (c2 === `ref`) return t2;
|
|
14134
14134
|
t2[c2] = E$1(n3, o3, s3, i2.sanitizer ?? x$4), typeof t2[c2] == `string` && (y$7.test(t2[c2]) || C$6.test(t2[c2])) && (t2[c2] = w2(t2[c2].trim()));
|
|
14135
14135
|
} else r3 !== `style` && (t2[r$C[r3] ?? r3] = true);
|
|
@@ -14138,8 +14138,8 @@ const Ae = /^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/, je = RegEx
|
|
|
14138
14138
|
}, h2 = [ie, o$w, s$r, a2.enforceAtxHeadings ? _$a : g$b, v$9, k$4, xe$1, Se$1, w$4], _2 = Pe$1(u2, i2, a2, d2, p2, m2, (e2) => {
|
|
14139
14139
|
let t2 = e2.replace(B$4, ``), n3 = t2.length > 2048 ? t2.slice(0, 2048) : t2;
|
|
14140
14140
|
return U$2(a2.disableParsingRawHTML ? h2 : [...h2, P$2, y$7, x$5, C$6, w$4], n3);
|
|
14141
|
-
}, h2), b2 = a2.disableParsingRawHTML ? Object.keys(_2).reduce((e2, t2) => (t2 !== e$3.htmlBlock && t2 !== e$3.htmlSelfClosing && (e2[t2] = _2[t2]), e2), {}) : _2, x2 = r$B(b2), C2 = t$5(n$
|
|
14142
|
-
let t2 = a2.preserveFrontmatter ? e2 : e2.replace(m$
|
|
14141
|
+
}, h2), b2 = a2.disableParsingRawHTML ? Object.keys(_2).reduce((e2, t2) => (t2 !== e$3.htmlBlock && t2 !== e$3.htmlSelfClosing && (e2[t2] = _2[t2]), e2), {}) : _2, x2 = r$B(b2), C2 = t$5(n$y(b2, a2.renderRule)), w2 = (e2) => {
|
|
14142
|
+
let t2 = a2.preserveFrontmatter ? e2 : e2.replace(m$d, ``), n3 = a2.forceInline || !a2.forceBlock && R$2.test(t2.replace(B$4, ``)) === false, r2 = C2(x2(n3 ? t2 : `${p$b(t2).replace(B$4, ``)}
|
|
14143
14143
|
|
|
14144
14144
|
`, { inline: n3 }), { inline: n3 });
|
|
14145
14145
|
for (; typeof r2[r2.length - 1] == `string` && !r2[r2.length - 1].trim(); ) r2.pop();
|
|
@@ -14173,7 +14173,7 @@ const a$p = (n2) => {
|
|
|
14173
14173
|
let { dictionaryKey: r2, keyPath: i2, children: a2, locale: o2, ...s2 } = n2, c2 = a$q()?.renderMarkdown ?? ((e2) => e2), l2 = i$t({ dictionaryKey: r2, keyPath: i2, children: a2 });
|
|
14174
14174
|
return c2(typeof l2 == `string` ? l2 : a2, s2);
|
|
14175
14175
|
}, o$v = ({ dictionaryKey: t2, keyPath: a2, children: o2, metadataKeyPath: s2 }) => {
|
|
14176
|
-
let c2 = i$t({ dictionaryKey: t2, keyPath: a2, children: o2 }), l2 = n$
|
|
14176
|
+
let c2 = i$t({ dictionaryKey: t2, keyPath: a2, children: o2 }), l2 = n$D();
|
|
14177
14177
|
return t$k(t$7(c2), s2, l2);
|
|
14178
14178
|
};
|
|
14179
14179
|
const t$4 = (n2) => {
|
|
@@ -14198,14 +14198,14 @@ const t$4 = (n2) => {
|
|
|
14198
14198
|
})(n2);
|
|
14199
14199
|
return reactExports.createElement(r2 ?? `span`, i2, ...i2.children);
|
|
14200
14200
|
};
|
|
14201
|
-
const p$a = { id: `intlayer-node-plugin`, canHandle: (e2) => typeof e2 == `bigint` || typeof e2 == `string` || typeof e2 == `number`, transform: (t2, { plugins: r2, ...i2 }) => r$E({ ...i2, value: i2.children, children: jsxRuntimeExports.jsx(a$s, { ...i2, children: i2.children }) }) }, m$
|
|
14201
|
+
const p$a = { id: `intlayer-node-plugin`, canHandle: (e2) => typeof e2 == `bigint` || typeof e2 == `string` || typeof e2 == `number`, transform: (t2, { plugins: r2, ...i2 }) => r$E({ ...i2, value: i2.children, children: jsxRuntimeExports.jsx(a$s, { ...i2, children: i2.children }) }) }, m$b = { id: `react-node-plugin`, canHandle: (e2) => typeof e2 == `object` && e2?.props !== void 0 && e2.key !== void 0, transform: (n2, { plugins: r2, ...i2 }) => r$E({ ...i2, value: `[[react-element]]`, children: jsxRuntimeExports.jsx(f$c, { ...i2, children: t$4(n2) }) }) }, h$9 = (e2, t2) => {
|
|
14202
14202
|
let n2 = t$8(e2, t2);
|
|
14203
14203
|
return n2.isSimple ? n2.parts : reactExports.createElement(reactExports.Fragment, null, ...n2.parts.map((e3, t3) => reactExports.createElement(reactExports.Fragment, { key: t3 }, e3)));
|
|
14204
14204
|
}, g$9 = { id: `insertion-plugin`, canHandle: (e2) => typeof e2 == `object` && e2?.nodeType === e$l.Insertion, transform: (e2, t2, n2) => {
|
|
14205
14205
|
let r2 = [...t2.keyPath, { type: e$l.Insertion }], i2 = e2[e$l.Insertion], a2 = { id: `insertion-string-plugin`, canHandle: (e3) => typeof e3 == `string`, transform: (e3, n3, r3) => {
|
|
14206
14206
|
let i3 = r3(e3, { ...n3, children: e3, plugins: [...(t2.plugins ?? []).filter((e4) => e4.id !== `intlayer-node-plugin`)] });
|
|
14207
14207
|
return (e4) => {
|
|
14208
|
-
let a3 = h$
|
|
14208
|
+
let a3 = h$9(i3, e4);
|
|
14209
14209
|
return r3(a3, { ...n3, plugins: t2.plugins, children: a3 });
|
|
14210
14210
|
};
|
|
14211
14211
|
} }, o2 = n2(i2, { ...t2, children: i2, keyPath: r2, plugins: [a2, ...t2.plugins ?? []] });
|
|
@@ -14227,7 +14227,7 @@ const p$a = { id: `intlayer-node-plugin`, canHandle: (e2) => typeof e2 == `bigin
|
|
|
14227
14227
|
return t3 === `value` ? n2 : t3 === `use` ? (e4) => o2(e4) : Reflect.get(e3, t3, r2);
|
|
14228
14228
|
} });
|
|
14229
14229
|
} };
|
|
14230
|
-
const o$u = (o2, s2, c2) => t$d(o2, s2, [p$a, m$
|
|
14230
|
+
const o$u = (o2, s2, c2) => t$d(o2, s2, [p$a, m$b, g$9, v$7, y$5, ...[]]);
|
|
14231
14231
|
const i$p = (i2, a2) => {
|
|
14232
14232
|
let { locale: o2 } = reactExports.useContext(d$e);
|
|
14233
14233
|
return reactExports.useMemo(() => o$u(i2, o2), [i2, o2, a2]);
|
|
@@ -19687,7 +19687,7 @@ const getDefaultConfig = () => {
|
|
|
19687
19687
|
};
|
|
19688
19688
|
};
|
|
19689
19689
|
const twMerge = /* @__PURE__ */ createTailwindMerge(getDefaultConfig);
|
|
19690
|
-
const n$
|
|
19690
|
+
const n$x = (...n2) => twMerge(clsx(n2));
|
|
19691
19691
|
const falsyToString = (value) => typeof value === "boolean" ? `${value}` : value === 0 ? "0" : value;
|
|
19692
19692
|
const cx = clsx;
|
|
19693
19693
|
const cva = (base, config2) => (props) => {
|
|
@@ -19750,9 +19750,9 @@ let i$n = (function(e2) {
|
|
|
19750
19750
|
(function(e2) {
|
|
19751
19751
|
return e2.NONE = `none`, e2.SM = `sm`, e2.MD = `md`, e2.LG = `lg`, e2.XL = `xl`, e2[`2xl`] = `2xl`, e2;
|
|
19752
19752
|
})({});
|
|
19753
|
-
const d$b = ({ children: t2, roundedSize: i2, padding: a2, transparency: o2, separator: s2, className: c2, border: l2, borderColor: u2, background: d2, gap: f2, ...p2 }) => jsxRuntimeExports.jsx(`div`, { className: n$
|
|
19754
|
-
const r$y = ({ className: r2, strokeWidth: i2 = 4 }) => jsxRuntimeExports.jsx(`svg`, { xmlns: `http://www.w3.org/2000/svg`, width: `44`, height: `44`, viewBox: `0 0 44 44`, stroke: `currentColor`, role: `img`, "aria-label": `Spinner`, className: n$
|
|
19755
|
-
const a$n = ({ children: a2, isLoading: o2 = true, keepChildren: s2 = false, className: c2, ...l2 }) => jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: o2 && s2 ? jsxRuntimeExports.jsxs(`div`, { className: `relative size-full`, children: [jsxRuntimeExports.jsx(`div`, { className: n$
|
|
19753
|
+
const d$b = ({ children: t2, roundedSize: i2, padding: a2, transparency: o2, separator: s2, className: c2, border: l2, borderColor: u2, background: d2, gap: f2, ...p2 }) => jsxRuntimeExports.jsx(`div`, { className: n$x(r$z({ roundedSize: i2, transparency: o2, padding: a2, separator: s2, border: typeof l2 == `boolean` ? l2 ? `with` : `none` : void 0, background: d2, borderColor: u2, gap: f2 }), c2), ...p2, children: t2 });
|
|
19754
|
+
const r$y = ({ className: r2, strokeWidth: i2 = 4 }) => jsxRuntimeExports.jsx(`svg`, { xmlns: `http://www.w3.org/2000/svg`, width: `44`, height: `44`, viewBox: `0 0 44 44`, stroke: `currentColor`, role: `img`, "aria-label": `Spinner`, className: n$x(`size-full`, r2), children: jsxRuntimeExports.jsxs(`g`, { fill: `none`, fillRule: `evenodd`, strokeWidth: i2, children: [jsxRuntimeExports.jsxs(`circle`, { cx: `22`, cy: `22`, r: `1`, children: [jsxRuntimeExports.jsx(`animate`, { attributeName: `r`, begin: `0s`, dur: `1.8s`, values: `1; 20`, calcMode: `spline`, keyTimes: `0; 1`, keySplines: `0.165, 0.84, 0.44, 1`, repeatCount: `indefinite` }), jsxRuntimeExports.jsx(`animate`, { attributeName: `stroke-opacity`, begin: `0s`, dur: `1.8s`, values: `1; 0`, calcMode: `spline`, keyTimes: `0; 1`, keySplines: `0.3, 0.61, 0.355, 1`, repeatCount: `indefinite` })] }), jsxRuntimeExports.jsxs(`circle`, { cx: `22`, cy: `22`, r: `1`, children: [jsxRuntimeExports.jsx(`animate`, { attributeName: `r`, begin: `-0.9s`, dur: `1.8s`, values: `1; 20`, calcMode: `spline`, keyTimes: `0; 1`, keySplines: `0.165, 0.84, 0.44, 1`, repeatCount: `indefinite` }), jsxRuntimeExports.jsx(`animate`, { attributeName: `stroke-opacity`, begin: `-0.9s`, dur: `1.8s`, values: `1; 0`, calcMode: `spline`, keyTimes: `0; 1`, keySplines: `0.3, 0.61, 0.355, 1`, repeatCount: `indefinite` })] })] }) });
|
|
19755
|
+
const a$n = ({ children: a2, isLoading: o2 = true, keepChildren: s2 = false, className: c2, ...l2 }) => jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: o2 && s2 ? jsxRuntimeExports.jsxs(`div`, { className: `relative size-full`, children: [jsxRuntimeExports.jsx(`div`, { className: n$x(`absolute top-0 left-0 flex size-full max-h-screen max-w-[100vw] flex-1 items-center justify-center`, c2), role: `status`, "aria-label": `Animated icon, meaning that the website is processing`, ...l2, children: jsxRuntimeExports.jsx(r$y, { className: `size-10 max-h-full max-w-full` }) }), a2] }) : o2 ? jsxRuntimeExports.jsx(`div`, { className: n$x(`flex size-full max-h-screen max-w-[100vw] flex-1 items-center justify-center`, c2), role: `status`, "aria-label": `Animated icon, meaning that the website is processing`, ...l2, children: jsxRuntimeExports.jsx(r$y, { className: `size-10 max-h-full max-w-full` }) }) : a2 ?? jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {}) });
|
|
19756
19756
|
let o$t = (function(e2) {
|
|
19757
19757
|
return e2.SM = `sm`, e2.MD = `md`, e2.LG = `lg`, e2.XL = `xl`, e2.ICON_SM = `icon-sm`, e2.ICON_MD = `icon-md`, e2.ICON_LG = `icon-lg`, e2.ICON_XL = `icon-xl`, e2;
|
|
19758
19758
|
})({});
|
|
@@ -19766,9 +19766,9 @@ let c$i = (function(e2) {
|
|
|
19766
19766
|
})({});
|
|
19767
19767
|
const d$a = cva(`relative inline-flex cursor-pointer items-center justify-center font-medium ring-0 transition-all duration-300 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50`, { variants: { size: { [`${o$t.SM}`]: `min-h-7 px-3 text-xs max-md:py-1`, [`${o$t.MD}`]: `min-h-8 px-6 text-sm max-md:py-2`, [`${o$t.LG}`]: `min-h-10 px-8 text-lg max-md:py-3`, [`${o$t.XL}`]: `min-h-11 px-10 text-xl max-md:py-4`, [`${o$t.ICON_SM}`]: `p-1.5`, [`${o$t.ICON_MD}`]: `p-1.5`, [`${o$t.ICON_LG}`]: `p-2`, [`${o$t.ICON_XL}`]: `p-3` }, color: { [`${l$h.PRIMARY}`]: `hover-primary-500/20 text-primary ring-primary-500/20 *:text-text-light`, [`${l$h.SECONDARY}`]: `hover-secondary-500/20 text-secondary ring-secondary-500/20 *:text-text-light`, [`${l$h.DESTRUCTIVE}`]: `hover-destructive-500/20 text-destructive ring-destructive-500/20 *:text-text-light`, [`${l$h.NEUTRAL}`]: `text-neutral ring-neutral-500/5 *:text-text-light`, [`${l$h.CARD}`]: `hover-card-500/20 text-card ring-card-500/20 *:text-text-light`, [`${l$h.LIGHT}`]: `hover-white-500/20 text-white ring-white/20 *:text-text-light`, [`${l$h.DARK}`]: `text-neutral-800 ring-text-light/50 *:text-text-light`, [`${l$h.TEXT}`]: `text-text ring-text/20 *:text-text-opposite`, [`${l$h.CURRENT}`]: `hover-current-500/10 text-current ring-current/10 *:text-text-light`, [`${l$h.TEXT_INVERSE}`]: `text-text-opposite ring-text-opposite/20 *:text-text`, [`${l$h.ERROR}`]: `hover-error-500/20 text-error ring-error/20 *:text-text-light`, [`${l$h.SUCCESS}`]: `hover-success-500/20 text-success ring-success/20 *:text-text-light`, [`${l$h.CUSTOM}`]: `` }, roundedSize: { [`${i$n.NONE}`]: `rounded-none`, [`${i$n.SM}`]: `rounded-lg [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-xl`, [`${i$n.MD}`]: `rounded-xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-2xl`, [`${i$n.LG}`]: `rounded-2xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-3xl`, [`${i$n.XL}`]: `rounded-3xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-4xl`, [`${i$n[`2xl`]}`]: `rounded-4xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-[2.5rem]`, [`${i$n[`3xl`]}`]: `rounded-[2.5rem] [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-[3rem]`, [`${i$n[`4xl`]}`]: `rounded-[3rem] [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-[4rem]`, [`${i$n[`5xl`]}`]: `rounded-[4rem] [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-[5rem]`, [`${i$n.FULL}`]: `rounded-full` }, variant: { [`${c$i.DEFAULT}`]: [`bg-current`, `hover:bg-current/90`, `hover:ring-5`, `aria-selected:ring-5`], [`${c$i.OUTLINE}`]: [`rounded-2xl border-[1.3px] border-current bg-current/0 *:text-current!`, `hover:bg-current/20 focus-visible:bg-current/20`, `hover:ring-5 focus-visible:ring-5`, `aria-selected:ring-5`], [`${c$i.NONE}`]: `border-none bg-current/0 text-inherit hover:bg-current/0`, [`${c$i.LINK}`]: `h-auto justify-start border-inherit bg-transparent px-1 underline-offset-4 *:text-current! hover:bg-transparent hover:underline`, [`${c$i.INVISIBLE_LINK}`]: `h-auto justify-start border-inherit bg-transparent px-1 underline-offset-4 *:text-current! hover:bg-transparent`, [`${c$i.HOVERABLE}`]: `rounded-lg border-none bg-current/0 transition *:text-current! hover:bg-current/20 aria-[current]:bg-current/5`, [`${c$i.FADE}`]: [`rounded-lg border-none bg-current/10 ring-current/5 transition *:text-current! hover:bg-current/20 aria-[current]:bg-current/5`, `hover:ring-5 focus-visible:ring-5`, `aria-selected:ring-5`], [`${c$i.INPUT}`]: [`text-text`, `w-full select-text resize-none rounded-2xl text-base shadow-none outline-none supports-[corner-shape:squircle]:rounded-4xl`, `transition-shadow duration-100 md:text-sm`, `ring-0`, `disabled:opacity-50`, `text-text`, `bg-neutral-50 dark:bg-neutral-950`, `ring-neutral-100 dark:ring-neutral-700`, `hover:ring-3`, `aria-selected:ring-4`, `focus-visible:ring-3`, `disabled:ring-0`, `focus-visible:outline-none`, `[box-shadow:none] focus:[box-shadow:none]`, `aria-invalid:border-error`] }, textAlign: { [`${u$g.LEFT}`]: `justify-start text-left`, [`${u$g.CENTER}`]: `justify-center text-center`, [`${u$g.RIGHT}`]: `justify-end text-right` }, isFullWidth: { true: `w-full`, false: `` } }, defaultVariants: { variant: `${c$i.DEFAULT}`, size: `${o$t.MD}`, color: `${l$h.CUSTOM}`, roundedSize: `${i$n.MD}`, textAlign: `${u$g.CENTER}`, isFullWidth: false } }), f$a = ({ variant: t2, size: r2, color: l2, children: f2, Icon: p2, IconRight: m2, iconClassName: h2, isLoading: g2 = false, isActive: _2, isSelected: v2, isFullWidth: y2, roundedSize: b2, textAlign: x2, disabled: S2, label: C2, className: w2, type: T2 = `button`, "aria-describedby": E2, "aria-expanded": D2, "aria-haspopup": O2, "aria-pressed": k2, ...A2 }) => {
|
|
19768
19768
|
let j2 = t2 === `${c$i.LINK}` || t2 === `${c$i.INVISIBLE_LINK}`, M2 = !f2 && (p2 || m2), N2 = { "aria-label": M2 ? C2 ?? void 0 : void 0, "aria-labelledby": void 0, "aria-describedby": E2, "aria-expanded": D2, "aria-haspopup": O2, "aria-pressed": _2 === void 0 ? k2 : _2, "aria-busy": g2, "aria-current": _2 ? `page` : void 0, "aria-disabled": S2 || g2, "aria-selected": v2 }, P2 = r2 === o$t.ICON_SM || r2 === o$t.ICON_MD || r2 === o$t.ICON_LG || r2 === o$t.ICON_XL;
|
|
19769
|
-
return jsxRuntimeExports.jsxs(`button`, { disabled: g2 || S2, role: j2 ? `link` : `button`, type: T2, className: d$a({ variant: t2, size: r2, color: l2, isFullWidth: y2, roundedSize: b2, textAlign: x2 ?? (m2 ? u$g.LEFT : u$g.CENTER), className: w2 }), ...N2, ...A2, children: [p2 && !g2 && jsxRuntimeExports.jsx(p2, { className: s$p({ size: r2, className: n$
|
|
19769
|
+
return jsxRuntimeExports.jsxs(`button`, { disabled: g2 || S2, role: j2 ? `link` : `button`, type: T2, className: d$a({ variant: t2, size: r2, color: l2, isFullWidth: y2, roundedSize: b2, textAlign: x2 ?? (m2 ? u$g.LEFT : u$g.CENTER), className: w2 }), ...N2, ...A2, children: [p2 && !g2 && jsxRuntimeExports.jsx(p2, { className: s$p({ size: r2, className: n$x(!P2 && `mr-3`, h2) }), "aria-hidden": `true` }), jsxRuntimeExports.jsx(`div`, { className: n$x(`flex items-center justify-center transition-[width] duration-300`, g2 && r2 === o$t.SM && `w-3`, g2 && r2 === o$t.MD && `w-4`, g2 && r2 === o$t.LG && `w-5`, g2 && r2 === o$t.XL && `w-6`), children: jsxRuntimeExports.jsx(a$n, { className: s$p({ size: r2, className: n$x(!P2 && `mr-3`, h2) }), isLoading: g2, "aria-hidden": `true`, "data-testid": `loader` }) }), f2 && jsxRuntimeExports.jsx(`span`, { className: `flex-1 truncate whitespace-nowrap`, children: f2 }), !f2 && M2 && jsxRuntimeExports.jsx(`span`, { className: `sr-only`, children: C2 }), m2 && jsxRuntimeExports.jsx(m2, { className: s$p({ size: r2, className: n$x(!P2 && `ml-3`, h2) }), "aria-hidden": `true` })] });
|
|
19770
19770
|
};
|
|
19771
|
-
const n$
|
|
19771
|
+
const n$w = ({ children: n2, isHidden: r2, className: i2 = ``, isOverable: a2 = false, isFocusable: o2 = false, minHeight: s2 = 0, ...c2 }) => jsxRuntimeExports.jsx(`div`, { "aria-hidden": o2 ? r2 : void 0, tabIndex: o2 ? 0 : void 0, role: o2 ? `button` : `none`, className: n$x(`group/height-smoother relative grid w-full grid-rows-[0fr] overflow-hidden transition-all duration-700 ease-in-out`, r2 !== void 0 && !r2 && `grid-rows-[1fr] overflow-x-auto`, a2 && `hover:grid-rows-[1fr] hover:overflow-x-auto`, o2 && `focus-within:grid-rows-[1fr] focus-within:overflow-x-auto focus:grid-rows-[1fr] focus:overflow-x-auto`, i2), ...c2, children: jsxRuntimeExports.jsx(`div`, { style: { minHeight: `${s2}px` }, className: n$x(a2 && `group-hover/height-smoother:visible`, o2 && `group-focus/height-smoother:visible`, i2), children: n2 }) });
|
|
19772
19772
|
const mergeClasses = (...classes) => classes.filter((className, index2, array2) => {
|
|
19773
19773
|
return Boolean(className) && className.trim() !== "" && array2.indexOf(className) === index2;
|
|
19774
19774
|
}).join(" ").trim();
|
|
@@ -20047,7 +20047,7 @@ const u$f = ({ children: u2, header: d2, isOpen: f2, defaultIsOpen: p2 = false,
|
|
|
20047
20047
|
};
|
|
20048
20048
|
return jsxRuntimeExports.jsxs(`div`, { className: `w-full`, children: [jsxRuntimeExports.jsx(f$a, { variant: c$i.HOVERABLE, color: l$h.TEXT, onClick: k2, onKeyDown: (e2) => {
|
|
20049
20049
|
(e2.key === `Enter` || e2.key === ` `) && (e2.preventDefault(), k2(e2));
|
|
20050
|
-
}, disabled: g2, isFullWidth: true, className: n$
|
|
20050
|
+
}, disabled: g2, isFullWidth: true, className: n$x(`flex items-center justify-between gap-2`, v2), IconRight: ChevronDown, iconClassName: n$x(`transform transition-transform duration-500 ease-in-out`, E2 ? `rotate-0` : `-rotate-180`), "aria-expanded": E2, "aria-controls": O2, "aria-label": b2, role: `button`, ...x2, children: d2 }), jsxRuntimeExports.jsx(n$w, { id: O2, tabIndex: D2 ? -1 : void 0, isHidden: D2, className: _2, role: `region`, "aria-labelledby": O2, children: u2 })] });
|
|
20051
20051
|
};
|
|
20052
20052
|
let i$m = (function(e2) {
|
|
20053
20053
|
return e2.PRIMARY = `primary`, e2.SECONDARY = `secondary`, e2.DESTRUCTIVE = `destructive`, e2.SUCCESS = `success`, e2.ERROR = `error`, e2.NEUTRAL = `neutral`, e2.LIGHT = `light`, e2.DARK = `dark`, e2.TEXT = `text`, e2.CUSTOM = `custom`, e2;
|
|
@@ -20056,13 +20056,13 @@ let i$m = (function(e2) {
|
|
|
20056
20056
|
})({}), o$s = (function(e2) {
|
|
20057
20057
|
return e2.SMALL = `sm`, e2.MEDIUM = `md`, e2.LARGE = `lg`, e2;
|
|
20058
20058
|
})({});
|
|
20059
|
-
const s$o = cva(`inline-flex items-center rounded-md border px-2.5 py-0.5 font-semibold text-xs transition-colors focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2`, { variants: { color: { [i$m.PRIMARY]: `border-primary bg-primary text-primary hover:bg-primary-500`, [i$m.SECONDARY]: `border-secondary bg-secondary text-secondary hover:bg-secondary-300`, [i$m.DESTRUCTIVE]: `border-destructive bg-destructive text-destructive hover:bg-destructive-500`, [i$m.SUCCESS]: `border-success bg-success text-success hover:bg-success-500`, [i$m.ERROR]: `border-error bg-error text-error hover:bg-error-500`, [i$m.NEUTRAL]: `border-neutral bg-neutral text-neutral hover:bg-neutral-600`, [i$m.LIGHT]: `border-white bg-white text-white hover:bg-neutral-500`, [i$m.DARK]: `border-neutral-800 bg-neutral-800 text-neutral-800 hover:bg-neutral-900`, [i$m.TEXT]: `border-text bg-text text-text hover:opacity-80`, [i$m.CUSTOM]: `` }, variant: { [a$m.DEFAULT]: `rounded-lg text-text-opposite`, [a$m.NONE]: `border-none bg-opacity-0 text-inherit hover:bg-opacity-0`, [a$m.OUTLINE]: `rounded-lg border-[1.3px] bg-opacity-0 hover:bg-opacity-30`, [a$m.HOVERABLE]: `rounded-lg border-none bg-opacity-0 transition hover:bg-opacity-10` }, size: { [o$s.SMALL]: `px-2 py-0.5 text-xs`, [o$s.MEDIUM]: `px-2.5 py-0.5 text-xs`, [o$s.LARGE]: `px-3 py-1 text-sm` } }, defaultVariants: { variant: a$m.DEFAULT, color: i$m.PRIMARY, size: o$s.MEDIUM } }), c$h = ({ className: t2, variant: c2 = a$m.DEFAULT, color: l2 = i$m.PRIMARY, size: u2 = o$s.MEDIUM, children: d2, clickable: f2 = false, dismissible: p2 = false, onClick: m2, onDismiss: h2, role: g2, tabIndex: _2, "aria-label": v2, ...y2 }) => {
|
|
20059
|
+
const s$o = cva(`inline-flex items-center rounded-md border px-2.5 py-0.5 font-semibold text-xs transition-colors focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2`, { variants: { color: { [`${i$m.PRIMARY}`]: `border-primary bg-primary text-primary hover:bg-primary-500`, [`${i$m.SECONDARY}`]: `border-secondary bg-secondary text-secondary hover:bg-secondary-300`, [`${i$m.DESTRUCTIVE}`]: `border-destructive bg-destructive text-destructive hover:bg-destructive-500`, [`${i$m.SUCCESS}`]: `border-success bg-success text-success hover:bg-success-500`, [`${i$m.ERROR}`]: `border-error bg-error text-error hover:bg-error-500`, [`${i$m.NEUTRAL}`]: `border-neutral bg-neutral text-neutral hover:bg-neutral-600`, [`${i$m.LIGHT}`]: `border-white bg-white text-white hover:bg-neutral-500`, [`${i$m.DARK}`]: `border-neutral-800 bg-neutral-800 text-neutral-800 hover:bg-neutral-900`, [`${i$m.TEXT}`]: `border-text bg-text text-text hover:opacity-80`, [`${i$m.CUSTOM}`]: `` }, variant: { [`${a$m.DEFAULT}`]: `rounded-lg text-text-opposite`, [`${a$m.NONE}`]: `border-none bg-opacity-0 text-inherit hover:bg-opacity-0`, [`${a$m.OUTLINE}`]: `rounded-lg border-[1.3px] bg-opacity-0 hover:bg-opacity-30`, [`${a$m.HOVERABLE}`]: `rounded-lg border-none bg-opacity-0 transition hover:bg-opacity-10` }, size: { [`${o$s.SMALL}`]: `px-2 py-0.5 text-xs`, [`${o$s.MEDIUM}`]: `px-2.5 py-0.5 text-xs`, [`${o$s.LARGE}`]: `px-3 py-1 text-sm` } }, defaultVariants: { variant: a$m.DEFAULT, color: i$m.PRIMARY, size: o$s.MEDIUM } }), c$h = ({ className: t2, variant: c2 = a$m.DEFAULT, color: l2 = i$m.PRIMARY, size: u2 = o$s.MEDIUM, children: d2, clickable: f2 = false, dismissible: p2 = false, onClick: m2, onDismiss: h2, role: g2, tabIndex: _2, "aria-label": v2, ...y2 }) => {
|
|
20060
20060
|
let b2 = f2 ? `button` : `span`, x2 = (e2) => {
|
|
20061
20061
|
f2 && m2 && (e2.key === `Enter` || e2.key === ` `) && (e2.preventDefault(), m2(e2));
|
|
20062
20062
|
}, S2 = (e2) => {
|
|
20063
20063
|
e2.stopPropagation(), h2?.();
|
|
20064
20064
|
};
|
|
20065
|
-
return jsxRuntimeExports.jsxs(b2, { className: n$
|
|
20065
|
+
return jsxRuntimeExports.jsxs(b2, { className: n$x(s$o({ variant: c2, color: l2, size: u2 }), f2 && `cursor-pointer hover:opacity-80 focus-visible:ring-2 focus-visible:ring-offset-2`, p2 && `pr-1`, t2), onClick: f2 ? m2 : void 0, onKeyDown: f2 ? x2 : void 0, role: g2 || (f2 ? `button` : `status`), tabIndex: f2 ? _2 ?? 0 : _2, "aria-label": v2 || (f2 ? `${d2} button` : void 0), ...y2, children: [d2, p2 && jsxRuntimeExports.jsx(`button`, { type: `button`, className: `ml-1 inline-flex h-4 w-4 items-center justify-center rounded-full hover:bg-black/10 focus:outline-none focus:ring-1 focus:ring-offset-1`, onClick: S2, "aria-label": `Remove ${d2} badge`, children: jsxRuntimeExports.jsxs(`svg`, { className: `size-3`, viewBox: `0 0 20 20`, fill: `currentColor`, "aria-label": `Remove badge`, children: [jsxRuntimeExports.jsx(`title`, { children: `Remove badge` }), jsxRuntimeExports.jsx(`path`, { fillRule: `evenodd`, d: `M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z`, clipRule: `evenodd` })] }) })] });
|
|
20066
20066
|
};
|
|
20067
20067
|
let c$g = (function(e2) {
|
|
20068
20068
|
return e2.DEFAULT = `default`, e2.INVISIBLE_LINK = `invisible-link`, e2.BUTTON = `button`, e2.BUTTON_OUTLINED = `button-outlined`, e2.HOVERABLE = `hoverable`, e2;
|
|
@@ -20075,12 +20075,12 @@ let c$g = (function(e2) {
|
|
|
20075
20075
|
})({}), f$9 = (function(e2) {
|
|
20076
20076
|
return e2.DEFAULT = `default`, e2.TRUE = `true`, e2.FALSE = `false`, e2;
|
|
20077
20077
|
})({});
|
|
20078
|
-
const p$9 = cva(`gap-3 transition-all duration-300 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50`, { variants: { variant: { [`${c$g.DEFAULT}`]: `h-auto justify-start border-inherit bg-current/0 px-1 decoration-1 underline-offset-
|
|
20078
|
+
const p$9 = cva(`gap-3 transition-all duration-300 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50`, { variants: { variant: { [`${c$g.DEFAULT}`]: `h-auto justify-start border-inherit bg-current/0 px-1 font-medium decoration-[1.5] underline-offset-5 hover:bg-current/0 hover:text-current/80 hover:underline hover:underline-offset-6`, [`${c$g.INVISIBLE_LINK}`]: `h-auto justify-start border-inherit bg-current/0 px-1 underline-offset-5 hover:bg-current/0`, [`${c$g.BUTTON}`]: `relative flex cursor-pointer flex-row items-center justify-center gap-2 rounded-full bg-current text-center font-medium text-text ring-0 *:text-text-opposite hover:bg-current/90 hover:ring-5 aria-selected:ring-5`, [`${c$g.BUTTON_OUTLINED}`]: `relative flex cursor-pointer flex-row items-center justify-center gap-2 rounded-full border-[1.3px] border-current text-center font-medium text-text ring-0 *:text-text hover:bg-current/20 hover:ring-5 aria-selected:ring-5`, [`${c$g.HOVERABLE}`]: `block rounded-lg border-none bg-current/0 hover:bg-current/10 aria-[current]:bg-current/5` }, roundedSize: { [`${u$e.NONE}`]: `rounded-none`, [`${u$e.SM}`]: `rounded-lg [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-xl`, [`${u$e.MD}`]: `rounded-xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-2xl`, [`${u$e.LG}`]: `rounded-2xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-3xl`, [`${u$e.XL}`]: `rounded-3xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-4xl`, [`${u$e.TWO_XL}`]: `rounded-4xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-[2.5rem]`, [`${u$e.THREE_XL}`]: `rounded-[2.5rem] [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-[3rem]`, [`${u$e.FULL}`]: `rounded-full` }, color: { [`${l$g.PRIMARY}`]: `text-primary`, [`${l$g.SECONDARY}`]: `text-secondary`, [`${l$g.DESTRUCTIVE}`]: `text-destructive`, [`${l$g.NEUTRAL}`]: `text-neutral`, [`${l$g.LIGHT}`]: `text-white`, [`${l$g.DARK}`]: `text-neutral-800`, [`${l$g.TEXT}`]: `text-text`, [`${l$g.TEXT_INVERSE}`]: `text-text-opposite`, [`${l$g.ERROR}`]: `text-error`, [`${l$g.SUCCESS}`]: `text-success`, [`${l$g.CUSTOM}`]: `` }, size: { [`${d$9.SM}`]: `text-sm`, [`${d$9.MD}`]: `text-base`, [`${d$9.LG}`]: `text-lg`, [`${d$9.XL}`]: `text-xl`, [`${d$9.CUSTOM}`]: `` }, underlined: { [f$9.DEFAULT]: ``, [f$9.TRUE]: `underline`, [f$9.FALSE]: `no-underline` } }, compoundVariants: [{ variant: c$g.BUTTON, color: l$g.TEXT_INVERSE, class: `*:text-text` }, { variant: c$g.BUTTON_OUTLINED, color: l$g.TEXT_INVERSE, class: `text-text-opposite *:text-text-opposite` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], size: d$9.SM, class: `min-h-7 px-3 max-md:py-1` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], size: d$9.MD, class: `min-h-8 px-6 max-md:py-2` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], size: d$9.LG, class: `min-h-10 px-8 max-md:py-3` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], size: d$9.XL, class: `min-h-11 px-10 max-md:py-4` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], color: l$g.PRIMARY, class: `ring-primary/20` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], color: l$g.SECONDARY, class: `ring-secondary/20` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], color: l$g.DESTRUCTIVE, class: `ring-destructive/20` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], color: l$g.NEUTRAL, class: `ring-neutral/20` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], color: l$g.LIGHT, class: `ring-white/20` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], color: l$g.DARK, class: `ring-neutral-800/20` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], color: l$g.TEXT, class: `ring-text/20` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], color: l$g.TEXT_INVERSE, class: `ring-text-opposite/20` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], color: l$g.ERROR, class: `ring-error/20` }, { variant: [c$g.BUTTON, c$g.BUTTON_OUTLINED], color: l$g.SUCCESS, class: `ring-success/20` }], defaultVariants: { variant: c$g.DEFAULT, roundedSize: u$e.MD, underlined: f$9.DEFAULT, size: d$9.MD } }), m$a = ({ href: e2, isExternalLink: t2 }) => {
|
|
20079
20079
|
let n2 = typeof e2 == `string` && e2.trim() !== ``;
|
|
20080
20080
|
return t2 === true || t2 === void 0 && n2 && /^https?:\/\//.test(e2);
|
|
20081
|
-
}, h$
|
|
20082
|
-
let { variant: i2 = c$g.DEFAULT, color: u2 = l$g.
|
|
20083
|
-
return jsxRuntimeExports.jsxs(`a`, { href: b2 && w2 && !E2 && !D2 ? c$r(w2, b2) : w2, "aria-label": g2, rel: A2, target: j2, "aria-current": v2 ? `page` : void 0, className: n$
|
|
20081
|
+
}, h$8 = (e2) => typeof e2 == `string` || typeof e2 == `number` ? true : Array.isArray(e2) ? e2.every(h$8) : reactExports.isValidElement(e2) ? h$8(e2.props.children) : false, g$8 = (r2) => {
|
|
20082
|
+
let { variant: i2 = c$g.DEFAULT, color: u2 = l$g.CUSTOM, roundedSize: d2, children: f2, label: g2, className: _2, isActive: v2, underlined: y2, locale: b2, size: x2, isExternalLink: S2, isPageSection: C2, href: w2, ...T2 } = r2, E2 = S2 ?? m$a(r2), D2 = C2 ?? w2?.startsWith(`#`) ?? false, O2 = h$8(f2), k2 = i2 === c$g.BUTTON || i2 === c$g.BUTTON_OUTLINED, A2 = E2 ? `noopener noreferrer nofollow` : void 0, j2 = E2 ? `_blank` : `_self`;
|
|
20083
|
+
return jsxRuntimeExports.jsxs(`a`, { href: b2 && w2 && !E2 && !D2 ? c$r(w2, b2) : w2, "aria-label": g2, rel: A2, target: j2, "aria-current": v2 ? `page` : void 0, className: n$x(p$9({ variant: i2, color: u2, roundedSize: d2, underlined: y2, size: x2, className: _2 })), ...T2, children: [k2 && O2 ? jsxRuntimeExports.jsx(`span`, { children: f2 }) : f2, E2 && O2 && jsxRuntimeExports.jsx(ExternalLink, { className: `ml-2 inline-block size-4` }), D2 && jsxRuntimeExports.jsx(MoveRight, { className: `ml-2 inline-block size-4` })] });
|
|
20084
20084
|
};
|
|
20085
20085
|
const key$i = "breadcrumb";
|
|
20086
20086
|
const content$i = { "nodeType": "translation", "translation": { "en": { "linkLabel": "Go to" }, "en-GB": { "linkLabel": "Go to" }, "fr": { "linkLabel": "Aller à" }, "es": { "linkLabel": "Ir a" }, "de": { "linkLabel": "Gehe zu" }, "ja": { "linkLabel": "に移動" }, "ko": { "linkLabel": "로 이동" }, "zh": { "linkLabel": "转到" }, "it": { "linkLabel": "Vai a" }, "pt": { "linkLabel": "Ir para" }, "hi": { "linkLabel": "कर जाएं" }, "ar": { "linkLabel": "اذهب إلى" }, "ru": { "linkLabel": "Перейти на" } } };
|
|
@@ -20090,7 +20090,7 @@ const _duYE5iNjRQYnPZLlbTEY = {
|
|
|
20090
20090
|
content: content$i,
|
|
20091
20091
|
localIds: localIds$i
|
|
20092
20092
|
};
|
|
20093
|
-
const m$
|
|
20093
|
+
const m$9 = (e2) => e2 && {
|
|
20094
20094
|
[l$g.PRIMARY]: `text-primary`,
|
|
20095
20095
|
[l$g.SECONDARY]: `text-secondary`,
|
|
20096
20096
|
[l$g.DESTRUCTIVE]: `text-destructive`,
|
|
@@ -20102,7 +20102,7 @@ const m$8 = (e2) => e2 && {
|
|
|
20102
20102
|
[l$g.ERROR]: `text-error`,
|
|
20103
20103
|
[l$g.SUCCESS]: `text-success`,
|
|
20104
20104
|
[l$g.CUSTOM]: ``
|
|
20105
|
-
}[e2] || ``, h$
|
|
20105
|
+
}[e2] || ``, h$7 = cva(`flex flex-row flex-wrap items-center text-sm`, {
|
|
20106
20106
|
variants: {
|
|
20107
20107
|
size: {
|
|
20108
20108
|
small: `gap-1 text-xs`,
|
|
@@ -20189,7 +20189,7 @@ const m$8 = (e2) => e2 && {
|
|
|
20189
20189
|
...i2
|
|
20190
20190
|
}) => jsxRuntimeExports.jsxs(`span`, {
|
|
20191
20191
|
itemProp: `item`,
|
|
20192
|
-
className: n$
|
|
20192
|
+
className: n$x(`inline-flex items-center`, `font-medium text-neutral-700`, `transition-colors duration-200`, r2),
|
|
20193
20193
|
children: [jsxRuntimeExports.jsx(`span`, {
|
|
20194
20194
|
itemProp: `name`,
|
|
20195
20195
|
...i2,
|
|
@@ -20218,7 +20218,7 @@ const m$8 = (e2) => e2 && {
|
|
|
20218
20218
|
return jsxRuntimeExports.jsx(`nav`, {
|
|
20219
20219
|
"aria-label": p2,
|
|
20220
20220
|
children: jsxRuntimeExports.jsx(`ol`, {
|
|
20221
|
-
className: n$
|
|
20221
|
+
className: n$x(h$7({
|
|
20222
20222
|
size: x2,
|
|
20223
20223
|
spacing: S2
|
|
20224
20224
|
}), n2),
|
|
@@ -20228,7 +20228,7 @@ const m$8 = (e2) => e2 && {
|
|
|
20228
20228
|
},
|
|
20229
20229
|
...C2,
|
|
20230
20230
|
children: w2.map((t3, n3) => {
|
|
20231
|
-
let i2 = n3 === w2.length - 1, a2 = typeof t3 == `object` && typeof t3.href == `string`, p3 = typeof t3 == `object` && typeof t3.onClick == `function`, h2 = n3 === w2.length - 1, b3 = h2 ? l2 : void 0, x3 = t3 === `...`, S3 = t3.text ?? t3, C3 = m$
|
|
20231
|
+
let i2 = n3 === w2.length - 1, a2 = typeof t3 == `object` && typeof t3.href == `string`, p3 = typeof t3 == `object` && typeof t3.onClick == `function`, h2 = n3 === w2.length - 1, b3 = h2 ? l2 : void 0, x3 = t3 === `...`, S3 = t3.text ?? t3, C3 = m$9(r2);
|
|
20232
20232
|
if (x3) return jsxRuntimeExports.jsxs(reactExports.Fragment, {
|
|
20233
20233
|
children: [jsxRuntimeExports.jsx(`li`, {
|
|
20234
20234
|
className: `flex items-center`,
|
|
@@ -20241,7 +20241,7 @@ const m$8 = (e2) => e2 && {
|
|
|
20241
20241
|
"aria-hidden": `true`,
|
|
20242
20242
|
className: `flex items-center`,
|
|
20243
20243
|
children: jsxRuntimeExports.jsx(`span`, {
|
|
20244
|
-
className: n$
|
|
20244
|
+
className: n$x(C3),
|
|
20245
20245
|
children: f2
|
|
20246
20246
|
})
|
|
20247
20247
|
})]
|
|
@@ -20249,7 +20249,7 @@ const m$8 = (e2) => e2 && {
|
|
|
20249
20249
|
let T2 = jsxRuntimeExports.jsx(v$6, {
|
|
20250
20250
|
position: n3 + 1,
|
|
20251
20251
|
"aria-current": b3,
|
|
20252
|
-
className: n$
|
|
20252
|
+
className: n$x(`transition-colors duration-200`, h2 && `text-neutral-900`),
|
|
20253
20253
|
children: S3
|
|
20254
20254
|
}, S3);
|
|
20255
20255
|
a2 ? T2 = jsxRuntimeExports.jsx(g$7, {
|
|
@@ -20258,14 +20258,14 @@ const m$8 = (e2) => e2 && {
|
|
|
20258
20258
|
position: n3 + 1,
|
|
20259
20259
|
locale: c2,
|
|
20260
20260
|
"aria-current": b3,
|
|
20261
|
-
className: n$
|
|
20261
|
+
className: n$x(h2 && `cursor-default text-neutral-900`),
|
|
20262
20262
|
children: S3
|
|
20263
20263
|
}, S3) : p3 && (T2 = jsxRuntimeExports.jsx(_$7, {
|
|
20264
20264
|
onClick: t3.onClick,
|
|
20265
20265
|
color: r2,
|
|
20266
20266
|
position: n3 + 1,
|
|
20267
20267
|
"aria-current": b3,
|
|
20268
|
-
className: n$
|
|
20268
|
+
className: n$x(h2 && `cursor-default text-neutral-900`),
|
|
20269
20269
|
children: S3
|
|
20270
20270
|
}, S3));
|
|
20271
20271
|
let E2 = reactExports.createElement(`li`, {
|
|
@@ -20282,7 +20282,7 @@ const m$8 = (e2) => e2 && {
|
|
|
20282
20282
|
"aria-hidden": `true`,
|
|
20283
20283
|
className: `flex items-center`,
|
|
20284
20284
|
children: jsxRuntimeExports.jsx(`span`, {
|
|
20285
|
-
className: n$
|
|
20285
|
+
className: n$x(C3),
|
|
20286
20286
|
children: f2
|
|
20287
20287
|
})
|
|
20288
20288
|
})]
|
|
@@ -20298,18 +20298,18 @@ const i$l = cva([`appearance-none`, `relative cursor-pointer border-2`, `focus:o
|
|
|
20298
20298
|
(function(e2) {
|
|
20299
20299
|
return e2.PRIMARY = `primary`, e2.SECONDARY = `secondary`, e2.DESTRUCTIVE = `destructive`, e2.NEUTRAL = `neutral`, e2.LIGHT = `light`, e2.TEXT = `text`, e2.DARK = `dark`, e2.ERROR = `error`, e2.SUCCESS = `success`, e2.CUSTOM = `custom`, e2;
|
|
20300
20300
|
})({});
|
|
20301
|
-
const s$n = ({ validationStyleEnabled: t2 = false, label: r2, size: a2, color: o2, name: s2, variant: c2, className: l2, labelClassName: u2, ...d2 }) => jsxRuntimeExports.jsx(`input`, { type: `checkbox`, className: n$
|
|
20301
|
+
const s$n = ({ validationStyleEnabled: t2 = false, label: r2, size: a2, color: o2, name: s2, variant: c2, className: l2, labelClassName: u2, ...d2 }) => jsxRuntimeExports.jsx(`input`, { type: `checkbox`, className: n$x(i$l({ variant: c2, size: a2, color: o2, validationStyleEnabled: t2 ? `enabled` : `disabled` }), l2), ...d2 }), c$f = (t2) => {
|
|
20302
20302
|
let { label: i2, name: a2, id: o2 } = t2;
|
|
20303
|
-
return i2 ? jsxRuntimeExports.jsxs(`label`, { htmlFor: o2 ?? a2, className: n$
|
|
20303
|
+
return i2 ? jsxRuntimeExports.jsxs(`label`, { htmlFor: o2 ?? a2, className: n$x(`flex w-full cursor-pointer items-center gap-x-4 font-medium text-sm`, t2.labelClassName), children: [jsxRuntimeExports.jsx(s$n, { id: o2 ?? a2, ...t2 }), i2] }) : jsxRuntimeExports.jsx(s$n, { id: o2 ?? a2, ...t2 });
|
|
20304
20304
|
};
|
|
20305
|
-
const n$
|
|
20305
|
+
const n$v = (...e2) => e2.filter(Boolean).join(` `), r$x = cva([`w-full select-text resize-none text-base shadow-none outline-none`, `transition-all duration-300 md:text-sm`, `ring-0`, `disabled:opacity-50`, `rounded-xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-2xl`].join(` `), { variants: { variant: { default: [`text-text`, `bg-neutral-50 dark:bg-neutral-950`, `ring-text/20`, `disabled:ring-0`, `hover:ring-3`, `focus-within:ring-4`, `focus-visible:outline-none focus-visible:ring-4`, `[box-shadow:none] focus:[box-shadow:none]`, `aria-invalid:border-error`].join(` `), invisible: `border-none text-inherit outline-none ring-0` }, size: { sm: `px-2 py-2 text-sm md:py-1.5 md:text-xs`, md: `px-2 py-3 md:py-2`, lg: `p-4` }, validationStyleEnabled: { disabled: ``, enabled: `valid:border-success invalid:border-error` } }, defaultVariants: { variant: `default`, size: `md`, validationStyleEnabled: `disabled` } });
|
|
20306
20306
|
let i$k = (function(e2) {
|
|
20307
20307
|
return e2.DEFAULT = `default`, e2.INVISIBLE = `invisible`, e2;
|
|
20308
20308
|
})({});
|
|
20309
20309
|
(function(e2) {
|
|
20310
20310
|
return e2.MD = `md`, e2.LG = `lg`, e2;
|
|
20311
20311
|
})({});
|
|
20312
|
-
const o$r = ({ validationStyleEnabled: e2 = false, variant: i2, size: a2, className: o2, ...s2 }) => jsxRuntimeExports.jsx(`input`, { className: n$
|
|
20312
|
+
const o$r = ({ validationStyleEnabled: e2 = false, variant: i2, size: a2, className: o2, ...s2 }) => jsxRuntimeExports.jsx(`input`, { className: n$v(r$x({ variant: i2, size: a2, validationStyleEnabled: e2 ? `enabled` : `disabled` }), o2), ...s2 });
|
|
20313
20313
|
const o$q = (o2) => {
|
|
20314
20314
|
let [s2, c2] = reactExports.useState(false), l2 = (e2) => {
|
|
20315
20315
|
e2.preventDefault(), e2.stopPropagation(), c2((e3) => !e3);
|
|
@@ -20322,12 +20322,12 @@ const f$8 = (e2) => [setTimeout(e2, 0), setTimeout(e2, 10), setTimeout(e2, 50)],
|
|
|
20322
20322
|
} catch {
|
|
20323
20323
|
console.error(`input-otp could not insert CSS rule:`, t2);
|
|
20324
20324
|
}
|
|
20325
|
-
}, m$
|
|
20325
|
+
}, m$8 = [`[data-lastpass-icon-root]`, `com-1password-button`, `[data-dashlanecreated]`, `[style$="2147483647 !important;"]`].join(`,`), h$6 = ({ containerRef: e2, inputRef: t2, pushPasswordManagerStrategy: n2, isFocused: r2 }) => {
|
|
20326
20326
|
let [i2, o2] = reactExports.useState(false), [c2, l2] = reactExports.useState(false), [u2, d2] = reactExports.useState(false), f2 = n2 === `none` ? false : (n2 === `increase-width` || n2 === `experimental-no-flickering`) && i2 && c2, p2 = () => {
|
|
20327
20327
|
let r3 = e2.current, i3 = t2.current;
|
|
20328
20328
|
if (!r3 || !i3 || u2 || n2 === `none`) return;
|
|
20329
20329
|
let a2 = r3, s2 = a2.getBoundingClientRect().left + a2.offsetWidth, c3 = a2.getBoundingClientRect().top + a2.offsetHeight / 2, l3 = s2 - 18, f3 = c3;
|
|
20330
|
-
document.querySelectorAll(m$
|
|
20330
|
+
document.querySelectorAll(m$8).length === 0 && document.elementFromPoint(l3, f3) === r3 || (o2(true), d2(true));
|
|
20331
20331
|
};
|
|
20332
20332
|
return reactExports.useEffect(() => {
|
|
20333
20333
|
let t3 = e2.current;
|
|
@@ -20440,7 +20440,7 @@ const f$8 = (e2) => [setTimeout(e2, 0), setTimeout(e2, 10), setTimeout(e2, 50)],
|
|
|
20440
20440
|
let e2 = R2 && W2 !== null ? W2 : null;
|
|
20441
20441
|
e2 !== K2.current && (K2.current = e2, y2?.(e2));
|
|
20442
20442
|
}, [R2, W2, y2]);
|
|
20443
|
-
let q2 = h$
|
|
20443
|
+
let q2 = h$6({ containerRef: N2, inputRef: M2, pushPasswordManagerStrategy: b2, isFocused: R2 }), J2 = (e2) => {
|
|
20444
20444
|
let t3 = e2.currentTarget.value.slice(0, r2);
|
|
20445
20445
|
if (t3.length > 0 && j2 && !j2.test(t3)) {
|
|
20446
20446
|
e2.preventDefault();
|
|
@@ -20493,17 +20493,17 @@ const f$8 = (e2) => [setTimeout(e2, 0), setTimeout(e2, 10), setTimeout(e2, 50)],
|
|
|
20493
20493
|
let i3 = O2[n3] !== void 0, a2 = n3, o2 = i3 ? n3 + 1 : n3;
|
|
20494
20494
|
t3.setSelectionRange(a2, o2), V2(a2), U2(o2), z2(true);
|
|
20495
20495
|
} }, te2 = w2 === void 0 ? jsxRuntimeExports.jsx(_$6.Provider, { value: $2, children: T2 }) : w2($2);
|
|
20496
|
-
return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [C2 !== null && jsxRuntimeExports.jsx(`noscript`, { children: jsxRuntimeExports.jsx(`style`, { children: C2 }) }), jsxRuntimeExports.jsxs(`div`, { ref: N2, className: n$
|
|
20497
|
-
}, b$2 = ({ className: t2, render: n2, ...r2 }) => jsxRuntimeExports.jsx(v$5, { containerClassName: `relative flex items-center gap-2 has-disabled:opacity-50`, className: n$
|
|
20496
|
+
return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [C2 !== null && jsxRuntimeExports.jsx(`noscript`, { children: jsxRuntimeExports.jsx(`style`, { children: C2 }) }), jsxRuntimeExports.jsxs(`div`, { ref: N2, className: n$x(`relative`, E2.disabled ? `cursor-default` : `cursor-text`, S2), children: [te2, jsxRuntimeExports.jsx(`div`, { className: `absolute inset-0`, children: Q2 })] })] });
|
|
20497
|
+
}, b$2 = ({ className: t2, render: n2, ...r2 }) => jsxRuntimeExports.jsx(v$5, { containerClassName: `relative flex items-center gap-2 has-disabled:opacity-50`, className: n$x(`disabled:cursor-not-allowed`, t2), render: n2, ...r2 }), x$3 = ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(`div`, { className: n$x(`z-10 flex items-center gap-3`, t2), ...n2 }), S$3 = ({ index: n2, className: r2, onClick: a2, onKeyDown: o2, ...s2 }) => {
|
|
20498
20498
|
let c2 = reactExports.useContext(_$6), { char: l2, isActive: d2 } = c2?.slots[n2] ?? {}, { setSelection: f2 } = c2 ?? {};
|
|
20499
|
-
return jsxRuntimeExports.jsx(f$a, { isSelected: d2, variant: `input`, color: `custom`, tabIndex: -1, className: n$
|
|
20499
|
+
return jsxRuntimeExports.jsx(f$a, { isSelected: d2, variant: `input`, color: `custom`, tabIndex: -1, className: n$x(`relative z-10 px-2!`, d2 && `ring-4!`, r2), onClick: (e2) => {
|
|
20500
20500
|
f2?.(n2), a2?.(e2);
|
|
20501
20501
|
}, onKeyDown: (e2) => {
|
|
20502
20502
|
(e2.key === `Enter` || e2.key === ` `) && (e2.preventDefault(), f2?.(n2)), o2?.(e2);
|
|
20503
20503
|
}, label: null, ...s2, children: jsxRuntimeExports.jsx(`span`, { className: `relative z-10 flex h-6 w-4 items-center justify-center`, children: l2 }) });
|
|
20504
20504
|
}, C$4 = (e2) => jsxRuntimeExports.jsx(`div`, { "aria-hidden": true, className: `z-0 table h-0.5 w-3 rounded-full bg-border text-text/50`, ...e2, children: jsxRuntimeExports.jsx(Minus, {}) }), w$2 = (e2) => jsxRuntimeExports.jsx(`div`, { "data-indicator": true, className: `absolute top-0 z-0 h-full w-auto rounded-xl bg-text/20 ring-4 ring-text/20 transition-[left,width] duration-300 ease-in-out [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-2xl motion-reduce:transition-none`, ...e2 });
|
|
20505
|
-
const a$l = ({ className: a2, ...o2 }) => jsxRuntimeExports.jsxs(`div`, { className: `relative flex w-full items-center gap-1`, children: [jsxRuntimeExports.jsx(Search, { className: `absolute left-2 size-4` }), jsxRuntimeExports.jsx(o$r, { ...o2, type: `search`, className: n$
|
|
20506
|
-
const n$
|
|
20505
|
+
const a$l = ({ className: a2, ...o2 }) => jsxRuntimeExports.jsxs(`div`, { className: `relative flex w-full items-center gap-1`, children: [jsxRuntimeExports.jsx(Search, { className: `absolute left-2 size-4` }), jsxRuntimeExports.jsx(o$r, { ...o2, type: `search`, className: n$x(`pl-8`, a2) })] });
|
|
20506
|
+
const n$u = (e2) => {
|
|
20507
20507
|
switch (e2) {
|
|
20508
20508
|
case `xs`:
|
|
20509
20509
|
return 480;
|
|
@@ -20535,7 +20535,7 @@ const n$v = (e2) => {
|
|
|
20535
20535
|
}, s$m = (e2) => {
|
|
20536
20536
|
if (!(typeof window > `u`)) return (window?.innerWidth ?? 0) <= e2;
|
|
20537
20537
|
}, c$e = (e2 = `md`) => {
|
|
20538
|
-
let t2 = n$
|
|
20538
|
+
let t2 = n$u(e2), i2 = r$w(), c2 = s$m(t2);
|
|
20539
20539
|
return { isMobileScreen: c2, isMobileUserAgent: i2, isMobile: c2 ?? i2, isIOS: a$k(), isMac: o$p() };
|
|
20540
20540
|
}, l$f = (n2 = `md`) => {
|
|
20541
20541
|
let [r2, i2] = reactExports.useState(c$e(n2));
|
|
@@ -20580,9 +20580,9 @@ const s$l = (e2) => e2.split(` + `).map((e3) => e3.trim()), c$d = (e2) => ({ "
|
|
|
20580
20580
|
let t2 = e2.toUpperCase(), n2 = c$d(e2);
|
|
20581
20581
|
return y2.has(e2) || y2.has(t2) || y2.has(n2) || e2 === `⌘` && y2.has(`Meta`) || e2 === `Ctrl` && y2.has(`Control`) || e2 === `⌥` && y2.has(`Alt`) || e2 === `Alt` && y2.has(`Alt`) || e2 === `←` && y2.has(`ArrowLeft`) || e2 === `→` && y2.has(`ArrowRight`) || e2 === `↑` && y2.has(`ArrowUp`) || e2 === `↓` && y2.has(`ArrowDown`);
|
|
20582
20582
|
};
|
|
20583
|
-
return jsxRuntimeExports.jsx(`kbd`, { className: n$
|
|
20583
|
+
return jsxRuntimeExports.jsx(`kbd`, { className: n$x(`inline-flex items-center justify-center gap-0.5 p-0.5`, `rounded-lg [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-xl`, `font-medium font-sans`, `border-1 border-neutral/20 text-neutral`, g2 === `sm` && `text-xs`, g2 === `md` && `text-sm`, g2 === `lg` && `text-base`, h2), children: v2.map((t2, n2) => {
|
|
20584
20584
|
let r2 = `${t2}-${n2}-${o2}`, s2 = u$d(t2);
|
|
20585
|
-
return jsxRuntimeExports.jsxs(`span`, { className: `inline-flex items-center`, children: [n2 > 0 && jsxRuntimeExports.jsx(`span`, { className: `text-neutral/50`, children: `+` }), jsxRuntimeExports.jsx(`span`, { className: n$
|
|
20585
|
+
return jsxRuntimeExports.jsxs(`span`, { className: `inline-flex items-center`, children: [n2 > 0 && jsxRuntimeExports.jsx(`span`, { className: `text-neutral/50`, children: `+` }), jsxRuntimeExports.jsx(`span`, { className: n$x(`min-w-4 px-0.5 text-center`, x2(t2) && `scale-120 font-bold text-text`), suppressHydrationWarning: true, children: s2 })] }, r2);
|
|
20586
20586
|
}) });
|
|
20587
20587
|
};
|
|
20588
20588
|
let r$v = (function(e2) {
|
|
@@ -20590,7 +20590,7 @@ let r$v = (function(e2) {
|
|
|
20590
20590
|
})({}), i$j = (function(e2) {
|
|
20591
20591
|
return e2.BELOW = `bellow`, e2.ABOVE = `above`, e2;
|
|
20592
20592
|
})({});
|
|
20593
|
-
const a$j = ({ children: t2, className: r2, identifier: i2, ...a2 }) => jsxRuntimeExports.jsx(`div`, { className: n$
|
|
20593
|
+
const a$j = ({ children: t2, className: r2, identifier: i2, ...a2 }) => jsxRuntimeExports.jsx(`div`, { className: n$x(`group/popover relative flex cursor-pointer`, r2), id: `unrollable-panel-button-${i2}`, "aria-haspopup": true, ...a2, children: t2 }), o$o = ({ children: a2, isHidden: o2 = void 0, isOverable: s2 = true, isFocusable: c2 = false, xAlign: l2 = r$v.START, yAlign: u2 = i$j.BELOW, identifier: d2, className: f2, displayArrow: p2 = true, ...m2 }) => jsxRuntimeExports.jsx(d$b, { transparency: `xs`, role: `group`, "aria-hidden": o2, "aria-labelledby": `unrollable-panel-button-${d2}`, id: `unrollable-panel-${d2}`, className: n$x(`absolute z-50 min-w-full rounded-md ring-1 ring-neutral`, l2 === `start` && `left-0`, l2 === `center` && `left-1/2 -translate-x-1/2`, l2 === `end` && `right-0`, u2 === `bellow` && `top-[calc(100%+1rem)]`, u2 === `above` && `bottom-[calc(100%+1rem)]`, p2 && `before:absolute before:z-[999] before:h-0 before:w-0 before:content-[""]`, p2 && l2 === `start` && `before:left-2`, p2 && l2 === `center` && `before:left-1/2 before:-translate-x-1/2`, p2 && l2 === `end` && `before:right-2`, p2 && u2 === `bellow` && `before:-top-[10px] before:border-r-[10px] before:border-r-transparent before:border-b-[10px] before:border-b-neutral before:border-l-[10px] before:border-l-transparent`, p2 && u2 === `above` && `before:-bottom-[10px] before:border-t-[10px] before:border-t-neutral before:border-r-[10px] before:border-r-transparent before:border-l-[10px] before:border-l-transparent`, `overflow-x-visible opacity-0 transition-all duration-400 ease-in-out`, o2 === false ? `visible opacity-100 delay-800` : `invisible`, s2 && `group-hover/popover:visible group-hover/popover:opacity-100 group-hover/popover:delay-800`, c2 && `group-focus-within/popover:visible group-focus-within/popover:opacity-100 group-focus-within/popover:delay-800`, f2), ...m2, children: a2 });
|
|
20594
20594
|
a$j.Detail = o$o;
|
|
20595
20595
|
const c$c = (e2) => jsxRuntimeExports.jsx(a$j, { ...e2 }), l$d = ({ xAlign: t2 = r$v.START, yAlign: c2 = i$j.BELOW, ...l2 }) => {
|
|
20596
20596
|
let u2 = reactExports.useRef(null), [d2, f2] = reactExports.useState(t2), [p2, m2] = reactExports.useState(c2), [h2, g2] = reactExports.useState(void 0);
|
|
@@ -22583,12 +22583,12 @@ var Portal$1 = DialogPortal;
|
|
|
22583
22583
|
var Overlay = DialogOverlay;
|
|
22584
22584
|
var Content$1 = DialogContent;
|
|
22585
22585
|
var U$1 = 1, Y$2 = 0.9, H$1 = 0.8, J$1 = 0.17, p$7 = 0.1, u$b = 0.999, $$1 = 0.9999;
|
|
22586
|
-
var k$2 = 0.99, m$
|
|
22586
|
+
var k$2 = 0.99, m$7 = /[\\\/_+.#"@\[\(\{&]/, B$2 = /[\\\/_+.#"@\[\(\{&]/g, K$2 = /[\s-]/, X$1 = /[\s-]/g;
|
|
22587
22587
|
function G$1(_2, C2, h2, P2, A2, f2, O2) {
|
|
22588
22588
|
if (f2 === C2.length) return A2 === _2.length ? U$1 : k$2;
|
|
22589
22589
|
var T2 = `${A2},${f2}`;
|
|
22590
22590
|
if (O2[T2] !== void 0) return O2[T2];
|
|
22591
|
-
for (var L2 = P2.charAt(f2), c2 = h2.indexOf(L2, A2), S2 = 0, E2, N2, R2, M2; c2 >= 0; ) E2 = G$1(_2, C2, h2, P2, c2 + 1, f2 + 1, O2), E2 > S2 && (c2 === A2 ? E2 *= U$1 : m$
|
|
22591
|
+
for (var L2 = P2.charAt(f2), c2 = h2.indexOf(L2, A2), S2 = 0, E2, N2, R2, M2; c2 >= 0; ) E2 = G$1(_2, C2, h2, P2, c2 + 1, f2 + 1, O2), E2 > S2 && (c2 === A2 ? E2 *= U$1 : m$7.test(_2.charAt(c2 - 1)) ? (E2 *= H$1, R2 = _2.slice(A2, c2 - 1).match(B$2), R2 && A2 > 0 && (E2 *= Math.pow(u$b, R2.length))) : K$2.test(_2.charAt(c2 - 1)) ? (E2 *= Y$2, M2 = _2.slice(A2, c2 - 1).match(X$1), M2 && A2 > 0 && (E2 *= Math.pow(u$b, M2.length))) : (E2 *= J$1, A2 > 0 && (E2 *= Math.pow(u$b, c2 - A2))), _2.charAt(c2) !== C2.charAt(f2) && (E2 *= $$1)), (E2 < p$7 && h2.charAt(c2 - 1) === P2.charAt(f2 + 1) || P2.charAt(f2 + 1) === P2.charAt(f2) && h2.charAt(c2 - 1) !== P2.charAt(f2)) && (N2 = G$1(_2, C2, h2, P2, c2 + 1, f2 + 2, O2), N2 * p$7 > E2 && (E2 = N2 * p$7)), E2 > S2 && (S2 = E2), c2 = h2.indexOf(L2, c2 + 1);
|
|
22592
22592
|
return O2[T2] = S2, S2;
|
|
22593
22593
|
}
|
|
22594
22594
|
function D(_2) {
|
|
@@ -22889,7 +22889,7 @@ function B$1({ asChild: r2, children: o2 }, n2) {
|
|
|
22889
22889
|
return r2 && reactExports.isValidElement(o2) ? reactExports.cloneElement(Me(o2), { ref: o2.ref }, n2(o2.props.children)) : n2(o2);
|
|
22890
22890
|
}
|
|
22891
22891
|
var Te$1 = { position: "absolute", width: "1px", height: "1px", padding: "0", margin: "-1px", overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0" };
|
|
22892
|
-
const s$k = ({ className: t2, ...r2 }) => jsxRuntimeExports.jsx(_e, { className: n$
|
|
22892
|
+
const s$k = ({ className: t2, ...r2 }) => jsxRuntimeExports.jsx(_e, { className: n$x(`flex flex-col overflow-hidden rounded-md`, t2), ...r2 }), l$c = ({ className: i2, ...a2 }) => jsxRuntimeExports.jsxs(`div`, { className: `flex w-full items-center`, "cmdk-input-wrapper": ``, children: [jsxRuntimeExports.jsx(Search, { className: `mr-2 size-4 shrink-0 opacity-50` }), jsxRuntimeExports.jsx(_e.Input, { className: n$x(`flex w-full rounded-md bg-transparent text-sm outline-hidden placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50`, i2), ...a2 })] }), u$a = ({ className: t2, ...r2 }) => jsxRuntimeExports.jsx(_e.List, { className: n$x(`max-h-[300px] overflow-y-auto overflow-x-hidden`, t2), ...r2 }), d$7 = (e2) => jsxRuntimeExports.jsx(_e.Empty, { className: `py-6 text-center text-sm`, ...e2 }), m$6 = ({ className: t2, ...r2 }) => jsxRuntimeExports.jsx(_e.Item, { className: n$x(`relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50`, t2), ...r2 }), g$5 = { ...s$k, Input: l$c, List: u$a, Empty: d$7, Item: m$6 };
|
|
22893
22893
|
const key$h = "copy-button";
|
|
22894
22894
|
const content$h = { "nodeType": "translation", "translation": { "en": { "label": "Copy content" }, "en-GB": { "label": "Copy content" }, "fr": { "label": "Copier le contenu" }, "es": { "label": "Copiar contenido" }, "de": { "label": "Inhalt kopieren" }, "ja": { "label": "コンテンツをコピー" }, "ko": { "label": "콘텐츠 복사" }, "zh": { "label": "复制内容" }, "it": { "label": "Copia contenuto" }, "pt": { "label": "Copiar conteúdo" }, "hi": { "label": "सामग्री कॉपी करें" }, "ar": { "label": "نسخ المحتوى" }, "ru": { "label": "Копировать содержимое" } } };
|
|
22895
22895
|
const localIds$h = ["copy-button::local::../@intlayer/design-system/dist/esm/components/CopyButton/CopyButton.content.mjs"];
|
|
@@ -22956,9 +22956,9 @@ const o$n = (e2, t2 = 2e3, n2, i2) => {
|
|
|
22956
22956
|
}, x2 = (e2) => {
|
|
22957
22957
|
h2 && e2.preventDefault(), g2 && e2.stopPropagation(), y2();
|
|
22958
22958
|
}, S2 = v2 ? u2 : l2, C2 = v2 ? CopyCheck : Copy;
|
|
22959
|
-
return jsxRuntimeExports.jsxs(`span`, { className: n$
|
|
22959
|
+
return jsxRuntimeExports.jsxs(`span`, { className: n$x(`inline-flex max-w-full cursor-pointer items-center gap-2 rounded-md p-0.5 hover:bg-neutral/10`, c2), onClick: x2, onKeyDown: b2, role: `button`, tabIndex: 0, "aria-label": S2, "aria-pressed": v2, "data-testid": `copy-to-clipboard`, children: [jsxRuntimeExports.jsx(`span`, { className: `min-w-0 break-all`, children: s2 }), r2 && jsxRuntimeExports.jsx(C2, { className: `ml-1 ml-auto shrink-0`, size: _2, "aria-hidden": `true` })] });
|
|
22960
22960
|
};
|
|
22961
|
-
const m$
|
|
22961
|
+
const m$5 = ({ value: m2 = ``, onCancel: h2, onSave: g2, onClick: _2, children: v2, isDisabled: y2, ...b2 }) => {
|
|
22962
22962
|
let [x2, S2] = reactExports.useState(false), C2 = reactExports.useRef(null), w2 = (e2) => {
|
|
22963
22963
|
e2.stopPropagation(), S2(false), g2();
|
|
22964
22964
|
}, T2 = (e2) => {
|
|
@@ -22969,19 +22969,19 @@ const m$4 = ({ value: m2 = ``, onCancel: h2, onSave: g2, onClick: _2, children:
|
|
|
22969
22969
|
}, [g2]);
|
|
22970
22970
|
return reactExports.useEffect(() => (x2 ? document.addEventListener(`click`, D2) : document.removeEventListener(`click`, D2), () => document.removeEventListener(`click`, D2)), [D2, x2]), jsxRuntimeExports.jsxs(`span`, { className: `group/editable-field flex gap-2`, role: `button`, tabIndex: 0, onClick: (e2) => {
|
|
22971
22971
|
S2(true), _2?.(e2);
|
|
22972
|
-
}, ref: C2, ...b2, children: [jsxRuntimeExports.jsxs(`div`, { className: n$
|
|
22972
|
+
}, ref: C2, ...b2, children: [jsxRuntimeExports.jsxs(`div`, { className: n$x(`flex flex-1 gap-2`, x2 ? `display` : `hidden`), children: [v2, jsxRuntimeExports.jsx(f$a, { label: `Save`, variant: c$i.HOVERABLE, size: o$t.ICON_SM, color: l$h.TEXT, Icon: Check, onClick: w2, disabled: y2, className: `!text-current`, role: `button`, tabIndex: 0, "aria-label": `Save changes`, "data-testid": `editable-field-save-button` }), jsxRuntimeExports.jsx(f$a, { label: `Cancel`, color: l$h.TEXT, variant: c$i.HOVERABLE, className: `!text-current`, size: o$t.ICON_SM, Icon: X$2, onClick: T2, disabled: y2, role: `button`, tabIndex: 0, "aria-label": `Cancel changes`, "data-testid": `editable-field-cancel-button` })] }, String(x2)), jsxRuntimeExports.jsxs(`div`, { className: n$x(`flex flex-1 gap-2`, x2 ? `hidden` : `display`), children: [jsxRuntimeExports.jsx(`span`, { className: `ml-2 flex w-full whitespace-pre-wrap p-1 text-sm leading-6`, children: E2 }), jsxRuntimeExports.jsx(f$a, { label: `Edit`, Icon: Pencil, color: l$h.TEXT, variant: c$i.HOVERABLE, size: o$t.ICON_SM, className: `!text-current invisible group-hover/editable-field:visible`, disabled: y2, onClick: (e2) => {
|
|
22973
22973
|
e2.stopPropagation(), S2(true);
|
|
22974
22974
|
} })] })] });
|
|
22975
22975
|
};
|
|
22976
22976
|
const o$m = ({ onSave: o2, onCancel: s2, ref: c2, ...l2 }) => {
|
|
22977
22977
|
let u2 = reactExports.useRef(null);
|
|
22978
|
-
return reactExports.useImperativeHandle(c2, () => u2.current), jsxRuntimeExports.jsx(m$
|
|
22978
|
+
return reactExports.useImperativeHandle(c2, () => u2.current), jsxRuntimeExports.jsx(m$5, { value: reactExports.useMemo(() => l2.value ?? u2.current?.value ?? l2.defaultValue, [l2.value, l2.defaultValue, u2.current?.value]), onCancel: () => {
|
|
22979
22979
|
u2.current && (u2.current.value = u2.current.defaultValue ?? ``), s2?.();
|
|
22980
22980
|
}, onSave: () => {
|
|
22981
22981
|
o2?.(u2.current?.value ?? ``);
|
|
22982
22982
|
}, children: jsxRuntimeExports.jsx(o$r, { ref: u2, ...l2 }) });
|
|
22983
22983
|
};
|
|
22984
|
-
const r$u = ({ className: r2, variant: i2, validationStyleEnabled: a2 = false, ...o2 }) => jsxRuntimeExports.jsx(`textarea`, { className: n$
|
|
22984
|
+
const r$u = ({ className: r2, variant: i2, validationStyleEnabled: a2 = false, ...o2 }) => jsxRuntimeExports.jsx(`textarea`, { className: n$x(`resize-none`, r$x({ variant: i2, validationStyleEnabled: a2 ? `enabled` : `disabled`, className: r2 })), ...o2 });
|
|
22985
22985
|
const o$l = ({ className: o2, autoSize: s2 = true, onChange: c2, maxRows: l2 = 999, ref: u2, ...d2 }) => {
|
|
22986
22986
|
let f2 = reactExports.useRef(null);
|
|
22987
22987
|
reactExports.useImperativeHandle(u2, () => f2.current);
|
|
@@ -22999,7 +22999,7 @@ const o$l = ({ className: o2, autoSize: s2 = true, onChange: c2, maxRows: l2 = 9
|
|
|
22999
22999
|
f2.current = e2, e2 && p2();
|
|
23000
23000
|
}, onChange: (e2) => {
|
|
23001
23001
|
c2?.(e2), p2();
|
|
23002
|
-
}, className: n$
|
|
23002
|
+
}, className: n$x(`overflow-y-auto`, s2 && `resize-none`, o2), ...d2 });
|
|
23003
23003
|
};
|
|
23004
23004
|
var Subscribable = class {
|
|
23005
23005
|
constructor() {
|
|
@@ -25691,13 +25691,13 @@ function useMutation(options, queryClient) {
|
|
|
25691
25691
|
}
|
|
25692
25692
|
const e$2 = { method: `GET`, headers: { "Content-Type": `application/json` }, credentials: `include` }, t$3 = (e2) => (Object.keys(e2).forEach((t2) => {
|
|
25693
25693
|
e2[t2] === void 0 && delete e2[t2];
|
|
25694
|
-
}), e2), n$
|
|
25694
|
+
}), e2), n$t = (e2) => e2.reduce((e3, n2) => {
|
|
25695
25695
|
let r2 = e3 ?? {}, i2 = t$3(n2 ?? {});
|
|
25696
25696
|
return typeof r2 == `object` && typeof i2 == `object` ? { ...r2, ...i2 } : i2 ?? r2;
|
|
25697
25697
|
}, {}), r$t = async (t2, ...r2) => {
|
|
25698
|
-
let { signal: i2 } = new AbortController(), a2 = ``, o2, s2 = n$
|
|
25698
|
+
let { signal: i2 } = new AbortController(), a2 = ``, o2, s2 = n$t([e$2, ...r2.map(({ body: e2, params: t3, headers: n2, ...r3 }) => r3)]), c2 = n$t([e$2.headers, ...r2.map((e2) => e2.headers)]), l2 = n$t(r2.map((e2) => e2.params)), u2 = s2.method;
|
|
25699
25699
|
if (u2 !== `GET` && u2 !== `HEAD`) {
|
|
25700
|
-
let e2 = n$
|
|
25700
|
+
let e2 = n$t(r2.map((e3) => e3.body));
|
|
25701
25701
|
o2 = c2?.[`Content-Type`] === `application/x-www-form-urlencoded` ? new URLSearchParams(e2).toString() : JSON.stringify(e2);
|
|
25702
25702
|
}
|
|
25703
25703
|
Object.entries(l2).length > 0 && (a2 = `?${new URLSearchParams(l2).toString()}`);
|
|
@@ -25708,7 +25708,7 @@ const e$2 = { method: `GET`, headers: { "Content-Type": `application/json` }, cr
|
|
|
25708
25708
|
}
|
|
25709
25709
|
return await p2.json();
|
|
25710
25710
|
};
|
|
25711
|
-
const n$
|
|
25711
|
+
const n$s = (n2 = {}, r2) => {
|
|
25712
25712
|
let i2 = r2?.editor?.backendURL ?? b$5?.editor?.backendURL;
|
|
25713
25713
|
if (!i2) throw Error(`Backend URL is not defined in the Intlayer configuration.`);
|
|
25714
25714
|
let a2 = `${i2}/api/ai`;
|
|
@@ -25753,12 +25753,6 @@ const n$t = (n2 = {}, r2) => {
|
|
|
25753
25753
|
}
|
|
25754
25754
|
}, autocomplete: async (t2, r3 = {}) => await r$t(`${a2}/autocomplete`, n2, r3, { method: `POST`, body: t2 }), getDiscussions: async (t2, r3 = {}) => await r$t(`${a2}/discussions`, n2, r3, { method: `GET`, params: t2 }) };
|
|
25755
25755
|
};
|
|
25756
|
-
const n$s = (n2 = {}, r2) => {
|
|
25757
|
-
let i2 = r2?.editor?.backendURL ?? b$5?.editor?.backendURL;
|
|
25758
|
-
if (!i2) throw Error(`Backend URL is not defined in the Intlayer configuration.`);
|
|
25759
|
-
let a2 = `${i2}/api/audit`;
|
|
25760
|
-
return { createAudit: async (t2, r3 = {}) => await r$t(`${a2}`, n2, r3, { method: `POST`, body: t2 }), getAudits: async (t2, r3 = {}) => await r$t(a2, n2, r3, { cache: `no-store`, params: t2 }), getAuditById: async (t2, r3 = {}) => await r$t(`${a2}/${String(t2)}`, n2, r3, { cache: `no-store` }) };
|
|
25761
|
-
};
|
|
25762
25756
|
const n$r = (n2 = {}, r2) => {
|
|
25763
25757
|
let i2 = r2?.editor?.backendURL ?? b$5?.editor?.backendURL;
|
|
25764
25758
|
if (!i2) throw Error(`Backend URL is not defined in the Intlayer configuration.`);
|
|
@@ -25836,7 +25830,7 @@ const n$f = (n2 = {}, r2) => {
|
|
|
25836
25830
|
let a2 = `${i2}/api/user`;
|
|
25837
25831
|
return { createUser: async (t2, r3 = {}) => await r$t(`${a2}/`, n2, r3, { method: `POST`, body: t2 }), getUsers: async (t2, r3 = {}) => await r$t(a2, n2, r3, { cache: `no-store`, params: t2 }), getUserById: async (t2, r3 = {}) => await r$t(`${a2}/${t2}`, n2, r3, { cache: `no-store` }), getUserByAccount: async (t2, r3, i3 = {}) => await r$t(`${a2}/account/${r3}/${t2}`, n2, i3, { cache: `no-store` }), getUserByEmail: async (t2, r3 = {}) => await r$t(`${a2}/email/${t2}`, n2, r3, { cache: `no-store` }), updateUser: async (t2, r3 = {}) => await r$t(`${a2}`, n2, r3, { method: `PUT`, body: t2 }), deleteUser: async (t2, r3 = {}) => await r$t(`${a2}/${t2}`, n2, r3, { method: `DELETE` }), getVerifyEmailStatusURL: (e2) => `${a2}/verify-email-status/${String(e2)}` };
|
|
25838
25832
|
};
|
|
25839
|
-
const
|
|
25833
|
+
const m$4 = (m2 = {}, h2) => ({ organization: n$k(m2, h2), project: n$j(m2, h2), user: n$f(m2, h2), oAuth: n$l(h2), dictionary: n$q(m2, h2), stripe: n$h(m2, h2), ai: n$s(m2, h2), tag: n$g(m2, h2), search: n$i(m2, h2), editor: n$p(m2, h2), newsletter: n$m(m2, h2), github: n$o(m2, h2), gitlab: n$n(m2, h2), bitbucket: n$r(m2, h2) });
|
|
25840
25834
|
const i$i = (i2) => {
|
|
25841
25835
|
let a2 = c$p(), o2 = i2 ?? a2 ?? b$5, { data: s2 } = useQuery({ queryKey: [`oAuth2AccessToken`], queryFn: n$l(o2).getOAuth2AccessToken, enabled: !!(o2.editor.clientId && o2.editor.clientSecret), staleTime: 0, gcTime: 0, refetchOnWindowFocus: false, refetchOnMount: false, refetchOnReconnect: false, refetchInterval: false, refetchIntervalInBackground: false });
|
|
25842
25836
|
return { oAuth2AccessToken: s2?.data };
|
|
@@ -31503,7 +31497,7 @@ const n$e = ({ session: n2, intlayerConfiguration: r2 } = {}) => {
|
|
|
31503
31497
|
};
|
|
31504
31498
|
const i$h = (e2) => {
|
|
31505
31499
|
let i2 = c$p(), { oAuth2AccessToken: a2 } = n$e();
|
|
31506
|
-
return
|
|
31500
|
+
return m$4({ ...a2 && { headers: { Authorization: `Bearer ${a2.accessToken}` } }, ...{} }, i2);
|
|
31507
31501
|
}, a$h = (t2) => {
|
|
31508
31502
|
let r2 = c$p();
|
|
31509
31503
|
return s$i(r2);
|
|
@@ -31585,7 +31579,7 @@ const l$a = (e2, t2) => {
|
|
|
31585
31579
|
};
|
|
31586
31580
|
const a$g = ({ onSave: a2, onCancel: o2, ref: s2, ...c2 }) => {
|
|
31587
31581
|
let l2 = reactExports.useRef(null);
|
|
31588
|
-
return reactExports.useImperativeHandle(s2, () => l2.current), jsxRuntimeExports.jsx(m$
|
|
31582
|
+
return reactExports.useImperativeHandle(s2, () => l2.current), jsxRuntimeExports.jsx(m$5, { value: c2.value ?? l2.current?.value ?? c2.defaultValue ?? ``, onCancel: () => {
|
|
31589
31583
|
l2.current && (l2.current.value = l2.current.defaultValue ?? ``), o2?.();
|
|
31590
31584
|
}, onSave: () => {
|
|
31591
31585
|
a2?.(l2.current?.value ?? ``);
|
|
@@ -31595,7 +31589,7 @@ const a$g = ({ onSave: a2, onCancel: o2, ref: s2, ...c2 }) => {
|
|
|
31595
31589
|
e2.preventDefault(), e2.stopPropagation();
|
|
31596
31590
|
}, ...c2 }) });
|
|
31597
31591
|
};
|
|
31598
|
-
const i$g = ({ level: i2, title: a2, description: o2, children: s2, rightParam: c2, isSelected: l2, ...u2 }) => jsxRuntimeExports.jsx(`div`, { className: n$
|
|
31592
|
+
const i$g = ({ level: i2, title: a2, description: o2, children: s2, rightParam: c2, isSelected: l2, ...u2 }) => jsxRuntimeExports.jsx(`div`, { className: n$x(`rounded-md p-2 transition`, `hover:bg-card/30 [&:has(.section:hover)]:bg-transparent`, i2 === 2 && `hover:bg-card/30`, i2 >= 3 && ``, l2 === true && `bg-card/40`), ...u2, children: jsxRuntimeExports.jsx(u$f, { isOpen: l2, label: a2, header: jsxRuntimeExports.jsxs(`div`, { className: `flex w-full`, children: [jsxRuntimeExports.jsxs(`div`, { className: `flex w-full items-center justify-between`, children: [jsxRuntimeExports.jsx(`span`, { className: n$x(i2 === 0 && `text-lg`, i2 === 1 && `text-md`, i2 === 2 && `text-md`, i2 >= 3 && `text-base`), children: a2 }), c2 && jsxRuntimeExports.jsx(`div`, { className: `flex w-auto items-center justify-between p-3`, children: c2 })] }), o2 && jsxRuntimeExports.jsx(`p`, { className: `pl-3 text-card text-sm`, children: o2 })] }), children: jsxRuntimeExports.jsx(`div`, { className: `size-full px-2`, children: s2 }) }) });
|
|
31599
31593
|
const a$f = (a2) => {
|
|
31600
31594
|
let { keyPath: o2, section: s2, onFocusKeyPath: c2, focusedKeyPath: l2 = [] } = a2;
|
|
31601
31595
|
return s2.map((s3, u2) => {
|
|
@@ -31620,10 +31614,10 @@ const s$g = (s2) => {
|
|
|
31620
31614
|
}) });
|
|
31621
31615
|
};
|
|
31622
31616
|
const o$j = ({ keyPath: o2, section: s2, editedContent: c2, editedContentValue: l2, onContentChange: u2, onFocusKeyPath: d2, renderSection: f2 }) => {
|
|
31623
|
-
let p2 = n$
|
|
31617
|
+
let p2 = n$D(), m2 = l2 ?? t$k(c2, o2, p2);
|
|
31624
31618
|
if (m2 && typeof m2 != `string`) return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: `Error loading section - Edited content Incoherence with the original content format` });
|
|
31625
31619
|
let h2 = o2.length, g2 = String(m2 ?? s2);
|
|
31626
|
-
return jsxRuntimeExports.jsx(`button`, { type: `button`, className: n$
|
|
31620
|
+
return jsxRuntimeExports.jsx(`button`, { type: `button`, className: n$x(`w-full rounded-md p-2 text-left transition`, `hover:bg-card/30 [&:has(.section:hover)]:bg-transparent`, h2 === 2 && `hover:bg-card/30`, h2 >= 3 && ``), onClick: (e2) => {
|
|
31627
31621
|
e2.stopPropagation(), d2(o2);
|
|
31628
31622
|
}, children: typeof f2 == `function` ? f2(g2) : jsxRuntimeExports.jsx(a$g, { "aria-label": `Editable field`, defaultValue: g2, onSave: (e2) => u2({ keyPath: o2, newValue: e2 }), onCancel: () => null }) });
|
|
31629
31623
|
};
|
|
@@ -31659,7 +31653,7 @@ const r$p = (r2) => {
|
|
|
31659
31653
|
return jsxRuntimeExports.jsx(v$4, { ...r2, keyPath: c2, section: l2 });
|
|
31660
31654
|
};
|
|
31661
31655
|
const _$5 = [`filePath`, `id`, `nodeType`], v$4 = reactExports.memo((u2) => {
|
|
31662
|
-
let _2 = n$
|
|
31656
|
+
let _2 = n$D(), v2 = reactExports.useMemo(() => t$k(u2.editedContent, u2.keyPath, _2) ?? u2.section, [u2.editedContent, u2.keyPath, u2.section]), y2 = reactExports.useMemo(() => i$u(v2), [v2]);
|
|
31663
31657
|
if (typeof v2 == `object`) return y2 === e$l.ReactNode ? jsxRuntimeExports.jsx(`span`, { className: `text-neutral text-xs`, children: `React node not editable` }) : y2 === e$l.Nested ? jsxRuntimeExports.jsx(`div`, { className: `ml-2 grid grid-cols-[auto,1fr] gap-2`, children: `[Nested] Dictionary` }) : y2 === e$l.Markdown ? jsxRuntimeExports.jsx(r$q, { ...u2, section: v2 }) : y2 === e$l.HTML ? jsxRuntimeExports.jsx(r$s, { ...u2, section: v2 }) : y2 === e$l.Translation ? jsxRuntimeExports.jsx(r$p, { ...u2, section: v2 }) : y2 === e$l.Enumeration ? jsxRuntimeExports.jsx(s$g, { ...u2, section: v2 }) : y2 === e$l.Condition ? jsxRuntimeExports.jsx(s$h, { ...u2, section: v2 }) : y2 === e$l.Insertion ? jsxRuntimeExports.jsx(r$r, { ...u2, section: v2 }) : y2 === e$l.Array ? jsxRuntimeExports.jsx(a$f, { ...u2, section: v2 }) : y2 === e$l.File ? jsxRuntimeExports.jsx(o$i, { ...u2, section: v2 }) : jsxRuntimeExports.jsx(l$9, { ...u2, section: v2 });
|
|
31664
31658
|
if (typeof v2 == `string`) return jsxRuntimeExports.jsx(o$j, { ...u2, section: v2 });
|
|
31665
31659
|
});
|
|
@@ -31669,7 +31663,7 @@ const a$e = ({ dictionary: a2, ...o2 }) => {
|
|
|
31669
31663
|
c2(a2.localId, e2.newValue, e2.keyPath);
|
|
31670
31664
|
}, onFocusKeyPath: u2 }) });
|
|
31671
31665
|
};
|
|
31672
|
-
const i$f = ({ children: t2, className: n2, identifier: i2, ...a2 }) => jsxRuntimeExports.jsx(`div`, { className: n$
|
|
31666
|
+
const i$f = ({ children: t2, className: n2, identifier: i2, ...a2 }) => jsxRuntimeExports.jsx(`div`, { className: n$x(`group/dropdown relative flex`, n2), "aria-label": `DropDown ${i2}`, id: `dropdown-container-${i2}`, ...a2, children: t2 }), a$d = ({ children: n2, identifier: i2, className: a2, label: o2, ...s2 }) => jsxRuntimeExports.jsx(f$a, { className: n$x([`w-full cursor-pointer`, `group-focus-within/dropdown:bg-current/20 group-focus-within/dropdown:ring-4`, a2]), label: o2 ?? `Open panel ${i2}`, "aria-haspopup": `true`, "aria-controls": `dropdown-panel-${i2}`, id: `dropdown-trigger-${i2}`, onClick: (e2) => {
|
|
31673
31667
|
e2.currentTarget.focus();
|
|
31674
31668
|
}, variant: `none`, ...s2, children: n2 });
|
|
31675
31669
|
let o$h = (function(e2) {
|
|
@@ -31677,7 +31671,7 @@ let o$h = (function(e2) {
|
|
|
31677
31671
|
})({}), s$f = (function(e2) {
|
|
31678
31672
|
return e2.BELOW = `below`, e2.ABOVE = `above`, e2;
|
|
31679
31673
|
})({});
|
|
31680
|
-
i$f.Trigger = a$d, i$f.Panel = ({ children: t2, isHidden: i2 = void 0, isOverable: a2 = false, isFocusable: c2 = false, align: l2 = o$h.START, yAlign: u2 = s$f.BELOW, identifier: d2, className: f2, ...p2 }) => jsxRuntimeExports.jsx(`div`, { className: n$
|
|
31674
|
+
i$f.Trigger = a$d, i$f.Panel = ({ children: t2, isHidden: i2 = void 0, isOverable: a2 = false, isFocusable: c2 = false, align: l2 = o$h.START, yAlign: u2 = s$f.BELOW, identifier: d2, className: f2, ...p2 }) => jsxRuntimeExports.jsx(`div`, { className: n$x(`absolute z-100 min-w-full`, l2 === o$h.START && `left-0`, l2 === o$h.END && `right-0`, u2 === s$f.BELOW && `top-[calc(100%+0.5rem)]`, u2 === s$f.ABOVE && `bottom-[calc(100%+0.5rem)]`, f2), "aria-hidden": i2, role: `region`, "aria-labelledby": `dropdown-trigger-${d2}`, id: `dropdown-panel-${d2}`, children: jsxRuntimeExports.jsx(n$w, { isHidden: i2, className: n$x(`overflow-x-visible`, i2 === false && `invisible`, i2 === true && `visible`, a2 && `group-hover/dropdown:visible group-hover/dropdown:grid-rows-[1fr]`, c2 && `group-focus-within/dropdown:visible group-focus-within/dropdown:grid-rows-[1fr]`), ...p2, children: t2 }) });
|
|
31681
31675
|
const r$o = (e2) => e2?.getAttribute(`aria-selected`) === `true`, i$e = (i2, { selector: a2 = r$o, isHoverable: o2 = false, orientation: s2 = `horizontal` } = { selector: r$o, isHoverable: false, orientation: `horizontal` }) => {
|
|
31682
31676
|
let [c2, l2] = reactExports.useState(null), [u2, d2] = reactExports.useState(null), f2 = reactExports.useRef(null), p2 = reactExports.useRef(null), m2 = i2.current.length, h2 = () => {
|
|
31683
31677
|
let e2 = null;
|
|
@@ -31757,10 +31751,10 @@ const p$6 = cva(`z-1 w-full flex-1 cursor-pointer font-medium text-sm transition
|
|
|
31757
31751
|
h2 !== void 0 && w2(h2);
|
|
31758
31752
|
}, [h2]), jsxRuntimeExports.jsx(`div`, { className: d$5({ color: v2, disabled: S2, className: b2 }), role: `tablist`, "aria-disabled": S2 ? `true` : void 0, children: jsxRuntimeExports.jsxs(`div`, { className: `relative flex size-full flex-row items-center justify-center`, children: [o2.map((t2, r2) => {
|
|
31759
31753
|
let { content: i2, value: a2, ...o3 } = t2, s2 = typeof a2 == `string` || typeof a2 == `number`, c2 = r2 === A2, l2 = r2 === j2;
|
|
31760
|
-
return reactExports.createElement(`button`, { ...o3, className: n$
|
|
31754
|
+
return reactExports.createElement(`button`, { ...o3, className: n$x(p$6({ size: y2 }), S2 && `cursor-not-allowed`), key: s2 ? a2 : r2, role: `tab`, onClick: () => M2(a2), "aria-selected": c2 ? `true` : void 0, "data-indicator": l2 ? `true` : void 0, disabled: S2 || c2, tabIndex: c2 ? 0 : -1, ref: (e2) => {
|
|
31761
31755
|
D2.current[r2] = e2;
|
|
31762
31756
|
}, onMouseEnter: () => !S2 && E2(r2), onMouseLeave: () => !S2 && E2(null) }, i2);
|
|
31763
|
-
}), k2 && jsxRuntimeExports.jsx(`div`, { className: n$
|
|
31757
|
+
}), k2 && jsxRuntimeExports.jsx(`div`, { className: n$x(m$3({ color: v2 })), style: k2, ref: O2 })] }) });
|
|
31764
31758
|
};
|
|
31765
31759
|
const i$d = (i2, a2) => {
|
|
31766
31760
|
let [o2, s2] = reactExports.useState(() => {
|
|
@@ -33280,8 +33274,8 @@ const O = `locale-switcher-content`, k = ({
|
|
|
33280
33274
|
})
|
|
33281
33275
|
});
|
|
33282
33276
|
};
|
|
33283
|
-
const r$n = ({ htmlFor: r2, required: i2 = false, disabled: a2 = false, className: o2, children: s2, ...c2 }) => jsxRuntimeExports.jsxs(`label`, { className: n$
|
|
33284
|
-
const n$d = `relative scroll-mb-8 scroll-mt-[30vh] scroll-p-8`, r$m = ({ className: n2, ...r2 }) => jsxRuntimeExports.jsx(`h1`, { className: n$
|
|
33277
|
+
const r$n = ({ htmlFor: r2, required: i2 = false, disabled: a2 = false, className: o2, children: s2, ...c2 }) => jsxRuntimeExports.jsxs(`label`, { className: n$x(`select-none font-medium text-sm leading-none`, `peer-disabled:cursor-not-allowed peer-disabled:opacity-70`, a2 && `cursor-not-allowed text-muted-foreground opacity-70`, o2), htmlFor: r2, ...c2, children: [s2, i2 && jsxRuntimeExports.jsx(`span`, { className: `ml-1 text-destructive`, "aria-label": `required`, title: `This field is required`, children: `*` })] });
|
|
33278
|
+
const n$d = `relative scroll-mb-8 scroll-mt-[30vh] scroll-p-8`, r$m = ({ className: n2, ...r2 }) => jsxRuntimeExports.jsx(`h1`, { className: n$x(`font-bold text-2xl`, n2), ...r2 }), i$c = ({ className: r2, ...i2 }) => jsxRuntimeExports.jsx(`h2`, { className: n$x(`mb-2 font-bold text-2xl`, n$d, r2), ...i2 }), a$b = ({ className: r2, ...i2 }) => jsxRuntimeExports.jsx(`h3`, { className: n$x(`mb-2 font-bold text-xl`, n$d, r2), ...i2 }), o$f = ({ className: r2, ...i2 }) => jsxRuntimeExports.jsx(`h4`, { className: n$x(`font-bold text-lg`, n$d, r2), ...i2 }), s$d = ({ className: r2, ...i2 }) => jsxRuntimeExports.jsx(`h5`, { className: n$x(`font-bold text-base`, n$d, r2), ...i2 }), c$a = ({ className: r2, ...i2 }) => jsxRuntimeExports.jsx(`h6`, { className: n$x(`ml-3 font-bold text-base`, n$d, r2), ...i2 }), l$7 = (e2) => String(e2).normalize(`NFD`).replace(/[\u0300-\u036f]/g, ``).replace(/\s+/g, `-`).toLowerCase(), u$6 = (e2) => {
|
|
33285
33279
|
let t2 = (document.getElementById(e2)?.getBoundingClientRect()?.top ?? 0) + window.scrollY - 150;
|
|
33286
33280
|
window.scrollTo({ top: t2, behavior: `smooth` });
|
|
33287
33281
|
}, d$4 = (e2, t2) => {
|
|
@@ -33295,7 +33289,7 @@ const n$d = `relative scroll-mb-8 scroll-mt-[30vh] scroll-p-8`, r$m = ({ classNa
|
|
|
33295
33289
|
let e3 = `${window.location.href.split(`#`)[0]}#${t2}`;
|
|
33296
33290
|
navigator.clipboard.writeText(e3), u$6(t2);
|
|
33297
33291
|
}
|
|
33298
|
-
} : void 0, "aria-label": a2 ? `Click to scroll to section ${s2} and copy the link to the clipboard` : void 0, className: n$
|
|
33292
|
+
} : void 0, "aria-label": a2 ? `Click to scroll to section ${s2} and copy the link to the clipboard` : void 0, className: n$x(a2 && `after:content-['#'] after:scale-75 after:px-6 after:text-neutral after:absolute after:top-0 after:h-full after:-left-12 after:absolute after:to-neutral after:md:opacity-0 after:transition-opacity hover:after:opacity-80 after:duration-200 after:delay-100`, i2), ...o2, children: r2 });
|
|
33299
33293
|
}, p$5 = ({ isClickable: e2, ...n2 }) => jsxRuntimeExports.jsx(r$m, { ...n2 }), m$2 = ({ isClickable: e2 = false, ...n2 }) => jsxRuntimeExports.jsx(f$5, { H: i$c, isClickable: e2, ...n2 }), h$4 = ({ isClickable: e2 = false, ...n2 }) => jsxRuntimeExports.jsx(f$5, { H: a$b, isClickable: e2, ...n2 }), g$4 = ({ isClickable: e2 = false, ...n2 }) => jsxRuntimeExports.jsx(f$5, { H: o$f, isClickable: e2, ...n2 }), _$4 = ({ isClickable: e2 = false, ...n2 }) => jsxRuntimeExports.jsx(f$5, { H: s$d, isClickable: e2, ...n2 }), v$3 = ({ isClickable: e2 = false, ...n2 }) => jsxRuntimeExports.jsx(f$5, { H: c$a, isClickable: e2, ...n2 });
|
|
33300
33294
|
const key$f = "expand-collapse";
|
|
33301
33295
|
const content$f = { "nodeType": "translation", "translation": { "en": { "expandCollapseContent": { "nodeType": "condition", "condition": { "true": "Show all", "false": "Show less" } } }, "en-GB": { "expandCollapseContent": { "nodeType": "condition", "condition": { "true": "Show all", "false": "Show less" } } }, "fr": { "expandCollapseContent": { "nodeType": "condition", "condition": { "true": "Afficher tout", "false": "Afficher moins" } } }, "es": { "expandCollapseContent": { "nodeType": "condition", "condition": { "true": "Mostrar todo", "false": "Mostrar menos" } } }, "de": { "expandCollapseContent": { "nodeType": "condition", "condition": { "true": "Mehr anzeigen", "false": "Weniger anzeigen" } } }, "ja": { "expandCollapseContent": { "nodeType": "condition", "condition": { "true": "すべて表示", "false": "表示を減らす" } } }, "ko": { "expandCollapseContent": { "nodeType": "condition", "condition": { "true": "모두 보기", "false": "간략히 보기" } } }, "zh": { "expandCollapseContent": { "nodeType": "condition", "condition": { "true": "显示全部", "false": "显示较少" } } }, "it": { "expandCollapseContent": { "nodeType": "condition", "condition": { "true": "Mostra tutto", "false": "Mostra meno" } } }, "pt": { "expandCollapseContent": { "nodeType": "condition", "condition": { "true": "Mostrar tudo", "false": "Mostrar menos" } } }, "hi": { "expandCollapseContent": { "nodeType": "condition", "condition": { "true": "सभी दिखाएँ", "false": "कम दिखाएँ" } } }, "ar": { "expandCollapseContent": { "nodeType": "condition", "condition": { "true": "عرض الكل", "false": "عرض أقل" } } }, "ru": { "expandCollapseContent": { "nodeType": "condition", "condition": { "true": "Показать все", "false": "Показать меньше" } } } } };
|
|
@@ -33316,28 +33310,28 @@ const c$9 = ({
|
|
|
33316
33310
|
} = i$p(_45YmjbWLtB85OKkfb0rA), v2 = f2 > l2;
|
|
33317
33311
|
return reactExports.useEffect(() => {
|
|
33318
33312
|
g2.current && p2(g2.current.clientHeight);
|
|
33319
|
-
}, []), c2 ? v2 ? jsxRuntimeExports.jsxs(n$
|
|
33313
|
+
}, []), c2 ? v2 ? jsxRuntimeExports.jsxs(n$w, {
|
|
33320
33314
|
isHidden: m2,
|
|
33321
33315
|
minHeight: l2,
|
|
33322
33316
|
className: `w-full overflow-x-auto overflow-y-hidden`,
|
|
33323
33317
|
children: [jsxRuntimeExports.jsx(`div`, {
|
|
33324
|
-
className: n$
|
|
33318
|
+
className: n$x(`grid w-full`, d2),
|
|
33325
33319
|
ref: g2,
|
|
33326
33320
|
children: u2
|
|
33327
33321
|
}), jsxRuntimeExports.jsx(`button`, {
|
|
33328
|
-
className: n$
|
|
33322
|
+
className: n$x(`absolute right-0 bottom-0 flex w-full cursor-pointer items-center justify-center rounded-t-2xl bg-gradient-to-t from-card/80 to-transparent px-3 py-0.5 text-md text-neutral-700 shadow-[0_0_10px_-15px_rgba(0,0,0,0.3)] backdrop-blur transition-all duration-300 hover:py-1 dark:text-neutral-400`, m2 ? `w-full` : `w-32`),
|
|
33329
33323
|
type: `button`,
|
|
33330
33324
|
onClick: () => h2((e2) => !e2),
|
|
33331
33325
|
children: _2(m2)
|
|
33332
33326
|
})]
|
|
33333
33327
|
}) : jsxRuntimeExports.jsx(`div`, {
|
|
33334
|
-
className: n$
|
|
33328
|
+
className: n$x(`grid w-full`, d2),
|
|
33335
33329
|
ref: g2,
|
|
33336
33330
|
children: u2
|
|
33337
33331
|
}) : u2;
|
|
33338
33332
|
};
|
|
33339
33333
|
const i$b = ({ children: e2 }) => jsxRuntimeExports.jsx(`div`, { className: `min-w-0 max-w-full overflow-x-auto`, children: jsxRuntimeExports.jsx(`pre`, { className: `min-w-0 max-w-full overflow-x-auto [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden`, children: jsxRuntimeExports.jsx(`code`, { children: typeof e2 == `string` ? e2.split(`
|
|
33340
|
-
`).map((e3, t2) => jsxRuntimeExports.jsx(`span`, { className: `line block w-full`, children: e3 }, `line-${t2}-${e3.slice(0, 10)}`)) : e2 }) }) }), a$a = reactExports.lazy(() => __vitePreload(() => import("./CodeBlockShiki-
|
|
33334
|
+
`).map((e3, t2) => jsxRuntimeExports.jsx(`span`, { className: `line block w-full`, children: e3 }, `line-${t2}-${e3.slice(0, 10)}`)) : e2 }) }) }), a$a = reactExports.lazy(() => __vitePreload(() => import("./CodeBlockShiki-BXrRHeYx.js"), true ? [] : void 0).then((e2) => ({ default: e2.CodeBlockShiki }))), o$e = ({ className: n2, onChange: o2, isEditable: s2, children: c2, lang: l2, isDarkMode: u2, ...d2 }) => jsxRuntimeExports.jsx(`div`, { className: n$x(`flex w-full min-w-0 max-w-full overflow-x-auto`, n2), ...d2, children: jsxRuntimeExports.jsx(reactExports.Suspense, { fallback: jsxRuntimeExports.jsx(i$b, { children: c2 }), children: jsxRuntimeExports.jsx(a$a, { lang: l2, isDarkMode: u2, children: c2 }) }) });
|
|
33341
33335
|
const g$3 = reactExports.createContext(null), _$3 = () => {
|
|
33342
33336
|
let e2 = reactExports.useContext(g$3);
|
|
33343
33337
|
if (!e2) throw Error(`useMultiSelect must be used within MultiSelectProvider`);
|
|
@@ -33391,25 +33385,25 @@ const g$3 = reactExports.createContext(null), _$3 = () => {
|
|
|
33391
33385
|
break;
|
|
33392
33386
|
}
|
|
33393
33387
|
}, [_2, y2, C2, a2]);
|
|
33394
|
-
return jsxRuntimeExports.jsx(g$3, { value: reactExports.useMemo(() => ({ value: _2, onValueChange: A2, open: x2, setOpen: S2, inputValue: y2, setInputValue: b2, activeIndex: C2, setActiveIndex: w2, ref: T2, handleSelect: j2 }), [_2, A2, x2, S2, y2, b2, C2, w2, T2, j2]), children: jsxRuntimeExports.jsx(s$k, { onKeyDown: M2, className: n$
|
|
33388
|
+
return jsxRuntimeExports.jsx(g$3, { value: reactExports.useMemo(() => ({ value: _2, onValueChange: A2, open: x2, setOpen: S2, inputValue: y2, setInputValue: b2, activeIndex: C2, setActiveIndex: w2, ref: T2, handleSelect: j2 }), [_2, A2, x2, S2, y2, b2, C2, w2, T2, j2]), children: jsxRuntimeExports.jsx(s$k, { onKeyDown: M2, className: n$x(`flex w-full flex-col gap-2 overflow-visible bg-transparent`, o2), dir: l2, ...h2, children: s2 }) });
|
|
33395
33389
|
}, y$3 = ({ className: r2, getBadgeValue: i2 = (e2) => e2, validationStyleEnabled: a2 = false, children: s2, ...l2 }) => {
|
|
33396
33390
|
let { value: u2, onValueChange: d2, activeIndex: f2 } = _$3(), p2 = reactExports.useCallback((e2) => {
|
|
33397
33391
|
e2.preventDefault(), e2.stopPropagation();
|
|
33398
33392
|
}, []);
|
|
33399
|
-
return jsxRuntimeExports.jsxs(`div`, { className: n$
|
|
33393
|
+
return jsxRuntimeExports.jsxs(`div`, { className: n$x(`flex w-full flex-col gap-3`, `cursor-pointer select-text text-base shadow-none outline-none md:text-sm`, `rounded-xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-2xl`, `px-2 py-3 md:py-2`, `bg-neutral-50 dark:bg-neutral-950`, `text-text`, `ring-0`, `focus-within:outline-none`, `focus-within:ring-3`, `focus-within:ring-neutral-200`, `dark:focus-within:ring-neutral-500`, `focus-within:ring-offset-white`, `dark:focus-within:ring-offset-neutral-500`, `[box-shadow:none]`, `disabled:cursor-not-allowed disabled:opacity-50`, `aria-invalid:border-error`, a2 && `valid:border-success invalid:border-error`, r2), ...l2, children: [u2.length > 0 && jsxRuntimeExports.jsx(`div`, { className: `flex w-full flex-wrap gap-1`, children: u2.map((r3, a3) => jsxRuntimeExports.jsxs(c$h, { className: n$x(`flex items-center gap-1 rounded-xl px-1`, f2 === a3 && `ring-2 ring-muted-foreground`), color: i$m.TEXT, children: [jsxRuntimeExports.jsx(`span`, { className: `text-xs`, children: i2(r3) }), jsxRuntimeExports.jsxs(`button`, { "aria-label": `Remove ${r3} option`, "aria-roledescription": `button to remove option`, onMouseDown: p2, onClick: () => d2(r3), children: [jsxRuntimeExports.jsxs(`span`, { className: `sr-only`, children: [`Remove `, r3, ` option`] }), jsxRuntimeExports.jsx(X$2, { className: `size-4 cursor-pointer` })] })] }, r3)) }), s2] });
|
|
33400
33394
|
}, b$1 = ({ className: t2, ...n2 }) => {
|
|
33401
33395
|
let { setOpen: i2, inputValue: a2, setInputValue: o2, activeIndex: s2, setActiveIndex: c2, handleSelect: l2, ref: u2 } = _$3();
|
|
33402
|
-
return jsxRuntimeExports.jsx(g$5.Input, { ...n2, tabIndex: 0, ref: u2, value: a2, onValueChange: s2 === -1 ? o2 : void 0, onSelect: l2, onBlur: () => i2(false), onFocus: () => i2(true), onClick: () => c2(-1), className: n$
|
|
33396
|
+
return jsxRuntimeExports.jsx(g$5.Input, { ...n2, tabIndex: 0, ref: u2, value: a2, onValueChange: s2 === -1 ? o2 : void 0, onSelect: l2, onBlur: () => i2(false), onFocus: () => i2(true), onClick: () => c2(-1), className: n$x(`ml-2 flex-1 cursor-pointer outline-hidden`, t2, s2 !== -1 && `caret-transparent`) });
|
|
33403
33397
|
}, x$2 = ({ children: e2 }) => {
|
|
33404
33398
|
let { open: t2 } = _$3();
|
|
33405
33399
|
return jsxRuntimeExports.jsx(`div`, { className: `relative`, children: t2 && e2 });
|
|
33406
|
-
}, S$2 = ({ className: t2, children: n2 }) => jsxRuntimeExports.jsxs(g$5.List, { className: n$
|
|
33400
|
+
}, S$2 = ({ className: t2, children: n2 }) => jsxRuntimeExports.jsxs(g$5.List, { className: n$x(`absolute top-0 z-10 flex w-full flex-col gap-2`, `rounded-xl p-2 shadow-md`, `bg-white dark:bg-neutral-950`, `text-text`, `border border-neutral-200 dark:border-neutral-800`, `transition-colors`, t2), children: [n2, jsxRuntimeExports.jsx(g$5.Empty, { children: jsxRuntimeExports.jsx(`span`, { className: `text-muted-foreground`, children: `No results found` }) })] }), C$3 = ({ className: t2, value: n2, children: i2, ...o2 }) => {
|
|
33407
33401
|
let { value: s2, onValueChange: l2, setInputValue: u2 } = _$3(), d2 = reactExports.useCallback((e2) => {
|
|
33408
33402
|
e2.preventDefault(), e2.stopPropagation();
|
|
33409
33403
|
}, []), f2 = s2.includes(n2);
|
|
33410
33404
|
return jsxRuntimeExports.jsxs(g$5.Item, { ...o2, onSelect: () => {
|
|
33411
33405
|
l2(n2), u2(``);
|
|
33412
|
-
}, className: n$
|
|
33406
|
+
}, className: n$x(`flex cursor-pointer justify-between`, `rounded-lg px-2 py-1`, `transition-colors`, `hover:bg-neutral/10`, f2 && `opacity-50`, o2.disabled && `cursor-not-allowed opacity-50`, t2), onMouseDown: d2, children: [i2, f2 && jsxRuntimeExports.jsx(Check, { className: `size-4` })] });
|
|
33413
33407
|
}, w$1 = v$2;
|
|
33414
33408
|
w$1.Trigger = y$3, w$1.Input = b$1, w$1.Content = x$2, w$1.List = S$2, w$1.Item = C$3;
|
|
33415
33409
|
function clamp$2(value, [min2, max2]) {
|
|
@@ -36855,7 +36849,7 @@ var Separator = SelectSeparator;
|
|
|
36855
36849
|
let c$8 = (function(e2) {
|
|
36856
36850
|
return e2.POPPER = `popper`, e2.ITEM_ALIGNED = `item-aligned`, e2;
|
|
36857
36851
|
})({});
|
|
36858
|
-
const l$6 = Root2$1, u$5 = Group, d$3 = Value, f$4 = ({ validationStyleEnabled: t2 = false, className: n2, children: r2, ...c2 }) => jsxRuntimeExports.jsxs(Trigger, { className: n$
|
|
36852
|
+
const l$6 = Root2$1, u$5 = Group, d$3 = Value, f$4 = ({ validationStyleEnabled: t2 = false, className: n2, children: r2, ...c2 }) => jsxRuntimeExports.jsxs(Trigger, { className: n$x(`flex w-full cursor-pointer items-center justify-between whitespace-nowrap`, `select-text text-base shadow-none outline-none md:text-sm`, `rounded-xl [corner-shape:squircle] supports-[corner-shape:squircle]:rounded-2xl`, `px-2 py-3 md:py-2`, `bg-neutral-50 dark:bg-neutral-950`, `text-text`, `ring-0`, `focus-visible:outline-none`, `focus-visible:ring-3`, `focus-visible:ring-neutral-200`, `dark:focus-visible:ring-neutral-500`, `focus-visible:ring-offset-white`, `dark:focus-visible:ring-offset-neutral-500`, `[box-shadow:none] focus:[box-shadow:none]`, `disabled:cursor-not-allowed disabled:opacity-50`, `aria-invalid:border-error`, `[&>span]:line-clamp-1`, t2 && `valid:border-success invalid:border-error`, n2), ...c2, children: [r2, jsxRuntimeExports.jsx(Icon, { asChild: true, children: jsxRuntimeExports.jsx(ChevronsUpDown, { className: `size-4 opacity-50` }) })] }), p$4 = ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(ScrollUpButton, { className: n$x(`flex cursor-default items-center justify-center py-1`, t2), ...n2, children: jsxRuntimeExports.jsx(ChevronUp, {}) }), m$1 = ({ className: t2, ...r2 }) => jsxRuntimeExports.jsx(ScrollDownButton, { className: n$x(`flex cursor-default items-center justify-center py-1`, t2), ...r2, children: jsxRuntimeExports.jsx(ChevronDown, {}) }), h$3 = ({ className: t2, children: n2, position: r2 = c$8.POPPER, ...i2 }) => jsxRuntimeExports.jsx(Portal, { children: jsxRuntimeExports.jsxs(Content2, { className: n$x(`relative z-50 max-h-96 min-w-32 overflow-hidden`, `rounded-xl shadow-md`, `bg-white dark:bg-neutral-950`, `text-text`, `border border-neutral-200 dark:border-neutral-800`, `data-[state=closed]:animate-out data-[state=open]:animate-in`, `data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0`, `data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95`, `data-[side=bottom]:slide-in-from-top-2`, `data-[side=left]:slide-in-from-right-2`, `data-[side=right]:slide-in-from-left-2`, `data-[side=top]:slide-in-from-bottom-2`, r2 === `popper` && `data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=bottom]:translate-y-1 data-[side=top]:-translate-y-1`, t2), position: r2, ...i2, children: [jsxRuntimeExports.jsx(p$4, {}), jsxRuntimeExports.jsx(Viewport$1, { className: n$x(`p-1`, r2 === `popper` && `h-(--radix-select-trigger-height) w-full min-w-(--radix-select-trigger-width)`), children: n2 }), jsxRuntimeExports.jsx(m$1, {})] }) }), g$2 = ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(Label, { className: n$x(`px-1 py-0.5 font-semibold text-sm`, t2), ...n2 }), _$2 = ({ className: n2, children: r2, ...i2 }) => jsxRuntimeExports.jsxs(Item, { className: n$x(`relative flex w-full cursor-pointer select-none items-center rounded-lg py-1.5 pr-8 pl-2 text-sm outline-hidden focus:bg-neutral/10 data-disabled:pointer-events-none data-disabled:opacity-50`, n2), ...i2, children: [jsxRuntimeExports.jsx(`span`, { className: `absolute right-2 flex size-3.5 items-center justify-center`, children: jsxRuntimeExports.jsx(ItemIndicator, { children: jsxRuntimeExports.jsx(Check, { className: `size-4` }) }) }), jsxRuntimeExports.jsx(ItemText, { children: r2 })] }), v$1 = ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(Separator, { className: n$x(`-mx-1 my-1 h-px`, `bg-neutral-200 dark:bg-neutral-800`, t2), ...n2 }), y$2 = l$6;
|
|
36859
36853
|
y$2.Group = u$5, y$2.Value = d$3, y$2.Trigger = f$4, y$2.ScrollUpButton = p$4, y$2.ScrollDownButton = m$1, y$2.Content = h$3, y$2.Label = g$2, y$2.Item = _$2, y$2.Separator = v$1;
|
|
36860
36854
|
const i$a = reactExports.createContext({ packageManager: `npm`, setPackageManager: () => {
|
|
36861
36855
|
}, codeFormat: `typescript`, setCodeFormat: () => {
|
|
@@ -37004,7 +36998,7 @@ const a$6 = () => {
|
|
|
37004
36998
|
const f$3 = ({ children: f2, language: p2, isDarkMode: m2, showHeader: h2 = true, showLineNumbers: g2 = true, className: _2, fileName: v2, packageManager: y2, codeFormat: b2, contentDeclarationFormat: x2, isRollable: S2 = true, ...C2 }) => {
|
|
37005
36999
|
let w2 = f2?.endsWith(`
|
|
37006
37000
|
`) ? f2.slice(0, -1) : f2, T2 = y2 || b2 || x2;
|
|
37007
|
-
return jsxRuntimeExports.jsx(r$l, { packageManager: y2, codeFormat: b2, contentDeclarationFormat: x2, children: jsxRuntimeExports.jsxs(d$b, { className: n$
|
|
37001
|
+
return jsxRuntimeExports.jsx(r$l, { packageManager: y2, codeFormat: b2, contentDeclarationFormat: x2, children: jsxRuntimeExports.jsxs(d$b, { className: n$x(`relative min-w-0 max-w-full text-sm leading-6`, g2 && `with-line-number ml-0`, _2), transparency: `lg`, ...C2, children: [h2 && jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsxs(`div`, { className: `grid w-full grid-cols-[1fr_auto] items-center justify-between rounded-t-xl bg-card/50 py-1.5 pr-12 pl-4 text-neutral text-xs`, children: [jsxRuntimeExports.jsx(`span`, { className: `truncate`, children: v2 ?? p2 }), jsxRuntimeExports.jsxs(`div`, { className: `flex items-center gap-2`, children: [y2 && jsxRuntimeExports.jsx(a$6, {}), b2 && jsxRuntimeExports.jsx(a$8, {}), x2 && jsxRuntimeExports.jsx(a$7, {})] })] }), jsxRuntimeExports.jsx(`div`, { className: `sticky top-46 z-20`, children: jsxRuntimeExports.jsx(`div`, { className: n$x(`absolute right-2 bottom-0 flex h-7 items-center`, T2 && `h-11`), children: jsxRuntimeExports.jsx(o$c, { code: w2 }) }) })] }), jsxRuntimeExports.jsx(c$9, { minHeight: 700, isRollable: S2, className: `min-w-0 max-w-full overflow-x-auto p-2`, children: jsxRuntimeExports.jsx(o$e, { lang: p2, isDarkMode: m2, children: w2 }) })] }) });
|
|
37008
37002
|
};
|
|
37009
37003
|
let c$7 = (function(e2) {
|
|
37010
37004
|
return e2.PRIMARY = `primary`, e2.SECONDARY = `secondary`, e2.DESTRUCTIVE = `destructive`, e2.NEUTRAL = `neutral`, e2.LIGHT = `light`, e2.DARK = `dark`, e2.TEXT = `text`, e2;
|
|
@@ -37013,14 +37007,14 @@ const l$5 = cva(`relative z-0 flex size-full flex-row items-center gap-2`, { var
|
|
|
37013
37007
|
let _2 = reactExports.useRef([]), v2 = reactExports.useRef(null), { choiceIndicatorPosition: y2, calculatePosition: b2 } = i$e(_2, { isHoverable: m2, orientation: h2 });
|
|
37014
37008
|
return reactExports.useEffect(() => {
|
|
37015
37009
|
b2();
|
|
37016
|
-
}, [d2, a2]), jsxRuntimeExports.jsxs(`div`, { className: n$
|
|
37010
|
+
}, [d2, a2]), jsxRuntimeExports.jsxs(`div`, { className: n$x(l$5({ color: p2 }), g2), "aria-orientation": h2, "aria-multiselectable": `false`, role: `tablist`, children: [a2.map((e2, t2) => {
|
|
37017
37011
|
let r2 = e2.key, i2 = d2 === r2;
|
|
37018
37012
|
return reactExports.cloneElement(e2, { key: r2 ?? t2, role: `tab`, onClick: (t3) => {
|
|
37019
37013
|
e2.props?.onClick?.(t3), f2?.(r2);
|
|
37020
37014
|
}, "aria-selected": i2, "data-active": i2, tabIndex: i2 ? 0 : -1, ref: (e3) => {
|
|
37021
37015
|
_2.current[t2] = e3;
|
|
37022
37016
|
} });
|
|
37023
|
-
}), y2 && jsxRuntimeExports.jsx(`div`, { className: n$
|
|
37017
|
+
}), y2 && jsxRuntimeExports.jsx(`div`, { className: n$x(u$4({ color: p2, orientation: h2 })), style: y2, ref: v2 }, `${d2}${JSON.stringify(a2.map((e2) => e2.key))}`)] });
|
|
37024
37018
|
};
|
|
37025
37019
|
const r$k = (r2) => {
|
|
37026
37020
|
let { enable: i2 = true, onSwipeLeft: a2, onSwipeRight: o2, itemIndex: s2, itemCount: c2, thresholdPct: l2 = 20, touchAction: u2 = `pan-y`, disableWhenSelectingText: d2 = true } = r2, f2 = reactExports.useRef(null), [p2, m2] = reactExports.useState(false), [h2, g2] = reactExports.useState(0), _2 = reactExports.useRef({ pointerId: null, startX: 0, startY: 0, lastX: 0, axisLocked: false, isHorizontal: false }), v2 = reactExports.useRef(false), y2 = () => {
|
|
@@ -37091,12 +37085,12 @@ const h$2 = Object.assign(({ defaultTab: o2, group: l2, variant: h2, children: g
|
|
|
37091
37085
|
} }), N2 = (e2) => {
|
|
37092
37086
|
E2(e2), typeof w2 == `function` && w2((t2) => ({ ...t2, [l2]: e2 }));
|
|
37093
37087
|
}, P2 = { activeTab: T2 ?? S2 ?? ``, setActiveTab: N2 };
|
|
37094
|
-
return jsxRuntimeExports.jsx(f$2.Provider, { value: P2, children: jsxRuntimeExports.jsxs(`div`, { className: n$
|
|
37088
|
+
return jsxRuntimeExports.jsx(f$2.Provider, { value: P2, children: jsxRuntimeExports.jsxs(`div`, { className: n$x(p$3({ variant: h2 }), y2 && `flex h-full flex-col overflow-hidden`, _2), ...b2, children: [jsxRuntimeExports.jsx(`div`, { className: n$x(`flex shrink-0 gap-3 p-3`, v2), children: jsxRuntimeExports.jsx(d$2, { selectedChoice: D2, tabs: x2.map((t2) => {
|
|
37095
37089
|
let { label: n2, value: r2, disabled: i2 } = t2.props, a2 = D2 === r2;
|
|
37096
|
-
return jsxRuntimeExports.jsx(`button`, { className: n$
|
|
37097
|
-
}), hoverable: true, color: c$7.TEXT }) }), jsxRuntimeExports.jsx(`div`, { className: n$
|
|
37090
|
+
return jsxRuntimeExports.jsx(`button`, { className: n$x(`cursor-pointer whitespace-nowrap rounded-md px-4 py-1 font-medium text-sm transition-colors focus:outline-none`, !a2 && `text-neutral/70`), "data-active": a2, disabled: i2, onClick: () => !i2 && N2(r2), role: `tab`, "aria-selected": a2, "aria-controls": `tabpanel-${r2}`, id: `tab-${r2}`, type: `button`, children: n2 ?? r2 }, r2);
|
|
37091
|
+
}), hoverable: true, color: c$7.TEXT }) }), jsxRuntimeExports.jsx(`div`, { className: n$x(`relative w-full min-w-0 overflow-x-clip [-webkit-clip-path:inset(0)] [clip-path:inset(0)]`, y2 && `min-h-0 flex-1`), ...A2, children: jsxRuntimeExports.jsx(`div`, { role: `tablist`, "aria-orientation": `horizontal`, className: n$x(`grid w-full min-w-0`, y2 && `h-full`, M2 ? `transition-none` : `transition-transform duration-300 ease-in-out`), style: { gridTemplateColumns: `repeat(${x2.length}, 100%)`, transform: `translateX(-${O2 * 100 - (M2 ? j2 : 0)}%)` }, children: x2.map(({ props: t2 }, n2) => {
|
|
37098
37092
|
let { value: r2, children: i2, className: a2 } = t2, o3 = n2 === O2;
|
|
37099
|
-
return jsxRuntimeExports.jsx(`div`, { role: `tabpanel`, "aria-labelledby": `tab-${r2}`, id: `tabpanel-${r2}`, "aria-hidden": !o3, tabIndex: o3 ? 0 : -1, "data-active": o3, className: n$
|
|
37093
|
+
return jsxRuntimeExports.jsx(`div`, { role: `tabpanel`, "aria-labelledby": `tab-${r2}`, id: `tabpanel-${r2}`, "aria-hidden": !o3, tabIndex: o3 ? 0 : -1, "data-active": o3, className: n$x(`w-full min-w-0 p-6 opacity-100 transition-opacity duration-300 ease-in-out`, y2 && `h-full overflow-y-auto`, !o3 && `pointer-events-none opacity-0`, a2), children: jsxRuntimeExports.jsx(`div`, { className: n$x(`flex w-full min-w-0 flex-col items-stretch gap-6`, y2 && `min-h-full`), children: i2 }) }, r2);
|
|
37100
37094
|
}) }) })] }) });
|
|
37101
37095
|
}, { Item: m });
|
|
37102
37096
|
const n$c = (n2) => {
|
|
@@ -45013,29 +45007,29 @@ const v = cva(`flex cursor-default flex-col overflow-hidden shadow-sm`, { varian
|
|
|
45013
45007
|
let M2 = !!w2, N2 = y$1[k2 || `none`];
|
|
45014
45008
|
return reactDomExports.createPortal(jsxRuntimeExports.jsx(motion.div, { className: `invisible fixed top-0 left-0 z-50 flex size-full cursor-pointer items-center justify-center overflow-hidden bg-background/40 backdrop-blur`, animate: d2 ? `visible` : `invisible`, variants: { visible: { opacity: 1, visibility: `visible`, transition: { duration: 0.1, when: `beforeChildren` } }, invisible: { opacity: 0, visibility: `hidden`, transition: { duration: 0.1, when: `afterChildren` } } }, onClick: (e2) => {
|
|
45015
45009
|
e2.stopPropagation(), S2?.();
|
|
45016
|
-
}, "aria-hidden": !d2, children: jsxRuntimeExports.jsxs(b, { onClick: (e2) => e2.stopPropagation(), initial: { scale: d2 ? 0.5 : 1 }, animate: { scale: d2 ? 1 : 0.5 }, transition: { duration: 0.3 }, className: v({ size: T2, className: E2 }), role: `dialog`, "aria-modal": true, roundedSize: `4xl`, padding: `none`, ...A2, children: [jsxRuntimeExports.jsxs(`div`, { className: n$
|
|
45010
|
+
}, "aria-hidden": !d2, children: jsxRuntimeExports.jsxs(b, { onClick: (e2) => e2.stopPropagation(), initial: { scale: d2 ? 0.5 : 1 }, animate: { scale: d2 ? 1 : 0.5 }, transition: { duration: 0.3 }, className: v({ size: T2, className: E2 }), role: `dialog`, "aria-modal": true, roundedSize: `4xl`, padding: `none`, ...A2, children: [jsxRuntimeExports.jsxs(`div`, { className: n$x(`relative flex-none px-4 pt-4`, C2 && M2 ? `flex items-start` : C2 ? `flex justify-end` : M2 ? `items-center` : `hidden`), children: [M2 && jsxRuntimeExports.jsx(h$4, { className: `mb-2 ml-1 flex items-center justify-center font-bold text-lg`, children: w2 }), C2 && jsxRuntimeExports.jsx(f$a, { variant: c$i.HOVERABLE, color: l$h.TEXT, label: `Close modal`, className: `ml-auto`, onClick: (e2) => {
|
|
45017
45011
|
e2.stopPropagation(), S2?.();
|
|
45018
|
-
}, Icon: X$2, size: o$t.ICON_MD })] }), jsxRuntimeExports.jsx(`div`, { className: n$
|
|
45012
|
+
}, Icon: X$2, size: o$t.ICON_MD })] }), jsxRuntimeExports.jsx(`div`, { className: n$x(`flex min-h-0 w-full flex-1 flex-col`, D2 === true && `overflow-auto`, D2 === `y` && `overflow-y-auto overflow-x-hidden`, D2 === `x` && `overflow-x-auto overflow-y-hidden`, !D2 && `overflow-visible`), children: jsxRuntimeExports.jsx(`div`, { className: n$x(`flex h-full w-full flex-1 flex-col`, N2), children: t2 }) })] }) }), j2);
|
|
45019
45013
|
};
|
|
45020
45014
|
const u$3 = ({ className: u2, isRollable: d2 = false, displayModal: f2, ...p2 }) => {
|
|
45021
45015
|
let [m2, h2] = reactExports.useState(false);
|
|
45022
45016
|
return jsxRuntimeExports.jsxs(`div`, { className: `relative`, children: [f2 && jsxRuntimeExports.jsx(`div`, { className: `sticky top-48 z-10`, children: jsxRuntimeExports.jsx(`div`, { className: `absolute top-4 right-2`, children: jsxRuntimeExports.jsx(f$a, { variant: `hoverable`, size: `icon-md`, onClick: () => {
|
|
45023
45017
|
h2(true);
|
|
45024
|
-
}, label: `Move`, Icon: MoveDiagonal }) }) }), jsxRuntimeExports.jsx(c$9, { isRollable: d2, className: `max-w-full overflow-x-auto`, children: jsxRuntimeExports.jsx(`table`, { className: n$
|
|
45018
|
+
}, label: `Move`, Icon: MoveDiagonal }) }) }), jsxRuntimeExports.jsx(c$9, { isRollable: d2, className: `max-w-full overflow-x-auto`, children: jsxRuntimeExports.jsx(`table`, { className: n$x(`min-w-full max-w-full table-auto overflow-x-auto bg-background text-left`, u2), ...p2 }) }), jsxRuntimeExports.jsx(x$1, { isOpen: m2, onClose: () => h2(false), size: _$1.XL, hasCloseButton: true, children: m2 ? jsxRuntimeExports.jsx(`div`, { className: `grid`, children: jsxRuntimeExports.jsx(`table`, { className: n$x(`min-w-full max-w-full table-auto text-left`, u2), ...p2 }) }) : jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {}) })] });
|
|
45025
45019
|
};
|
|
45026
|
-
const h$1 = (c2) => ({ components: { h1: (e2) => jsxRuntimeExports.jsx(p$5, { isClickable: true, ...e2 }), h2: (e2) => jsxRuntimeExports.jsx(m$2, { isClickable: true, className: `mt-16`, ...e2 }), h3: (e2) => jsxRuntimeExports.jsx(h$4, { isClickable: true, className: `mt-5`, ...e2 }), h4: (e2) => jsxRuntimeExports.jsx(g$4, { isClickable: true, className: `mt-3`, ...e2 }), h5: (e2) => jsxRuntimeExports.jsx(_$4, { isClickable: true, className: `mt-3`, ...e2 }), h6: (e2) => jsxRuntimeExports.jsx(v$3, { isClickable: true, className: `mt-3`, ...e2 }), code: ({ className: e2, children: t2, ...n2 }) => {
|
|
45020
|
+
const h$1 = (c2) => ({ components: { h1: (e2) => jsxRuntimeExports.jsx(p$5, { isClickable: true, className: `text-text`, ...e2 }), h2: (e2) => jsxRuntimeExports.jsx(m$2, { isClickable: true, className: `mt-16 text-text`, ...e2 }), h3: (e2) => jsxRuntimeExports.jsx(h$4, { isClickable: true, className: `mt-5 text-text`, ...e2 }), h4: (e2) => jsxRuntimeExports.jsx(g$4, { isClickable: true, className: `mt-3 text-text`, ...e2 }), h5: (e2) => jsxRuntimeExports.jsx(_$4, { isClickable: true, className: `mt-3 text-text`, ...e2 }), h6: (e2) => jsxRuntimeExports.jsx(v$3, { isClickable: true, className: `mt-3 text-text`, ...e2 }), strong: (e2) => jsxRuntimeExports.jsx(`strong`, { className: `text-text`, ...e2 }), code: ({ className: e2, children: t2, ...n2 }) => {
|
|
45027
45021
|
let r2 = String(t2 ?? ``).replace(/\n$/, ``);
|
|
45028
|
-
if (!e2) return jsxRuntimeExports.jsx(`
|
|
45022
|
+
if (!e2) return jsxRuntimeExports.jsx(`code`, { className: `rounded-md border border-neutral/30 bg-card/60 box-decoration-clone px-1.5 py-0.5 font-mono text-sm`, children: r2 });
|
|
45029
45023
|
let i2 = e2?.replace(/lang(?:uage)?-/, ``) || `plaintext`;
|
|
45030
45024
|
return jsxRuntimeExports.jsx(f$3, { ...n2, language: i2, showHeader: true, isDarkMode: c2, children: r2 });
|
|
45031
|
-
}, blockquote: ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(`blockquote`, { className: n$
|
|
45025
|
+
}, blockquote: ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(`blockquote`, { className: n$x(`mt-5 gap-3 border-card border-l-4 pl-5 text-neutral`, `[&_strong]:text-neutral`, t2), ...n2 }), ul: ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(`ul`, { className: n$x(`mt-5 flex list-disc flex-col gap-3 pl-5 marker:text-neutral/80`, t2), ...n2 }), ol: ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(`ol`, { className: n$x(`mt-5 flex list-decimal flex-col gap-3 pl-5 marker:text-neutral/80`, t2), ...n2 }), img: ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(`img`, { ...n2, alt: n2.alt ?? ``, loading: `lazy`, className: n$x(`max-h-[80vh] max-w-full rounded-md`, t2), src: `${n2.src}?raw=true` }), a: (e2) => jsxRuntimeExports.jsx(g$8, { isExternalLink: e2.href?.startsWith(`http`), underlined: true, ...e2 }), pre: (e2) => e2.children, table: (e2) => jsxRuntimeExports.jsx(u$3, { isRollable: true, ...e2 }), th: ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(`th`, { className: n$x(`border-neutral border-b bg-neutral/10 p-4`, t2), ...n2 }), tr: ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(`tr`, { className: n$x(`hover:/10 hover:bg-neutral/10`, t2), ...n2 }), td: ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(`td`, { className: n$x(`border-neutral-500/50 border-b p-4`, t2), ...n2 }), hr: ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(`hr`, { className: n$x(`mx-6 mt-16 text-neutral`, t2), ...n2 }), Tabs: (e2) => jsxRuntimeExports.jsx(h$2, { ...e2, className: `rounded-xl border border-card`, headerClassName: `sticky rounded-xl top-24 z-5 bg-background/70 backdrop-blur overflow-x-auto` }), Tab: h$2.Item, Columns: ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(`div`, { className: n$x(`flex gap-4 max-md:flex-col`, t2), ...n2 }), Column: ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(`div`, { className: n$x(`flex-1`, t2), ...n2 }) } }), g$1 = ({ children: e2, isDarkMode: n2, locale: r2, forceBlock: i2, preserveFrontmatter: a2, tagfilter: o2, components: s2, wrapper: d2 }) => {
|
|
45032
45026
|
let f2 = h$1(n2 ?? false);
|
|
45033
45027
|
return jsxRuntimeExports.jsx(o$d, { children: jsxRuntimeExports.jsx(o$b, { children: i$o(e2, { components: { ...f2.components, code: ({ className: e3, children: t2, ...r3 }) => {
|
|
45034
45028
|
let i3 = String(t2 ?? ``).replace(/\n$/, ``);
|
|
45035
|
-
if (!e3) return jsxRuntimeExports.jsx(`
|
|
45029
|
+
if (!e3) return jsxRuntimeExports.jsx(`code`, { className: `rounded-md border border-neutral/30 bg-card/60 box-decoration-clone px-1.5 py-0.5 font-mono text-sm`, children: i3 });
|
|
45036
45030
|
let a3 = e3?.replace(/lang(?:uage)?-/, ``) || `plaintext`;
|
|
45037
45031
|
return jsxRuntimeExports.jsx(f$3, { ...r3, language: a3, showHeader: true, isDarkMode: n2, children: i3 });
|
|
45038
|
-
}, a: (e3) => jsxRuntimeExports.jsx(g$8, { isExternalLink: e3.href?.startsWith(`http`), underlined: true, locale: r2, ...e3, color: `
|
|
45032
|
+
}, a: (e3) => jsxRuntimeExports.jsx(g$8, { isExternalLink: e3.href?.startsWith(`http`), underlined: true, locale: r2, label: ``, ...e3, color: `text` }), ...s2 }, wrapper: d2 ?? f2.wrapper, forceBlock: i2 ?? f2.forceBlock, preserveFrontmatter: a2 ?? f2.preserveFrontmatter, tagfilter: o2 ?? f2.tagfilter }) }) });
|
|
45039
45033
|
};
|
|
45040
45034
|
const key$c = "navigation-view";
|
|
45041
45035
|
const content$c = { "nodeType": "translation", "translation": { "en": { "tsxNotEditable": "React node is not editable", "goToField": { "label": "Go to field" }, "addNewElement": { "label": "Click to add element", "text": "Add new element" }, "removeElement": { "label": "Click to remove element", "text": "Remove element" }, "addNewEnumeration": { "label": "Click to add enumeration", "text": "Add new enumeration" }, "removeEnumeration": { "label": "Click to remove enumeration", "text": "Remove enumeration" }, "addNewCondition": { "label": "Click to add condition", "text": "Add new condition" } }, "en-GB": { "tsxNotEditable": "React node is not editable", "goToField": { "label": "Go to field" }, "addNewElement": { "label": "Click to add element", "text": "Add new element" }, "removeElement": { "label": "Click to remove element", "text": "Remove element" }, "addNewEnumeration": { "label": "Click to add enumeration", "text": "Add new enumeration" }, "removeEnumeration": { "label": "Click to remove enumeration", "text": "Remove enumeration" }, "addNewCondition": { "label": "Click to add condition", "text": "Add new condition" } }, "fr": { "tsxNotEditable": "Node React non éditable", "goToField": { "label": "Aller au champ" }, "addNewElement": { "label": "Cliquez pour ajouter un élément", "text": "Ajouter un nouvel élément" }, "removeElement": { "label": "Cliquez pour supprimer un élément", "text": "Supprimer l’élément" }, "addNewEnumeration": { "label": "Cliquez pour ajouter une énumération", "text": "Ajouter une nouvelle énumération" }, "removeEnumeration": { "label": "Cliquez pour supprimer une énumération", "text": "Supprimer l’énumération" }, "addNewCondition": { "label": "Cliquez pour ajouter une condition", "text": "Ajouter une nouvelle condition" } }, "es": { "tsxNotEditable": "Nodo React no editable", "goToField": { "label": "Ir al campo" }, "addNewElement": { "label": "Haga clic para agregar un elemento", "text": "Agregar nuevo elemento" }, "removeElement": { "label": "Haga clic para eliminar un elemento", "text": "Eliminar elemento" }, "addNewEnumeration": { "label": "Haga clic para agregar una enumeración", "text": "Agregar nueva enumeración" }, "removeEnumeration": { "label": "Haga clic para eliminar una enumeración", "text": "Eliminar enumeración" }, "addNewCondition": { "label": "Haga clic para agregar una condición", "text": "Agregar nueva condición" } }, "de": { "tsxNotEditable": "React-Knoten ist nicht bearbeitbar", "goToField": { "label": "Zum Feld gehen" }, "addNewElement": { "label": "Klicken Sie, um ein Element hinzuzufügen", "text": "Neues Element hinzufügen" }, "removeElement": { "label": "Klicken Sie, um ein Element zu entfernen", "text": "Element entfernen" }, "addNewEnumeration": { "label": "Klicken Sie, um eine Aufzählung hinzuzufügen", "text": "Neue Aufzählung hinzufügen" }, "removeEnumeration": { "label": "Klicken Sie, um eine Aufzählung zu entfernen", "text": "Aufzählung entfernen" }, "addNewCondition": { "label": "Klicken Sie, um eine Bedingung hinzuzufügen", "text": "Neue Bedingung hinzufügen" } }, "ja": { "tsxNotEditable": "編集できないReactノードです", "goToField": { "label": "フィールドに移動" }, "addNewElement": { "label": "要素を追加するにはクリック", "text": "新しい要素を追加" }, "removeElement": { "label": "要素を削除するにはクリック", "text": "要素を削除" }, "addNewEnumeration": { "label": "列挙を追加するにはクリック", "text": "新しい列挙を追加" }, "removeEnumeration": { "label": "列挙を削除するにはクリック", "text": "列挙を削除" }, "addNewCondition": { "label": "条件を追加するにはクリック", "text": "新しい条件を追加" } }, "ko": { "tsxNotEditable": "편집할 수 없는 React 노드입니다", "goToField": { "label": "필드로 이동" }, "addNewElement": { "label": "요소를 추가하려면 클릭하세요", "text": "새 요소 추가" }, "removeElement": { "label": "요소를 제거하려면 클릭하세요", "text": "요소 제거" }, "addNewEnumeration": { "label": "열거를 추가하려면 클릭하세요", "text": "새 목록 추가" }, "removeEnumeration": { "label": "목록을 제거하려면 클릭하세요", "text": "목록 제거" }, "addNewCondition": { "label": "조건을 추가하려면 클릭하세요", "text": "새 조건 추가" } }, "zh": { "tsxNotEditable": "不可编辑的 React 节点", "goToField": { "label": "转到字段" }, "addNewElement": { "label": "点击添加元素", "text": "添加新元素" }, "removeElement": { "label": "点击删除元素", "text": "删除元素" }, "addNewEnumeration": { "label": "点击添加枚举", "text": "添加新枚举" }, "removeEnumeration": { "label": "点击删除枚举", "text": "删除枚举" }, "addNewCondition": { "label": "点击添加条件", "text": "添加新条件" } }, "it": { "tsxNotEditable": "Node React non modificabile", "goToField": { "label": "Vai al campo" }, "addNewElement": { "label": "Clicca per aggiungere un elemento", "text": "Aggiungi nuovo elemento" }, "removeElement": { "label": "Clicca per rimuovere un elemento", "text": "Rimuovi elemento" }, "addNewEnumeration": { "label": "Clicca per aggiungere un enumerazione", "text": "Aggiungi nuova enumerazione" }, "removeEnumeration": { "label": "Clicca per rimuovere un'enumerazione", "text": "Rimuovi enumerazione" }, "addNewCondition": { "label": "Clicca per aggiungere una condizione", "text": "Aggiungi nuova condizione" } }, "pt": { "tsxNotEditable": "Nó React não editável", "goToField": { "label": "Ir para o campo" }, "addNewElement": { "label": "Clique para adicionar um elemento", "text": "Adicionar novo elemento" }, "removeElement": { "label": "Clique para remover um elemento", "text": "Remover elemento" }, "addNewEnumeration": { "label": "Clique para adicionar uma enumeração", "text": "Adicionar nova enumeração" }, "removeEnumeration": { "label": "Clique para remover uma enumeração", "text": "Remover enumeração" }, "addNewCondition": { "label": "Clique para adicionar uma condição", "text": "Adicionar nova condição" } }, "hi": { "tsxNotEditable": "सम्पादित न करने योग्य React नोड", "goToField": { "label": "फ़ील्ड पर जाएं" }, "addNewElement": { "label": "तत्व जोड़ने के लिए क्लिक करें", "text": "नया तत्व जोड़ें" }, "removeElement": { "label": "तत्व निकालने के लिए क्लिक करें", "text": "तत्व निकालें" }, "addNewEnumeration": { "label": "सूची जोड़ने के लिए क्लिक करें", "text": "नया सूची जोड़ें" }, "removeEnumeration": { "label": "सूची निकालने के लिए क्लिक करें", "text": "सूची निकालें" }, "addNewCondition": { "label": "शर्ते जोड़ने के लिए क्लिक करें", "text": "नया शर्ते जोड़ें" } }, "ar": { "tsxNotEditable": "عقدة React غير قابلة للتحرير", "goToField": { "label": "اذهب إلى الحقل" }, "addNewElement": { "label": "انقر لإضافة عنصر", "text": "أضف عنصرًا جديدًا" }, "removeElement": { "label": "انقر لإزالة عنصر", "text": "إزالة عنصر" }, "addNewEnumeration": { "label": "انقر لإضافة تعداد", "text": "أضف تعدادًا جديدًا" }, "removeEnumeration": { "label": "انقر لإزالة تعداد", "text": "إزالة تعداد" }, "addNewCondition": { "label": "انقر لإضافة شرط", "text": "أضف شرطًا جديدًا" } }, "ru": { "tsxNotEditable": "React-узел не редактируемый", "goToField": { "label": "Перейти к полю" }, "addNewElement": { "label": "Нажмите, чтобы добавить элемент", "text": "Добавить новый элемент" }, "removeElement": { "label": "Нажмите, чтобы удалить элемент", "text": "Удалить элемент" }, "addNewEnumeration": { "label": "Нажмите, чтобы добавить перечисление", "text": "Добавить новое перечисление" }, "removeEnumeration": { "label": "Нажмите, чтобы удалить перечисление", "text": "Удалить перечисление" }, "addNewCondition": { "label": "Нажмите, чтобы добавить условие", "text": "Добавить новое условие" } } } };
|
|
@@ -45793,7 +45787,7 @@ const C$2 = ({
|
|
|
45793
45787
|
}) => {
|
|
45794
45788
|
let {
|
|
45795
45789
|
locales: E2
|
|
45796
|
-
} = b$5.internationalization, D2 = t$k(S2, w2, n$
|
|
45790
|
+
} = b$5.internationalization, D2 = t$k(S2, w2, n$D()), {
|
|
45797
45791
|
addEditedContent: O2
|
|
45798
45792
|
} = v$a(), {
|
|
45799
45793
|
setFocusedContentKeyPath: k2,
|
|
@@ -45925,7 +45919,7 @@ const C$2 = ({
|
|
|
45925
45919
|
}) : jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {});
|
|
45926
45920
|
};
|
|
45927
45921
|
const p = ({ dictionary: p2, isDarkMode: m2 }) => {
|
|
45928
|
-
let { content: h2, key: g2, localId: _2 } = p2, { editedContent: v2 } = y$8(), { focusedContent: y2, setFocusedContentKeyPath: b2 } = o$y(), x2 = y2?.keyPath, S2 = v2?.[_2]?.content === void 0 ? h2 : v2?.[_2]?.content, C2 = n$
|
|
45922
|
+
let { content: h2, key: g2, localId: _2 } = p2, { editedContent: v2 } = y$8(), { focusedContent: y2, setFocusedContentKeyPath: b2 } = o$y(), x2 = y2?.keyPath, S2 = v2?.[_2]?.content === void 0 ? h2 : v2?.[_2]?.content, C2 = n$D(), w2 = t$k(S2, x2 ?? [], C2), T2 = r$g(S2), E2 = r$g(w2);
|
|
45929
45923
|
return reactExports.useEffect(() => {
|
|
45930
45924
|
w2 === void 0 && b2(y2?.keyPath?.slice(0, -1) ?? []);
|
|
45931
45925
|
}, []), jsxRuntimeExports.jsxs(`div`, { children: [jsxRuntimeExports.jsxs(`div`, { className: `mb-6 flex items-center justify-between gap-2`, children: [jsxRuntimeExports.jsx(r$h, { dictionaryKey: g2, keyPath: x2 ?? [], onClickKeyPath: b2 }), jsxRuntimeExports.jsx(`div`, { className: `flex items-center gap-2`, children: jsxRuntimeExports.jsx(k, {}) })] }), jsxRuntimeExports.jsxs(`div`, { className: `flex flex-1 gap-2 overflow-visible max-md:flex-col`, children: [typeof S2 == `object` && S2 && !T2 && Object.keys(S2).length > 0 && jsxRuntimeExports.jsx(d$b, { border: true, background: `none`, className: `top-30 flex h-full flex-col items-start gap-0.5 overflow-auto p-2 md:sticky md:max-w-[50%]`, roundedSize: `xl`, transparency: `xs`, children: jsxRuntimeExports.jsx(C$2, { keyPath: [], section: S2, dictionary: p2 }) }), (E2 || (x2 ?? []).length > 0) && jsxRuntimeExports.jsx($, { keyPath: x2 ?? [], section: w2, dictionary: p2, isDarkMode: m2 })] })] });
|
|
@@ -47829,7 +47823,7 @@ const s$b = reactExports.createContext({}), c$5 = ({ ...e2 }) => jsxRuntimeExpor
|
|
|
47829
47823
|
let { id: l2 } = r2;
|
|
47830
47824
|
return { id: l2, name: t2.name, formItemId: `${l2}-form-item`, formDescriptionId: `${l2}-form-item-description`, formMessageId: `${l2}-form-item-message`, ...c2 };
|
|
47831
47825
|
};
|
|
47832
|
-
const n$9 = ({ className: n2, children: r2, ...i2 }) => jsxRuntimeExports.jsxs(`i`, { className: n$
|
|
47826
|
+
const n$9 = ({ className: n2, children: r2, ...i2 }) => jsxRuntimeExports.jsxs(`i`, { className: n$x(`text-neutral-400 text-xs`, n2), ...i2, children: [`ⓘ `, r2] });
|
|
47833
47827
|
const r$e = (t2, r2, o2) => {
|
|
47834
47828
|
if (t2 && "reportValidity" in t2) {
|
|
47835
47829
|
const s2 = get(o2, r2);
|
|
@@ -47948,14 +47942,14 @@ const o$9 = async (e2) => e2 && typeof e2.then == `function` ? await e2 : e2, s$
|
|
|
47948
47942
|
let t2 = r2?.safeParse(e2) ?? { success: true, data: void 0 };
|
|
47949
47943
|
await o$9(i2?.(e2)), t2.success ? await o$9(a2?.(t2.data)) : await o$9(s2?.(Error(t2.error.issues.map((e3) => e3.message).join(`, `))));
|
|
47950
47944
|
};
|
|
47951
|
-
return jsxRuntimeExports.jsx(FormProvider, { ...d2, children: jsxRuntimeExports.jsx(`form`, { className: n$
|
|
47945
|
+
return jsxRuntimeExports.jsx(FormProvider, { ...d2, children: jsxRuntimeExports.jsx(`form`, { className: n$x(`flex flex-col gap-y-6`, c2), onSubmit: d2.handleSubmit(f2), autoComplete: u2 ? `on` : `off`, noValidate: true, children: l2 }) });
|
|
47952
47946
|
}, c$4 = (e2, t2) => {
|
|
47953
47947
|
let n2 = useForm({ resolver: a$4(e2), ...t2 }), { isSubmitting: o2, isSubmitted: s2, isLoading: c2, isValid: l2 } = useFormState({ control: n2.control });
|
|
47954
47948
|
return { form: n2, isSubmitting: o2, isSubmitted: s2, isLoading: c2, isValid: l2 };
|
|
47955
47949
|
};
|
|
47956
47950
|
const i$5 = ({ className: i2, ...a2 }) => {
|
|
47957
47951
|
let { error: o2, formItemId: s2 } = l$4();
|
|
47958
|
-
return jsxRuntimeExports.jsx(r$n, { className: n$
|
|
47952
|
+
return jsxRuntimeExports.jsx(r$n, { className: n$x(`mb-2`, o2 && `text-error`, i2), htmlFor: s2, ...a2 });
|
|
47959
47953
|
};
|
|
47960
47954
|
const n$7 = ({ isRequired: n2 }) => n2 ? jsxRuntimeExports.jsx(`span`, { "aria-label": `Asterisk meaning the field is required`, children: `*` }) : jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {});
|
|
47961
47955
|
const o$8 = ({ children: o2, isRequired: s2, info: c2, htmlFor: l2, className: u2 }) => jsxRuntimeExports.jsxs(`div`, { className: `ml-1 flex gap-1 align-middle text-base leading-none`, children: [o2 && jsxRuntimeExports.jsxs(i$5, { htmlFor: l2, id: `${l2}-label`, suppressHydrationWarning: true, className: clsx(`font-bold`, u2), children: [o2, jsxRuntimeExports.jsx(n$7, { isRequired: s2 })] }), c2 && jsxRuntimeExports.jsx(n$9, { content: c2 })] });
|
|
@@ -48236,7 +48230,7 @@ const S$1 = ({
|
|
|
48236
48230
|
})]
|
|
48237
48231
|
})
|
|
48238
48232
|
}), jsxRuntimeExports.jsxs(`form`, {
|
|
48239
|
-
className: n$
|
|
48233
|
+
className: n$x(`flex justify-end gap-2 max-md:flex-col`, w2),
|
|
48240
48234
|
...D2,
|
|
48241
48235
|
children: [C2.includes(`remote`) && Y2 && T2 && K2 && jsxRuntimeExports.jsx(x.Button, {
|
|
48242
48236
|
label: B2.label.value,
|
|
@@ -48695,14 +48689,14 @@ const C$1 = ({
|
|
|
48695
48689
|
})]
|
|
48696
48690
|
});
|
|
48697
48691
|
};
|
|
48698
|
-
const l$3 = reactExports.lazy(() => __vitePreload(() => import("./index-
|
|
48692
|
+
const l$3 = reactExports.lazy(() => __vitePreload(() => import("./index-CEHLBzQk.js"), true ? [] : void 0).then((e2) => ({ default: e2.Editor }))), u$2 = ({ children: i2, language: u2, isDarkMode: d2, showLineNumbers: f2, showCopyButton: p2 = true, isReadOnly: m2 = false, onChange: h2 }) => {
|
|
48699
48693
|
let g2 = reactExports.useRef(null), _2 = reactExports.useRef(null), [v2, y2] = reactExports.useState({ height: 0, width: 0 }), b2 = d2 ? `vs-dark-transparent` : `hc-light-theme`, x2 = (e2, t2) => {
|
|
48700
48694
|
_2.current = e2;
|
|
48701
48695
|
let n2 = (e2.getContentHeight() ?? 0) + 25;
|
|
48702
48696
|
t2.editor.defineTheme(`vs-dark-transparent`, { base: `vs-dark`, inherit: true, rules: [], colors: { "editor.background": `#00000000` } }), t2.editor.defineTheme(`hc-light-theme`, { base: `vs`, inherit: true, rules: [], colors: { "editor.background": `#00000000` } }), t2.editor.setTheme(b2), t2.languages.typescript.typescriptDefaults.setDiagnosticsOptions({ noSemanticValidation: true, noSyntaxValidation: true }), t2.languages.typescript.javascriptDefaults.setDiagnosticsOptions({ noSemanticValidation: true, noSyntaxValidation: true }), t2.languages.typescript.typescriptDefaults.setCompilerOptions({ noLib: true, allowNonTsExtensions: true }), t2.languages.typescript.javascriptDefaults.setCompilerOptions({ noLib: true, allowNonTsExtensions: true }), y2({ height: n2, width: g2.current?.clientWidth ?? 0 });
|
|
48703
48697
|
}, S2 = f2 ?? (typeof i2 == `string` ? i2.split(`
|
|
48704
48698
|
`).length > 1 : false);
|
|
48705
|
-
return jsxRuntimeExports.jsxs(`div`, { className: n$
|
|
48699
|
+
return jsxRuntimeExports.jsxs(`div`, { className: n$x(`relative h-full w-full text-sm`, f2 && `ml-0`), children: [p2 && jsxRuntimeExports.jsx(`div`, { className: `sticky top-5 z-10`, children: jsxRuntimeExports.jsx(`div`, { className: n$x(`absolute right-2 bottom-0 flex h-7 items-center`), children: jsxRuntimeExports.jsx(u$9, { content: i2 }) }) }), jsxRuntimeExports.jsx(`div`, { className: `z-0 grid size-full grid-cols-[0px] overflow-auto`, ref: g2, children: jsxRuntimeExports.jsx(reactExports.Suspense, { fallback: jsxRuntimeExports.jsx(a$n, {}), children: jsxRuntimeExports.jsx(l$3, { ...v2, defaultLanguage: `typescript`, language: u2, loading: jsxRuntimeExports.jsx(a$n, {}), defaultValue: String(i2).replace(/\n$/, ``), onMount: x2, onChange: h2, options: { readOnly: m2, cursorStyle: `line`, minimap: { enabled: false }, scrollbar: { vertical: `hidden`, verticalScrollbarSize: 0, alwaysConsumeMouseWheel: false }, folding: false, renderValidationDecorations: `off`, quickSuggestions: false, parameterHints: { enabled: false }, suggestOnTriggerCharacters: false, mouseWheelScrollSensitivity: 0, fastScrollSensitivity: 0, scrollBeyondLastLine: false, lineNumbers: S2 ? `on` : `off` }, theme: b2, className: `my-2 rounded-md` }) }) })] });
|
|
48706
48700
|
};
|
|
48707
48701
|
const r$4 = ({ dictionary: r2, isDarkMode: i2 }) => {
|
|
48708
48702
|
let { setEditedContent: a2, editedContent: o2 } = y$8(), s2 = (e2) => {
|
|
@@ -49098,7 +49092,7 @@ const y = ({
|
|
|
49098
49092
|
})
|
|
49099
49093
|
});
|
|
49100
49094
|
};
|
|
49101
|
-
const n$3 = ({ children: n2, isHidden: r2, minWidth: i2 = 0, align: a2 = `left`, className: o2, ...s2 }) => jsxRuntimeExports.jsx(`div`, { className: n$
|
|
49095
|
+
const n$3 = ({ children: n2, isHidden: r2, minWidth: i2 = 0, align: a2 = `left`, className: o2, ...s2 }) => jsxRuntimeExports.jsx(`div`, { className: n$x(`relative grid h-full grid-cols-[0fr] overflow-x-hidden overflow-y-hidden transition-all duration-500 ease-in-out`, r2 ? `` : `grid-cols-[1fr]`, o2), "aria-hidden": r2, inert: r2 ? true : void 0, ...s2, children: jsxRuntimeExports.jsx(`div`, { style: { minWidth: `${i2}px` }, className: n$x(a2 === `right` && `ml-auto`), children: n2 }) });
|
|
49102
49096
|
const t = new class {
|
|
49103
49097
|
listeners = /* @__PURE__ */ new Set();
|
|
49104
49098
|
drawers = {};
|
|
@@ -49897,7 +49891,7 @@ const i$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
49897
49891
|
ToastViewport,
|
|
49898
49892
|
Viewport
|
|
49899
49893
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
49900
|
-
const a$1 = i$1, o$2 = ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(Viewport, { className: n$
|
|
49894
|
+
const a$1 = i$1, o$2 = ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(Viewport, { className: n$x(`fixed top-0 z-100 flex max-h-screen w-full flex-col-reverse p-4 sm:top-auto sm:right-0 sm:bottom-0 sm:flex-col md:max-w-[420px]`, t2), ...n2 }), s$2 = cva(`group data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md p-4 pr-6 shadow-[0_0_10px_-15px_rgba(0,0,0,0.3)] backdrop-blur transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[state=closed]:animate-out data-[state=open]:animate-in data-[swipe=end]:animate-out data-[swipe=move]:transition-none`, { variants: { variant: { error: `bg-error/40 text-text`, success: `bg-success/30 text-text`, default: `bg-card/80 text-text` } }, defaultVariants: { variant: `default` } }), c$2 = ({ className: t2, variant: n2, ...a2 }) => jsxRuntimeExports.jsx(Root2, { className: n$x(s$2({ variant: n2 }), t2), ...a2 }), u$1 = ({ className: n2, ...a2 }) => jsxRuntimeExports.jsx(Close, { className: n$x(`absolute top-1 right-1 rounded-md p-1 text-text/50 opacity-0 transition-opacity hover:text-text/80 focus:opacity-100 focus:outline-hidden focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600 group-[.destructive]:hover:text-red-50`, n2), "toast-close": ``, ...a2, children: jsxRuntimeExports.jsx(X$2, { className: `size-5` }) }), d$1 = ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(Title, { className: n$x(`font-semibold text-sm [&+div]:text-xs`, t2), ...n2 }), f$1 = ({ className: t2, ...n2 }) => jsxRuntimeExports.jsx(Description, { className: n$x(`text-sm opacity-90`, t2), ...n2 });
|
|
49901
49895
|
var n = (function(e2) {
|
|
49902
49896
|
return e2.ADD_TOAST = `ADD_TOAST`, e2.UPDATE_TOAST = `UPDATE_TOAST`, e2.DISMISS_TOAST = `DISMISS_TOAST`, e2.REMOVE_TOAST = `REMOVE_TOAST`, e2;
|
|
49903
49897
|
})(n || {});
|
|
@@ -50729,7 +50723,7 @@ const EditorLayout = (t0) => {
|
|
|
50729
50723
|
const {
|
|
50730
50724
|
children
|
|
50731
50725
|
} = t0;
|
|
50732
|
-
const currentLocale = n$
|
|
50726
|
+
const currentLocale = n$D();
|
|
50733
50727
|
const [hoveredContent] = a$y(e$c.INTLAYER_HOVERED_CONTENT_CHANGED, null);
|
|
50734
50728
|
let t1;
|
|
50735
50729
|
if ($2[0] !== hoveredContent) {
|
|
@@ -50836,7 +50830,7 @@ const EditorProvider = (t0) => {
|
|
|
50836
50830
|
}
|
|
50837
50831
|
let t3;
|
|
50838
50832
|
if ($2[8] !== children || $2[9] !== intlayerConfig || $2[10] !== t1 || $2[11] !== t2) {
|
|
50839
|
-
t3 = /* @__PURE__ */ jsxRuntimeExports.jsx(h$
|
|
50833
|
+
t3 = /* @__PURE__ */ jsxRuntimeExports.jsx(h$c, { postMessage: t1, allowedOrigins: t2, mode: "editor", configuration: intlayerConfig, children });
|
|
50840
50834
|
$2[8] = children;
|
|
50841
50835
|
$2[9] = intlayerConfig;
|
|
50842
50836
|
$2[10] = t1;
|