@pie-element/categorize 14.0.7 → 14.0.8-next.20261024044430
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/dist/browser/{PUA-CJdZh2Wf-yFJNQdT6.js → PUA-CJdZh2Wf-BSA6Dse_.js} +2 -2
- package/dist/browser/{PUA-CJdZh2Wf-yFJNQdT6.js.map → PUA-CJdZh2Wf-BSA6Dse_.js.map} +1 -1
- package/dist/browser/{accents-DUN0SGpR-CxftXhUc.js → accents-DUN0SGpR-dcsvfQHt.js} +2 -2
- package/dist/browser/{accents-DUN0SGpR-CxftXhUc.js.map → accents-DUN0SGpR-dcsvfQHt.js.map} +1 -1
- package/dist/browser/{accents-b-i-BonjkJko-DCXXIfLm.js → accents-b-i-BonjkJko-BQL2lRbW.js} +2 -2
- package/dist/browser/{accents-b-i-BonjkJko-DCXXIfLm.js.map → accents-b-i-BonjkJko-BQL2lRbW.js.map} +1 -1
- package/dist/browser/{alert-dialog-BMfvOX4V.js → alert-dialog-CuVlHTsi.js} +850 -824
- package/dist/browser/alert-dialog-CuVlHTsi.js.map +1 -0
- package/dist/browser/{arabic-DPsBZ_6r-WX5izqzI.js → arabic-DPsBZ_6r-D4zQCGBF.js} +2 -2
- package/dist/browser/{arabic-DPsBZ_6r-WX5izqzI.js.map → arabic-DPsBZ_6r-D4zQCGBF.js.map} +1 -1
- package/dist/browser/{editor-runtime/arrows-BdSPBhI1-DCY7B5al.js → arrows-BdSPBhI1-DFdi1KlA.js} +2 -2
- package/dist/browser/{arrows-BdSPBhI1-CaSLM8Jq.js.map → arrows-BdSPBhI1-DFdi1KlA.js.map} +1 -1
- package/dist/browser/author/index.js +2 -2
- package/dist/browser/{editor-runtime/braille-D67IP_T7-DuStQoil.js → braille-D67IP_T7-BW9BrZn3.js} +2 -2
- package/dist/browser/{braille-D67IP_T7-DcCpNvI7.js.map → braille-D67IP_T7-BW9BrZn3.js.map} +1 -1
- package/dist/browser/{editor-runtime/braille-d-CP1DcXKB-73JXJehf.js → braille-d-CP1DcXKB-DgW_uxqP.js} +2 -2
- package/dist/browser/{braille-d-CP1DcXKB-CagpM2h3.js.map → braille-d-CP1DcXKB-DgW_uxqP.js.map} +1 -1
- package/dist/browser/{calligraphic-D3g8rnJG-Z7giB3es.js → calligraphic-D3g8rnJG-DTzvJAEJ.js} +2 -2
- package/dist/browser/{calligraphic-D3g8rnJG-Z7giB3es.js.map → calligraphic-D3g8rnJG-DTzvJAEJ.js.map} +1 -1
- package/dist/browser/{cherokee-D9O6NlBu-cZggsfEf.js → cherokee-D9O6NlBu-Bo83fhGW.js} +2 -2
- package/dist/browser/{cherokee-D9O6NlBu-cZggsfEf.js.map → cherokee-D9O6NlBu-Bo83fhGW.js.map} +1 -1
- package/dist/browser/controller/index.js +1 -1
- package/dist/browser/{editor-runtime/cyrillic-DJvnsbqS-CscSxVdT.js → cyrillic-DJvnsbqS-8Zhod4Hh.js} +2 -2
- package/dist/browser/{cyrillic-DJvnsbqS-CCsE6z_y.js.map → cyrillic-DJvnsbqS-8Zhod4Hh.js.map} +1 -1
- package/dist/browser/{cyrillic-ss-C1kj2CQV-DpdL1GT2.js → cyrillic-ss-C1kj2CQV-BmUpvEXo.js} +2 -2
- package/dist/browser/{cyrillic-ss-C1kj2CQV-DpdL1GT2.js.map → cyrillic-ss-C1kj2CQV-BmUpvEXo.js.map} +1 -1
- package/dist/browser/delivery/index.js +4 -4
- package/dist/browser/delivery/index.js.map +1 -1
- package/dist/browser/{devanagari-DaEPBZJl-CmZa2iVF.js → devanagari-DaEPBZJl-BRYGasTD.js} +2 -2
- package/dist/browser/{devanagari-DaEPBZJl-CmZa2iVF.js.map → devanagari-DaEPBZJl-BRYGasTD.js.map} +1 -1
- package/dist/browser/{editor-runtime/double-struck-DMCx5OKu-DHYtOSRO.js → double-struck-DMCx5OKu-DqH5-yya.js} +2 -2
- package/dist/browser/{double-struck-DMCx5OKu-BcjAROmC.js.map → double-struck-DMCx5OKu-DqH5-yya.js.map} +1 -1
- package/dist/browser/editor-runtime/{PUA-CJdZh2Wf-Cl208A97.js → PUA-CJdZh2Wf-Dq9cN5fb.js} +2 -2
- package/dist/browser/editor-runtime/{PUA-CJdZh2Wf-Cl208A97.js.map → PUA-CJdZh2Wf-Dq9cN5fb.js.map} +1 -1
- package/dist/browser/editor-runtime/{accents-DUN0SGpR-CSL2xb4p.js → accents-DUN0SGpR-B_ruR3wv.js} +2 -2
- package/dist/browser/editor-runtime/{accents-DUN0SGpR-CSL2xb4p.js.map → accents-DUN0SGpR-B_ruR3wv.js.map} +1 -1
- package/dist/browser/editor-runtime/{accents-b-i-BonjkJko-EVxTqw83.js → accents-b-i-BonjkJko-D-GCAuO2.js} +2 -2
- package/dist/browser/editor-runtime/{accents-b-i-BonjkJko-EVxTqw83.js.map → accents-b-i-BonjkJko-D-GCAuO2.js.map} +1 -1
- package/dist/browser/editor-runtime/{alert-dialog-Cts5MhqS.js → alert-dialog-Dy8gk5Ar.js} +850 -824
- package/dist/browser/editor-runtime/alert-dialog-Dy8gk5Ar.js.map +1 -0
- package/dist/browser/editor-runtime/{arabic-DPsBZ_6r-sqRg0Opf.js → arabic-DPsBZ_6r-BGQI9F9N.js} +2 -2
- package/dist/browser/editor-runtime/{arabic-DPsBZ_6r-sqRg0Opf.js.map → arabic-DPsBZ_6r-BGQI9F9N.js.map} +1 -1
- package/dist/browser/{arrows-BdSPBhI1-CaSLM8Jq.js → editor-runtime/arrows-BdSPBhI1-BQYip5CC.js} +2 -2
- package/dist/browser/editor-runtime/{arrows-BdSPBhI1-DCY7B5al.js.map → arrows-BdSPBhI1-BQYip5CC.js.map} +1 -1
- package/dist/browser/editor-runtime/author/index.js +2 -2
- package/dist/browser/{braille-D67IP_T7-DcCpNvI7.js → editor-runtime/braille-D67IP_T7-Dk12kZlA.js} +2 -2
- package/dist/browser/editor-runtime/{braille-D67IP_T7-DuStQoil.js.map → braille-D67IP_T7-Dk12kZlA.js.map} +1 -1
- package/dist/browser/{braille-d-CP1DcXKB-CagpM2h3.js → editor-runtime/braille-d-CP1DcXKB-1B5UDT4o.js} +2 -2
- package/dist/browser/editor-runtime/{braille-d-CP1DcXKB-73JXJehf.js.map → braille-d-CP1DcXKB-1B5UDT4o.js.map} +1 -1
- package/dist/browser/editor-runtime/{calligraphic-D3g8rnJG-DxUPcaRR.js → calligraphic-D3g8rnJG-CRsiLA92.js} +2 -2
- package/dist/browser/editor-runtime/{calligraphic-D3g8rnJG-DxUPcaRR.js.map → calligraphic-D3g8rnJG-CRsiLA92.js.map} +1 -1
- package/dist/browser/editor-runtime/{cherokee-D9O6NlBu-BOsVUZ6N.js → cherokee-D9O6NlBu-BiOvWGXJ.js} +2 -2
- package/dist/browser/editor-runtime/{cherokee-D9O6NlBu-BOsVUZ6N.js.map → cherokee-D9O6NlBu-BiOvWGXJ.js.map} +1 -1
- package/dist/browser/editor-runtime/controller/index.js +1 -1
- package/dist/browser/{cyrillic-DJvnsbqS-CCsE6z_y.js → editor-runtime/cyrillic-DJvnsbqS-CJ4M4z7j.js} +2 -2
- package/dist/browser/editor-runtime/{cyrillic-DJvnsbqS-CscSxVdT.js.map → cyrillic-DJvnsbqS-CJ4M4z7j.js.map} +1 -1
- package/dist/browser/editor-runtime/{cyrillic-ss-C1kj2CQV-C5VdZLA_.js → cyrillic-ss-C1kj2CQV-BR76pUTX.js} +2 -2
- package/dist/browser/editor-runtime/{cyrillic-ss-C1kj2CQV-C5VdZLA_.js.map → cyrillic-ss-C1kj2CQV-BR76pUTX.js.map} +1 -1
- package/dist/browser/editor-runtime/delivery/index.js +4 -4
- package/dist/browser/editor-runtime/delivery/index.js.map +1 -1
- package/dist/browser/editor-runtime/{devanagari-DaEPBZJl-CVmeb5L5.js → devanagari-DaEPBZJl-CBmlh0H4.js} +2 -2
- package/dist/browser/editor-runtime/{devanagari-DaEPBZJl-CVmeb5L5.js.map → devanagari-DaEPBZJl-CBmlh0H4.js.map} +1 -1
- package/dist/browser/{double-struck-DMCx5OKu-BcjAROmC.js → editor-runtime/double-struck-DMCx5OKu-DwjIUn2h.js} +2 -2
- package/dist/browser/editor-runtime/{double-struck-DMCx5OKu-DHYtOSRO.js.map → double-struck-DMCx5OKu-DwjIUn2h.js.map} +1 -1
- package/dist/browser/editor-runtime/{fraktur-BhEkb_dS-BPcHP8xi.js → fraktur-BhEkb_dS-DxEr5HE_.js} +2 -2
- package/dist/browser/editor-runtime/{fraktur-BhEkb_dS-BPcHP8xi.js.map → fraktur-BhEkb_dS-DxEr5HE_.js.map} +1 -1
- package/dist/browser/editor-runtime/{greek-BUUqFJHy-De5zPzWS.js → greek-BUUqFJHy-BR6mW4Bb.js} +2 -2
- package/dist/browser/editor-runtime/{greek-BUUqFJHy-De5zPzWS.js.map → greek-BUUqFJHy-BR6mW4Bb.js.map} +1 -1
- package/dist/browser/editor-runtime/{greek-ss-BEMpAOeY--FtNYhoj.js → greek-ss-BEMpAOeY-Clm3O_CF.js} +2 -2
- package/dist/browser/editor-runtime/{greek-ss-BEMpAOeY--FtNYhoj.js.map → greek-ss-BEMpAOeY-Clm3O_CF.js.map} +1 -1
- package/dist/browser/editor-runtime/{hebrew-Bzl8nOEB-CoNwMHF8.js → hebrew-Bzl8nOEB-dvGlxc_L.js} +2 -2
- package/dist/browser/editor-runtime/{hebrew-Bzl8nOEB-CoNwMHF8.js.map → hebrew-Bzl8nOEB-dvGlxc_L.js.map} +1 -1
- package/dist/browser/editor-runtime/{latin-P9zTNHCd-1sWdmP4W.js → latin-P9zTNHCd-B07wMUIF.js} +2 -2
- package/dist/browser/editor-runtime/{latin-P9zTNHCd-1sWdmP4W.js.map → latin-P9zTNHCd-B07wMUIF.js.map} +1 -1
- package/dist/browser/{latin-b-PZ4kq6lM-Jnh3Ziq2.js → editor-runtime/latin-b-PZ4kq6lM-B7A15MI-.js} +2 -2
- package/dist/browser/editor-runtime/{latin-b-PZ4kq6lM-BeFsPmfC.js.map → latin-b-PZ4kq6lM-B7A15MI-.js.map} +1 -1
- package/dist/browser/editor-runtime/{latin-bi-CmN1JUsd-xWR1K7GM.js → latin-bi-CmN1JUsd-dwJDjrfa.js} +2 -2
- package/dist/browser/editor-runtime/{latin-bi-CmN1JUsd-xWR1K7GM.js.map → latin-bi-CmN1JUsd-dwJDjrfa.js.map} +1 -1
- package/dist/browser/{latin-i-CXBnDzSq-DwUIDu4T.js → editor-runtime/latin-i-CXBnDzSq-BF-R4RqA.js} +2 -2
- package/dist/browser/editor-runtime/{latin-i-CXBnDzSq-ma7M_y_e.js.map → latin-i-CXBnDzSq-BF-R4RqA.js.map} +1 -1
- package/dist/browser/{marrows-B7SUVmW5-B663X9Dk.js → editor-runtime/marrows-B7SUVmW5-CnguveVJ.js} +2 -2
- package/dist/browser/editor-runtime/{marrows-B7SUVmW5-DfPxiRKd.js.map → marrows-B7SUVmW5-CnguveVJ.js.map} +1 -1
- package/dist/browser/{math-vXr73lk6-Ke-1DpvX.js → editor-runtime/math-vXr73lk6-2kvq5EnX.js} +2 -2
- package/dist/browser/editor-runtime/{math-vXr73lk6-DStGxcHE.js.map → math-vXr73lk6-2kvq5EnX.js.map} +1 -1
- package/dist/browser/editor-runtime/{mathjax-2nQh1S7u-j5IZV1Ec.js → mathjax-2nQh1S7u-BZn0uAJL.js} +42 -42
- package/dist/browser/editor-runtime/{mathjax-2nQh1S7u-j5IZV1Ec.js.map → mathjax-2nQh1S7u-BZn0uAJL.js.map} +1 -1
- package/dist/browser/editor-runtime/{monospace-DoS6YAxd-Crj7DV-0.js → monospace-DoS6YAxd-eftIXJ2n.js} +2 -2
- package/dist/browser/editor-runtime/{monospace-DoS6YAxd-Crj7DV-0.js.map → monospace-DoS6YAxd-eftIXJ2n.js.map} +1 -1
- package/dist/browser/editor-runtime/{monospace-ex-DRTvVzi3-DerBkN4f.js → monospace-ex-DRTvVzi3-4b5g5BGp.js} +2 -2
- package/dist/browser/editor-runtime/{monospace-ex-DRTvVzi3-DerBkN4f.js.map → monospace-ex-DRTvVzi3-4b5g5BGp.js.map} +1 -1
- package/dist/browser/{monospace-l-DUCa7CxU-B4sljH02.js → editor-runtime/monospace-l-DUCa7CxU-R63VNSbH.js} +2 -2
- package/dist/browser/editor-runtime/{monospace-l-DUCa7CxU-BA-wm4Id.js.map → monospace-l-DUCa7CxU-R63VNSbH.js.map} +1 -1
- package/dist/browser/editor-runtime/{mshapes-CpjjJVqV-Buv9PwN9.js → mshapes-CpjjJVqV-CDMimwwa.js} +2 -2
- package/dist/browser/editor-runtime/{mshapes-CpjjJVqV-Buv9PwN9.js.map → mshapes-CpjjJVqV-CDMimwwa.js.map} +1 -1
- package/dist/browser/{phonetics-bqiQHE22-DVFnriJN.js → editor-runtime/phonetics-bqiQHE22-B0yOKp-D.js} +2 -2
- package/dist/browser/editor-runtime/{phonetics-bqiQHE22-DV0azxtZ.js.map → phonetics-bqiQHE22-B0yOKp-D.js.map} +1 -1
- package/dist/browser/{phonetics-ss-Q6DbUcOI-BFqB69OQ.js → editor-runtime/phonetics-ss-Q6DbUcOI-i6Pjzr1f.js} +2 -2
- package/dist/browser/editor-runtime/{phonetics-ss-Q6DbUcOI-D6jPUNXh.js.map → phonetics-ss-Q6DbUcOI-i6Pjzr1f.js.map} +1 -1
- package/dist/browser/editor-runtime/{sans-serif-Bp2jHFky-DL7aAvv9.js → sans-serif-Bp2jHFky-DlZpYLm2.js} +2 -2
- package/dist/browser/editor-runtime/{sans-serif-Bp2jHFky-DL7aAvv9.js.map → sans-serif-Bp2jHFky-DlZpYLm2.js.map} +1 -1
- package/dist/browser/editor-runtime/{sans-serif-b-BibGpEzd-2s7HO8Rr.js → sans-serif-b-BibGpEzd-CsLNDywX.js} +2 -2
- package/dist/browser/editor-runtime/{sans-serif-b-BibGpEzd-2s7HO8Rr.js.map → sans-serif-b-BibGpEzd-CsLNDywX.js.map} +1 -1
- package/dist/browser/editor-runtime/{sans-serif-bi-iTiG6eGH-DkWtHxk-.js → sans-serif-bi-iTiG6eGH-CSj1W9Nc.js} +2 -2
- package/dist/browser/editor-runtime/{sans-serif-bi-iTiG6eGH-DkWtHxk-.js.map → sans-serif-bi-iTiG6eGH-CSj1W9Nc.js.map} +1 -1
- package/dist/browser/{sans-serif-ex-C8xaAvoq-D56QnagM.js → editor-runtime/sans-serif-ex-C8xaAvoq-C8rngbM1.js} +2 -2
- package/dist/browser/editor-runtime/{sans-serif-ex-C8xaAvoq-CG80jxoE.js.map → sans-serif-ex-C8xaAvoq-C8rngbM1.js.map} +1 -1
- package/dist/browser/editor-runtime/{sans-serif-i-BU3dKyZu-B2FfJc3j.js → sans-serif-i-BU3dKyZu-DMGBmfVg.js} +2 -2
- package/dist/browser/editor-runtime/{sans-serif-i-BU3dKyZu-B2FfJc3j.js.map → sans-serif-i-BU3dKyZu-DMGBmfVg.js.map} +1 -1
- package/dist/browser/{sans-serif-r-CgglPh5w-Cl2qJh_v.js → editor-runtime/sans-serif-r-CgglPh5w-DQIrsCCP.js} +2 -2
- package/dist/browser/editor-runtime/{sans-serif-r-CgglPh5w-CP6M2j7a.js.map → sans-serif-r-CgglPh5w-DQIrsCCP.js.map} +1 -1
- package/dist/browser/editor-runtime/{script-ClY84mt2-DV6n8re3.js → script-ClY84mt2-XICZfC-5.js} +2 -2
- package/dist/browser/editor-runtime/{script-ClY84mt2-DV6n8re3.js.map → script-ClY84mt2-XICZfC-5.js.map} +1 -1
- package/dist/browser/{shapes-myFFmw20-EWnn_kFV.js → editor-runtime/shapes-myFFmw20-lLKMaVy8.js} +2 -2
- package/dist/browser/editor-runtime/{shapes-myFFmw20-CGuoW1JT.js.map → shapes-myFFmw20-lLKMaVy8.js.map} +1 -1
- package/dist/browser/{symbols-Cm-dpMqm-COwq8VTJ.js → editor-runtime/symbols-Cm-dpMqm-6qxJhc38.js} +2 -2
- package/dist/browser/editor-runtime/{symbols-Cm-dpMqm-CRkvgq0v.js.map → symbols-Cm-dpMqm-6qxJhc38.js.map} +1 -1
- package/dist/browser/{symbols-b-i-Ckpc29j--VC1JsR_G.js → editor-runtime/symbols-b-i-Ckpc29j--BvGjGO5H.js} +2 -2
- package/dist/browser/editor-runtime/{symbols-b-i-Ckpc29j--uQgy02FQ.js.map → symbols-b-i-Ckpc29j--BvGjGO5H.js.map} +1 -1
- package/dist/browser/editor-runtime/{variants-CXvLtZew-Pdf5_gJ5.js → variants-CXvLtZew-BHhdZwBt.js} +2 -2
- package/dist/browser/editor-runtime/{variants-CXvLtZew-Pdf5_gJ5.js.map → variants-CXvLtZew-BHhdZwBt.js.map} +1 -1
- package/dist/browser/{fraktur-BhEkb_dS-CEA9kMQ5.js → fraktur-BhEkb_dS-BrfGA3ld.js} +2 -2
- package/dist/browser/{fraktur-BhEkb_dS-CEA9kMQ5.js.map → fraktur-BhEkb_dS-BrfGA3ld.js.map} +1 -1
- package/dist/browser/{greek-BUUqFJHy-CY-b8WSz.js → greek-BUUqFJHy-0kYlH1Vg.js} +2 -2
- package/dist/browser/{greek-BUUqFJHy-CY-b8WSz.js.map → greek-BUUqFJHy-0kYlH1Vg.js.map} +1 -1
- package/dist/browser/{greek-ss-BEMpAOeY-DLhvU9-q.js → greek-ss-BEMpAOeY-DZkIasKc.js} +2 -2
- package/dist/browser/{greek-ss-BEMpAOeY-DLhvU9-q.js.map → greek-ss-BEMpAOeY-DZkIasKc.js.map} +1 -1
- package/dist/browser/{hebrew-Bzl8nOEB-CC3ggk7L.js → hebrew-Bzl8nOEB-DUhdpHZ9.js} +2 -2
- package/dist/browser/{hebrew-Bzl8nOEB-CC3ggk7L.js.map → hebrew-Bzl8nOEB-DUhdpHZ9.js.map} +1 -1
- package/dist/browser/{latin-P9zTNHCd-SDVFDl3_.js → latin-P9zTNHCd-Bm8ZXq4o.js} +2 -2
- package/dist/browser/{latin-P9zTNHCd-SDVFDl3_.js.map → latin-P9zTNHCd-Bm8ZXq4o.js.map} +1 -1
- package/dist/browser/{editor-runtime/latin-b-PZ4kq6lM-BeFsPmfC.js → latin-b-PZ4kq6lM-C04QMMXf.js} +2 -2
- package/dist/browser/{latin-b-PZ4kq6lM-Jnh3Ziq2.js.map → latin-b-PZ4kq6lM-C04QMMXf.js.map} +1 -1
- package/dist/browser/{latin-bi-CmN1JUsd-BCfdAlue.js → latin-bi-CmN1JUsd-DBo1-xay.js} +2 -2
- package/dist/browser/{latin-bi-CmN1JUsd-BCfdAlue.js.map → latin-bi-CmN1JUsd-DBo1-xay.js.map} +1 -1
- package/dist/browser/{editor-runtime/latin-i-CXBnDzSq-ma7M_y_e.js → latin-i-CXBnDzSq-DDGexG8L.js} +2 -2
- package/dist/browser/{latin-i-CXBnDzSq-DwUIDu4T.js.map → latin-i-CXBnDzSq-DDGexG8L.js.map} +1 -1
- package/dist/browser/{editor-runtime/marrows-B7SUVmW5-DfPxiRKd.js → marrows-B7SUVmW5-DQMJPwwp.js} +2 -2
- package/dist/browser/{marrows-B7SUVmW5-B663X9Dk.js.map → marrows-B7SUVmW5-DQMJPwwp.js.map} +1 -1
- package/dist/browser/{editor-runtime/math-vXr73lk6-DStGxcHE.js → math-vXr73lk6-DcSMskkB.js} +2 -2
- package/dist/browser/{math-vXr73lk6-Ke-1DpvX.js.map → math-vXr73lk6-DcSMskkB.js.map} +1 -1
- package/dist/browser/{mathjax-2nQh1S7u-Ba3cddQp.js → mathjax-2nQh1S7u-CKYiyUcL.js} +42 -42
- package/dist/browser/{mathjax-2nQh1S7u-Ba3cddQp.js.map → mathjax-2nQh1S7u-CKYiyUcL.js.map} +1 -1
- package/dist/browser/{monospace-DoS6YAxd-WhX3Z2xy.js → monospace-DoS6YAxd-D4qlG_Lr.js} +2 -2
- package/dist/browser/{monospace-DoS6YAxd-WhX3Z2xy.js.map → monospace-DoS6YAxd-D4qlG_Lr.js.map} +1 -1
- package/dist/browser/{monospace-ex-DRTvVzi3-BZJSP_pR.js → monospace-ex-DRTvVzi3-BAZz3mjF.js} +2 -2
- package/dist/browser/{monospace-ex-DRTvVzi3-BZJSP_pR.js.map → monospace-ex-DRTvVzi3-BAZz3mjF.js.map} +1 -1
- package/dist/browser/{editor-runtime/monospace-l-DUCa7CxU-BA-wm4Id.js → monospace-l-DUCa7CxU-BySwdTci.js} +2 -2
- package/dist/browser/{monospace-l-DUCa7CxU-B4sljH02.js.map → monospace-l-DUCa7CxU-BySwdTci.js.map} +1 -1
- package/dist/browser/{mshapes-CpjjJVqV-jFJUQU07.js → mshapes-CpjjJVqV-DOsj1Pou.js} +2 -2
- package/dist/browser/{mshapes-CpjjJVqV-jFJUQU07.js.map → mshapes-CpjjJVqV-DOsj1Pou.js.map} +1 -1
- package/dist/browser/{editor-runtime/phonetics-bqiQHE22-DV0azxtZ.js → phonetics-bqiQHE22-3V05chnx.js} +2 -2
- package/dist/browser/{phonetics-bqiQHE22-DVFnriJN.js.map → phonetics-bqiQHE22-3V05chnx.js.map} +1 -1
- package/dist/browser/{editor-runtime/phonetics-ss-Q6DbUcOI-D6jPUNXh.js → phonetics-ss-Q6DbUcOI-B2W_wsDV.js} +2 -2
- package/dist/browser/{phonetics-ss-Q6DbUcOI-BFqB69OQ.js.map → phonetics-ss-Q6DbUcOI-B2W_wsDV.js.map} +1 -1
- package/dist/browser/{sans-serif-Bp2jHFky-Bnf9j3SF.js → sans-serif-Bp2jHFky-BY3LlfbN.js} +2 -2
- package/dist/browser/{sans-serif-Bp2jHFky-Bnf9j3SF.js.map → sans-serif-Bp2jHFky-BY3LlfbN.js.map} +1 -1
- package/dist/browser/{sans-serif-b-BibGpEzd-DafAGW7f.js → sans-serif-b-BibGpEzd-CNRfxx7n.js} +2 -2
- package/dist/browser/{sans-serif-b-BibGpEzd-DafAGW7f.js.map → sans-serif-b-BibGpEzd-CNRfxx7n.js.map} +1 -1
- package/dist/browser/{sans-serif-bi-iTiG6eGH-DCAfTg08.js → sans-serif-bi-iTiG6eGH-Bi8xy10d.js} +2 -2
- package/dist/browser/{sans-serif-bi-iTiG6eGH-DCAfTg08.js.map → sans-serif-bi-iTiG6eGH-Bi8xy10d.js.map} +1 -1
- package/dist/browser/{editor-runtime/sans-serif-ex-C8xaAvoq-CG80jxoE.js → sans-serif-ex-C8xaAvoq-DVG1cTYF.js} +2 -2
- package/dist/browser/{sans-serif-ex-C8xaAvoq-D56QnagM.js.map → sans-serif-ex-C8xaAvoq-DVG1cTYF.js.map} +1 -1
- package/dist/browser/{sans-serif-i-BU3dKyZu-DgwmPTOL.js → sans-serif-i-BU3dKyZu-L8_wLQQg.js} +2 -2
- package/dist/browser/{sans-serif-i-BU3dKyZu-DgwmPTOL.js.map → sans-serif-i-BU3dKyZu-L8_wLQQg.js.map} +1 -1
- package/dist/browser/{editor-runtime/sans-serif-r-CgglPh5w-CP6M2j7a.js → sans-serif-r-CgglPh5w-Du43WAOZ.js} +2 -2
- package/dist/browser/{sans-serif-r-CgglPh5w-Cl2qJh_v.js.map → sans-serif-r-CgglPh5w-Du43WAOZ.js.map} +1 -1
- package/dist/browser/{script-ClY84mt2-CCr6Vy1P.js → script-ClY84mt2-CWoaT9N5.js} +2 -2
- package/dist/browser/{script-ClY84mt2-CCr6Vy1P.js.map → script-ClY84mt2-CWoaT9N5.js.map} +1 -1
- package/dist/browser/{editor-runtime/shapes-myFFmw20-CGuoW1JT.js → shapes-myFFmw20-z483QwwD.js} +2 -2
- package/dist/browser/{shapes-myFFmw20-EWnn_kFV.js.map → shapes-myFFmw20-z483QwwD.js.map} +1 -1
- package/dist/browser/{editor-runtime/symbols-Cm-dpMqm-CRkvgq0v.js → symbols-Cm-dpMqm-3n3sLaUf.js} +2 -2
- package/dist/browser/{symbols-Cm-dpMqm-COwq8VTJ.js.map → symbols-Cm-dpMqm-3n3sLaUf.js.map} +1 -1
- package/dist/browser/{editor-runtime/symbols-b-i-Ckpc29j--uQgy02FQ.js → symbols-b-i-Ckpc29j--eN8h0IW1.js} +2 -2
- package/dist/browser/{symbols-b-i-Ckpc29j--VC1JsR_G.js.map → symbols-b-i-Ckpc29j--eN8h0IW1.js.map} +1 -1
- package/dist/browser/{variants-CXvLtZew-BH95_zNG.js → variants-CXvLtZew-DbT6EZVn.js} +2 -2
- package/dist/browser/{variants-CXvLtZew-BH95_zNG.js.map → variants-CXvLtZew-DbT6EZVn.js.map} +1 -1
- package/dist/index.iife.js +22 -22
- package/dist/schemas/configuration.schema.json +1 -1
- package/dist/schemas/model.schema.json +1 -1
- package/dist/schemas/session.schema.json +1 -1
- package/package.json +17 -17
- package/dist/browser/alert-dialog-BMfvOX4V.js.map +0 -1
- package/dist/browser/editor-runtime/alert-dialog-Cts5MhqS.js.map +0 -1
package/dist/index.iife.js
CHANGED
|
@@ -82,7 +82,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
82
82
|
M-114.2,130c-7.4,0-13.5,6.1-13.5,13.5s6.1,13.5,13.5,13.5s13.5-6.1,13.5-13.5S-106.8,130-114.2,130z`,fill:n}),(0,V.jsx)(`polygon`,{points:`-114.8,150.7 -121.6,144.8 -119,141.8 -115.9,144.5 -111.3,136.3 -107.8,138.2`,fill:t})]});Gl.propTypes={bgFill:z.string.isRequired,fgFill:z.string.isRequired,borderFill:z.string.isRequired};var Kl=J(`div`)(({size:e})=>({width:e||`25px`,height:e||`25px`})),ql=({open:e=!1,size:t})=>(0,V.jsx)(Kl,{size:t,children:e?(0,V.jsx)(Wl,{bgFill:`#bce2ff`,fgFill:`#1a9cff`}):(0,V.jsx)(Gl,{bgFill:`white`,fgFill:`#1a9cff`,borderFill:`#bce2ff`})});ql.propTypes={open:z.bool,size:z.string};var Jl=({fill:e})=>(0,V.jsxs)(`g`,{transform:`translate(0.5, 0.5)`,children:[(0,V.jsx)(`rect`,{x:`11`,y:`17.3`,transform:`matrix(0.7071 -0.7071 0.7071 0.7071 -7.852 19.2507)`,width:`16.6`,height:`3.7`,fill:e}),(0,V.jsx)(`rect`,{x:`17.4`,y:`10.7`,transform:`matrix(0.7071 -0.7071 0.7071 0.7071 -7.8175 19.209)`,width:`3.7`,height:`16.6`,fill:e})]});Jl.propTypes={fill:z.string.isRequired};var Yl=({fill:e})=>(0,V.jsxs)(`g`,{transform:`translate(1,0)`,children:[(0,V.jsx)(`rect`,{x:`21`,y:`12.9`,width:`3.7`,height:`4.7`,fill:e}),(0,V.jsx)(`rect`,{x:`12.7`,y:`12.9`,width:`3.7`,height:`4.7`,fill:e}),(0,V.jsx)(`rect`,{x:`12.2`,y:`22.5`,width:`13`,height:`3.3`,fill:e})]});Yl.propTypes={fill:z.string.isRequired};var Xl=nr(Jl,Yl);Xl.propTypes={iconSet:z.oneOf([`emoji`,`check`]),shape:z.oneOf([`round`,`square`]),category:z.oneOf([`feedback`,void 0]),open:z.bool,fg:z.string,bg:z.string,size:z.oneOfType([z.string,z.number])},Xl.defaultProps={iconSet:`check`,shape:`round`,category:void 0,open:!1,fg:`#fcb733`,bg:`#fbf2e3`,size:30};var Zl=({fill:e})=>(0,V.jsxs)(`g`,{children:[(0,V.jsx)(`rect`,{x:`19.3`,y:`10.3`,width:`4.5`,height:`12.7`,fill:e}),(0,V.jsx)(`rect`,{x:`19.3`,y:`26.2`,width:`4.5`,height:`4.5`,fill:e})]});Zl.propTypes={fill:z.string.isRequired};var Ql=({fill:e})=>(0,V.jsx)(`polygon`,{points:`14.8,4.5 5.6,13.8 5.6,27 14.8,36.5 28.1,36.5 37.6,27 37.6,13.8 28.1,4.5`,fill:e});Ql.propTypes={fill:z.string.isRequired};var $l=({fill:e})=>(0,V.jsxs)(`g`,{children:[(0,V.jsx)(`rect`,{x:`23.8`,y:`15`,width:`3.5`,height:`4.4`,fill:e}),(0,V.jsx)(`rect`,{x:`16`,y:`15`,width:`3.5`,height:`4.4`,fill:e}),(0,V.jsx)(`path`,{d:`M24.2,27.1h-5.1c-0.8,0-1.5-0.7-1.5-1.5v0c0-0.8,0.7-1.5,1.5-1.5h5.1c0.8,0,1.5,0.7,1.5,1.5v0
|
|
83
83
|
C25.7,26.4,25,27.1,24.2,27.1z`,fill:e})]});$l.propTypes={fill:z.string.isRequired};var eu=class extends B.Component{constructor(e){super(e);let{fg:t=`#464146`,bg:n=`white`}=this.props;this.icons={check:(0,V.jsxs)(Zn,{children:[(0,V.jsx)(Ql,{fill:n}),(0,V.jsx)(Zl,{fill:t})]}),emoji:(0,V.jsxs)(Zn,{children:[(0,V.jsx)(Ql,{fill:n}),(0,V.jsx)($l,{fill:t})]}),feedback:{check:(0,V.jsxs)(Zn,{children:[(0,V.jsx)(Ql,{fill:n}),(0,V.jsx)($l,{fill:t})]}),emoji:(0,V.jsxs)(Zn,{children:[(0,V.jsx)(Ql,{fill:n}),(0,V.jsx)($l,{fill:t})]}),square:{check:(0,V.jsxs)(Zn,{children:[(0,V.jsx)(Ql,{fill:n}),(0,V.jsx)(Zl,{fill:t})]}),emoji:(0,V.jsxs)(Zn,{children:[(0,V.jsx)(Ql,{fill:n}),(0,V.jsx)($l,{fill:t})]}),open:{check:(0,V.jsx)(Zn,{children:(0,V.jsx)(Zl,{fill:n})}),emoji:(0,V.jsx)(Zn,{children:(0,V.jsx)($l,{fill:n})})}}}}}render(){let{iconSet:e,category:t,shape:n,open:r}=this.props;return t===void 0?this.icons[e]:n===void 0?this.icons.feedback[e]:r===!0?this.icons.feedback.square.open[e]:this.icons.feedback.square[e]}};eu.propTypes={iconSet:z.oneOf([`emoji`,`check`,void 0]),shape:z.oneOf([`square`,void 0]),category:z.oneOf([`feedback`,void 0]),open:z.bool,fg:z.string,bg:z.string},eu.defaultProps={iconSet:`check`,shape:void 0,category:void 0,open:!1,fg:`#464146`,bg:`white`};var tu=({fill:e})=>(0,V.jsxs)(`g`,{transform:`translate(0, 0)`,children:[(0,V.jsx)(`polygon`,{points:`27.5,13.4 23.9,11.4 15.9,25.8 19.1,28.6`,fill:e}),(0,V.jsx)(`polygon`,{points:`16.2,20.6 14.4,19.2 11.8,22.3 14.1,24.3`,fill:e})]});tu.propTypes={fill:z.string.isRequired};var nu=({fill:e})=>(0,V.jsxs)(`g`,{transform:`translate(2, 0)`,children:[(0,V.jsx)(`rect`,{x:`20.6`,y:`11.8`,width:`4`,height:`5`,fill:e}),(0,V.jsx)(`rect`,{x:`11.5`,y:`11.8`,width:`4`,height:`5`,fill:e}),(0,V.jsx)(`rect`,{x:`10.9`,y:`22.9`,transform:`matrix(0.9794 -0.2019 0.2019 0.9794 -4.6237 4.1559)`,width:`14.3`,height:`3.7`,fill:e})]});nu.propTypes={fill:z.string.isRequired};var ru=nr(tu,nu);ru.propTypes={iconSet:z.oneOf([`emoji`,`check`]),shape:z.oneOf([`round`,`square`]),category:z.oneOf([`feedback`,void 0]),open:z.bool,fg:z.string,bg:z.string,size:z.oneOfType([z.string,z.number])},ru.defaultProps={iconSet:`check`,shape:`round`,category:void 0,open:!1,fg:`#4aaf46`,bg:`#c1e1ac`,size:30};function iu(e){return typeof e==`string`}function au(){return Qo}function ou(e){return qs(e)}function su(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout(()=>{e.apply(this,r)},t)}return r.clear=()=>{clearTimeout(n)},r}var cu=su;function lu(e){return e&&e.ownerDocument||document}var uu=lu;function du(e){return lu(e).defaultView||window}var fu=du,pu={};function mu(e,t){let n=B.useRef(pu);return n.current===pu&&(n.current=e(t)),n}var hu=[];function gu(e){B.useEffect(e,hu)}var _u=class e{static create(){return new e}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear};function vu(){let e=mu(_u.create).current;return gu(e.disposeEffect),e}function yu(e){return e?.ref||null}function bu(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function xu(e,t){return xu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},xu(e,t)}function Su(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,xu(e,t)}function Cu(e,t){return e.classList?!!t&&e.classList.contains(t):(` `+(e.className.baseVal||e.className)+` `).indexOf(` `+t+` `)!==-1}function wu(e,t){e.classList?e.classList.add(t):Cu(e,t)||(typeof e.className==`string`?e.className=e.className+` `+t:e.setAttribute(`class`,(e.className&&e.className.baseVal||``)+` `+t))}function Tu(e,t){return e.replace(RegExp(`(^|\\s)`+t+`(?:\\s|$)`,`g`),`$1`).replace(/\s+/g,` `).replace(/^\s*|\s*$/g,``)}function Eu(e,t){e.classList?e.classList.remove(t):typeof e.className==`string`?e.className=Tu(e.className,t):e.setAttribute(`class`,Tu(e.className&&e.className.baseVal||``,t))}var Du={disabled:!1},Ou=B.createContext(null),ku=function(e){return e.scrollTop},Au=l(h()),ju=`unmounted`,Mu=`exited`,Nu=`entering`,Pu=`entered`,Fu=`exiting`,Iu=function(e){Su(t,e);function t(t,n){var r=e.call(this,t,n)||this,i=n,a=i&&!i.isMounting?t.enter:t.appear,o;return r.appearStatus=null,t.in?a?(o=Mu,r.appearStatus=Nu):o=Pu:o=t.unmountOnExit||t.mountOnEnter?ju:Mu,r.state={status:o},r.nextCallback=null,r}t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===`unmounted`?{status:Mu}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==`entering`&&n!==`entered`&&(t=Nu):(n===`entering`||n===`entered`)&&(t=Fu)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e=this.props.timeout,t=n=r=e,n,r;return e!=null&&typeof e!=`number`&&(t=e.exit,n=e.enter,r=e.appear===void 0?n:e.appear),{exit:t,enter:n,appear:r}},n.updateStatus=function(e,t){if(e===void 0&&(e=!1),t!==null){if(this.cancelNextCallback(),t===`entering`){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:Au.findDOMNode(this);n&&ku(n)}this.performEnter(e)}else this.performExit()}else this.props.unmountOnExit&&this.state.status===`exited`&&this.setState({status:ju})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[Au.findDOMNode(this),r],a=i[0],o=i[1],s=this.getTimeouts(),c=r?s.appear:s.enter;!e&&!n||Du.disabled?this.safeSetState({status:Pu},function(){t.props.onEntered(a)}):(this.props.onEnter(a,o),this.safeSetState({status:Nu},function(){t.props.onEntering(a,o),t.onTransitionEnd(c,function(){t.safeSetState({status:Pu},function(){t.props.onEntered(a,o)})})}))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:Au.findDOMNode(this);!t||Du.disabled?this.safeSetState({status:Mu},function(){e.props.onExited(r)}):(this.props.onExit(r),this.safeSetState({status:Fu},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:Mu},function(){e.props.onExited(r)})})}))},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:Au.findDOMNode(this),r=e==null&&!this.props.addEndListener;if(!n||r)setTimeout(this.nextCallback,0);else{if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=i[0],o=i[1];this.props.addEndListener(a,o)}e!=null&&setTimeout(this.nextCallback,e)}},n.render=function(){var e=this.state.status;if(e===`unmounted`)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var r=bu(t,[`children`,`in`,`mountOnEnter`,`unmountOnExit`,`appear`,`enter`,`exit`,`timeout`,`addEndListener`,`onEnter`,`onEntering`,`onEntered`,`onExit`,`onExiting`,`onExited`,`nodeRef`]);return B.createElement(Ou.Provider,{value:null},typeof n==`function`?n(e,r):B.cloneElement(B.Children.only(n),r))},t}(B.Component);Iu.contextType=Ou,Iu.propTypes={};function Lu(){}Iu.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Lu,onEntering:Lu,onEntered:Lu,onExit:Lu,onExiting:Lu,onExited:Lu},Iu.UNMOUNTED=ju,Iu.EXITED=Mu,Iu.ENTERING=Nu,Iu.ENTERED=Pu,Iu.EXITING=Fu;var Ru=function(e,t){return e&&t&&t.split(` `).forEach(function(t){return wu(e,t)})},zu=function(e,t){return e&&t&&t.split(` `).forEach(function(t){return Eu(e,t)})},Bu=function(e){Su(t,e);function t(){for(var t,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return t=e.call.apply(e,[this].concat(r))||this,t.appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),i=r[0],a=r[1];t.removeClasses(i,`exit`),t.addClass(i,a?`appear`:`enter`,`base`),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),i=r[0],a=r[1]?`appear`:`enter`;t.addClass(i,a,`active`),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),i=r[0],a=r[1]?`appear`:`enter`;t.removeClasses(i,a),t.addClass(i,a,`done`),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,`appear`),t.removeClasses(n,`enter`),t.addClass(n,`exit`,`base`),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,`exit`,`active`),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,`exit`),t.addClass(n,`exit`,`done`),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r=typeof n==`string`,i=r&&n?n+`-`:``,a=r?``+i+e:n[e];return{baseClassName:a,activeClassName:r?a+`-active`:n[e+`Active`],doneClassName:r?a+`-done`:n[e+`Done`]}},t}var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+`ClassName`],i=this.getClassNames(`enter`).doneClassName;t===`appear`&&n===`done`&&i&&(r+=` `+i),n===`active`&&e&&ku(e),r&&(this.appliedClasses[t][n]=r,Ru(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,i=n.active,a=n.done;this.appliedClasses[t]={},r&&zu(e,r),i&&zu(e,i),a&&zu(e,a)},n.render=function(){var e=this.props;e.classNames;var t=bu(e,[`classNames`]);return B.createElement(Iu,cr({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(B.Component);Bu.defaultProps={classNames:``},Bu.propTypes={};function Vu(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function Hu(e,t){var n=function(e){return t&&(0,B.isValidElement)(e)?t(e):e},r=Object.create(null);return e&&B.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=n(e)}),r}function Uu(e,t){e||={},t||={};function n(n){return n in t?t[n]:e[n]}var r=Object.create(null),i=[];for(var a in e)a in t?i.length&&(r[a]=i,i=[]):i.push(a);var o,s={};for(var c in t){if(r[c])for(o=0;o<r[c].length;o++){var l=r[c][o];s[r[c][o]]=n(l)}s[c]=n(c)}for(o=0;o<i.length;o++)s[i[o]]=n(i[o]);return s}function Wu(e,t,n){return n[t]==null?e.props[t]:n[t]}function Gu(e,t){return Hu(e.children,function(n){return(0,B.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:Wu(n,`appear`,e),enter:Wu(n,`enter`,e),exit:Wu(n,`exit`,e)})})}function Ku(e,t,n){var r=Hu(e.children),i=Uu(t,r);return Object.keys(i).forEach(function(a){var o=i[a];if((0,B.isValidElement)(o)){var s=a in t,c=a in r,l=t[a],u=(0,B.isValidElement)(l)&&!l.props.in;c&&(!s||u)?i[a]=(0,B.cloneElement)(o,{onExited:n.bind(null,o),in:!0,exit:Wu(o,`exit`,e),enter:Wu(o,`enter`,e)}):!c&&s&&!u?i[a]=(0,B.cloneElement)(o,{in:!1}):c&&s&&(0,B.isValidElement)(l)&&(i[a]=(0,B.cloneElement)(o,{onExited:n.bind(null,o),in:l.props.in,exit:Wu(o,`exit`,e),enter:Wu(o,`enter`,e)}))}}),i}var qu=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},Ju={component:`div`,childFactory:function(e){return e}},Yu=function(e){Su(t,e);function t(t,n){var r=e.call(this,t,n)||this;return r.state={contextValue:{isMounting:!0},handleExited:r.handleExited.bind(Vu(r)),firstRender:!0},r}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?Gu(e,r):Ku(e,n,r),firstRender:!1}},n.handleExited=function(e,t){var n=Hu(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=cr({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=bu(e,[`component`,`childFactory`]),i=this.state.contextValue,a=qu(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,t===null?B.createElement(Ou.Provider,{value:i},a):B.createElement(Ou.Provider,{value:i},B.createElement(t,r,a))},t}(B.Component);Yu.propTypes={},Yu.defaultProps=Ju;var Xu=e=>e.scrollTop;function Zu(e,t){return n=>{if(t){let r=e.current;n===void 0?t(r):t(r,n)}}}function Qu(e,t,n,r,i,a){let o=e===`exited`&&!t?r:n[e]||n.exited;return i||a?{...o,...i,...a}:o}function $u(e,t){let{timeout:n,easing:r,style:i={}}=e;return{duration:i.transitionDuration??(typeof n==`number`?n:n[t.mode]||0),easing:i.transitionTimingFunction??(typeof r==`object`?r[t.mode]:r),delay:i.transitionDelay}}function ed(...e){let t=B.useRef(void 0),n=B.useCallback(t=>{let n=e.map(e=>{if(e==null)return null;if(typeof e==`function`){let n=e,r=n(t);return typeof r==`function`?r:()=>{n(null)}}return e.current=t,()=>{e.current=null}});return()=>{n.forEach(e=>e?.())}},e);return B.useMemo(()=>e.every(e=>e==null)?null:e=>{t.current&&=(t.current(),void 0),e!=null&&(t.current=n(e))},e)}var td=ed;function nd(e){return`scale(${e}, ${e**2})`}var rd={entering:{opacity:1,transform:nd(1)},entered:{opacity:1,transform:`none`},exiting:{opacity:0,transform:nd(.75)},exited:{opacity:0,transform:nd(.75)}},id={opacity:0,transform:nd(.75),visibility:`hidden`},ad=B.forwardRef(function(e,t){let{addEndListener:n,appear:r=!0,children:i,easing:a,in:o,onEnter:s,onEntered:c,onEntering:l,onExit:u,onExited:d,onExiting:f,style:p,timeout:m=`auto`,...h}=e,g=vu(),_=B.useRef(),v=Pl(),y=B.useRef(null),b=td(y,yu(i),t),x=Zu(y,l),S=Zu(y,(e,t)=>{Xu(e);let{duration:n,delay:r,easing:i}=$u({style:p,timeout:m,easing:a},{mode:`enter`}),o;m===`auto`?(o=v.transitions.getAutoHeightDuration(e.clientHeight),_.current=o):o=n,e.style.transition=[v.transitions.create(`opacity`,{duration:o,delay:r}),v.transitions.create(`transform`,{duration:o*.666,delay:r,easing:i})].join(`,`),s&&s(e,t)}),C=Zu(y,c),w=Zu(y,f),T=Zu(y,e=>{let{duration:t,delay:n,easing:r}=$u({style:p,timeout:m,easing:a},{mode:`exit`}),i;m===`auto`?(i=v.transitions.getAutoHeightDuration(e.clientHeight),_.current=i):i=t,e.style.transition=[v.transitions.create(`opacity`,{duration:i,delay:n}),v.transitions.create(`transform`,{duration:i*.666,delay:n||i*.333,easing:r})].join(`,`),e.style.opacity=0,e.style.transform=nd(.75),u&&u(e)}),E=Zu(y,e=>{e.style.transition=``,d&&d(e)});return(0,V.jsx)(Iu,{appear:r,in:o,nodeRef:y,onEnter:S,onEntered:C,onEntering:x,onExit:T,onExited:E,onExiting:w,addEndListener:e=>{m===`auto`&&g.start(_.current||0,e),n&&n(y.current,e)},timeout:m===`auto`?null:m,...h,children:(e,{ownerState:t,...n})=>{let r=Qu(e,o,rd,id,p,i.props.style);return B.cloneElement(i,{style:r,ref:b,...n})}})});ad&&(ad.muiSupportAuto=!0);function od(e=window){let t=e.document.documentElement.clientWidth;return e.innerWidth-t}function sd(e){let t=lu(e);return t.body===e?du(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function cd(e,t){t?e.setAttribute(`aria-hidden`,`true`):e.removeAttribute(`aria-hidden`)}function ld(e){return parseFloat(du(e).getComputedStyle(e).paddingRight)||0}function ud(e){let t=[`TEMPLATE`,`SCRIPT`,`STYLE`,`LINK`,`MAP`,`META`,`NOSCRIPT`,`PICTURE`,`COL`,`COLGROUP`,`PARAM`,`SLOT`,`SOURCE`,`TRACK`].includes(e.tagName),n=e.tagName===`INPUT`&&e.getAttribute(`type`)===`hidden`;return t||n}function dd(e,t,n,r,i){let a=[t,n,...r];[].forEach.call(e.children,e=>{let t=!a.includes(e),n=!ud(e);t&&n&&cd(e,i)})}function fd(e,t){let n=-1;return e.some((e,r)=>t(e)?(n=r,!0):!1),n}function pd(e,t){let n=[],r=e.container;if(!t.disableScrollLock){if(sd(r)){let e=od(du(r));n.push({value:r.style.paddingRight,property:`padding-right`,el:r}),r.style.paddingRight=`${ld(r)+e}px`;let t=lu(r).querySelectorAll(`.mui-fixed`);[].forEach.call(t,t=>{n.push({value:t.style.paddingRight,property:`padding-right`,el:t}),t.style.paddingRight=`${ld(t)+e}px`})}let e;if(r.parentNode instanceof DocumentFragment)e=lu(r).body;else{let t=r.parentElement,n=du(r);e=t?.nodeName===`HTML`&&n.getComputedStyle(t).overflowY===`scroll`?t:r}n.push({value:e.style.overflow,property:`overflow`,el:e},{value:e.style.overflowX,property:`overflow-x`,el:e},{value:e.style.overflowY,property:`overflow-y`,el:e}),e.style.overflow=`hidden`}return()=>{n.forEach(({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)})}}function md(e){let t=[];return[].forEach.call(e.children,e=>{e.getAttribute(`aria-hidden`)===`true`&&t.push(e)}),t}var hd=class{constructor(){this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(n!==-1)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&cd(e.modalRef,!1);let r=md(t);dd(t,e.mount,e.modalRef,r,!0);let i=fd(this.containers,e=>e.container===t);return i===-1?(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n):(this.containers[i].modals.push(e),n)}mount(e,t){let n=fd(this.containers,t=>t.modals.includes(e)),r=this.containers[n];r.restore||=pd(r,t)}remove(e,t=!0){let n=this.modals.indexOf(e);if(n===-1)return n;let r=fd(this.containers,t=>t.modals.includes(e)),i=this.containers[r];if(i.modals.splice(i.modals.indexOf(e),1),this.modals.splice(n,1),i.modals.length===0)i.restore&&i.restore(),e.modalRef&&cd(e.modalRef,t),dd(i.container,e.mount,e.modalRef,i.hiddenSiblings,!1),this.containers.splice(r,1);else{let e=i.modals[i.modals.length-1];e.modalRef&&cd(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function gd(e,t){if(!e||!t)return!1;if(e.contains(t))return!0;let n=t.getRootNode?.();if(n&&n instanceof ShadowRoot){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode??n.host??null}}return!1}var _d=gd;function vd(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}var yd=vd,bd=`data-mui-focusable`;function xd(e){return e?e.hasAttribute(`data-mui-focusable`)?e:e.querySelector(`[${bd}]`):null}var Sd=[`input`,`select`,`textarea`,`a[href]`,`button`,`[tabindex]`,`audio[controls]`,`video[controls]`,`[contenteditable]:not([contenteditable="false"])`].join(`,`);function Cd(e){let t=parseInt(e.getAttribute(`tabindex`)||``,10);return Number.isNaN(t)?e.contentEditable===`true`||(e.nodeName===`AUDIO`||e.nodeName===`VIDEO`||e.nodeName===`DETAILS`)&&e.getAttribute(`tabindex`)===null?0:e.tabIndex:t}function wd(e){if(e.tagName!==`INPUT`||e.type!==`radio`||!e.name)return!1;let t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`),n=t(`[name="${e.name}"]:checked`);return n||=t(`[name="${e.name}"]`),n!==e}function Td(e){return!(e.disabled||e.tagName===`INPUT`&&e.type===`hidden`||wd(e))}function Ed(e){let t=[],n=[];return Array.from(e.querySelectorAll(Sd)).forEach((e,r)=>{let i=Cd(e);i!==-1&&Td(e)&&(i===0?t.push(e):n.push({documentOrder:r,tabIndex:i,node:e}))}),n.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function Dd(){return!0}function Od(e){let{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:a=Ed,isEnabled:o=Dd,open:s}=e,c=B.useRef(!1),l=B.useRef(null),u=B.useRef(null),d=B.useRef(null),f=B.useRef(null),p=B.useRef(!1),m=B.useRef(null),h=ed(yu(t),m),g=B.useRef(null);B.useEffect(()=>{s&&m.current&&(p.current=!n)},[n,s]),B.useEffect(()=>{if(c.current=!1,!s||!m.current)return;let e=yd(lu(m.current)),t=xd(m.current)??m.current;return _d(m.current,e)||(t.hasAttribute(`tabIndex`)||t.setAttribute(`tabIndex`,`-1`),p.current&&t.focus()),()=>{i||(d.current&&d.current.focus&&(c.current=!0,d.current.focus()),d.current=null)}},[s]),B.useEffect(()=>{if(!s||!m.current)return;let e=lu(m.current),t=t=>{g.current=t,!r&&o()&&t.key===`Tab`&&yd(e)===m.current&&t.shiftKey&&(c.current=!0,u.current&&u.current.focus())},n=()=>{let t=m.current;if(t===null)return;let n=yd(e);if(!e.hasFocus()||!o()||c.current){c.current=!1;return}if(_d(t,n)||r&&n!==l.current&&n!==u.current)return;if(n!==f.current)f.current=null;else if(f.current!==null)return;if(!p.current)return;let i=[];if((n===l.current||n===u.current)&&(i=a(m.current)),i.length>0){let e=!!(g.current?.shiftKey&&g.current?.key===`Tab`),t=i[0],n=i[i.length-1];typeof t!=`string`&&typeof n!=`string`&&(e?n.focus():t.focus())}else t.focus()};e.addEventListener(`focusin`,n),e.addEventListener(`keydown`,t,!0);let i=setInterval(()=>{let t=yd(e);t&&t.tagName===`BODY`&&n()},50);return()=>{clearInterval(i),e.removeEventListener(`focusin`,n),e.removeEventListener(`keydown`,t,!0)}},[n,r,i,o,s,a]);let _=e=>{d.current===null&&(d.current=e.relatedTarget),p.current=!0,f.current=e.target;let n=t.props.onFocus;n&&n(e)},v=e=>{d.current===null&&(d.current=e.relatedTarget),p.current=!0};return(0,V.jsxs)(B.Fragment,{children:[(0,V.jsx)(`div`,{tabIndex:s?0:-1,onFocus:v,ref:l,"data-testid":`sentinelStart`}),B.cloneElement(t,{ref:h,onFocus:_}),(0,V.jsx)(`div`,{tabIndex:s?0:-1,onFocus:v,ref:u,"data-testid":`sentinelEnd`})]})}function kd(e,t){typeof e==`function`?e(t):e&&(e.current=t)}function Ad(e){return typeof e==`function`?e():e}var jd=B.forwardRef(function(e,t){let{children:n,container:r,disablePortal:i=!1}=e,[a,o]=B.useState(null),s=ed(B.isValidElement(n)?yu(n):null,t);if(vs(()=>{i||o(Ad(r)||document.body)},[r,i]),vs(()=>{if(a&&!i)return kd(t,a),()=>{kd(t,null)}},[t,a,i]),i){if(B.isValidElement(n)){let e={ref:s};return B.cloneElement(n,e)}return n}return a&&Au.createPortal(n,a)}),Md=rc;function Nd(e,t,n){return e===void 0||iu(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function Pd(e,t,n){return typeof e==`function`?e(t,n):e}function Fd(e,t=[]){if(e===void 0)return{};let n={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&typeof e[n]==`function`&&!t.includes(n)).forEach(t=>{n[t]=e[t]}),n}function Id(e){if(e===void 0)return{};let t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&typeof e[t]==`function`)).forEach(n=>{t[n]=e[n]}),t}function Ld(e){let{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:a}=e;if(!t){let e=U(n?.className,a,i?.className,r?.className),t={...n?.style,...i?.style,...r?.style},o={...n,...i,...r};return e.length>0&&(o.className=e),Object.keys(t).length>0&&(o.style=t),{props:o,internalRef:void 0}}let o=Fd({...i,...r}),s=Id(r),c=Id(i),l=t(o),u=U(l?.className,n?.className,a,i?.className,r?.className),d={...l?.style,...n?.style,...i?.style,...r?.style},f={...l,...n,...c,...s};return u.length>0&&(f.className=u),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:l.ref}}function Rd(e,t){let{className:n,elementType:r,ownerState:i,externalForwardedProps:a,internalForwardedProps:o,shouldForwardComponentProp:s=!1,...c}=t,{component:l,slots:u={[e]:void 0},slotProps:d={[e]:void 0},...f}=a,p=u[e]||r,m=Pd(d[e],i),{props:{component:h,...g},internalRef:_}=Ld({className:n,...c,externalForwardedProps:e===`root`?f:void 0,externalSlotProps:m}),v=ed(_,m?.ref,t.ref),y=e===`root`?h||l:h;return[p,Nd(p,{...e===`root`&&!l&&!u[e]&&o,...e!==`root`&&!u[e]&&o,...g,...y&&!s&&{as:y},...y&&s&&{component:y},ref:v},i)]}var zd={entering:{opacity:1},entered:{opacity:1},exiting:{opacity:0},exited:{opacity:0}},Bd={opacity:0,visibility:`hidden`},Vd=B.forwardRef(function(e,t){let n=Pl(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:o,easing:s,in:c,onEnter:l,onEntered:u,onEntering:d,onExit:f,onExited:p,onExiting:m,style:h,timeout:g=r,..._}=e,v=B.useRef(null),y=td(v,yu(o),t),b=Zu(v,d),x=Zu(v,(e,t)=>{Xu(e);let r=$u({style:h,timeout:g,easing:s},{mode:`enter`});e.style.transition=n.transitions.create(`opacity`,r),l&&l(e,t)}),S=Zu(v,u),C=Zu(v,m),w=Zu(v,e=>{let t=$u({style:h,timeout:g,easing:s},{mode:`exit`});e.style.transition=n.transitions.create(`opacity`,t),f&&f(e)}),T=Zu(v,e=>{e.style.transition=``,p&&p(e)});return(0,V.jsx)(Iu,{appear:a,in:c,nodeRef:v,onEnter:x,onEntered:S,onEntering:b,onExit:w,onExited:T,onExiting:C,addEndListener:e=>{i&&i(v.current,e)},timeout:g,..._,children:(e,{ownerState:t,...n})=>{let r=Qu(e,c,zd,Bd,h,o.props.style);return B.cloneElement(o,{style:r,ref:y,...n})}})});function Hd(e){return rs(`MuiBackdrop`,e)}is(`MuiBackdrop`,[`root`,`invisible`]);var Ud=e=>{let{classes:t,invisible:n}=e;return Cc({root:[`root`,n&&`invisible`]},Hd,t)},Wd=J(`div`,{name:`MuiBackdrop`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:`fixed`,display:`flex`,alignItems:`center`,justifyContent:`center`,right:0,bottom:0,top:0,left:0,backgroundColor:`rgba(0, 0, 0, 0.5)`,WebkitTapHighlightColor:`transparent`,variants:[{props:{invisible:!0},style:{backgroundColor:`transparent`}}]}),Gd=B.forwardRef(function(e,t){let n=ou({props:e,name:`MuiBackdrop`}),{children:r,className:i,component:a=`div`,invisible:o=!1,open:s,components:c={},componentsProps:l={},slotProps:u={},slots:d={},TransitionComponent:f,transitionDuration:p,...m}=n,h={...n,component:a,invisible:o},g=Ud(h),_={component:a,slots:{transition:f,root:c.Root,...d},slotProps:{...l,...u}},[v,y]=Rd(`root`,{elementType:Wd,externalForwardedProps:_,className:U(g.root,i),ownerState:h}),[b,x]=Rd(`transition`,{elementType:Vd,externalForwardedProps:_,ownerState:h});return(0,V.jsx)(b,{in:s,timeout:p,...m,...x,children:(0,V.jsx)(v,{"aria-hidden":!0,...y,ref:t,children:r})})});function Kd(e){let t=B.useRef(e);return vs(()=>{t.current=e}),B.useRef((...e)=>(0,t.current)(...e)).current}function qd(...e){return e.reduce((e,t)=>t==null?e:function(...n){e.apply(this,n),t.apply(this,n)},()=>{})}function Jd(e){return typeof e==`function`?e():e}function Yd(e){return e?e.props.hasOwnProperty(`in`):!1}var Xd=()=>{},Zd=new hd;function Qd(e){let{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:o,children:s,onClose:c,open:l,rootRef:u}=e,d=B.useRef({}),f=B.useRef(null),p=B.useRef(null),m=ed(p,u),[h,g]=B.useState(!l),_=Yd(s),v=!0;(e[`aria-hidden`]===`false`||e[`aria-hidden`]===!1)&&(v=!1);let y=()=>lu(f.current),b=()=>(d.current.modalRef=p.current,d.current.mount=f.current,d.current),x=()=>{Zd.mount(b(),{disableScrollLock:r}),p.current&&(p.current.scrollTop=0)},S=Kd(()=>{let e=Jd(t)||y().body;Zd.add(b(),e),p.current&&x()}),C=()=>Zd.isTopModal(b()),w=Kd(e=>{f.current=e,e&&(l&&C()?x():p.current&&cd(p.current,v))}),T=B.useCallback(()=>{Zd.remove(b(),v)},[v]);B.useEffect(()=>()=>{T()},[T]),B.useEffect(()=>{l?S():(!_||!i)&&T()},[l,T,_,i,S]);let E=e=>t=>{e.onKeyDown?.(t),t.key===`Escape`&&t.which!==229&&C()&&(n||(t.stopPropagation(),c&&c(t,`escapeKeyDown`)))},D=e=>t=>{e.onClick?.(t),t.target===t.currentTarget&&c&&c(t,`backdropClick`)};return{getRootProps:(t={})=>{let n=Fd(e);delete n.onTransitionEnter,delete n.onTransitionExited;let r={...n,...t};return{role:`presentation`,...r,onKeyDown:E(r),ref:m}},getBackdropProps:(e={})=>{let t=e;return{"aria-hidden":!0,...t,onClick:D(t),open:l}},getTransitionProps:()=>({onEnter:qd(()=>{g(!1),a&&a()},s?.props.onEnter??Xd),onExited:qd(()=>{g(!0),o&&o(),i&&T()},s?.props.onExited??Xd)}),rootRef:m,portalRef:w,isTopModal:C,exited:h,hasTransition:_}}function $d(e){return rs(`MuiModal`,e)}is(`MuiModal`,[`root`,`hidden`,`backdrop`]);var ef=e=>{let{open:t,exited:n,classes:r}=e;return Cc({root:[`root`,!t&&n&&`hidden`],backdrop:[`backdrop`]},$d,r)},tf=J(`div`,{name:`MuiModal`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(Md(({theme:e})=>({position:`fixed`,zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:e})=>!e.open&&e.exited,style:{visibility:`hidden`}}]}))),nf=J(Gd,{name:`MuiModal`,slot:`Backdrop`})({zIndex:-1}),rf=B.forwardRef(function(e,t){let n=ou({name:`MuiModal`,props:e}),{BackdropComponent:r=nf,BackdropProps:i,classes:a,className:o,closeAfterTransition:s=!1,children:c,container:l,component:u,components:d={},componentsProps:f={},disableAutoFocus:p=!1,disableEnforceFocus:m=!1,disableEscapeKeyDown:h=!1,disablePortal:g=!1,disableRestoreFocus:_=!1,disableScrollLock:v=!1,hideBackdrop:y=!1,keepMounted:b=!1,onClose:x,onTransitionEnter:S,onTransitionExited:C,open:w,slotProps:T={},slots:E={},theme:D,...O}=n,k={...n,closeAfterTransition:s,disableAutoFocus:p,disableEnforceFocus:m,disableEscapeKeyDown:h,disablePortal:g,disableRestoreFocus:_,disableScrollLock:v,hideBackdrop:y,keepMounted:b},{getRootProps:ee,getBackdropProps:A,getTransitionProps:j,portalRef:M,isTopModal:N,exited:te,hasTransition:P}=Qd({...k,rootRef:t}),ne={...k,exited:te},re=ef(ne),F={};if(c.props.tabIndex===void 0&&(F.tabIndex=`-1`),P){let{onEnter:e,onExited:t}=j();F.onEnter=e,F.onExited=t}let ie={slots:{root:d.Root,backdrop:d.Backdrop,...E},slotProps:{...f,...T}},[ae,I]=Rd(`root`,{ref:t,elementType:tf,externalForwardedProps:{...ie,...O,component:u},getSlotProps:ee,ownerState:ne,className:U(o,re?.root,!ne.open&&ne.exited&&re?.hidden)}),[oe,se]=Rd(`backdrop`,{ref:i?.ref,elementType:r,externalForwardedProps:ie,shouldForwardComponentProp:!0,additionalProps:i,getSlotProps:e=>A({...e,onClick:t=>{e?.onClick&&e.onClick(t)}}),className:U(i?.className,re?.backdrop),ownerState:ne});return!b&&!w&&(!P||te)?null:(0,V.jsx)(jd,{ref:M,container:l,disablePortal:g,children:(0,V.jsxs)(ae,{...I,children:[!y&&r?(0,V.jsx)(oe,{...se}):null,(0,V.jsx)(Od,{disableEnforceFocus:m,disableAutoFocus:p,disableRestoreFocus:_,isEnabled:N,open:w,children:B.cloneElement(c,F)})]})})});function af(e){return rs(`MuiPaper`,e)}is(`MuiPaper`,`root.rounded.outlined.elevation.elevation0.elevation1.elevation2.elevation3.elevation4.elevation5.elevation6.elevation7.elevation8.elevation9.elevation10.elevation11.elevation12.elevation13.elevation14.elevation15.elevation16.elevation17.elevation18.elevation19.elevation20.elevation21.elevation22.elevation23.elevation24`.split(`.`));var of=e=>{let{square:t,elevation:n,variant:r,classes:i}=e;return Cc({root:[`root`,r,!t&&`rounded`,r===`elevation`&&`elevation${n}`]},af,i)},sf=J(`div`,{name:`MuiPaper`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant===`elevation`&&t[`elevation${n.elevation}`]]}})(Md(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create(`box-shadow`),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:`outlined`},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:`elevation`},style:{boxShadow:`var(--Paper-shadow)`,backgroundImage:`var(--Paper-overlay)`}}]}))),cf=B.forwardRef(function(e,t){let n=ou({props:e,name:`MuiPaper`}),r=Pl(),{className:i,component:a=`div`,elevation:o=1,square:s=!1,variant:c=`elevation`,...l}=n,u={...n,component:a,elevation:o,square:s,variant:c},d=of(u);return(0,V.jsx)(sf,{as:a,ownerState:u,className:U(d.root,i),ref:t,...l,style:{...c===`elevation`&&{"--Paper-shadow":(r.vars||r).shadows[o],...r.vars&&{"--Paper-overlay":r.vars.overlays?.[o]},...!r.vars&&r.palette.mode===`dark`&&{"--Paper-overlay":`linear-gradient(${ks(`#fff`,hl(o))}, ${ks(`#fff`,hl(o))})`}},...l.style}})});function lf(e){return rs(`MuiPopover`,e)}is(`MuiPopover`,[`root`,`paper`]);var Y=Wa;function uf(e){return rs(`MuiSvgIcon`,e)}is(`MuiSvgIcon`,[`root`,`colorPrimary`,`colorSecondary`,`colorAction`,`colorError`,`colorDisabled`,`fontSizeInherit`,`fontSizeSmall`,`fontSizeMedium`,`fontSizeLarge`]);var df=e=>{let{color:t,fontSize:n,classes:r}=e;return Cc({root:[`root`,t!==`inherit`&&`color${Y(t)}`,`fontSize${Y(n)}`]},uf,r)},ff=J(`svg`,{name:`MuiSvgIcon`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.color!==`inherit`&&t[`color${Y(n.color)}`],t[`fontSize${Y(n.fontSize)}`]]}})(Md(({theme:e})=>({userSelect:`none`,width:`1em`,height:`1em`,display:`inline-block`,flexShrink:0,transition:e.transitions?.create?.(`fill`,{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:`currentColor`}},{props:{fontSize:`inherit`},style:{fontSize:`inherit`}},{props:{fontSize:`small`},style:{fontSize:e.typography?.pxToRem?.(20)||`1.25rem`}},{props:{fontSize:`medium`},style:{fontSize:e.typography?.pxToRem?.(24)||`1.5rem`}},{props:{fontSize:`large`},style:{fontSize:e.typography?.pxToRem?.(35)||`2.1875rem`}},...Object.entries((e.vars??e).palette).filter(([,e])=>e&&e.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:`action`},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:`disabled`},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:`inherit`},style:{color:void 0}}]}))),pf=B.forwardRef(function(e,t){let n=ou({props:e,name:`MuiSvgIcon`}),{children:r,className:i,color:a=`inherit`,component:o=`svg`,fontSize:s=`medium`,htmlColor:c,inheritViewBox:l=!1,titleAccess:u,viewBox:d=`0 0 24 24`,...f}=n,p=B.isValidElement(r)&&r.type===`svg`,m={...n,color:a,component:o,fontSize:s,instanceFontSize:e.fontSize,inheritViewBox:l,viewBox:d,hasSvgAsChild:p},h={};l||(h.viewBox=d);let g=df(m);return(0,V.jsxs)(ff,{as:o,className:U(g.root,i),focusable:`false`,color:c,"aria-hidden":!u||void 0,role:u?`img`:void 0,ref:t,...h,...f,...p&&r.props,ownerState:m,children:[p?r.props.children:r,u?(0,V.jsx)(`title`,{children:u}):null]})});pf.muiName=`SvgIcon`;function mf(e,t){function n(t,n){return(0,V.jsx)(pf,{"data-testid":void 0,ref:n,...t,children:e})}return n.muiName=pf.muiName,B.memo(B.forwardRef(n))}var hf=wc,gf=vs,_f=Zs,vf=Kd;function yf(e,t){let n=e.charCodeAt(2);return e[0]===`o`&&e[1]===`n`&&n>=65&&n<=90&&typeof t==`function`}function bf(e,t){if(!e)return t;function n(e,t){let n={};return Object.keys(t).forEach(r=>{yf(r,t[r])&&typeof e[r]==`function`&&(n[r]=(...n)=>{e[r](...n),t[r](...n)})}),n}if(typeof e==`function`||typeof t==`function`)return r=>{let i=typeof t==`function`?t(r):t,a=typeof e==`function`?e({...r,...i}):e,o=U(r?.className,i?.className,a?.className),s=n(a,i);return{...i,...a,...s,...!!o&&{className:o},...i?.style&&a?.style&&{style:{...i.style,...a.style}},...i?.sx&&a?.sx&&{sx:[...Array.isArray(i.sx)?i.sx:[i.sx],...Array.isArray(a.sx)?a.sx:[a.sx]]}}};let r=t,i=n(e,r),a=U(r?.className,e?.className);return{...t,...e,...i,...!!a&&{className:a},...r?.style&&e?.style&&{style:{...r.style,...e.style}},...r?.sx&&e?.sx&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function xf(e,t){let n=0;return typeof t==`number`?n=t:t===`center`?n=e.height/2:t===`bottom`&&(n=e.height),n}function Sf(e,t){let n=0;return typeof t==`number`?n=t:t===`center`?n=e.width/2:t===`right`&&(n=e.width),n}function Cf(e){return[e.horizontal,e.vertical].map(e=>typeof e==`number`?`${e}px`:e).join(` `)}function wf(e){return typeof e==`function`?e():e}var Tf=e=>{let{classes:t}=e;return Cc({root:[`root`],paper:[`paper`]},lf,t)},Ef=J(rf,{name:`MuiPopover`,slot:`Root`})({}),Df=J(cf,{name:`MuiPopover`,slot:`Paper`})({position:`absolute`,overflowY:`auto`,overflowX:`hidden`,minWidth:16,minHeight:16,maxWidth:`calc(100% - 32px)`,maxHeight:`calc(100% - 32px)`,outline:0}),Of=B.forwardRef(function(e,t){let n=ou({props:e,name:`MuiPopover`}),{action:r,anchorEl:i,anchorOrigin:a={vertical:`top`,horizontal:`left`},anchorPosition:o,anchorReference:s=`anchorEl`,children:c,className:l,container:u,elevation:d=8,marginThreshold:f=16,open:p,PaperProps:m={},slots:h={},slotProps:g={},transformOrigin:_={vertical:`top`,horizontal:`left`},TransitionComponent:v,transitionDuration:y=`auto`,TransitionProps:b={},disableScrollLock:x=!1,...S}=n,C=B.useRef(),w={...n,anchorOrigin:a,anchorReference:s,elevation:d,marginThreshold:f,transformOrigin:_,TransitionComponent:v,transitionDuration:y,TransitionProps:b},T=Tf(w),E=B.useCallback(()=>{if(s===`anchorPosition`)return o;let e=wf(i),t=(e&&e.nodeType===1?e:uu(C.current).body).getBoundingClientRect();return{top:t.top+xf(t,a.vertical),left:t.left+Sf(t,a.horizontal)}},[i,a.horizontal,a.vertical,o,s]),D=B.useCallback(e=>({vertical:xf(e,_.vertical),horizontal:Sf(e,_.horizontal)}),[_.horizontal,_.vertical]),O=B.useCallback(e=>{let t={width:e.offsetWidth,height:e.offsetHeight},n=D(t);if(s===`none`)return{top:null,left:null,transformOrigin:Cf(n)};let r=E(),a=r.top-n.vertical,o=r.left-n.horizontal,c=a+t.height,l=o+t.width,u=fu(wf(i)),d=u.innerHeight-f,p=u.innerWidth-f;if(f!==null&&a<f){let e=a-f;a-=e,n.vertical+=e}else if(f!==null&&c>d){let e=c-d;a-=e,n.vertical+=e}if(f!==null&&o<f){let e=o-f;o-=e,n.horizontal+=e}else if(l>p){let e=l-p;o-=e,n.horizontal+=e}return{top:`${Math.round(a)}px`,left:`${Math.round(o)}px`,transformOrigin:Cf(n)}},[i,s,E,D,f]),[k,ee]=B.useState(p),A=B.useCallback(()=>{let e=C.current;if(!e)return;let t=O(e);t.top!==null&&e.style.setProperty(`top`,t.top),t.left!==null&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,ee(!0)},[O]);B.useEffect(()=>(x&&window.addEventListener(`scroll`,A),()=>window.removeEventListener(`scroll`,A)),[i,x,A]);let j=()=>{A()},M=()=>{ee(!1)};B.useEffect(()=>{p&&A()}),B.useImperativeHandle(r,()=>p?{updatePosition:()=>{A()}}:null,[p,A]),B.useEffect(()=>{if(!p)return;let e=cu(()=>{A()}),t=fu(wf(i));return t.addEventListener(`resize`,e),()=>{e.clear(),t.removeEventListener(`resize`,e)}},[i,p,A]);let N=y,te={slots:{transition:v,...h},slotProps:{transition:b,paper:m,...g}},[P,ne]=Rd(`transition`,{elementType:ad,externalForwardedProps:te,ownerState:w,getSlotProps:e=>({...e,onEntering:(t,n)=>{e.onEntering?.(t,n),j()},onExited:t=>{e.onExited?.(t),M()}}),additionalProps:{appear:!0,in:p}});y===`auto`&&!P.muiSupportAuto&&(N=void 0);let re=u||(i?uu(wf(i)).body:void 0),[F,{slots:ie,slotProps:ae,...I}]=Rd(`root`,{ref:t,elementType:Ef,externalForwardedProps:{...te,...S},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:h.backdrop},slotProps:{backdrop:bf(typeof g.backdrop==`function`?g.backdrop(w):g.backdrop,{invisible:!0})},container:re,open:p},ownerState:w,className:U(T.root,l)}),[oe,se]=Rd(`paper`,{ref:C,className:T.paper,elementType:Df,externalForwardedProps:te,shouldForwardComponentProp:!0,additionalProps:{elevation:d,style:k?void 0:{opacity:0}},ownerState:w});return(0,V.jsx)(F,{...I,...!iu(F)&&{slots:ie,slotProps:ae,disableScrollLock:x},children:(0,V.jsx)(P,{...ne,timeout:N,children:(0,V.jsx)(oe,{...se,children:c})})})});function kf(e,t){this.v=e,this.k=t}function Af(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function jf(e){if(Array.isArray(e))return e}function Mf(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function Nf(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
84
84
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Pf(e,t){return jf(e)||Mf(e,t)||Ff(e,t)||Nf()}function Ff(e,t){if(e){if(typeof e==`string`)return Af(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Af(e,t):void 0}}function If(e){var t,n;function r(t,n){try{var a=e[t](n),o=a.value,s=o instanceof kf;Promise.resolve(s?o.v:o).then(function(n){if(s){var c=t===`return`&&o.k?t:`next`;if(!o.k||n.done)return r(c,n);n=e[c](n).value}i(!!a.done,n)},function(e){r(`throw`,e)})}catch(e){i(2,e)}}function i(e,i){e===2?t.reject(i):t.resolve({value:i,done:e}),(t=t.next)?r(t.key,t.arg):n=null}this._invoke=function(e,i){return new Promise(function(a,o){var s={key:e,arg:i,resolve:a,reject:o,next:null};n?n=n.next=s:(t=n=s,r(e,i))})},typeof e.return!=`function`&&(this.return=void 0)}If.prototype[typeof Symbol==`function`&&Symbol.asyncIterator||`@@asyncIterator`]=function(){return this},If.prototype.next=function(e){return this._invoke(`next`,e)},If.prototype.throw=function(e){return this._invoke(`throw`,e)},If.prototype.return=function(e){return this._invoke(`return`,e)};var Lf=Object.entries,Rf=Object.setPrototypeOf,zf=Object.isFrozen,Bf=Object.getPrototypeOf,Vf=Object.getOwnPropertyDescriptor,Hf=Object.freeze,Uf=Object.seal,Wf=Object.create,Gf=typeof Reflect<`u`&&Reflect,Kf=Gf.apply,qf=Gf.construct;Hf||=function(e){return e},Uf||=function(e){return e},Kf||=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return e.apply(t,r)},qf||=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)};var Jf=vp(Array.prototype.forEach);Array.prototype.indexOf;var Yf=vp(Array.prototype.lastIndexOf),Xf=vp(Array.prototype.pop),Zf=vp(Array.prototype.push),Qf=vp(Array.prototype.slice),$f=vp(Array.prototype.splice),ep=Array.isArray,tp=yp(Set),np=vp(Set.prototype.add),rp=vp(Set.prototype.has),ip=vp(String.prototype.toLowerCase),ap=vp(String.prototype.toString),op=vp(String.prototype.match),sp=vp(String.prototype.replace),cp=vp(String.prototype.indexOf),lp=vp(String.prototype.trim),up=vp(Number.prototype.toString),dp=vp(Boolean.prototype.toString),fp=typeof BigInt>`u`?null:vp(BigInt.prototype.toString),pp=typeof Symbol>`u`?null:vp(Symbol.prototype.toString),mp=vp(Object.prototype.hasOwnProperty),hp=vp(Object.prototype.toString),gp=vp(RegExp.prototype.test),_p=yp(TypeError);function vp(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return Kf(e,t,r)}}function yp(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return qf(e,n)}}function X(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ip;if(Rf&&Rf(e,null),!ep(t))return e;let r=t.length;for(;r--;){let i=t[r];if(typeof i==`string`){let e=n(i);e!==i&&(zf(t)||(t[r]=e),i=e)}e[i]=!0}return e}function bp(e){for(let t=0;t<e.length;t++)mp(e,t)||(e[t]=null);return e}function xp(e){let t=Wf(null);for(let r of Lf(e)){var n=Pf(r,2);let i=n[0],a=n[1];mp(e,i)&&(t[i]=ep(a)?bp(a):a&&typeof a==`object`&&a.constructor===Object?xp(a):a)}return t}function Sp(e){switch(typeof e){case`string`:return e;case`number`:return up(e);case`boolean`:return dp(e);case`bigint`:return fp?fp(e):`0`;case`symbol`:return pp?pp(e):`Symbol()`;case`undefined`:return hp(e);case`function`:case`object`:{if(e===null)return hp(e);let t=e,n=Cp(t,`toString`);if(typeof n==`function`){let e=n(t);return typeof e==`string`?e:hp(e)}return hp(e)}default:return hp(e)}}function Cp(e,t){for(;e!==null;){let n=Vf(e,t);if(n){if(n.get)return vp(n.get);if(typeof n.value==`function`)return vp(n.value)}e=Bf(e)}function n(){return null}return n}function wp(e,t){for(;e!==null;){let n=Vf(e,t);if(n)return n.get?vp(n.get):null;e=Bf(e)}return null}function Tp(e){try{return gp(e,``),!0}catch{return!1}}var Ep=Hf(`a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr`.split(`.`)),Dp=Hf(`svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern`.split(`.`)),Op=Hf([`feBlend`,`feColorMatrix`,`feComponentTransfer`,`feComposite`,`feConvolveMatrix`,`feDiffuseLighting`,`feDisplacementMap`,`feDistantLight`,`feDropShadow`,`feFlood`,`feFuncA`,`feFuncB`,`feFuncG`,`feFuncR`,`feGaussianBlur`,`feImage`,`feMerge`,`feMergeNode`,`feMorphology`,`feOffset`,`fePointLight`,`feSpecularLighting`,`feSpotLight`,`feTile`,`feTurbulence`]),kp=Hf([`animate`,`color-profile`,`cursor`,`discard`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`foreignobject`,`hatch`,`hatchpath`,`mesh`,`meshgradient`,`meshpatch`,`meshrow`,`missing-glyph`,`script`,`set`,`solidcolor`,`unknown`,`use`]),Ap=Hf(`math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts`.split(`.`)),jp=Hf([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]),Mp=Hf([`#text`]),Np=Hf(`accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns`.split(`.`)),Pp=Hf(`accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dominant-baseline.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.pointer-events.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-orientation.text-rendering.textlength.type.u1.u2.unicode.values.vector-effect.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan`.split(`.`)),Fp=Hf(`accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns`.split(`.`)),Ip=Hf([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]),Lp=Uf(/{{[\w\W]*|^[\w\W]*}}/g),Rp=Uf(/<%[\w\W]*|^[\w\W]*%>/g),zp=Uf(/\${[\w\W]*/g),Bp=Uf(/^data-[\-\w.\u00B7-\uFFFF]+$/),Vp=Uf(/^aria-[\-\w]+$/),Hp=Uf(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Up=Uf(/^(?:\w+script|data):/i),Wp=Uf(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Gp=Uf(/^html$/i),Kp=Uf(/^[a-z][.\w]*(-[.\w]+)+$/i),qp=Uf(/<[/\w!]/g),Jp=Uf(/<[/\w]/g),Yp=Uf(/<\/no(script|embed|frames)/i),Xp=Uf(/\/>/i),Zp={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Qp=Hf(X({},[`style`,`script`,`xmp`,`iframe`,`noembed`,`noframes`,`plaintext`,`noscript`])),$p=function(){return typeof window>`u`?null:window},em=function(e,t){if(typeof e!=`object`||typeof e.createPolicy!=`function`)return null;let n=null,r=`data-tt-policy-suffix`;t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let i=`dompurify`+(n?`#`+n:``);try{return e.createPolicy(i,{createHTML(e){return e},createScriptURL(e){return e}})}catch{return console.warn(`TrustedTypes policy `+i+` could not be created.`),null}},tm=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},nm=function(e,t,n,r){return mp(e,t)&&ep(e[t])?X(r.base?xp(r.base):{},e[t],r.transform):n},rm=function(e,t,n){let r=mp(e,t)?e[t]:void 0;return r&&typeof r==`object`?xp(r):n()};function im(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:$p(),t=e=>im(e);if(t.version=`3.4.17`,t.removed=[],!e||!e.document||e.document.nodeType!==Zp.document||!e.Element)return t.isSupported=!1,t;let n=e.document,r=n,i=r.currentScript;e.DocumentFragment;let a=e.HTMLTemplateElement,o=e.Node,s=e.Element,c=e.NodeFilter;e.NamedNodeMap===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;let l=e.DOMParser,u=e.trustedTypes,d=s.prototype,f=Cp(d,`cloneNode`),p=Cp(d,`remove`),m=Cp(d,`removeAttributeNode`),h=Cp(d,`nextSibling`),g=Cp(d,`childNodes`),_=Cp(d,`parentNode`),v=Cp(d,`shadowRoot`),y=Cp(d,`attributes`),b=o&&o.prototype?Cp(o.prototype,`nodeType`):null,x=o&&o.prototype?Cp(o.prototype,`nodeName`):null,S=o&&o.prototype?Cp(o.prototype,`ownerDocument`):null,C=function(e){return b?b(e):e.nodeType},w=function(e){return x?x(e):e.nodeName},T=wp(d,`namespaceURI`),E=function(e){return T?T(e):e.namespaceURI};if(typeof a==`function`){let e=n.createElement(`template`);e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let D,O=``,k,ee=!1,A=0,j=function(){if(A>0)throw _p(`A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.`)},M=function(e){j(),A++;try{return D.createHTML(e)}finally{A--}},N=function(e){j(),A++;try{return D.createScriptURL(e)}finally{A--}},te=function(){return ee||=(k=em(u,i),!0),k},P=n,ne=P.implementation,re=P.createNodeIterator,F=P.createDocumentFragment,ie=P.getElementsByTagName,ae=r.importNode,I=tm();t.isSupported=typeof Lf==`function`&&typeof _==`function`&&ne&&ne.createHTMLDocument!==void 0;let oe=Lp,se=Rp,ce=zp,le=Bp,ue=Vp,de=Up,fe=Wp,pe=Kp,me=Hp,L=null,he=X({},[...Ep,...Dp,...Op,...Ap,...Mp]),ge=null,_e=X({},[...Np,...Pp,...Fp,...Ip]),ve=Object.seal(Wf(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ye=null,be=null,xe=Object.seal(Wf(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),Se=!0,Ce=!0,we=!1,Te=!0,Ee=!1,De=!0,Oe=!1,ke=!1,Ae=null,je=null,Me=!1,Ne=!1,Pe=!1,Fe=!1,Ie=!0,Le=!1,Re=`user-content-`,ze=!0,Be=!1,Ve=null,He={},Ue=null,We=X({},`annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp`.split(`.`)),Ge=null,Ke=X({},[`audio`,`video`,`img`,`source`,`image`,`track`]),qe=null,Je=X({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),Ye=`http://www.w3.org/1998/Math/MathML`,Xe=`http://www.w3.org/2000/svg`,Ze=`http://www.w3.org/1999/xhtml`,Qe=Ze,$e=!1,et=null,tt=X({},[Ye,Xe,Ze],ap),nt=Hf([`mi`,`mo`,`mn`,`ms`,`mtext`]),rt=X({},nt),it=Hf([`annotation-xml`]),at=X({},it),ot=X({},[`title`,`style`,`font`,`a`,`script`]),st=null,ct=[`application/xhtml+xml`,`text/html`],lt=null,ut=null,dt=n.createElement(`form`),ft=function(e){return e instanceof RegExp||e instanceof Function},pt=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(ut&&ut===e)return;(!e||typeof e!=`object`)&&(e={}),e=xp(e),st=ct.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,lt=st===`application/xhtml+xml`?ap:ip,L=nm(e,`ALLOWED_TAGS`,he,{transform:lt}),ge=nm(e,`ALLOWED_ATTR`,_e,{transform:lt}),et=nm(e,`ALLOWED_NAMESPACES`,tt,{transform:ap}),qe=nm(e,`ADD_URI_SAFE_ATTR`,Je,{transform:lt,base:Je}),Ge=nm(e,`ADD_DATA_URI_TAGS`,Ke,{transform:lt,base:Ke}),Ue=nm(e,`FORBID_CONTENTS`,We,{transform:lt}),ye=nm(e,`FORBID_TAGS`,xp({}),{transform:lt}),be=nm(e,`FORBID_ATTR`,xp({}),{transform:lt}),He=mp(e,`USE_PROFILES`)?e.USE_PROFILES&&typeof e.USE_PROFILES==`object`?xp(e.USE_PROFILES):e.USE_PROFILES:!1,Se=e.ALLOW_ARIA_ATTR!==!1,Ce=e.ALLOW_DATA_ATTR!==!1,we=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Te=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Ee=e.SAFE_FOR_TEMPLATES||!1,De=e.SAFE_FOR_XML!==!1,Oe=e.WHOLE_DOCUMENT||!1,Ne=e.RETURN_DOM||!1,Pe=e.RETURN_DOM_FRAGMENT||!1,Fe=e.RETURN_TRUSTED_TYPE||!1,Me=e.FORCE_BODY||!1,Ie=e.SANITIZE_DOM!==!1,Le=e.SANITIZE_NAMED_PROPS||!1,ze=e.KEEP_CONTENT!==!1,Be=e.IN_PLACE||!1,me=Tp(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:Hp,Qe=typeof e.NAMESPACE==`string`?e.NAMESPACE:Ze,rt=rm(e,`MATHML_TEXT_INTEGRATION_POINTS`,()=>X({},nt)),at=rm(e,`HTML_INTEGRATION_POINTS`,()=>X({},it));let t=rm(e,`CUSTOM_ELEMENT_HANDLING`,()=>Wf(null));if(ve=Wf(null),mp(t,`tagNameCheck`)&&ft(t.tagNameCheck)&&(ve.tagNameCheck=t.tagNameCheck),mp(t,`attributeNameCheck`)&&ft(t.attributeNameCheck)&&(ve.attributeNameCheck=t.attributeNameCheck),mp(t,`allowCustomizedBuiltInElements`)&&typeof t.allowCustomizedBuiltInElements==`boolean`&&(ve.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),Uf(ve),Ee&&(Ce=!1),Pe&&(Ne=!0),He&&(L=X({},Mp),ge=Wf(null),He.html===!0&&(X(L,Ep),X(ge,Np)),He.svg===!0&&(X(L,Dp),X(ge,Pp),X(ge,Ip)),He.svgFilters===!0&&(X(L,Op),X(ge,Pp),X(ge,Ip)),He.mathMl===!0&&(X(L,Ap),X(ge,Fp),X(ge,Ip))),xe.tagCheck=null,xe.attributeCheck=null,mp(e,`ADD_TAGS`)&&(typeof e.ADD_TAGS==`function`?xe.tagCheck=e.ADD_TAGS:ep(e.ADD_TAGS)&&(L===he&&(L=xp(L)),X(L,e.ADD_TAGS,lt))),mp(e,`ADD_ATTR`)&&(typeof e.ADD_ATTR==`function`?xe.attributeCheck=e.ADD_ATTR:ep(e.ADD_ATTR)&&(ge===_e&&(ge=xp(ge)),X(ge,e.ADD_ATTR,lt))),mp(e,`ADD_FORBID_CONTENTS`)&&ep(e.ADD_FORBID_CONTENTS)&&(Ue===We&&(Ue=xp(Ue)),X(Ue,e.ADD_FORBID_CONTENTS,lt)),ze&&(L[`#text`]=!0),Oe&&X(L,[`html`,`head`,`body`]),L.table&&(X(L,[`tbody`]),delete ye.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw _p(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw _p(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);let t=D;D=e.TRUSTED_TYPES_POLICY;try{O=M(``)}catch(e){throw D=t,e}}else e.TRUSTED_TYPES_POLICY===null?(D=void 0,O=``):(D===void 0&&(D=te()),D&&typeof O==`string`&&(O=M(``)));Hf&&Hf(e),ut=e},mt=X({},[...Dp,...Op,...kp]),ht=X({},[...Ap,...jp]),gt=function(e,t,n){return t.namespaceURI===Ze?e===`svg`:t.namespaceURI===Ye?e===`svg`&&(n===`annotation-xml`||rt[n]):!!mt[e]},_t=function(e,t,n){return t.namespaceURI===Ze?e===`math`:t.namespaceURI===Xe?e===`math`&&at[n]:!!ht[e]},vt=function(e,t,n){return t.namespaceURI===Xe&&!at[n]||t.namespaceURI===Ye&&!rt[n]?!1:!ht[e]&&(ot[e]||!mt[e])},yt=function(e){let t=E(e),n=ip(w(e)),r=_(e),i,a;return r&&C(r)===Zp.element?(i={namespaceURI:E(r)},a=ip(w(r))):(i={namespaceURI:Qe},a=`template`),et[t]?t===Xe?gt(n,i,a):t===Ye?_t(n,i,a):t===Ze?vt(n,i,a):!!(st===`application/xhtml+xml`&&et[t]):!1},bt=function(e){Zf(t.removed,{element:e});try{_(e).removeChild(e)}catch{if(p(e),!_(e))throw _p(`a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place`)}},xt=function(e,t,n){try{m(e,t)}catch{try{e.removeAttribute(n)}catch{}}},St=function(e){Et(e);let t=g(e);t&&Jf(Qf(t),e=>{try{p(e)}catch{}});let n=C(e)===Zp.element?y(e):null;if(n)for(let t=n.length-1;t>=0;--t){let r=n[t],i=r&&r.name;typeof i==`string`&&xt(e,r,i)}},Ct=function(e,n,r){if(!r)try{r=n.getAttributeNode(e)}catch{r=null}Zf(t.removed,{attribute:r||null,from:n});try{r?m(n,r):n.removeAttribute(e)}catch{try{n.removeAttribute(e)}catch{}}if(e===`is`){if(Ne||Pe)try{bt(n)}catch{}else try{n.setAttribute(e,``)}catch{}}},wt=function(e){let t=y(e);if(t)for(let n=t.length-1;n>=0;--n){let r=t[n],i=r&&r.name;typeof i!=`string`||ge[lt(i)]||xt(e,r,i)}},Tt=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0&&arguments[2],r=[e];for(;r.length>0;){let e=r.pop();if(t(e)===!1)continue;if(n&&C(e)===Zp.element){let t=v(e);Vt(t)&&r.push(t)}let i=g(e);if(i)for(let e=i.length-1;e>=0;--e)r.push(i[e])}},Et=function(e){Tt(e,e=>{C(e)===Zp.element&&wt(e)})},Dt=function(e){let t=[];return Tt(e,e=>{t.push(e)},!0),t},Ot=function(e,t){let n=tp();Jf(Dt(e),e=>{C(e)===Zp.element&&np(n,e)}),Jf(t,e=>{C(e)===Zp.element&&!rp(n,e)&&wt(e)})},kt=function(e,n){let r=!1;return Jf(t.removed,t=>{t.element&&(r||=t.element===e,Et(t.element))}),Ot(e,n),r},At=function(e,t){let n=Ve,r=null,i=()=>(r||(r=tp(),Jf(t,e=>{np(r,e)})),r);for(let t=0;;t++){let r=Dt(e),a=[e],o=!1;if(Jf(r,e=>{C(e)===Zp.documentFragment?Zf(a,e):!o&&!rp(n,e)&&(o=rp(i(),e))}),!o)return;if(t>=8)throw _p(`the tree kept changing during in-place sanitization; refusing to return it`);Jf(a,(t,n)=>{jt(t,n>0,e,i())})}},jt=function(e,t,n,r){let i=It(e),a;for(;a=i.nextNode();)rp(r,a)&&!rp(Ve,a)&&(t&&Ut(I.uponSanitizeShadowNode,a,null),Jt(a,n),tn(a,n),Vt(a.content)&&nn(a.content))},Mt=function(e){Ve&&np(Ve,e)},Nt=function(e,t){return De?e===`patchsrc`||e===`for`&&t!==`label`&&t!==`output`:!1},Pt=function(e){De&&Tt(e,e=>{let t=C(e);if(t===Zp.processingInstruction||t===Zp.comment&&gp(Jp,e.data)){try{p(e)}catch{}return!1}if(t===Zp.element){let t=e,n=lt(w(e));try{t.hasAttribute&&t.hasAttribute(`patchsrc`)&&t.removeAttribute(`patchsrc`),t.hasAttribute&&t.hasAttribute(`for`)&&Nt(`for`,n)&&t.removeAttribute(`for`)}catch{}}return!0})},Ft=function(e){let t=null,r=null;if(Me)e=`<remove></remove>`+e;else{let t=op(e,/^[\r\n\t ]+/);r=t&&t[0]}st===`application/xhtml+xml`&&Qe===Ze&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=D?M(e):e;if(Qe===Ze)try{t=new l().parseFromString(i,st)}catch{}if(!t||!t.documentElement){t=ne.createDocument(Qe,`template`,null);try{t.documentElement.innerHTML=$e?O:i}catch{}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),Qe===Ze?ie.call(t,Oe?`html`:`body`)[0]:Oe?t.documentElement:a},It=function(e){let t=S?S(e):e.ownerDocument;return re.call(t||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Lt=function(e){return e=sp(e,oe,` `),e=sp(e,se,` `),e=sp(e,ce,` `),e},Rt=function(e){zt(e);let t=e.querySelectorAll?.call(e,`template`);t&&Jf(t,e=>{Vt(e.content)&&Rt(e.content)})},zt=function(e){e.normalize();let t=S?S(e):e.ownerDocument,n=re.call(t||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null),r=n.nextNode();for(;r;)r.data=Lt(r.data),r=n.nextNode()},Bt=function(e){let t=x?x(e):null;return typeof t!=`string`||lt(t)!==`form`?!1:typeof e.nodeName!=`string`||typeof e.textContent!=`string`||typeof e.removeChild!=`function`||e.attributes!==y(e)||typeof e.removeAttribute!=`function`||typeof e.removeAttributeNode!=`function`||typeof e.getAttributeNode!=`function`||typeof e.setAttribute!=`function`||typeof e.namespaceURI!=`string`||typeof e.insertBefore!=`function`||typeof e.hasChildNodes!=`function`||e.nodeType!==b(e)||e.childNodes!==g(e)},Vt=function(e){if(!b||typeof e!=`object`||!e)return!1;try{return b(e)===Zp.documentFragment}catch{return!1}},Ht=function(e){if(!b||typeof e!=`object`||!e)return!1;try{return typeof b(e)==`number`}catch{return!1}};function Ut(e,n,r){e.length!==0&&Jf(e,e=>{e.call(t,n,r,ut)})}let R=function(e,t){return!!(De&&e.hasChildNodes()&&!Ht(e.firstElementChild)&&gp(qp,e.textContent)&&gp(qp,e.innerHTML)||De&&Qp[t]&&C(e)===Zp.element&&E(e)===Ze&&(Ht(e.firstElementChild)||typeof e.textContent==`string`&&gp(qp,e.textContent))||e.nodeType===Zp.processingInstruction||De&&e.nodeType===Zp.comment&&gp(Jp,e.data))},Wt=function(e,t){if(e instanceof RegExp)return gp(e,t);if(e instanceof Function){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return!!e(t,...r)}return!1},Gt=function(e,t,n){if(!ye[t]&&Zt(t)&&Wt(ve.tagNameCheck,t))return!1;if(ze&&!Ue[t]&&!Ue[ip(t)]){let t=_(e),r=g(e);if(r&&t){let i=r.length;for(let a=i-1;a>=0;--a){let i=e===n?f(r[a],!0):r[a];t.insertBefore(i,h(e))}}}return bt(e),!0},Kt=function(e,t,n,r){return e.length===0?t:t===n||t===r?xp(t):t},qt=function(e,t){return e===t||_(e)!==null?!1:(Be&&Et(e),!0)},Jt=function(e,n){if(Mt(e),Ut(I.beforeSanitizeElements,e,null),qt(e,n))return!0;if(Bt(e))return bt(e),!0;let r=lt(w(e));if(L=Kt(I.uponSanitizeElement,L,he,Ae),Ut(I.uponSanitizeElement,e,{tagName:r,allowedTags:L}),qt(e,n))return!0;if(R(e,r))return bt(e),!0;if(ye[r]||!(xe.tagCheck instanceof Function&&xe.tagCheck(r))&&!L[r]){let t=Gt(e,r,n);return t===!1&&(Ut(I.afterSanitizeElements,e,null),qt(e,n))?!0:t}if(C(e)===Zp.element&&!yt(e)||(r===`noscript`||r===`noembed`||r===`noframes`)&&gp(Yp,e.innerHTML))return bt(e),!0;if(Ee&&e.nodeType===Zp.text){let n=Lt(e.textContent);e.textContent!==n&&(Zf(t.removed,{element:e.cloneNode()}),e.textContent=n)}return Ut(I.afterSanitizeElements,e,null),qt(e,n)},Yt=function(e,t,r){if(be[t]||Nt(t,e)||Ie&&(t===`id`||t===`name`)&&(r in n||r in dt))return!1;let i=ge[t]||xe.attributeCheck instanceof Function&&xe.attributeCheck(t,e);return Ce&&gp(le,t)||Se&&gp(ue,t)?!0:i?qe[t]||gp(me,sp(r,fe,``))||(t===`src`||t===`xlink:href`||t===`href`)&&e!==`script`&&cp(r,`data:`)===0&&Ge[e]||we&&!gp(de,sp(r,fe,``))?!0:!r:Zt(e)&&Wt(ve.tagNameCheck,e)&&Wt(ve.attributeNameCheck,t,e)||t===`is`&&ve.allowCustomizedBuiltInElements&&Wt(ve.tagNameCheck,r)},Xt=X({},[`annotation-xml`,`color-profile`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`missing-glyph`]),Zt=function(e){return!Xt[ip(e)]&&gp(pe,e)},Qt=function(e,t,n,r){if(D&&typeof u==`object`&&typeof u.getAttributeType==`function`&&!n)switch(u.getAttributeType(e,t)){case`TrustedHTML`:return M(r);case`TrustedScriptURL`:return N(r)}return r},$t=function(e,t,n,r){try{return n?e.setAttributeNS(n,t,r):e.setAttribute(t,r),!Bt(e)||(bt(e),!1)}catch{return Ct(t,e),!1}},en=function(e,t){return De&&gp(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,t)?!0:ip(e)===`attributename`&&op(t,`href`)!==null},tn=function(e,n){if(Ut(I.beforeSanitizeAttributes,e,null),qt(e,n))return;let r=e.attributes;if(!r||Bt(e))return;ge=Kt(I.uponSanitizeAttribute,ge,_e,je);let i={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:ge,forceKeepAttr:void 0},a=r.length,o=lt(e.nodeName);for(;a--;){let n=r[a],s=n.name,c=n.namespaceURI,l=n.value,u=lt(s),d=l,f=s===`value`?d:lp(d),p=!1;i.attrName=u,i.attrValue=f,i.keepAttr=!0,i.forceKeepAttr=void 0,Ut(I.uponSanitizeAttribute,e,i),f=i.attrValue,Le&&(u===`id`||u===`name`)&&cp(f,Re)!==0&&(Ct(s,e,n),f=Re+f,p=!0),en(s,f)?Ct(s,e,n):i.forceKeepAttr||(i.keepAttr?!Te&&gp(Xp,f)?Ct(s,e,n):(Ee&&(f=Lt(f)),Yt(o,u,f)?(f=Qt(o,u,c,f),f!==d&&$t(e,s,c,f)&&p&&Xf(t.removed)):Ct(s,e,n)):Ct(s,e,n))}Ut(I.afterSanitizeAttributes,e,null),qt(e,n)},nn=function(e){let t=null,n=It(e);for(Ut(I.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(Ut(I.uponSanitizeShadowNode,t,null),Jt(t,e),tn(t,e),Vt(t.content)&&nn(t.content),C(t)===Zp.element){let e=v(t);Vt(e)&&(rn(e),nn(e))}Ee&&zt(e),Ut(I.afterSanitizeShadowDOM,e,null)},rn=function(e){let t=[{node:e,shadow:null}];for(;t.length>0;){let e=t.pop();if(e.shadow){nn(e.shadow);continue}let n=e.node,r=C(n)===Zp.element,i=g(n);if(i)for(let e=i.length-1;e>=0;--e)t.push({node:i[e],shadow:null});if(r){let e=x?x(n):null;if(typeof e==`string`&<(e)===`template`){let e=n.content;Vt(e)&&t.push({node:e,shadow:null})}}if(r){let e=v(n);Vt(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return t.sanitize=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=null,a=null,o=null,s=null;if($e=!e,$e&&(e=`<!-->`),typeof e!=`string`&&!Ht(e)&&(e=Sp(e),typeof e!=`string`))throw _p(`dirty is not a string, aborting`);if(!t.isSupported)return e;ke?(L=Ae,ge=je):pt(n),(I.uponSanitizeElement.length>0||I.uponSanitizeAttribute.length>0)&&(L=xp(L)),I.uponSanitizeAttribute.length>0&&(ge=xp(ge)),t.removed=[];let c=Be&&typeof e!=`string`&&Ht(e),l=[],u=Ve;if(c){Pt(e);let t=w(e);if(typeof t==`string`){let n=lt(t);if(!L[n]||ye[n])throw St(e),_p(`root node is forbidden and cannot be sanitized in-place`)}if(Bt(e))throw St(e),_p(`root node is clobbered and cannot be sanitized in-place`);l=Dt(e),Ve=tp()}else if(Ht(e))i=Ft(`<!---->`),a=i.ownerDocument.importNode(e,!0),a.nodeType===Zp.element&&a.nodeName===`BODY`||a.nodeName===`HTML`?i=a:i.appendChild(a),rn(i);else{if(!Ne&&!Ee&&!Oe&&e.indexOf(`<`)===-1)return D&&Fe?M(e):e;if(i=Ft(e),!i)return Ne?null:Fe?O:``}i&&Me&&bt(i.firstChild);let d=c?e:i;try{c&&rn(e);let t=It(d);for(;o=t.nextNode();)Jt(o,d),tn(o,d),Vt(o.content)&&nn(o.content);c&&At(e,l)}catch(t){throw c&&(St(e),kt(e,l)),t}finally{Ve=u}if(c){if(kt(e,l))throw _p(`a node selected for removal could not be safely returned; refusing to sanitize in place`);return Ee&&Rt(e),e}if(Ne){if(Ee&&Rt(i),Pe)for(s=F.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(ge.shadowroot||ge.shadowrootmode)&&(s=ae.call(r,s,!0)),s}let f=Oe?i.outerHTML:i.innerHTML;return Oe&&L[`!doctype`]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&gp(Gp,i.ownerDocument.doctype.name)&&(f=`<!DOCTYPE `+i.ownerDocument.doctype.name+`>
|
|
85
|
-
`+f),Ee&&(f=Lt(f)),D&&Fe?M(f):f},t.setConfig=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};pt(e),ke=!0,Ae=L,je=ge},t.clearConfig=function(){ut=null,ke=!1,Ae=null,je=null,D=k,O=``},t.isValidAttribute=function(e,t,n){ut||pt({});let r=lt(e),i=lt(t);return typeof n==`string`&&(en(t,n)||!Te&&gp(Xp,n))?!1:Yt(r,i,n)},t.addHook=function(e,t){typeof t==`function`&&mp(I,e)&&Zf(I[e],t)},t.removeHook=function(e,t){if(mp(I,e)){if(t!==void 0){let n=Yf(I[e],t);return n===-1?void 0:$f(I[e],n,1)[0]}return Xf(I[e])}},t.removeHooks=function(e){mp(I,e)&&(I[e]=[])},t.removeAllHooks=function(){I=tm()},t}var am=im(),om=`data-pie-authored-ink`,sm=`data-pie-authored-fill`,cm=`data-pie-authored-border`,lm=[`border-top-color`,`border-right-color`,`border-bottom-color`,`border-left-color`],um=new Set([`currentcolor`,`inherit`,`initial`,`unset`,`revert`,`revert-layer`,`transparent`]);function dm(e){let t=e?.trim().toLowerCase();return!t||um.has(t)||t.includes(`var(`)?!1:hm(t)?.a!==0}function fm(e){let t=hm(e);if(!t)return`shade`;let n=e=>(e*t.a+255*(1-t.a))/255,[r,i,a]=[n(t.r),n(t.g),n(t.b)],o=.2126*Fm(r)+.7152*Fm(i)+.0722*Fm(a),s=Math.max(r,i,a)-Math.min(r,i,a);return o>=.85&&s<=.08?`light`:`shade`}function pm(e){e.removeAttribute(om),e.removeAttribute(sm),e.removeAttribute(cm);let t=e.hasAttribute(`style`)?e.style:void 0,n=e=>t?.getPropertyValue(e).trim()??``,r=[],i=n(`color`),a=e.localName===`font`?e.getAttribute(`color`):null;dm(i||a)&&(e.setAttribute(om,``),i&&r.push(`color`));let o=n(`background-color`),s=o||mm(e.getAttribute(`bgcolor`));dm(s)&&(e.setAttribute(sm,fm(s)),o&&r.push(`background-color`));let c=lm.filter(e=>dm(n(e)));c.length&&(e.setAttribute(cm,``),r.push(...c));for(let e of r)t?.getPropertyPriority(e)===`important`&&t.setProperty(e,t.getPropertyValue(e))}function mm(e){let t=e?.trim()??``;return/^(?:[\da-f]{3}|[\da-f]{6})$/i.test(t)?`#${t}`:t}function hm(e){let t=e.trim().toLowerCase();if(t===`transparent`)return{r:0,g:0,b:0,a:0};let n=_m().get(t);if(n)return vm(n);if(t.startsWith(`#`))return vm(t.slice(1));let r=/^([a-z]+)\(([^()]*)\)$/.exec(t);if(!r)return null;let i=r[2].trim().split(/\s*[\s,/]\s*/);if(i.length!==3&&i.length!==4)return null;let[a,o,s,c]=i,l=Sm(c),u;switch(r[1]){case`rgb`:case`rgba`:u=[a,o,s].map(e=>bm(e,255)/255);break;case`hsl`:case`hsla`:u=wm(xm(a),bm(o,100)/100,bm(s,100)/100);break;case`hwb`:u=Tm(xm(a),bm(o,100)/100,bm(s,100)/100);break;case`lab`:u=jm(bm(a,100),bm(o,125),bm(s,125));break;case`lch`:u=jm(bm(a,100),...Cm(bm(o,150),xm(s)));break;case`oklab`:u=Mm(bm(a,1),bm(o,.4),bm(s,.4));break;case`oklch`:u=Mm(bm(a,1),...Cm(bm(o,.4),xm(s)));break;default:return null}if(Number.isNaN(l)||u.some(Number.isNaN))return null;let[d,f,p]=u.map(e=>Im(e,0,1)*255);return{r:d,g:f,b:p,a:l}}var gm;function _m(){return gm??=new Map(`aliceblue:f0f8ff antiquewhite:faebd7 aqua:00ffff aquamarine:7fffd4 azure:f0ffff beige:f5f5dc bisque:ffe4c4 black:000000 blanchedalmond:ffebcd blue:0000ff blueviolet:8a2be2 brown:a52a2a burlywood:deb887 cadetblue:5f9ea0 chartreuse:7fff00 chocolate:d2691e coral:ff7f50 cornflowerblue:6495ed cornsilk:fff8dc crimson:dc143c cyan:00ffff darkblue:00008b darkcyan:008b8b darkgoldenrod:b8860b darkgray:a9a9a9 darkgreen:006400 darkgrey:a9a9a9 darkkhaki:bdb76b darkmagenta:8b008b darkolivegreen:556b2f darkorange:ff8c00 darkorchid:9932cc darkred:8b0000 darksalmon:e9967a darkseagreen:8fbc8f darkslateblue:483d8b darkslategray:2f4f4f darkslategrey:2f4f4f darkturquoise:00ced1 darkviolet:9400d3 deeppink:ff1493 deepskyblue:00bfff dimgray:696969 dimgrey:696969 dodgerblue:1e90ff firebrick:b22222 floralwhite:fffaf0 forestgreen:228b22 fuchsia:ff00ff gainsboro:dcdcdc ghostwhite:f8f8ff gold:ffd700 goldenrod:daa520 gray:808080 green:008000 greenyellow:adff2f grey:808080 honeydew:f0fff0 hotpink:ff69b4 indianred:cd5c5c indigo:4b0082 ivory:fffff0 khaki:f0e68c lavender:e6e6fa lavenderblush:fff0f5 lawngreen:7cfc00 lemonchiffon:fffacd lightblue:add8e6 lightcoral:f08080 lightcyan:e0ffff lightgoldenrodyellow:fafad2 lightgray:d3d3d3 lightgreen:90ee90 lightgrey:d3d3d3 lightpink:ffb6c1 lightsalmon:ffa07a lightseagreen:20b2aa lightskyblue:87cefa lightslategray:778899 lightslategrey:778899 lightsteelblue:b0c4de lightyellow:ffffe0 lime:00ff00 limegreen:32cd32 linen:faf0e6 magenta:ff00ff maroon:800000 mediumaquamarine:66cdaa mediumblue:0000cd mediumorchid:ba55d3 mediumpurple:9370db mediumseagreen:3cb371 mediumslateblue:7b68ee mediumspringgreen:00fa9a mediumturquoise:48d1cc mediumvioletred:c71585 midnightblue:191970 mintcream:f5fffa mistyrose:ffe4e1 moccasin:ffe4b5 navajowhite:ffdead navy:000080 oldlace:fdf5e6 olive:808000 olivedrab:6b8e23 orange:ffa500 orangered:ff4500 orchid:da70d6 palegoldenrod:eee8aa palegreen:98fb98 paleturquoise:afeeee palevioletred:db7093 papayawhip:ffefd5 peachpuff:ffdab9 peru:cd853f pink:ffc0cb plum:dda0dd powderblue:b0e0e6 purple:800080 rebeccapurple:663399 red:ff0000 rosybrown:bc8f8f royalblue:4169e1 saddlebrown:8b4513 salmon:fa8072 sandybrown:f4a460 seagreen:2e8b57 seashell:fff5ee sienna:a0522d silver:c0c0c0 skyblue:87ceeb slateblue:6a5acd slategray:708090 slategrey:708090 snow:fffafa springgreen:00ff7f steelblue:4682b4 tan:d2b48c teal:008080 thistle:d8bfd8 tomato:ff6347 turquoise:40e0d0 violet:ee82ee wheat:f5deb3 white:ffffff whitesmoke:f5f5f5 yellow:ffff00 yellowgreen:9acd32`.split(` `).map(e=>e.split(`:`))),gm}function vm(e){if(!/^(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$/.test(e))return null;let[t,n,r,i=255]=(e.length<=4?[...e].map(e=>e+e):e.match(/../g)??[]).map(e=>Number.parseInt(e,16));return{r:t,g:n,b:r,a:i/255}}var ym=/^([+-]?(?:\d+\.?\d*|\.\d+)(?:e[+-]?\d+)?)(%|deg|rad|grad|turn)?$/;function bm(e,t){if(e===`none`)return 0;let n=ym.exec(e);return!n||n[2]&&n[2]!==`%`?NaN:n[2]?Number(n[1])/100*t:Number(n[1])}function xm(e){if(e===`none`)return 0;let t=ym.exec(e);if(!t||t[2]===`%`)return NaN;let n=Number(t[1]);return((t[2]===`rad`?n*180/Math.PI:t[2]===`grad`?n*.9:t[2]===`turn`?n*360:n)%360+360)%360}function Sm(e){return e===void 0?1:Im(bm(e,1),0,1)}function Cm(e,t){let n=Math.max(0,e),r=t*Math.PI/180;return[n*Math.cos(r),n*Math.sin(r)]}function wm(e,t,n){let r=Im(t,0,1),i=Im(n,0,1),a=t=>{let n=(t+e/30)%12,a=r*Math.min(i,1-i);return i-a*Math.max(-1,Math.min(n-3,9-n,1))};return[a(0),a(8),a(4)]}function Tm(e,t,n){let r=Im(t,0,1),i=Im(n,0,1);return r+i>=1?[,,,].fill(r/(r+i)):wm(e,1,.5).map(e=>e*(1-r-i)+r)}var Em=24389/27,Dm=216/24389,Om=[.3457/.3585,1,.2958/.3585],km=[[.955473421488075,-.02309845494876471,.06325924320057072],[-.0283697093338637,1.0099953980813041,.021041441191917323],[.012314014864481998,-.020507649298898964,1.330365926242124]],Am=[[12831/3959,-329/214,-1974/3959],[-851781/878810,1648619/878810,36519/878810],[705/12673,-2585/12673,705/667]];function jm(e,t,n){let r=Im(e,0,100),i=(r+16)/116,a=t/500+i,o=i-n/200;return Nm(Am,Nm(km,[a**3>Dm?a**3:(116*a-16)/Em,r>Em*Dm?i**3:r/Em,o**3>Dm?o**3:(116*o-16)/Em].map((e,t)=>e*Om[t]))).map(Pm)}function Mm(e,t,n){let r=Im(e,0,1);return Nm([[4.0767416621,-3.3077115913,.2309699292],[-1.2684380046,2.6097574011,-.3413193965],[-.0041960863,-.7034186147,1.707614701]],[r+.3963377774*t+.2158037573*n,r-.1055613458*t-.0638541728*n,r-.0894841775*t-1.291485548*n].map(e=>e**3)).map(Pm)}function Nm(e,t){return e.map(e=>e[0]*t[0]+e[1]*t[1]+e[2]*t[2])}function Pm(e){let t=Im(e,0,1);return t<=.0031308?12.92*t:1.055*t**(1/2.4)-.055}function Fm(e){return e<=.04045?e/12.92:((e+.055)/1.055)**2.4}function Im(e,t,n){return Math.min(n,Math.max(t,e))}var Lm=e=>!!e?.autoplayAudioEnabled&&!e?.autoplayAudioHeld,Rm=[`autoplay`];function zm(e,t){let n=e.audioStartTime||t.audioStartTime,r=e.audioEndTime||t.audioEndTime,i={...e,...n?{audioStartTime:n}:{},...r?{audioEndTime:r}:{}};return!i.waitTime&&n&&r&&(i.waitTime=r-n),i}var Bm=class{#e;#t;#n=!1;#r=!1;constructor(e){this.#e=e}get hasEnded(){return this.#n}get hasFailed(){return this.#r}get pending(){return!this.#n&&!this.#r&&!this.#e.session()?.audioEndTime}follow(e){e!==this.#t&&(this.#t=e,this.#n=!1,this.#r=!1)}recordStart(e=Date.now()){this.#i({audioStartTime:e})}recordEnd(e=Date.now()){this.#i({audioEndTime:e}),!this.#n&&(this.#n=!0,this.#e.announce())}recordFailure(){this.#r||(this.#r=!0,this.#e.announce())}markPlayed(e=!0){this.#n=e}#i(e){let t=this.#e.session()??{},n=zm(t,e);(n.audioStartTime!==t.audioStartTime||n.audioEndTime!==t.audioEndTime||n.waitTime!==t.waitTime)&&this.#e.writeSession(n)}},Vm=e=>e.getAttribute(`src`)||e.querySelector(`source[src]:not([src=""])`)?.getAttribute(`src`)||``;function Hm(e,t){t.follow(Vm(e));let n=()=>t.recordStart(),r=()=>t.recordEnd(),i=()=>t.recordFailure();return e.addEventListener(`playing`,n),e.addEventListener(`ended`,r),e.addEventListener(`error`,i,!0),()=>{e.removeEventListener(`playing`,n),e.removeEventListener(`ended`,r),e.removeEventListener(`error`,i,!0)}}var Um=e=>{let t=e?.querySelector(`audio`);return t?.closest(`.preview-prompt`)?t:null};function Wm(e,t){if(!t.pending)return!1;let n=Um(e);return!!n&&Vm(n)!==``&&n.error===null}var Gm=`play-audio-info`,Km=500,qm=class{#e;#t=null;#n=null;#r=null;constructor(e){this.#e=e}connect(){this.#t||(this.#t=new MutationObserver(()=>this.#i()),this.#t.observe(this.#e.root,{childList:!0,subtree:!0}),this.#i())}disconnect(){this.#t?.disconnect(),this.#t=null,this.#o()}#i(){let e=this.#e.settings();if(!Lm(e)&&!e?.completeAudioEnabled)return;let t=Um(this.#e.root);t&&t!==this.#n&&(this.#o(),this.#a(t,Lm(e)))}#a(e,t){let{root:n,tracker:r,enableAudioImage:i}=this.#e,a=Hm(e,r),o=Jm(i),s=()=>{o.isConnected&&(e.play()?.catch(()=>{}),o.remove()),document.removeEventListener(`click`,s)},c=()=>o.remove();e.addEventListener(`playing`,c);let l=t?setTimeout(()=>{e.paused&&!n.querySelector(`.${Gm}`)&&((n.querySelector(`.main-container`)??n).appendChild(o),document.addEventListener(`click`,s))},Km):void 0;this.#n=e,this.#r=()=>{clearTimeout(l),a(),e.removeEventListener(`playing`,c),document.removeEventListener(`click`,s),o.remove()}}#o(){this.#r?.(),this.#r=null,this.#n=null}};function Jm(e){let t=document.createElement(`div`);t.id=`${Gm}-${Math.random().toString(36).slice(2,10)}`,t.className=Gm,Object.assign(t.style,{position:`absolute`,top:`0`,width:`100%`,height:`100%`,display:`flex`,justifyContent:`center`,alignItems:`center`,background:`white`,zIndex:`1000`,cursor:`pointer`});let n=document.createElement(`img`);return n.src=e,n.alt=`Click anywhere to enable audio autoplay`,n.width=500,n.height=300,t.appendChild(n),t}var Ym=[`script`,`embed`,`base`,`form`,`meta`,`link`,`style`,`foreignobject`],Xm=[`onerror`,`onload`,`onclick`,`onmouseover`,`onmouseout`,`onmouseenter`,`onmouseleave`,`onfocus`,`onblur`,`onkeydown`,`onkeyup`,`onkeypress`,`onsubmit`,`onchange`,`onbeforeunload`,`formaction`,`xlink:href`],Zm=new Set([`iframe`,`object`,`mstack`,`mlongdiv`,`msgroup`,`msrow`,`msline`,`mscarries`,`mscarry`,`semantics`,`annotation`,`none`]),Qm=/^[a-z_][\w.-]*:[a-z][\w.-]*$/,$m=[`alignment`,`target`,`allow`,`allowfullscreen`,`frameborder`,`scrolling`,`data`,`stackalign`,`charalign`,`charspacing`,`longdivstyle`,`position`,`shift`,`location`,`crossout`,`leftoverhang`,`rightoverhang`,`mslinethickness`,`linebreak`],eh=/^\s*document\.getElementById\((['"])([^'"]+)\1\)\.play\(\)\s*;?\s*(?:return\s+false\s*;?\s*)?$/,th=`data-pie-play-audio`,nh={ADD_TAGS:e=>Zm.has(e)||Qm.test(e),ADD_ATTR:$m,FORBID_TAGS:Ym,FORBID_ATTR:[...Xm,...Rm],ALLOW_UNKNOWN_PROTOCOLS:!1,RETURN_TRUSTED_TYPE:!1},rh=!1;function ih(e){for(let t of e.composedPath()){if(!(t instanceof Element))continue;let n=t.getAttribute(th);if(n===null)continue;e.preventDefault();let r=t.getRootNode().getElementById?.(n)??document.getElementById(n);r instanceof HTMLMediaElement&&r.play()?.catch(()=>void 0);return}}var ah=null;function oh(){return ah||(ah=am(window),ah.addHook(`beforeSanitizeAttributes`,e=>{if(e.nodeName!==`A`)return;let t=eh.exec(e.getAttribute(`onclick`)??``)?.[2];t!==void 0&&(e.removeAttribute(`onclick`),e.setAttribute(th,t),rh||=(document.addEventListener(`click`,ih),!0))}),ah.addHook(`afterSanitizeAttributes`,pm),ah)}var sh=1e6,ch=new Map,lh=0;function uh(e){if(e==null||e===``||!am.isSupported)return``;let t=typeof e==`string`?e:String(e),n=ch.get(t);if(n!==void 0)return n;let r=String(oh().sanitize(t,nh)),i=t.length+r.length;if(i>sh)return r;for(let[e,t]of ch){if(lh+i<=sh)break;ch.delete(e),lh-=e.length+t.length}return ch.set(t,r),lh+=i,r}var dh={50:`#fce4ec`,100:`#f8bbd0`,200:`#f48fb1`,300:`#f06292`,400:`#ec407a`,500:`#e91e63`,600:`#d81b60`,700:`#c2185b`,800:`#ad1457`,900:`#880e4f`,A100:`#ff80ab`,A200:`#ff4081`,A400:`#f50057`,A700:`#c51162`},fh={50:`#e8eaf6`,100:`#c5cae9`,200:`#9fa8da`,300:`#7986cb`,400:`#5c6bc0`,500:`#3f51b5`,600:`#3949ab`,700:`#303f9f`,800:`#283593`,900:`#1a237e`,A100:`#8c9eff`,A200:`#536dfe`,A400:`#3d5afe`,A700:`#304ffe`},ph=s({background:()=>Lh,backgroundDark:()=>Rh,black:()=>Zh,blueGrey100:()=>sg,blueGrey300:()=>cg,blueGrey600:()=>lg,blueGrey900:()=>ug,border:()=>Wh,borderDark:()=>Kh,borderGray:()=>qh,borderLight:()=>Gh,buttonBorder:()=>xg,buttonFocusOutline:()=>ig,buttonHoverBg:()=>Sg,correct:()=>yh,correctSecondary:()=>bh,correctTertiary:()=>xh,correctWithIcon:()=>Sh,defaults:()=>Z,disabled:()=>gh,disabledSecondary:()=>_h,disabledText:()=>vh,dropdownBackground:()=>Bh,editorToolbar:()=>bg,fadedPrimary:()=>Mh,focusChecked:()=>eg,focusCheckedBorder:()=>tg,focusOutline:()=>ag,focusUnchecked:()=>ng,focusUncheckedBorder:()=>rg,incorrect:()=>Ch,incorrectSecondary:()=>Th,incorrectWithIcon:()=>wh,keyBoardFocusIndicator:()=>og,keypadButton:()=>pg,keypadButtonHover:()=>gg,keypadButtonOperator:()=>mg,keypadButtonOperatorHover:()=>_g,keypadEmptyPlaceholder:()=>hg,keypadInk:()=>yg,missing:()=>Eh,missingWithIcon:()=>Dh,primary:()=>Oh,primaryDark:()=>Ah,primaryLight:()=>kh,primaryText:()=>jh,secondary:()=>Nh,secondaryBackground:()=>zh,secondaryDark:()=>Fh,secondaryLight:()=>Ph,secondaryText:()=>Ih,surface:()=>Vh,tableGrid:()=>Jh,tableGridLight:()=>Yh,tableStripe:()=>Xh,tertiary:()=>Hh,tertiaryLight:()=>Uh,text:()=>hh,transparent:()=>$h,v:()=>mh,visualElementsColors:()=>Cg,white:()=>Qh}),Z={TEXT:`black`,DISABLED:`grey`,DISABLED_SECONDARY:`#ABABAB`,DISABLED_TEXT:`#545454`,CORRECT:`#208537`,CORRECT_SECONDARY:Mc[50],CORRECT_TERTIARY:`#0EA449`,CORRECT_WITH_ICON:`#087D38`,INCORRECT:`#a65f00`,INCORRECT_SECONDARY:Oc[50],INCORRECT_WITH_ICON:`#BF0D00`,MISSING:Oc[700],MISSING_WITH_ICON:`#6A78A1`,PRIMARY:fh[500],PRIMARY_LIGHT:fh[200],PRIMARY_DARK:fh[800],SECONDARY:dh.A400,SECONDARY_LIGHT:dh[200],SECONDARY_DARK:dh[900],TERTIARY:`#146EB3`,TERTIARY_LIGHT:`#D0E2F0`,BACKGROUND:`rgba(255,255,255,0)`,BACKGROUND_DARK:`#ECEDF1`,DROPDOWN_BACKGROUND:`#E0E1E6`,SECONDARY_BACKGROUND:`rgba(241,241,241,1)`,SURFACE:`#EBECF1`,BORDER:`#9A9A9A`,BORDER_LIGHT:`#D1D1D1`,BORDER_DARK:`#66686A`,BORDER_GRAY:`#7E8494`,TABLE_GRID:`black`,TABLE_GRID_LIGHT:`#dfe2e5`,TABLE_STRIPE:`#f6f8fa`,BLACK:`#000000`,WHITE:`#ffffff`,TRANSPARENT:`transparent`,FOCUS_CHECKED:`#BBDEFB`,FOCUS_CHECKED_BORDER:`#1565C0`,FOCUS_UNCHECKED:`#E0E0E0`,FOCUS_UNCHECKED_BORDER:`#757575`,BUTTON_FOCUS_OUTLINE:`#3B82F6`,BLUE_GREY100:`#F3F5F7`,BLUE_GREY300:`#81848F`,BLUE_GREY600:`#7E8494`,BLUE_GREY900:`#152452`,FADED_PRIMARY:`#DCDAFB`,KEYPAD_BUTTON:`rgb(188, 194, 229)`,KEYPAD_BUTTON_OPERATOR:`rgb(255, 159, 192)`,KEYPAD_EMPTY_PLACEHOLDER:`rgba(245, 0, 87, 0.4)`,KEYPAD_BUTTON_HOVER:`rgb(214, 218, 239)`,KEYPAD_BUTTON_OPERATOR_HOVER:`rgb(255, 197, 217)`,EDITOR_TOOLBAR:`#efefef`,BUTTON_BORDER:`rgba(0, 0, 0, 0.23)`,BUTTON_HOVER_BG:`rgba(0, 0, 0, 0.08)`};Object.freeze(Z);var mh=e=>(...t)=>{let n=t.pop();return t.reduceRight((t,n)=>`var(--${e}-${n}, ${t})`,n)},Q=mh(`pie`),hh=()=>Q(`text`,Z.TEXT),gh=()=>Q(`disabled`,Z.DISABLED),_h=()=>Q(`disabled-secondary`,Z.DISABLED_SECONDARY),vh=()=>Q(`disabled-text`,`text`,Z.DISABLED_TEXT),yh=()=>Q(`correct`,Z.CORRECT),bh=()=>Q(`correct-secondary`,Z.CORRECT_SECONDARY),xh=()=>Q(`correct-tertiary`,Z.CORRECT_TERTIARY),Sh=()=>Q(`correct-icon`,Z.CORRECT_WITH_ICON),Ch=()=>Q(`incorrect`,Z.INCORRECT),wh=()=>Q(`incorrect-icon`,Z.INCORRECT_WITH_ICON),Th=()=>Q(`incorrect-secondary`,Z.INCORRECT_SECONDARY),Eh=()=>Q(`missing`,Z.MISSING),Dh=()=>Q(`missing-icon`,Z.MISSING_WITH_ICON),Oh=()=>Q(`primary`,Z.PRIMARY),kh=()=>Q(`primary-light`,Z.PRIMARY_LIGHT),Ah=()=>Q(`primary-dark`,Z.PRIMARY_DARK),jh=()=>Q(`primary-text`,`text`,Z.TEXT),Mh=()=>Q(`faded-primary`,Z.FADED_PRIMARY),Nh=()=>Q(`secondary`,Z.SECONDARY),Ph=()=>Q(`secondary-light`,Z.SECONDARY_LIGHT),Fh=()=>Q(`secondary-dark`,Z.SECONDARY_DARK),Ih=()=>Q(`secondary-text`,`text`,Z.TEXT),Lh=()=>Q(`background`,Z.BACKGROUND),Rh=()=>Q(`background-dark`,Z.BACKGROUND_DARK),zh=()=>Q(`secondary-background`,Z.SECONDARY_BACKGROUND),Bh=()=>Q(`dropdown-background`,Z.DROPDOWN_BACKGROUND),Vh=()=>Q(`surface`,Z.SURFACE),Hh=()=>Q(`tertiary`,Z.TERTIARY),Uh=()=>Q(`tertiary-light`,Z.TERTIARY_LIGHT),Wh=()=>Q(`border`,Z.BORDER),Gh=()=>Q(`border-light`,Z.BORDER_LIGHT),Kh=()=>Q(`border-dark`,Z.BORDER_DARK),qh=()=>Q(`border-gray`,Z.BORDER_GRAY),Jh=()=>Q(`table-grid`,`text`,Z.TABLE_GRID),Yh=()=>Q(`table-grid-light`,`border-light`,Z.TABLE_GRID_LIGHT),Xh=()=>Q(`table-stripe`,`background-dark`,Z.TABLE_STRIPE),Zh=()=>Q(`black`,Z.BLACK),Qh=()=>Q(`white`,Z.WHITE),$h=()=>Z.TRANSPARENT,eg=()=>Q(`focus-checked`,Z.FOCUS_CHECKED),tg=()=>Q(`focus-checked-border`,Z.FOCUS_CHECKED_BORDER),ng=()=>Q(`focus-unchecked`,Z.FOCUS_UNCHECKED),rg=()=>Q(`focus-unchecked-border`,Z.FOCUS_UNCHECKED_BORDER),ig=()=>Q(`button-focus-outline`,Z.BUTTON_FOCUS_OUTLINE),ag=()=>Q(`focus-outline`,`button-focus-outline`,`focus-checked-border`,Z.FOCUS_CHECKED_BORDER),og=ag,sg=()=>Q(`blue-grey-100`,Z.BLUE_GREY100),cg=()=>Q(`blue-grey-300`,Z.BLUE_GREY300),lg=()=>Q(`blue-grey-600`,Z.BLUE_GREY600),ug=()=>Q(`blue-grey-900`,Z.BLUE_GREY900),dg=e=>{let t=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(e);return t?t.slice(1).map(e=>parseInt(e,16)):e.match(/\d+/g).slice(0,3).map(Number)},fg=(e,t)=>`color-mix(in srgb, rgb(${dg(e).map(e=>(e-255*(1-t))/t).join(` `)}) ${t*100}%, ${Q(`background`,Z.WHITE)})`,pg=()=>Q(`keypad-button`,fg(Z.KEYPAD_BUTTON,.5)),mg=()=>Q(`keypad-button-operator`,fg(Z.KEYPAD_BUTTON_OPERATOR,.5)),hg=()=>Q(`keypad-empty-placeholder`,Z.KEYPAD_EMPTY_PLACEHOLDER),gg=()=>Q(`keypad-button-hover`,fg(Z.KEYPAD_BUTTON_HOVER,.25)),_g=()=>Q(`keypad-button-operator-hover`,fg(Z.KEYPAD_BUTTON_OPERATOR_HOVER,.25)),vg=`clamp(0.6, (r + g + b) / 450, 1)`,yg=()=>`rgb(from ${hh()} calc(r * ${vg}) calc(g * ${vg}) calc(b * ${vg}))`,bg=()=>fg(Z.EDITOR_TOOLBAR,.125),xg=()=>Q(`button-border`,Z.BUTTON_BORDER),Sg=()=>Q(`button-hover-bg`,Z.BUTTON_HOVER_BG),Cg={AXIS_LINE_COLOR:`#5A53C9`,ROLLOVER_FILL_BAR_COLOR:`#050F2D`,GRIDLINES_COLOR:`#8E88EA`,PLOT_FILL_COLOR:`#1463B3`,SHAPES_FILL_COLOR:`#7986cb`},wg=J(`div`)({transformOrigin:`0% 0px 0px`,width:`100%`,display:`block`,overflow:`hidden`,"&.incorrect":{color:`#946202`}}),Tg=J(`div`)({WebkitFontSmoothing:`antialiased`,backgroundColor:`var(--feedback-bg-color, ${Rh()})`,borderRadius:`4px`,lineHeight:`25px`,margin:`0px`,padding:`10px`,verticalAlign:`middle`,color:`var(--feedback-color, ${hh()})`,"&.correct":{backgroundColor:`var(--feedback-correct-bg-color, ${bh()})`},"&.incorrect":{backgroundColor:`var(--feedback-incorrect-bg-color, ${Th()})`}}),Eg=J(`div`)({"&.feedback-enter":{height:`1px`},"&.feedback-enter-active":{height:`45px`,transition:`height 500ms`},"&.feedback-exit":{height:`45px`},"&.feedback-exit-active":{height:`1px`,transition:`height 200ms`}}),Dg=class extends B.Component{static propTypes={correctness:z.string,feedback:z.string};nodeRef=B.createRef();renderFeedback(){let{correctness:e,feedback:t}=this.props;return!e||!t?null:(0,V.jsx)(Bu,{nodeRef:this.nodeRef,timeout:{enter:500,exit:200},classNames:`feedback`,children:(0,V.jsx)(Eg,{ref:this.nodeRef,children:(0,V.jsx)(wg,{children:(0,V.jsx)(Tg,{role:`alert`,className:e,dangerouslySetInnerHTML:{__html:uh(t)}})})})},`hasFeedback`)}render(){return(0,V.jsx)(`div`,{children:(0,V.jsx)(Yu,{children:this.renderFeedback()})})}},Og=()=>{};function kg(){let e=function(){};return e.enabled=!1,e.log=Og,e.extend=()=>e,e.destroy=Og,e}kg.log=Og,kg.enable=Og,kg.disable=()=>``,kg.enabled=()=>!1;var Ag=s({Correct:()=>Ig,Incorrect:()=>Lg,NothingSubmitted:()=>zg,PartiallyCorrect:()=>Rg}),jg=kg(`pie-libs:render-ui:response-indicators`),Mg=J(`div`)(({hasFeedback:e})=>({cursor:e?`pointer`:`default`})),Ng=J(Of)({cursor:`pointer`}),Pg=J(`div`)({padding:`0`,borderRadius:`4px`}),Fg=(e,t)=>{class n extends B.Component{constructor(e){super(e),this.state={}}handlePopoverOpen=e=>{jg(`[handlePopoverOpen]`,e.target),this.setState({anchorEl:e.target})};handlePopoverClose=()=>{this.setState({anchorEl:null})};render(){let{feedback:n}=this.props,{anchorEl:r}=this.state;return(0,V.jsxs)(Mg,{hasFeedback:!!n,children:[(0,V.jsx)(`span`,{ref:e=>this.icon=e,onClick:this.handlePopoverOpen,children:(0,V.jsx)(e,{})}),n&&(0,V.jsx)(Ng,{PaperComponent:Pg,open:!!r,anchorEl:r,anchorOrigin:{vertical:`bottom`,horizontal:`left`},transformOrigin:{vertical:`top`,horizontal:`left`},onClose:this.handlePopoverClose,children:(0,V.jsx)(Dg,{feedback:n,correctness:t})})]})}}return n.propTypes={feedback:z.string},n},Ig=Fg(ar,`correct`),Lg=Fg(Xl,`incorrect`),Rg=Fg(ru,`partially-correct`),zg=Fg(eu,`nothing-submitted`);function Bg(e){return rs(`MuiCollapse`,e)}is(`MuiCollapse`,[`root`,`horizontal`,`vertical`,`entered`,`hidden`,`wrapper`,`wrapperInner`]);var Vg=e=>{let{orientation:t,classes:n}=e;return Cc({root:[`root`,t],entered:[`entered`],hidden:[`hidden`],wrapper:[`wrapper`,t],wrapperInner:[`wrapperInner`,t]},Bg,n)},Hg=J(`div`,{name:`MuiCollapse`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.orientation],n.state===`entered`&&t.entered,n.state===`exited`&&!n.in&&n.collapsedSize===`0px`&&t.hidden]}})(Md(({theme:e})=>({height:0,overflow:`hidden`,transition:e.transitions.create(`height`),variants:[{props:{orientation:`horizontal`},style:{height:`auto`,width:0,transition:e.transitions.create(`width`)}},{props:{state:`entered`},style:{height:`auto`,overflow:`visible`}},{props:{state:`entered`,orientation:`horizontal`},style:{width:`auto`}},{props:({ownerState:e})=>e.state===`exited`&&!e.in&&e.collapsedSize===`0px`,style:{visibility:`hidden`}}]}))),Ug=J(`div`,{name:`MuiCollapse`,slot:`Wrapper`})({display:`flex`,width:`100%`,variants:[{props:{orientation:`horizontal`},style:{width:`auto`,height:`100%`}}]}),Wg=J(`div`,{name:`MuiCollapse`,slot:`WrapperInner`})({width:`100%`,variants:[{props:{orientation:`horizontal`},style:{width:`auto`,height:`100%`}}]}),Gg=B.forwardRef(function(e,t){let n=ou({props:e,name:`MuiCollapse`}),{addEndListener:r,children:i,className:a,collapsedSize:o=`0px`,component:s,easing:c,in:l,onEnter:u,onEntered:d,onEntering:f,onExit:p,onExited:m,onExiting:h,orientation:g=`vertical`,slots:_={},slotProps:v={},style:y,timeout:b=il.standard,TransitionComponent:x=Iu,...S}=n,C={...n,orientation:g,collapsedSize:o},w=Vg(C),T=Pl(),E=vu(),D=B.useRef(null),O=B.useRef(),k=typeof o==`number`?`${o}px`:o,ee=g===`horizontal`,A=ee?`width`:`height`,j=B.useRef(null),M=td(t,j),N=()=>D.current?D.current[ee?`clientWidth`:`clientHeight`]:0,te=Zu(j,(e,t)=>{D.current&&ee&&(D.current.style.position=`absolute`),e.style[A]=k,u&&u(e,t)}),P=Zu(j,(e,t)=>{let n=N();D.current&&ee&&(D.current.style.position=``);let{duration:r,easing:i}=$u({style:y,timeout:b,easing:c},{mode:`enter`});if(b===`auto`){let t=T.transitions.getAutoHeightDuration(n);e.style.transitionDuration=`${t}ms`,O.current=t}else e.style.transitionDuration=typeof r==`string`?r:`${r}ms`;e.style[A]=`${n}px`,e.style.transitionTimingFunction=i,f&&f(e,t)}),ne=Zu(j,(e,t)=>{e.style[A]=`auto`,d&&d(e,t)}),re=Zu(j,e=>{e.style[A]=`${N()}px`,p&&p(e)}),F=Zu(j,m),ie=Zu(j,e=>{let t=N(),{duration:n,easing:r}=$u({style:y,timeout:b,easing:c},{mode:`exit`});if(b===`auto`){let n=T.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${n}ms`,O.current=n}else e.style.transitionDuration=typeof n==`string`?n:`${n}ms`;e.style[A]=k,e.style.transitionTimingFunction=r,h&&h(e)}),ae=e=>{b===`auto`&&E.start(O.current||0,e),r&&r(j.current,e)},I={slots:_,slotProps:v,component:s},[oe,se]=Rd(`root`,{ref:M,className:U(w.root,a),elementType:Hg,externalForwardedProps:I,ownerState:C,additionalProps:{style:{[ee?`minWidth`:`minHeight`]:k,...y}}}),[ce,le]=Rd(`wrapper`,{ref:D,className:w.wrapper,elementType:Ug,externalForwardedProps:I,ownerState:C}),[ue,de]=Rd(`wrapperInner`,{className:w.wrapperInner,elementType:Wg,externalForwardedProps:I,ownerState:C});return(0,V.jsx)(x,{in:l,onEnter:te,onEntered:ne,onEntering:P,onExit:re,onExited:F,onExiting:ie,addEndListener:ae,nodeRef:j,timeout:b===`auto`?null:b,...S,children:(e,{ownerState:t,...n})=>{let r={...C,state:e};return(0,V.jsx)(oe,{...se,className:U(se.className,{entered:w.entered,exited:!l&&k===`0px`&&w.hidden}[e]),ownerState:r,...n,children:(0,V.jsx)(ce,{...le,ownerState:r,children:(0,V.jsx)(ue,{...de,ownerState:r,children:i})})})}})});Gg&&(Gg.muiSupportAuto=!0);function Kg(e){return e?e.trim().replace(/_/g,`-`).split(/[.@]/)[0].toLowerCase():``}function qg(e){return e?e.trim().replace(/_/g,`-`):``}function Jg(e){let t=Kg(e);if(!t)return[];let n=t.split(`-`),r=[];for(let e=n.length;e>0;e--){let t=n.slice(0,e);t.length>1&&t[t.length-1].length===1||r.push(t.join(`-`))}return r}function Yg(e,t){for(let n of Jg(e)){let e=t.find(e=>Kg(e)===n);if(e!=null)return e}}var Xg=`en-US`,Zg=new Set([`ar`,`ckb`,`dv`,`fa`,`he`,`iw`,`ks`,`ku`,`nqo`,`ps`,`sd`,`syr`,`ug`,`ur`,`yi`]),Qg=new Set([`zero`,`one`,`two`,`few`,`many`,`other`]);function $g(e){if(typeof e!=`object`||!e)return!1;let t=Object.keys(e);return t.length>0&&t.every(e=>Qg.has(e))}function e_(e){try{let t=new Intl.Locale(e).textInfo;if(t?.direction===`rtl`||t?.direction===`ltr`)return t.direction}catch{}let t=Kg(e).split(`-`)[0]??``;return Zg.has(t)?`rtl`:`ltr`}var t_=class e{static{this.pluralRules=new Map}constructor(e){this.listeners=new Set,this.config={...e},this.fallbackLocale=qg(e.fallbackLocale)||`en-US`,this.catalogs=new Map([[Xg,e.source]]),this.customMessages={...e.customMessages??{}},this.loading=new Map,this.locale=this.resolveLocaleTag(e.locale)??`en-US`}getLocale(){return this.locale}async setLocale(e){let t=this.resolveLocaleTag(e);t?(await this.ensureLoaded(t),this.locale=t,this.notify()):(this.locale=qg(e)||`en-US`,this.notify())}t(e,t){let n=this.lookup(e);return n===void 0?(this.config.onMissingKey?.(e,this.locale),e):a_(n,t,this.locale)}plural(e,t){let n=this.lookupNode(e);return n===void 0||!$g(n)?this.t(e,t):a_(n[this.selectPluralCategory(t.count)]??n.other,t,this.locale)}getDirection(){return e_(this.locale)}getAvailableLocales(){return[...new Set([...this.catalogs.keys(),...this.config.availableLocales??[],...Object.keys(this.customMessages)])]}isLocaleLoaded(e){let t=this.resolveLocaleTag(e);return t!==void 0&&this.catalogs.has(t)}needsLoad(e){let t=this.resolveLocaleTag(e);return t!==void 0&&!this.catalogs.has(t)&&this.config.availableLocales?.includes(t)===!0}subscribe(e){return this.listeners.add(e),()=>{this.listeners.delete(e)}}hasKey(e){return this.lookup(e)!==void 0}addCustomMessages(e,t){let n=qg(e);this.customMessages[n]=o_(this.customMessages[n]??{},t),this.notify()}withLocale(t){let n=this.resolveLocaleTag(t)??qg(t);if(n===this.locale)return this;let r=new e({...this.config,locale:n});return r.locale=n||`en-US`,r.catalogs=this.catalogs,r.customMessages=this.customMessages,r.loading=this.loading,r}formatNumber(e,t){try{return new Intl.NumberFormat(this.locale,t).format(e)}catch{return new Intl.NumberFormat(Xg,t).format(e)}}formatDate(e,t){try{return new Intl.DateTimeFormat(this.locale,t).format(e)}catch{return new Intl.DateTimeFormat(Xg,t).format(e)}}async ensureLoaded(e){if(this.catalogs.has(e)||!this.config.availableLocales?.includes(e))return;let t=this.loading.get(e);if(t){await t;return}let n=this.loadCatalog(e);this.loading.set(e,n);try{await n}finally{this.loading.delete(e)}}resolveLocaleTag(e){if(!e)return;let t=this.getAvailableLocales(),n=Yg(e,t);if(n)return n;let r=Kg(e).split(`-`)[0];if(r)return t.find(e=>Kg(e).split(`-`)[0]===r)}async loadCatalog(e){let t=this.config.loadCatalog;if(t)try{this.catalogs.set(e,await t(e))}catch(t){throw Error(`Failed to load i18n catalog for locale: ${e}`,{cause:t})}}lookupNode(e){let t=[this.customMessages[this.locale],this.catalogs.get(this.locale),this.customMessages[this.fallbackLocale],this.catalogs.get(this.fallbackLocale)];for(let n of t){let t=n_(n,e);if(t!==void 0)return t}}lookup(e){let t=this.lookupNode(e);if(typeof t==`string`)return t;if(t!==void 0&&$g(t))return t.other}selectPluralCategory(t){let n=e.pluralRules.get(this.locale);if(!n){try{n=new Intl.PluralRules(this.locale)}catch{return t===1?`one`:`other`}e.pluralRules.set(this.locale,n)}return n.select(t)}notify(){for(let e of this.listeners)e()}};function n_(e,t){if(!e)return;let n=e;for(let e of t.split(`.`))if(typeof n!=`object`||!n||(n=n[e],n===void 0))return;return n}var r_=new Map;function i_(e,t){let n=r_.get(t);if(!n){try{n=new Intl.NumberFormat(t)}catch{n=new Intl.NumberFormat(Xg)}r_.set(t,n)}return n.format(e)}function a_(e,t,n){return t?e.replace(/\{(\w+)\}/g,(e,r)=>{let i=t[r];return i==null?e:n!==void 0&&typeof i==`number`&&Number.isFinite(i)?i_(i,n):String(i)}):e}function o_(e,t){let n={...e};for(let[e,r]of Object.entries(t)){let t=n[e];n[e]=r&&typeof r==`object`&&t&&typeof t==`object`?o_(t,r):r}return n}var s_=Symbol.for(`pie-element.i18n.registry`);function c_(){let e=globalThis;return e[s_]||(e[s_]={sets:new Set,messages:new Map}),e[s_]}function l_(e){let t=e.loaders??{},n=c_(),r=new t_({source:e.source,availableLocales:[Xg,...Object.keys(t)],loadCatalog:async e=>(await t[e]()).default});for(let{locale:t,messages:i}of n.messages.get(e.packageName)??[])r.addCustomMessages(t,i);let i=new Map,a=new Map,o=new Set,s=e=>{let t=e||`en-US`,n=i.get(t);return n||(n=r.withLocale(t),i.set(t,n)),n},c={packageName:e.packageName,locales:[Xg,...Object.keys(t)],forLocale:(e,t)=>(t&&e&&c.needsLoad(e)&&c.load(e).then(t),s(e)),needsLoad:e=>!o.has(e)&&r.needsLoad(e),load:t=>{if(!c.needsLoad(t))return Promise.resolve();let n=a.get(t);return n||(n=s(t).setLocale(t).catch(n=>{o.add(t),console.warn(`[${e.packageName}]`,n)}).finally(()=>a.delete(t)),a.set(t,n)),n},addCustomMessages:(e,t)=>{r.addCustomMessages(e,t),i.clear()}};return n.sets.add(c),c}function u_(e){let t=qg(e).split(/[.@]/)[0];if(/^[a-z]{2,3}(-|$)/i.test(t))try{return Intl.getCanonicalLocales(t)[0]}catch{return}}function d_(e){let t=u_(e);return t?{lang:t,dir:e_(t)}:void 0}var f_=l_({packageName:`@pie-lib/render-ui`,source:{playAudio:`Play audio`,show:`Show`,hide:`Hide`},loaders:{}}),p_=e=>`${e}-${Math.random().toString(36).slice(2,10)}`,m_=e=>B.useState(()=>p_(e))[0],h_=J(`button`)({display:`inline-block`,minHeight:`24px`,padding:0,border:0,background:`transparent`,font:`inherit`,textAlign:`inherit`,color:Hh(),cursor:`pointer`}),g_=J(`span`)({borderBottom:`1px dotted currentColor`}),__=J(Gg)(({theme:e})=>({paddingTop:e.spacing(2)})),v_=class extends B.Component{static propTypes={className:z.string,children:z.object,labels:z.shape({visible:z.string,hidden:z.string}),language:z.string};static defaultProps={labels:{}};state={expanded:!1};panelId=p_(`pie-collapsible`);toggleExpanded=()=>{this.setState(e=>({expanded:!e.expanded}))};relabel=()=>this.forceUpdate();componentDidMount(){Wn(this.root)}componentDidUpdate(){Wn(this.root)}render(){let{labels:e,children:t,className:n,language:r}=this.props,{expanded:i}=this.state,a=f_.forLocale(r,this.relabel),o=i?e.visible||a.t(`hide`):e.hidden||a.t(`show`);return(0,V.jsxs)(`div`,{className:n,ref:e=>this.root=e,children:[(0,V.jsx)(`div`,{children:(0,V.jsx)(h_,{type:`button`,"aria-expanded":i,"aria-controls":this.panelId,onClick:this.toggleExpanded,children:(0,V.jsx)(g_,{children:o})})}),(0,V.jsx)(`div`,{id:this.panelId,children:(0,V.jsx)(__,{in:i,timeout:{enter:225,exit:195},unmountOnExit:!0,children:t})})]})}};function y_(e){try{return e.matches(`:focus-visible`)}catch{}return!1}var b_=class e{static create(){return new e}static use(){let t=mu(e.create).current,[n,r]=B.useState(!1);return t.shouldMount=n,t.setShouldMount=r,B.useEffect(t.mountEffect,[n]),t}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=S_(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}};function x_(){return b_.use()}function S_(){let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}function C_(e){let{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:a,rippleSize:o,in:s,onExited:c,timeout:l}=e,[u,d]=B.useState(!1),f=U(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),p={width:o,height:o,top:-(o/2)+a,left:-(o/2)+i},m=U(n.child,u&&n.childLeaving,r&&n.childPulsate);return!s&&!u&&d(!0),B.useEffect(()=>{if(!s&&c!=null){let e=setTimeout(c,l);return()=>{clearTimeout(e)}}},[c,s,l]),(0,V.jsx)(`span`,{className:f,style:p,children:(0,V.jsx)(`span`,{className:m})})}var w_=is(`MuiTouchRipple`,[`root`,`ripple`,`rippleVisible`,`ripplePulsate`,`child`,`childLeaving`,`childPulsate`]),T_=550,E_=ra`
|
|
85
|
+
`+f),Ee&&(f=Lt(f)),D&&Fe?M(f):f},t.setConfig=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};pt(e),ke=!0,Ae=L,je=ge},t.clearConfig=function(){ut=null,ke=!1,Ae=null,je=null,D=k,O=``},t.isValidAttribute=function(e,t,n){ut||pt({});let r=lt(e),i=lt(t);return typeof n==`string`&&(en(t,n)||!Te&&gp(Xp,n))?!1:Yt(r,i,n)},t.addHook=function(e,t){typeof t==`function`&&mp(I,e)&&Zf(I[e],t)},t.removeHook=function(e,t){if(mp(I,e)){if(t!==void 0){let n=Yf(I[e],t);return n===-1?void 0:$f(I[e],n,1)[0]}return Xf(I[e])}},t.removeHooks=function(e){mp(I,e)&&(I[e]=[])},t.removeAllHooks=function(){I=tm()},t}var am=im(),om=`data-pie-authored-ink`,sm=`data-pie-authored-fill`,cm=`data-pie-authored-border`,lm=[`border-top-color`,`border-right-color`,`border-bottom-color`,`border-left-color`],um=new Set([`currentcolor`,`inherit`,`initial`,`unset`,`revert`,`revert-layer`,`transparent`]);function dm(e){let t=e?.trim().toLowerCase();return!t||um.has(t)||t.includes(`var(`)?!1:hm(t)?.a!==0}function fm(e){let t=hm(e);if(!t)return`shade`;let n=e=>(e*t.a+255*(1-t.a))/255,[r,i,a]=[n(t.r),n(t.g),n(t.b)],o=.2126*Fm(r)+.7152*Fm(i)+.0722*Fm(a),s=Math.max(r,i,a)-Math.min(r,i,a);return o>=.85&&s<=.08?`light`:`shade`}function pm(e){e.removeAttribute(om),e.removeAttribute(sm),e.removeAttribute(cm);let t=e.hasAttribute(`style`)?e.style:void 0,n=e=>t?.getPropertyValue(e).trim()??``,r=[],i=n(`color`),a=e.localName===`font`?e.getAttribute(`color`):null;dm(i||a)&&(e.setAttribute(om,``),i&&r.push(`color`));let o=n(`background-color`),s=o||mm(e.getAttribute(`bgcolor`));dm(s)&&(e.setAttribute(sm,fm(s)),o&&r.push(`background-color`));let c=lm.filter(e=>dm(n(e)));c.length&&(e.setAttribute(cm,``),r.push(...c));for(let e of r)t?.getPropertyPriority(e)===`important`&&t.setProperty(e,t.getPropertyValue(e))}function mm(e){let t=e?.trim()??``;return/^(?:[\da-f]{3}|[\da-f]{6})$/i.test(t)?`#${t}`:t}function hm(e){let t=e.trim().toLowerCase();if(t===`transparent`)return{r:0,g:0,b:0,a:0};let n=_m().get(t);if(n)return vm(n);if(t.startsWith(`#`))return vm(t.slice(1));let r=/^([a-z]+)\(([^()]*)\)$/.exec(t);if(!r)return null;let i=r[2].trim().split(/\s*[\s,/]\s*/);if(i.length!==3&&i.length!==4)return null;let[a,o,s,c]=i,l=Sm(c),u;switch(r[1]){case`rgb`:case`rgba`:u=[a,o,s].map(e=>bm(e,255)/255);break;case`hsl`:case`hsla`:u=wm(xm(a),bm(o,100)/100,bm(s,100)/100);break;case`hwb`:u=Tm(xm(a),bm(o,100)/100,bm(s,100)/100);break;case`lab`:u=jm(bm(a,100),bm(o,125),bm(s,125));break;case`lch`:u=jm(bm(a,100),...Cm(bm(o,150),xm(s)));break;case`oklab`:u=Mm(bm(a,1),bm(o,.4),bm(s,.4));break;case`oklch`:u=Mm(bm(a,1),...Cm(bm(o,.4),xm(s)));break;default:return null}if(Number.isNaN(l)||u.some(Number.isNaN))return null;let[d,f,p]=u.map(e=>Im(e,0,1)*255);return{r:d,g:f,b:p,a:l}}var gm;function _m(){return gm??=new Map(`aliceblue:f0f8ff antiquewhite:faebd7 aqua:00ffff aquamarine:7fffd4 azure:f0ffff beige:f5f5dc bisque:ffe4c4 black:000000 blanchedalmond:ffebcd blue:0000ff blueviolet:8a2be2 brown:a52a2a burlywood:deb887 cadetblue:5f9ea0 chartreuse:7fff00 chocolate:d2691e coral:ff7f50 cornflowerblue:6495ed cornsilk:fff8dc crimson:dc143c cyan:00ffff darkblue:00008b darkcyan:008b8b darkgoldenrod:b8860b darkgray:a9a9a9 darkgreen:006400 darkgrey:a9a9a9 darkkhaki:bdb76b darkmagenta:8b008b darkolivegreen:556b2f darkorange:ff8c00 darkorchid:9932cc darkred:8b0000 darksalmon:e9967a darkseagreen:8fbc8f darkslateblue:483d8b darkslategray:2f4f4f darkslategrey:2f4f4f darkturquoise:00ced1 darkviolet:9400d3 deeppink:ff1493 deepskyblue:00bfff dimgray:696969 dimgrey:696969 dodgerblue:1e90ff firebrick:b22222 floralwhite:fffaf0 forestgreen:228b22 fuchsia:ff00ff gainsboro:dcdcdc ghostwhite:f8f8ff gold:ffd700 goldenrod:daa520 gray:808080 green:008000 greenyellow:adff2f grey:808080 honeydew:f0fff0 hotpink:ff69b4 indianred:cd5c5c indigo:4b0082 ivory:fffff0 khaki:f0e68c lavender:e6e6fa lavenderblush:fff0f5 lawngreen:7cfc00 lemonchiffon:fffacd lightblue:add8e6 lightcoral:f08080 lightcyan:e0ffff lightgoldenrodyellow:fafad2 lightgray:d3d3d3 lightgreen:90ee90 lightgrey:d3d3d3 lightpink:ffb6c1 lightsalmon:ffa07a lightseagreen:20b2aa lightskyblue:87cefa lightslategray:778899 lightslategrey:778899 lightsteelblue:b0c4de lightyellow:ffffe0 lime:00ff00 limegreen:32cd32 linen:faf0e6 magenta:ff00ff maroon:800000 mediumaquamarine:66cdaa mediumblue:0000cd mediumorchid:ba55d3 mediumpurple:9370db mediumseagreen:3cb371 mediumslateblue:7b68ee mediumspringgreen:00fa9a mediumturquoise:48d1cc mediumvioletred:c71585 midnightblue:191970 mintcream:f5fffa mistyrose:ffe4e1 moccasin:ffe4b5 navajowhite:ffdead navy:000080 oldlace:fdf5e6 olive:808000 olivedrab:6b8e23 orange:ffa500 orangered:ff4500 orchid:da70d6 palegoldenrod:eee8aa palegreen:98fb98 paleturquoise:afeeee palevioletred:db7093 papayawhip:ffefd5 peachpuff:ffdab9 peru:cd853f pink:ffc0cb plum:dda0dd powderblue:b0e0e6 purple:800080 rebeccapurple:663399 red:ff0000 rosybrown:bc8f8f royalblue:4169e1 saddlebrown:8b4513 salmon:fa8072 sandybrown:f4a460 seagreen:2e8b57 seashell:fff5ee sienna:a0522d silver:c0c0c0 skyblue:87ceeb slateblue:6a5acd slategray:708090 slategrey:708090 snow:fffafa springgreen:00ff7f steelblue:4682b4 tan:d2b48c teal:008080 thistle:d8bfd8 tomato:ff6347 turquoise:40e0d0 violet:ee82ee wheat:f5deb3 white:ffffff whitesmoke:f5f5f5 yellow:ffff00 yellowgreen:9acd32`.split(` `).map(e=>e.split(`:`))),gm}function vm(e){if(!/^(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$/.test(e))return null;let[t,n,r,i=255]=(e.length<=4?[...e].map(e=>e+e):e.match(/../g)??[]).map(e=>Number.parseInt(e,16));return{r:t,g:n,b:r,a:i/255}}var ym=/^([+-]?(?:\d+\.?\d*|\.\d+)(?:e[+-]?\d+)?)(%|deg|rad|grad|turn)?$/;function bm(e,t){if(e===`none`)return 0;let n=ym.exec(e);return!n||n[2]&&n[2]!==`%`?NaN:n[2]?Number(n[1])/100*t:Number(n[1])}function xm(e){if(e===`none`)return 0;let t=ym.exec(e);if(!t||t[2]===`%`)return NaN;let n=Number(t[1]);return((t[2]===`rad`?n*180/Math.PI:t[2]===`grad`?n*.9:t[2]===`turn`?n*360:n)%360+360)%360}function Sm(e){return e===void 0?1:Im(bm(e,1),0,1)}function Cm(e,t){let n=Math.max(0,e),r=t*Math.PI/180;return[n*Math.cos(r),n*Math.sin(r)]}function wm(e,t,n){let r=Im(t,0,1),i=Im(n,0,1),a=t=>{let n=(t+e/30)%12,a=r*Math.min(i,1-i);return i-a*Math.max(-1,Math.min(n-3,9-n,1))};return[a(0),a(8),a(4)]}function Tm(e,t,n){let r=Im(t,0,1),i=Im(n,0,1);return r+i>=1?[,,,].fill(r/(r+i)):wm(e,1,.5).map(e=>e*(1-r-i)+r)}var Em=24389/27,Dm=216/24389,Om=[.3457/.3585,1,.2958/.3585],km=[[.955473421488075,-.02309845494876471,.06325924320057072],[-.0283697093338637,1.0099953980813041,.021041441191917323],[.012314014864481998,-.020507649298898964,1.330365926242124]],Am=[[12831/3959,-329/214,-1974/3959],[-851781/878810,1648619/878810,36519/878810],[705/12673,-2585/12673,705/667]];function jm(e,t,n){let r=Im(e,0,100),i=(r+16)/116,a=t/500+i,o=i-n/200;return Nm(Am,Nm(km,[a**3>Dm?a**3:(116*a-16)/Em,r>Em*Dm?i**3:r/Em,o**3>Dm?o**3:(116*o-16)/Em].map((e,t)=>e*Om[t]))).map(Pm)}function Mm(e,t,n){let r=Im(e,0,1);return Nm([[4.0767416621,-3.3077115913,.2309699292],[-1.2684380046,2.6097574011,-.3413193965],[-.0041960863,-.7034186147,1.707614701]],[r+.3963377774*t+.2158037573*n,r-.1055613458*t-.0638541728*n,r-.0894841775*t-1.291485548*n].map(e=>e**3)).map(Pm)}function Nm(e,t){return e.map(e=>e[0]*t[0]+e[1]*t[1]+e[2]*t[2])}function Pm(e){let t=Im(e,0,1);return t<=.0031308?12.92*t:1.055*t**(1/2.4)-.055}function Fm(e){return e<=.04045?e/12.92:((e+.055)/1.055)**2.4}function Im(e,t,n){return Math.min(n,Math.max(t,e))}var Lm=e=>!!e?.autoplayAudioEnabled&&!e?.autoplayAudioHeld,Rm=[`autoplay`];function zm(e,t){let n=e.audioStartTime||t.audioStartTime,r=e.audioEndTime||t.audioEndTime,i={...e,...n?{audioStartTime:n}:{},...r?{audioEndTime:r}:{}};return!i.waitTime&&n&&r&&(i.waitTime=r-n),i}var Bm=class{#e;#t;#n=!1;#r=!1;constructor(e){this.#e=e}get hasEnded(){return this.#n}get hasFailed(){return this.#r}get pending(){return!this.#n&&!this.#r&&!this.#e.session()?.audioEndTime}follow(e){e!==this.#t&&(this.#t=e,this.#n=!1,this.#r=!1)}recordStart(e=Date.now()){this.#i({audioStartTime:e})}recordEnd(e=Date.now()){this.#i({audioEndTime:e}),!this.#n&&(this.#n=!0,this.#e.announce())}recordFailure(){this.#r||(this.#r=!0,this.#e.announce())}markPlayed(e=!0){this.#n=e}#i(e){let t=this.#e.session()??{},n=zm(t,e);(n.audioStartTime!==t.audioStartTime||n.audioEndTime!==t.audioEndTime||n.waitTime!==t.waitTime)&&this.#e.writeSession(n)}},Vm=e=>e.getAttribute(`src`)||e.querySelector(`source[src]:not([src=""])`)?.getAttribute(`src`)||``;function Hm(e,t){t.follow(Vm(e));let n=()=>t.recordStart(),r=()=>t.recordEnd(),i=()=>t.recordFailure();return e.addEventListener(`playing`,n),e.addEventListener(`ended`,r),e.addEventListener(`error`,i,!0),()=>{e.removeEventListener(`playing`,n),e.removeEventListener(`ended`,r),e.removeEventListener(`error`,i,!0)}}var Um=e=>{let t=e?.querySelector(`audio`);return t?.closest(`.preview-prompt`)?t:null};function Wm(e,t){if(!t.pending)return!1;let n=Um(e);return!!n&&Vm(n)!==``&&n.error===null}var Gm=`play-audio-info`,Km=500,qm=class{#e;#t=null;#n=null;#r=null;constructor(e){this.#e=e}connect(){this.#t||(this.#t=new MutationObserver(()=>this.#i()),this.#t.observe(this.#e.root,{childList:!0,subtree:!0}),this.#i())}disconnect(){this.#t?.disconnect(),this.#t=null,this.#o()}#i(){let e=this.#e.settings();if(!Lm(e)&&!e?.completeAudioEnabled)return;let t=Um(this.#e.root);t&&t!==this.#n&&(this.#o(),this.#a(t,Lm(e)))}#a(e,t){let{root:n,tracker:r,enableAudioImage:i}=this.#e,a=Hm(e,r),o=Jm(i),s=()=>{o.isConnected&&(e.play()?.catch(()=>{}),o.remove()),document.removeEventListener(`click`,s)},c=()=>o.remove();e.addEventListener(`playing`,c);let l=t?setTimeout(()=>{e.paused&&!n.querySelector(`.${Gm}`)&&((n.querySelector(`.main-container`)??n).appendChild(o),document.addEventListener(`click`,s))},Km):void 0;this.#n=e,this.#r=()=>{clearTimeout(l),a(),e.removeEventListener(`playing`,c),document.removeEventListener(`click`,s),o.remove()}}#o(){this.#r?.(),this.#r=null,this.#n=null}};function Jm(e){let t=document.createElement(`div`);t.id=`${Gm}-${Math.random().toString(36).slice(2,10)}`,t.className=Gm,Object.assign(t.style,{position:`absolute`,top:`0`,width:`100%`,height:`100%`,display:`flex`,justifyContent:`center`,alignItems:`center`,background:`white`,zIndex:`1000`,cursor:`pointer`});let n=document.createElement(`img`);return n.src=e,n.alt=`Click anywhere to enable audio autoplay`,n.width=500,n.height=300,t.appendChild(n),t}var Ym=[`script`,`embed`,`base`,`form`,`meta`,`link`,`style`,`foreignobject`],Xm=[`onerror`,`onload`,`onclick`,`onmouseover`,`onmouseout`,`onmouseenter`,`onmouseleave`,`onfocus`,`onblur`,`onkeydown`,`onkeyup`,`onkeypress`,`onsubmit`,`onchange`,`onbeforeunload`,`formaction`,`xlink:href`],Zm=new Set([`iframe`,`object`,`mstack`,`mlongdiv`,`msgroup`,`msrow`,`msline`,`mscarries`,`mscarry`,`semantics`,`annotation`,`none`]),Qm=/^[a-z_][\w.-]*:[a-z][\w.-]*$/,$m=[`alignment`,`target`,`allow`,`allowfullscreen`,`frameborder`,`scrolling`,`data`,`stackalign`,`charalign`,`charspacing`,`longdivstyle`,`position`,`shift`,`location`,`crossout`,`leftoverhang`,`rightoverhang`,`mslinethickness`,`linebreak`],eh=/^\s*document\.getElementById\((['"])([^'"]+)\1\)\.play\(\)\s*;?\s*(?:return\s+false\s*;?\s*)?$/,th=`data-pie-play-audio`,nh={ADD_TAGS:e=>Zm.has(e)||Qm.test(e),ADD_ATTR:$m,FORBID_TAGS:Ym,FORBID_ATTR:[...Xm,...Rm],ALLOW_UNKNOWN_PROTOCOLS:!1,RETURN_TRUSTED_TYPE:!1},rh=!1;function ih(e){for(let t of e.composedPath()){if(!(t instanceof Element))continue;let n=t.getAttribute(th);if(n===null)continue;e.preventDefault();let r=t.getRootNode().getElementById?.(n)??document.getElementById(n);r instanceof HTMLMediaElement&&r.play()?.catch(()=>void 0);return}}var ah=null;function oh(){return ah||(ah=am(window),ah.addHook(`beforeSanitizeAttributes`,e=>{if(e.nodeName!==`A`)return;let t=eh.exec(e.getAttribute(`onclick`)??``)?.[2];t!==void 0&&(e.removeAttribute(`onclick`),e.setAttribute(th,t),rh||=(document.addEventListener(`click`,ih),!0))}),ah.addHook(`afterSanitizeAttributes`,pm),ah)}var sh=1e6,ch=new Map,lh=0;function uh(e){if(e==null||e===``||!am.isSupported)return``;let t=typeof e==`string`?e:String(e),n=ch.get(t);if(n!==void 0)return n;let r=String(oh().sanitize(t,nh)),i=t.length+r.length;if(i>sh)return r;for(let[e,t]of ch){if(lh+i<=sh)break;ch.delete(e),lh-=e.length+t.length}return ch.set(t,r),lh+=i,r}var dh={50:`#fce4ec`,100:`#f8bbd0`,200:`#f48fb1`,300:`#f06292`,400:`#ec407a`,500:`#e91e63`,600:`#d81b60`,700:`#c2185b`,800:`#ad1457`,900:`#880e4f`,A100:`#ff80ab`,A200:`#ff4081`,A400:`#f50057`,A700:`#c51162`},fh={50:`#e8eaf6`,100:`#c5cae9`,200:`#9fa8da`,300:`#7986cb`,400:`#5c6bc0`,500:`#3f51b5`,600:`#3949ab`,700:`#303f9f`,800:`#283593`,900:`#1a237e`,A100:`#8c9eff`,A200:`#536dfe`,A400:`#3d5afe`,A700:`#304ffe`},ph=s({background:()=>Lh,backgroundDark:()=>Rh,black:()=>Zh,blueGrey100:()=>sg,blueGrey300:()=>cg,blueGrey600:()=>lg,blueGrey900:()=>ug,border:()=>Wh,borderDark:()=>Kh,borderGray:()=>qh,borderLight:()=>Gh,buttonBorder:()=>xg,buttonFocusOutline:()=>ig,buttonHoverBg:()=>Sg,correct:()=>yh,correctSecondary:()=>bh,correctTertiary:()=>xh,correctWithIcon:()=>Sh,defaults:()=>Z,disabled:()=>gh,disabledSecondary:()=>_h,disabledText:()=>vh,dropdownBackground:()=>Bh,editorToolbar:()=>bg,fadedPrimary:()=>Mh,focusChecked:()=>eg,focusCheckedBorder:()=>tg,focusOutline:()=>ag,focusUnchecked:()=>ng,focusUncheckedBorder:()=>rg,incorrect:()=>Ch,incorrectSecondary:()=>Th,incorrectWithIcon:()=>wh,keyBoardFocusIndicator:()=>og,keypadButton:()=>pg,keypadButtonHover:()=>gg,keypadButtonOperator:()=>mg,keypadButtonOperatorHover:()=>_g,keypadEmptyPlaceholder:()=>hg,keypadInk:()=>yg,missing:()=>Eh,missingWithIcon:()=>Dh,primary:()=>Oh,primaryDark:()=>Ah,primaryLight:()=>kh,primaryText:()=>jh,secondary:()=>Nh,secondaryBackground:()=>zh,secondaryDark:()=>Fh,secondaryLight:()=>Ph,secondaryText:()=>Ih,surface:()=>Vh,tableGrid:()=>Jh,tableGridLight:()=>Yh,tableStripe:()=>Xh,tertiary:()=>Hh,tertiaryLight:()=>Uh,text:()=>hh,transparent:()=>$h,v:()=>mh,visualElementsColors:()=>Cg,white:()=>Qh}),Z={TEXT:`black`,DISABLED:`grey`,DISABLED_SECONDARY:`#ABABAB`,DISABLED_TEXT:`#545454`,CORRECT:`#208537`,CORRECT_SECONDARY:Mc[50],CORRECT_TERTIARY:`#0EA449`,CORRECT_WITH_ICON:`#087D38`,INCORRECT:`#a65f00`,INCORRECT_SECONDARY:Oc[50],INCORRECT_WITH_ICON:`#BF0D00`,MISSING:Oc[700],MISSING_WITH_ICON:`#6A78A1`,PRIMARY:fh[500],PRIMARY_LIGHT:fh[200],PRIMARY_DARK:fh[800],SECONDARY:dh.A400,SECONDARY_LIGHT:dh[200],SECONDARY_DARK:dh[900],TERTIARY:`#146EB3`,TERTIARY_LIGHT:`#D0E2F0`,BACKGROUND:`rgba(255,255,255,0)`,BACKGROUND_DARK:`#ECEDF1`,DROPDOWN_BACKGROUND:`#E0E1E6`,SECONDARY_BACKGROUND:`rgba(241,241,241,1)`,SURFACE:`#EBECF1`,BORDER:`#9A9A9A`,BORDER_LIGHT:`#D1D1D1`,BORDER_DARK:`#66686A`,BORDER_GRAY:`#7E8494`,TABLE_GRID:`black`,TABLE_GRID_LIGHT:`#dfe2e5`,TABLE_STRIPE:`#f6f8fa`,BLACK:`#000000`,WHITE:`#ffffff`,TRANSPARENT:`transparent`,FOCUS_CHECKED:`#BBDEFB`,FOCUS_CHECKED_BORDER:`#1565C0`,FOCUS_UNCHECKED:`#E0E0E0`,FOCUS_UNCHECKED_BORDER:`#757575`,BUTTON_FOCUS_OUTLINE:`#3B82F6`,BLUE_GREY100:`#F3F5F7`,BLUE_GREY300:`#81848F`,BLUE_GREY600:`#7E8494`,BLUE_GREY900:`#152452`,FADED_PRIMARY:`#DCDAFB`,KEYPAD_BUTTON:`rgb(188, 194, 229)`,KEYPAD_BUTTON_OPERATOR:`rgb(255, 159, 192)`,KEYPAD_EMPTY_PLACEHOLDER:`rgba(245, 0, 87, 0.4)`,KEYPAD_BUTTON_HOVER:`rgb(214, 218, 239)`,KEYPAD_BUTTON_OPERATOR_HOVER:`rgb(255, 197, 217)`,EDITOR_TOOLBAR:`#efefef`,BUTTON_BORDER:`rgba(0, 0, 0, 0.23)`,BUTTON_HOVER_BG:`rgba(0, 0, 0, 0.08)`};Object.freeze(Z);var mh=e=>(...t)=>{let n=t.pop();return t.reduceRight((t,n)=>`var(--${e}-${n}, ${t})`,n)},Q=mh(`pie`),hh=()=>Q(`text`,Z.TEXT),gh=()=>Q(`disabled`,Z.DISABLED),_h=()=>Q(`disabled-secondary`,Z.DISABLED_SECONDARY),vh=()=>Q(`disabled-text`,`text`,Z.DISABLED_TEXT),yh=()=>Q(`correct`,Z.CORRECT),bh=()=>Q(`correct-secondary`,Z.CORRECT_SECONDARY),xh=()=>Q(`correct-tertiary`,Z.CORRECT_TERTIARY),Sh=()=>Q(`correct-icon`,Z.CORRECT_WITH_ICON),Ch=()=>Q(`incorrect`,Z.INCORRECT),wh=()=>Q(`incorrect-icon`,Z.INCORRECT_WITH_ICON),Th=()=>Q(`incorrect-secondary`,Z.INCORRECT_SECONDARY),Eh=()=>Q(`missing`,Z.MISSING),Dh=()=>Q(`missing-icon`,Z.MISSING_WITH_ICON),Oh=()=>Q(`primary`,Z.PRIMARY),kh=()=>Q(`primary-light`,Z.PRIMARY_LIGHT),Ah=()=>Q(`primary-dark`,Z.PRIMARY_DARK),jh=()=>Q(`primary-text`,`text`,Z.TEXT),Mh=()=>Q(`faded-primary`,Z.FADED_PRIMARY),Nh=()=>Q(`secondary`,Z.SECONDARY),Ph=()=>Q(`secondary-light`,Z.SECONDARY_LIGHT),Fh=()=>Q(`secondary-dark`,Z.SECONDARY_DARK),Ih=()=>Q(`secondary-text`,`text`,Z.TEXT),Lh=()=>Q(`background`,Z.BACKGROUND),Rh=()=>Q(`background-dark`,Z.BACKGROUND_DARK),zh=()=>Q(`secondary-background`,Z.SECONDARY_BACKGROUND),Bh=()=>Q(`dropdown-background`,Z.DROPDOWN_BACKGROUND),Vh=()=>Q(`surface`,Z.SURFACE),Hh=()=>Q(`tertiary`,Z.TERTIARY),Uh=()=>Q(`tertiary-light`,Z.TERTIARY_LIGHT),Wh=()=>Q(`border`,Z.BORDER),Gh=()=>Q(`border-light`,Z.BORDER_LIGHT),Kh=()=>Q(`border-dark`,Z.BORDER_DARK),qh=()=>Q(`border-gray`,Z.BORDER_GRAY),Jh=()=>Q(`table-grid`,`text`,Z.TABLE_GRID),Yh=()=>Q(`table-grid-light`,`border-light`,Z.TABLE_GRID_LIGHT),Xh=()=>Q(`table-stripe`,`background-dark`,Z.TABLE_STRIPE),Zh=()=>Q(`black`,Z.BLACK),Qh=()=>Q(`white`,Z.WHITE),$h=()=>Z.TRANSPARENT,eg=()=>Q(`focus-checked`,Z.FOCUS_CHECKED),tg=()=>Q(`focus-checked-border`,Z.FOCUS_CHECKED_BORDER),ng=()=>Q(`focus-unchecked`,Z.FOCUS_UNCHECKED),rg=()=>Q(`focus-unchecked-border`,Z.FOCUS_UNCHECKED_BORDER),ig=()=>Q(`button-focus-outline`,Z.BUTTON_FOCUS_OUTLINE),ag=()=>Q(`focus-outline`,`button-focus-outline`,`focus-checked-border`,Z.FOCUS_CHECKED_BORDER),og=ag,sg=()=>Q(`blue-grey-100`,Z.BLUE_GREY100),cg=()=>Q(`blue-grey-300`,Z.BLUE_GREY300),lg=()=>Q(`blue-grey-600`,Z.BLUE_GREY600),ug=()=>Q(`blue-grey-900`,Z.BLUE_GREY900),dg=e=>{let t=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(e);return t?t.slice(1).map(e=>parseInt(e,16)):e.match(/\d+/g).slice(0,3).map(Number)},fg=(e,t)=>`color-mix(in srgb, rgb(${dg(e).map(e=>(e-255*(1-t))/t).join(` `)}) ${t*100}%, ${Q(`background`,Z.WHITE)})`,pg=()=>Q(`keypad-button`,fg(Z.KEYPAD_BUTTON,.5)),mg=()=>Q(`keypad-button-operator`,fg(Z.KEYPAD_BUTTON_OPERATOR,.5)),hg=()=>Q(`keypad-empty-placeholder`,Z.KEYPAD_EMPTY_PLACEHOLDER),gg=()=>Q(`keypad-button-hover`,fg(Z.KEYPAD_BUTTON_HOVER,.25)),_g=()=>Q(`keypad-button-operator-hover`,fg(Z.KEYPAD_BUTTON_OPERATOR_HOVER,.25)),vg=`clamp(0.6, (r + g + b) / 450, 1)`,yg=()=>`rgb(from ${hh()} calc(r * ${vg}) calc(g * ${vg}) calc(b * ${vg}))`,bg=()=>fg(Z.EDITOR_TOOLBAR,.125),xg=()=>Q(`button-border`,Z.BUTTON_BORDER),Sg=()=>Q(`button-hover-bg`,Z.BUTTON_HOVER_BG),Cg={AXIS_LINE_COLOR:`#5A53C9`,ROLLOVER_FILL_BAR_COLOR:`#050F2D`,GRIDLINES_COLOR:`#8E88EA`,PLOT_FILL_COLOR:`#1463B3`,SHAPES_FILL_COLOR:`#7986cb`},wg=J(`div`)({transformOrigin:`0% 0px 0px`,width:`100%`,display:`block`,overflow:`hidden`,"&.incorrect":{color:`#946202`}}),Tg=J(`div`)({WebkitFontSmoothing:`antialiased`,backgroundColor:`var(--feedback-bg-color, ${Rh()})`,borderRadius:`4px`,lineHeight:`25px`,margin:`0px`,padding:`10px`,verticalAlign:`middle`,color:`var(--feedback-color, ${hh()})`,"&.correct":{backgroundColor:`var(--feedback-correct-bg-color, ${bh()})`},"&.incorrect":{backgroundColor:`var(--feedback-incorrect-bg-color, ${Th()})`}}),Eg=J(`div`)({"&.feedback-enter":{height:`1px`},"&.feedback-enter-active":{height:`45px`,transition:`height 500ms`},"&.feedback-exit":{height:`45px`},"&.feedback-exit-active":{height:`1px`,transition:`height 200ms`}}),Dg=class extends B.Component{static propTypes={correctness:z.string,feedback:z.string};nodeRef=B.createRef();renderFeedback(){let{correctness:e,feedback:t}=this.props;return!e||!t?null:(0,V.jsx)(Bu,{nodeRef:this.nodeRef,timeout:{enter:500,exit:200},classNames:`feedback`,children:(0,V.jsx)(Eg,{ref:this.nodeRef,children:(0,V.jsx)(wg,{children:(0,V.jsx)(Tg,{role:`alert`,className:e,dangerouslySetInnerHTML:{__html:uh(t)}})})})},`hasFeedback`)}render(){return(0,V.jsx)(`div`,{children:(0,V.jsx)(Yu,{children:this.renderFeedback()})})}},Og=()=>{};function kg(){let e=function(){};return e.enabled=!1,e.log=Og,e.extend=()=>e,e.destroy=Og,e}kg.log=Og,kg.enable=Og,kg.disable=()=>``,kg.enabled=()=>!1;var Ag=s({Correct:()=>Ig,Incorrect:()=>Lg,NothingSubmitted:()=>zg,PartiallyCorrect:()=>Rg}),jg=kg(`pie-libs:render-ui:response-indicators`),Mg=J(`div`)(({hasFeedback:e})=>({cursor:e?`pointer`:`default`})),Ng=J(Of)({cursor:`pointer`}),Pg=J(`div`)({padding:`0`,borderRadius:`4px`}),Fg=(e,t)=>{class n extends B.Component{constructor(e){super(e),this.state={}}handlePopoverOpen=e=>{jg(`[handlePopoverOpen]`,e.target),this.setState({anchorEl:e.target})};handlePopoverClose=()=>{this.setState({anchorEl:null})};render(){let{feedback:n}=this.props,{anchorEl:r}=this.state;return(0,V.jsxs)(Mg,{hasFeedback:!!n,children:[(0,V.jsx)(`span`,{ref:e=>this.icon=e,onClick:this.handlePopoverOpen,children:(0,V.jsx)(e,{})}),n&&(0,V.jsx)(Ng,{PaperComponent:Pg,open:!!r,anchorEl:r,anchorOrigin:{vertical:`bottom`,horizontal:`left`},transformOrigin:{vertical:`top`,horizontal:`left`},onClose:this.handlePopoverClose,children:(0,V.jsx)(Dg,{feedback:n,correctness:t})})]})}}return n.propTypes={feedback:z.string},n},Ig=Fg(ar,`correct`),Lg=Fg(Xl,`incorrect`),Rg=Fg(ru,`partially-correct`),zg=Fg(eu,`nothing-submitted`);function Bg(e){return rs(`MuiCollapse`,e)}is(`MuiCollapse`,[`root`,`horizontal`,`vertical`,`entered`,`hidden`,`wrapper`,`wrapperInner`]);var Vg=e=>{let{orientation:t,classes:n}=e;return Cc({root:[`root`,t],entered:[`entered`],hidden:[`hidden`],wrapper:[`wrapper`,t],wrapperInner:[`wrapperInner`,t]},Bg,n)},Hg=J(`div`,{name:`MuiCollapse`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.orientation],n.state===`entered`&&t.entered,n.state===`exited`&&!n.in&&n.collapsedSize===`0px`&&t.hidden]}})(Md(({theme:e})=>({height:0,overflow:`hidden`,transition:e.transitions.create(`height`),variants:[{props:{orientation:`horizontal`},style:{height:`auto`,width:0,transition:e.transitions.create(`width`)}},{props:{state:`entered`},style:{height:`auto`,overflow:`visible`}},{props:{state:`entered`,orientation:`horizontal`},style:{width:`auto`}},{props:({ownerState:e})=>e.state===`exited`&&!e.in&&e.collapsedSize===`0px`,style:{visibility:`hidden`}}]}))),Ug=J(`div`,{name:`MuiCollapse`,slot:`Wrapper`})({display:`flex`,width:`100%`,variants:[{props:{orientation:`horizontal`},style:{width:`auto`,height:`100%`}}]}),Wg=J(`div`,{name:`MuiCollapse`,slot:`WrapperInner`})({width:`100%`,variants:[{props:{orientation:`horizontal`},style:{width:`auto`,height:`100%`}}]}),Gg=B.forwardRef(function(e,t){let n=ou({props:e,name:`MuiCollapse`}),{addEndListener:r,children:i,className:a,collapsedSize:o=`0px`,component:s,easing:c,in:l,onEnter:u,onEntered:d,onEntering:f,onExit:p,onExited:m,onExiting:h,orientation:g=`vertical`,slots:_={},slotProps:v={},style:y,timeout:b=il.standard,TransitionComponent:x=Iu,...S}=n,C={...n,orientation:g,collapsedSize:o},w=Vg(C),T=Pl(),E=vu(),D=B.useRef(null),O=B.useRef(),k=typeof o==`number`?`${o}px`:o,ee=g===`horizontal`,A=ee?`width`:`height`,j=B.useRef(null),M=td(t,j),N=()=>D.current?D.current[ee?`clientWidth`:`clientHeight`]:0,te=Zu(j,(e,t)=>{D.current&&ee&&(D.current.style.position=`absolute`),e.style[A]=k,u&&u(e,t)}),P=Zu(j,(e,t)=>{let n=N();D.current&&ee&&(D.current.style.position=``);let{duration:r,easing:i}=$u({style:y,timeout:b,easing:c},{mode:`enter`});if(b===`auto`){let t=T.transitions.getAutoHeightDuration(n);e.style.transitionDuration=`${t}ms`,O.current=t}else e.style.transitionDuration=typeof r==`string`?r:`${r}ms`;e.style[A]=`${n}px`,e.style.transitionTimingFunction=i,f&&f(e,t)}),ne=Zu(j,(e,t)=>{e.style[A]=`auto`,d&&d(e,t)}),re=Zu(j,e=>{e.style[A]=`${N()}px`,p&&p(e)}),F=Zu(j,m),ie=Zu(j,e=>{let t=N(),{duration:n,easing:r}=$u({style:y,timeout:b,easing:c},{mode:`exit`});if(b===`auto`){let n=T.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${n}ms`,O.current=n}else e.style.transitionDuration=typeof n==`string`?n:`${n}ms`;e.style[A]=k,e.style.transitionTimingFunction=r,h&&h(e)}),ae=e=>{b===`auto`&&E.start(O.current||0,e),r&&r(j.current,e)},I={slots:_,slotProps:v,component:s},[oe,se]=Rd(`root`,{ref:M,className:U(w.root,a),elementType:Hg,externalForwardedProps:I,ownerState:C,additionalProps:{style:{[ee?`minWidth`:`minHeight`]:k,...y}}}),[ce,le]=Rd(`wrapper`,{ref:D,className:w.wrapper,elementType:Ug,externalForwardedProps:I,ownerState:C}),[ue,de]=Rd(`wrapperInner`,{className:w.wrapperInner,elementType:Wg,externalForwardedProps:I,ownerState:C});return(0,V.jsx)(x,{in:l,onEnter:te,onEntered:ne,onEntering:P,onExit:re,onExited:F,onExiting:ie,addEndListener:ae,nodeRef:j,timeout:b===`auto`?null:b,...S,children:(e,{ownerState:t,...n})=>{let r={...C,state:e};return(0,V.jsx)(oe,{...se,className:U(se.className,{entered:w.entered,exited:!l&&k===`0px`&&w.hidden}[e]),ownerState:r,...n,children:(0,V.jsx)(ce,{...le,ownerState:r,children:(0,V.jsx)(ue,{...de,ownerState:r,children:i})})})}})});Gg&&(Gg.muiSupportAuto=!0);function Kg(e){return e?e.trim().replace(/_/g,`-`).split(/[.@]/)[0].toLowerCase():``}function qg(e){return e?e.trim().replace(/_/g,`-`):``}function Jg(e){let t=Kg(e);if(!t)return[];let n=t.split(`-`),r=[];for(let e=n.length;e>0;e--){let t=n.slice(0,e);t.length>1&&t[t.length-1].length===1||r.push(t.join(`-`))}return r}var Yg=new Map;function Xg(e){let t=Kg(e);if(!t||typeof Intl>`u`||typeof Intl.Locale!=`function`)return;if(Yg.has(t))return Yg.get(t);let n;try{n=new Intl.Locale(t).maximize().script?.toLowerCase()}catch{}return Yg.set(t,n),n}function Zg(e,t){let n=Xg(e),r=Xg(t);return!n||!r||n===r}function Qg(e){let t=Jg(e),n=Xg(e);if(!n||t.length<2)return t;let r=t[t.length-1],i=`${r}-${n}`;return t.includes(i)?t:[...t.slice(0,-1),i,r]}function $g(e,t){let n=Kg(e);for(let r of Qg(e)){let i=t.find(t=>Kg(t)===r&&(r===n||Zg(e,t)));if(i!=null)return i}}var e_=`en-US`,t_=new Set([`ar`,`ckb`,`dv`,`fa`,`he`,`iw`,`ks`,`ku`,`nqo`,`ps`,`sd`,`syr`,`ug`,`ur`,`yi`]),n_=new Set([`zero`,`one`,`two`,`few`,`many`,`other`]);function r_(e){if(typeof e!=`object`||!e)return!1;let t=Object.keys(e);return t.length>0&&t.every(e=>n_.has(e))}function i_(e){try{let t=new Intl.Locale(e).textInfo;if(t?.direction===`rtl`||t?.direction===`ltr`)return t.direction}catch{}let t=Kg(e).split(`-`)[0]??``;return t_.has(t)?`rtl`:`ltr`}var a_=class e{static{this.pluralRules=new Map}constructor(e){this.listeners=new Set,this.config={...e},this.fallbackLocale=qg(e.fallbackLocale)||`en-US`,this.catalogs=new Map([[e_,e.source]]),this.customMessages={...e.customMessages??{}},this.loading=new Map,this.locale=this.resolveLocaleTag(e.locale)??`en-US`}getLocale(){return this.locale}async setLocale(e){let t=this.resolveLocaleTag(e);t?(await this.ensureLoaded(t),this.locale=t,this.notify()):(this.locale=qg(e)||`en-US`,this.notify())}t(e,t){let n=this.lookup(e);return n===void 0?(this.config.onMissingKey?.(e,this.locale),e):l_(n,t,this.locale)}plural(e,t){let n=this.lookupNode(e);return n===void 0||!r_(n)?this.t(e,t):l_(n[this.selectPluralCategory(t.count)]??n.other,t,this.locale)}getDirection(){return i_(this.locale)}getAvailableLocales(){return[...new Set([...this.catalogs.keys(),...this.config.availableLocales??[],...Object.keys(this.customMessages)])]}isLocaleLoaded(e){let t=this.resolveLocaleTag(e);return t!==void 0&&this.catalogs.has(t)}needsLoad(e){let t=this.resolveLocaleTag(e);return t!==void 0&&!this.catalogs.has(t)&&this.config.availableLocales?.includes(t)===!0}subscribe(e){return this.listeners.add(e),()=>{this.listeners.delete(e)}}hasKey(e){return this.lookup(e)!==void 0}addCustomMessages(e,t){let n=qg(e);this.customMessages[n]=u_(this.customMessages[n]??{},t),this.notify()}withLocale(t){let n=this.resolveLocaleTag(t)??qg(t);if(n===this.locale)return this;let r=new e({...this.config,locale:n});return r.locale=n||`en-US`,r.catalogs=this.catalogs,r.customMessages=this.customMessages,r.loading=this.loading,r}formatNumber(e,t){try{return new Intl.NumberFormat(this.locale,t).format(e)}catch{return new Intl.NumberFormat(e_,t).format(e)}}formatDate(e,t){try{return new Intl.DateTimeFormat(this.locale,t).format(e)}catch{return new Intl.DateTimeFormat(e_,t).format(e)}}async ensureLoaded(e){if(this.catalogs.has(e)||!this.config.availableLocales?.includes(e))return;let t=this.loading.get(e);if(t){await t;return}let n=this.loadCatalog(e);this.loading.set(e,n);try{await n}finally{this.loading.delete(e)}}resolveLocaleTag(e){if(!e)return;let t=this.getAvailableLocales(),n=$g(e,t);if(n)return n;let r=Kg(e).split(`-`)[0];if(r)return t.find(t=>Kg(t).split(`-`)[0]===r&&Zg(e,t))}async loadCatalog(e){let t=this.config.loadCatalog;if(t)try{this.catalogs.set(e,await t(e))}catch(t){throw Error(`Failed to load i18n catalog for locale: ${e}`,{cause:t})}}lookupNode(e){let t=[this.customMessages[this.locale],this.catalogs.get(this.locale),this.customMessages[this.fallbackLocale],this.catalogs.get(this.fallbackLocale)];for(let n of t){let t=o_(n,e);if(t!==void 0)return t}}lookup(e){let t=this.lookupNode(e);if(typeof t==`string`)return t;if(t!==void 0&&r_(t))return t.other}selectPluralCategory(t){let n=e.pluralRules.get(this.locale);if(!n){try{n=new Intl.PluralRules(this.locale)}catch{return t===1?`one`:`other`}e.pluralRules.set(this.locale,n)}return n.select(t)}notify(){for(let e of this.listeners)e()}};function o_(e,t){if(!e)return;let n=e;for(let e of t.split(`.`))if(typeof n!=`object`||!n||(n=n[e],n===void 0))return;return n}var s_=new Map;function c_(e,t){let n=s_.get(t);if(!n){try{n=new Intl.NumberFormat(t)}catch{n=new Intl.NumberFormat(e_)}s_.set(t,n)}return n.format(e)}function l_(e,t,n){return t?e.replace(/\{(\w+)\}/g,(e,r)=>{let i=t[r];return i==null?e:n!==void 0&&typeof i==`number`&&Number.isFinite(i)?c_(i,n):String(i)}):e}function u_(e,t){let n={...e};for(let[e,r]of Object.entries(t)){let t=n[e];n[e]=r&&typeof r==`object`&&t&&typeof t==`object`?u_(t,r):r}return n}var d_=Symbol.for(`pie-element.i18n.registry`);function f_(){let e=globalThis;return e[d_]||(e[d_]={sets:new Set,messages:new Map}),e[d_]}function p_(e){let t=e.loaders??{},n=f_(),r=new a_({source:e.source,availableLocales:[e_,...Object.keys(t)],loadCatalog:async e=>(await t[e]()).default});for(let{locale:t,messages:i}of n.messages.get(e.packageName)??[])r.addCustomMessages(t,i);let i=new Map,a=new Map,o=new Set,s=e=>{let t=e||`en-US`,n=i.get(t);return n||(n=r.withLocale(t),i.set(t,n)),n},c={packageName:e.packageName,locales:[e_,...Object.keys(t)],forLocale:(e,t)=>(t&&e&&c.needsLoad(e)&&c.load(e).then(t),s(e)),needsLoad:e=>!o.has(e)&&r.needsLoad(e),load:t=>{if(!c.needsLoad(t))return Promise.resolve();let n=a.get(t);return n||(n=s(t).setLocale(t).catch(n=>{o.add(t),console.warn(`[${e.packageName}]`,n)}).finally(()=>a.delete(t)),a.set(t,n)),n},addCustomMessages:(e,t)=>{r.addCustomMessages(e,t),i.clear()}};return n.sets.add(c),c}function m_(e){let t=qg(e).split(/[.@]/)[0];if(/^[a-z]{2,3}(-|$)/i.test(t))try{return Intl.getCanonicalLocales(t)[0]}catch{return}}function h_(e){let t=m_(e);return t?{lang:t,dir:i_(t)}:void 0}var g_=p_({packageName:`@pie-lib/render-ui`,source:{playAudio:`Play audio`,show:`Show`,hide:`Hide`},loaders:{}}),__=e=>`${e}-${Math.random().toString(36).slice(2,10)}`,v_=e=>B.useState(()=>__(e))[0],y_=J(`button`)({display:`inline-block`,minHeight:`24px`,padding:0,border:0,background:`transparent`,font:`inherit`,textAlign:`inherit`,color:Hh(),cursor:`pointer`}),b_=J(`span`)({borderBottom:`1px dotted currentColor`}),x_=J(Gg)(({theme:e})=>({paddingTop:e.spacing(2)})),S_=class extends B.Component{static propTypes={className:z.string,children:z.object,labels:z.shape({visible:z.string,hidden:z.string}),language:z.string};static defaultProps={labels:{}};state={expanded:!1};panelId=__(`pie-collapsible`);toggleExpanded=()=>{this.setState(e=>({expanded:!e.expanded}))};relabel=()=>this.forceUpdate();componentDidMount(){Wn(this.root)}componentDidUpdate(){Wn(this.root)}render(){let{labels:e,children:t,className:n,language:r}=this.props,{expanded:i}=this.state,a=g_.forLocale(r,this.relabel),o=i?e.visible||a.t(`hide`):e.hidden||a.t(`show`);return(0,V.jsxs)(`div`,{className:n,ref:e=>this.root=e,children:[(0,V.jsx)(`div`,{children:(0,V.jsx)(y_,{type:`button`,"aria-expanded":i,"aria-controls":this.panelId,onClick:this.toggleExpanded,children:(0,V.jsx)(b_,{children:o})})}),(0,V.jsx)(`div`,{id:this.panelId,children:(0,V.jsx)(x_,{in:i,timeout:{enter:225,exit:195},unmountOnExit:!0,children:t})})]})}};function C_(e){try{return e.matches(`:focus-visible`)}catch{}return!1}var w_=class e{static create(){return new e}static use(){let t=mu(e.create).current,[n,r]=B.useState(!1);return t.shouldMount=n,t.setShouldMount=r,B.useEffect(t.mountEffect,[n]),t}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=E_(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}};function T_(){return w_.use()}function E_(){let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}function D_(e){let{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:a,rippleSize:o,in:s,onExited:c,timeout:l}=e,[u,d]=B.useState(!1),f=U(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),p={width:o,height:o,top:-(o/2)+a,left:-(o/2)+i},m=U(n.child,u&&n.childLeaving,r&&n.childPulsate);return!s&&!u&&d(!0),B.useEffect(()=>{if(!s&&c!=null){let e=setTimeout(c,l);return()=>{clearTimeout(e)}}},[c,s,l]),(0,V.jsx)(`span`,{className:f,style:p,children:(0,V.jsx)(`span`,{className:m})})}var O_=is(`MuiTouchRipple`,[`root`,`ripple`,`rippleVisible`,`ripplePulsate`,`child`,`childLeaving`,`childPulsate`]),k_=550,A_=ra`
|
|
86
86
|
0% {
|
|
87
87
|
transform: scale(0);
|
|
88
88
|
opacity: 0.1;
|
|
@@ -92,7 +92,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
92
92
|
transform: scale(1);
|
|
93
93
|
opacity: 0.3;
|
|
94
94
|
}
|
|
95
|
-
`,
|
|
95
|
+
`,j_=ra`
|
|
96
96
|
0% {
|
|
97
97
|
opacity: 1;
|
|
98
98
|
}
|
|
@@ -100,7 +100,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
100
100
|
100% {
|
|
101
101
|
opacity: 0;
|
|
102
102
|
}
|
|
103
|
-
`,
|
|
103
|
+
`,M_=ra`
|
|
104
104
|
0% {
|
|
105
105
|
transform: scale(1);
|
|
106
106
|
}
|
|
@@ -112,23 +112,23 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
112
112
|
100% {
|
|
113
113
|
transform: scale(1);
|
|
114
114
|
}
|
|
115
|
-
`,
|
|
115
|
+
`,N_=J(`span`,{name:`MuiTouchRipple`,slot:`Root`})({overflow:`hidden`,pointerEvents:`none`,position:`absolute`,zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:`inherit`}),P_=J(D_,{name:`MuiTouchRipple`,slot:`Ripple`})`
|
|
116
116
|
opacity: 0;
|
|
117
117
|
position: absolute;
|
|
118
118
|
|
|
119
|
-
&.${
|
|
119
|
+
&.${O_.rippleVisible} {
|
|
120
120
|
opacity: 0.3;
|
|
121
121
|
transform: scale(1);
|
|
122
|
-
animation-name: ${
|
|
123
|
-
animation-duration: ${
|
|
122
|
+
animation-name: ${A_};
|
|
123
|
+
animation-duration: ${k_}ms;
|
|
124
124
|
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
&.${
|
|
127
|
+
&.${O_.ripplePulsate} {
|
|
128
128
|
animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
& .${
|
|
131
|
+
& .${O_.child} {
|
|
132
132
|
opacity: 1;
|
|
133
133
|
display: block;
|
|
134
134
|
width: 100%;
|
|
@@ -137,25 +137,25 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
137
137
|
background-color: currentColor;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
& .${
|
|
140
|
+
& .${O_.childLeaving} {
|
|
141
141
|
opacity: 0;
|
|
142
|
-
animation-name: ${
|
|
143
|
-
animation-duration: ${
|
|
142
|
+
animation-name: ${j_};
|
|
143
|
+
animation-duration: ${k_}ms;
|
|
144
144
|
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
& .${
|
|
147
|
+
& .${O_.childPulsate} {
|
|
148
148
|
position: absolute;
|
|
149
149
|
/* @noflip */
|
|
150
150
|
left: 0px;
|
|
151
151
|
top: 0;
|
|
152
|
-
animation-name: ${
|
|
152
|
+
animation-name: ${M_};
|
|
153
153
|
animation-duration: 2500ms;
|
|
154
154
|
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
155
155
|
animation-iteration-count: infinite;
|
|
156
156
|
animation-delay: 200ms;
|
|
157
157
|
}
|
|
158
|
-
`,
|
|
158
|
+
`,F_=B.forwardRef(function(e,t){let{center:n=!1,classes:r={},className:i,...a}=ou({props:e,name:`MuiTouchRipple`}),[o,s]=B.useState([]),c=B.useRef(0),l=B.useRef(null);B.useEffect(()=>{l.current&&=(l.current(),null)},[o]);let u=B.useRef(!1),d=vu(),f=B.useRef(null),p=B.useRef(null),m=B.useCallback(e=>{let{pulsate:t,rippleX:n,rippleY:i,rippleSize:a,cb:o}=e;s(e=>[...e,(0,V.jsx)(P_,{classes:{ripple:U(r.ripple,O_.ripple),rippleVisible:U(r.rippleVisible,O_.rippleVisible),ripplePulsate:U(r.ripplePulsate,O_.ripplePulsate),child:U(r.child,O_.child),childLeaving:U(r.childLeaving,O_.childLeaving),childPulsate:U(r.childPulsate,O_.childPulsate)},timeout:k_,pulsate:t,rippleX:n,rippleY:i,rippleSize:a},c.current)]),c.current+=1,l.current=o},[r]),h=B.useCallback((e={},t={},r=()=>{})=>{let{pulsate:i=!1,center:a=n||t.pulsate,fakeElement:o=!1}=t;if(e?.type===`mousedown`&&u.current){u.current=!1;return}e?.type===`touchstart`&&(u.current=!0);let s=o?null:p.current,c=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0},l,h,g;if(a||e===void 0||e.clientX===0&&e.clientY===0||!e.clientX&&!e.touches)l=Math.round(c.width/2),h=Math.round(c.height/2);else{let{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;l=Math.round(t-c.left),h=Math.round(n-c.top)}if(a)g=Math.sqrt((2*c.width**2+c.height**2)/3),g%2==0&&(g+=1);else{let e=Math.max(Math.abs((s?s.clientWidth:0)-l),l)*2+2,t=Math.max(Math.abs((s?s.clientHeight:0)-h),h)*2+2;g=Math.sqrt(e**2+t**2)}e?.touches?f.current===null&&(f.current=()=>{m({pulsate:i,rippleX:l,rippleY:h,rippleSize:g,cb:r})},d.start(80,()=>{f.current&&=(f.current(),null)})):m({pulsate:i,rippleX:l,rippleY:h,rippleSize:g,cb:r})},[n,m,d]),g=B.useCallback(()=>{h({},{pulsate:!0})},[h]),_=B.useCallback((e,t)=>{d.clear(),e?.type===`touchend`&&f.current?(f.current(),f.current=null,d.start(0,()=>{_(e,t)})):(f.current=null,s(e=>e.length>0?e.slice(1):e),l.current=t)},[d]);return B.useImperativeHandle(t,()=>({pulsate:g,start:h,stop:_}),[g,h,_]),(0,V.jsx)(N_,{className:U(O_.root,r.root,i),ref:p,...a,children:(0,V.jsx)(Yu,{component:null,exit:!0,children:o})})});function I_(e){return rs(`MuiButtonBase`,e)}var L_=is(`MuiButtonBase`,[`root`,`disabled`,`focusVisible`]),R_=e=>{let{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,a=Cc({root:[`root`,t&&`disabled`,n&&`focusVisible`]},I_,i);return n&&r&&(a.root+=` ${r}`),a},z_=J(`button`,{name:`MuiButtonBase`,slot:`Root`})({display:`inline-flex`,alignItems:`center`,justifyContent:`center`,position:`relative`,boxSizing:`border-box`,WebkitTapHighlightColor:`transparent`,backgroundColor:`transparent`,outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:`pointer`,userSelect:`none`,verticalAlign:`middle`,MozAppearance:`none`,WebkitAppearance:`none`,textDecoration:`none`,color:`inherit`,"&::-moz-focus-inner":{borderStyle:`none`},[`&.${L_.disabled}`]:{pointerEvents:`none`,cursor:`default`},"@media print":{colorAdjust:`exact`}}),B_=B.forwardRef(function(e,t){let n=ou({props:e,name:`MuiButtonBase`}),{action:r,centerRipple:i=!1,children:a,className:o,component:s=`button`,disabled:c=!1,disableRipple:l=!1,disableTouchRipple:u=!1,focusRipple:d=!1,focusVisibleClassName:f,LinkComponent:p=`a`,onBlur:m,onClick:h,onContextMenu:g,onDragLeave:_,onFocus:v,onFocusVisible:y,onKeyDown:b,onKeyUp:x,onMouseDown:S,onMouseLeave:C,onMouseUp:w,onTouchEnd:T,onTouchMove:E,onTouchStart:D,tabIndex:O=0,TouchRippleProps:k,touchRippleRef:ee,type:A,...j}=n,M=B.useRef(null),N=T_(),te=td(N.ref,ee),[P,ne]=B.useState(!1);c&&P&&ne(!1),B.useImperativeHandle(r,()=>({focusVisible:()=>{ne(!0),M.current.focus()}}),[]);let re=N.shouldMount&&!l&&!c;B.useEffect(()=>{P&&d&&!l&&N.pulsate()},[l,d,P,N]);let F=V_(N,`start`,S,u),ie=V_(N,`stop`,g,u),ae=V_(N,`stop`,_,u),I=V_(N,`stop`,w,u),oe=V_(N,`stop`,e=>{P&&e.preventDefault(),C&&C(e)},u),se=V_(N,`start`,D,u),ce=V_(N,`stop`,T,u),le=V_(N,`stop`,E,u),ue=V_(N,`stop`,e=>{C_(e.target)||ne(!1),m&&m(e)},!1),de=vf(e=>{M.current||=e.currentTarget,C_(e.target)&&(ne(!0),y&&y(e)),v&&v(e)}),fe=()=>{let e=M.current;return e?e.tagName!==`BUTTON`&&!(e.tagName===`A`&&e.href):s&&s!==`button`},pe=vf(e=>{d&&!e.repeat&&P&&e.key===` `&&N.stop(e,()=>{N.start(e)}),e.target===e.currentTarget&&fe()&&e.key===` `&&e.preventDefault(),b&&b(e),e.target===e.currentTarget&&fe()&&e.key===`Enter`&&!c&&(e.preventDefault(),h&&h(e))}),me=vf(e=>{d&&e.key===` `&&P&&!e.defaultPrevented&&N.stop(e,()=>{N.pulsate(e)}),x&&x(e),h&&e.target===e.currentTarget&&fe()&&e.key===` `&&!e.defaultPrevented&&!c&&h(e)}),L=s;L===`button`&&(j.href||j.to)&&(L=p);let he={};if(L===`button`){let e=!!j.formAction;he.type=A===void 0&&!e?`button`:A,he.disabled=c}else!j.href&&!j.to&&(he.role=`button`),c&&(he[`aria-disabled`]=c);let ge=td(t,M),_e={...n,centerRipple:i,component:s,disabled:c,disableRipple:l,disableTouchRipple:u,focusRipple:d,tabIndex:O,focusVisible:P},ve=R_(_e);return(0,V.jsxs)(z_,{as:L,className:U(ve.root,o),ownerState:_e,onBlur:ue,onClick:h,onContextMenu:ie,onFocus:de,onKeyDown:pe,onKeyUp:me,onMouseDown:F,onMouseLeave:oe,onMouseUp:I,onDragLeave:ae,onTouchEnd:ce,onTouchMove:le,onTouchStart:se,ref:ge,tabIndex:c?-1:O,type:A,...he,...j,children:[a,re?(0,V.jsx)(F_,{ref:te,center:i,...k}):null]})});function V_(e,t,n,r=!1){return vf(i=>(n&&n(i),r||e[t](i),!0))}function H_(e){return typeof e.main==`string`}function U_(e,t=[]){if(!H_(e))return!1;for(let n of t)if(!e.hasOwnProperty(n)||typeof e[n]!=`string`)return!1;return!0}function W_(e=[]){return([,t])=>t&&U_(t,e)}function G_(e){return rs(`MuiCircularProgress`,e)}is(`MuiCircularProgress`,[`root`,`determinate`,`indeterminate`,`colorPrimary`,`colorSecondary`,`svg`,`track`,`circle`,`circleDeterminate`,`circleIndeterminate`,`circleDisableShrink`]);var K_=44,q_=ra`
|
|
159
159
|
0% {
|
|
160
160
|
transform: rotate(0deg);
|
|
161
161
|
}
|
|
@@ -163,7 +163,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
163
163
|
100% {
|
|
164
164
|
transform: rotate(360deg);
|
|
165
165
|
}
|
|
166
|
-
`,
|
|
166
|
+
`,J_=ra`
|
|
167
167
|
0% {
|
|
168
168
|
stroke-dasharray: 1px, 200px;
|
|
169
169
|
stroke-dashoffset: 0;
|
|
@@ -178,12 +178,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
178
178
|
stroke-dasharray: 1px, 200px;
|
|
179
179
|
stroke-dashoffset: -126px;
|
|
180
180
|
}
|
|
181
|
-
`,
|
|
182
|
-
animation: ${
|
|
183
|
-
`,
|
|
184
|
-
animation: ${
|
|
185
|
-
`,q_=e=>{let{classes:t,variant:n,color:r,disableShrink:i}=e;return Cc({root:[`root`,n,`color${Y(r)}`],svg:[`svg`],track:[`track`],circle:[`circle`,`circle${Y(n)}`,i&&`circleDisableShrink`]},V_,t)},J_=J(`span`,{name:`MuiCircularProgress`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`color${Y(n.color)}`]]}})(Md(({theme:e})=>({display:`inline-block`,variants:[{props:{variant:`determinate`},style:{transition:e.transitions.create(`transform`)}},{props:{variant:`indeterminate`},style:G_||{animation:`${U_} 1.4s linear infinite`}},...Object.entries(e.palette).filter(B_()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),Y_=J(`svg`,{name:`MuiCircularProgress`,slot:`Svg`})({display:`block`}),X_=J(`circle`,{name:`MuiCircularProgress`,slot:`Circle`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.circle,t[`circle${Y(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(Md(({theme:e})=>({stroke:`currentColor`,variants:[{props:{variant:`determinate`},style:{transition:e.transitions.create(`stroke-dashoffset`)}},{props:{variant:`indeterminate`},style:{strokeDasharray:`80px, 200px`,strokeDashoffset:0}},{props:({ownerState:e})=>e.variant===`indeterminate`&&!e.disableShrink,style:K_||{animation:`${W_} 1.4s ease-in-out infinite`}}]}))),Z_=J(`circle`,{name:`MuiCircularProgress`,slot:`Track`})(Md(({theme:e})=>({stroke:`currentColor`,opacity:(e.vars||e).palette.action.activatedOpacity}))),Q_=B.forwardRef(function(e,t){let n=ou({props:e,name:`MuiCircularProgress`}),{className:r,color:i=`primary`,disableShrink:a=!1,enableTrackSlot:o=!1,size:s=40,style:c,thickness:l=3.6,value:u=0,variant:d=`indeterminate`,...f}=n,p={...n,color:i,disableShrink:a,size:s,thickness:l,value:u,variant:d,enableTrackSlot:o},m=q_(p),h={},g={},_={};if(d===`determinate`){let e=2*Math.PI*((H_-l)/2);h.strokeDasharray=e.toFixed(3),_[`aria-valuenow`]=Math.round(u),h.strokeDashoffset=`${((100-u)/100*e).toFixed(3)}px`,g.transform=`rotate(-90deg)`}return(0,V.jsx)(J_,{className:U(m.root,r),style:{width:s,height:s,...g,...c},ownerState:p,ref:t,role:`progressbar`,..._,...f,children:(0,V.jsxs)(Y_,{className:m.svg,ownerState:p,viewBox:`${H_/2} ${H_/2} ${H_} ${H_}`,children:[o?(0,V.jsx)(Z_,{className:m.track,ownerState:p,cx:H_,cy:H_,r:(H_-l)/2,fill:`none`,strokeWidth:l,"aria-hidden":`true`}):null,(0,V.jsx)(X_,{className:m.circle,style:h,ownerState:p,cx:H_,cy:H_,r:(H_-l)/2,fill:`none`,strokeWidth:l})]})})});function $_(e){return rs(`MuiButton`,e)}var ev=is(`MuiButton`,`root.text.textInherit.textPrimary.textSecondary.textSuccess.textError.textInfo.textWarning.outlined.outlinedInherit.outlinedPrimary.outlinedSecondary.outlinedSuccess.outlinedError.outlinedInfo.outlinedWarning.contained.containedInherit.containedPrimary.containedSecondary.containedSuccess.containedError.containedInfo.containedWarning.disableElevation.focusVisible.disabled.colorInherit.colorPrimary.colorSecondary.colorSuccess.colorError.colorInfo.colorWarning.textSizeSmall.textSizeMedium.textSizeLarge.outlinedSizeSmall.outlinedSizeMedium.outlinedSizeLarge.containedSizeSmall.containedSizeMedium.containedSizeLarge.sizeMedium.sizeSmall.sizeLarge.fullWidth.startIcon.endIcon.icon.iconSizeSmall.iconSizeMedium.iconSizeLarge.loading.loadingWrapper.loadingIconPlaceholder.loadingIndicator.loadingPositionCenter.loadingPositionStart.loadingPositionEnd`.split(`.`)),tv=B.createContext({}),nv=B.createContext(void 0),rv=e=>{let{color:t,disableElevation:n,fullWidth:r,size:i,variant:a,loading:o,loadingPosition:s,classes:c}=e,l=Cc({root:[`root`,o&&`loading`,a,`${a}${Y(t)}`,`size${Y(i)}`,`${a}Size${Y(i)}`,`color${Y(t)}`,n&&`disableElevation`,r&&`fullWidth`,o&&`loadingPosition${Y(s)}`],startIcon:[`icon`,`startIcon`,`iconSize${Y(i)}`],endIcon:[`icon`,`endIcon`,`iconSize${Y(i)}`],loadingIndicator:[`loadingIndicator`],loadingWrapper:[`loadingWrapper`]},$_,c);return{...c,...l}},iv=[{props:{size:`small`},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:`medium`},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:`large`},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],av=J(I_,{shouldForwardProp:e=>Il(e)||e===`classes`,name:`MuiButton`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Y(n.color)}`],t[`size${Y(n.size)}`],t[`${n.variant}Size${Y(n.size)}`],n.color===`inherit`&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(Md(({theme:e})=>{let t=e.palette.mode===`light`?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode===`light`?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:`6px 16px`,border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create([`background-color`,`box-shadow`,`border-color`,`color`],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:`none`},[`&.${ev.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:e})=>e.startIcon||e.loading&&e.loadingPosition===`start`,style:{"&::before":{content:`"\\200b"`,width:0,overflow:`hidden`}}},{props:{variant:`contained`},style:{color:`var(--variant-containedColor)`,backgroundColor:`var(--variant-containedBg)`,boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${ev.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${ev.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:`outlined`},style:{padding:`5px 15px`,border:`1px solid currentColor`,borderColor:`var(--variant-outlinedBorder, currentColor)`,backgroundColor:`var(--variant-outlinedBg)`,color:`var(--variant-outlinedColor)`,[`&.${ev.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:`text`},style:{padding:`6px 8px`,color:`var(--variant-textColor)`,backgroundColor:`var(--variant-textBg)`}},...Object.entries(e.palette).filter(B_()).map(([t])=>({props:{color:t},style:{"--variant-textColor":(e.vars||e).palette[t].main,"--variant-outlinedColor":(e.vars||e).palette[t].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[t].main,.5),"--variant-containedColor":(e.vars||e).palette[t].contrastText,"--variant-containedBg":(e.vars||e).palette[t].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[t].dark,"--variant-textBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[t].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:`inherit`},style:{color:`inherit`,borderColor:`currentColor`,"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:`small`,variant:`text`},style:{padding:`4px 5px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`text`},style:{padding:`8px 11px`,fontSize:e.typography.pxToRem(15)}},{props:{size:`small`,variant:`outlined`},style:{padding:`3px 9px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`outlined`},style:{padding:`7px 21px`,fontSize:e.typography.pxToRem(15)}},{props:{size:`small`,variant:`contained`},style:{padding:`4px 10px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`contained`},style:{padding:`8px 22px`,fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:`none`,"&:hover":{boxShadow:`none`},[`&.${ev.focusVisible}`]:{boxShadow:`none`},"&:active":{boxShadow:`none`},[`&.${ev.disabled}`]:{boxShadow:`none`}}},{props:{fullWidth:!0},style:{width:`100%`}},{props:{loadingPosition:`center`},style:{transition:e.transitions.create([`background-color`,`box-shadow`,`border-color`],{duration:e.transitions.duration.short}),[`&.${ev.loading}`]:{color:`transparent`}}}]}})),ov=J(`span`,{name:`MuiButton`,slot:`StartIcon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${Y(n.size)}`]]}})(({theme:e})=>({display:`inherit`,marginRight:8,marginLeft:-4,variants:[{props:{size:`small`},style:{marginLeft:-2}},{props:{loadingPosition:`start`,loading:!0},style:{transition:e.transitions.create([`opacity`],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:`start`,loading:!0,fullWidth:!0},style:{marginRight:-8}},...iv]})),sv=J(`span`,{name:`MuiButton`,slot:`EndIcon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${Y(n.size)}`]]}})(({theme:e})=>({display:`inherit`,marginRight:-4,marginLeft:8,variants:[{props:{size:`small`},style:{marginRight:-2}},{props:{loadingPosition:`end`,loading:!0},style:{transition:e.transitions.create([`opacity`],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:`end`,loading:!0,fullWidth:!0},style:{marginLeft:-8}},...iv]})),cv=J(`span`,{name:`MuiButton`,slot:`LoadingIndicator`})(({theme:e})=>({display:`none`,position:`absolute`,visibility:`visible`,variants:[{props:{loading:!0},style:{display:`flex`}},{props:{loadingPosition:`start`},style:{left:14}},{props:{loadingPosition:`start`,size:`small`},style:{left:10}},{props:{variant:`text`,loadingPosition:`start`},style:{left:6}},{props:{loadingPosition:`center`},style:{left:`50%`,transform:`translate(-50%)`,color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:`end`},style:{right:14}},{props:{loadingPosition:`end`,size:`small`},style:{right:10}},{props:{variant:`text`,loadingPosition:`end`},style:{right:6}},{props:{loadingPosition:`start`,fullWidth:!0},style:{position:`relative`,left:-10}},{props:{loadingPosition:`end`,fullWidth:!0},style:{position:`relative`,right:-10}}]})),lv=J(`span`,{name:`MuiButton`,slot:`LoadingIconPlaceholder`})({display:`inline-block`,width:`1em`,height:`1em`}),uv=B.forwardRef(function(e,t){let n=B.useContext(tv),r=B.useContext(nv),i=ou({props:_s(n,e),name:`MuiButton`}),{children:a,color:o=`primary`,component:s=`button`,className:c,disabled:l=!1,disableElevation:u=!1,disableFocusRipple:d=!1,endIcon:f,focusVisibleClassName:p,fullWidth:m=!1,id:h,loading:g=null,loadingIndicator:_,loadingPosition:v=`center`,size:y=`medium`,startIcon:b,type:x,variant:S=`text`,...C}=i,w=_f(h),T=_??(0,V.jsx)(Q_,{"aria-labelledby":w,color:`inherit`,size:16}),E={...i,color:o,component:s,disabled:l,disableElevation:u,disableFocusRipple:d,fullWidth:m,loading:g,loadingIndicator:T,loadingPosition:v,size:y,type:x,variant:S},D=rv(E),O=(b||g&&v===`start`)&&(0,V.jsx)(ov,{className:D.startIcon,ownerState:E,children:b||(0,V.jsx)(lv,{className:D.loadingIconPlaceholder,ownerState:E})}),k=(f||g&&v===`end`)&&(0,V.jsx)(sv,{className:D.endIcon,ownerState:E,children:f||(0,V.jsx)(lv,{className:D.loadingIconPlaceholder,ownerState:E})}),ee=r||``,A=typeof g==`boolean`?(0,V.jsx)(`span`,{className:D.loadingWrapper,style:{display:`contents`},children:g&&(0,V.jsx)(cv,{className:D.loadingIndicator,ownerState:E,children:T})}):null,{root:j,...M}=D;return(0,V.jsxs)(av,{ownerState:E,className:U(n.className,D.root,c,ee),component:s,disabled:l||g,focusRipple:!d,focusVisibleClassName:U(D.focusVisible,p),ref:t,type:x,id:g?w:h,...C,classes:M,children:[O,v!==`end`&&A,a,v===`end`&&A,k]})}),dv=mf((0,V.jsx)(`path`,{d:`M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9m-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8z`}),`Restore`),fv=mf((0,V.jsx)(`path`,{d:`M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8`}),`Undo`),pv=J(`div`)({display:`flex`,flexDirection:`column`}),mv=J(`div`)({display:`flex`,alignItems:`center`,justifyContent:`center`}),hv=J(`div`)(({theme:e})=>({width:`24px`,height:`24px`,color:`gray`,marginRight:e.spacing(1),display:`flex`,alignItems:`center`})),gv=J(uv)(({theme:e})=>({display:`flex`,alignItems:`center`,marginLeft:e.spacing(3),marginRight:e.spacing(3)})),_v=e=>{class t extends B.Component{static propTypes={session:z.object,onSessionChange:z.func};constructor(e){super(e),this.state={sessionInitialValues:JSON.parse(JSON.stringify(e.session)),session:e.session,changes:[]}}onSessionChange=e=>{this.setState(t=>({session:e,changes:[...t.changes,e]}),()=>this.props.onSessionChange(e))};onUndo=()=>{this.setState(e=>{let t=[...e.changes];return t.pop(),{changes:t,session:t.length?t[t.length-1]:e.sessionInitialValues}},()=>this.props.onSessionChange(this.state.session))};onReset=()=>{this.setState(e=>({session:e.sessionInitialValues,changes:[]}),()=>this.props.onSessionChange(this.state.sessionInitialValues))};render(){let{...t}=this.props,{changes:n,session:r}=this.state;return(0,V.jsxs)(pv,{children:[(0,V.jsxs)(mv,{children:[(0,V.jsxs)(gv,{color:`primary`,disabled:n.length===0,onClick:this.onUndo,children:[(0,V.jsx)(hv,{children:(0,V.jsx)(fv,{})}),`Undo`]}),(0,V.jsxs)(gv,{color:`primary`,disabled:n.length===0,onClick:this.onReset,children:[(0,V.jsx)(hv,{children:(0,V.jsx)(dv,{})}),`Start Over`]})]}),(0,V.jsx)(e,{...t,session:r,onSessionChange:this.onSessionChange})]})}}return t},vv=Ml({typography:{fontFamily:`inherit`},palette:{action:{disabled:`rgba(0, 0, 0, 0.54);`}},components:{MuiTypography:{styleOverrides:{root:{fontFamily:`inherit`}}},MuiButton:{styleOverrides:{contained:{backgroundColor:`#e0e0e0`,color:`#000000`,"&:hover":{backgroundColor:`#bdbdbd`}}}}}}),yv=J(`div`)({"& table, th, td":{fontSize:`inherit`}}),bv=class extends B.Component{static propTypes={className:z.string,children:z.array,extraCSSRules:z.shape({names:z.arrayOf(z.string),rules:z.string}),fontSizeFactor:z.number,containerRef:z.oneOfType([z.func,z.object])};static defaultProps={extraCSSRules:{},fontSizeFactor:1};constructor(e){super(e),this.classesSheet=document.createElement(`style`)}scopeClass=p_(`extra-css-rules`);computeStyle(e){let t=e=>parseFloat(getComputedStyle(e).fontSize),n=t(document.documentElement),r=t(document.body),i=Math.max(n,r),a=e!=null&&typeof e==`number`?e:1;return a===1?null:{fontSize:`${i*a}px`}}render(){let{children:e,className:t,fontSizeFactor:n,containerRef:r,...i}=this.props,{extraCSSRules:a,...o}=i,s=this.computeStyle(n);return(0,V.jsx)(va,{injectFirst:!0,children:(0,V.jsxs)(Ul,{theme:vv,children:[a?.rules?(0,V.jsx)(`style`,{dangerouslySetInnerHTML:{__html:`.${this.scopeClass} { ${a.rules} }`}}):null,(0,V.jsx)(yv,{ref:r,className:`${t} extraCSSRules ${this.scopeClass}`,...o,...s&&{style:s},children:e})]})})}},xv=J(bv)({display:`flex`,flexDirection:`column`,position:`relative`}),Sv=class extends B.Component{static propTypes={ariaLabel:z.string,children:z.oneOfType([z.arrayOf(z.node),z.node]).isRequired,role:z.string,extraCSSRules:z.shape({names:z.arrayOf(z.string),rules:z.string}),fontSizeFactor:z.number};render(){let{children:e,ariaLabel:t,role:n,extraCSSRules:r,fontSizeFactor:i,classes:a}=this.props;return(0,V.jsx)(xv,{...t?{"aria-label":t,role:n}:{},extraCSSRules:r,fontSizeFactor:i,classes:a,children:e})}},Cv=class extends B.Component{static propTypes={tag:z.string,className:z.string,html:z.string};static defaultProps={tag:`div`,html:``};render(){let{tag:e,className:t,html:n}=this.props;return(0,V.jsx)(e||`div`,{ref:e=>this.node=e,className:t,dangerouslySetInnerHTML:{__html:uh(n)}})}};function wv({props:e,states:t,muiFormControl:n}){return t.reduce((t,r)=>(t[r]=e[r],n&&e[r]===void 0&&(t[r]=n[r]),t),{})}var Tv=B.createContext(void 0);function Ev(){return B.useContext(Tv)}function Dv(e){return rs(`MuiFormLabel`,e)}var Ov=is(`MuiFormLabel`,[`root`,`colorSecondary`,`focused`,`disabled`,`error`,`filled`,`required`,`asterisk`]),kv=e=>{let{classes:t,color:n,focused:r,disabled:i,error:a,filled:o,required:s}=e;return Cc({root:[`root`,`color${Y(n)}`,i&&`disabled`,a&&`error`,o&&`filled`,r&&`focused`,s&&`required`],asterisk:[`asterisk`,a&&`error`]},Dv,t)},Av=J(`label`,{name:`MuiFormLabel`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.color===`secondary`&&t.colorSecondary,n.filled&&t.filled]}})(Md(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:`1.4375em`,padding:0,position:`relative`,variants:[...Object.entries(e.palette).filter(B_()).map(([t])=>({props:{color:t},style:{[`&.${Ov.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${Ov.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Ov.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),jv=J(`span`,{name:`MuiFormLabel`,slot:`Asterisk`})(Md(({theme:e})=>({[`&.${Ov.error}`]:{color:(e.vars||e).palette.error.main}}))),Mv=B.forwardRef(function(e,t){let n=ou({props:e,name:`MuiFormLabel`}),{children:r,className:i,color:a,component:o=`label`,disabled:s,error:c,filled:l,focused:u,required:d,...f}=n,p=wv({props:n,muiFormControl:Ev(),states:[`color`,`required`,`focused`,`disabled`,`error`,`filled`]}),m={...n,color:p.color||`primary`,component:o,disabled:p.disabled,error:p.error,filled:p.filled,focused:p.focused,required:p.required},h=kv(m);return(0,V.jsxs)(Av,{as:o,ownerState:m,className:U(h.root,i),ref:t,...f,children:[r,p.required&&(0,V.jsxs)(jv,{ownerState:m,"aria-hidden":!0,className:h.asterisk,children:[` `,`*`]})]})});function Nv(e){return rs(`MuiInputLabel`,e)}is(`MuiInputLabel`,[`root`,`focused`,`disabled`,`error`,`required`,`asterisk`,`formControl`,`sizeSmall`,`shrink`,`animated`,`standard`,`filled`,`outlined`]);var Pv=e=>{let{classes:t,formControl:n,size:r,shrink:i,disableAnimation:a,variant:o,required:s}=e,c=Cc({root:[`root`,n&&`formControl`,!a&&`animated`,i&&`shrink`,r&&r!==`medium`&&`size${Y(r)}`,o],asterisk:[s&&`asterisk`]},Nv,t);return{...t,...c}},Fv=J(Mv,{shouldForwardProp:e=>Il(e)||e===`classes`,name:`MuiInputLabel`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[{[`& .${Ov.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size===`small`&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(Md(({theme:e})=>({display:`block`,transformOrigin:`top left`,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`,maxWidth:`100%`,variants:[{props:({ownerState:e})=>e.formControl,style:{position:`absolute`,left:0,top:0,transform:`translate(0, 20px) scale(1)`}},{props:{size:`small`},style:{transform:`translate(0, 17px) scale(1)`}},{props:({ownerState:e})=>e.shrink,style:{transform:`translate(0, -1.5px) scale(0.75)`,transformOrigin:`top left`,maxWidth:`133%`}},{props:({ownerState:e})=>!e.disableAnimation,style:{transition:e.transitions.create([`color`,`transform`,`max-width`],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:`filled`},style:{zIndex:1,pointerEvents:`none`,transform:`translate(12px, 16px) scale(1)`,maxWidth:`calc(100% - 24px)`}},{props:{variant:`filled`,size:`small`},style:{transform:`translate(12px, 13px) scale(1)`}},{props:({variant:e,ownerState:t})=>e===`filled`&&t.shrink,style:{userSelect:`none`,pointerEvents:`auto`,transform:`translate(12px, 7px) scale(0.75)`,maxWidth:`calc(133% - 24px)`}},{props:({variant:e,ownerState:t,size:n})=>e===`filled`&&t.shrink&&n===`small`,style:{transform:`translate(12px, 4px) scale(0.75)`}},{props:{variant:`outlined`},style:{zIndex:1,pointerEvents:`none`,transform:`translate(14px, 16px) scale(1)`,maxWidth:`calc(100% - 24px)`}},{props:{variant:`outlined`,size:`small`},style:{transform:`translate(14px, 9px) scale(1)`}},{props:({variant:e,ownerState:t})=>e===`outlined`&&t.shrink,style:{userSelect:`none`,pointerEvents:`auto`,maxWidth:`calc(133% - 32px)`,transform:`translate(14px, -9px) scale(0.75)`}}]}))),Iv=B.forwardRef(function(e,t){let n=ou({name:`MuiInputLabel`,props:e}),{disableAnimation:r=!1,margin:i,shrink:a,variant:o,className:s,...c}=n,l=Ev(),u=a;u===void 0&&l&&(u=l.filled||l.focused||l.adornedStart);let d=wv({props:n,muiFormControl:l,states:[`size`,`variant`,`required`,`focused`]}),f={...n,disableAnimation:r,formControl:l,shrink:u,size:d.size,variant:d.variant,required:d.required,focused:d.focused},p=Pv(f);return(0,V.jsx)(Fv,{"data-shrink":u,ref:t,className:U(p.root,s),...c,ownerState:f,classes:p})});function Lv(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Rv(e,t=!1){return e&&(Lv(e.value)&&e.value!==``||t&&Lv(e.defaultValue)&&e.defaultValue!==``)}function zv(e){return e.startAdornment}function Bv(e){return rs(`MuiFormControl`,e)}is(`MuiFormControl`,[`root`,`marginNone`,`marginNormal`,`marginDense`,`fullWidth`,`disabled`]);var Vv=e=>{let{classes:t,margin:n,fullWidth:r}=e;return Cc({root:[`root`,n!==`none`&&`margin${Y(n)}`,r&&`fullWidth`]},Bv,t)},Hv=J(`div`,{name:`MuiFormControl`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[`margin${Y(n.margin)}`],n.fullWidth&&t.fullWidth]}})({display:`inline-flex`,flexDirection:`column`,position:`relative`,minWidth:0,padding:0,margin:0,border:0,verticalAlign:`top`,variants:[{props:{margin:`normal`},style:{marginTop:16,marginBottom:8}},{props:{margin:`dense`},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:`100%`}}]}),Uv=J(B.forwardRef(function(e,t){let n=ou({props:e,name:`MuiFormControl`}),{children:r,className:i,color:a=`primary`,component:o=`div`,disabled:s=!1,error:c=!1,focused:l,fullWidth:u=!1,hiddenLabel:d=!1,margin:f=`none`,required:p=!1,size:m=`medium`,variant:h=`outlined`,...g}=n,_={...n,color:a,component:o,disabled:s,error:c,fullWidth:u,hiddenLabel:d,margin:f,required:p,size:m,variant:h},v=Vv(_),[y,b]=B.useState(()=>{let e=!1;return r&&B.Children.forEach(r,t=>{if(!hf(t,[`Input`,`Select`]))return;let n=hf(t,[`Select`])?t.props.input:t;n&&zv(n.props)&&(e=!0)}),e}),[x,S]=B.useState(()=>{let e=!1;return r&&B.Children.forEach(r,t=>{hf(t,[`Input`,`Select`])&&(Rv(t.props,!0)||Rv(t.props.inputProps,!0))&&(e=!0)}),e}),[C,w]=B.useState(!1);s&&C&&w(!1);let T=l!==void 0&&!s?l:C,E;B.useRef(!1);let D=B.useCallback(()=>{S(!0)},[]),O=B.useCallback(()=>{S(!1)},[]),k=B.useMemo(()=>({adornedStart:y,setAdornedStart:b,color:a,disabled:s,error:c,filled:x,focused:T,fullWidth:u,hiddenLabel:d,size:m,onBlur:()=>{w(!1)},onFocus:()=>{w(!0)},onEmpty:O,onFilled:D,registerEffect:E,required:p,variant:h}),[y,a,s,c,x,T,u,d,E,O,D,p,m,h]);return(0,V.jsx)(Tv.Provider,{value:k,children:(0,V.jsx)(Hv,{as:o,ownerState:_,className:U(v.root,i),ref:t,...g,children:r})})}))(({theme:e})=>({margin:0,padding:0,flex:`1 0 auto`,minWidth:e.spacing(4)})),Wv=J(Iv)(()=>({fontSize:`inherit`,whiteSpace:`nowrap`,margin:0,padding:0,alignSelf:`flex-start`,position:`absolute`,top:0,left:0,transformOrigin:`top left`,pointerEvents:`none`,"&.MuiInputLabel-shrink":{transform:`scale(0.75) translate(0, -0.75em)`},"&:not(.MuiInputLabel-shrink)":{transform:`translate(0, 0)`}})),Gv=({label:e,className:t,children:n})=>(0,V.jsxs)(Uv,{className:t,children:[(0,V.jsx)(Wv,{shrink:!0,children:e}),n]});Gv.propTypes={label:z.oneOfType([z.string,z.object]).isRequired,className:z.string,children:z.oneOfType([z.arrayOf(z.node),z.node]).isRequired};var Kv=`pie-prompt-audio-player`,qv=`play-audio-button`,Jv=e=>`&:not(.MathJax) > table${e}, &:not(.MathJax) > .pie-table-scroll > table${e}`,Yv=J(`div`)(({theme:e,tagName:t})=>({[`& .${qv}:focus-visible`]:{outline:`2px solid ${ag()}`,outlineOffset:`2px`},[Jv(`:not([role="presentation"])`)]:{borderCollapse:`collapse`},'&:not(.MathJax) table[border]:not([role="presentation"]), &:not(.MathJax) table[border]:not([role="presentation"]) td, &:not(.MathJax) table[border]:not([role="presentation"]) th':{borderStyle:`solid`,borderColor:Jh()},[Jv(`:not([role="presentation"]):has(tbody tr > th:first-child):not(:has(tbody tr > td:first-child)) tbody td:nth-child(even)`)]:{backgroundColor:Xh()},[Jv(`:not([role="presentation"]):has(tbody tr > td:first-child) tbody tr:nth-child(even) td`)]:{backgroundColor:Xh()},'&:not(.MathJax) table:not([role="presentation"]) td, &:not(.MathJax) table:not([role="presentation"]) th':{padding:`.6em 1em`,textAlign:`left`},[Jv(` td > p.kds-indent`)]:{textAlign:`initial`},"&.prompt":{verticalAlign:`middle`,color:hh()},"&.legend":{width:`100%`,fontSize:`inherit !important`},"&.rationale":{paddingLeft:e.spacing(4),paddingBottom:e.spacing(1)},"&.prompt-label":{color:`${hh()} !important`,display:`flex`,flexDirection:`column`,verticalAlign:`middle`,cursor:`pointer`,"& > p":{margin:`0 0 0 0 !important`}}})),Xv=/\\embed\{newLine\}\[\]/g,Zv=`\\newline `,Qv=`preview-prompt`,$v=class extends B.Component{static propTypes={prompt:z.string,tagName:z.string,className:z.string,onClick:z.func,defaultClassName:z.string,autoplayAudioEnabled:z.bool,autoplayAudioHeld:z.bool,customAudioButton:z.shape({playImage:z.string,pauseImage:z.string}),language:z.string};static defaultProps={onClick:()=>{}};promptRef=B.createRef();audioId=p_(Kv);playButtonId=p_(qv);parsedText=e=>{let{customAudioButton:t}=this.props,n=Lm(this.props),r=document.createElement(`div`);r.innerHTML=uh(e);let i=r.querySelector(`audio`);if(i){let e=i.getAttribute(`src`);if(e){let t=document.createElement(`source`);t.setAttribute(`type`,`audio/mp3`),t.setAttribute(`src`,e),i.removeAttribute(`src`),i.appendChild(t)}let a=!1;if(i.id)for(let e of r.querySelectorAll(`[${th}]`))e.getAttribute(`data-pie-play-audio`)===i.id&&(e.setAttribute(th,this.audioId),a=!0);if(i.id=this.audioId,i.classList.add(Kv),!n&&!t&&!a&&i.setAttribute(`controls`,``),t){i.style.display=`none`;let e=document.createElement(`button`);e.setAttribute(`type`,`button`),e.id=this.playButtonId,e.className=qv,Object.assign(e.style,{cursor:`pointer`,display:`block`,width:`128px`,height:`128px`,margin:`0`,padding:`0`,font:`inherit`,backgroundColor:`transparent`,backgroundImage:`url(${n?t.pauseImage:t.playImage})`,backgroundSize:`cover`,borderRadius:`50%`,border:`1px solid #326295`}),i.parentNode.insertBefore(e,i)}}return r.innerHTML};labelPlayButton=()=>{(this.promptRef.current?.querySelector(`.${qv}`))?.setAttribute(`aria-label`,f_.forLocale(this.props.language,this.labelPlayButton).t(`playAudio`))};addCustomAudioButtonControls(){let{customAudioButton:e}=this.props,t=this.promptRef.current,n=t?.querySelector(`.${qv}`),r=t?.querySelector(`.${Kv}`);if(Lm(this.props)&&r&&r.play().then(()=>{n&&e&&r.addEventListener(`ended`,a)}).catch(t=>{n&&e&&(n.style.backgroundImage=`url(${e.playImage})`),console.error(`Error playing audio`,t)}),!n||!r||!e)return;let i=()=>{r.paused&&r.play()},a=()=>{n.style.backgroundImage=`url(${e.playImage})`},o=()=>{Object.assign(n.style,{backgroundImage:`url(${e.pauseImage})`,border:`1px solid #ccc`})},s=()=>{Object.assign(n.style,{backgroundImage:`url(${e.playImage})`,border:`1px solid #326295`})};n.addEventListener(`click`,i),r.addEventListener(`play`,o),r.addEventListener(`pause`,s),r.addEventListener(`ended`,a),this._playButton=n,this._audio=r,this._handlePlayClick=i,this._handleAudioPlay=o,this._handleAudioPause=s,this._handleAudioEnded=a}removeCustomAudioButtonListeners(){let e=this._playButton,t=this._audio;e&&t&&(e.removeEventListener(`click`,this._handlePlayClick),t.removeEventListener(`play`,this._handleAudioPlay),t.removeEventListener(`pause`,this._handleAudioPause),t.removeEventListener(`ended`,this._handleAudioEnded))}componentDidMount(){this.alignImages(),this.labelPlayButton(),this.addCustomAudioButtonControls(),this.setupMathRendering()}componentDidUpdate(e){this.alignImages(),this.labelPlayButton(),e.prompt!==this.props.prompt&&this.renderMathContent()}componentWillUnmount(){this.removeCustomAudioButtonListeners()}setupMathRendering(){this.renderMathContent()}renderMathContent(){let e=this.promptRef.current;e&&typeof Wn==`function`&&Wn(e)}alignImages(){let e=this.promptRef.current;if(!e)return;let t=e.getElementsByTagName(`img`);if(t&&t.length){for(let e of t)if(e.attributes&&e.attributes.alignment&&e.attributes.alignment.value){let t=e.attributes.alignment.value,n=t===`center`?`center`:t===`right`?`flex-end`:`flex-start`,r=e.parentElement;if(r.tagName===`DIV`&&r.style.display===`flex`&&r.style.width===`100%`)r.style.justifyContent=n;else{let t=document.createElement(`div`);t.style.display=`flex`,t.style.width=`100%`,t.style.justifyContent=n;let i=e.cloneNode(!0);t.appendChild(i),r.replaceChild(t,e)}}}}render(){let{prompt:e,tagName:t,className:n,onClick:r,defaultClassName:i}=this.props,a=`${n||``} ${i||``} ${t===`legend`?`legend`:``} ${Qv}`.trim();return(0,V.jsx)(Yv,{as:t||`div`,ref:this.promptRef,onClick:r,className:a,tagName:t,dangerouslySetInnerHTML:{__html:this.parsedText(e||``).replace(Xv,Zv)}})}},ey=e=>(0,V.jsx)(V.Fragment,{children:B.Children.map(e.children,t=>B.cloneElement(t,{"data-pie-readable":e.false===void 0}))});ey.propTypes={children:z.node,false:z.bool};var ty=e=>(0,V.jsx)(V.Fragment,{children:B.Children.map(e.children,t=>B.cloneElement(t,{"data-pie-purpose":e.purpose}))});ty.propTypes={children:z.node,purpose:z.string};var ny;typeof window<`u`&&(ny=new DOMParser);var ry=e=>ny.parseFromString(e,`text/html`).body.textContent,iy=e=>{if(!e)return!1;let t=ry(e);return!!(t&&t.trim())},ay;typeof window<`u`&&(ay=new DOMParser);var oy=e=>{if(!e)return!1;let t=ay.parseFromString(e,`text/html`);return!!t.body.querySelector(`img`)||!!t.body.querySelector(`video`)||!!t.body.querySelector(`audio`)},sy=`data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAJYAyADAREAAhEBAxEB/8QAHgABAQABBQEBAQAAAAAAAAAAAAEIAgMGBwkEBQr/xABiEAACAQIDBAMKCAYMCgYLAQAAAQIDEQQFIQYSMUEHCFETFRYiUmFxkdHhCRRjgaGisfAXMjRTcsEjJDY4QmJ1dpKztMQYMzdEVIKyw9PxQ1hmc3SWJzVFRlZXhJOUldJk/8QAGwEBAQADAQEBAAAAAAAAAAAAAAcEBQYCAQP/xABBEQEAAQIDAgkJBgUFAQEBAAAAAQIDBAYRBSESMUFEYXGCscITNDVRcoGRocEUIjJS0eEVI2KSsjNCU6LwFtLx/9oADAMBAAIRAxEAPwD1TAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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W9/oAoAAAAAAI72dnZ8gKAAAAAAAAAivZXVnzAoAAAAAAAEb4aXv8AQBQAAAAAARXsrqz5gUAAAAAAAAAAARuybSv5gFle9tXzAoAAAAAAAAABLa3AoETvfzAUAAAAAAAABErc7gUAAAiaeqdwKAAAAAACK+t36AKAAAAAAAAAAAI72dld8gKAAAAAAAAAAAAEsr3tq+YBO6Tat5gKAAAAAAAAAjVwKAAjdrecCgAAAAAAARrhra30gUAAAARtLVuwFAAAAAAAAAAAAAAAltbgUCJ3SbVvMBQAAAAAAAAAAAAltb3+YCgAI3ZNvkBQAAAAAAAAAAAAivzYFAAAAETTuk+HECgAAAAAAAAJZXvbVcwCvrdegCgAAAAAAAAAAAAAltbgUCN2TaV/MBQAAAAAAAAAAAAjV+dgKAAAAIndJrmBQAAAAAAAAACO+ln6QKAAAAAEaTs2uHACgAAAAAAAAAEbSTbdkuLAoEd+SAoAAAAjVwKAAAAAAAAAAAAAABG+Gl7/AEAUAAAltb3+YCgAAAAAAAAAAAAAAAAETuk1zAoE1vx0AoAAAAARJLRKwFAAAAAAAAAAAEbSTbdkuLAoEV+aAoAABLa3AoAAAAAAAAAAAAAAACJ8dLW+kCgAJbW9/mAoAAAAARtKyb48AKAAAAAAAAAAAAEStzuBQAACX1tb5wKAAAAAAAAAAAAAAAAiSSSSslwQFAmt+OgFAAAAACJ3AoAAAAAAAAAAAARq9vMBQAACa34aAUAAAAAAETTuk+HECgAAAAAAAAAEavzsBQAAABG7crgUAAAAAAAAAAAAAACJJXaXHiBQAE1vx0AoAAAAAf/Z`;function cy(e=``,t=2){if(!e)return e;let n=new DOMParser().parseFromString(e,`text/html`);return n.body.querySelectorAll(`[data-heading]`).forEach(e=>{let r=e.getAttribute(`data-heading`)||``,i=parseInt(r.replace(`heading`,``),10);if(!Number.isFinite(i))return;let a=Math.min(6,Math.max(1,t+i-1)),o=n.createElement(`h${a}`);o.setAttribute(`data-heading`,r),Array.from(e.attributes).forEach(e=>{e.name!==`data-heading`&&o.setAttribute(e.name,e.value)}),o.innerHTML=e.innerHTML,e.replaceWith(o)}),n.body.innerHTML}function ly(e){let{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:i=!1,...a}=e,o=i?{}:Pd(n,r),{props:s,internalRef:c}=Ld({...a,externalSlotProps:o}),l=ed(c,o?.ref,e.additionalProps?.ref);return Nd(t,{...s,ref:l},r)}var uy=B.createContext({});function dy(e){return rs(`MuiList`,e)}is(`MuiList`,[`root`,`padding`,`dense`,`subheader`]);var fy=e=>{let{classes:t,disablePadding:n,dense:r,subheader:i}=e;return Cc({root:[`root`,!n&&`padding`,r&&`dense`,i&&`subheader`]},dy,t)},py=J(`ul`,{name:`MuiList`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:`none`,margin:0,padding:0,position:`relative`,variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),my=B.forwardRef(function(e,t){let n=ou({props:e,name:`MuiList`}),{children:r,className:i,component:a=`ul`,dense:o=!1,disablePadding:s=!1,subheader:c,...l}=n,u=B.useMemo(()=>({dense:o}),[o]),d={...n,component:a,dense:o,disablePadding:s},f=fy(d);return(0,V.jsx)(uy.Provider,{value:u,children:(0,V.jsxs)(py,{as:a,className:U(f.root,i),ref:t,ownerState:d,...l,children:[c,r]})})}),hy=od;function gy(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function _y(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function vy(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(``))}function yy(e,t,n,r,i,a){let o=!1,s=i(e,t,t?n:!1);for(;s;){if(s===e.firstChild){if(o)return!1;o=!0}let t=r?!1:s.disabled||s.getAttribute(`aria-disabled`)===`true`;if(!s.hasAttribute(`tabindex`)||!vy(s,a)||t)s=i(e,s,n);else return s.focus(),!0}return!1}var by=B.forwardRef(function(e,t){let{actions:n,autoFocus:r=!1,autoFocusItem:i=!1,children:a,className:o,disabledItemsFocusable:s=!1,disableListWrap:c=!1,onKeyDown:l,variant:u=`selectedMenu`,...d}=e,f=B.useRef(null),p=B.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});gf(()=>{r&&f.current.focus()},[r]),B.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(e,{direction:t})=>{let n=!f.current.style.width;if(e.clientHeight<f.current.clientHeight&&n){let n=`${hy(fu(e))}px`;f.current.style[t===`rtl`?`paddingLeft`:`paddingRight`]=n,f.current.style.width=`calc(100% + ${n})`}return f.current}}),[]);let m=e=>{let t=f.current,n=e.key;if(e.ctrlKey||e.metaKey||e.altKey){l&&l(e);return}let r=yd(uu(t));if(n===`ArrowDown`)e.preventDefault(),yy(t,r,c,s,gy);else if(n===`ArrowUp`)e.preventDefault(),yy(t,r,c,s,_y);else if(n===`Home`)e.preventDefault(),yy(t,null,c,s,gy);else if(n===`End`)e.preventDefault(),yy(t,null,c,s,_y);else if(n.length===1){let i=p.current,a=n.toLowerCase(),o=performance.now();i.keys.length>0&&(o-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&a!==i.keys[0]&&(i.repeating=!1)),i.lastTime=o,i.keys.push(a);let c=r&&!i.repeating&&vy(r,i);i.previousKeyMatched&&(c||yy(t,r,!1,s,gy,i))?e.preventDefault():i.previousKeyMatched=!1}l&&l(e)},h=td(f,t),g=-1;B.Children.forEach(a,(e,t)=>{B.isValidElement(e)?(e.props.disabled||(u===`selectedMenu`&&e.props.selected||g===-1)&&(g=t),g===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(g+=1,g>=a.length&&(g=-1))):g===t&&(g+=1,g>=a.length&&(g=-1))});let _=B.Children.map(a,(e,t)=>{if(t===g){let t={};return i&&(t.autoFocus=!0),e.props.tabIndex===void 0&&u===`selectedMenu`&&(t.tabIndex=0),B.cloneElement(e,t)}return e});return(0,V.jsx)(my,{role:`menu`,ref:h,className:o,onKeyDown:m,tabIndex:r?0:-1,...d,children:_})});function xy(e){return rs(`MuiMenu`,e)}is(`MuiMenu`,[`root`,`paper`,`list`]);var Sy={vertical:`top`,horizontal:`right`},Cy={vertical:`top`,horizontal:`left`},wy=e=>{let{classes:t}=e;return Cc({root:[`root`],paper:[`paper`],list:[`list`]},xy,t)},Ty=J(Of,{shouldForwardProp:e=>Il(e)||e===`classes`,name:`MuiMenu`,slot:`Root`})({}),Ey=J(Df,{name:`MuiMenu`,slot:`Paper`})({maxHeight:`calc(100% - 96px)`,WebkitOverflowScrolling:`touch`}),Dy=J(by,{name:`MuiMenu`,slot:`List`})({outline:0}),Oy=B.forwardRef(function(e,t){let n=ou({props:e,name:`MuiMenu`}),{autoFocus:r=!0,children:i,className:a,disableAutoFocusItem:o=!1,MenuListProps:s={},onClose:c,open:l,PaperProps:u={},PopoverClasses:d,transitionDuration:f=`auto`,TransitionProps:{onEntering:p,...m}={},variant:h=`selectedMenu`,slots:g={},slotProps:_={},...v}=n,y=Us(),b={...n,autoFocus:r,disableAutoFocusItem:o,MenuListProps:s,onEntering:p,PaperProps:u,transitionDuration:f,TransitionProps:m,variant:h},x=wy(b),S=r&&!o&&l,C=B.useRef(null),w=(e,t)=>{C.current&&C.current.adjustStyleForScrollbar(e,{direction:y?`rtl`:`ltr`}),p&&p(e,t)},T=e=>{e.key===`Tab`&&(e.preventDefault(),c&&c(e,`tabKeyDown`))},E=-1;B.Children.map(i,(e,t)=>{B.isValidElement(e)&&(e.props.disabled||(h===`selectedMenu`&&e.props.selected||E===-1)&&(E=t))});let D={slots:g,slotProps:{list:s,transition:m,paper:u,..._}},O=ly({elementType:g.root,externalSlotProps:_.root,ownerState:b,className:[x.root,a]}),[k,ee]=Rd(`paper`,{className:x.paper,elementType:Ey,externalForwardedProps:D,shouldForwardComponentProp:!0,ownerState:b}),[A,j]=Rd(`list`,{className:U(x.list,s.className),elementType:Dy,shouldForwardComponentProp:!0,externalForwardedProps:D,getSlotProps:e=>({...e,onKeyDown:t=>{T(t),e.onKeyDown?.(t)}}),ownerState:b}),M=typeof D.slotProps.transition==`function`?D.slotProps.transition(b):D.slotProps.transition;return(0,V.jsx)(Ty,{onClose:c,anchorOrigin:{vertical:`bottom`,horizontal:y?`right`:`left`},transformOrigin:y?Sy:Cy,slots:{root:g.root,paper:k,backdrop:g.backdrop,...g.transition&&{transition:g.transition}},slotProps:{root:O,paper:ee,backdrop:typeof _.backdrop==`function`?_.backdrop(b):_.backdrop,transition:{...M,onEntering:(...e)=>{w(...e),M?.onEntering?.(...e)}}},open:l,ref:t,transitionDuration:f,ownerState:b,...v,classes:d,children:(0,V.jsx)(A,{actions:C,autoFocus:r&&(E===-1||o),autoFocusItem:S,variant:h,...j,children:i})})}),ky=({slotProps:e,...t})=>(0,V.jsx)(Oy,{...t,disableScrollLock:!0,slotProps:{...e,root:{...e?.root,style:{backgroundColor:`transparent`,...e?.root?.style}},backdrop:{invisible:!0,...e?.backdrop}}}),Ay=s({Collapsible:()=>v_,EnableAudioAutoplayImage:()=>sy,Feedback:()=>Dg,HtmlAndMath:()=>Cv,InlineMenu:()=>ky,InputContainer:()=>Gv,PreviewLayout:()=>Sv,PreviewPrompt:()=>$v,Purpose:()=>ty,Readable:()=>ey,UiLayout:()=>bv,color:()=>ph,createUniqueId:()=>p_,hasMedia:()=>oy,hasText:()=>iy,indicators:()=>Ag,transformDataHeadings:()=>cy,useUniqueId:()=>m_,withUndoReset:()=>_v}),jy=class e extends CustomEvent{static{this.TYPE=`model-set`}constructor(t,n,r){super(e.TYPE,{bubbles:!0,composed:!0,detail:{complete:n,component:t,hasModel:r}}),this.component=t,this.complete=n}},My=class e extends CustomEvent{static{this.TYPE=`session-changed`}constructor(t,n){super(e.TYPE,{bubbles:!0,composed:!0,detail:{complete:n,component:t}}),this.component=t,this.complete=n}},Ny=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;function Py(e){let t=Object.prototype.toString.call(e);return t===`[object Window]`||t===`[object global]`}function Fy(e){return`nodeType`in e}function Iy(e){return e?Py(e)?e:Fy(e)?e.ownerDocument?.defaultView??window:window:window}function Ly(e){let{Document:t}=Iy(e);return e instanceof t}function Ry(e){return!Py(e)&&e instanceof Iy(e).HTMLElement}function zy(e){return e instanceof Iy(e).SVGElement}function By(e){return e?Py(e)?e.document:Fy(e)?Ly(e)?e:Ry(e)||zy(e)?e.ownerDocument:document:document:document}var Vy=Ny?B.useLayoutEffect:B.useEffect;function Hy(e){let t=(0,B.useRef)(e);return Vy(()=>{t.current=e}),(0,B.useCallback)(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current==null?void 0:t.current(...n)},[])}function Uy(){let e=(0,B.useRef)(null);return[(0,B.useCallback)((t,n)=>{e.current=setInterval(t,n)},[]),(0,B.useCallback)(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[])]}function Wy(e,t){t===void 0&&(t=[e]);let n=(0,B.useRef)(e);return Vy(()=>{n.current!==e&&(n.current=e)},t),n}function Gy(e,t){let n=(0,B.useRef)();return(0,B.useMemo)(()=>{let t=e(n.current);return n.current=t,t},[...t])}function Ky(e){let t=Hy(e),n=(0,B.useRef)(null);return[n,(0,B.useCallback)(e=>{e!==n.current&&t?.(e,n.current),n.current=e},[])]}function qy(e){let t=(0,B.useRef)();return(0,B.useEffect)(()=>{t.current=e},[e]),t.current}var Jy={};function Yy(e,t){return(0,B.useMemo)(()=>{if(t)return t;let n=Jy[e]==null?0:Jy[e]+1;return Jy[e]=n,e+`-`+n},[e,t])}function Xy(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.reduce((t,n)=>{let r=Object.entries(n);for(let[n,i]of r){let r=t[n];r!=null&&(t[n]=r+e*i)}return t},{...t})}}var Zy=Xy(1),Qy=Xy(-1);function $y(e){return`clientX`in e&&`clientY`in e}function eb(e){if(!e)return!1;let{KeyboardEvent:t}=Iy(e.target);return t&&e instanceof t}function tb(e){if(!e)return!1;let{TouchEvent:t}=Iy(e.target);return t&&e instanceof t}function nb(e){if(tb(e)){if(e.touches&&e.touches.length){let{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}if(e.changedTouches&&e.changedTouches.length){let{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return $y(e)?{x:e.clientX,y:e.clientY}:null}var rb=Object.freeze({Translate:{toString(e){if(!e)return;let{x:t,y:n}=e;return`translate3d(`+(t?Math.round(t):0)+`px, `+(n?Math.round(n):0)+`px, 0)`}},Scale:{toString(e){if(!e)return;let{scaleX:t,scaleY:n}=e;return`scaleX(`+t+`) scaleY(`+n+`)`}},Transform:{toString(e){if(e)return[rb.Translate.toString(e),rb.Scale.toString(e)].join(` `)}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+` `+n+`ms `+r}}}),ib=`a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]`;function ab(e){return e.matches(ib)?e:e.querySelector(ib)}var ob={display:`none`};function sb(e){let{id:t,value:n}=e;return B.createElement(`div`,{id:t,style:ob},n)}function cb(e){let{id:t,announcement:n,ariaLiveType:r=`assertive`}=e;return B.createElement(`div`,{id:t,style:{position:`fixed`,top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:`hidden`,clip:`rect(0 0 0 0)`,clipPath:`inset(100%)`,whiteSpace:`nowrap`},role:`status`,"aria-live":r,"aria-atomic":!0},n)}function lb(){let[e,t]=(0,B.useState)(``);return{announce:(0,B.useCallback)(e=>{e!=null&&t(e)},[]),announcement:e}}var ub=(0,B.createContext)(null);function db(e){let t=(0,B.useContext)(ub);(0,B.useEffect)(()=>{if(!t)throw Error(`useDndMonitor must be used within a children of <DndContext>`);return t(e)},[e,t])}function fb(){let[e]=(0,B.useState)(()=>new Set),t=(0,B.useCallback)(t=>(e.add(t),()=>e.delete(t)),[e]);return[(0,B.useCallback)(t=>{let{type:n,event:r}=t;e.forEach(e=>e[n]?.call(e,r))},[e]),t]}var pb={draggable:`
|
|
181
|
+
`,Y_=typeof q_==`string`?null:na`
|
|
182
|
+
animation: ${q_} 1.4s linear infinite;
|
|
183
|
+
`,X_=typeof J_==`string`?null:na`
|
|
184
|
+
animation: ${J_} 1.4s ease-in-out infinite;
|
|
185
|
+
`,Z_=e=>{let{classes:t,variant:n,color:r,disableShrink:i}=e;return Cc({root:[`root`,n,`color${Y(r)}`],svg:[`svg`],track:[`track`],circle:[`circle`,`circle${Y(n)}`,i&&`circleDisableShrink`]},G_,t)},Q_=J(`span`,{name:`MuiCircularProgress`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`color${Y(n.color)}`]]}})(Md(({theme:e})=>({display:`inline-block`,variants:[{props:{variant:`determinate`},style:{transition:e.transitions.create(`transform`)}},{props:{variant:`indeterminate`},style:Y_||{animation:`${q_} 1.4s linear infinite`}},...Object.entries(e.palette).filter(W_()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),$_=J(`svg`,{name:`MuiCircularProgress`,slot:`Svg`})({display:`block`}),ev=J(`circle`,{name:`MuiCircularProgress`,slot:`Circle`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.circle,t[`circle${Y(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(Md(({theme:e})=>({stroke:`currentColor`,variants:[{props:{variant:`determinate`},style:{transition:e.transitions.create(`stroke-dashoffset`)}},{props:{variant:`indeterminate`},style:{strokeDasharray:`80px, 200px`,strokeDashoffset:0}},{props:({ownerState:e})=>e.variant===`indeterminate`&&!e.disableShrink,style:X_||{animation:`${J_} 1.4s ease-in-out infinite`}}]}))),tv=J(`circle`,{name:`MuiCircularProgress`,slot:`Track`})(Md(({theme:e})=>({stroke:`currentColor`,opacity:(e.vars||e).palette.action.activatedOpacity}))),nv=B.forwardRef(function(e,t){let n=ou({props:e,name:`MuiCircularProgress`}),{className:r,color:i=`primary`,disableShrink:a=!1,enableTrackSlot:o=!1,size:s=40,style:c,thickness:l=3.6,value:u=0,variant:d=`indeterminate`,...f}=n,p={...n,color:i,disableShrink:a,size:s,thickness:l,value:u,variant:d,enableTrackSlot:o},m=Z_(p),h={},g={},_={};if(d===`determinate`){let e=2*Math.PI*((K_-l)/2);h.strokeDasharray=e.toFixed(3),_[`aria-valuenow`]=Math.round(u),h.strokeDashoffset=`${((100-u)/100*e).toFixed(3)}px`,g.transform=`rotate(-90deg)`}return(0,V.jsx)(Q_,{className:U(m.root,r),style:{width:s,height:s,...g,...c},ownerState:p,ref:t,role:`progressbar`,..._,...f,children:(0,V.jsxs)($_,{className:m.svg,ownerState:p,viewBox:`${K_/2} ${K_/2} ${K_} ${K_}`,children:[o?(0,V.jsx)(tv,{className:m.track,ownerState:p,cx:K_,cy:K_,r:(K_-l)/2,fill:`none`,strokeWidth:l,"aria-hidden":`true`}):null,(0,V.jsx)(ev,{className:m.circle,style:h,ownerState:p,cx:K_,cy:K_,r:(K_-l)/2,fill:`none`,strokeWidth:l})]})})});function rv(e){return rs(`MuiButton`,e)}var iv=is(`MuiButton`,`root.text.textInherit.textPrimary.textSecondary.textSuccess.textError.textInfo.textWarning.outlined.outlinedInherit.outlinedPrimary.outlinedSecondary.outlinedSuccess.outlinedError.outlinedInfo.outlinedWarning.contained.containedInherit.containedPrimary.containedSecondary.containedSuccess.containedError.containedInfo.containedWarning.disableElevation.focusVisible.disabled.colorInherit.colorPrimary.colorSecondary.colorSuccess.colorError.colorInfo.colorWarning.textSizeSmall.textSizeMedium.textSizeLarge.outlinedSizeSmall.outlinedSizeMedium.outlinedSizeLarge.containedSizeSmall.containedSizeMedium.containedSizeLarge.sizeMedium.sizeSmall.sizeLarge.fullWidth.startIcon.endIcon.icon.iconSizeSmall.iconSizeMedium.iconSizeLarge.loading.loadingWrapper.loadingIconPlaceholder.loadingIndicator.loadingPositionCenter.loadingPositionStart.loadingPositionEnd`.split(`.`)),av=B.createContext({}),ov=B.createContext(void 0),sv=e=>{let{color:t,disableElevation:n,fullWidth:r,size:i,variant:a,loading:o,loadingPosition:s,classes:c}=e,l=Cc({root:[`root`,o&&`loading`,a,`${a}${Y(t)}`,`size${Y(i)}`,`${a}Size${Y(i)}`,`color${Y(t)}`,n&&`disableElevation`,r&&`fullWidth`,o&&`loadingPosition${Y(s)}`],startIcon:[`icon`,`startIcon`,`iconSize${Y(i)}`],endIcon:[`icon`,`endIcon`,`iconSize${Y(i)}`],loadingIndicator:[`loadingIndicator`],loadingWrapper:[`loadingWrapper`]},rv,c);return{...c,...l}},cv=[{props:{size:`small`},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:`medium`},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:`large`},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],lv=J(B_,{shouldForwardProp:e=>Il(e)||e===`classes`,name:`MuiButton`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Y(n.color)}`],t[`size${Y(n.size)}`],t[`${n.variant}Size${Y(n.size)}`],n.color===`inherit`&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(Md(({theme:e})=>{let t=e.palette.mode===`light`?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode===`light`?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:`6px 16px`,border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create([`background-color`,`box-shadow`,`border-color`,`color`],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:`none`},[`&.${iv.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:e})=>e.startIcon||e.loading&&e.loadingPosition===`start`,style:{"&::before":{content:`"\\200b"`,width:0,overflow:`hidden`}}},{props:{variant:`contained`},style:{color:`var(--variant-containedColor)`,backgroundColor:`var(--variant-containedBg)`,boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${iv.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${iv.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:`outlined`},style:{padding:`5px 15px`,border:`1px solid currentColor`,borderColor:`var(--variant-outlinedBorder, currentColor)`,backgroundColor:`var(--variant-outlinedBg)`,color:`var(--variant-outlinedColor)`,[`&.${iv.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:`text`},style:{padding:`6px 8px`,color:`var(--variant-textColor)`,backgroundColor:`var(--variant-textBg)`}},...Object.entries(e.palette).filter(W_()).map(([t])=>({props:{color:t},style:{"--variant-textColor":(e.vars||e).palette[t].main,"--variant-outlinedColor":(e.vars||e).palette[t].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[t].main,.5),"--variant-containedColor":(e.vars||e).palette[t].contrastText,"--variant-containedBg":(e.vars||e).palette[t].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[t].dark,"--variant-textBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[t].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:`inherit`},style:{color:`inherit`,borderColor:`currentColor`,"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:`small`,variant:`text`},style:{padding:`4px 5px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`text`},style:{padding:`8px 11px`,fontSize:e.typography.pxToRem(15)}},{props:{size:`small`,variant:`outlined`},style:{padding:`3px 9px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`outlined`},style:{padding:`7px 21px`,fontSize:e.typography.pxToRem(15)}},{props:{size:`small`,variant:`contained`},style:{padding:`4px 10px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`contained`},style:{padding:`8px 22px`,fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:`none`,"&:hover":{boxShadow:`none`},[`&.${iv.focusVisible}`]:{boxShadow:`none`},"&:active":{boxShadow:`none`},[`&.${iv.disabled}`]:{boxShadow:`none`}}},{props:{fullWidth:!0},style:{width:`100%`}},{props:{loadingPosition:`center`},style:{transition:e.transitions.create([`background-color`,`box-shadow`,`border-color`],{duration:e.transitions.duration.short}),[`&.${iv.loading}`]:{color:`transparent`}}}]}})),uv=J(`span`,{name:`MuiButton`,slot:`StartIcon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${Y(n.size)}`]]}})(({theme:e})=>({display:`inherit`,marginRight:8,marginLeft:-4,variants:[{props:{size:`small`},style:{marginLeft:-2}},{props:{loadingPosition:`start`,loading:!0},style:{transition:e.transitions.create([`opacity`],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:`start`,loading:!0,fullWidth:!0},style:{marginRight:-8}},...cv]})),dv=J(`span`,{name:`MuiButton`,slot:`EndIcon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${Y(n.size)}`]]}})(({theme:e})=>({display:`inherit`,marginRight:-4,marginLeft:8,variants:[{props:{size:`small`},style:{marginRight:-2}},{props:{loadingPosition:`end`,loading:!0},style:{transition:e.transitions.create([`opacity`],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:`end`,loading:!0,fullWidth:!0},style:{marginLeft:-8}},...cv]})),fv=J(`span`,{name:`MuiButton`,slot:`LoadingIndicator`})(({theme:e})=>({display:`none`,position:`absolute`,visibility:`visible`,variants:[{props:{loading:!0},style:{display:`flex`}},{props:{loadingPosition:`start`},style:{left:14}},{props:{loadingPosition:`start`,size:`small`},style:{left:10}},{props:{variant:`text`,loadingPosition:`start`},style:{left:6}},{props:{loadingPosition:`center`},style:{left:`50%`,transform:`translate(-50%)`,color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:`end`},style:{right:14}},{props:{loadingPosition:`end`,size:`small`},style:{right:10}},{props:{variant:`text`,loadingPosition:`end`},style:{right:6}},{props:{loadingPosition:`start`,fullWidth:!0},style:{position:`relative`,left:-10}},{props:{loadingPosition:`end`,fullWidth:!0},style:{position:`relative`,right:-10}}]})),pv=J(`span`,{name:`MuiButton`,slot:`LoadingIconPlaceholder`})({display:`inline-block`,width:`1em`,height:`1em`}),mv=B.forwardRef(function(e,t){let n=B.useContext(av),r=B.useContext(ov),i=ou({props:_s(n,e),name:`MuiButton`}),{children:a,color:o=`primary`,component:s=`button`,className:c,disabled:l=!1,disableElevation:u=!1,disableFocusRipple:d=!1,endIcon:f,focusVisibleClassName:p,fullWidth:m=!1,id:h,loading:g=null,loadingIndicator:_,loadingPosition:v=`center`,size:y=`medium`,startIcon:b,type:x,variant:S=`text`,...C}=i,w=_f(h),T=_??(0,V.jsx)(nv,{"aria-labelledby":w,color:`inherit`,size:16}),E={...i,color:o,component:s,disabled:l,disableElevation:u,disableFocusRipple:d,fullWidth:m,loading:g,loadingIndicator:T,loadingPosition:v,size:y,type:x,variant:S},D=sv(E),O=(b||g&&v===`start`)&&(0,V.jsx)(uv,{className:D.startIcon,ownerState:E,children:b||(0,V.jsx)(pv,{className:D.loadingIconPlaceholder,ownerState:E})}),k=(f||g&&v===`end`)&&(0,V.jsx)(dv,{className:D.endIcon,ownerState:E,children:f||(0,V.jsx)(pv,{className:D.loadingIconPlaceholder,ownerState:E})}),ee=r||``,A=typeof g==`boolean`?(0,V.jsx)(`span`,{className:D.loadingWrapper,style:{display:`contents`},children:g&&(0,V.jsx)(fv,{className:D.loadingIndicator,ownerState:E,children:T})}):null,{root:j,...M}=D;return(0,V.jsxs)(lv,{ownerState:E,className:U(n.className,D.root,c,ee),component:s,disabled:l||g,focusRipple:!d,focusVisibleClassName:U(D.focusVisible,p),ref:t,type:x,id:g?w:h,...C,classes:M,children:[O,v!==`end`&&A,a,v===`end`&&A,k]})}),hv=mf((0,V.jsx)(`path`,{d:`M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9m-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8z`}),`Restore`),gv=mf((0,V.jsx)(`path`,{d:`M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8`}),`Undo`),_v=J(`div`)({display:`flex`,flexDirection:`column`}),vv=J(`div`)({display:`flex`,alignItems:`center`,justifyContent:`center`}),yv=J(`div`)(({theme:e})=>({width:`24px`,height:`24px`,color:`gray`,marginRight:e.spacing(1),display:`flex`,alignItems:`center`})),bv=J(mv)(({theme:e})=>({display:`flex`,alignItems:`center`,marginLeft:e.spacing(3),marginRight:e.spacing(3)})),xv=e=>{class t extends B.Component{static propTypes={session:z.object,onSessionChange:z.func};constructor(e){super(e),this.state={sessionInitialValues:JSON.parse(JSON.stringify(e.session)),session:e.session,changes:[]}}onSessionChange=e=>{this.setState(t=>({session:e,changes:[...t.changes,e]}),()=>this.props.onSessionChange(e))};onUndo=()=>{this.setState(e=>{let t=[...e.changes];return t.pop(),{changes:t,session:t.length?t[t.length-1]:e.sessionInitialValues}},()=>this.props.onSessionChange(this.state.session))};onReset=()=>{this.setState(e=>({session:e.sessionInitialValues,changes:[]}),()=>this.props.onSessionChange(this.state.sessionInitialValues))};render(){let{...t}=this.props,{changes:n,session:r}=this.state;return(0,V.jsxs)(_v,{children:[(0,V.jsxs)(vv,{children:[(0,V.jsxs)(bv,{color:`primary`,disabled:n.length===0,onClick:this.onUndo,children:[(0,V.jsx)(yv,{children:(0,V.jsx)(gv,{})}),`Undo`]}),(0,V.jsxs)(bv,{color:`primary`,disabled:n.length===0,onClick:this.onReset,children:[(0,V.jsx)(yv,{children:(0,V.jsx)(hv,{})}),`Start Over`]})]}),(0,V.jsx)(e,{...t,session:r,onSessionChange:this.onSessionChange})]})}}return t},Sv=Ml({typography:{fontFamily:`inherit`},palette:{action:{disabled:`rgba(0, 0, 0, 0.54);`}},components:{MuiTypography:{styleOverrides:{root:{fontFamily:`inherit`}}},MuiButton:{styleOverrides:{contained:{backgroundColor:`#e0e0e0`,color:`#000000`,"&:hover":{backgroundColor:`#bdbdbd`}}}}}}),Cv=J(`div`)({"& table, th, td":{fontSize:`inherit`}}),wv=class extends B.Component{static propTypes={className:z.string,children:z.array,extraCSSRules:z.shape({names:z.arrayOf(z.string),rules:z.string}),fontSizeFactor:z.number,containerRef:z.oneOfType([z.func,z.object])};static defaultProps={extraCSSRules:{},fontSizeFactor:1};constructor(e){super(e),this.classesSheet=document.createElement(`style`)}scopeClass=__(`extra-css-rules`);computeStyle(e){let t=e=>parseFloat(getComputedStyle(e).fontSize),n=t(document.documentElement),r=t(document.body),i=Math.max(n,r),a=e!=null&&typeof e==`number`?e:1;return a===1?null:{fontSize:`${i*a}px`}}render(){let{children:e,className:t,fontSizeFactor:n,containerRef:r,...i}=this.props,{extraCSSRules:a,...o}=i,s=this.computeStyle(n);return(0,V.jsx)(va,{injectFirst:!0,children:(0,V.jsxs)(Ul,{theme:Sv,children:[a?.rules?(0,V.jsx)(`style`,{dangerouslySetInnerHTML:{__html:`.${this.scopeClass} { ${a.rules} }`}}):null,(0,V.jsx)(Cv,{ref:r,className:`${t} extraCSSRules ${this.scopeClass}`,...o,...s&&{style:s},children:e})]})})}},Tv=J(wv)({display:`flex`,flexDirection:`column`,position:`relative`}),Ev=class extends B.Component{static propTypes={ariaLabel:z.string,children:z.oneOfType([z.arrayOf(z.node),z.node]).isRequired,role:z.string,extraCSSRules:z.shape({names:z.arrayOf(z.string),rules:z.string}),fontSizeFactor:z.number};render(){let{children:e,ariaLabel:t,role:n,extraCSSRules:r,fontSizeFactor:i,classes:a}=this.props;return(0,V.jsx)(Tv,{...t?{"aria-label":t,role:n}:{},extraCSSRules:r,fontSizeFactor:i,classes:a,children:e})}},Dv=class extends B.Component{static propTypes={tag:z.string,className:z.string,html:z.string};static defaultProps={tag:`div`,html:``};render(){let{tag:e,className:t,html:n}=this.props;return(0,V.jsx)(e||`div`,{ref:e=>this.node=e,className:t,dangerouslySetInnerHTML:{__html:uh(n)}})}};function Ov({props:e,states:t,muiFormControl:n}){return t.reduce((t,r)=>(t[r]=e[r],n&&e[r]===void 0&&(t[r]=n[r]),t),{})}var kv=B.createContext(void 0);function Av(){return B.useContext(kv)}function jv(e){return rs(`MuiFormLabel`,e)}var Mv=is(`MuiFormLabel`,[`root`,`colorSecondary`,`focused`,`disabled`,`error`,`filled`,`required`,`asterisk`]),Nv=e=>{let{classes:t,color:n,focused:r,disabled:i,error:a,filled:o,required:s}=e;return Cc({root:[`root`,`color${Y(n)}`,i&&`disabled`,a&&`error`,o&&`filled`,r&&`focused`,s&&`required`],asterisk:[`asterisk`,a&&`error`]},jv,t)},Pv=J(`label`,{name:`MuiFormLabel`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.color===`secondary`&&t.colorSecondary,n.filled&&t.filled]}})(Md(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:`1.4375em`,padding:0,position:`relative`,variants:[...Object.entries(e.palette).filter(W_()).map(([t])=>({props:{color:t},style:{[`&.${Mv.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${Mv.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Mv.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),Fv=J(`span`,{name:`MuiFormLabel`,slot:`Asterisk`})(Md(({theme:e})=>({[`&.${Mv.error}`]:{color:(e.vars||e).palette.error.main}}))),Iv=B.forwardRef(function(e,t){let n=ou({props:e,name:`MuiFormLabel`}),{children:r,className:i,color:a,component:o=`label`,disabled:s,error:c,filled:l,focused:u,required:d,...f}=n,p=Ov({props:n,muiFormControl:Av(),states:[`color`,`required`,`focused`,`disabled`,`error`,`filled`]}),m={...n,color:p.color||`primary`,component:o,disabled:p.disabled,error:p.error,filled:p.filled,focused:p.focused,required:p.required},h=Nv(m);return(0,V.jsxs)(Pv,{as:o,ownerState:m,className:U(h.root,i),ref:t,...f,children:[r,p.required&&(0,V.jsxs)(Fv,{ownerState:m,"aria-hidden":!0,className:h.asterisk,children:[` `,`*`]})]})});function Lv(e){return rs(`MuiInputLabel`,e)}is(`MuiInputLabel`,[`root`,`focused`,`disabled`,`error`,`required`,`asterisk`,`formControl`,`sizeSmall`,`shrink`,`animated`,`standard`,`filled`,`outlined`]);var Rv=e=>{let{classes:t,formControl:n,size:r,shrink:i,disableAnimation:a,variant:o,required:s}=e,c=Cc({root:[`root`,n&&`formControl`,!a&&`animated`,i&&`shrink`,r&&r!==`medium`&&`size${Y(r)}`,o],asterisk:[s&&`asterisk`]},Lv,t);return{...t,...c}},zv=J(Iv,{shouldForwardProp:e=>Il(e)||e===`classes`,name:`MuiInputLabel`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[{[`& .${Mv.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size===`small`&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(Md(({theme:e})=>({display:`block`,transformOrigin:`top left`,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`,maxWidth:`100%`,variants:[{props:({ownerState:e})=>e.formControl,style:{position:`absolute`,left:0,top:0,transform:`translate(0, 20px) scale(1)`}},{props:{size:`small`},style:{transform:`translate(0, 17px) scale(1)`}},{props:({ownerState:e})=>e.shrink,style:{transform:`translate(0, -1.5px) scale(0.75)`,transformOrigin:`top left`,maxWidth:`133%`}},{props:({ownerState:e})=>!e.disableAnimation,style:{transition:e.transitions.create([`color`,`transform`,`max-width`],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:`filled`},style:{zIndex:1,pointerEvents:`none`,transform:`translate(12px, 16px) scale(1)`,maxWidth:`calc(100% - 24px)`}},{props:{variant:`filled`,size:`small`},style:{transform:`translate(12px, 13px) scale(1)`}},{props:({variant:e,ownerState:t})=>e===`filled`&&t.shrink,style:{userSelect:`none`,pointerEvents:`auto`,transform:`translate(12px, 7px) scale(0.75)`,maxWidth:`calc(133% - 24px)`}},{props:({variant:e,ownerState:t,size:n})=>e===`filled`&&t.shrink&&n===`small`,style:{transform:`translate(12px, 4px) scale(0.75)`}},{props:{variant:`outlined`},style:{zIndex:1,pointerEvents:`none`,transform:`translate(14px, 16px) scale(1)`,maxWidth:`calc(100% - 24px)`}},{props:{variant:`outlined`,size:`small`},style:{transform:`translate(14px, 9px) scale(1)`}},{props:({variant:e,ownerState:t})=>e===`outlined`&&t.shrink,style:{userSelect:`none`,pointerEvents:`auto`,maxWidth:`calc(133% - 32px)`,transform:`translate(14px, -9px) scale(0.75)`}}]}))),Bv=B.forwardRef(function(e,t){let n=ou({name:`MuiInputLabel`,props:e}),{disableAnimation:r=!1,margin:i,shrink:a,variant:o,className:s,...c}=n,l=Av(),u=a;u===void 0&&l&&(u=l.filled||l.focused||l.adornedStart);let d=Ov({props:n,muiFormControl:l,states:[`size`,`variant`,`required`,`focused`]}),f={...n,disableAnimation:r,formControl:l,shrink:u,size:d.size,variant:d.variant,required:d.required,focused:d.focused},p=Rv(f);return(0,V.jsx)(zv,{"data-shrink":u,ref:t,className:U(p.root,s),...c,ownerState:f,classes:p})});function Vv(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Hv(e,t=!1){return e&&(Vv(e.value)&&e.value!==``||t&&Vv(e.defaultValue)&&e.defaultValue!==``)}function Uv(e){return e.startAdornment}function Wv(e){return rs(`MuiFormControl`,e)}is(`MuiFormControl`,[`root`,`marginNone`,`marginNormal`,`marginDense`,`fullWidth`,`disabled`]);var Gv=e=>{let{classes:t,margin:n,fullWidth:r}=e;return Cc({root:[`root`,n!==`none`&&`margin${Y(n)}`,r&&`fullWidth`]},Wv,t)},Kv=J(`div`,{name:`MuiFormControl`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[`margin${Y(n.margin)}`],n.fullWidth&&t.fullWidth]}})({display:`inline-flex`,flexDirection:`column`,position:`relative`,minWidth:0,padding:0,margin:0,border:0,verticalAlign:`top`,variants:[{props:{margin:`normal`},style:{marginTop:16,marginBottom:8}},{props:{margin:`dense`},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:`100%`}}]}),qv=J(B.forwardRef(function(e,t){let n=ou({props:e,name:`MuiFormControl`}),{children:r,className:i,color:a=`primary`,component:o=`div`,disabled:s=!1,error:c=!1,focused:l,fullWidth:u=!1,hiddenLabel:d=!1,margin:f=`none`,required:p=!1,size:m=`medium`,variant:h=`outlined`,...g}=n,_={...n,color:a,component:o,disabled:s,error:c,fullWidth:u,hiddenLabel:d,margin:f,required:p,size:m,variant:h},v=Gv(_),[y,b]=B.useState(()=>{let e=!1;return r&&B.Children.forEach(r,t=>{if(!hf(t,[`Input`,`Select`]))return;let n=hf(t,[`Select`])?t.props.input:t;n&&Uv(n.props)&&(e=!0)}),e}),[x,S]=B.useState(()=>{let e=!1;return r&&B.Children.forEach(r,t=>{hf(t,[`Input`,`Select`])&&(Hv(t.props,!0)||Hv(t.props.inputProps,!0))&&(e=!0)}),e}),[C,w]=B.useState(!1);s&&C&&w(!1);let T=l!==void 0&&!s?l:C,E;B.useRef(!1);let D=B.useCallback(()=>{S(!0)},[]),O=B.useCallback(()=>{S(!1)},[]),k=B.useMemo(()=>({adornedStart:y,setAdornedStart:b,color:a,disabled:s,error:c,filled:x,focused:T,fullWidth:u,hiddenLabel:d,size:m,onBlur:()=>{w(!1)},onFocus:()=>{w(!0)},onEmpty:O,onFilled:D,registerEffect:E,required:p,variant:h}),[y,a,s,c,x,T,u,d,E,O,D,p,m,h]);return(0,V.jsx)(kv.Provider,{value:k,children:(0,V.jsx)(Kv,{as:o,ownerState:_,className:U(v.root,i),ref:t,...g,children:r})})}))(({theme:e})=>({margin:0,padding:0,flex:`1 0 auto`,minWidth:e.spacing(4)})),Jv=J(Bv)(()=>({fontSize:`inherit`,whiteSpace:`nowrap`,margin:0,padding:0,alignSelf:`flex-start`,position:`absolute`,top:0,left:0,transformOrigin:`top left`,pointerEvents:`none`,"&.MuiInputLabel-shrink":{transform:`scale(0.75) translate(0, -0.75em)`},"&:not(.MuiInputLabel-shrink)":{transform:`translate(0, 0)`}})),Yv=({label:e,className:t,children:n})=>(0,V.jsxs)(qv,{className:t,children:[(0,V.jsx)(Jv,{shrink:!0,children:e}),n]});Yv.propTypes={label:z.oneOfType([z.string,z.object]).isRequired,className:z.string,children:z.oneOfType([z.arrayOf(z.node),z.node]).isRequired};var Xv=`pie-prompt-audio-player`,Zv=`play-audio-button`,Qv=e=>`&:not(.MathJax) > table${e}, &:not(.MathJax) > .pie-table-scroll > table${e}`,$v=J(`div`)(({theme:e,tagName:t})=>({[`& .${Zv}:focus-visible`]:{outline:`2px solid ${ag()}`,outlineOffset:`2px`},[Qv(`:not([role="presentation"])`)]:{borderCollapse:`collapse`},'&:not(.MathJax) table[border]:not([role="presentation"]), &:not(.MathJax) table[border]:not([role="presentation"]) td, &:not(.MathJax) table[border]:not([role="presentation"]) th':{borderStyle:`solid`,borderColor:Jh()},[Qv(`:not([role="presentation"]):has(tbody tr > th:first-child):not(:has(tbody tr > td:first-child)) tbody td:nth-child(even)`)]:{backgroundColor:Xh()},[Qv(`:not([role="presentation"]):has(tbody tr > td:first-child) tbody tr:nth-child(even) td`)]:{backgroundColor:Xh()},'&:not(.MathJax) table:not([role="presentation"]) td, &:not(.MathJax) table:not([role="presentation"]) th':{padding:`.6em 1em`,textAlign:`left`},[Qv(` td > p.kds-indent`)]:{textAlign:`initial`},"&.prompt":{verticalAlign:`middle`,color:hh()},"&.legend":{width:`100%`,fontSize:`inherit !important`},"&.rationale":{paddingLeft:e.spacing(4),paddingBottom:e.spacing(1)},"&.prompt-label":{color:`${hh()} !important`,display:`flex`,flexDirection:`column`,verticalAlign:`middle`,cursor:`pointer`,"& > p":{margin:`0 0 0 0 !important`}}})),ey=/\\embed\{newLine\}\[\]/g,ty=`\\newline `,ny=`preview-prompt`,ry=class extends B.Component{static propTypes={prompt:z.string,tagName:z.string,className:z.string,onClick:z.func,defaultClassName:z.string,autoplayAudioEnabled:z.bool,autoplayAudioHeld:z.bool,customAudioButton:z.shape({playImage:z.string,pauseImage:z.string}),language:z.string};static defaultProps={onClick:()=>{}};promptRef=B.createRef();audioId=__(Xv);playButtonId=__(Zv);parsedText=e=>{let{customAudioButton:t}=this.props,n=Lm(this.props),r=document.createElement(`div`);r.innerHTML=uh(e);let i=r.querySelector(`audio`);if(i){let e=i.getAttribute(`src`);if(e){let t=document.createElement(`source`);t.setAttribute(`type`,`audio/mp3`),t.setAttribute(`src`,e),i.removeAttribute(`src`),i.appendChild(t)}let a=!1;if(i.id)for(let e of r.querySelectorAll(`[${th}]`))e.getAttribute(`data-pie-play-audio`)===i.id&&(e.setAttribute(th,this.audioId),a=!0);if(i.id=this.audioId,i.classList.add(Xv),!n&&!t&&!a&&i.setAttribute(`controls`,``),t){i.style.display=`none`;let e=document.createElement(`button`);e.setAttribute(`type`,`button`),e.id=this.playButtonId,e.className=Zv,Object.assign(e.style,{cursor:`pointer`,display:`block`,width:`128px`,height:`128px`,margin:`0`,padding:`0`,font:`inherit`,backgroundColor:`transparent`,backgroundImage:`url(${n?t.pauseImage:t.playImage})`,backgroundSize:`cover`,borderRadius:`50%`,border:`1px solid #326295`}),i.parentNode.insertBefore(e,i)}}return r.innerHTML};labelPlayButton=()=>{(this.promptRef.current?.querySelector(`.${Zv}`))?.setAttribute(`aria-label`,g_.forLocale(this.props.language,this.labelPlayButton).t(`playAudio`))};addCustomAudioButtonControls(){let{customAudioButton:e}=this.props,t=this.promptRef.current,n=t?.querySelector(`.${Zv}`),r=t?.querySelector(`.${Xv}`);if(Lm(this.props)&&r&&r.play().then(()=>{n&&e&&r.addEventListener(`ended`,a)}).catch(t=>{n&&e&&(n.style.backgroundImage=`url(${e.playImage})`),console.error(`Error playing audio`,t)}),!n||!r||!e)return;let i=()=>{r.paused&&r.play()},a=()=>{n.style.backgroundImage=`url(${e.playImage})`},o=()=>{Object.assign(n.style,{backgroundImage:`url(${e.pauseImage})`,border:`1px solid #ccc`})},s=()=>{Object.assign(n.style,{backgroundImage:`url(${e.playImage})`,border:`1px solid #326295`})};n.addEventListener(`click`,i),r.addEventListener(`play`,o),r.addEventListener(`pause`,s),r.addEventListener(`ended`,a),this._playButton=n,this._audio=r,this._handlePlayClick=i,this._handleAudioPlay=o,this._handleAudioPause=s,this._handleAudioEnded=a}removeCustomAudioButtonListeners(){let e=this._playButton,t=this._audio;e&&t&&(e.removeEventListener(`click`,this._handlePlayClick),t.removeEventListener(`play`,this._handleAudioPlay),t.removeEventListener(`pause`,this._handleAudioPause),t.removeEventListener(`ended`,this._handleAudioEnded))}componentDidMount(){this.alignImages(),this.labelPlayButton(),this.addCustomAudioButtonControls(),this.setupMathRendering()}componentDidUpdate(e){this.alignImages(),this.labelPlayButton(),e.prompt!==this.props.prompt&&this.renderMathContent()}componentWillUnmount(){this.removeCustomAudioButtonListeners()}setupMathRendering(){this.renderMathContent()}renderMathContent(){let e=this.promptRef.current;e&&typeof Wn==`function`&&Wn(e)}alignImages(){let e=this.promptRef.current;if(!e)return;let t=e.getElementsByTagName(`img`);if(t&&t.length){for(let e of t)if(e.attributes&&e.attributes.alignment&&e.attributes.alignment.value){let t=e.attributes.alignment.value,n=t===`center`?`center`:t===`right`?`flex-end`:`flex-start`,r=e.parentElement;if(r.tagName===`DIV`&&r.style.display===`flex`&&r.style.width===`100%`)r.style.justifyContent=n;else{let t=document.createElement(`div`);t.style.display=`flex`,t.style.width=`100%`,t.style.justifyContent=n;let i=e.cloneNode(!0);t.appendChild(i),r.replaceChild(t,e)}}}}render(){let{prompt:e,tagName:t,className:n,onClick:r,defaultClassName:i}=this.props,a=`${n||``} ${i||``} ${t===`legend`?`legend`:``} ${ny}`.trim();return(0,V.jsx)($v,{as:t||`div`,ref:this.promptRef,onClick:r,className:a,tagName:t,dangerouslySetInnerHTML:{__html:this.parsedText(e||``).replace(ey,ty)}})}},iy=e=>(0,V.jsx)(V.Fragment,{children:B.Children.map(e.children,t=>B.cloneElement(t,{"data-pie-readable":e.false===void 0}))});iy.propTypes={children:z.node,false:z.bool};var ay=e=>(0,V.jsx)(V.Fragment,{children:B.Children.map(e.children,t=>B.cloneElement(t,{"data-pie-purpose":e.purpose}))});ay.propTypes={children:z.node,purpose:z.string};var oy;typeof window<`u`&&(oy=new DOMParser);var sy=e=>oy.parseFromString(e,`text/html`).body.textContent,cy=e=>{if(!e)return!1;let t=sy(e);return!!(t&&t.trim())},ly;typeof window<`u`&&(ly=new DOMParser);var uy=e=>{if(!e)return!1;let t=ly.parseFromString(e,`text/html`);return!!t.body.quer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AAAAAABLa3AoETvfzAUAAAAAAAABErc7gUAAAiaeqdwKAAAAAACK+t36AKAAAAAAAAAAAI72dld8gKAAAAAAAAAAAAEsr3tq+YBO6Tat5gKAAAAAAAAAjVwKAAjdrecCgAAAAAAARrhra30gUAAAARtLVuwFAAAAAAAAAAAAAAAltbgUCJ3SbVvMBQAAAAAAAAAAAAltb3+YCgAI3ZNvkBQAAAAAAAAAAAAivzYFAAAAETTuk+HECgAAAAAAAAJZXvbVcwCvrdegCgAAAAAAAAAAAAAltbgUCN2TaV/MBQAAAAAAAAAAAAjV+dgKAAAAIndJrmBQAAAAAAAAACO+ln6QKAAAAAEaTs2uHACgAAAAAAAAAEbSTbdkuLAoEd+SAoAAAAjVwKAAAAAAAAAAAAAABG+Gl7/AEAUAAAltb3+YCgAAAAAAAAAAAAAAAAETuk1zAoE1vx0AoAAAAARJLRKwFAAAAAAAAAAAEbSTbdkuLAoEV+aAoAABLa3AoAAAAAAAAAAAAAAACJ8dLW+kCgAJbW9/mAoAAAAARtKyb48AKAAAAAAAAAAAAEStzuBQAACX1tb5wKAAAAAAAAAAAAAAAAiSSSSslwQFAmt+OgFAAAAACJ3AoAAAAAAAAAAAARq9vMBQAACa34aAUAAAAAAETTuk+HECgAAAAAAAAAEavzsBQAAABG7crgUAAAAAAAAAAAAAACJJXaXHiBQAE1vx0AoAAAAAf/Z`;function fy(e=``,t=2){if(!e)return e;let n=new DOMParser().parseFromString(e,`text/html`);return n.body.querySelectorAll(`[data-heading]`).forEach(e=>{let r=e.getAttribute(`data-heading`)||``,i=parseInt(r.replace(`heading`,``),10);if(!Number.isFinite(i))return;let a=Math.min(6,Math.max(1,t+i-1)),o=n.createElement(`h${a}`);o.setAttribute(`data-heading`,r),Array.from(e.attributes).forEach(e=>{e.name!==`data-heading`&&o.setAttribute(e.name,e.value)}),o.innerHTML=e.innerHTML,e.replaceWith(o)}),n.body.innerHTML}function py(e){let{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:i=!1,...a}=e,o=i?{}:Pd(n,r),{props:s,internalRef:c}=Ld({...a,externalSlotProps:o}),l=ed(c,o?.ref,e.additionalProps?.ref);return Nd(t,{...s,ref:l},r)}var my=B.createContext({});function hy(e){return rs(`MuiList`,e)}is(`MuiList`,[`root`,`padding`,`dense`,`subheader`]);var gy=e=>{let{classes:t,disablePadding:n,dense:r,subheader:i}=e;return Cc({root:[`root`,!n&&`padding`,r&&`dense`,i&&`subheader`]},hy,t)},_y=J(`ul`,{name:`MuiList`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:`none`,margin:0,padding:0,position:`relative`,variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),vy=B.forwardRef(function(e,t){let n=ou({props:e,name:`MuiList`}),{children:r,className:i,component:a=`ul`,dense:o=!1,disablePadding:s=!1,subheader:c,...l}=n,u=B.useMemo(()=>({dense:o}),[o]),d={...n,component:a,dense:o,disablePadding:s},f=gy(d);return(0,V.jsx)(my.Provider,{value:u,children:(0,V.jsxs)(_y,{as:a,className:U(f.root,i),ref:t,ownerState:d,...l,children:[c,r]})})}),yy=od;function by(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function xy(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Sy(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(``))}function Cy(e,t,n,r,i,a){let o=!1,s=i(e,t,t?n:!1);for(;s;){if(s===e.firstChild){if(o)return!1;o=!0}let t=r?!1:s.disabled||s.getAttribute(`aria-disabled`)===`true`;if(!s.hasAttribute(`tabindex`)||!Sy(s,a)||t)s=i(e,s,n);else return s.focus(),!0}return!1}var wy=B.forwardRef(function(e,t){let{actions:n,autoFocus:r=!1,autoFocusItem:i=!1,children:a,className:o,disabledItemsFocusable:s=!1,disableListWrap:c=!1,onKeyDown:l,variant:u=`selectedMenu`,...d}=e,f=B.useRef(null),p=B.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});gf(()=>{r&&f.current.focus()},[r]),B.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(e,{direction:t})=>{let n=!f.current.style.width;if(e.clientHeight<f.current.clientHeight&&n){let n=`${yy(fu(e))}px`;f.current.style[t===`rtl`?`paddingLeft`:`paddingRight`]=n,f.current.style.width=`calc(100% + ${n})`}return f.current}}),[]);let m=e=>{let t=f.current,n=e.key;if(e.ctrlKey||e.metaKey||e.altKey){l&&l(e);return}let r=yd(uu(t));if(n===`ArrowDown`)e.preventDefault(),Cy(t,r,c,s,by);else if(n===`ArrowUp`)e.preventDefault(),Cy(t,r,c,s,xy);else if(n===`Home`)e.preventDefault(),Cy(t,null,c,s,by);else if(n===`End`)e.preventDefault(),Cy(t,null,c,s,xy);else if(n.length===1){let i=p.current,a=n.toLowerCase(),o=performance.now();i.keys.length>0&&(o-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&a!==i.keys[0]&&(i.repeating=!1)),i.lastTime=o,i.keys.push(a);let c=r&&!i.repeating&&Sy(r,i);i.previousKeyMatched&&(c||Cy(t,r,!1,s,by,i))?e.preventDefault():i.previousKeyMatched=!1}l&&l(e)},h=td(f,t),g=-1;B.Children.forEach(a,(e,t)=>{B.isValidElement(e)?(e.props.disabled||(u===`selectedMenu`&&e.props.selected||g===-1)&&(g=t),g===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(g+=1,g>=a.length&&(g=-1))):g===t&&(g+=1,g>=a.length&&(g=-1))});let _=B.Children.map(a,(e,t)=>{if(t===g){let t={};return i&&(t.autoFocus=!0),e.props.tabIndex===void 0&&u===`selectedMenu`&&(t.tabIndex=0),B.cloneElement(e,t)}return e});return(0,V.jsx)(vy,{role:`menu`,ref:h,className:o,onKeyDown:m,tabIndex:r?0:-1,...d,children:_})});function Ty(e){return rs(`MuiMenu`,e)}is(`MuiMenu`,[`root`,`paper`,`list`]);var Ey={vertical:`top`,horizontal:`right`},Dy={vertical:`top`,horizontal:`left`},Oy=e=>{let{classes:t}=e;return Cc({root:[`root`],paper:[`paper`],list:[`list`]},Ty,t)},ky=J(Of,{shouldForwardProp:e=>Il(e)||e===`classes`,name:`MuiMenu`,slot:`Root`})({}),Ay=J(Df,{name:`MuiMenu`,slot:`Paper`})({maxHeight:`calc(100% - 96px)`,WebkitOverflowScrolling:`touch`}),jy=J(wy,{name:`MuiMenu`,slot:`List`})({outline:0}),My=B.forwardRef(function(e,t){let n=ou({props:e,name:`MuiMenu`}),{autoFocus:r=!0,children:i,className:a,disableAutoFocusItem:o=!1,MenuListProps:s={},onClose:c,open:l,PaperProps:u={},PopoverClasses:d,transitionDuration:f=`auto`,TransitionProps:{onEntering:p,...m}={},variant:h=`selectedMenu`,slots:g={},slotProps:_={},...v}=n,y=Us(),b={...n,autoFocus:r,disableAutoFocusItem:o,MenuListProps:s,onEntering:p,PaperProps:u,transitionDuration:f,TransitionProps:m,variant:h},x=Oy(b),S=r&&!o&&l,C=B.useRef(null),w=(e,t)=>{C.current&&C.current.adjustStyleForScrollbar(e,{direction:y?`rtl`:`ltr`}),p&&p(e,t)},T=e=>{e.key===`Tab`&&(e.preventDefault(),c&&c(e,`tabKeyDown`))},E=-1;B.Children.map(i,(e,t)=>{B.isValidElement(e)&&(e.props.disabled||(h===`selectedMenu`&&e.props.selected||E===-1)&&(E=t))});let D={slots:g,slotProps:{list:s,transition:m,paper:u,..._}},O=py({elementType:g.root,externalSlotProps:_.root,ownerState:b,className:[x.root,a]}),[k,ee]=Rd(`paper`,{className:x.paper,elementType:Ay,externalForwardedProps:D,shouldForwardComponentProp:!0,ownerState:b}),[A,j]=Rd(`list`,{className:U(x.list,s.className),elementType:jy,shouldForwardComponentProp:!0,externalForwardedProps:D,getSlotProps:e=>({...e,onKeyDown:t=>{T(t),e.onKeyDown?.(t)}}),ownerState:b}),M=typeof D.slotProps.transition==`function`?D.slotProps.transition(b):D.slotProps.transition;return(0,V.jsx)(ky,{onClose:c,anchorOrigin:{vertical:`bottom`,horizontal:y?`right`:`left`},transformOrigin:y?Ey:Dy,slots:{root:g.root,paper:k,backdrop:g.backdrop,...g.transition&&{transition:g.transition}},slotProps:{root:O,paper:ee,backdrop:typeof _.backdrop==`function`?_.backdrop(b):_.backdrop,transition:{...M,onEntering:(...e)=>{w(...e),M?.onEntering?.(...e)}}},open:l,ref:t,transitionDuration:f,ownerState:b,...v,classes:d,children:(0,V.jsx)(A,{actions:C,autoFocus:r&&(E===-1||o),autoFocusItem:S,variant:h,...j,children:i})})}),Ny=({slotProps:e,...t})=>(0,V.jsx)(My,{...t,disableScrollLock:!0,slotProps:{...e,root:{...e?.root,style:{backgroundColor:`transparent`,...e?.root?.style}},backdrop:{invisible:!0,...e?.backdrop}}}),Py=s({Collapsible:()=>S_,EnableAudioAutoplayImage:()=>dy,Feedback:()=>Dg,HtmlAndMath:()=>Dv,InlineMenu:()=>Ny,InputContainer:()=>Yv,PreviewLayout:()=>Ev,PreviewPrompt:()=>ry,Purpose:()=>ay,Readable:()=>iy,UiLayout:()=>wv,color:()=>ph,createUniqueId:()=>__,hasMedia:()=>uy,hasText:()=>cy,indicators:()=>Ag,transformDataHeadings:()=>fy,useUniqueId:()=>v_,withUndoReset:()=>xv}),Fy=class e extends CustomEvent{static{this.TYPE=`model-set`}constructor(t,n,r){super(e.TYPE,{bubbles:!0,composed:!0,detail:{complete:n,component:t,hasModel:r}}),this.component=t,this.complete=n}},Iy=class e extends CustomEvent{static{this.TYPE=`session-changed`}constructor(t,n){super(e.TYPE,{bubbles:!0,composed:!0,detail:{complete:n,component:t}}),this.component=t,this.complete=n}},Ly=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;function Ry(e){let t=Object.prototype.toString.call(e);return t===`[object Window]`||t===`[object global]`}function zy(e){return`nodeType`in e}function By(e){return e?Ry(e)?e:zy(e)?e.ownerDocument?.defaultView??window:window:window}function Vy(e){let{Document:t}=By(e);return e instanceof t}function Hy(e){return!Ry(e)&&e instanceof By(e).HTMLElement}function Uy(e){return e instanceof By(e).SVGElement}function Wy(e){return e?Ry(e)?e.document:zy(e)?Vy(e)?e:Hy(e)||Uy(e)?e.ownerDocument:document:document:document}var Gy=Ly?B.useLayoutEffect:B.useEffect;function Ky(e){let t=(0,B.useRef)(e);return Gy(()=>{t.current=e}),(0,B.useCallback)(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current==null?void 0:t.current(...n)},[])}function qy(){let e=(0,B.useRef)(null);return[(0,B.useCallback)((t,n)=>{e.current=setInterval(t,n)},[]),(0,B.useCallback)(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[])]}function Jy(e,t){t===void 0&&(t=[e]);let n=(0,B.useRef)(e);return Gy(()=>{n.current!==e&&(n.current=e)},t),n}function Yy(e,t){let n=(0,B.useRef)();return(0,B.useMemo)(()=>{let t=e(n.current);return n.current=t,t},[...t])}function Xy(e){let t=Ky(e),n=(0,B.useRef)(null);return[n,(0,B.useCallback)(e=>{e!==n.current&&t?.(e,n.current),n.current=e},[])]}function Zy(e){let t=(0,B.useRef)();return(0,B.useEffect)(()=>{t.current=e},[e]),t.current}var Qy={};function $y(e,t){return(0,B.useMemo)(()=>{if(t)return t;let n=Qy[e]==null?0:Qy[e]+1;return Qy[e]=n,e+`-`+n},[e,t])}function eb(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.reduce((t,n)=>{let r=Object.entries(n);for(let[n,i]of r){let r=t[n];r!=null&&(t[n]=r+e*i)}return t},{...t})}}var tb=eb(1),nb=eb(-1);function rb(e){return`clientX`in e&&`clientY`in e}function ib(e){if(!e)return!1;let{KeyboardEvent:t}=By(e.target);return t&&e instanceof t}function ab(e){if(!e)return!1;let{TouchEvent:t}=By(e.target);return t&&e instanceof t}function ob(e){if(ab(e)){if(e.touches&&e.touches.length){let{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}if(e.changedTouches&&e.changedTouches.length){let{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return rb(e)?{x:e.clientX,y:e.clientY}:null}var sb=Object.freeze({Translate:{toString(e){if(!e)return;let{x:t,y:n}=e;return`translate3d(`+(t?Math.round(t):0)+`px, `+(n?Math.round(n):0)+`px, 0)`}},Scale:{toString(e){if(!e)return;let{scaleX:t,scaleY:n}=e;return`scaleX(`+t+`) scaleY(`+n+`)`}},Transform:{toString(e){if(e)return[sb.Translate.toString(e),sb.Scale.toString(e)].join(` `)}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+` `+n+`ms `+r}}}),cb=`a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]`;function lb(e){return e.matches(cb)?e:e.querySelector(cb)}var ub={display:`none`};function db(e){let{id:t,value:n}=e;return B.createElement(`div`,{id:t,style:ub},n)}function fb(e){let{id:t,announcement:n,ariaLiveType:r=`assertive`}=e;return B.createElement(`div`,{id:t,style:{position:`fixed`,top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:`hidden`,clip:`rect(0 0 0 0)`,clipPath:`inset(100%)`,whiteSpace:`nowrap`},role:`status`,"aria-live":r,"aria-atomic":!0},n)}function pb(){let[e,t]=(0,B.useState)(``);return{announce:(0,B.useCallback)(e=>{e!=null&&t(e)},[]),announcement:e}}var mb=(0,B.createContext)(null);function hb(e){let t=(0,B.useContext)(mb);(0,B.useEffect)(()=>{if(!t)throw Error(`useDndMonitor must be used within a children of <DndContext>`);return t(e)},[e,t])}function gb(){let[e]=(0,B.useState)(()=>new Set),t=(0,B.useCallback)(t=>(e.add(t),()=>e.delete(t)),[e]);return[(0,B.useCallback)(t=>{let{type:n,event:r}=t;e.forEach(e=>e[n]?.call(e,r))},[e]),t]}var _b={draggable:`
|
|
186
186
|
To pick up a draggable item, press the space bar.
|
|
187
187
|
While dragging, use the arrow keys to move the item.
|
|
188
188
|
Press space again to drop the item in its new position, or press escape to cancel.
|
|
189
|
-
`},mb={onDragStart(e){let{active:t}=e;return`Picked up draggable item `+t.id+`.`},onDragOver(e){let{active:t,over:n}=e;return n?`Draggable item `+t.id+` was moved over droppable area `+n.id+`.`:`Draggable item `+t.id+` is no longer over a droppable area.`},onDragEnd(e){let{active:t,over:n}=e;return n?`Draggable item `+t.id+` was dropped over droppable area `+n.id:`Draggable item `+t.id+` was dropped.`},onDragCancel(e){let{active:t}=e;return`Dragging was cancelled. Draggable item `+t.id+` was dropped.`}};function hb(e){let{announcements:t=mb,container:n,hiddenTextDescribedById:r,screenReaderInstructions:i=pb}=e,{announce:a,announcement:o}=lb(),s=Yy(`DndLiveRegion`),[c,l]=(0,B.useState)(!1);if((0,B.useEffect)(()=>{l(!0)},[]),db((0,B.useMemo)(()=>({onDragStart(e){let{active:n}=e;a(t.onDragStart({active:n}))},onDragMove(e){let{active:n,over:r}=e;t.onDragMove&&a(t.onDragMove({active:n,over:r}))},onDragOver(e){let{active:n,over:r}=e;a(t.onDragOver({active:n,over:r}))},onDragEnd(e){let{active:n,over:r}=e;a(t.onDragEnd({active:n,over:r}))},onDragCancel(e){let{active:n,over:r}=e;a(t.onDragCancel({active:n,over:r}))}}),[a,t])),!c)return null;let u=B.createElement(B.Fragment,null,B.createElement(sb,{id:r,value:i.draggable}),B.createElement(cb,{id:s,announcement:o}));return n?(0,Au.createPortal)(u,n):u}var gb;(function(e){e.DragStart=`dragStart`,e.DragMove=`dragMove`,e.DragEnd=`dragEnd`,e.DragCancel=`dragCancel`,e.DragOver=`dragOver`,e.RegisterDroppable=`registerDroppable`,e.SetDroppableDisabled=`setDroppableDisabled`,e.UnregisterDroppable=`unregisterDroppable`})(gb||={});function _b(){}function vb(e,t){return(0,B.useMemo)(()=>({sensor:e,options:t??{}}),[e,t])}function yb(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,B.useMemo)(()=>[...t].filter(e=>e!=null),[...t])}var bb=Object.freeze({x:0,y:0});function xb(e,t){let n=nb(e);if(!n)return`0 0`;let r={x:(n.x-t.left)/t.width*100,y:(n.y-t.top)/t.height*100};return r.x+`% `+r.y+`%`}function Sb(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function Cb(e,t){if(!e||e.length===0)return null;let[n]=e;return t?n[t]:n}function wb(e,t){let n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),a=Math.min(t.top+t.height,e.top+e.height),o=i-r,s=a-n;if(r<i&&n<a){let n=t.width*t.height,r=e.width*e.height,i=o*s,a=i/(n+r-i);return Number(a.toFixed(4))}return 0}var Tb=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,i=[];for(let e of r){let{id:r}=e,a=n.get(r);if(a){let n=wb(a,t);n>0&&i.push({id:r,data:{droppableContainer:e,value:n}})}}return i.sort(Sb)};function Eb(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function Db(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:bb}function Ob(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.reduce((t,n)=>({...t,top:t.top+e*n.y,bottom:t.bottom+e*n.y,left:t.left+e*n.x,right:t.right+e*n.x}),{...t})}}var kb=Ob(1);function Ab(e){if(e.startsWith(`matrix3d(`)){let t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith(`matrix(`)){let t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function jb(e,t,n){let r=Ab(t);if(!r)return e;let{scaleX:i,scaleY:a,x:o,y:s}=r,c=e.left-o-(1-i)*parseFloat(n),l=e.top-s-(1-a)*parseFloat(n.slice(n.indexOf(` `)+1)),u=i?e.width/i:e.width,d=a?e.height/a:e.height;return{width:u,height:d,top:l,right:c+u,bottom:l+d,left:c}}var Mb={ignoreTransform:!1};function Nb(e,t){t===void 0&&(t=Mb);let n=e.getBoundingClientRect();if(t.ignoreTransform){let{transform:t,transformOrigin:r}=Iy(e).getComputedStyle(e);t&&(n=jb(n,t,r))}let{top:r,left:i,width:a,height:o,bottom:s,right:c}=n;return{top:r,left:i,width:a,height:o,bottom:s,right:c}}function Pb(e){return Nb(e,{ignoreTransform:!0})}function Fb(e){let t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function Ib(e,t){return t===void 0&&(t=Iy(e).getComputedStyle(e)),t.position===`fixed`}function Lb(e,t){t===void 0&&(t=Iy(e).getComputedStyle(e));let n=/(auto|scroll|overlay)/;return[`overflow`,`overflowX`,`overflowY`].some(e=>{let r=t[e];return typeof r==`string`&&n.test(r)})}function Rb(e,t){let n=[];function r(i){if(t!=null&&n.length>=t||!i)return n;if(Ly(i)&&i.scrollingElement!=null&&!n.includes(i.scrollingElement))return n.push(i.scrollingElement),n;if(!Ry(i)||zy(i)||n.includes(i))return n;let a=Iy(e).getComputedStyle(i);return i!==e&&Lb(i,a)&&n.push(i),Ib(i,a)?n:r(i.parentNode)}return e?r(e):n}function zb(e){let[t]=Rb(e,1);return t??null}function Bb(e){return!Ny||!e?null:Py(e)?e:Fy(e)?Ly(e)||e===By(e).scrollingElement?window:Ry(e)?e:null:null}function Vb(e){return Py(e)?e.scrollX:e.scrollLeft}function Hb(e){return Py(e)?e.scrollY:e.scrollTop}function Ub(e){return{x:Vb(e),y:Hb(e)}}var Wb;(function(e){e[e.Forward=1]=`Forward`,e[e.Backward=-1]=`Backward`})(Wb||={});function Gb(e){return!Ny||!e?!1:e===document.scrollingElement}function Kb(e){let t={x:0,y:0},n=Gb(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=r.y,isRight:e.scrollLeft>=r.x,maxScroll:r,minScroll:t}}var qb={x:.2,y:.2};function Jb(e,t,n,r,i){let{top:a,left:o,right:s,bottom:c}=n;r===void 0&&(r=10),i===void 0&&(i=qb);let{isTop:l,isBottom:u,isLeft:d,isRight:f}=Kb(e),p={x:0,y:0},m={x:0,y:0},h={height:t.height*i.y,width:t.width*i.x};return!l&&a<=t.top+h.height?(p.y=Wb.Backward,m.y=r*Math.abs((t.top+h.height-a)/h.height)):!u&&c>=t.bottom-h.height&&(p.y=Wb.Forward,m.y=r*Math.abs((t.bottom-h.height-c)/h.height)),!f&&s>=t.right-h.width?(p.x=Wb.Forward,m.x=r*Math.abs((t.right-h.width-s)/h.width)):!d&&o<=t.left+h.width&&(p.x=Wb.Backward,m.x=r*Math.abs((t.left+h.width-o)/h.width)),{direction:p,speed:m}}function Yb(e){if(e===document.scrollingElement){let{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}let{top:t,left:n,right:r,bottom:i}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:i,width:e.clientWidth,height:e.clientHeight}}function Xb(e){return e.reduce((e,t)=>Zy(e,Ub(t)),bb)}function Zb(e){return e.reduce((e,t)=>e+Vb(t),0)}function Qb(e){return e.reduce((e,t)=>e+Hb(t),0)}function $b(e,t){if(t===void 0&&(t=Nb),!e)return;let{top:n,left:r,bottom:i,right:a}=t(e);zb(e)&&(i<=0||a<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:`center`,inline:`center`})}var ex=[[`x`,[`left`,`right`],Zb],[`y`,[`top`,`bottom`],Qb]],tx=class{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;let n=Rb(t),r=Xb(n);this.rect={...e},this.width=e.width,this.height=e.height;for(let[e,t,i]of ex)for(let a of t)Object.defineProperty(this,a,{get:()=>{let t=i(n),o=r[e]-t;return this.rect[a]+o},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}},nx=class{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(e=>this.target?.removeEventListener(...e))},this.target=e}add(e,t,n){var r;(r=this.target)==null||r.addEventListener(e,t,n),this.listeners.push([e,t,n])}};function rx(e){let{EventTarget:t}=Iy(e);return e instanceof t?e:By(e)}function ix(e,t){let n=Math.abs(e.x),r=Math.abs(e.y);return typeof t==`number`?Math.sqrt(n**2+r**2)>t:`x`in t&&`y`in t?n>t.x&&r>t.y:`x`in t?n>t.x:`y`in t&&r>t.y}var ax;(function(e){e.Click=`click`,e.DragStart=`dragstart`,e.Keydown=`keydown`,e.ContextMenu=`contextmenu`,e.Resize=`resize`,e.SelectionChange=`selectionchange`,e.VisibilityChange=`visibilitychange`})(ax||={});function ox(e){e.preventDefault()}function sx(e){e.stopPropagation()}var cx;(function(e){e.Space=`Space`,e.Down=`ArrowDown`,e.Right=`ArrowRight`,e.Left=`ArrowLeft`,e.Up=`ArrowUp`,e.Esc=`Escape`,e.Enter=`Enter`,e.Tab=`Tab`})(cx||={});var lx={start:[cx.Space,cx.Enter],cancel:[cx.Esc],end:[cx.Space,cx.Enter,cx.Tab]},ux=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case cx.Right:return{...n,x:n.x+25};case cx.Left:return{...n,x:n.x-25};case cx.Down:return{...n,y:n.y+25};case cx.Up:return{...n,y:n.y-25}}},dx=class{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;let{event:{target:t}}=e;this.props=e,this.listeners=new nx(By(t)),this.windowListeners=new nx(Iy(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(ax.Resize,this.handleCancel),this.windowListeners.add(ax.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(ax.Keydown,this.handleKeyDown))}handleStart(){let{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&$b(n),t(bb)}handleKeyDown(e){if(eb(e)){let{active:t,context:n,options:r}=this.props,{keyboardCodes:i=lx,coordinateGetter:a=ux,scrollBehavior:o=`smooth`}=r,{code:s}=e;if(i.end.includes(s)){this.handleEnd(e);return}if(i.cancel.includes(s)){this.handleCancel(e);return}let{collisionRect:c}=n.current,l=c?{x:c.left,y:c.top}:bb;this.referenceCoordinates||=l;let u=a(e,{active:t,context:n.current,currentCoordinates:l});if(u){let t=Qy(u,l),r={x:0,y:0},{scrollableAncestors:i}=n.current;for(let n of i){let i=e.code,{isTop:a,isRight:s,isLeft:c,isBottom:l,maxScroll:d,minScroll:f}=Kb(n),p=Yb(n),m={x:Math.min(i===cx.Right?p.right-p.width/2:p.right,Math.max(i===cx.Right?p.left:p.left+p.width/2,u.x)),y:Math.min(i===cx.Down?p.bottom-p.height/2:p.bottom,Math.max(i===cx.Down?p.top:p.top+p.height/2,u.y))},h=i===cx.Right&&!s||i===cx.Left&&!c,g=i===cx.Down&&!l||i===cx.Up&&!a;if(h&&m.x!==u.x){let e=n.scrollLeft+t.x,a=i===cx.Right&&e<=d.x||i===cx.Left&&e>=f.x;if(a&&!t.y){n.scrollTo({left:e,behavior:o});return}r.x=a?n.scrollLeft-e:i===cx.Right?n.scrollLeft-d.x:n.scrollLeft-f.x,r.x&&n.scrollBy({left:-r.x,behavior:o});break}if(g&&m.y!==u.y){let e=n.scrollTop+t.y,a=i===cx.Down&&e<=d.y||i===cx.Up&&e>=f.y;if(a&&!t.x){n.scrollTo({top:e,behavior:o});return}r.y=a?n.scrollTop-e:i===cx.Down?n.scrollTop-d.y:n.scrollTop-f.y,r.y&&n.scrollBy({top:-r.y,behavior:o});break}}this.handleMove(e,Zy(Qy(u,this.referenceCoordinates),r))}}}handleMove(e,t){let{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){let{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){let{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}};dx.activators=[{eventName:`onKeyDown`,handler:(e,t,n)=>{let{keyboardCodes:r=lx,onActivation:i}=t,{active:a}=n,{code:o}=e.nativeEvent;if(r.start.includes(o)){let t=a.activatorNode.current;return t&&e.target!==t?!1:(e.preventDefault(),i?.({event:e.nativeEvent}),!0)}return!1}}];function fx(e){return!!(e&&`distance`in e)}function px(e){return!!(e&&`delay`in e)}var mx=class{constructor(e,t,n){n===void 0&&(n=rx(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;let{event:r}=e,{target:i}=r;this.props=e,this.events=t,this.document=By(i),this.documentListeners=new nx(this.document),this.listeners=new nx(n),this.windowListeners=new nx(Iy(i)),this.initialCoordinates=nb(r)??bb,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){let{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:n}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),e.cancel&&this.listeners.add(e.cancel.name,this.handleCancel),this.windowListeners.add(ax.Resize,this.handleCancel),this.windowListeners.add(ax.DragStart,ox),this.windowListeners.add(ax.VisibilityChange,this.handleCancel),this.windowListeners.add(ax.ContextMenu,ox),this.documentListeners.add(ax.Keydown,this.handleKeydown),t){if(n!=null&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(px(t)){this.timeoutId=setTimeout(this.handleStart,t.delay),this.handlePending(t);return}if(fx(t)){this.handlePending(t);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(e,t){let{active:n,onPending:r}=this.props;r(n,e,this.initialCoordinates,t)}handleStart(){let{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(ax.Click,sx,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(ax.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){let{activated:t,initialCoordinates:n,props:r}=this,{onMove:i,options:{activationConstraint:a}}=r;if(!n)return;let o=nb(e)??bb,s=Qy(n,o);if(!t&&a){if(fx(a)){if(a.tolerance!=null&&ix(s,a.tolerance))return this.handleCancel();if(ix(s,a.distance))return this.handleStart()}if(px(a)&&ix(s,a.tolerance))return this.handleCancel();this.handlePending(a,s)}else e.cancelable&&e.preventDefault(),i(o)}handleEnd(){let{onAbort:e,onEnd:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleCancel(){let{onAbort:e,onCancel:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleKeydown(e){e.code===cx.Esc&&this.handleCancel()}removeTextSelection(){var e;(e=this.document.getSelection())==null||e.removeAllRanges()}},hx={cancel:{name:`pointercancel`},move:{name:`pointermove`},end:{name:`pointerup`}},gx=class extends mx{constructor(e){let{event:t}=e,n=By(t.target);super(e,hx,n)}};gx.activators=[{eventName:`onPointerDown`,handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!n.isPrimary||n.button!==0?!1:(r?.({event:n}),!0)}}];var _x={move:{name:`mousemove`},end:{name:`mouseup`}},vx;(function(e){e[e.RightClick=2]=`RightClick`})(vx||={});var yx=class extends mx{constructor(e){super(e,_x,By(e.event.target))}};yx.activators=[{eventName:`onMouseDown`,handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button!==vx.RightClick&&(r?.({event:n}),!0)}}];var bx={cancel:{name:`touchcancel`},move:{name:`touchmove`},end:{name:`touchend`}},xx=class extends mx{constructor(e){super(e,bx)}static setup(){return window.addEventListener(bx.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(bx.move.name,e)};function e(){}}};xx.activators=[{eventName:`onTouchStart`,handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t,{touches:i}=n;return i.length>1?!1:(r?.({event:n}),!0)}}];var Sx;(function(e){e[e.Pointer=0]=`Pointer`,e[e.DraggableRect=1]=`DraggableRect`})(Sx||={});var Cx;(function(e){e[e.TreeOrder=0]=`TreeOrder`,e[e.ReversedTreeOrder=1]=`ReversedTreeOrder`})(Cx||={});function wx(e){let{acceleration:t,activator:n=Sx.Pointer,canScroll:r,draggingRect:i,enabled:a,interval:o=5,order:s=Cx.TreeOrder,pointerCoordinates:c,scrollableAncestors:l,scrollableAncestorRects:u,delta:d,threshold:f}=e,p=Ex({delta:d,disabled:!a}),[m,h]=Uy(),g=(0,B.useRef)({x:0,y:0}),_=(0,B.useRef)({x:0,y:0}),v=(0,B.useMemo)(()=>{switch(n){case Sx.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case Sx.DraggableRect:return i}},[n,i,c]),y=(0,B.useRef)(null),b=(0,B.useCallback)(()=>{let e=y.current;if(!e)return;let t=g.current.x*_.current.x,n=g.current.y*_.current.y;e.scrollBy(t,n)},[]),x=(0,B.useMemo)(()=>s===Cx.TreeOrder?[...l].reverse():l,[s,l]);(0,B.useEffect)(()=>{if(!a||!l.length||!v)h();else{for(let e of x){if(r?.(e)===!1)continue;let n=l.indexOf(e),i=u[n];if(!i)continue;let{direction:a,speed:s}=Jb(e,i,v,t,f);for(let e of[`x`,`y`])p[e][a[e]]||(s[e]=0,a[e]=0);if(s.x>0||s.y>0){h(),y.current=e,m(b,o),g.current=s,_.current=a;return}}g.current={x:0,y:0},_.current={x:0,y:0},h()}},[t,b,r,h,a,o,JSON.stringify(v),JSON.stringify(p),m,l,x,u,JSON.stringify(f)])}var Tx={x:{[Wb.Backward]:!1,[Wb.Forward]:!1},y:{[Wb.Backward]:!1,[Wb.Forward]:!1}};function Ex(e){let{delta:t,disabled:n}=e,r=qy(t);return Gy(e=>{if(n||!r||!e)return Tx;let i={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[Wb.Backward]:e.x[Wb.Backward]||i.x===-1,[Wb.Forward]:e.x[Wb.Forward]||i.x===1},y:{[Wb.Backward]:e.y[Wb.Backward]||i.y===-1,[Wb.Forward]:e.y[Wb.Forward]||i.y===1}}},[n,t,r])}function Dx(e,t){let n=t==null?void 0:e.get(t),r=n?n.node.current:null;return Gy(e=>t==null?null:r??e??null,[r,t])}function Ox(e,t){return(0,B.useMemo)(()=>e.reduce((e,n)=>{let{sensor:r}=n,i=r.activators.map(e=>({eventName:e.eventName,handler:t(e.handler,n)}));return[...e,...i]},[]),[e,t])}var kx;(function(e){e[e.Always=0]=`Always`,e[e.BeforeDragging=1]=`BeforeDragging`,e[e.WhileDragging=2]=`WhileDragging`})(kx||={});var Ax;(function(e){e.Optimized=`optimized`})(Ax||={});var jx=new Map;function Mx(e,t){let{dragging:n,dependencies:r,config:i}=t,[a,o]=(0,B.useState)(null),{frequency:s,measure:c,strategy:l}=i,u=(0,B.useRef)(e),d=g(),f=Wy(d),p=(0,B.useCallback)(function(e){e===void 0&&(e=[]),!f.current&&o(t=>t===null?e:t.concat(e.filter(e=>!t.includes(e))))},[f]),m=(0,B.useRef)(null),h=Gy(t=>{if(d&&!n)return jx;if(!t||t===jx||u.current!==e||a!=null){let t=new Map;for(let n of e){if(!n)continue;if(a&&a.length>0&&!a.includes(n.id)&&n.rect.current){t.set(n.id,n.rect.current);continue}let e=n.node.current,r=e?new tx(c(e),e):null;n.rect.current=r,r&&t.set(n.id,r)}return t}return t},[e,a,n,d,c]);return(0,B.useEffect)(()=>{u.current=e},[e]),(0,B.useEffect)(()=>{d||p()},[n,d]),(0,B.useEffect)(()=>{a&&a.length>0&&o(null)},[JSON.stringify(a)]),(0,B.useEffect)(()=>{d||typeof s!=`number`||m.current!==null||(m.current=setTimeout(()=>{p(),m.current=null},s))},[s,d,p,...r]),{droppableRects:h,measureDroppableContainers:p,measuringScheduled:a!=null};function g(){switch(l){case kx.Always:return!1;case kx.BeforeDragging:return n;default:return!n}}}function Nx(e,t){return Gy(n=>e?n||(typeof t==`function`?t(e):e):null,[t,e])}function Px(e,t){return Nx(e,t)}function Fx(e){let{callback:t,disabled:n}=e,r=Hy(t),i=(0,B.useMemo)(()=>{if(n||typeof window>`u`||window.MutationObserver===void 0)return;let{MutationObserver:e}=window;return new e(r)},[r,n]);return(0,B.useEffect)(()=>()=>i?.disconnect(),[i]),i}function Ix(e){let{callback:t,disabled:n}=e,r=Hy(t),i=(0,B.useMemo)(()=>{if(n||typeof window>`u`||window.ResizeObserver===void 0)return;let{ResizeObserver:e}=window;return new e(r)},[n]);return(0,B.useEffect)(()=>()=>i?.disconnect(),[i]),i}function Lx(e){return new tx(Nb(e),e)}function Rx(e,t,n){t===void 0&&(t=Lx);let[r,i]=(0,B.useState)(null);function a(){i(r=>{if(!e)return null;if(e.isConnected===!1)return r??n??null;let i=t(e);return JSON.stringify(r)===JSON.stringify(i)?r:i})}let o=Fx({callback(t){if(e)for(let n of t){let{type:t,target:r}=n;if(t===`childList`&&r instanceof HTMLElement&&r.contains(e)){a();break}}}}),s=Ix({callback:a});return Vy(()=>{a(),e?(s?.observe(e),o?.observe(document.body,{childList:!0,subtree:!0})):(s?.disconnect(),o?.disconnect())},[e]),r}function zx(e){return Db(e,Nx(e))}var Bx=[];function Vx(e){let t=(0,B.useRef)(e),n=Gy(n=>e?n&&n!==Bx&&e&&t.current&&e.parentNode===t.current.parentNode?n:Rb(e):Bx,[e]);return(0,B.useEffect)(()=>{t.current=e},[e]),n}function Hx(e){let[t,n]=(0,B.useState)(null),r=(0,B.useRef)(e),i=(0,B.useCallback)(e=>{let t=Bb(e.target);t&&n(e=>e?(e.set(t,Ub(t)),new Map(e)):null)},[]);return(0,B.useEffect)(()=>{let t=r.current;if(e!==t){a(t);let o=e.map(e=>{let t=Bb(e);return t?(t.addEventListener(`scroll`,i,{passive:!0}),[t,Ub(t)]):null}).filter(e=>e!=null);n(o.length?new Map(o):null),r.current=e}return()=>{a(e),a(t)};function a(e){e.forEach(e=>{Bb(e)?.removeEventListener(`scroll`,i)})}},[i,e]),(0,B.useMemo)(()=>e.length?t?Array.from(t.values()).reduce((e,t)=>Zy(e,t),bb):Xb(e):bb,[e,t])}function Ux(e,t){t===void 0&&(t=[]);let n=(0,B.useRef)(null);return(0,B.useEffect)(()=>{n.current=null},t),(0,B.useEffect)(()=>{let t=e!==bb;t&&!n.current&&(n.current=e),!t&&n.current&&(n.current=null)},[e]),n.current?Qy(e,n.current):bb}function Wx(e){(0,B.useEffect)(()=>{if(!Ny)return;let t=e.map(e=>{let{sensor:t}=e;return t.setup==null?void 0:t.setup()});return()=>{for(let e of t)e?.()}},e.map(e=>{let{sensor:t}=e;return t}))}function Gx(e,t){return(0,B.useMemo)(()=>e.reduce((e,n)=>{let{eventName:r,handler:i}=n;return e[r]=e=>{i(e,t)},e},{}),[e,t])}function Kx(e){return(0,B.useMemo)(()=>e?Fb(e):null,[e])}var qx=[];function Jx(e,t){t===void 0&&(t=Nb);let[n]=e,r=Kx(n?Iy(n):null),[i,a]=(0,B.useState)(qx);function o(){a(()=>e.length?e.map(e=>Gb(e)?r:new tx(t(e),e)):qx)}let s=Ix({callback:o});return Vy(()=>{s?.disconnect(),o(),e.forEach(e=>s?.observe(e))},[e]),i}function Yx(e){if(!e)return null;if(e.children.length>1)return e;let t=e.children[0];return Ry(t)?t:e}function Xx(e){let{measure:t}=e,[n,r]=(0,B.useState)(null),i=Ix({callback:(0,B.useCallback)(e=>{for(let{target:n}of e)if(Ry(n)){r(e=>{let r=t(n);return e?{...e,width:r.width,height:r.height}:r});break}},[t])}),[a,o]=Ky((0,B.useCallback)(e=>{let n=Yx(e);i?.disconnect(),n&&i?.observe(n),r(n?t(n):null)},[t,i]));return(0,B.useMemo)(()=>({nodeRef:a,rect:n,setRef:o}),[n,a,o])}var Zx=[{sensor:gx,options:{}},{sensor:dx,options:{}}],Qx={current:{}},$x={draggable:{measure:Pb},droppable:{measure:Pb,strategy:kx.WhileDragging,frequency:Ax.Optimized},dragOverlay:{measure:Nb}},eS=class extends Map{get(e){return e==null?void 0:super.get(e)??void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(e=>{let{disabled:t}=e;return!t})}getNodeFor(e){return this.get(e)?.node.current??void 0}},tS={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new eS,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:_b},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:$x,measureDroppableContainers:_b,windowRect:null,measuringScheduled:!1},nS={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:``},dispatch:_b,draggableNodes:new Map,over:null,measureDroppableContainers:_b},rS=(0,B.createContext)(nS),iS=(0,B.createContext)(tS);function aS(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new eS}}}function oS(e,t){switch(t.type){case gb.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case gb.DragMove:return e.draggable.active==null?e:{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case gb.DragEnd:case gb.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case gb.RegisterDroppable:{let{element:n}=t,{id:r}=n,i=new eS(e.droppable.containers);return i.set(r,n),{...e,droppable:{...e.droppable,containers:i}}}case gb.SetDroppableDisabled:{let{id:n,key:r,disabled:i}=t,a=e.droppable.containers.get(n);if(!a||r!==a.key)return e;let o=new eS(e.droppable.containers);return o.set(n,{...a,disabled:i}),{...e,droppable:{...e.droppable,containers:o}}}case gb.UnregisterDroppable:{let{id:n,key:r}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;let a=new eS(e.droppable.containers);return a.delete(n),{...e,droppable:{...e.droppable,containers:a}}}default:return e}}function sS(e){let{disabled:t}=e,{active:n,activatorEvent:r,draggableNodes:i}=(0,B.useContext)(rS),a=qy(r),o=qy(n?.id);return(0,B.useEffect)(()=>{if(!t&&!r&&a&&o!=null){if(!eb(a)||document.activeElement===a.target)return;let e=i.get(o);if(!e)return;let{activatorNode:t,node:n}=e;if(!t.current&&!n.current)return;requestAnimationFrame(()=>{for(let e of[t.current,n.current]){if(!e)continue;let t=ab(e);if(t){t.focus();break}}})}},[r,t,i,o,a]),null}function cS(e,t){let{transform:n,...r}=t;return e!=null&&e.length?e.reduce((e,t)=>t({transform:e,...r}),n):n}function lS(e){return(0,B.useMemo)(()=>({draggable:{...$x.draggable,...e?.draggable},droppable:{...$x.droppable,...e?.droppable},dragOverlay:{...$x.dragOverlay,...e?.dragOverlay}}),[e?.draggable,e?.droppable,e?.dragOverlay])}function uS(e){let{activeNode:t,measure:n,initialRect:r,config:i=!0}=e,a=(0,B.useRef)(!1),{x:o,y:s}=typeof i==`boolean`?{x:i,y:i}:i;Vy(()=>{if(!o&&!s||!t){a.current=!1;return}if(a.current||!r)return;let e=t?.node.current;if(!e||e.isConnected===!1)return;let i=Db(n(e),r);if(o||(i.x=0),s||(i.y=0),a.current=!0,Math.abs(i.x)>0||Math.abs(i.y)>0){let t=zb(e);t&&t.scrollBy({top:i.y,left:i.x})}},[t,o,s,r,n])}var dS=(0,B.createContext)({...bb,scaleX:1,scaleY:1}),fS;(function(e){e[e.Uninitialized=0]=`Uninitialized`,e[e.Initializing=1]=`Initializing`,e[e.Initialized=2]=`Initialized`})(fS||={});var pS=(0,B.memo)(function(e){let{id:t,accessibility:n,autoScroll:r=!0,children:i,sensors:a=Zx,collisionDetection:o=Tb,measuring:s,modifiers:c,...l}=e,[u,d]=(0,B.useReducer)(oS,void 0,aS),[f,p]=fb(),[m,h]=(0,B.useState)(fS.Uninitialized),g=m===fS.Initialized,{draggable:{active:_,nodes:v,translate:y},droppable:{containers:b}}=u,x=_==null?null:v.get(_),S=(0,B.useRef)({initial:null,translated:null}),C=(0,B.useMemo)(()=>_==null?null:{id:_,data:x?.data??Qx,rect:S},[_,x]),w=(0,B.useRef)(null),[T,E]=(0,B.useState)(null),[D,O]=(0,B.useState)(null),k=Wy(l,Object.values(l)),ee=Yy(`DndDescribedBy`,t),A=(0,B.useMemo)(()=>b.getEnabled(),[b]),j=lS(s),{droppableRects:M,measureDroppableContainers:N,measuringScheduled:te}=Mx(A,{dragging:g,dependencies:[y.x,y.y],config:j.droppable}),P=Dx(v,_),ne=(0,B.useMemo)(()=>D?nb(D):null,[D]),re=je(),F=Px(P,j.draggable.measure);uS({activeNode:_==null?null:v.get(_),config:re.layoutShiftCompensation,initialRect:F,measure:j.draggable.measure});let ie=Rx(P,j.draggable.measure,F),ae=Rx(P?P.parentElement:null),I=(0,B.useRef)({activatorEvent:null,active:null,activeNode:P,collisionRect:null,collisions:null,droppableRects:M,draggableNodes:v,draggingNode:null,draggingNodeRect:null,droppableContainers:b,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),oe=b.getNodeFor(I.current.over?.id),se=Xx({measure:j.dragOverlay.measure}),ce=se.nodeRef.current??P,le=g?se.rect??ie:null,ue=!!(se.nodeRef.current&&se.rect),de=zx(ue?null:ie),fe=Kx(ce?Iy(ce):null),pe=Vx(g?oe??P:null),me=Jx(pe),L=cS(c,{transform:{x:y.x-de.x,y:y.y-de.y,scaleX:1,scaleY:1},activatorEvent:D,active:C,activeNodeRect:ie,containerNodeRect:ae,draggingNodeRect:le,over:I.current.over,overlayNodeRect:se.rect,scrollableAncestors:pe,scrollableAncestorRects:me,windowRect:fe}),he=ne?Zy(ne,y):null,ge=Hx(pe),_e=Ux(ge),ve=Ux(ge,[ie]),ye=Zy(L,_e),be=le?kb(le,L):null,xe=C&&be?o({active:C,collisionRect:be,droppableRects:M,droppableContainers:A,pointerCoordinates:he}):null,Se=Cb(xe,`id`),[Ce,we]=(0,B.useState)(null),Te=Eb(ue?L:Zy(L,ve),Ce?.rect??null,ie),Ee=(0,B.useRef)(null),De=(0,B.useCallback)((e,t)=>{let{sensor:n,options:r}=t;if(w.current==null)return;let i=v.get(w.current);if(!i)return;let a=e.nativeEvent,o=new n({active:w.current,activeNode:i,event:a,options:r,context:I,onAbort(e){if(!v.get(e))return;let{onDragAbort:t}=k.current,n={id:e};t?.(n),f({type:`onDragAbort`,event:n})},onPending(e,t,n,r){if(!v.get(e))return;let{onDragPending:i}=k.current,a={id:e,constraint:t,initialCoordinates:n,offset:r};i?.(a),f({type:`onDragPending`,event:a})},onStart(e){let t=w.current;if(t==null)return;let n=v.get(t);if(!n)return;let{onDragStart:r}=k.current,i={activatorEvent:a,active:{id:t,data:n.data,rect:S}};(0,Au.unstable_batchedUpdates)(()=>{r?.(i),h(fS.Initializing),d({type:gb.DragStart,initialCoordinates:e,active:t}),f({type:`onDragStart`,event:i}),E(Ee.current),O(a)})},onMove(e){d({type:gb.DragMove,coordinates:e})},onEnd:s(gb.DragEnd),onCancel:s(gb.DragCancel)});Ee.current=o;function s(e){return async function(){let{active:t,collisions:n,over:r,scrollAdjustedTranslate:i}=I.current,o=null;if(t&&i){let{cancelDrop:s}=k.current;o={activatorEvent:a,active:t,collisions:n,delta:i,over:r},e===gb.DragEnd&&typeof s==`function`&&await Promise.resolve(s(o))&&(e=gb.DragCancel)}w.current=null,(0,Au.unstable_batchedUpdates)(()=>{d({type:e}),h(fS.Uninitialized),we(null),E(null),O(null),Ee.current=null;let t=e===gb.DragEnd?`onDragEnd`:`onDragCancel`;if(o){let e=k.current[t];e?.(o),f({type:t,event:o})}})}}},[v]),Oe=Ox(a,(0,B.useCallback)((e,t)=>(n,r)=>{let i=n.nativeEvent,a=v.get(r);if(w.current!==null||!a||i.dndKit||i.defaultPrevented)return;let o={active:a};e(n,t.options,o)===!0&&(i.dndKit={capturedBy:t.sensor},w.current=r,De(n,t))},[v,De]));Wx(a),Vy(()=>{ie&&m===fS.Initializing&&h(fS.Initialized)},[ie,m]),(0,B.useEffect)(()=>{let{onDragMove:e}=k.current,{active:t,activatorEvent:n,collisions:r,over:i}=I.current;if(!t||!n)return;let a={active:t,activatorEvent:n,collisions:r,delta:{x:ye.x,y:ye.y},over:i};(0,Au.unstable_batchedUpdates)(()=>{e?.(a),f({type:`onDragMove`,event:a})})},[ye.x,ye.y]),(0,B.useEffect)(()=>{let{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjustedTranslate:i}=I.current;if(!e||w.current==null||!t||!i)return;let{onDragOver:a}=k.current,o=r.get(Se),s=o&&o.rect.current?{id:o.id,rect:o.rect.current,data:o.data,disabled:o.disabled}:null,c={active:e,activatorEvent:t,collisions:n,delta:{x:i.x,y:i.y},over:s};(0,Au.unstable_batchedUpdates)(()=>{we(s),a?.(c),f({type:`onDragOver`,event:c})})},[Se]),Vy(()=>{I.current={activatorEvent:D,active:C,activeNode:P,collisionRect:be,collisions:xe,droppableRects:M,draggableNodes:v,draggingNode:ce,draggingNodeRect:le,droppableContainers:b,over:Ce,scrollableAncestors:pe,scrollAdjustedTranslate:ye},S.current={initial:le,translated:be}},[C,P,xe,be,v,ce,le,M,b,Ce,pe,ye]),wx({...re,delta:y,draggingRect:be,pointerCoordinates:he,scrollableAncestors:pe,scrollableAncestorRects:me});let ke=(0,B.useMemo)(()=>({active:C,activeNode:P,activeNodeRect:ie,activatorEvent:D,collisions:xe,containerNodeRect:ae,dragOverlay:se,draggableNodes:v,droppableContainers:b,droppableRects:M,over:Ce,measureDroppableContainers:N,scrollableAncestors:pe,scrollableAncestorRects:me,measuringConfiguration:j,measuringScheduled:te,windowRect:fe}),[C,P,ie,D,xe,ae,se,v,b,M,Ce,N,pe,me,j,te,fe]),Ae=(0,B.useMemo)(()=>({activatorEvent:D,activators:Oe,active:C,activeNodeRect:ie,ariaDescribedById:{draggable:ee},dispatch:d,draggableNodes:v,over:Ce,measureDroppableContainers:N}),[D,Oe,C,ie,d,ee,v,Ce,N]);return B.createElement(ub.Provider,{value:p},B.createElement(rS.Provider,{value:Ae},B.createElement(iS.Provider,{value:ke},B.createElement(dS.Provider,{value:Te},i)),B.createElement(sS,{disabled:n?.restoreFocus===!1})),B.createElement(hb,{...n,hiddenTextDescribedById:ee}));function je(){let e=T?.autoScrollEnabled===!1,t=typeof r==`object`?r.enabled===!1:r===!1,n=g&&!e&&!t;return typeof r==`object`?{...r,enabled:n}:{enabled:n}}}),mS=(0,B.createContext)(null),hS=`button`,gS=`Draggable`;function _S(e){let{id:t,data:n,disabled:r=!1,attributes:i}=e,a=Yy(gS),{activators:o,activatorEvent:s,active:c,activeNodeRect:l,ariaDescribedById:u,draggableNodes:d,over:f}=(0,B.useContext)(rS),{role:p=hS,roleDescription:m=`draggable`,tabIndex:h=0}=i??{},g=c?.id===t,_=(0,B.useContext)(g?dS:mS),[v,y]=Ky(),[b,x]=Ky(),S=Gx(o,t),C=Wy(n);return Vy(()=>(d.set(t,{id:t,key:a,node:v,activatorNode:b,data:C}),()=>{let e=d.get(t);e&&e.key===a&&d.delete(t)}),[d,t]),{active:c,activatorEvent:s,activeNodeRect:l,attributes:(0,B.useMemo)(()=>({role:p,tabIndex:h,"aria-disabled":r,"aria-pressed":g&&p===hS?!0:void 0,"aria-roledescription":m,"aria-describedby":u.draggable}),[r,p,h,g,m,u.draggable]),isDragging:g,listeners:r?void 0:S,node:v,over:f,setNodeRef:y,setActivatorNodeRef:x,transform:_}}function vS(){return(0,B.useContext)(iS)}var yS=`Droppable`,bS={timeout:25};function xS(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:i}=e,a=Yy(yS),{active:o,dispatch:s,over:c,measureDroppableContainers:l}=(0,B.useContext)(rS),u=(0,B.useRef)({disabled:n}),d=(0,B.useRef)(!1),f=(0,B.useRef)(null),p=(0,B.useRef)(null),{disabled:m,updateMeasurementsFor:h,timeout:g}={...bS,...i},_=Wy(h??r),v=Ix({callback:(0,B.useCallback)(()=>{d.current?(p.current!=null&&clearTimeout(p.current),p.current=setTimeout(()=>{l(Array.isArray(_.current)?_.current:[_.current]),p.current=null},g)):d.current=!0},[g]),disabled:m||!o}),[y,b]=Ky((0,B.useCallback)((e,t)=>{v&&(t&&(v.unobserve(t),d.current=!1),e&&v.observe(e))},[v])),x=Wy(t);return(0,B.useEffect)(()=>{v&&y.current&&(v.disconnect(),d.current=!1,v.observe(y.current))},[y,v]),(0,B.useEffect)(()=>(s({type:gb.RegisterDroppable,element:{id:r,key:a,disabled:n,node:y,rect:f,data:x}}),()=>s({type:gb.UnregisterDroppable,key:a,id:r})),[r]),(0,B.useEffect)(()=>{n!==u.current.disabled&&(s({type:gb.SetDroppableDisabled,id:r,key:a,disabled:n}),u.current.disabled=n)},[r,a,n,s]),{active:o,rect:f,isOver:c?.id===r,node:y,over:c,setNodeRef:b}}function SS(e){let{animation:t,children:n}=e,[r,i]=(0,B.useState)(null),[a,o]=(0,B.useState)(null),s=qy(n);return!n&&!r&&s&&i(s),Vy(()=>{if(!a)return;let e=r?.key,n=r?.props.id;e==null||n==null?i(null):Promise.resolve(t(n,a)).then(()=>{i(null)})},[t,r,a]),B.createElement(B.Fragment,null,n,r?(0,B.cloneElement)(r,{ref:o}):null)}var CS={x:0,y:0,scaleX:1,scaleY:1};function wS(e){let{children:t}=e;return B.createElement(rS.Provider,{value:nS},B.createElement(dS.Provider,{value:CS},t))}var TS={position:`fixed`,touchAction:`none`},ES=e=>eb(e)?`transform 250ms ease`:void 0,DS=(0,B.forwardRef)((e,t)=>{let{as:n,activatorEvent:r,adjustScale:i,children:a,className:o,rect:s,style:c,transform:l,transition:u=ES}=e;if(!s)return null;let d=i?l:{...l,scaleX:1,scaleY:1},f={...TS,width:s.width,height:s.height,top:s.top,left:s.left,transform:rb.Transform.toString(d),transformOrigin:i&&r?xb(r,s):void 0,transition:typeof u==`function`?u(r):u,...c};return B.createElement(n,{className:o,style:f,ref:t},a)}),OS={duration:250,easing:`ease`,keyframes:e=>{let{transform:{initial:t,final:n}}=e;return[{transform:rb.Transform.toString(t)},{transform:rb.Transform.toString(n)}]},sideEffects:(e=>t=>{let{active:n,dragOverlay:r}=t,i={},{styles:a,className:o}=e;if(a!=null&&a.active)for(let[e,t]of Object.entries(a.active))t!==void 0&&(i[e]=n.node.style.getPropertyValue(e),n.node.style.setProperty(e,t));if(a!=null&&a.dragOverlay)for(let[e,t]of Object.entries(a.dragOverlay))t!==void 0&&r.node.style.setProperty(e,t);return o!=null&&o.active&&n.node.classList.add(o.active),o!=null&&o.dragOverlay&&r.node.classList.add(o.dragOverlay),function(){for(let[e,t]of Object.entries(i))n.node.style.setProperty(e,t);o!=null&&o.active&&n.node.classList.remove(o.active)}})({styles:{active:{opacity:`0`}}})};function kS(e){let{config:t,draggableNodes:n,droppableContainers:r,measuringConfiguration:i}=e;return Hy((e,a)=>{if(t===null)return;let o=n.get(e);if(!o)return;let s=o.node.current;if(!s)return;let c=Yx(a);if(!c)return;let{transform:l}=Iy(a).getComputedStyle(a),u=Ab(l);if(!u)return;let d=typeof t==`function`?t:AS(t);return $b(s,i.draggable.measure),d({active:{id:e,data:o.data,node:s,rect:i.draggable.measure(s)},draggableNodes:n,dragOverlay:{node:a,rect:i.dragOverlay.measure(c)},droppableContainers:r,measuringConfiguration:i,transform:u})})}function AS(e){let{duration:t,easing:n,sideEffects:r,keyframes:i}={...OS,...e};return e=>{let{active:a,dragOverlay:o,transform:s,...c}=e;if(!t)return;let l={x:o.rect.left-a.rect.left,y:o.rect.top-a.rect.top},u={scaleX:s.scaleX===1?1:a.rect.width*s.scaleX/o.rect.width,scaleY:s.scaleY===1?1:a.rect.height*s.scaleY/o.rect.height},d={x:s.x-l.x,y:s.y-l.y,...u},f=i({...c,active:a,dragOverlay:o,transform:{initial:s,final:d}}),[p]=f,m=f[f.length-1];if(JSON.stringify(p)===JSON.stringify(m))return;let h=r?.({active:a,dragOverlay:o,...c}),g=o.node.animate(f,{duration:t,easing:n,fill:`forwards`});return new Promise(e=>{g.onfinish=()=>{h?.(),e()}})}}var jS=0;function MS(e){return(0,B.useMemo)(()=>{if(e!=null)return jS++,jS},[e])}var NS=B.memo(e=>{let{adjustScale:t=!1,children:n,dropAnimation:r,style:i,transition:a,modifiers:o,wrapperElement:s=`div`,className:c,zIndex:l=999}=e,{activatorEvent:u,active:d,activeNodeRect:f,containerNodeRect:p,draggableNodes:m,droppableContainers:h,dragOverlay:g,over:_,measuringConfiguration:v,scrollableAncestors:y,scrollableAncestorRects:b,windowRect:x}=vS(),S=(0,B.useContext)(dS),C=MS(d?.id),w=cS(o,{activatorEvent:u,active:d,activeNodeRect:f,containerNodeRect:p,draggingNodeRect:g.rect,over:_,overlayNodeRect:g.rect,scrollableAncestors:y,scrollableAncestorRects:b,transform:S,windowRect:x}),T=Nx(f),E=kS({config:r,draggableNodes:m,droppableContainers:h,measuringConfiguration:v}),D=T?g.setRef:void 0;return B.createElement(wS,null,B.createElement(SS,{animation:E},d&&C?B.createElement(DS,{key:C,id:d.id,ref:D,as:s,activatorEvent:u,adjustScale:t,className:c,transition:a,rect:T,style:{zIndex:l,...i},transform:w},n):null))});function PS(e,t,n){let r={...e};return t.top+e.y<=n.top?r.y=n.top-t.top:t.bottom+e.y>=n.top+n.height&&(r.y=n.top+n.height-t.bottom),t.left+e.x<=n.left?r.x=n.left-t.left:t.right+e.x>=n.left+n.width&&(r.x=n.left+n.width-t.right),r}var FS=e=>{let{transform:t,draggingNodeRect:n,windowRect:r}=e;return!n||!r?t:PS(t,n,r)},IS=`height ease-in 300ms, opacity ease-in 300ms`,LS=J(`div`)(()=>({position:`relative`,height:0,overflow:`hidden`,display:`flex`,visibility:`hidden`,width:0,"&.enter":{transition:IS,opacity:1,height:`auto`,width:`auto`,visibility:`visible`,minHeight:`25px`},"&.enter-done":{height:`auto`,visibility:`visible`,width:`auto`,minHeight:`25px`},"&.exit":{transition:IS,opacity:0,height:0,visibility:`visible`,width:0},"&.exit-done":{opacity:0,visibility:`hidden`,height:0,width:0}})),RS=e=>{let{show:t,children:n,className:r}=e,i=(0,B.useRef)(null);return(0,V.jsx)(Bu,{nodeRef:i,in:t,appear:!0,mountOnEnter:!1,timeout:300,classNames:{enter:`enter`,enterDone:`enter-done`,exit:`exit`,exitDone:`exit-done`},children:(0,V.jsx)(LS,{ref:i,className:r,children:n})})};RS.propTypes={show:z.bool.isRequired,className:z.string,children:z.oneOfType([z.arrayOf(z.node),z.node]).isRequired};var zS=l_({packageName:`@pie-lib/correct-answer-toggle`,source:{showCorrectAnswer:`Show correct answer`,hideCorrectAnswer:`Hide correct answer`},loaders:{}});function BS(e){return typeof e==`function`||typeof e==`object`&&!!e&&typeof e.$$typeof==`symbol`}function VS(e,t){return!e||BS(e)?e:BS(e.default)?e.default:t&&BS(e[t])?e[t]:t&&BS(e[t]?.default)?e[t].default:e}var HS=Ay,US=HS.default,WS=US&&typeof US==`object`?US:HS,GS=VS(ey,`Readable`)||VS(WS.Readable,`Readable`),KS={WebkitTouchCallout:`none`,WebkitUserSelect:`none`,KhtmlUserSelect:`none`,MozUserSelect:`none`,msUserSelect:`none`,userSelect:`none`},qS=J(`div`)(()=>({width:`100%`,cursor:`pointer`})),JS=J(`button`)(()=>({margin:`0 auto`,textAlign:`center`,display:`flex`,minWidth:`24px`,minHeight:`24px`,padding:0,border:0,background:`none`,color:`inherit`,font:`inherit`,cursor:`pointer`,"&:focus-visible":{outline:`2px solid ${ig()}`,outlineOffset:`-2px`}})),YS=J(`div`)(()=>({width:`fit-content`,minWidth:`140px`,alignSelf:`center`,verticalAlign:`middle`,color:`var(--correct-answer-toggle-label-color, ${hh()})`,fontWeight:`normal`,...KS})),XS=J(`div`)(()=>({position:`absolute`,width:`25px`,"&.enter":{opacity:`0`},"&.enter-active":{opacity:`1`,transition:`opacity 0.3s ease-in`},"&.exit":{opacity:`1`},"&.exit-active":{opacity:`0`,transition:`opacity 0.3s ease-in`}})),ZS=J(`div`)(()=>({width:`25px`,marginRight:`5px`,display:`flex`,alignItems:`center`})),QS=class extends B.Component{static propTypes={onToggle:z.func,toggled:z.bool,show:z.bool,hideMessage:z.string,showMessage:z.string,className:z.string,language:z.string};static defaultProps={show:!1,toggled:!1};constructor(e){super(e),this.state={show:e.show},this.openIconRef=B.createRef(),this.closedIconRef=B.createRef()}relabel=()=>this.forceUpdate();onClick(){this.props.onToggle(!this.props.toggled)}onTouch(e){e.preventDefault(),this.props.onToggle(!this.props.toggled)}UNSAFE_componentWillReceiveProps(e){this.setState({show:e.show})}render(){let{className:e,toggled:t,language:n}=this.props,r=zS.forLocale(n,this.relabel),i=this.props.hideMessage??r.t(`hideCorrectAnswer`),a=this.props.showMessage??r.t(`showCorrectAnswer`),o=d_(n);return(0,V.jsx)(qS,{className:e,...o,children:(0,V.jsx)(RS,{show:this.state.show,children:(0,V.jsxs)(JS,{type:`button`,"aria-pressed":!!t,onClick:this.onClick.bind(this),onTouchEnd:this.onTouch.bind(this),children:[(0,V.jsxs)(ZS,{children:[(0,V.jsx)(Bu,{nodeRef:this.openIconRef,timeout:400,in:t,exit:!t,classNames:{enter:`enter`,enterActive:`enter-active`,exit:`exit`,exitActive:`exit-active`},children:(0,V.jsx)(XS,{ref:this.openIconRef,children:(0,V.jsx)(ql,{open:t},`correct-open`)})}),(0,V.jsx)(Bu,{nodeRef:this.closedIconRef,timeout:5e3,in:!t,exit:t,classNames:{enter:`enter`,enterActive:`enter-active`,exit:`exit`,exitActive:`exit-active`},children:(0,V.jsx)(XS,{ref:this.closedIconRef,children:(0,V.jsx)(ql,{open:t},`correct-closed`)})})]}),(0,V.jsx)(GS,{false:!0,children:(0,V.jsx)(YS,{"aria-hidden":!this.state.show,children:t?i:a})})]})})})}},$S=1,eC=2,tC=4,nC=9007199254740991,rC=`[object Arguments]`,iC=`[object Array]`,aC=`[object ArrayBuffer]`,oC=`[object AsyncFunction]`,sC=`[object Boolean]`,cC=`[object DataView]`,lC=`[object Date]`,uC=`[object Function]`,dC=`[object GeneratorFunction]`,fC=`[object Map]`,pC=`[object Number]`,mC=`[object Object]`,hC=`[object Proxy]`,gC=`[object RegExp]`,_C=`[object Set]`,vC=`[object String]`,yC=`[object Symbol]`,bC=new Set([`Float32`,`Float64`,`Int8`,`Int16`,`Int32`,`Uint8`,`Uint8Clamped`,`Uint16`,`Uint32`].map(e=>`[object ${e}Array]`)),xC=new Set([rC,iC,aC,sC,cC,lC,fC,pC,mC,gC,_C,vC,yC,...bC]),SC=/\w*$/,CC=/^(?:0|[1-9]\d*)$/,wC=Object.prototype,TC=wC.hasOwnProperty,EC=wC.toString,DC=wC.propertyIsEnumerable;Function.prototype.toString.call(Object),Symbol.prototype.toString;var OC=Symbol.prototype.valueOf;function kC(e){return typeof e==`object`&&!!e}function AC(e,t){return e===t||e!==e&&t!==t}function jC(e){let t=TC.call(e,Symbol.toStringTag),n=e[Symbol.toStringTag],r=!1;try{e[Symbol.toStringTag]=void 0,r=!0}catch{}let i=EC.call(e);return r&&(t?e[Symbol.toStringTag]=n:delete e[Symbol.toStringTag]),i}function MC(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Symbol.toStringTag in Object(e)?jC(e):EC.call(e)}function NC(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=nC}function PC(e,t){let n=typeof e,r=t??nC;return!!r&&(n==`number`||n!=`symbol`&&CC.test(e))&&e>-1&&e%1==0&&e<r}function FC(e){return e!=null&&NC(e.length)&&!gw(e)}function IC(e){return kC(e)&&MC(e)==rC}function LC(e){return kC(e)&&NC(e.length)&&bC.has(MC(e))}function RC(e){return kC(e)&&MC(e)==fC}function zC(e){return kC(e)&&MC(e)==_C}function BC(e){let t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||wC)}function VC(e,t){let n=-1,r=e==null?0:e.length;for(;++n<r&&t(e[n],n,e)!==!1;);return e}function HC(e,t){let n=-1,{length:r}=t,i=e.length;for(;++n<r;)e[i+n]=t[n];return e}function UC(e,t){let n=-1,r=Array(e);for(;++n<e;)r[n]=t(n);return r}function WC(e,t){let n=-1,{length:r}=e,i=t||Array(r);for(;++n<r;)i[n]=e[n];return i}function GC(e,t){let n=Array.isArray(e),r=!n&&IC(e),i=!n&&!r&&LC(e),a=n||r||i,o=a?UC(e.length,String):[],{length:s}=o;for(let n in e)(t||TC.call(e,n))&&!(a&&(n==`length`||i&&(n==`buffer`||n==`byteLength`||n==`byteOffset`)||PC(n,s)))&&o.push(n);return o}function KC(e){if(!BC(e))return Object.keys(Object(e));let t=[];for(let n in Object(e))TC.call(e,n)&&n!=`constructor`&&t.push(n);return t}function qC(e){let t=[];if(e!=null)for(let n in Object(e))t.push(n);return t}function JC(e){if(!_w(e))return qC(e);let t=BC(e),n=[];for(let r in e)(r!=`constructor`||!t&&TC.call(e,r))&&n.push(r);return n}function YC(e){return FC(e)?GC(e,!1):KC(e)}function XC(e){return FC(e)?GC(e,!0):JC(e)}function ZC(e){if(e==null)return[];let t=Object(e);return Object.getOwnPropertySymbols(t).filter(e=>DC.call(t,e))}function QC(e){let t=[],n=e;for(;n;)HC(t,ZC(n)),n=Object.getPrototypeOf(Object(n));return t}function $C(e){let t=YC(e);return Array.isArray(e)?t:HC(t,ZC(e))}function ew(e){let t=XC(e);return Array.isArray(e)?t:HC(t,QC(e))}function tw(e,t,n){t==`__proto__`?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function nw(e,t,n){let r=e[t];(!(TC.call(e,t)&&AC(r,n))||n===void 0&&!(t in e))&&tw(e,t,n)}function rw(e,t,n){let r=!n,i=n||{},a=-1,{length:o}=t;for(;++a<o;){let n=t[a];r?tw(i,n,e[n]):nw(i,n,e[n])}return i}function iw(e,t){return e&&rw(t,YC(t),e)}function aw(e,t){return e&&rw(t,XC(t),e)}function ow(e,t){return rw(e,ZC(e),t)}function sw(e,t){return rw(e,QC(e),t)}function cw(e){return _w(e)?Object.create(e):{}}function lw(e){let{length:t}=e,n=new e.constructor(t);return t&&typeof e[0]==`string`&&TC.call(e,`index`)&&(n.index=e.index,n.input=e.input),n}function uw(e){return typeof e.constructor==`function`&&!BC(e)?cw(Object.getPrototypeOf(Object(e))):{}}function dw(e){let t=new e.constructor(e.byteLength);return new Uint8Array(t).set(new Uint8Array(e)),t}function fw(e,t){let n=t?dw(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function pw(e,t,n){let r=e.constructor;switch(t){case aC:return dw(e);case sC:case lC:return new r(+e);case cC:return new r(n?dw(e.buffer):e.buffer,e.byteOffset,e.byteLength);case fC:case _C:return new r;case pC:case vC:return new r(e);case gC:{let t=new r(e.source,SC.exec(e));return t.lastIndex=e.lastIndex,t}case yC:return Object(OC.call(e))}return bC.has(t)?fw(e,n):void 0}function mw(e,t,n,r,i,a){let o,s=!!(t&$S),c=!!(t&eC),l=!!(t&tC);if(n&&(o=i?n(e,r,i,a):n(e)),o!==void 0)return o;if(!_w(e))return e;let u=Array.isArray(e);if(u){if(o=lw(e),!s)return WC(e,o)}else{let t=MC(e),n=t==uC||t==dC;if(t==mC||t==rC||n&&!i){if(o=c||n?{}:uw(e),!s)return c?sw(e,aw(o,e)):ow(e,iw(o,e))}else{if(!xC.has(t))return i?e:{};o=pw(e,t,s)}}let d=a||new Map,f=d.get(e);if(f)return f;d.set(e,o),zC(e)?e.forEach(r=>{o.add(mw(r,t,n,r,e,d))}):RC(e)&&e.forEach((r,i)=>{o.set(i,mw(r,t,n,i,e,d))});let p=u?void 0:(l?c?ew:$C:c?XC:YC)(e);return VC(p||e,(r,i)=>{let a=i,s=r;p&&(a=r,s=e[a]),nw(o,a,mw(s,t,n,a,e,d))}),o}function hw(e){return mw(e,tC)}function gw(e){if(!_w(e))return!1;let t=MC(e);return t==uC||t==dC||t==oC||t==hC}function _w(e){let t=typeof e;return e!=null&&(t==`object`||t==`function`)}var vw=kg(`@pie-lib:categorize`),yw=(e,t)=>!e||!e.id||!Array.isArray(t)?0:t.reduce((t,n)=>t+(n.choices||[]).filter(t=>t&&t.id===e.id).length,0),bw=(e,t,n,r)=>(vw(`[removeChoiceFromCategory] choiceIndex:`,n),r.map(r=>{if(r.category===t){let t=hw(r.choices),i=t.findIndex((t,r)=>t===e&&r>=n);return i!==-1&&t.splice(i,1),{...r,choices:t}}return r})),xw=(e,t,n,r,i)=>(vw(`[moveChoiceToCategory] choice: `,e,`from: `,t,`to: `,n,`answers: `,i),t===n?i:(t&&(i=bw(e,t,r,i)),i.findIndex(e=>e.category===n)===-1?(i.push({category:n,choices:[e]}),i):i.map(t=>(t.category===n&&(t.choices=t.choices||[],t.choices.push(e)),t)))),Sw=(e,t)=>e.categoryCount>0?yw(e,t)<e.categoryCount:!0,Cw=(e,t)=>t.reduce((e,t)=>{let n=e.copyOfPossibleResponse.findIndex(e=>t&&e===t.id);return n>=0?(e.builtChoices.push({...t,correct:!0}),e.copyOfPossibleResponse=[...e.copyOfPossibleResponse.slice(0,n),...e.copyOfPossibleResponse.slice(n+1)]):(e.builtChoices.push({...t,correct:!1}),e.allChoicesAreCorrect=!1),e},{builtChoices:[],copyOfPossibleResponse:[...e],allChoicesAreCorrect:!0}),ww=(e,t)=>t.reduce((t,n)=>{let r=e[n.id]||[],i=n.choices||[],{builtChoices:a,allChoicesAreCorrect:o}=Cw(r,i),s=i.length===r.length;return t.builtCategories.push({...n,correct:o&&s,choices:a}),t.correct=t.correct&&o&&s,t},{builtCategories:[],correct:!0}),Tw=e=>e?e.reduce((e,t)=>(e[0]?e[0][t.category]=t.choices:e.push({[t.category]:t.choices}),t.alternateResponses&&t.alternateResponses.forEach((n,r)=>{e[r+1]?e[r+1][t.category]=n:e.push({[t.category]:n})}),e),[]):[],Ew=(e,t,n)=>(e||=[],n||=[],t||=[],e.map(e=>{let{choices:r=[]}=n.find(t=>t.category===e.id)||{};return{...e,choices:r.map(e=>t.find(t=>t.id===e))}})),Dw=(e,t,n,r)=>{e||=[],t||=[],n||=[];let i=Tw(r)||[],a=Ew(e,t,n),o,s;if(i.length){let e=i.reduce((e,t)=>{let{builtCategories:n,correct:r}=ww(t,a);return e.bestResponse===null||!e.entirelyCorrect&&r?{bestResponse:t,builtCategories:n,entirelyCorrect:r}:e},{bestResponse:null,builtCategories:[],entirelyCorrect:!1});a=e.builtCategories,o=e.bestResponse,s=e.entirelyCorrect}return{choices:t.map(e=>Sw(e,a)?e:{empty:!0}),categories:a,correct:s,bestResponse:o}},Ow=mh(`pie`)(`background`,Z.WHITE),kw=J(`div`)(({theme:e})=>({"&.placeholder":{WebkitTouchCallout:`none`,WebkitUserSelect:`none`,KhtmlUserSelect:`none`,MozUserSelect:`none`,MsUserSelect:`none`,userSelect:`none`,width:`100%`,height:`100%`,background:Ow,transition:`background-color 200ms linear, border-color 200ms linear`,boxSizing:`border-box`,display:`grid`,gridRowGap:e.spacing(1),gridColumnGap:e.spacing(1),padding:e.spacing(1),border:`2px dashed ${Kh()}`},"&.placeholderDisabled":{boxShadow:`none`,background:Ow},"&.over":{border:`1px solid ${Wh()}`,backgroundColor:Rh()},"&.board":{padding:e.spacing(1),display:`flex`,flexWrap:`wrap`,alignItems:`center`,minHeight:`100px`,justifyContent:`center`,overflow:`hidden`,touchAction:`none`,backgroundColor:Vh()},"&.categorizeBoard":{padding:e.spacing(.5),display:`flex`,flexWrap:`wrap`,alignItems:`center`,minHeight:`100px`,justifyContent:`center`,overflow:`hidden`,touchAction:`none`,backgroundColor:Vh()},"&.verticalPool":{display:`flex`,flexFlow:`column wrap`}})),Aw=e=>{let{children:t,className:n,isOver:r,type:i,grid:a,disabled:o,choiceBoard:s,isCategorize:c,isVerticalPool:l,minHeight:u,extraStyles:d}=e,f=U(`placeholder`,o&&`placeholderDisabled`,r&&`over`,i,n),p={};if(a&&a.columns&&(p.gridTemplateColumns=`repeat(${a.columns}, 1fr)`),a&&a.rows){let e=a.rowsRepeatValue||`1fr`;p.gridTemplateRows=`repeat(${a.rows}, ${e})`}i===`choice`&&!r&&(p.border=`1px solid ${Kh()}`,p.background=Vh());let m=c?`categorizeBoard`:`board`;return(0,V.jsx)(kw,{style:{...p,minHeight:u,...d},className:U(s?m:f,l&&`verticalPool`),children:t})};Aw.propTypes={choiceBoard:z.bool,grid:z.shape({columns:z.number,rows:z.number,rowsRepeatValue:z.string}),children:z.oneOfType([z.arrayOf(z.node),z.node]).isRequired,className:z.string,isOver:z.bool,index:z.number,type:z.string,disabled:z.bool,isCategorize:z.bool,isVerticalPool:z.bool,minHeight:z.number};function jw({children:e,onDragEnd:t,onDragStart:n,onDragCancel:r,collisionDetection:i,modifiers:a,autoScroll:o,keyboardCoordinateGetter:s,keyboardCodes:c,accessibility:l}){let[u,d]=(0,B.useState)(null),f=m_(`drag-instructions`),p=s||c?{coordinateGetter:s,keyboardCodes:c}:void 0,m=yb(vb(gx,{activationConstraint:{distance:8}}),vb(dx,p));return(0,V.jsx)(pS,{id:f,sensors:m,onDragStart:e=>{d(e.active.id),n&&n(e)},onDragEnd:e=>{d(null),t&&t(e)},onDragCancel:e=>{d(null),r&&r(e)},collisionDetection:i,modifiers:a,autoScroll:o,accessibility:l,children:e})}jw.propTypes={children:z.node.isRequired,onDragEnd:z.func,onDragStart:z.func,onDragCancel:z.func,collisionDetection:z.func,modifiers:z.arrayOf(z.func),autoScroll:z.object,keyboardCoordinateGetter:z.func,keyboardCodes:z.shape({start:z.arrayOf(z.string),cancel:z.arrayOf(z.string),end:z.arrayOf(z.string)}),accessibility:z.object};var{Consumer:Mw,Provider:Nw}=B.createContext(-1),Pw=()=>(Math.random()*1000001).toFixed(0),Fw=e=>t=>(0,V.jsx)(Mw,{children:n=>(0,V.jsx)(e,{...t,uid:n})}),Iw=(e,t,n)=>({...e,left:e.left+t,right:e.right+t,top:e.top+n,bottom:e.bottom+n}),Lw=(e,t)=>{let n=new Map;return e.forEach((e,r)=>{let i=Math.max(e.left,t.left),a=Math.max(e.top,t.top),o=Math.min(e.right,t.right),s=Math.min(e.bottom,t.bottom);i<o&&a<s&&n.set(r,{left:i,top:a,right:o,bottom:s,width:o-i,height:s-a})}),n};function Rw({detect:e=Tb,modifiers:t}={}){let n=null,r={x:0,y:0},i=null;return{collisionDetection:a=>(n=a.pointerCoordinates,e(!t||!n?a:{...a,collisionRect:Iw(a.collisionRect,-r.x,-r.y),droppableRects:i?Lw(a.droppableRects,i):a.droppableRects})),...t&&{modifiers:[e=>{let n=cS(t,e);return r={x:n.x-e.transform.x,y:n.y-e.transform.y},i=e.scrollableAncestorRects[0]??null,n}]},lastPointer:()=>n,reset:()=>{n=null}}}var zw={translation:{categorize:{limitMaxChoicesPerCategory:`You've reached the limit of {{maxChoicesPerCategory}} responses per area. To add another response, one must first be removed.`,maxChoicesPerCategoryRestriction:`To change this value to {{maxChoicesPerCategory}}, each category must have {{maxChoicesPerCategory}} or fewer answer choice[s].`},dragInTheBlank:{blank:`Blank {{index}}`},ebsr:{part:`Part {{index}}`,twoPartQuestion:`Two-Part Question`},editableHtml:{responseAreaToolbar:`Response area`,toolbar:`Editing tools`,buttons:{insertTable:`Insert table`,addTableRow:`Add table row`,removeTableRow:`Remove table row`,addTableColumn:`Add table column`,removeTableColumn:`Remove table column`,removeTable:`Remove table`,tableBorders:`Table borders`,bold:`Bold`,italic:`Italic`,strikethrough:`Strikethrough`,code:`Code`,underline:`Underline`,subscript:`Subscript`,superscript:`Superscript`,insertImage:`Insert image`,insertVideo:`Insert video`,insertAudio:`Insert audio`,cssClasses:`CSS classes`,blockquote:`Blockquote`,heading:`Heading`,insertMath:`Insert math`,spanishCharacters:`Spanish characters (ñ)`,specialCharacters:`Special characters (€)`,textAlignment:`Text alignment`,bulletedList:`Bulleted list`,numberedList:`Numbered list`,done:`Done`}},explicitConstructedResponse:{fillInTheBlankQuestion:`Fill in the Blank Question`,response:`Response {{index}} of {{total}}`},extendedTextEntry:{comment:`Comment`,constructedResponseQuestion:`Constructed Response Question`,response:`Your response`,writtenResponseQuestion:`Written Response Question`},fractionModel:{modelLabel_one:`Model {{index}} of {{total}}: {{selected}} of {{count}} part selected`,modelLabel_other:`Model {{index}} of {{total}}: {{selected}} of {{count}} parts selected`},numberLine:{addElementLimit_one:`You can only add {{count}} element`,addElementLimit_other:`You can only add {{count}} elements`,clearAll:`Clear all`,closedEnd:`closed`,elementCorrect:`Correct.`,elementIncorrect:`Incorrect.`,graphLabel:`Number line from {{min}} to {{max}}, with a tick every {{interval}}`,line:`Line from {{left}} ({{leftEnd}}) to {{right}} ({{rightEnd}}).`,openEnd:`open`,plottedNone:`Nothing is plotted.`,pointClosed:`Closed point at {{position}}.`,pointOpen:`Open point at {{position}}.`,rayLeft:`Ray from {{position}} ({{end}}) to the left.`,rayRight:`Ray from {{position}} ({{end}}) to the right.`},hotspot:{correctlySelected:`Correctly selected`,image_one:`Image with {{count}} hotspot`,image_other:`Image with {{count}} hotspots`,shape:`Hotspot {{index}} of {{total}}`,shouldHaveBeenSelected:`Should have been selected`,shouldNotHaveBeenSelected:`Should not have been selected`},imageClozeAssociation:{answerChoice:`Answer choice {{index}} of {{total}}`,image_one:`Image with {{count}} response area`,image_other:`Image with {{count}} response areas`,reachedLimit_one:`You’ve reached the limit of {{count}} response per area. To add another response, one must first be removed.`,reachedLimit_other:`Full`,responseArea:`Response area {{index}} of {{total}}`},inlineDropdown:{inlineDropdownQuestion:`Inline Dropdown Question`,query:`Query`,queryNumber:`Query {{index}}`,showRationaleForChoices:`Show Rationale for choices`,hideRationaleForChoices:`Hide Rationale for choices`},drawingResponse:{fillColor:`Fill color`,outlineColor:`Outline color`,noFill:`No fill`,lightblue:`Light blue`,lightyellow:`Light yellow`,red:`Red`,orange:`Orange`,yellow:`Yellow`,violet:`Violet`,blue:`Blue`,green:`Green`,white:`White`,black:`Black`,onDoubleClick:`Double click to edit this text. Press Enter to submit.`,drawingArea:`Drawing area`,drawingAreaOverImage:`Drawing area over a background image`,tools:{select:`Select`,freeDraw:`Free Draw`,line:`Line`,rectangle:`Rectangle`,circle:`Circle`,textEntry:`Text Entry`,eraser:`Eraser`}},charting:{addCategory:`Add category`,actions:`Actions`,add:`Add`,delete:`Delete`,newLabel:`New label`,categoryLabel:`Category {{index}} label`,categoryLabelValue:`Category {{index}} label: {{label}}`,category:`Category {{index}}`,reachedLimit_other:`There can't be more than {{count}} categories.`,keyLegend:{incorrectAnswer:`Student incorrect answer`,correctAnswer:`Student correct answer`,correctKeyAnswer:`Answer key correct`},chartTypes:{bar:`Bar chart`,histogram:`Histogram`,lineDot:`Line chart with dots`,lineCross:`Line chart with crosses`,dotPlot:`Dot plot`,linePlot:`Line plot`},categories_zero:`No categories.`,categories_one:`{{count}} category: {{categories}}.`,categories_other:`{{count}} categories: {{categories}}.`,valueRange:`Values from {{min}} to {{max}}.`,labelledValueRange:`{{label}} from {{min}} to {{max}}.`},graphing:{graph:`Coordinate graph`,axisRange:`{{axis}} axis from {{min}} to {{max}}.`,plotted_zero:`Nothing plotted.`,plotted_one:`{{count}} object plotted: {{marks}}.`,plotted_other:`{{count}} objects plotted: {{marks}}.`,shadedRegion:`Shaded region`,point:`Point`,circle:`Circle`,line:`Line`,parabola:`Parabola`,absolute:`Absolute Value`,exponential:`Exponential`,polygon:`Polygon`,ray:`Ray`,segment:`Segment`,sine:`Sine`,vector:`Vector`,label:`Label`,markLabel:`Label at ({{x}}, {{y}})`,correctMarkLabel:`Correct label at ({{x}}, {{y}})`,redo:`Redo`,reset:`Reset`,keyLegend:{missingRequiredLabel:`Missing Required Label`,answerKeyCorrect:`Answer Key Correct`,answerKeyCorrectLabel:`Answer Key Correct Label`,studentIncorrect:`Student Incorrect`,incorrectStudentLabel:`Incorrect Student Label`,studentCorrect:`Student Correct`,studentCorrectLabel:`Student Correct Label`}},mathInline:{keypadInstructions:`This field supports both keypad and keyboard input. Use the keyboard to access and interact with the on-screen math keypad, which accepts LaTeX markup. Use the down arrow key to open the keypad and navigate its buttons. Use the escape key to close the keypad and return to the input field.`,mathEquationResponseQuestion:`Math Equation Response Question`,mathResponseQuestion:`Math Response Question`,primaryCorrectWithAlternates:`Note: The answer shown above is the primary correct answer specified by the author for this item, but other answers may also be recognized as correct.`},mathInput:{enterAnswer:`Enter answer`},mcPopulatedBlank:{answerChoices:`Answer choices`,blankLabel:`blank`,emptyBlank:`(blank)`,blankPreSelectionHint:`The answer you choose will appear on the blank line above.`,correctAnswerSelected:`Correct answer selected`,incorrectAnswerSelected:`Incorrect answer selected`,selectedAnswerImage:`Selected answer image`,choiceImage:`Choice {{id}}`,clickToEnableAutoplay:`Click to enable audio autoplay`,audioResourceUnavailable:`Audio is enabled but no playable audio URL is configured.`,listen:`Listen`,listenSilentAlt:`Repeat instructions`,listenPlayingAlt:`Instructions are playing`,printAudio:`Audio:`,printTranscript:`Transcript:`},multipleChoice:{minSelections:`Select at least {{minSelections}}.`,maxSelections_one:`Only {{maxSelections}} answer is allowed.`,maxSelections_other:`Only {{maxSelections}} answers are allowed.`,minmaxSelections_equal:`Select {{minSelections}}.`,minmaxSelections_range:`Select between {{minSelections}} and {{maxSelections}}.`,multipleChoiceQuestion:`Multiple Choice Question`,multipleCorrectAnswerQuestion:`Multiple Correct Answer Question`,multipleSelectQuestion:`Multiple Select Question`},rubric:{rubric:`Rubric`,showRubric:`Show Rubric`,hideRubric:`Hide Rubric`},selectText:{correctAnswerSelected:`Correct`,correctAnswerNotSelected:`Correct Answer Not Selected`,incorrectSelection:`Incorrect Selection`,key:`Key`,textGroup:`Selectable text`,textGroupWithLimit:`Selectable text, select up to {{max}}`,tokenPosition:`{{index}} of {{total}}`},simpleCloze:{correctAnswerShown:`Correct answer`,correct:`Correct`,incorrect:`Incorrect`,unanswered:`No answer`,placeholder:`Enter your answer...`,answerInput:`Your answer`,printCorrectAnswer:`Correct answer:`,printAnswerBlank:`Answer blank`},vennClassification:{tray:`Tiles to classify`,unknownTarget:`unknown`,cancelled:`Cancelled`,returnedToTray:`{{name}} returned to tray`,placedIn:`{{name}} placed in {{target}}`,pickedUp:`Picked up {{name}}`,pickedUpWithKeyboard:`Picked up {{name}}, drop target: {{target}}. Use arrow keys to choose a drop target, Enter to drop, Escape to cancel.`,dropTarget:`Drop target: {{target}}`,unsupportedCircles_one:`This diagram cannot be shown: it has {{count}} circle, and only {{supported}} are supported.`,unsupportedCircles_other:`This diagram cannot be shown: it has {{count}} circles, and only {{supported}} are supported.`,setNumber:`Set {{number}}`,regionOnly:`{{set}} only`,regionNeither:`Neither {{first}} nor {{second}}`,regionNoneOf:`None of {{sets}}`,regionAndSeparator:` and `,tileFallbackName:`Tile`,tileNotPlaced:`not placed`,tileInRegion:`in {{region}}`,tileCorrect:`correct`,tileIncorrect:`incorrect`}},common:{undo:`Undo`,clearAll:`Clear all`,correct:`Correct`,incorrect:`Incorrect`,showCorrectAnswer:`Show correct answer`,hideCorrectAnswer:`Hide correct answer`,showTeacherInstructions:`Show Teacher Instructions`,hideTeacherInstructions:`Hide Teacher Instructions`,show:`Show`,hide:`Hide`,showRationale:`Show Rationale`,hideRationale:`Hide Rationale`,commonCorrectAnswerWithAlternates:`Note: The answer shown above is the most common correct answer for this item. One or more additional correct answers are also defined, and will also be recognized as correct.`,warning:`Warning`,showNote:`Show Note`,hideNote:`Hide Note`,cancel:`Cancel`,playAudio:`Play audio`}},Bw={translation:{categorize:{limitMaxChoicesPerCategory:`Has alcanzado el límite de {{maxChoicesPerCategory}} respuestas por área. Para agregar otra respuesta, primero se debe eliminar una respuesta.`,maxChoicesPerCategoryRestriction:`Para cambiar este valor a {{maxChoicesPerCategory}}, cada categoría debe tener {{maxChoicesPerCategory}} o menos opciones de respuesta`},dragInTheBlank:{blank:`Espacio en blanco {{index}}`},ebsr:{part:`Parte {{index}}`,twoPartQuestion:`Pregunta de dos partes`},editableHtml:{responseAreaToolbar:`Área de respuesta`,toolbar:`Herramientas de edición`,buttons:{insertTable:`Insertar tabla`,addTableRow:`Agregar fila a la tabla`,removeTableRow:`Eliminar fila de la tabla`,addTableColumn:`Agregar columna a la tabla`,removeTableColumn:`Eliminar columna de la tabla`,removeTable:`Eliminar tabla`,tableBorders:`Bordes de la tabla`,bold:`Negrita`,italic:`Cursiva`,strikethrough:`Tachado`,code:`Código`,underline:`Subrayado`,subscript:`Subíndice`,superscript:`Superíndice`,insertImage:`Insertar imagen`,insertVideo:`Insertar video`,insertAudio:`Insertar audio`,cssClasses:`Clases CSS`,blockquote:`Cita en bloque`,heading:`Encabezado`,insertMath:`Insertar expresión matemática`,spanishCharacters:`Caracteres del español (ñ)`,specialCharacters:`Caracteres especiales (€)`,textAlignment:`Alineación del texto`,bulletedList:`Lista con viñetas`,numberedList:`Lista numerada`,done:`Listo`}},explicitConstructedResponse:{fillInTheBlankQuestion:`Pregunta para completar espacios en blanco`,response:`Respuesta {{index}} de {{total}}`},extendedTextEntry:{comment:`Comentario`,constructedResponseQuestion:`Pregunta de respuesta construida`,response:`Tu respuesta`,writtenResponseQuestion:`Pregunta de respuesta escrita`},fractionModel:{modelLabel_one:`Modelo {{index}} de {{total}}: {{selected}} de {{count}} parte seleccionada`,modelLabel_other:`Modelo {{index}} de {{total}}: {{selected}} de {{count}} partes seleccionadas`},numberLine:{addElementLimit_one:`Solo puedes agregar {{count}} elemento`,addElementLimit_other:`Solo puedes agregar {{count}} elementos`,clearAll:`Borrar todo`,closedEnd:`cerrado`,elementCorrect:`Correcto.`,elementIncorrect:`Incorrecto.`,graphLabel:`Recta numérica de {{min}} a {{max}}, con una marca cada {{interval}}`,line:`Línea de {{left}} ({{leftEnd}}) a {{right}} ({{rightEnd}}).`,openEnd:`abierto`,plottedNone:`No hay nada marcado en la recta.`,pointClosed:`Punto cerrado en {{position}}.`,pointOpen:`Punto abierto en {{position}}.`,rayLeft:`Rayo desde {{position}} ({{end}}) hacia la izquierda.`,rayRight:`Rayo desde {{position}} ({{end}}) hacia la derecha.`},hotspot:{correctlySelected:`Seleccionada correctamente`,image_one:`Imagen con {{count}} zona activa`,image_other:`Imagen con {{count}} zonas activas`,shape:`Zona activa {{index}} de {{total}}`,shouldHaveBeenSelected:`Debía seleccionarse`,shouldNotHaveBeenSelected:`No debía seleccionarse`},imageClozeAssociation:{answerChoice:`Opción de respuesta {{index}} de {{total}}`,image_one:`Imagen con {{count}} área de respuesta`,image_other:`Imagen con {{count}} áreas de respuesta`,reachedLimit_one:`Has alcanzado el límite de {{count}} respuesta por área. Para agregar otra respuesta, primero se debe eliminar una respuesta.`,reachedLimit_other:`Lleno`,responseArea:`Área de respuesta {{index}} de {{total}}`},inlineDropdown:{inlineDropdownQuestion:`Pregunta con menú desplegable`,query:`Consulta`,queryNumber:`Consulta {{index}}`,showRationaleForChoices:`Mostrar justificación de las opciones`,hideRationaleForChoices:`Ocultar justificación de las opciones`},drawingResponse:{fillColor:`Color de relleno`,outlineColor:`Color del contorno`,noFill:`Sin relleno`,lightblue:`Azul claro`,lightyellow:`Amarillo claro`,red:`Rojo`,orange:`Naranja`,yellow:`Amarillo`,violet:`Violeta`,blue:`Azul`,green:`Verde`,white:`Blanco`,black:`Negro`,onDoubleClick:`Haz doble clic para revisar este texto. Presiona el botón de ingreso para enviar`,drawingArea:`Área de dibujo`,drawingAreaOverImage:`Área de dibujo sobre una imagen de fondo`,tools:{select:`Seleccionar`,freeDraw:`Dibujo libre`,line:`Línea`,rectangle:`Rectángulo`,circle:`Círculo`,textEntry:`Entrada de texto`,eraser:`Borrador`}},charting:{addCategory:`Añadir categoría`,actions:`Acciones`,add:`Añadir`,delete:`Eliminar`,newLabel:`Nueva etiqueta`,categoryLabel:`Etiqueta de la categoría {{index}}`,categoryLabelValue:`Etiqueta de la categoría {{index}}: {{label}}`,category:`Categoría {{index}}`,reachedLimit_other:`No puede haber más de {{count}} categorías.`,keyLegend:{incorrectAnswer:`Respuesta incorrecta del estudiante`,correctAnswer:`Respuesta correcta del estudiante`,correctKeyAnswer:`Clave de respuesta correcta`},chartTypes:{bar:`Gráfico de barras`,histogram:`Histograma`,lineDot:`Gráfico de líneas con puntos`,lineCross:`Gráfico de líneas con cruces`,dotPlot:`Diagrama de puntos`,linePlot:`Diagrama de líneas`},categories_zero:`Sin categorías.`,categories_one:`{{count}} categoría: {{categories}}.`,categories_other:`{{count}} categorías: {{categories}}.`,valueRange:`Valores de {{min}} a {{max}}.`,labelledValueRange:`{{label}} de {{min}} a {{max}}.`},graphing:{graph:`Gráfica de coordenadas`,axisRange:`Eje {{axis}} de {{min}} a {{max}}.`,plotted_zero:`Nada trazado.`,plotted_one:`{{count}} objeto trazado: {{marks}}.`,plotted_other:`{{count}} objetos trazados: {{marks}}.`,shadedRegion:`Región sombreada`,point:`Punto`,circle:`Circulo`,line:`Línea`,parabola:`Parábola`,absolute:`Valor absoluto`,exponential:`Exponencial`,polygon:`Polígono`,ray:`Semirrecta`,segment:`Segmento `,sine:`Seno`,vector:`Vector`,label:`Etiqueta`,markLabel:`Etiqueta en ({{x}}, {{y}})`,correctMarkLabel:`Etiqueta correcta en ({{x}}, {{y}})`,redo:`Rehacer`,reset:`Reiniciar`,keyLegend:{missingRequiredLabel:`Falta una etiqueta obligatoria`,answerKeyCorrect:`Clave de respuesta correcta`,answerKeyCorrectLabel:`Etiqueta correcta de la clave de respuesta`,studentIncorrect:`Respuesta incorrecta del estudiante`,incorrectStudentLabel:`Etiqueta incorrecta del estudiante`,studentCorrect:`Respuesta correcta del estudiante`,studentCorrectLabel:`Etiqueta correcta del estudiante`}},mathInline:{keypadInstructions:`Este campo admite la entrada con el teclado en pantalla y con el teclado físico. Usa el teclado físico para acceder al teclado matemático en pantalla e interactuar con él; este acepta notación LaTeX. Usa la tecla de flecha hacia abajo para abrir el teclado en pantalla y recorrer sus botones. Usa la tecla Escape para cerrar el teclado en pantalla y volver al campo de entrada.`,mathEquationResponseQuestion:`Pregunta de respuesta con ecuación matemática`,mathResponseQuestion:`Pregunta de respuesta matemática`,primaryCorrectWithAlternates:`Nota: La respuesta que se muestra arriba es la respuesta correcta principal especificada por el autor para esta pregunta, pero también se pueden reconocer otras respuestas como correctas.`},mathInput:{enterAnswer:`Escribe la respuesta`},mcPopulatedBlank:{answerChoices:`Opciones de respuesta`,blankLabel:`espacio en blanco`,emptyBlank:`(en blanco)`,blankPreSelectionHint:`La respuesta que elijas aparecerá en la línea en blanco de arriba.`,correctAnswerSelected:`Respuesta correcta seleccionada`,incorrectAnswerSelected:`Respuesta incorrecta seleccionada`,selectedAnswerImage:`Imagen de la respuesta seleccionada`,choiceImage:`Opción {{id}}`,clickToEnableAutoplay:`Haz clic para activar la reproducción automática del audio`,audioResourceUnavailable:`El audio está activado, pero no hay una URL de audio reproducible configurada.`,listen:`Escuchar`,listenSilentAlt:`Escuchar. Repetir las instrucciones.`,listenPlayingAlt:`Escuchar. Estas son las instrucciones.`,printAudio:`Audio:`,printTranscript:`Transcripción:`},multipleChoice:{minSelections:`Seleccione al menos {{minSelections}}.`,maxSelections_one:`Sólo se permite {{maxSelections}} respuesta.`,maxSelections_other:`Sólo se permiten {{maxSelections}} respuestas.`,minmaxSelections_equal:`Seleccione {{minSelections}}.`,minmaxSelections_range:`Seleccione entre {{minSelections}} y {{maxSelections}}.`,multipleChoiceQuestion:`Pregunta de opción múltiple`,multipleCorrectAnswerQuestion:`Pregunta con varias respuestas correctas`,multipleSelectQuestion:`Pregunta de selección múltiple`},rubric:{rubric:`Rúbrica`,showRubric:`Mostrar rúbrica`,hideRubric:`Ocultar rúbrica`},selectText:{correctAnswerSelected:`Respuesta Correcta`,correctAnswerNotSelected:`Respuesta Correcta No Seleccionada`,incorrectSelection:`Selección Incorrecta`,key:`Clave`,textGroup:`Texto seleccionable`,textGroupWithLimit:`Texto seleccionable, selecciona hasta {{max}}`,tokenPosition:`{{index}} de {{total}}`},simpleCloze:{correctAnswerShown:`Respuesta correcta`,correct:`Correcto`,incorrect:`Incorrecto`,unanswered:`Sin respuesta`,placeholder:`Escribe tu respuesta...`,answerInput:`Tu respuesta`,printCorrectAnswer:`Respuesta correcta:`,printAnswerBlank:`Espacio para la respuesta`},vennClassification:{tray:`Fichas para clasificar`,unknownTarget:`desconocido`,cancelled:`Cancelado`,returnedToTray:`Se devolvió {{name}} a la bandeja`,placedIn:`Se colocó {{name}} en {{target}}`,pickedUp:`Se tomó {{name}}`,pickedUpWithKeyboard:`Se tomó {{name}}, destino: {{target}}. Usa las flechas para elegir un destino, Enter para soltar y Escape para cancelar.`,dropTarget:`Destino: {{target}}`,unsupportedCircles_one:`No se puede mostrar este diagrama: tiene {{count}} círculo, y solo se admiten {{supported}}.`,unsupportedCircles_other:`No se puede mostrar este diagrama: tiene {{count}} círculos, y solo se admiten {{supported}}.`,setNumber:`Conjunto {{number}}`,regionOnly:`Solo {{set}}`,regionNeither:`Ni {{first}} ni {{second}}`,regionNoneOf:`Ninguno de {{sets}}`,regionAndSeparator:` y `,tileFallbackName:`Ficha`,tileNotPlaced:`sin colocar`,tileInRegion:`en {{region}}`,tileCorrect:`correcta`,tileIncorrect:`incorrecta`}},common:{undo:`Deshacer`,clearAll:`Borrar todo`,correct:`Correcto`,incorrect:`Incorrecto`,showCorrectAnswer:`Mostrar respuesta correcta`,hideCorrectAnswer:`Ocultar respuesta correcta`,showTeacherInstructions:`Mostrar instrucciones para el maestro`,hideTeacherInstructions:`Ocultar instrucciones para el maestro`,show:`Mostrar`,hide:`Ocultar`,showRationale:`Mostrar justificación`,hideRationale:`Ocultar justificación`,commonCorrectAnswerWithAlternates:`Nota: La respuesta que se muestra arriba es la respuesta correcta más común para esta pregunta. También se definen una o más respuestas correctas adicionales, y también se reconocerán como correctas.`,warning:`Advertencia`,showNote:`Mostrar Nota`,hideNote:`Ocultar Nota`,cancel:`Cancelar`,playAudio:`Reproducir audio`}},$=e=>typeof e==`string`,Vw=()=>{let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},Hw=e=>e==null?``:String(e),Uw=(e,t,n)=>{e.forEach(e=>{t[e]&&(n[e]=t[e])})},Ww=/###/g,Gw=e=>e&&e.includes(`###`)?e.replace(Ww,`.`):e,Kw=e=>!e||$(e),qw=(e,t,n)=>{let r=$(t)?t.split(`.`):t,i=0;for(;i<r.length-1;){if(Kw(e))return{};let t=Gw(r[i]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return Kw(e)?{}:{obj:e,k:Gw(r[i])}},Jw=(e,t,n)=>{let{obj:r,k:i}=qw(e,t,Object);if(r!==void 0||t.length===1){r[i]=n;return}let a=t[t.length-1],o=t.slice(0,t.length-1),s=qw(e,o,Object);for(;s.obj===void 0&&o.length;)a=`${o[o.length-1]}.${a}`,o=o.slice(0,o.length-1),s=qw(e,o,Object),s?.obj&&s.obj[`${s.k}.${a}`]!==void 0&&(s.obj=void 0);s.obj[`${s.k}.${a}`]=n},Yw=(e,t,n,r)=>{let{obj:i,k:a}=qw(e,t,Object);i[a]=i[a]||[],i[a].push(n)},Xw=(e,t)=>{let{obj:n,k:r}=qw(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},Zw=(e,t,n)=>{let r=Xw(e,n);return r===void 0?Xw(t,n):r},Qw=(e,t,n)=>{for(let r in t)r!==`__proto__`&&r!==`constructor`&&(Object.prototype.hasOwnProperty.call(e,r)?$(e[r])||e[r]instanceof String||$(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):Qw(e[r],t[r],n):e[r]=t[r]);return e},$w=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,`\\$&`),eT={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`,"/":`/`},tT=e=>$(e)?e.replace(/[&<>"'\/]/g,e=>eT[e]):e,nT=class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(t!==void 0)return t;let n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}},rT=[` `,`,`,`?`,`!`,`;`],iT=new nT(20),aT=(e,t,n)=>{t||=``,n||=``;let r=rT.filter(e=>!t.includes(e)&&!n.includes(e));if(r.length===0)return!0;let i=iT.getRegExp(`(${r.map(e=>e===`?`?`\\?`:e).join(`|`)})`),a=!i.test(e);if(!a){let t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(a=!0)}return a},oT=(e,t,n=`.`)=>{if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;let r=t.split(n),i=e;for(let e=0;e<r.length;){if(!i||typeof i!=`object`)return;let t,a=``;for(let o=e;o<r.length;++o)if(o!==e&&(a+=n),a+=r[o],t=i[a],t!==void 0){if([`string`,`number`,`boolean`].includes(typeof t)&&o<r.length-1)continue;e+=o-e+1;break}i=t}return i},sT=e=>e?.replace(/_/g,`-`),cT={type:`logger`,log(e){this.output(`log`,e)},warn(e){this.output(`warn`,e)},error(e){this.output(`error`,e)},output(e,t){console?.[e]?.apply?.(console,t)}},lT=new class e{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||`i18next:`,this.logger=e||cT,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,`log`,``,!0)}warn(...e){return this.forward(e,`warn`,``,!0)}error(...e){return this.forward(e,`error`,``)}deprecate(...e){return this.forward(e,`warn`,`WARNING DEPRECATED: `,!0)}forward(e,t,n,r){return r&&!this.debug?null:(e=e.map(e=>$(e)?e.replace(/[\r\n\x00-\x1F\x7F]/g,` `):e),$(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(t){return new e(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t||=this.options,t.prefix=t.prefix||this.prefix,new e(this.logger,t)}},uT=class{constructor(){this.observers={}}on(e,t){return e.split(` `).forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}once(e,t){let n=(...r)=>{t(...r),this.off(e,n)};return this.on(e,n),this}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([e,n])=>{for(let r=0;r<n;r++)e(...t)}),this.observers[`*`]&&Array.from(this.observers[`*`].entries()).forEach(([n,r])=>{for(let i=0;i<r;i++)n(e,...t)})}},dT=new WeakSet,fT=class extends uT{constructor(e,t={ns:[`translation`],defaultNS:`translation`}){super(),this.data=e||{},this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.includes(e)||this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n,r={}){let i=r.keySeparator===void 0?this.options.keySeparator:r.keySeparator,a=r.ignoreJSONStructure===void 0?this.options.ignoreJSONStructure:r.ignoreJSONStructure,o;e.includes(`.`)?o=e.split(`.`):(o=[e,t],n&&(Array.isArray(n)?o.push(...n):$(n)&&i?o.push(...n.split(i)):o.push(n)));let s=Xw(this.data,o);return!s&&!t&&!n&&e.includes(`.`)&&(e=o[0],t=o[1],n=o.slice(2).join(`.`)),s||!a||!$(n)?s:oT(this.data?.[e]?.[t],n,i)}addResource(e,t,n,r,i={silent:!1}){let a=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,o=[e,t];n&&(o=o.concat(a?n.split(a):n)),e.includes(`.`)&&(o=e.split(`.`),r=t,t=o[1]),this.addNamespaces(t),Jw(this.data,o,r),i.silent||this.emit(`added`,e,t,n,r)}addResources(e,t,n,r={silent:!1}){for(let r in n)($(n[r])||Array.isArray(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit(`added`,e,t,n)}addResourceBundle(e,t,n,r,i,a={silent:!1,skipCopy:!1}){let o=[e,t];e.includes(`.`)&&(o=e.split(`.`),r=n,n=t,t=o[1]),this.addNamespaces(t);let s=Xw(this.data,o)||{};a.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?Qw(s,n,i):s={...s,...n},Jw(this.data,o,s),a.silent||this.emit(`added`,e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit(`removed`,e,t)}hasResourceBundle(e,t){return this.getResource(e,t)!==void 0}getResourceBundle(e,t){return t||=this.options.defaultNS,this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>{let n=t[e];return dT.has(n)?!0:!n||Object.keys(n).length===0?!1:(typeof n==`object`&&dT.add(n),!0)})}toJSON(){return this.data}},pT={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(e=>{t=this.processors[e]?.process(t,n,r,i)??t}),t}},mT=Symbol(`i18next/PATH_KEY`);function hT(){let e=[],t=Object.create(null),n;return t.get=(r,i)=>(n?.revoke?.(),i===mT?e:(e.push(i),n=Proxy.revocable(r,t),n.proxy)),Proxy.revocable(Object.create(null),t).proxy}function gT(e,t){let{[mT]:n}=e(hT()),r=t?.keySeparator??`.`,i=t?.nsSeparator??`:`,a=t?.enableSelector===`strict`;if(n.length>1&&i){let e=t?.ns,o=a?Array.isArray(e)?e:e?[e]:null:Array.isArray(e)?e:null;if(o&&(a?o:o.length>1?o.slice(1):[]).includes(n[0]))return`${n[0]}${i}${n.slice(1).join(r)}`}return n.join(r)}var _T=e=>!$(e)&&typeof e!=`boolean`&&typeof e!=`number`,vT=class e extends uT{constructor(e,t={}){super(),Uw([`resourceStore`,`languageUtils`,`pluralResolver`,`interpolator`,`backendConnector`,`i18nFormat`,`utils`],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.logger=lT.create(`translator`),this.checkedLoadedFor={}}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){let n={...t};if(e==null)return!1;let r=this.resolve(e,n);if(r?.res===void 0)return!1;let i=_T(r.res);return!(n.returnObjects===!1&&i)}extractFromKey(e,t){let n=t.nsSeparator===void 0?this.options.nsSeparator:t.nsSeparator;n===void 0&&(n=`:`);let r=t.keySeparator===void 0?this.options.keySeparator:t.keySeparator,i=t.ns||this.options.defaultNS||[],a=n&&e.includes(n),o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!aT(e,n,r);if(a&&!o){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:$(i)?[i]:i};let a=e.split(n);(n!==r||n===r&&this.options.ns.includes(a[0]))&&(i=a.shift()),e=a.join(r)}return{key:e,namespaces:$(i)?[i]:i}}translate(t,n,r){let i=typeof n==`object`?{...n}:n;if(typeof i!=`object`&&this.options.overloadTranslationOptionHandler&&(i=this.options.overloadTranslationOptionHandler(arguments)),typeof i==`object`&&(i={...i}),i||={},t==null)return``;typeof t==`function`&&(t=gT(t,{...this.options,...i})),Array.isArray(t)||(t=[String(t)]),t=t.map(e=>typeof e==`function`?gT(e,{...this.options,...i}):String(e));let a=i.returnDetails===void 0?this.options.returnDetails:i.returnDetails,o=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,{key:s,namespaces:c}=this.extractFromKey(t[t.length-1],i),l=c[c.length-1],u=i.nsSeparator===void 0?this.options.nsSeparator:i.nsSeparator;u===void 0&&(u=`:`);let d=i.lng||this.language,f=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d?.toLowerCase()===`cimode`)return f?a?{res:`${l}${u}${s}`,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:`${l}${u}${s}`:a?{res:s,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:s;let p=this.resolve(t,i),m=p?.res,h=p?.usedKey||s,g=p?.exactUsedKey||s,_=[`[object Number]`,`[object Function]`,`[object RegExp]`],v=i.joinArrays===void 0?this.options.joinArrays:i.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject,b=i.count!==void 0&&!$(i.count),x=e.hasDefaultValue(i),S=b?this.pluralResolver.getSuffix(d,i.count,i):``,C=i.ordinal&&b?this.pluralResolver.getSuffix(d,i.count,{ordinal:!1}):``,w=b&&!i.ordinal&&i.count===0,T=w&&i[`defaultValue${this.options.pluralSeparator}zero`]||i[`defaultValue${S}`]||i[`defaultValue${C}`]||i.defaultValue,E=m;y&&!m&&x&&(E=T);let D=_T(E),O=Object.prototype.toString.apply(E);if(y&&E&&D&&!_.includes(O)&&!($(v)&&Array.isArray(E))){if(!i.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn(`accessing an object - but returnObjects options is not enabled!`);let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,E,{...i,ns:c}):`key '${s} (${this.language})' returned an object instead of string.`;return a?(p.res=e,p.usedParams=this.getUsedParamsDetails(i),p):e}if(o){let e=Array.isArray(E),t=e?[]:{},n=e?g:h;for(let e in E)if(Object.prototype.hasOwnProperty.call(E,e)){let r=`${n}${o}${e}`;t[e]=x&&!m?this.translate(r,{...i,defaultValue:_T(T)?T[e]:void 0,joinArrays:!1,ns:c}):this.translate(r,{...i,joinArrays:!1,ns:c}),t[e]===r&&(t[e]=E[e])}m=t}}else if(y&&$(v)&&Array.isArray(m))m=m.join(v),m&&=this.extendTranslation(m,t,i,r);else{let e=!1,n=!1;!this.isValidLookup(m)&&x&&(e=!0,m=T),this.isValidLookup(m)||(n=!0,m=s);let a=(i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&n?void 0:m,c=x&&T!==m&&this.options.updateMissing;if(n||e||c){if(this.logger.log(c?`updateKey`:`missingKey`,d,l,b&&!c?`${s}${this.pluralResolver.getSuffix(d,i.count,i)}`:s,c?T:m),o){let e=this.resolve(s,{...i,keySeparator:!1});e&&e.res&&this.logger.warn(`Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.`)}let e=[],t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if(this.options.saveMissingTo===`fallback`&&t&&t[0])for(let n=0;n<t.length;n++)e.push(t[n]);else this.options.saveMissingTo===`all`?e=this.languageUtils.toResolveHierarchy(i.lng||this.language):e.push(i.lng||this.language);let n=(e,t,n)=>{let r=x&&n!==m?n:a;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,t,r,c,i):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,l,t,r,c,i),this.emit(`missingKey`,e,l,t,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&b?e.forEach(e=>{let t=this.pluralResolver.getSuffixes(e,i);w&&i[`defaultValue${this.options.pluralSeparator}zero`]&&!t.includes(`${this.options.pluralSeparator}zero`)&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{n([e],s+t,i[`defaultValue${t}`]||T)})}):n(e,s,T))}m=this.extendTranslation(m,t,i,p,r),n&&m===s&&this.options.appendNamespaceToMissingKey&&(m=`${l}${u}${s}`),(n||e)&&this.options.parseMissingKeyHandler&&(m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}${u}${s}`:s,e?m:void 0,i))}return a?(p.res=m,p.usedParams=this.getUsedParamsDetails(i),p):m}extendTranslation(e,t,n,r,i){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});let a=$(e)&&(n?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:n.interpolation.skipOnVariables),o;if(a){let t=e.match(this.interpolator.nestingRegexp);o=t&&t.length}let s=n.replace&&!$(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),e=this.interpolator.interpolate(e,s,n.lng||this.language||r.usedLng,n),a){let t=e.match(this.interpolator.nestingRegexp),r=t&&t.length;o<r&&(n.nest=!1)}!n.lng&&r&&r.res&&(n.lng=this.language||r.usedLng),n.nest!==!1&&(e=this.interpolator.nest(e,(...e)=>i?.[0]===e[0]&&!n.context?(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null):this.translate(...e,t),n)),n.interpolation&&this.interpolator.reset()}let a=n.postProcess||this.options.postProcess,o=$(a)?[a]:a;return e!=null&&o?.length&&n.applyPostProcessor!==!1&&(e=pT.handle(o,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e,t={}){let n,r,i,a,o;return $(e)&&(e=[e]),Array.isArray(e)&&(e=e.map(e=>typeof e==`function`?gT(e,{...this.options,...t}):e)),e.forEach(e=>{if(this.isValidLookup(n))return;let s=this.extractFromKey(e,t),c=s.key;r=c;let l=s.namespaces;this.options.fallbackNS&&(l=l.concat(this.options.fallbackNS));let u=t.count!==void 0&&!$(t.count),d=u&&!t.ordinal&&t.count===0,f=t.context!==void 0&&($(t.context)||typeof t.context==`number`)&&t.context!==``,p=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);l.forEach(e=>{this.isValidLookup(n)||(o=e,!this.checkedLoadedFor[`${p[0]}-${e}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(o)&&(this.checkedLoadedFor[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${p.join(`, `)}" won't get resolved as namespace "${o}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`)),p.forEach(r=>{if(this.isValidLookup(n))return;a=r;let o=[c];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(o,c,r,e,t);else{let e;u&&(e=this.pluralResolver.getSuffix(r,t.count,t));let n=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(t.ordinal&&e.startsWith(i)&&o.push(c+e.replace(i,this.options.pluralSeparator)),o.push(c+e),d&&o.push(c+n)),f){let r=`${c}${this.options.contextSeparator||`_`}${t.context}`;o.push(r),u&&(t.ordinal&&e.startsWith(i)&&o.push(r+e.replace(i,this.options.pluralSeparator)),o.push(r+e),d&&o.push(r+n))}}let s;for(;s=o.pop();)this.isValidLookup(n)||(i=s,n=this.getResource(r,e,s,t))}))})}),{res:n,usedKey:r,exactUsedKey:i,usedLng:a,usedNS:o}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e===``)}getResource(e,t,n,r={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(e={}){let t=[`defaultValue`,`ordinal`,`context`,`replace`,`lng`,`lngs`,`fallbackLng`,`ns`,`keySeparator`,`nsSeparator`,`returnObjects`,`returnDetails`,`joinArrays`,`postProcess`,`interpolation`],n=e.replace&&!$(e.replace),r=n?e.replace:e;if(n&&e.count!==void 0&&(r={...r,count:e.count}),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(let e of t)delete r[e]}return r}static hasDefaultValue(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&t.startsWith(`defaultValue`)&&e[t]!==void 0)return!0;return!1}},yT=class{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=lT.create(`languageUtils`),this.resolveHierarchyCache={}}clearCache(){this.resolveHierarchyCache={}}getScriptPartFromCode(e){if(e=sT(e),!e||!e.includes(`-`))return null;let t=e.split(`-`);return t.length===2||(t.pop(),t[t.length-1].toLowerCase()===`x`)?null:this.formatLanguageCode(t.join(`-`))}getLanguagePartFromCode(e){if(e=sT(e),!e||!e.includes(`-`))return e;let t=e.split(`-`);return this.formatLanguageCode(t[0])}formatLanguageCode(e){if($(e)&&e.includes(`-`)){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch{}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load===`languageOnly`||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.includes(e)}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(e=>{if(t)return;let n=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let n=this.getScriptPartFromCode(e);if(this.isSupportedCode(n))return t=n;let r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>e===r?!0:!e.includes(`-`)&&!r.includes(`-`)?!1:!!(e.includes(`-`)&&!r.includes(`-`)&&e.slice(0,e.indexOf(`-`))===r||e.startsWith(r)&&r.length>1))}),t||=this.getFallbackCodes(this.options.fallbackLng)[0],t}getFallbackCodes(e,t){if(!e)return[];if(typeof e==`function`&&(e=e(t)),$(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||=e[this.getScriptPartFromCode(t)],n||=e[this.formatLanguageCode(t)],n||=e[this.getLanguagePartFromCode(t)],n||=e.default,n||[]}toResolveHierarchy(e,t){let n=this.options.fallbackLng,r=Array.isArray(n)?n.join(`|`):n;r!==this._cachedFallbackLng&&(this.resolveHierarchyCache={},this._cachedFallbackLng=r);let i=t===void 0||t===!1||$(t),a=t===void 0&&typeof this.options.fallbackLng==`function`,o=$(e)&&i&&!a,s=null;if(o){let n;n=t===void 0?`undefined`:t===!1?`boolean:false`:`string:${t}`,s=`${e.length}:${e}|${n}`}if(s!==null){let e=this.resolveHierarchyCache[s];if(e!==void 0)return e.slice()}let c=this.getFallbackCodes((t===!1?[]:t)||this.options.fallbackLng||[],e),l=[],u=e=>{e&&(this.isSupportedCode(e)?l.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return $(e)&&(e.includes(`-`)||e.includes(`_`))?(this.options.load!==`languageOnly`&&u(this.formatLanguageCode(e)),this.options.load!==`languageOnly`&&this.options.load!==`currentOnly`&&u(this.getScriptPartFromCode(e)),this.options.load!==`currentOnly`&&u(this.getLanguagePartFromCode(e))):$(e)&&u(this.formatLanguageCode(e)),c.forEach(e=>{let t=this.formatLanguageCode(e);l.includes(t)||u(t)}),s===null?l:(this.resolveHierarchyCache[s]=l,l.slice())}},bT={zero:0,one:1,two:2,few:3,many:4,other:5},xT={select:e=>e===1?`one`:`other`,resolvedOptions:()=>({pluralCategories:[`one`,`other`]})},ST=class{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=lT.create(`pluralResolver`),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let n=sT(e===`dev`?`en`:e),r=t.ordinal?`ordinal`:`cardinal`,i=JSON.stringify({cleanedCode:n,type:r});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let a;try{a=new Intl.PluralRules(n,{type:r})}catch{if(typeof Intl>`u`)return this.logger.error(`No Intl support, please use an Intl polyfill!`),xT;if(!e.match(/-|_/))return xT;let n=this.languageUtils.getLanguagePartFromCode(e);a=this.getRule(n,t)}return this.pluralRulesCache[i]=a,a}needsPlural(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,n={}){return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?n.resolvedOptions().pluralCategories.sort((e,t)=>bT[e]-bT[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:``}${e}`):[]}getSuffix(e,t,n={}){let r=this.getRule(e,n);return r?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:``}${r.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix(`dev`,t,n))}},CT=(e,t,n,r=`.`,i=!0)=>{let a=Zw(e,t,n);return!a&&i&&$(n)&&(a=oT(e,n,r),a===void 0&&(a=oT(t,n,r))),a},wT=e=>e.replace(/\$/g,`$$$$`),TT=class{constructor(e={}){this.logger=lT.create(`interpolator`),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||={escapeValue:!0};let{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:a,suffix:o,suffixEscaped:s,formatSeparator:c,unescapeSuffix:l,unescapePrefix:u,nestingPrefix:d,nestingPrefixEscaped:f,nestingSuffix:p,nestingSuffixEscaped:m,nestingOptionsSeparator:h,maxReplaces:g,alwaysFormat:_}=e.interpolation;this.escape=t===void 0?tT:t,this.escapeValue=n===void 0||n,this.useRawValueToEscape=r!==void 0&&r,this.prefix=i?$w(i):a||`{{`,this.suffix=o?$w(o):s||`}}`,this.formatSeparator=c||`,`,this.unescapePrefix=l?``:u?$w(u):`-`,this.unescapeSuffix=this.unescapePrefix?``:l?$w(l):``,this.nestingPrefix=d?$w(d):f||$w(`$t(`),this.nestingSuffix=p?$w(p):m||$w(`)`),this.nestingOptionsSeparator=h||`,`,this.maxReplaces=g||1e3,this.alwaysFormat=_!==void 0&&_,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e?.source===t?(e.lastIndex=0,e):new RegExp(t,`g`);this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']|"[^"]*"|'[^']*'|\\((?:[^()"']|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let i,a,o,s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=e=>{if(!e.includes(this.formatSeparator)){let i=CT(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}let i=e.split(this.formatSeparator),a=i.shift().trim(),o=i.join(this.formatSeparator).trim();return this.format(CT(t,s,a,this.options.keySeparator,this.options.ignoreJSONStructure),o,n,{...r,...t,interpolationkey:a})};this.resetRegExp(),!this.escapeValue&&typeof e==`string`&&/\$t\([^)]*\{[^}]*\{\{/.test(e)&&this.logger.warn(`nesting options string contains interpolated variables with escapeValue: false — if any of those values are attacker-controlled they can inject additional nesting options (e.g. redirect lng/ns). Sanitise untrusted input before passing it to t(), or keep escapeValue: true.`);let l=r?.missingInterpolationHandler||this.options.missingInterpolationHandler,u=r?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:r.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>e},{regex:this.regexp,safeValue:e=>this.escapeValue?this.escape(e):e}].forEach(t=>{for(o=0;i=t.regex.exec(e);){let n=i[1].trim();if(a=c(n),a===void 0){if(typeof l==`function`){let t=l(e,i,r);a=$(t)?t:``}else if(r&&Object.prototype.hasOwnProperty.call(r,n))a=``;else if(u){a=i[0];continue}else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),a=``}else!$(a)&&!this.useRawValueToEscape&&(a=Hw(a));let s=t.safeValue(a);if(e=e.replace(i[0],wT(s)),u?(t.regex.lastIndex+=s.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,o++,o>=this.maxReplaces)break}}),e}nest(e,t,n={}){let r,i,a,o=(e,t)=>{let n=this.nestingOptionsSeparator;if(!e.includes(n))return e;let r=e.split(RegExp(`${$w(n)}[ ]*{`)),i=`{${r[1]}`;e=r[0],i=this.interpolate(i,a);let o=i.match(/'/g),s=i.match(/"/g);((o?.length??0)%2==0&&!s||(s?.length??0)%2!=0)&&(i=i.replace(/'/g,`"`));try{a=JSON.parse(i),t&&(a={...t,...a})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${i}`}return a.defaultValue&&a.defaultValue.includes(this.prefix)&&delete a.defaultValue,e},s=new RegExp(this.nestingRegexp),c=``,l=0;for(;r=s.exec(e);){let u=[];a={...n},a=a.replace&&!$(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let d=/{.*}/s.test(r[1])?r[1].lastIndexOf(`}`)+1:r[1].indexOf(this.formatSeparator);if(d!==-1&&(u=r[1].slice(d).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),r[1]=r[1].slice(0,d)),i=t(o.call(this,r[1].trim(),a),a),i&&r[0]===e&&!$(i))return i;$(i)||(i=Hw(i)),i||=(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),``),u.length&&(i=u.reduce((e,t)=>this.format(e,t,n.lng,{...n,interpolationkey:r[1].trim()}),i.trim())),c+=e.slice(l,r.index)+Hw(i),l=s.lastIndex,this.regexp.lastIndex=0}return l?c+e.slice(l):e}},ET=e=>{let t=e.toLowerCase().trim(),n={};if(e.includes(`(`)){let r=e.split(`(`);t=r[0].toLowerCase().trim();let i=r[1].slice(0,-1);t===`currency`&&!i.includes(`:`)?n.currency||=i.trim():t===`relativetime`&&!i.includes(`:`)?n.range||=i.trim():i.split(`;`).forEach(e=>{if(e){let[t,...r]=e.split(`:`),i=r.join(`:`).trim().replace(/^'+|'+$/g,``),a=t.trim();n[a]||(n[a]=i),i===`false`&&(n[a]=!1),i===`true`&&(n[a]=!0),isNaN(i)||(n[a]=parseInt(i,10))}})}return{formatName:t,formatOptions:n}},DT=e=>{let t={};return(n,r,i)=>{let a=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(a={...a,[i.interpolationkey]:void 0});let o=r+JSON.stringify(a),s=t[o];return s||(s=e(sT(r),i),t[o]=s),s(n)}},OT=e=>(t,n,r)=>e(sT(n),r)(t),kT=class{constructor(e={}){this.logger=lT.create(`formatter`),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||`,`;let n=t.cacheInBuiltFormats?DT:OT;this.formats={number:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t,style:`currency`});return e=>n.format(e)}),datetime:n((e,t)=>{let n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:n((e,t)=>{let n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||`day`)}),list:n((e,t)=>{let n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=DT(t)}format(e,t,n,r={}){if(!t||e==null)return e;let i=t.split(this.formatSeparator),a=[];for(let e=0;e<i.length;e++){let t=i[e];for(;t.indexOf(`(`)>-1&&!t.includes(`)`)&&e+1<i.length;)t=`${t}${this.formatSeparator}${i[++e]}`;a.push(t)}return a.reduce((e,t)=>{let{formatName:i,formatOptions:a}=ET(t);if(this.formats[i]){let t=e;try{let o=r?.formatParams?.[r.interpolationkey]||{},s=o.locale||o.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...a,...r,...o})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e},e)}},AT=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)},jT=class extends uT{constructor(e,t,n,r={}){super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=lT.create(`backendConnector`),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,r.backend,r)}queueLoad(e,t,n,r){let i={},a={},o={},s={};return e.forEach(e=>{let r=!0;t.forEach(t=>{let o=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[o]=2:this.state[o]<0||(this.state[o]===1?a[o]===void 0&&(a[o]=!0):(this.state[o]=1,r=!1,a[o]===void 0&&(a[o]=!0),i[o]===void 0&&(i[o]=!0),s[t]===void 0&&(s[t]=!0)))}),r||(o[e]=!0)}),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){let r=e.split(`|`),i=r[0],a=r[1];t&&this.emit(`failedLoading`,i,a,t),!t&&n&&this.store.addResourceBundle(i,a,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);let o={};this.queue.forEach(n=>{Yw(n.loaded,[i],a),AT(n,e),t&&n.errors.push(t),n.pendingCount===0&&!n.done&&(Object.keys(n.loaded).forEach(e=>{o[e]||(o[e]={});let t=n.loaded[e];t.length&&t.forEach(t=>{o[e][t]===void 0&&(o[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit(`loaded`,o),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n,r=0,i=this.retryTimeout,a){if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:a});return}this.readingCalls++;let o=(o,s)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}o&&s&&r<this.maxRetries?setTimeout(()=>{this.read(e,t,n,r+1,i*2,a)},i):a(o,s)},s=this.backend[n].bind(this.backend);if(s.length===2)try{let n=s(e,t);n&&typeof n.then==`function`?n.then(e=>o(null,e)).catch(o):o(null,n)}catch(e){o(e)}else return s(e,t,o)}prepareLoading(e,t,n={},r){if(!this.backend)return this.logger.warn(`No backend was added via i18next.use. Will not load resources.`),r&&r();$(e)&&(e=this.languageUtils.toResolveHierarchy(e)),$(t)&&(t=[t]);let i=this.queueLoad(e,t,n,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e,t=``){let n=e.split(`|`),r=n[0],i=n[1];this.read(r,i,`read`,void 0,void 0,(n,a)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&a&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,a),this.loaded(e,n,a)})}saveMissing(e,t,n,r,i,a={},o=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(t))this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`);else if(n!=null&&n!==``){if(this.backend?.create){let s={...a,isUpdate:i},c=this.backend.create.bind(this.backend);if(c.length<6)try{let i;i=c.length===5?c(e,t,n,r,s):c(e,t,n,r),i&&typeof i.then==`function`?i.then(e=>o(null,e)).catch(o):o(null,i)}catch(e){o(e)}else c(e,t,n,r,o,s)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}},MT=()=>({debug:!1,initAsync:!0,ns:[`translation`],defaultNS:[`translation`],fallbackLng:[`dev`],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:`all`,preload:!1,keySeparator:`.`,nsSeparator:`:`,pluralSeparator:`_`,contextSeparator:`_`,enableSelector:!1,partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:`fallback`,saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]==`object`&&(t=e[1]),$(e[1])&&(t.defaultValue=e[1]),$(e[2])&&(t.tDescription=e[2]),typeof e[2]==`object`||typeof e[3]==`object`){let n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,prefix:`{{`,suffix:`}}`,formatSeparator:`,`,unescapePrefix:`-`,nestingPrefix:`$t(`,nestingSuffix:`)`,nestingOptionsSeparator:`,`,maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),NT=e=>($(e.ns)&&(e.ns=[e.ns]),$(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),$(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&!e.supportedLngs.includes(`cimode`)&&(e.supportedLngs=e.supportedLngs.concat([`cimode`])),e),PT=()=>{},FT=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{typeof e[t]==`function`&&(e[t]=e[t].bind(e))})},IT=class e extends uT{constructor(e={},t){if(super(),this.options=NT(e),this.services={},this.logger=lT,this.modules={external:[]},FT(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,typeof e==`function`&&(t=e,e={}),e.defaultNS==null&&e.ns&&($(e.ns)?e.defaultNS=e.ns:e.ns.includes(`translation`)||(e.defaultNS=e.ns[0]));let n=MT();this.options={...n,...this.options,...NT(e)},this.options.interpolation={...n.interpolation,...this.options.interpolation},e.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=e.keySeparator),e.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=e.nsSeparator),typeof this.options.overloadTranslationOptionHandler!=`function`&&(this.options.overloadTranslationOptionHandler=n.overloadTranslationOptionHandler);let r=e=>e?typeof e==`function`?new e:e:null;if(!this.options.isClone){this.modules.logger?lT.init(r(this.modules.logger),this.options):lT.init(null,this.options);let e;e=this.modules.formatter?this.modules.formatter:kT;let t=new yT(this.options);this.store=new fT(this.options.resources,this.options);let n=this.services;n.logger=lT,n.resourceStore=this.store,n.languageUtils=t,n.pluralResolver=new ST(t,{prepend:this.options.pluralSeparator}),e&&(n.formatter=r(e),n.formatter.init&&n.formatter.init(n,this.options),this.options.interpolation.format=n.formatter.format.bind(n.formatter)),n.interpolator=new TT(this.options),n.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},n.backendConnector=new jT(r(this.modules.backend),n.resourceStore,n,this.options),n.backendConnector.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(n.languageDetector=r(this.modules.languageDetector),n.languageDetector.init&&n.languageDetector.init(n,this.options.detection,this.options)),this.modules.i18nFormat&&(n.i18nFormat=r(this.modules.i18nFormat),n.i18nFormat.init&&n.i18nFormat.init(this)),this.translator=new vT(this.services,this.options),this.translator.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||=PT,this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&e[0]!==`dev`&&(this.options.lng=e[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn(`init: no languageDetector is used and no lng is defined`),[`getResource`,`hasResourceBundle`,`getResourceBundle`,`getDataByLanguage`].forEach(e=>{this[e]=(...t)=>this.store[e](...t)}),[`addResource`,`addResources`,`addResourceBundle`,`removeResourceBundle`].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});let i=Vw(),a=()=>{let e=(e,n)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn(`init: i18next is already initialized. You should call init just once!`),this.isInitialized=!0,this.options.isClone||this.logger.log(`initialized`,this.options),this.emit(`initialized`,this.options),i.resolve(n),t(e,n)};if((this.languages||this.isLanguageChangingTo)&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?a():setTimeout(a,0),i}loadResources(e,t=PT){let n=t,r=$(e)?e:this.language;if(typeof e==`function`&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r?.toLowerCase()===`cimode`&&(!this.options.preload||this.options.preload.length===0))return n();let e=[],t=t=>{t&&t!==`cimode`&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{t!==`cimode`&&(e.includes(t)||e.push(t))})};r?t(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{!e&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(e)})}else n(null)}reloadResources(e,t,n){let r=Vw();return typeof e==`function`&&(n=e,e=void 0),typeof t==`function`&&(n=t,t=void 0),e||=this.languages,t||=this.options.ns,n||=PT,this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw Error(`You are passing an undefined module! Please check the object you are passing to i18next.use()`);if(!e.type)throw Error(`You are passing a wrong module! Please check the object you are passing to i18next.use()`);return e.type===`backend`&&(this.modules.backend=e),(e.type===`logger`||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type===`languageDetector`&&(this.modules.languageDetector=e),e.type===`i18nFormat`&&(this.modules.i18nFormat=e),e.type===`postProcessor`&&pT.addPostProcessor(e),e.type===`formatter`&&(this.modules.formatter=e),e.type===`3rdParty`&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&![`cimode`,`dev`].includes(e)){for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(![`cimode`,`dev`].includes(t)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&!this.languages.includes(e)&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;let n=Vw();this.emit(`languageChanging`,e);let r=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},i=(i,a)=>{a?this.isLanguageChangingTo===e&&(r(a),this.translator.changeLanguage(a),this.isLanguageChangingTo=void 0,this.emit(`languageChanged`,a),this.logger.log(`languageChanged`,a)):this.isLanguageChangingTo=void 0,n.resolve((...e)=>this.t(...e)),t&&t(i,(...e)=>this.t(...e))},a=t=>{!e&&!t&&this.services.languageDetector&&(t=[]);let n=$(t)?t:t&&t[0],a=this.store.hasLanguageSomeTranslations(n)?n:this.services.languageUtils.getBestMatchFromCodes($(t)?[t]:t);a&&(this.language||r(a),this.translator.language||this.translator.changeLanguage(a),this.services.languageDetector?.cacheUserLanguage?.(a)),this.loadResources(a,e=>{i(e,a)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?a(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e),n}getFixedT(e,t,n,r){let i=r?.scopeNs,a=(e,t,...r)=>{let o;o=typeof t==`object`?{...t}:this.options.overloadTranslationOptionHandler([e,t].concat(r)),o.lng=o.lng||a.lng,o.lngs=o.lngs||a.lngs;let s=o.ns!==void 0&&o.ns!==null;o.ns=o.ns||a.ns,o.keyPrefix!==``&&(o.keyPrefix=o.keyPrefix||n||a.keyPrefix);let c={...this.options,...o};Array.isArray(i)&&!s&&(c.ns=i),typeof o.keyPrefix==`function`&&(o.keyPrefix=gT(o.keyPrefix,c));let l=this.options.keySeparator||`.`,u;return o.keyPrefix&&Array.isArray(e)?u=e.map(e=>(typeof e==`function`&&(e=gT(e,c)),`${o.keyPrefix}${l}${e}`)):(typeof e==`function`&&(e=gT(e,c)),u=o.keyPrefix?`${o.keyPrefix}${l}${e}`:e),this.t(u,o)};return $(e)?a.lng=e:a.lngs=e,a.ns=t,a.keyPrefix=n,a}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn(`hasLoadedNamespace: i18next was not initialized`,this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn(`hasLoadedNamespace: i18n.languages were undefined or empty`,this.languages),!1;let n=t.lng||this.resolvedLanguage||this.languages[0],r=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(n.toLowerCase()===`cimode`)return!0;let a=(e,t)=>{let n=this.services.backendConnector.state[`${e}|${t}`];return n===-1||n===0||n===2};if(t.precheck){let e=t.precheck(this,a);if(e!==void 0)return e}if(this.hasResourceBundle(n,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages)return!0;let{languageUtils:o}=this.services,s=t.lng?o.isSupportedCode(n)&&o.toResolveHierarchy(n,!1)[0]:n;return!(s&&!a(s,e)||r&&!a(i,e))}loadNamespaces(e,t){let n=Vw();return this.options.ns?($(e)&&(e=[e]),e.forEach(e=>{this.options.ns.includes(e)||this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){let n=Vw();$(e)&&(e=[e]);let r=this.options.preload||[],i=e.filter(e=>!r.includes(e)&&this.services.languageUtils.isSupportedCode(e));return i.length?(this.options.preload=r.concat(i),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){if(e||=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language),!e)return`rtl`;try{let t=new Intl.Locale(e);if(t&&t.getTextInfo){let e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch{}let t=`ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb`.split(`.`),n=this.services?.languageUtils||new yT(MT());return e.toLowerCase().indexOf(`-latn`)>1?`ltr`:t.includes(n.getLanguagePartFromCode(e))||e.toLowerCase().indexOf(`-arab`)>1?`rtl`:`ltr`}static createInstance(t={},n){let r=new e(t,n);return r.createInstance=e.createInstance,r}cloneInstance(t={},n=PT){let r=t.forkResourceStore;r&&delete t.forkResourceStore;let i={...this.options,preload:!1,...t,isClone:!0},a=new e(i);if((t.debug!==void 0||t.prefix!==void 0)&&(a.logger=a.logger.clone(t)),[`store`,`services`,`language`].forEach(e=>{a[e]=this[e]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},r&&(a.store=new fT(Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((n,r)=>(n[r]={...e[t][r]},n),e[t]),e),{}),i),a.services.resourceStore=a.store),t.interpolation){let e={...MT().interpolation,...this.options.interpolation,...t.interpolation},n={...i,interpolation:e};a.services.interpolator=new TT(n)}return a.translator=new vT(a.services,i),a.translator.on(`*`,(e,...t)=>{a.emit(e,...t)}),a.init(i,n),a.translator.options=i,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}.createInstance();IT.createInstance,IT.dir,IT.init,IT.loadResources,IT.reloadResources,IT.use,IT.changeLanguage,IT.getFixedT,IT.t,IT.exists,IT.setDefaultNamespace,IT.hasLoadedNamespace,IT.loadNamespaces,IT.loadLanguages,IT.init({fallbackLng:`en`,lng:`en`,showSupportNotice:!1,resources:{en:zw,es:Bw}});var LT={translator:{...IT,t:(e,t)=>{let{lng:n}=t;switch(n){case`en_US`:case`en-US`:t.lng=`en`;break;case`es_ES`:case`es-ES`:case`es_MX`:case`es-MX`:t.lng=`es`}return IT.t(e,{lng:n,...t})}},languageOptions:[{value:`en_US`,label:`English (US)`},{value:`es_ES`,label:`Spanish`}]};function RT(e){return rs(`MuiTypography`,e)}is(`MuiTypography`,[`root`,`h1`,`h2`,`h3`,`h4`,`h5`,`h6`,`subtitle1`,`subtitle2`,`body1`,`body2`,`inherit`,`button`,`caption`,`overline`,`alignLeft`,`alignRight`,`alignCenter`,`alignJustify`,`noWrap`,`gutterBottom`,`paragraph`]);var zT={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},BT=au(),VT=e=>{let{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:a,classes:o}=e;return Cc({root:[`root`,a,e.align!==`inherit`&&`align${Y(t)}`,n&&`gutterBottom`,r&&`noWrap`,i&&`paragraph`]},RT,o)},HT=J(`span`,{name:`MuiTypography`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!==`inherit`&&t[`align${Y(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(Md(({theme:e})=>({margin:0,variants:[{props:{variant:`inherit`},style:{font:`inherit`,lineHeight:`inherit`,letterSpacing:`inherit`}},...Object.entries(e.typography).filter(([e,t])=>e!==`inherit`&&t&&typeof t==`object`).map(([e,t])=>({props:{variant:e},style:t})),...Object.entries(e.palette).filter(B_()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,e])=>typeof e==`string`).map(([t])=>({props:{color:`text${Y(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:e})=>e.align!==`inherit`,style:{textAlign:`var(--Typography-textAlign)`}},{props:({ownerState:e})=>e.noWrap,style:{overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`}},{props:({ownerState:e})=>e.gutterBottom,style:{marginBottom:`0.35em`}},{props:({ownerState:e})=>e.paragraph,style:{marginBottom:16}}]}))),UT={h1:`h1`,h2:`h2`,h3:`h3`,h4:`h4`,h5:`h5`,h6:`h6`,subtitle1:`h6`,subtitle2:`h6`,body1:`p`,body2:`p`,inherit:`p`},WT=B.forwardRef(function(e,t){let{color:n,...r}=ou({props:e,name:`MuiTypography`}),i=!zT[n],a=BT({...r,...i&&{color:n}}),{align:o=`inherit`,className:s,component:c,gutterBottom:l=!1,noWrap:u=!1,paragraph:d=!1,variant:f=`body1`,variantMapping:p=UT,...m}=a,h={...a,align:o,color:n,className:s,component:c,gutterBottom:l,noWrap:u,paragraph:d,variant:f,variantMapping:p},g=c||(d?`p`:p[f]||UT[f])||`span`,_=VT(h);return(0,V.jsx)(HT,{as:g,ref:t,className:U(_.root,s),...m,ownerState:h,style:{...o!==`inherit`&&{"--Typography-textAlign":o},...m.style}})});function GT(e){return rs(`MuiCard`,e)}is(`MuiCard`,[`root`]);var KT=e=>{let{classes:t}=e;return Cc({root:[`root`]},GT,t)},qT=J(cf,{name:`MuiCard`,slot:`Root`})({overflow:`hidden`}),JT=B.forwardRef(function(e,t){let n=ou({props:e,name:`MuiCard`}),{className:r,raised:i=!1,...a}=n,o={...n,raised:i},s=KT(o);return(0,V.jsx)(qT,{className:U(s.root,r),elevation:i?8:void 0,ref:t,ownerState:o,...a})});function YT(e){return rs(`MuiCardContent`,e)}is(`MuiCardContent`,[`root`]);var XT=e=>{let{classes:t}=e;return Cc({root:[`root`]},YT,t)},ZT=J(`div`,{name:`MuiCardContent`,slot:`Root`})({padding:16,"&:last-child":{paddingBottom:24}}),QT=B.forwardRef(function(e,t){let n=ou({props:e,name:`MuiCardContent`}),{className:r,component:i=`div`,...a}=n,o={...n,component:i},s=XT(o);return(0,V.jsx)(ZT,{as:i,className:U(s.root,r),ownerState:o,ref:t,...a})});function $T(e){return rs(`MuiDialog`,e)}var eE=is(`MuiDialog`,[`root`,`backdrop`,`scrollPaper`,`scrollBody`,`container`,`paper`,`paperScrollPaper`,`paperScrollBody`,`paperWidthFalse`,`paperWidthXs`,`paperWidthSm`,`paperWidthMd`,`paperWidthLg`,`paperWidthXl`,`paperFullWidth`,`paperFullScreen`]),tE=B.createContext({}),nE=J(Gd,{name:`MuiDialog`,slot:`Backdrop`})({zIndex:-1}),rE=e=>{let{classes:t,scroll:n,maxWidth:r,fullWidth:i,fullScreen:a}=e;return Cc({root:[`root`],backdrop:[`backdrop`],container:[`container`,`scroll${Y(n)}`],paper:[`paper`,`paperScroll${Y(n)}`,`paperWidth${Y(String(r))}`,i&&`paperFullWidth`,a&&`paperFullScreen`]},$T,t)},iE=J(rf,{name:`MuiDialog`,slot:`Root`})({"@media print":{position:`absolute !important`}}),aE=J(`div`,{name:`MuiDialog`,slot:`Container`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.container,t[`scroll${Y(n.scroll)}`]]}})({height:`100%`,"@media print":{height:`auto`},outline:0,variants:[{props:{scroll:`paper`},style:{display:`flex`,justifyContent:`center`,alignItems:`center`}},{props:{scroll:`body`},style:{overflowY:`auto`,overflowX:`hidden`,textAlign:`center`,"&::after":{content:`""`,display:`inline-block`,verticalAlign:`middle`,height:`100%`,width:`0`}}}]}),oE=J(cf,{name:`MuiDialog`,slot:`Paper`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.paper,t[`scrollPaper${Y(n.scroll)}`],t[`paperWidth${Y(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(Md(({theme:e})=>({margin:32,position:`relative`,overflowY:`auto`,"@media print":{overflowY:`visible`,boxShadow:`none`},variants:[{props:{scroll:`paper`},style:{display:`flex`,flexDirection:`column`,maxHeight:`calc(100% - 64px)`}},{props:{scroll:`body`},style:{display:`inline-block`,verticalAlign:`middle`,textAlign:`initial`}},{props:({ownerState:e})=>!e.maxWidth,style:{maxWidth:`calc(100% - 64px)`}},{props:{maxWidth:`xs`},style:{maxWidth:e.breakpoints.unit===`px`?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${eE.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:`calc(100% - 64px)`}}}},...Object.keys(e.breakpoints.values).filter(e=>e!==`xs`).map(t=>({props:{maxWidth:t},style:{maxWidth:`${e.breakpoints.values[t]}${e.breakpoints.unit}`,[`&.${eE.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t]+64)]:{maxWidth:`calc(100% - 64px)`}}}})),{props:({ownerState:e})=>e.fullWidth,style:{width:`calc(100% - 64px)`}},{props:({ownerState:e})=>e.fullScreen,style:{margin:0,width:`100%`,maxWidth:`100%`,height:`100%`,maxHeight:`none`,borderRadius:0,[`&.${eE.paperScrollBody}`]:{margin:0,maxWidth:`100%`}}}]}))),sE=B.forwardRef(function(e,t){let n=ou({props:e,name:`MuiDialog`}),r=Pl(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{"aria-describedby":a,"aria-labelledby":o,"aria-modal":s=!0,BackdropComponent:c,BackdropProps:l,children:u,className:d,disableEscapeKeyDown:f=!1,fullScreen:p=!1,fullWidth:m=!1,maxWidth:h=`sm`,onClick:g,onClose:_,open:v,PaperComponent:y=cf,PaperProps:b={},role:x=`dialog`,scroll:S=`paper`,slots:C={},slotProps:w={},TransitionComponent:T=Vd,transitionDuration:E=i,TransitionProps:D,...O}=n,k={...n,disableEscapeKeyDown:f,fullScreen:p,fullWidth:m,maxWidth:h,scroll:S},ee=rE(k),A=B.useRef(),j=e=>{A.current=e.target===e.currentTarget},M=e=>{g&&g(e),A.current&&(A.current=null,_&&_(e,`backdropClick`))},N=Zs(o),te=B.useMemo(()=>({titleId:N}),[N]),P={slots:{transition:T,...C},slotProps:{transition:D,paper:b,backdrop:l,...w}},[ne,re]=Rd(`root`,{elementType:iE,shouldForwardComponentProp:!0,externalForwardedProps:P,ownerState:k,className:U(ee.root,d),ref:t}),[F,ie]=Rd(`backdrop`,{elementType:nE,shouldForwardComponentProp:!0,externalForwardedProps:P,ownerState:k,className:ee.backdrop}),[ae,I]=Rd(`paper`,{elementType:oE,shouldForwardComponentProp:!0,externalForwardedProps:P,ownerState:k,className:ee.paper,additionalProps:{elevation:24,role:x,"aria-describedby":a,"aria-labelledby":N,"aria-modal":s,tabIndex:-1,[bd]:``}}),[oe,se]=Rd(`container`,{elementType:aE,externalForwardedProps:P,ownerState:k,className:ee.container}),[ce,le]=Rd(`transition`,{elementType:Vd,externalForwardedProps:P,ownerState:k,additionalProps:{appear:!0,in:v,timeout:E,role:`presentation`}});return(0,V.jsx)(ne,{closeAfterTransition:!0,slots:{backdrop:F},slotProps:{backdrop:{transitionDuration:E,as:c,...ie}},disableEscapeKeyDown:f,onClose:_,open:v,onClick:M,...re,...O,children:(0,V.jsx)(ce,{...le,children:(0,V.jsx)(oe,{onMouseDown:j,...se,children:(0,V.jsx)(ae,{as:y,...I,children:(0,V.jsx)(tE.Provider,{value:te,children:u})})})})})});function cE(e){return rs(`MuiDialogActions`,e)}is(`MuiDialogActions`,[`root`,`spacing`]);var lE=e=>{let{classes:t,disableSpacing:n}=e;return Cc({root:[`root`,!n&&`spacing`]},cE,t)},uE=J(`div`,{name:`MuiDialogActions`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})({display:`flex`,alignItems:`center`,padding:8,justifyContent:`flex-end`,flex:`0 0 auto`,variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),dE=B.forwardRef(function(e,t){let n=ou({props:e,name:`MuiDialogActions`}),{className:r,disableSpacing:i=!1,...a}=n,o={...n,disableSpacing:i},s=lE(o);return(0,V.jsx)(uE,{className:U(s.root,r),ownerState:o,ref:t,...a})});function fE(e){return rs(`MuiDialogContent`,e)}is(`MuiDialogContent`,[`root`,`dividers`]);function pE(e){return rs(`MuiDialogTitle`,e)}var mE=is(`MuiDialogTitle`,[`root`]),hE=e=>{let{classes:t,dividers:n}=e;return Cc({root:[`root`,n&&`dividers`]},fE,t)},gE=J(`div`,{name:`MuiDialogContent`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(Md(({theme:e})=>({flex:`1 1 auto`,WebkitOverflowScrolling:`touch`,overflowY:`auto`,padding:`20px 24px`,variants:[{props:({ownerState:e})=>e.dividers,style:{padding:`16px 24px`,borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>!e.dividers,style:{[`.${mE.root} + &`]:{paddingTop:0}}}]}))),_E=B.forwardRef(function(e,t){let n=ou({props:e,name:`MuiDialogContent`}),{className:r,dividers:i=!1,...a}=n,o={...n,dividers:i},s=hE(o);return(0,V.jsx)(gE,{className:U(s.root,r),ownerState:o,ref:t,...a})});function vE(e){return rs(`MuiDialogContentText`,e)}is(`MuiDialogContentText`,[`root`]);var yE=e=>{let{classes:t}=e,n=Cc({root:[`root`]},vE,t);return{...t,...n}},bE=J(WT,{shouldForwardProp:e=>Il(e)||e===`classes`,name:`MuiDialogContentText`,slot:`Root`})({}),xE=B.forwardRef(function(e,t){let n=ou({props:e,name:`MuiDialogContentText`}),{children:r,className:i,...a}=n,o=yE(a);return(0,V.jsx)(bE,{component:`p`,variant:`body1`,color:`textSecondary`,ref:t,ownerState:a,className:U(o.root,i),...n,classes:o})}),SE=e=>{let{classes:t}=e;return Cc({root:[`root`]},pE,t)},CE=J(WT,{name:`MuiDialogTitle`,slot:`Root`})({padding:`16px 24px`,flex:`0 0 auto`}),wE=J(B.forwardRef(function(e,t){let n=ou({props:e,name:`MuiDialogTitle`}),{className:r,id:i,...a}=n,o=n,s=SE(o),{titleId:c=i}=B.useContext(tE);return(0,V.jsx)(CE,{component:`h2`,className:U(s.root,r),ownerState:o,ref:t,variant:`h6`,id:i??c,...a})}))(()=>({fontSize:`max(1.25rem, 18px)`})),TE=J(xE)(()=>({fontSize:`max(1rem, 14px)`})),EE=({text:e,title:t,onClose:n,onConfirm:r,open:i,onCloseText:a=`CANCEL`,onConfirmText:o=`OK`,disableAutoFocus:s=!1,disableEnforceFocus:c=!1,disableRestoreFocus:l=!1})=>(0,V.jsxs)(sE,{open:i,disableAutoFocus:s,disableEnforceFocus:c,disableRestoreFocus:l,onClose:n,children:[t&&(0,V.jsx)(wE,{children:t}),e&&(0,V.jsx)(_E,{children:(0,V.jsx)(TE,{children:e})}),(0,V.jsxs)(dE,{children:[n&&(0,V.jsx)(uv,{onClick:n,color:`primary`,children:a}),r&&(0,V.jsx)(uv,{autoFocus:!0,onClick:r,color:`primary`,children:o})]})]});EE.propTypes={text:z.oneOfType([z.string,z.object]),title:z.string,onClose:z.func,onConfirm:z.func,open:z.bool,onConfirmText:z.string,onCloseText:z.string,disableAutoFocus:z.bool,disableEnforceFocus:z.bool,disableRestoreFocus:z.bool};function DE(e){return typeof e==`function`||typeof e==`object`&&!!e&&typeof e.$$typeof==`symbol`}function OE(e,t){return!e||DE(e)?e:DE(e.default)?e.default:t&&DE(e[t])?e[t]:t&&DE(e[t]?.default)?e[t].default:e}var kE=Ay,AE=kE.default,jE=AE&&typeof AE==`object`?AE:kE;OE(Gv,`InputContainer`)||OE(jE.InputContainer,`InputContainer`),kg(`@pie-ui:categorize:choice`);var ME={content:z.string.isRequired,id:z.string},NE=J(`div`,{shouldForwardProp:e=>![`isDragging`,`disabled`,`correct`,`isSelected`].includes(e)})(({isDragging:e,disabled:t,correct:n,isSelected:r})=>({direction:`initial`,cursor:t?`not-allowed`:e?`move`:`pointer`,width:`100%`,borderRadius:`6px`,...r&&{border:`solid 2px ${ig()}`},...n===!0&&{border:`solid 2px ${yh()}`},...n===!1&&{border:`solid 2px ${Ch()}`}})),PE=J(JT,{shouldForwardProp:e=>e!==`isSelected`})(({isSelected:e})=>({color:hh(),backgroundColor:Lh(),width:`100%`,opacity:e?.5:1})),FE=J(QT)(({theme:e})=>({color:hh(),backgroundColor:mh(`pie`)(`background`,Z.WHITE),"&:last-child":{paddingBottom:e.spacing(2)},borderRadius:`4px`,border:`1px solid`,"& p":{margin:`0px`}})),IE=class extends B.Component{static propTypes={...ME,disabled:z.bool,correct:z.bool,isDragging:z.bool,isSelected:z.bool};static defaultProps={};contentRef=B.createRef();componentDidMount(){this.typesetContent()}componentDidUpdate(e){e.content!==this.props.content&&this.typesetContent()}typesetContent(){this.contentRef.current&&Wn(this.contentRef.current)}render(){let{content:e,isDragging:t,disabled:n,correct:r,isSelected:i,showsSelectionBorder:a}=this.props;return(0,V.jsx)(NE,{isDragging:t,disabled:n,correct:r,isSelected:i,children:(0,V.jsx)(PE,{isSelected:i,children:(0,V.jsx)(FE,{ref:this.contentRef,dangerouslySetInnerHTML:{__html:uh(e)}})})})}},LE=({id:e,content:t,disabled:n,correct:r,extraStyle:i,categoryId:a,choiceIndex:o,selectedItem:s,onSelectClick:c})=>{let l=a===void 0?`choice-${e}-board`:`choice-${e}-${a}-${o}`,u={id:e,categoryId:a,choiceIndex:o,value:t,itemType:`categorize`,type:`choice`},{attributes:d,listeners:f,setNodeRef:p,isDragging:m}=_S({id:l,data:u,disabled:n}),h=!!s&&s.id===e&&s.categoryId===a&&s.choiceIndex===o,g=e=>{n||(h?(e.stopPropagation(),c?.(u)):s&&a!==void 0||(e.stopPropagation(),c?.(u)))};return(0,V.jsx)(`div`,{ref:p,style:{margin:`4px`,...i},onClick:g,...f,...d,children:(0,V.jsx)(IE,{id:e,content:t,disabled:n,correct:r,isDragging:m,isSelected:h})})};LE.propTypes={...ME,extraStyle:z.object,categoryId:z.string,choiceIndex:z.number,onRemoveChoice:z.func,selectedItem:z.object,onSelectClick:z.func};var RE=Fw(LE);kg(`@pie-ui:categorize:droppable-placeholder`);var zE=({children:e,grid:t,disabled:n,choiceBoard:r,minRowHeight:i,id:a,labelId:o,correct:s,selectedItem:c,onPlacementClick:l})=>{let u=Pl(),[d,f]=(0,B.useState)(!1),{setNodeRef:p,isOver:m,active:h}=xS({id:a,data:{itemType:`categorize`,categoryId:a},disabled:n}),g=!!c,_=h?m:m||g&&d&&!n,v=!n,y=()=>{!n&&c&&l?.(a)},b=e=>{e.target===e.currentTarget&&(e.code===`Space`||e.code===`Enter`)&&(e.preventDefault(),y())},x=r?void 0:{padding:u.spacing(.5),borderRadius:u.spacing(.5),gridColumnGap:0,gridRowGap:0,display:`flex`,flexWrap:`wrap`,justifyContent:`center`,alignItems:`center`,alignContent:`flex-start`,width:`100%`,height:`100%`,...s===!1&&{border:`solid 2px ${Ch()}`},...s===!0&&{border:`solid 2px ${yh()}`}};return(0,V.jsx)(`div`,{ref:p,role:`group`,"aria-labelledby":o,tabIndex:v?0:-1,onClick:y,onKeyDown:v?b:void 0,onMouseEnter:()=>f(!0),onMouseLeave:()=>f(!1),style:{flex:1,minHeight:i||`80px`,position:`relative`,touchAction:`none`,...g&&!n&&{cursor:`pointer`}},children:(0,V.jsx)(Aw,{isOver:_,grid:t,disabled:n,choiceBoard:r,isCategorize:!0,extraStyles:x,children:e})})};zE.propTypes={choiceBoard:z.bool,children:z.node.isRequired,grid:z.object,disabled:z.bool,minRowHeight:z.string,onDropChoice:z.func,id:z.string.isRequired,labelId:z.string,correct:z.bool,selectedItem:z.object,onPlacementClick:z.func};var BE=J(`div`)({flex:1,touchAction:`none`}),VE=J(`div`)(({theme:e})=>({margin:`0 auto`,textAlign:`center`,paddingTop:e.spacing(1)})),HE=Fw(class extends B.Component{static propTypes={choices:z.arrayOf(z.oneOfType([z.shape(ME),z.shape({empty:z.bool})])),model:z.shape({categoriesPerRow:z.number,choicesLabel:z.string}),disabled:z.bool,choicePosition:z.string,onDropChoice:z.func,onRemoveChoice:z.func,correct:z.boolean,selectedItem:z.object,onSelectClick:z.func,onPlacementClick:z.func,uid:z.oneOfType([z.string,z.number])};static defaultProps={model:{categoriesPerRow:1,choicesLabel:``}};render(){let{choices:e=[],model:t,disabled:n,onDropChoice:r,onRemoveChoice:i,choicePosition:a,correct:o,selectedItem:s,onSelectClick:c,onPlacementClick:l,uid:u}=this.props,d=!!t.choicesLabel&&t.choicesLabel!==``,f=d?`categorize-${u}-choices-label`:void 0;return(0,V.jsx)(BE,{children:(0,V.jsxs)(zE,{id:`choices-board`,labelId:f,onDropChoice:r,onRemoveChoice:i,disabled:n,style:{background:`none`},choiceBoard:!0,correct:o,selectedItem:s,onPlacementClick:l,children:[d&&(0,V.jsx)(VE,{id:f,dangerouslySetInnerHTML:{__html:uh(t.choicesLabel)}}),e.map((e,r)=>e.empty?(0,V.jsx)(`div`,{},r):(0,V.jsx)(RE,{disabled:n,extraStyle:{maxWidth:`${95/t.categoriesPerRow}%`},selectedItem:s,onSelectClick:c,...e},r))]})})}}),UE=class extends B.Component{static propTypes={className:z.string,children:z.oneOfType([z.arrayOf(z.node),z.node]).isRequired,columns:z.number,rows:z.number,extraStyle:z.object};static defaultProps={columns:2,rows:2};render(){let{className:e,children:t,columns:n,extraStyle:r,rows:i}=this.props,a={gridTemplateColumns:`repeat(${n}, 1fr)`,gridTemplateRows:i===2?`auto 1fr`:`repeat(${i}, auto)`,...r};return(0,V.jsx)(WE,{style:a,className:e,children:t})}},WE=J(`div`)(({theme:e})=>({display:`grid`,columnGap:e.spacing(1),gridColumnGap:e.spacing(1),rowGap:e.spacing(1),gridRowGap:e.spacing(1),gridAutoRows:`1fr`})),GE={id:z.string.isRequired,categoryId:z.string},KE=class extends B.Component{static propTypes={...GE,className:z.string,disabled:z.bool,onDropChoice:z.func,onRemoveChoice:z.func,minRowHeight:z.string,labelId:z.string,selectedItem:z.object,onSelectClick:z.func,onPlacementClick:z.func};static defaultProps={};render(){let{className:e,choices:t=[],disabled:n,onDropChoice:r,onRemoveChoice:i,id:a,correct:o,minRowHeight:s,labelId:c,selectedItem:l,onSelectClick:u,onPlacementClick:d}=this.props;return(0,V.jsx)(qE,{className:e,"data-category-id":a,children:(0,V.jsx)(zE,{id:a,labelId:c,onDropChoice:r,disabled:n,correct:o,minRowHeight:s,selectedItem:l,onPlacementClick:d,children:t.map((e,t)=>(0,V.jsx)(RE,{onRemoveChoice:i,disabled:n,choiceIndex:t,categoryId:a,selectedItem:l,onSelectClick:u,...e},t))})})}},qE=J(`div`)(({theme:e})=>({display:`flex`,flexDirection:`column`,flex:2})),JE=class extends B.Component{static propTypes={categories:z.arrayOf(z.shape(GE)),model:z.shape({categoriesPerRow:z.number}),disabled:z.bool,onDropChoice:z.func.isRequired,onRemoveChoice:z.func.isRequired,rowLabels:z.array,selectedItem:z.object,onSelectClick:z.func,onPlacementClick:z.func,uid:z.oneOfType([z.string,z.number])};static defaultProps={model:{categoriesPerRow:1}};render(){let{categories:e,model:t,disabled:n,onDropChoice:r,onRemoveChoice:i,rowLabels:a,selectedItem:o,onSelectClick:s,onPlacementClick:c,uid:l}=this.props,{categoriesPerRow:u,minRowHeight:d}=t,f=[],p=e||[];for(let e=0;e<p.length;e+=u)f.push(p.slice(e,e+u));let m=e=>{let t=!1;return(e||[]).forEach(e=>{typeof e==`string`&&e.trim()!==``&&e.trim()!==`<div></div>`&&(t=!0)}),t};return(0,V.jsx)(UE,{columns:u,rows:Math.ceil(e.length/u)*2,extraStyle:{flex:1},children:f.map((e,t)=>{let f=[];return e.forEach((e,u)=>{let p=`categorize-${l}-category-label-${t}-${u}`;f.push((0,V.jsxs)(`div`,{style:{display:`flex`},children:[u===0&&m(a)?(0,V.jsx)(XE,{dangerouslySetInnerHTML:{__html:uh(a[t])}},t):null,(0,V.jsxs)(ZE,{children:[(0,V.jsx)(YE,{id:p,dangerouslySetInnerHTML:{__html:uh(e.label)}},`category-label-${t}-${u}`),(0,V.jsx)(KE,{minRowHeight:d,labelId:p,onDropChoice:t=>r(e.id,t),onRemoveChoice:i,disabled:n,selectedItem:o,onSelectClick:s,onPlacementClick:c,...e},`category-element-${t}-${u}`)]})]}))}),f=f.concat(Array(u-e.length).fill((0,V.jsx)(`div`,{})).map((e,t)=>(0,V.jsx)(`div`,{},`fill-space-final-${t}`))),f})})}},YE=J(`div`)(({theme:e})=>({color:hh(),backgroundColor:Lh(),textAlign:`center`,paddingTop:e.spacing(1)})),XE=J(`div`)({alignItems:`center`,display:`flex`,justifyContent:`center`,flex:.5,marginRight:`12px`}),ZE=J(`div`)({display:`flex`,flex:`2`,flexDirection:`column`}),QE=Fw(JE),$E=`choices-board`,eD=e=>{let t=Tb(e),n=e.active?.data?.current?.categoryId,r=t.filter(e=>e.id!==`choices-board`&&e.id!==n);if(r.length>0)return r;let i=t.filter(e=>e.id===$E);return i.length>0?i:t},tD=`choices-board`,nD=(e,{context:t,currentCoordinates:n})=>{let{code:r}=e,i=r===cx.Tab,a=r===cx.Down||r===cx.Up||r===cx.Left||r===cx.Right;if(!i&&!a)return;if(a)return ux(e,{context:t,currentCoordinates:n});e.preventDefault();let{droppableRects:o,droppableContainers:s,collisionRect:c}=t;if(!o||o.size===0)return n;let l=[],u;for(let[e,t]of s){if(t?.disabled)continue;let n=t?.node?.current?.getBoundingClientRect()??o.get(e);if(!n)continue;let r={x:n.left+n.width/2,y:n.top+n.height/2},i=c?.height??0,a={id:e,rect:n,dropPosition:{x:n.left,y:n.top+n.height/2-i/2},center:r};e===tD?u=a:l.push(a)}if(l.length===0&&!u)return n;let d=e.shiftKey;l.sort((e,t)=>Math.abs(e.center.y-t.center.y)>10?e.center.y-t.center.y:e.center.x-t.center.x),u&&l.push(u);let f=c?{x:c.left+c.width/2,y:c.top+c.height/2}:n,p=l.findIndex(e=>f.x>=e.rect.left&&f.x<=e.rect.right&&f.y>=e.rect.top&&f.y<=e.rect.bottom);if(p===-1){let e=1/0;for(let t=0;t<l.length;t++){let r=rD(n,l[t].dropPosition);r<e&&(e=r,p=t)}}return l[d?(p-1+l.length)%l.length:(p+1)%l.length].dropPosition},rD=(e,t)=>Math.sqrt((e.x-t.x)**2+(e.y-t.y)**2);function iD(e){return typeof e==`function`||typeof e==`object`&&!!e&&typeof e.$$typeof==`symbol`}function aD(e,t){return!e||iD(e)?e:iD(e.default)?e.default:t&&iD(e[t])?e[t]:t&&iD(e[t]?.default)?e[t].default:e}var oD=Ay,sD=oD.default,cD=sD&&typeof sD==`object`?sD:oD,lD=aD(bv,`UiLayout`)||aD(cD.UiLayout,`UiLayout`),uD=aD($v,`PreviewPrompt`)||aD(cD.PreviewPrompt,`PreviewPrompt`),dD=aD(v_,`Collapsible`)||aD(cD.Collapsible,`Collapsible`),fD=aD(Dg,`Feedback`)||aD(cD.Feedback,`Feedback`),{translator:pD}=LT,mD=kg(`@pie-ui:categorize`),hD=250,gD=class extends B.Component{static propTypes={children:z.node};containerRef=B.createRef();componentDidMount(){this.containerRef.current&&Wn(this.containerRef.current)}render(){return(0,V.jsx)(`div`,{ref:this.containerRef,children:this.props.children})}},_D=class extends B.Component{static propTypes={model:z.object,session:z.shape({answers:z.arrayOf(z.shape({choice:z.string,category:z.string}))}),onAnswersChange:z.func.isRequired,onShowCorrectToggle:z.func.isRequired,pauseMathObserver:z.func,resumeMathObserver:z.func,selectedItem:z.object,onSelectClick:z.func,onPlacementClick:z.func};static defaultProps={disabled:!1};mainContainerId=p_(`main-container`);constructor(e){super(e),this.state={showCorrect:!1,showMaxChoiceAlert:!1}}removeChoice=e=>{mD(`[removeChoice]: `,e);let{onAnswersChange:t,session:n}=this.props;t(bw(e.id,e.categoryId,e.choiceIndex,n.answers))};dropChoice=(e,t)=>{let{session:n,onAnswersChange:r,model:i}=this.props,{maxChoicesPerCategory:a=0}=i||{},{answers:o=[]}=n||{},s;t?mD(`[dropChoice] category: `,t.categoryId,`choice: `,t):mD(`[dropChoice] category: `,void 0,`choice: `,void 0);let c=o.find(t=>t.category===e);t&&a===1&&c&&c.choices&&c.choices.length===1?(s=xw(t.id,t.categoryId,e,t.choiceIndex,o),s=bw(c.choices[0],e,0,s)):t&&a>1&&c&&c.choices&&c.choices.length===a?(s=t.categoryId?xw(t.id,t.categoryId,t.categoryId,t.choiceIndex,o):bw(t.id,t.categoryId,t.choiceIndex,o),this.setState({showMaxChoiceAlert:!0})):a!==0&&c&&c.choices&&c.choices.length>a?(s=o,this.setState({showMaxChoiceAlert:!0})):s=t?xw(t.id,t.categoryId,e,t.choiceIndex,o):this.removeChoice(e),t&&r(s)};UNSAFE_componentWillReceiveProps(e){let{model:t}=this.props,{model:n}=e;t.note&&t.language&&t.language!==n.language&&t.note===pD.t(`common:commonCorrectAnswerWithAlternates`,{lng:t.language})&&(t.note=pD.t(`common:commonCorrectAnswerWithAlternates`,{lng:n.language})),this.setState({showCorrect:!1})}toggleShowCorrect=()=>this.setState({showCorrect:!this.state.showCorrect},()=>{this.props.onShowCorrectToggle()});getPositionDirection=e=>{let t;switch(e){case`left`:t=`row-reverse`;break;case`right`:t=`row`;break;case`below`:t=`column`;break;default:t=`column-reverse`}return t};existAlternateResponse=e=>e?.some(e=>e.alternateResponses?.length>0);render(){let{model:e,session:t,selectedItem:n,onSelectClick:r,onPlacementClick:i}=this.props,{showCorrect:a,showMaxChoiceAlert:o}=this.state,{choicesPosition:s,extraCSSRules:c,note:l,showNote:u,env:d,language:f,maxChoicesPerCategory:p,autoplayAudioEnabled:m,autoplayAudioHeld:h,customAudioButton:g}=e,{mode:_,role:v}=d||{},y=s||`above`,b={flexDirection:this.getPositionDirection(y),gap:`8px`},{categories:x,choices:S,correct:C}=Dw(e.categories,e.choices,a?e.correctResponse:t.answers,e.correctResponse);mD(`[render] disabled: `,e.disabled);let{rowLabels:w,categoriesPerRow:T,correctResponse:E,fontSizeFactor:D}=e,O=x&&Math.ceil(x.length/T)||0,k=this.existAlternateResponse(E)||!1,ee=(a||_===`view`&&v===`instructor`)&&u&&l&&k,A=pD.t(`translation:categorize:limitMaxChoicesPerCategory`,{lng:e.language,maxChoicesPerCategory:p}),j=pD.t(`common:warning`,{lng:e.language}),M=pD.t(`common:cancel`,{lng:e.language}),N=e.rationale&&(iy(e.rationale)||oy(e.rationale)),te=e.teacherInstructions&&(iy(e.teacherInstructions)||oy(e.teacherInstructions));return(0,V.jsxs)(yD,{extraCSSRules:c,id:this.mainContainerId,className:`main-container`,fontSizeFactor:D,children:[te&&(0,V.jsx)(B.Fragment,{children:(0,V.jsx)(CD,{labels:{hidden:pD.t(`common:showTeacherInstructions`,{lng:f}),visible:pD.t(`common:hideTeacherInstructions`,{lng:f})},children:(0,V.jsx)(uD,{prompt:e.teacherInstructions})})}),e.prompt&&(0,V.jsx)(uD,{prompt:e.prompt,autoplayAudioEnabled:m,autoplayAudioHeld:h,customAudioButton:g,language:f}),(0,V.jsx)(QS,{show:a||C===!1,toggled:a,onToggle:this.toggleShowCorrect,language:f}),(0,V.jsx)(xD,{children:(0,V.jsxs)(SD,{style:b,children:[(0,V.jsx)(`div`,{style:{display:`flex`,flex:1},children:(0,V.jsx)(QE,{model:e,disabled:e.disabled,categories:x,onDropChoice:this.dropChoice,onRemoveChoice:this.removeChoice,rowLabels:(w||[]).slice(0,O),selectedItem:n,onSelectClick:r,onPlacementClick:i})}),(0,V.jsx)(HE,{disabled:e.disabled,model:e,choices:S,choicePosition:y,onDropChoice:this.dropChoice,onRemoveChoice:this.removeChoice,correct:C,selectedItem:n,onSelectClick:r,onPlacementClick:i})]})}),ee&&(0,V.jsx)(bD,{dangerouslySetInnerHTML:{__html:uh(l)}}),N&&(0,V.jsx)(CD,{labels:{hidden:pD.t(`common:showRationale`,{lng:f}),visible:pD.t(`common:hideRationale`,{lng:f})},children:(0,V.jsx)(uD,{prompt:e.rationale})}),e.correctness&&e.feedback&&!a&&(0,V.jsx)(fD,{correctness:e.correctness,feedback:e.feedback}),(0,V.jsx)(EE,{title:j,text:A,open:o,onCloseText:M,onClose:()=>this.setState({showMaxChoiceAlert:!1})})]})}},vD=class extends B.Component{static propTypes={model:z.object,session:z.shape({answers:z.arrayOf(z.shape({choice:z.string,category:z.string}))}),onAnswersChange:z.func.isRequired,onShowCorrectToggle:z.func.isRequired,pauseMathObserver:z.func,resumeMathObserver:z.func};constructor(e){super(e),this.uid=Pw(),this.state={activeDragItem:null,isValidDrop:!1,selectedItem:null},this.lastDragEndAt=0,this.isInternalDragCancel=!1,this.dragCollision=Rw({detect:eD,modifiers:[FS]})}onDragStart=e=>{let{active:t}=e,{pauseMathObserver:n}=this.props;n&&n(),t?.data?.current&&this.setState({activeDragItem:t.data.current,isValidDrop:!1,selectedItem:t.data.current})};commitPlacement=(e,t)=>{this.categorizeRef&&(t===void 0||t===`choices-board`?e.categoryId&&this.categorizeRef.removeChoice&&this.categorizeRef.removeChoice(e):this.categorizeRef.dropChoice&&this.categorizeRef.dropChoice(t,e))};onDragEnd=e=>{let{active:t,over:n}=e,{resumeMathObserver:r}=this.props,i=t?.data?.current,a=n?.data?.current,o=n&&t&&i&&i.type===`choice`&&a&&a.itemType===`categorize`;if(this.setState({activeDragItem:null,isValidDrop:o,selectedItem:null}),r&&r(),this.lastDragEndAt=Date.now(),!t||!i||i.type!==`choice`)return;let s={id:i.id,categoryId:i.categoryId,choiceIndex:i.choiceIndex,value:i.value,itemType:i.itemType};this.commitPlacement(s,n?n.id:void 0)};onDragCancel=()=>{let{resumeMathObserver:e}=this.props;this.setState({activeDragItem:null,isValidDrop:!1,selectedItem:null}),e&&e(),this.isInternalDragCancel?this.isInternalDragCancel=!1:this.lastDragEndAt=Date.now()};isSameItem=(e,t)=>!!e&&!!t&&e.id===t.id&&e.categoryId===t.categoryId&&e.choiceIndex===t.choiceIndex;toggleItemSelection=e=>{this.setState(t=>({selectedItem:this.isSameItem(t.selectedItem,e)?null:e}))};cancelSelection=()=>{this.setState({selectedItem:null})};endAnyLiveKeyboardDrag=()=>{this.state.activeDragItem&&(this.isInternalDragCancel=!0,document.dispatchEvent(new KeyboardEvent(`keydown`,{code:`Escape`,bubbles:!0,cancelable:!0})),this.isInternalDragCancel=!1)};placeSelectedItem=e=>{let{selectedItem:t}=this.state;t&&(this.commitPlacement(t,e),this.cancelSelection(),this.endAnyLiveKeyboardDrag())};isClickSoonAfterDragEnd=()=>Date.now()-this.lastDragEndAt<hD;onItemClick=e=>{this.isClickSoonAfterDragEnd()||(this.endAnyLiveKeyboardDrag(),this.toggleItemSelection(e))};onPlacementClick=e=>{this.isClickSoonAfterDragEnd()||this.placeSelectedItem(e)};renderDragOverlay=()=>{let{activeDragItem:e}=this.state,{model:t}=this.props;if(!e)return null;if(e.type===`choice`){let n=t.choices?.find(t=>t.id===e.id);if(n)return(0,V.jsx)(RE,{id:n.id,...n},n.id)}return null};render(){let{isValidDrop:e,selectedItem:t}=this.state,n=e?null:void 0;return(0,V.jsx)(jw,{onDragStart:this.onDragStart,onDragEnd:this.onDragEnd,onDragCancel:this.onDragCancel,keyboardCoordinateGetter:nD,keyboardCodes:{start:[`Space`,`Enter`],cancel:[`Escape`],end:[`Space`,`Enter`]},collisionDetection:this.dragCollision.collisionDetection,modifiers:this.dragCollision.modifiers,children:(0,V.jsxs)(Nw,{value:this.uid,children:[(0,V.jsx)(_D,{ref:e=>this.categorizeRef=e,...this.props,selectedItem:t,onSelectClick:this.onItemClick,onPlacementClick:this.onPlacementClick}),(0,V.jsx)(NS,{dropAnimation:n,children:(0,V.jsx)(gD,{children:this.renderDragOverlay()})})]})})}},yD=J(lD)({color:hh(),backgroundColor:Lh(),position:`relative`}),bD=J(`div`)(({theme:e})=>({marginBottom:e.spacing(2)})),xD=J(`div`)(({theme:e})=>({marginBottom:e.spacing(1),maxWidth:`100%`,overflowX:`auto`,overflowY:`hidden`})),SD=J(`div`)(()=>({display:`flex`,minWidth:`min-content`})),CD=J(dD)(({theme:e})=>({paddingBottom:e.spacing(2)})),wD=g();function TD(e){return typeof e==`function`||typeof e==`object`&&!!e&&typeof e.$$typeof==`symbol`}function ED(e,t){return!e||TD(e)?e:TD(e.default)?e.default:t&&TD(e[t])?e[t]:t&&TD(e[t]?.default)?e[t].default:e}var DD=Ay,OD=DD.default,kD=OD&&typeof OD==`object`?OD:DD,AD=ED(`data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAJYAyADAREAAhEBAxEB/8QAHgABAQABBQEBAQAAAAAAAAAAAAEIAgMGBwkEBQr/xABiEAACAQIDBAMKCAYMCgYLAQAAAQIDEQQFIQYSMUEHCFETFRYiUmFxkdHhCRRjgaGisfAXMjRTcsEjJDY4QmJ1dpKztMQYMzdEVIKyw9PxQ1hmc3SWJzVFRlZXhJOUldJk/8QAGwEBAQADAQEBAAAAAAAAAAAAAAcEBQYCAQP/xABBEQEAAQIDAgkJBgUFAQEBAAAAAQIDBAYRBSESMUFEYXGCscITNDVRcoGRocEUIjJS0eEVI2KSsjNCU6LwFtLx/9oADAMBAAIRAxEAPwD1TAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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7K7u+YFAAAAAABHezsrvkBQAAAAAAAAET46Wt9IFAAAAAAAAARO4FAAAAAABLK97armBQJdXtfV8gKAAAAIlYCgAAAAAAiXHW9/oAoAAAAAAI72dnZ8gKAAAAAAAAAivZXVnzAoAAAAAAAEb4aXv8AQBQAAAAAARXsrqz5gUAAAAAAAAAAARuybSv5gFle9tXzAoAAAAAAAAABLa3AoETvfzAUAAAAAAAABErc7gUAAAiaeqdwKAAAAAACK+t36AKAAAAAAAAAAAI72dld8gKAAAAAAAAAAAAEsr3tq+YBO6Tat5gKAAAAAAAAAjVwKAAjdrecCgAAAAAAARrhra30gUAAAARtLVuwFAAAAAAAAAAAAAAAltbgUCJ3SbVvMBQAAAAAAAAAAAAltb3+YCgAI3ZNvkBQAAAAAAAAAAAAivzYFAAAAETTuk+HECgAAAAAAAAJZXvbVcwCvrdegCgAAAAAAAAAAAAAltbgUCN2TaV/MBQAAAAAAAAAAAAjV+dgKAAAAIndJrmBQAAAAAAAAACO+ln6QKAAAAAEaTs2uHACgAAAAAAAAAEbSTbdkuLAoEd+SAoAAAAjVwKAAAAAAAAAAAAAABG+Gl7/AEAUAAAltb3+YCgAAAAAAAAAAAAAAAAETuk1zAoE1vx0AoAAAAARJLRKwFAAAAAAAAAAAEbSTbdkuLAoEV+aAoAABLa3AoAAAAAAAAAAAAAAACJ8dLW+kCgAJbW9/mAoAAAAARtKyb48AKAAAAAAAAAAAAEStzuBQAACX1tb5wKAAAAAAAAAAAAAAAAiSSSSslwQFAmt+OgFAAAAACJ3AoAAAAAAAAAAAARq9vMBQAACa34aAUAAAAAAETTuk+HECgAAAAAAAAAEavzsBQAAABG7crgUAAAAAAAAAAAAAACJJXaXHiBQAE1vx0AoAAAAAf/Z`,`EnableAudioAutoplayImage`)||ED(kD.EnableAudioAutoplayImage,`EnableAudioAutoplayImage`),jD=class extends HTMLElement{constructor(){super(),this.promptAudio=new Bm({session:()=>this._session,writeSession:e=>this._session&&Object.assign(this._session,e),announce:()=>this.dispatchEvent(new My(this.tagName.toLowerCase(),this.isComplete()))}),this._promptAudioWatcher=new qm({root:this,tracker:this.promptAudio,settings:()=>this._model,enableAudioImage:AD}),this._root=null,this._mathObserver=null,this._mathRenderPending=!1}_scheduleMathRender=()=>{this._mathRenderPending||(this._mathRenderPending=!0,requestAnimationFrame(()=>{this._mathObserver&&!this._mathObserverPaused&&this._mathObserver.disconnect(),Wn(this),this._mathRenderPending=!1,setTimeout(()=>{this._mathObserver&&!this._mathObserverPaused&&this._mathObserver.observe(this,{childList:!0,subtree:!0,characterData:!1})},50)}))};_initMathObserver(){this._mathObserver||(this._mathObserver=new MutationObserver(()=>{this._scheduleMathRender()}),this._mathObserver.observe(this,{childList:!0,subtree:!0,characterData:!1}))}_disconnectMathObserver(){this._mathObserver&&=(this._mathObserver.disconnect(),null)}pauseMathObserver=()=>{this._mathObserver&&(this._mathObserver.disconnect(),this._mathObserverPaused=!0)};resumeMathObserver=()=>{this._mathObserverPaused&&(this._mathObserverPaused=!1,this._mathObserver&&this._mathObserver.observe(this,{childList:!0,subtree:!0,characterData:!1}))};set model(e){this._model=e,this.eliminateBlindAnswersFromSession(),this.dispatchEvent(new jy(this.tagName.toLowerCase(),this.isComplete(),!!this._model)),this.render()}isComplete(){let{choices:e,completeAudioEnabled:t,hasUnplacedChoices:n,possibleResponses:r,responseAreasToBeFilled:i}=this._model||{};if(t&&Wm(this,this.promptAudio)||!this._session||!this._session.answers)return!1;let{answers:a}=this._session;if(!Array.isArray(a))return!1;let o=a.filter(e=>e.choices.length).length>=i;if((e||[]).some(e=>e.categoryCount===0)||n)return o;let s=a.map(e=>e.choices).flat();return(r||[]).some(e=>e.every(e=>s.includes(e)))}set session(e){e&&!e.answers&&(e.answers=[]),this._session=e,this.render()}get session(){return this._session}get audioComplete(){return this.promptAudio.hasEnded}set audioComplete(e){this.promptAudio.markPlayed(!!e)}eliminateBlindAnswersFromSession(){let{answers:e=[]}=this._session||{},{choices:t=[]}=this._model||{},n=t.map(e=>e.id)||[],r=e.map(e=>(e.choices=(e?.choices||[]).filter(e=>n.includes(e)),e));r.length>0&&this.changeAnswers(r)}changeAnswers(e){this._session.answers=e,this._session.selector=`Mouse`,this.dispatchEvent(new My(this.tagName.toLowerCase(),this.isComplete())),this.render()}onShowCorrectToggle(){Wn(this)}connectedCallback(){this._initMathObserver(),this._promptAudioWatcher.connect(),this.render()}disconnectedCallback(){this._disconnectMathObserver(),this._promptAudioWatcher.disconnect(),this._root&&=(this._root.unmount(),null)}render(){if(this._model&&this._session){let e=B.createElement(vD,{model:this._model,session:this._session,onAnswersChange:this.changeAnswers.bind(this),onShowCorrectToggle:this.onShowCorrectToggle.bind(this),pauseMathObserver:this.pauseMathObserver,resumeMathObserver:this.resumeMathObserver});this._root||=(0,wD.createRoot)(this),this._root.render(e)}}};return typeof window<`u`&&!customElements.get(`categorize-element`)&&customElements.define(`categorize-element`,jD),jD})();
|
|
189
|
+
`},vb={onDragStart(e){let{active:t}=e;return`Picked up draggable item `+t.id+`.`},onDragOver(e){let{active:t,over:n}=e;return n?`Draggable item `+t.id+` was moved over droppable area `+n.id+`.`:`Draggable item `+t.id+` is no longer over a droppable area.`},onDragEnd(e){let{active:t,over:n}=e;return n?`Draggable item `+t.id+` was dropped over droppable area `+n.id:`Draggable item `+t.id+` was dropped.`},onDragCancel(e){let{active:t}=e;return`Dragging was cancelled. Draggable item `+t.id+` was dropped.`}};function yb(e){let{announcements:t=vb,container:n,hiddenTextDescribedById:r,screenReaderInstructions:i=_b}=e,{announce:a,announcement:o}=pb(),s=$y(`DndLiveRegion`),[c,l]=(0,B.useState)(!1);if((0,B.useEffect)(()=>{l(!0)},[]),hb((0,B.useMemo)(()=>({onDragStart(e){let{active:n}=e;a(t.onDragStart({active:n}))},onDragMove(e){let{active:n,over:r}=e;t.onDragMove&&a(t.onDragMove({active:n,over:r}))},onDragOver(e){let{active:n,over:r}=e;a(t.onDragOver({active:n,over:r}))},onDragEnd(e){let{active:n,over:r}=e;a(t.onDragEnd({active:n,over:r}))},onDragCancel(e){let{active:n,over:r}=e;a(t.onDragCancel({active:n,over:r}))}}),[a,t])),!c)return null;let u=B.createElement(B.Fragment,null,B.createElement(db,{id:r,value:i.draggable}),B.createElement(fb,{id:s,announcement:o}));return n?(0,Au.createPortal)(u,n):u}var bb;(function(e){e.DragStart=`dragStart`,e.DragMove=`dragMove`,e.DragEnd=`dragEnd`,e.DragCancel=`dragCancel`,e.DragOver=`dragOver`,e.RegisterDroppable=`registerDroppable`,e.SetDroppableDisabled=`setDroppableDisabled`,e.UnregisterDroppable=`unregisterDroppable`})(bb||={});function xb(){}function Sb(e,t){return(0,B.useMemo)(()=>({sensor:e,options:t??{}}),[e,t])}function Cb(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,B.useMemo)(()=>[...t].filter(e=>e!=null),[...t])}var wb=Object.freeze({x:0,y:0});function Tb(e,t){let n=ob(e);if(!n)return`0 0`;let r={x:(n.x-t.left)/t.width*100,y:(n.y-t.top)/t.height*100};return r.x+`% `+r.y+`%`}function Eb(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function Db(e,t){if(!e||e.length===0)return null;let[n]=e;return t?n[t]:n}function Ob(e,t){let n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),a=Math.min(t.top+t.height,e.top+e.height),o=i-r,s=a-n;if(r<i&&n<a){let n=t.width*t.height,r=e.width*e.height,i=o*s,a=i/(n+r-i);return Number(a.toFixed(4))}return 0}var kb=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,i=[];for(let e of r){let{id:r}=e,a=n.get(r);if(a){let n=Ob(a,t);n>0&&i.push({id:r,data:{droppableContainer:e,value:n}})}}return i.sort(Eb)};function Ab(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function jb(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:wb}function Mb(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.reduce((t,n)=>({...t,top:t.top+e*n.y,bottom:t.bottom+e*n.y,left:t.left+e*n.x,right:t.right+e*n.x}),{...t})}}var Nb=Mb(1);function Pb(e){if(e.startsWith(`matrix3d(`)){let t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith(`matrix(`)){let t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function Fb(e,t,n){let r=Pb(t);if(!r)return e;let{scaleX:i,scaleY:a,x:o,y:s}=r,c=e.left-o-(1-i)*parseFloat(n),l=e.top-s-(1-a)*parseFloat(n.slice(n.indexOf(` `)+1)),u=i?e.width/i:e.width,d=a?e.height/a:e.height;return{width:u,height:d,top:l,right:c+u,bottom:l+d,left:c}}var Ib={ignoreTransform:!1};function Lb(e,t){t===void 0&&(t=Ib);let n=e.getBoundingClientRect();if(t.ignoreTransform){let{transform:t,transformOrigin:r}=By(e).getComputedStyle(e);t&&(n=Fb(n,t,r))}let{top:r,left:i,width:a,height:o,bottom:s,right:c}=n;return{top:r,left:i,width:a,height:o,bottom:s,right:c}}function Rb(e){return Lb(e,{ignoreTransform:!0})}function zb(e){let t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function Bb(e,t){return t===void 0&&(t=By(e).getComputedStyle(e)),t.position===`fixed`}function Vb(e,t){t===void 0&&(t=By(e).getComputedStyle(e));let n=/(auto|scroll|overlay)/;return[`overflow`,`overflowX`,`overflowY`].some(e=>{let r=t[e];return typeof r==`string`&&n.test(r)})}function Hb(e,t){let n=[];function r(i){if(t!=null&&n.length>=t||!i)return n;if(Vy(i)&&i.scrollingElement!=null&&!n.includes(i.scrollingElement))return n.push(i.scrollingElement),n;if(!Hy(i)||Uy(i)||n.includes(i))return n;let a=By(e).getComputedStyle(i);return i!==e&&Vb(i,a)&&n.push(i),Bb(i,a)?n:r(i.parentNode)}return e?r(e):n}function Ub(e){let[t]=Hb(e,1);return t??null}function Wb(e){return!Ly||!e?null:Ry(e)?e:zy(e)?Vy(e)||e===Wy(e).scrollingElement?window:Hy(e)?e:null:null}function Gb(e){return Ry(e)?e.scrollX:e.scrollLeft}function Kb(e){return Ry(e)?e.scrollY:e.scrollTop}function qb(e){return{x:Gb(e),y:Kb(e)}}var Jb;(function(e){e[e.Forward=1]=`Forward`,e[e.Backward=-1]=`Backward`})(Jb||={});function Yb(e){return!Ly||!e?!1:e===document.scrollingElement}function Xb(e){let t={x:0,y:0},n=Yb(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=r.y,isRight:e.scrollLeft>=r.x,maxScroll:r,minScroll:t}}var Zb={x:.2,y:.2};function Qb(e,t,n,r,i){let{top:a,left:o,right:s,bottom:c}=n;r===void 0&&(r=10),i===void 0&&(i=Zb);let{isTop:l,isBottom:u,isLeft:d,isRight:f}=Xb(e),p={x:0,y:0},m={x:0,y:0},h={height:t.height*i.y,width:t.width*i.x};return!l&&a<=t.top+h.height?(p.y=Jb.Backward,m.y=r*Math.abs((t.top+h.height-a)/h.height)):!u&&c>=t.bottom-h.height&&(p.y=Jb.Forward,m.y=r*Math.abs((t.bottom-h.height-c)/h.height)),!f&&s>=t.right-h.width?(p.x=Jb.Forward,m.x=r*Math.abs((t.right-h.width-s)/h.width)):!d&&o<=t.left+h.width&&(p.x=Jb.Backward,m.x=r*Math.abs((t.left+h.width-o)/h.width)),{direction:p,speed:m}}function $b(e){if(e===document.scrollingElement){let{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}let{top:t,left:n,right:r,bottom:i}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:i,width:e.clientWidth,height:e.clientHeight}}function ex(e){return e.reduce((e,t)=>tb(e,qb(t)),wb)}function tx(e){return e.reduce((e,t)=>e+Gb(t),0)}function nx(e){return e.reduce((e,t)=>e+Kb(t),0)}function rx(e,t){if(t===void 0&&(t=Lb),!e)return;let{top:n,left:r,bottom:i,right:a}=t(e);Ub(e)&&(i<=0||a<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:`center`,inline:`center`})}var ix=[[`x`,[`left`,`right`],tx],[`y`,[`top`,`bottom`],nx]],ax=class{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;let n=Hb(t),r=ex(n);this.rect={...e},this.width=e.width,this.height=e.height;for(let[e,t,i]of ix)for(let a of t)Object.defineProperty(this,a,{get:()=>{let t=i(n),o=r[e]-t;return this.rect[a]+o},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}},ox=class{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(e=>this.target?.removeEventListener(...e))},this.target=e}add(e,t,n){var r;(r=this.target)==null||r.addEventListener(e,t,n),this.listeners.push([e,t,n])}};function sx(e){let{EventTarget:t}=By(e);return e instanceof t?e:Wy(e)}function cx(e,t){let n=Math.abs(e.x),r=Math.abs(e.y);return typeof t==`number`?Math.sqrt(n**2+r**2)>t:`x`in t&&`y`in t?n>t.x&&r>t.y:`x`in t?n>t.x:`y`in t&&r>t.y}var lx;(function(e){e.Click=`click`,e.DragStart=`dragstart`,e.Keydown=`keydown`,e.ContextMenu=`contextmenu`,e.Resize=`resize`,e.SelectionChange=`selectionchange`,e.VisibilityChange=`visibilitychange`})(lx||={});function ux(e){e.preventDefault()}function dx(e){e.stopPropagation()}var fx;(function(e){e.Space=`Space`,e.Down=`ArrowDown`,e.Right=`ArrowRight`,e.Left=`ArrowLeft`,e.Up=`ArrowUp`,e.Esc=`Escape`,e.Enter=`Enter`,e.Tab=`Tab`})(fx||={});var px={start:[fx.Space,fx.Enter],cancel:[fx.Esc],end:[fx.Space,fx.Enter,fx.Tab]},mx=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case fx.Right:return{...n,x:n.x+25};case fx.Left:return{...n,x:n.x-25};case fx.Down:return{...n,y:n.y+25};case fx.Up:return{...n,y:n.y-25}}},hx=class{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;let{event:{target:t}}=e;this.props=e,this.listeners=new ox(Wy(t)),this.windowListeners=new ox(By(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(lx.Resize,this.handleCancel),this.windowListeners.add(lx.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(lx.Keydown,this.handleKeyDown))}handleStart(){let{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&rx(n),t(wb)}handleKeyDown(e){if(ib(e)){let{active:t,context:n,options:r}=this.props,{keyboardCodes:i=px,coordinateGetter:a=mx,scrollBehavior:o=`smooth`}=r,{code:s}=e;if(i.end.includes(s)){this.handleEnd(e);return}if(i.cancel.includes(s)){this.handleCancel(e);return}let{collisionRect:c}=n.current,l=c?{x:c.left,y:c.top}:wb;this.referenceCoordinates||=l;let u=a(e,{active:t,context:n.current,currentCoordinates:l});if(u){let t=nb(u,l),r={x:0,y:0},{scrollableAncestors:i}=n.current;for(let n of i){let i=e.code,{isTop:a,isRight:s,isLeft:c,isBottom:l,maxScroll:d,minScroll:f}=Xb(n),p=$b(n),m={x:Math.min(i===fx.Right?p.right-p.width/2:p.right,Math.max(i===fx.Right?p.left:p.left+p.width/2,u.x)),y:Math.min(i===fx.Down?p.bottom-p.height/2:p.bottom,Math.max(i===fx.Down?p.top:p.top+p.height/2,u.y))},h=i===fx.Right&&!s||i===fx.Left&&!c,g=i===fx.Down&&!l||i===fx.Up&&!a;if(h&&m.x!==u.x){let e=n.scrollLeft+t.x,a=i===fx.Right&&e<=d.x||i===fx.Left&&e>=f.x;if(a&&!t.y){n.scrollTo({left:e,behavior:o});return}r.x=a?n.scrollLeft-e:i===fx.Right?n.scrollLeft-d.x:n.scrollLeft-f.x,r.x&&n.scrollBy({left:-r.x,behavior:o});break}if(g&&m.y!==u.y){let e=n.scrollTop+t.y,a=i===fx.Down&&e<=d.y||i===fx.Up&&e>=f.y;if(a&&!t.x){n.scrollTo({top:e,behavior:o});return}r.y=a?n.scrollTop-e:i===fx.Down?n.scrollTop-d.y:n.scrollTop-f.y,r.y&&n.scrollBy({top:-r.y,behavior:o});break}}this.handleMove(e,tb(nb(u,this.referenceCoordinates),r))}}}handleMove(e,t){let{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){let{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){let{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}};hx.activators=[{eventName:`onKeyDown`,handler:(e,t,n)=>{let{keyboardCodes:r=px,onActivation:i}=t,{active:a}=n,{code:o}=e.nativeEvent;if(r.start.includes(o)){let t=a.activatorNode.current;return t&&e.target!==t?!1:(e.preventDefault(),i?.({event:e.nativeEvent}),!0)}return!1}}];function gx(e){return!!(e&&`distance`in e)}function _x(e){return!!(e&&`delay`in e)}var vx=class{constructor(e,t,n){n===void 0&&(n=sx(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;let{event:r}=e,{target:i}=r;this.props=e,this.events=t,this.document=Wy(i),this.documentListeners=new ox(this.document),this.listeners=new ox(n),this.windowListeners=new ox(By(i)),this.initialCoordinates=ob(r)??wb,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){let{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:n}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),e.cancel&&this.listeners.add(e.cancel.name,this.handleCancel),this.windowListeners.add(lx.Resize,this.handleCancel),this.windowListeners.add(lx.DragStart,ux),this.windowListeners.add(lx.VisibilityChange,this.handleCancel),this.windowListeners.add(lx.ContextMenu,ux),this.documentListeners.add(lx.Keydown,this.handleKeydown),t){if(n!=null&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(_x(t)){this.timeoutId=setTimeout(this.handleStart,t.delay),this.handlePending(t);return}if(gx(t)){this.handlePending(t);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(e,t){let{active:n,onPending:r}=this.props;r(n,e,this.initialCoordinates,t)}handleStart(){let{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(lx.Click,dx,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(lx.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){let{activated:t,initialCoordinates:n,props:r}=this,{onMove:i,options:{activationConstraint:a}}=r;if(!n)return;let o=ob(e)??wb,s=nb(n,o);if(!t&&a){if(gx(a)){if(a.tolerance!=null&&cx(s,a.tolerance))return this.handleCancel();if(cx(s,a.distance))return this.handleStart()}if(_x(a)&&cx(s,a.tolerance))return this.handleCancel();this.handlePending(a,s)}else e.cancelable&&e.preventDefault(),i(o)}handleEnd(){let{onAbort:e,onEnd:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleCancel(){let{onAbort:e,onCancel:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleKeydown(e){e.code===fx.Esc&&this.handleCancel()}removeTextSelection(){var e;(e=this.document.getSelection())==null||e.removeAllRanges()}},yx={cancel:{name:`pointercancel`},move:{name:`pointermove`},end:{name:`pointerup`}},bx=class extends vx{constructor(e){let{event:t}=e,n=Wy(t.target);super(e,yx,n)}};bx.activators=[{eventName:`onPointerDown`,handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!n.isPrimary||n.button!==0?!1:(r?.({event:n}),!0)}}];var xx={move:{name:`mousemove`},end:{name:`mouseup`}},Sx;(function(e){e[e.RightClick=2]=`RightClick`})(Sx||={});var Cx=class extends vx{constructor(e){super(e,xx,Wy(e.event.target))}};Cx.activators=[{eventName:`onMouseDown`,handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button!==Sx.RightClick&&(r?.({event:n}),!0)}}];var wx={cancel:{name:`touchcancel`},move:{name:`touchmove`},end:{name:`touchend`}},Tx=class extends vx{constructor(e){super(e,wx)}static setup(){return window.addEventListener(wx.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(wx.move.name,e)};function e(){}}};Tx.activators=[{eventName:`onTouchStart`,handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t,{touches:i}=n;return i.length>1?!1:(r?.({event:n}),!0)}}];var Ex;(function(e){e[e.Pointer=0]=`Pointer`,e[e.DraggableRect=1]=`DraggableRect`})(Ex||={});var Dx;(function(e){e[e.TreeOrder=0]=`TreeOrder`,e[e.ReversedTreeOrder=1]=`ReversedTreeOrder`})(Dx||={});function Ox(e){let{acceleration:t,activator:n=Ex.Pointer,canScroll:r,draggingRect:i,enabled:a,interval:o=5,order:s=Dx.TreeOrder,pointerCoordinates:c,scrollableAncestors:l,scrollableAncestorRects:u,delta:d,threshold:f}=e,p=Ax({delta:d,disabled:!a}),[m,h]=qy(),g=(0,B.useRef)({x:0,y:0}),_=(0,B.useRef)({x:0,y:0}),v=(0,B.useMemo)(()=>{switch(n){case Ex.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case Ex.DraggableRect:return i}},[n,i,c]),y=(0,B.useRef)(null),b=(0,B.useCallback)(()=>{let e=y.current;if(!e)return;let t=g.current.x*_.current.x,n=g.current.y*_.current.y;e.scrollBy(t,n)},[]),x=(0,B.useMemo)(()=>s===Dx.TreeOrder?[...l].reverse():l,[s,l]);(0,B.useEffect)(()=>{if(!a||!l.length||!v)h();else{for(let e of x){if(r?.(e)===!1)continue;let n=l.indexOf(e),i=u[n];if(!i)continue;let{direction:a,speed:s}=Qb(e,i,v,t,f);for(let e of[`x`,`y`])p[e][a[e]]||(s[e]=0,a[e]=0);if(s.x>0||s.y>0){h(),y.current=e,m(b,o),g.current=s,_.current=a;return}}g.current={x:0,y:0},_.current={x:0,y:0},h()}},[t,b,r,h,a,o,JSON.stringify(v),JSON.stringify(p),m,l,x,u,JSON.stringify(f)])}var kx={x:{[Jb.Backward]:!1,[Jb.Forward]:!1},y:{[Jb.Backward]:!1,[Jb.Forward]:!1}};function Ax(e){let{delta:t,disabled:n}=e,r=Zy(t);return Yy(e=>{if(n||!r||!e)return kx;let i={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[Jb.Backward]:e.x[Jb.Backward]||i.x===-1,[Jb.Forward]:e.x[Jb.Forward]||i.x===1},y:{[Jb.Backward]:e.y[Jb.Backward]||i.y===-1,[Jb.Forward]:e.y[Jb.Forward]||i.y===1}}},[n,t,r])}function jx(e,t){let n=t==null?void 0:e.get(t),r=n?n.node.current:null;return Yy(e=>t==null?null:r??e??null,[r,t])}function Mx(e,t){return(0,B.useMemo)(()=>e.reduce((e,n)=>{let{sensor:r}=n,i=r.activators.map(e=>({eventName:e.eventName,handler:t(e.handler,n)}));return[...e,...i]},[]),[e,t])}var Nx;(function(e){e[e.Always=0]=`Always`,e[e.BeforeDragging=1]=`BeforeDragging`,e[e.WhileDragging=2]=`WhileDragging`})(Nx||={});var Px;(function(e){e.Optimized=`optimized`})(Px||={});var Fx=new Map;function Ix(e,t){let{dragging:n,dependencies:r,config:i}=t,[a,o]=(0,B.useState)(null),{frequency:s,measure:c,strategy:l}=i,u=(0,B.useRef)(e),d=g(),f=Jy(d),p=(0,B.useCallback)(function(e){e===void 0&&(e=[]),!f.current&&o(t=>t===null?e:t.concat(e.filter(e=>!t.includes(e))))},[f]),m=(0,B.useRef)(null),h=Yy(t=>{if(d&&!n)return Fx;if(!t||t===Fx||u.current!==e||a!=null){let t=new Map;for(let n of e){if(!n)continue;if(a&&a.length>0&&!a.includes(n.id)&&n.rect.current){t.set(n.id,n.rect.current);continue}let e=n.node.current,r=e?new ax(c(e),e):null;n.rect.current=r,r&&t.set(n.id,r)}return t}return t},[e,a,n,d,c]);return(0,B.useEffect)(()=>{u.current=e},[e]),(0,B.useEffect)(()=>{d||p()},[n,d]),(0,B.useEffect)(()=>{a&&a.length>0&&o(null)},[JSON.stringify(a)]),(0,B.useEffect)(()=>{d||typeof s!=`number`||m.current!==null||(m.current=setTimeout(()=>{p(),m.current=null},s))},[s,d,p,...r]),{droppableRects:h,measureDroppableContainers:p,measuringScheduled:a!=null};function g(){switch(l){case Nx.Always:return!1;case Nx.BeforeDragging:return n;default:return!n}}}function Lx(e,t){return Yy(n=>e?n||(typeof t==`function`?t(e):e):null,[t,e])}function Rx(e,t){return Lx(e,t)}function zx(e){let{callback:t,disabled:n}=e,r=Ky(t),i=(0,B.useMemo)(()=>{if(n||typeof window>`u`||window.MutationObserver===void 0)return;let{MutationObserver:e}=window;return new e(r)},[r,n]);return(0,B.useEffect)(()=>()=>i?.disconnect(),[i]),i}function Bx(e){let{callback:t,disabled:n}=e,r=Ky(t),i=(0,B.useMemo)(()=>{if(n||typeof window>`u`||window.ResizeObserver===void 0)return;let{ResizeObserver:e}=window;return new e(r)},[n]);return(0,B.useEffect)(()=>()=>i?.disconnect(),[i]),i}function Vx(e){return new ax(Lb(e),e)}function Hx(e,t,n){t===void 0&&(t=Vx);let[r,i]=(0,B.useState)(null);function a(){i(r=>{if(!e)return null;if(e.isConnected===!1)return r??n??null;let i=t(e);return JSON.stringify(r)===JSON.stringify(i)?r:i})}let o=zx({callback(t){if(e)for(let n of t){let{type:t,target:r}=n;if(t===`childList`&&r instanceof HTMLElement&&r.contains(e)){a();break}}}}),s=Bx({callback:a});return Gy(()=>{a(),e?(s?.observe(e),o?.observe(document.body,{childList:!0,subtree:!0})):(s?.disconnect(),o?.disconnect())},[e]),r}function Ux(e){return jb(e,Lx(e))}var Wx=[];function Gx(e){let t=(0,B.useRef)(e),n=Yy(n=>e?n&&n!==Wx&&e&&t.current&&e.parentNode===t.current.parentNode?n:Hb(e):Wx,[e]);return(0,B.useEffect)(()=>{t.current=e},[e]),n}function Kx(e){let[t,n]=(0,B.useState)(null),r=(0,B.useRef)(e),i=(0,B.useCallback)(e=>{let t=Wb(e.target);t&&n(e=>e?(e.set(t,qb(t)),new Map(e)):null)},[]);return(0,B.useEffect)(()=>{let t=r.current;if(e!==t){a(t);let o=e.map(e=>{let t=Wb(e);return t?(t.addEventListener(`scroll`,i,{passive:!0}),[t,qb(t)]):null}).filter(e=>e!=null);n(o.length?new Map(o):null),r.current=e}return()=>{a(e),a(t)};function a(e){e.forEach(e=>{Wb(e)?.removeEventListener(`scroll`,i)})}},[i,e]),(0,B.useMemo)(()=>e.length?t?Array.from(t.values()).reduce((e,t)=>tb(e,t),wb):ex(e):wb,[e,t])}function qx(e,t){t===void 0&&(t=[]);let n=(0,B.useRef)(null);return(0,B.useEffect)(()=>{n.current=null},t),(0,B.useEffect)(()=>{let t=e!==wb;t&&!n.current&&(n.current=e),!t&&n.current&&(n.current=null)},[e]),n.current?nb(e,n.current):wb}function Jx(e){(0,B.useEffect)(()=>{if(!Ly)return;let t=e.map(e=>{let{sensor:t}=e;return t.setup==null?void 0:t.setup()});return()=>{for(let e of t)e?.()}},e.map(e=>{let{sensor:t}=e;return t}))}function Yx(e,t){return(0,B.useMemo)(()=>e.reduce((e,n)=>{let{eventName:r,handler:i}=n;return e[r]=e=>{i(e,t)},e},{}),[e,t])}function Xx(e){return(0,B.useMemo)(()=>e?zb(e):null,[e])}var Zx=[];function Qx(e,t){t===void 0&&(t=Lb);let[n]=e,r=Xx(n?By(n):null),[i,a]=(0,B.useState)(Zx);function o(){a(()=>e.length?e.map(e=>Yb(e)?r:new ax(t(e),e)):Zx)}let s=Bx({callback:o});return Gy(()=>{s?.disconnect(),o(),e.forEach(e=>s?.observe(e))},[e]),i}function $x(e){if(!e)return null;if(e.children.length>1)return e;let t=e.children[0];return Hy(t)?t:e}function eS(e){let{measure:t}=e,[n,r]=(0,B.useState)(null),i=Bx({callback:(0,B.useCallback)(e=>{for(let{target:n}of e)if(Hy(n)){r(e=>{let r=t(n);return e?{...e,width:r.width,height:r.height}:r});break}},[t])}),[a,o]=Xy((0,B.useCallback)(e=>{let n=$x(e);i?.disconnect(),n&&i?.observe(n),r(n?t(n):null)},[t,i]));return(0,B.useMemo)(()=>({nodeRef:a,rect:n,setRef:o}),[n,a,o])}var tS=[{sensor:bx,options:{}},{sensor:hx,options:{}}],nS={current:{}},rS={draggable:{measure:Rb},droppable:{measure:Rb,strategy:Nx.WhileDragging,frequency:Px.Optimized},dragOverlay:{measure:Lb}},iS=class extends Map{get(e){return e==null?void 0:super.get(e)??void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(e=>{let{disabled:t}=e;return!t})}getNodeFor(e){return this.get(e)?.node.current??void 0}},aS={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new iS,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:xb},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:rS,measureDroppableContainers:xb,windowRect:null,measuringScheduled:!1},oS={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:``},dispatch:xb,draggableNodes:new Map,over:null,measureDroppableContainers:xb},sS=(0,B.createContext)(oS),cS=(0,B.createContext)(aS);function lS(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new iS}}}function uS(e,t){switch(t.type){case bb.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case bb.DragMove:return e.draggable.active==null?e:{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case bb.DragEnd:case bb.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case bb.RegisterDroppable:{let{element:n}=t,{id:r}=n,i=new iS(e.droppable.containers);return i.set(r,n),{...e,droppable:{...e.droppable,containers:i}}}case bb.SetDroppableDisabled:{let{id:n,key:r,disabled:i}=t,a=e.droppable.containers.get(n);if(!a||r!==a.key)return e;let o=new iS(e.droppable.containers);return o.set(n,{...a,disabled:i}),{...e,droppable:{...e.droppable,containers:o}}}case bb.UnregisterDroppable:{let{id:n,key:r}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;let a=new iS(e.droppable.containers);return a.delete(n),{...e,droppable:{...e.droppable,containers:a}}}default:return e}}function dS(e){let{disabled:t}=e,{active:n,activatorEvent:r,draggableNodes:i}=(0,B.useContext)(sS),a=Zy(r),o=Zy(n?.id);return(0,B.useEffect)(()=>{if(!t&&!r&&a&&o!=null){if(!ib(a)||document.activeElement===a.target)return;let e=i.get(o);if(!e)return;let{activatorNode:t,node:n}=e;if(!t.current&&!n.current)return;requestAnimationFrame(()=>{for(let e of[t.current,n.current]){if(!e)continue;let t=lb(e);if(t){t.focus();break}}})}},[r,t,i,o,a]),null}function fS(e,t){let{transform:n,...r}=t;return e!=null&&e.length?e.reduce((e,t)=>t({transform:e,...r}),n):n}function pS(e){return(0,B.useMemo)(()=>({draggable:{...rS.draggable,...e?.draggable},droppable:{...rS.droppable,...e?.droppable},dragOverlay:{...rS.dragOverlay,...e?.dragOverlay}}),[e?.draggable,e?.droppable,e?.dragOverlay])}function mS(e){let{activeNode:t,measure:n,initialRect:r,config:i=!0}=e,a=(0,B.useRef)(!1),{x:o,y:s}=typeof i==`boolean`?{x:i,y:i}:i;Gy(()=>{if(!o&&!s||!t){a.current=!1;return}if(a.current||!r)return;let e=t?.node.current;if(!e||e.isConnected===!1)return;let i=jb(n(e),r);if(o||(i.x=0),s||(i.y=0),a.current=!0,Math.abs(i.x)>0||Math.abs(i.y)>0){let t=Ub(e);t&&t.scrollBy({top:i.y,left:i.x})}},[t,o,s,r,n])}var hS=(0,B.createContext)({...wb,scaleX:1,scaleY:1}),gS;(function(e){e[e.Uninitialized=0]=`Uninitialized`,e[e.Initializing=1]=`Initializing`,e[e.Initialized=2]=`Initialized`})(gS||={});var _S=(0,B.memo)(function(e){let{id:t,accessibility:n,autoScroll:r=!0,children:i,sensors:a=tS,collisionDetection:o=kb,measuring:s,modifiers:c,...l}=e,[u,d]=(0,B.useReducer)(uS,void 0,lS),[f,p]=gb(),[m,h]=(0,B.useState)(gS.Uninitialized),g=m===gS.Initialized,{draggable:{active:_,nodes:v,translate:y},droppable:{containers:b}}=u,x=_==null?null:v.get(_),S=(0,B.useRef)({initial:null,translated:null}),C=(0,B.useMemo)(()=>_==null?null:{id:_,data:x?.data??nS,rect:S},[_,x]),w=(0,B.useRef)(null),[T,E]=(0,B.useState)(null),[D,O]=(0,B.useState)(null),k=Jy(l,Object.values(l)),ee=$y(`DndDescribedBy`,t),A=(0,B.useMemo)(()=>b.getEnabled(),[b]),j=pS(s),{droppableRects:M,measureDroppableContainers:N,measuringScheduled:te}=Ix(A,{dragging:g,dependencies:[y.x,y.y],config:j.droppable}),P=jx(v,_),ne=(0,B.useMemo)(()=>D?ob(D):null,[D]),re=je(),F=Rx(P,j.draggable.measure);mS({activeNode:_==null?null:v.get(_),config:re.layoutShiftCompensation,initialRect:F,measure:j.draggable.measure});let ie=Hx(P,j.draggable.measure,F),ae=Hx(P?P.parentElement:null),I=(0,B.useRef)({activatorEvent:null,active:null,activeNode:P,collisionRect:null,collisions:null,droppableRects:M,draggableNodes:v,draggingNode:null,draggingNodeRect:null,droppableContainers:b,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),oe=b.getNodeFor(I.current.over?.id),se=eS({measure:j.dragOverlay.measure}),ce=se.nodeRef.current??P,le=g?se.rect??ie:null,ue=!!(se.nodeRef.current&&se.rect),de=Ux(ue?null:ie),fe=Xx(ce?By(ce):null),pe=Gx(g?oe??P:null),me=Qx(pe),L=fS(c,{transform:{x:y.x-de.x,y:y.y-de.y,scaleX:1,scaleY:1},activatorEvent:D,active:C,activeNodeRect:ie,containerNodeRect:ae,draggingNodeRect:le,over:I.current.over,overlayNodeRect:se.rect,scrollableAncestors:pe,scrollableAncestorRects:me,windowRect:fe}),he=ne?tb(ne,y):null,ge=Kx(pe),_e=qx(ge),ve=qx(ge,[ie]),ye=tb(L,_e),be=le?Nb(le,L):null,xe=C&&be?o({active:C,collisionRect:be,droppableRects:M,droppableContainers:A,pointerCoordinates:he}):null,Se=Db(xe,`id`),[Ce,we]=(0,B.useState)(null),Te=Ab(ue?L:tb(L,ve),Ce?.rect??null,ie),Ee=(0,B.useRef)(null),De=(0,B.useCallback)((e,t)=>{let{sensor:n,options:r}=t;if(w.current==null)return;let i=v.get(w.current);if(!i)return;let a=e.nativeEvent,o=new n({active:w.current,activeNode:i,event:a,options:r,context:I,onAbort(e){if(!v.get(e))return;let{onDragAbort:t}=k.current,n={id:e};t?.(n),f({type:`onDragAbort`,event:n})},onPending(e,t,n,r){if(!v.get(e))return;let{onDragPending:i}=k.current,a={id:e,constraint:t,initialCoordinates:n,offset:r};i?.(a),f({type:`onDragPending`,event:a})},onStart(e){let t=w.current;if(t==null)return;let n=v.get(t);if(!n)return;let{onDragStart:r}=k.current,i={activatorEvent:a,active:{id:t,data:n.data,rect:S}};(0,Au.unstable_batchedUpdates)(()=>{r?.(i),h(gS.Initializing),d({type:bb.DragStart,initialCoordinates:e,active:t}),f({type:`onDragStart`,event:i}),E(Ee.current),O(a)})},onMove(e){d({type:bb.DragMove,coordinates:e})},onEnd:s(bb.DragEnd),onCancel:s(bb.DragCancel)});Ee.current=o;function s(e){return async function(){let{active:t,collisions:n,over:r,scrollAdjustedTranslate:i}=I.current,o=null;if(t&&i){let{cancelDrop:s}=k.current;o={activatorEvent:a,active:t,collisions:n,delta:i,over:r},e===bb.DragEnd&&typeof s==`function`&&await Promise.resolve(s(o))&&(e=bb.DragCancel)}w.current=null,(0,Au.unstable_batchedUpdates)(()=>{d({type:e}),h(gS.Uninitialized),we(null),E(null),O(null),Ee.current=null;let t=e===bb.DragEnd?`onDragEnd`:`onDragCancel`;if(o){let e=k.current[t];e?.(o),f({type:t,event:o})}})}}},[v]),Oe=Mx(a,(0,B.useCallback)((e,t)=>(n,r)=>{let i=n.nativeEvent,a=v.get(r);if(w.current!==null||!a||i.dndKit||i.defaultPrevented)return;let o={active:a};e(n,t.options,o)===!0&&(i.dndKit={capturedBy:t.sensor},w.current=r,De(n,t))},[v,De]));Jx(a),Gy(()=>{ie&&m===gS.Initializing&&h(gS.Initialized)},[ie,m]),(0,B.useEffect)(()=>{let{onDragMove:e}=k.current,{active:t,activatorEvent:n,collisions:r,over:i}=I.current;if(!t||!n)return;let a={active:t,activatorEvent:n,collisions:r,delta:{x:ye.x,y:ye.y},over:i};(0,Au.unstable_batchedUpdates)(()=>{e?.(a),f({type:`onDragMove`,event:a})})},[ye.x,ye.y]),(0,B.useEffect)(()=>{let{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjustedTranslate:i}=I.current;if(!e||w.current==null||!t||!i)return;let{onDragOver:a}=k.current,o=r.get(Se),s=o&&o.rect.current?{id:o.id,rect:o.rect.current,data:o.data,disabled:o.disabled}:null,c={active:e,activatorEvent:t,collisions:n,delta:{x:i.x,y:i.y},over:s};(0,Au.unstable_batchedUpdates)(()=>{we(s),a?.(c),f({type:`onDragOver`,event:c})})},[Se]),Gy(()=>{I.current={activatorEvent:D,active:C,activeNode:P,collisionRect:be,collisions:xe,droppableRects:M,draggableNodes:v,draggingNode:ce,draggingNodeRect:le,droppableContainers:b,over:Ce,scrollableAncestors:pe,scrollAdjustedTranslate:ye},S.current={initial:le,translated:be}},[C,P,xe,be,v,ce,le,M,b,Ce,pe,ye]),Ox({...re,delta:y,draggingRect:be,pointerCoordinates:he,scrollableAncestors:pe,scrollableAncestorRects:me});let ke=(0,B.useMemo)(()=>({active:C,activeNode:P,activeNodeRect:ie,activatorEvent:D,collisions:xe,containerNodeRect:ae,dragOverlay:se,draggableNodes:v,droppableContainers:b,droppableRects:M,over:Ce,measureDroppableContainers:N,scrollableAncestors:pe,scrollableAncestorRects:me,measuringConfiguration:j,measuringScheduled:te,windowRect:fe}),[C,P,ie,D,xe,ae,se,v,b,M,Ce,N,pe,me,j,te,fe]),Ae=(0,B.useMemo)(()=>({activatorEvent:D,activators:Oe,active:C,activeNodeRect:ie,ariaDescribedById:{draggable:ee},dispatch:d,draggableNodes:v,over:Ce,measureDroppableContainers:N}),[D,Oe,C,ie,d,ee,v,Ce,N]);return B.createElement(mb.Provider,{value:p},B.createElement(sS.Provider,{value:Ae},B.createElement(cS.Provider,{value:ke},B.createElement(hS.Provider,{value:Te},i)),B.createElement(dS,{disabled:n?.restoreFocus===!1})),B.createElement(yb,{...n,hiddenTextDescribedById:ee}));function je(){let e=T?.autoScrollEnabled===!1,t=typeof r==`object`?r.enabled===!1:r===!1,n=g&&!e&&!t;return typeof r==`object`?{...r,enabled:n}:{enabled:n}}}),vS=(0,B.createContext)(null),yS=`button`,bS=`Draggable`;function xS(e){let{id:t,data:n,disabled:r=!1,attributes:i}=e,a=$y(bS),{activators:o,activatorEvent:s,active:c,activeNodeRect:l,ariaDescribedById:u,draggableNodes:d,over:f}=(0,B.useContext)(sS),{role:p=yS,roleDescription:m=`draggable`,tabIndex:h=0}=i??{},g=c?.id===t,_=(0,B.useContext)(g?hS:vS),[v,y]=Xy(),[b,x]=Xy(),S=Yx(o,t),C=Jy(n);return Gy(()=>(d.set(t,{id:t,key:a,node:v,activatorNode:b,data:C}),()=>{let e=d.get(t);e&&e.key===a&&d.delete(t)}),[d,t]),{active:c,activatorEvent:s,activeNodeRect:l,attributes:(0,B.useMemo)(()=>({role:p,tabIndex:h,"aria-disabled":r,"aria-pressed":g&&p===yS?!0:void 0,"aria-roledescription":m,"aria-describedby":u.draggable}),[r,p,h,g,m,u.draggable]),isDragging:g,listeners:r?void 0:S,node:v,over:f,setNodeRef:y,setActivatorNodeRef:x,transform:_}}function SS(){return(0,B.useContext)(cS)}var CS=`Droppable`,wS={timeout:25};function TS(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:i}=e,a=$y(CS),{active:o,dispatch:s,over:c,measureDroppableContainers:l}=(0,B.useContext)(sS),u=(0,B.useRef)({disabled:n}),d=(0,B.useRef)(!1),f=(0,B.useRef)(null),p=(0,B.useRef)(null),{disabled:m,updateMeasurementsFor:h,timeout:g}={...wS,...i},_=Jy(h??r),v=Bx({callback:(0,B.useCallback)(()=>{d.current?(p.current!=null&&clearTimeout(p.current),p.current=setTimeout(()=>{l(Array.isArray(_.current)?_.current:[_.current]),p.current=null},g)):d.current=!0},[g]),disabled:m||!o}),[y,b]=Xy((0,B.useCallback)((e,t)=>{v&&(t&&(v.unobserve(t),d.current=!1),e&&v.observe(e))},[v])),x=Jy(t);return(0,B.useEffect)(()=>{v&&y.current&&(v.disconnect(),d.current=!1,v.observe(y.current))},[y,v]),(0,B.useEffect)(()=>(s({type:bb.RegisterDroppable,element:{id:r,key:a,disabled:n,node:y,rect:f,data:x}}),()=>s({type:bb.UnregisterDroppable,key:a,id:r})),[r]),(0,B.useEffect)(()=>{n!==u.current.disabled&&(s({type:bb.SetDroppableDisabled,id:r,key:a,disabled:n}),u.current.disabled=n)},[r,a,n,s]),{active:o,rect:f,isOver:c?.id===r,node:y,over:c,setNodeRef:b}}function ES(e){let{animation:t,children:n}=e,[r,i]=(0,B.useState)(null),[a,o]=(0,B.useState)(null),s=Zy(n);return!n&&!r&&s&&i(s),Gy(()=>{if(!a)return;let e=r?.key,n=r?.props.id;e==null||n==null?i(null):Promise.resolve(t(n,a)).then(()=>{i(null)})},[t,r,a]),B.createElement(B.Fragment,null,n,r?(0,B.cloneElement)(r,{ref:o}):null)}var DS={x:0,y:0,scaleX:1,scaleY:1};function OS(e){let{children:t}=e;return B.createElement(sS.Provider,{value:oS},B.createElement(hS.Provider,{value:DS},t))}var kS={position:`fixed`,touchAction:`none`},AS=e=>ib(e)?`transform 250ms ease`:void 0,jS=(0,B.forwardRef)((e,t)=>{let{as:n,activatorEvent:r,adjustScale:i,children:a,className:o,rect:s,style:c,transform:l,transition:u=AS}=e;if(!s)return null;let d=i?l:{...l,scaleX:1,scaleY:1},f={...kS,width:s.width,height:s.height,top:s.top,left:s.left,transform:sb.Transform.toString(d),transformOrigin:i&&r?Tb(r,s):void 0,transition:typeof u==`function`?u(r):u,...c};return B.createElement(n,{className:o,style:f,ref:t},a)}),MS={duration:250,easing:`ease`,keyframes:e=>{let{transform:{initial:t,final:n}}=e;return[{transform:sb.Transform.toString(t)},{transform:sb.Transform.toString(n)}]},sideEffects:(e=>t=>{let{active:n,dragOverlay:r}=t,i={},{styles:a,className:o}=e;if(a!=null&&a.active)for(let[e,t]of Object.entries(a.active))t!==void 0&&(i[e]=n.node.style.getPropertyValue(e),n.node.style.setProperty(e,t));if(a!=null&&a.dragOverlay)for(let[e,t]of Object.entries(a.dragOverlay))t!==void 0&&r.node.style.setProperty(e,t);return o!=null&&o.active&&n.node.classList.add(o.active),o!=null&&o.dragOverlay&&r.node.classList.add(o.dragOverlay),function(){for(let[e,t]of Object.entries(i))n.node.style.setProperty(e,t);o!=null&&o.active&&n.node.classList.remove(o.active)}})({styles:{active:{opacity:`0`}}})};function NS(e){let{config:t,draggableNodes:n,droppableContainers:r,measuringConfiguration:i}=e;return Ky((e,a)=>{if(t===null)return;let o=n.get(e);if(!o)return;let s=o.node.current;if(!s)return;let c=$x(a);if(!c)return;let{transform:l}=By(a).getComputedStyle(a),u=Pb(l);if(!u)return;let d=typeof t==`function`?t:PS(t);return rx(s,i.draggable.measure),d({active:{id:e,data:o.data,node:s,rect:i.draggable.measure(s)},draggableNodes:n,dragOverlay:{node:a,rect:i.dragOverlay.measure(c)},droppableContainers:r,measuringConfiguration:i,transform:u})})}function PS(e){let{duration:t,easing:n,sideEffects:r,keyframes:i}={...MS,...e};return e=>{let{active:a,dragOverlay:o,transform:s,...c}=e;if(!t)return;let l={x:o.rect.left-a.rect.left,y:o.rect.top-a.rect.top},u={scaleX:s.scaleX===1?1:a.rect.width*s.scaleX/o.rect.width,scaleY:s.scaleY===1?1:a.rect.height*s.scaleY/o.rect.height},d={x:s.x-l.x,y:s.y-l.y,...u},f=i({...c,active:a,dragOverlay:o,transform:{initial:s,final:d}}),[p]=f,m=f[f.length-1];if(JSON.stringify(p)===JSON.stringify(m))return;let h=r?.({active:a,dragOverlay:o,...c}),g=o.node.animate(f,{duration:t,easing:n,fill:`forwards`});return new Promise(e=>{g.onfinish=()=>{h?.(),e()}})}}var FS=0;function IS(e){return(0,B.useMemo)(()=>{if(e!=null)return FS++,FS},[e])}var LS=B.memo(e=>{let{adjustScale:t=!1,children:n,dropAnimation:r,style:i,transition:a,modifiers:o,wrapperElement:s=`div`,className:c,zIndex:l=999}=e,{activatorEvent:u,active:d,activeNodeRect:f,containerNodeRect:p,draggableNodes:m,droppableContainers:h,dragOverlay:g,over:_,measuringConfiguration:v,scrollableAncestors:y,scrollableAncestorRects:b,windowRect:x}=SS(),S=(0,B.useContext)(hS),C=IS(d?.id),w=fS(o,{activatorEvent:u,active:d,activeNodeRect:f,containerNodeRect:p,draggingNodeRect:g.rect,over:_,overlayNodeRect:g.rect,scrollableAncestors:y,scrollableAncestorRects:b,transform:S,windowRect:x}),T=Lx(f),E=NS({config:r,draggableNodes:m,droppableContainers:h,measuringConfiguration:v}),D=T?g.setRef:void 0;return B.createElement(OS,null,B.createElement(ES,{animation:E},d&&C?B.createElement(jS,{key:C,id:d.id,ref:D,as:s,activatorEvent:u,adjustScale:t,className:c,transition:a,rect:T,style:{zIndex:l,...i},transform:w},n):null))});function RS(e,t,n){let r={...e};return t.top+e.y<=n.top?r.y=n.top-t.top:t.bottom+e.y>=n.top+n.height&&(r.y=n.top+n.height-t.bottom),t.left+e.x<=n.left?r.x=n.left-t.left:t.right+e.x>=n.left+n.width&&(r.x=n.left+n.width-t.right),r}var zS=e=>{let{transform:t,draggingNodeRect:n,windowRect:r}=e;return!n||!r?t:RS(t,n,r)},BS=`height ease-in 300ms, opacity ease-in 300ms`,VS=J(`div`)(()=>({position:`relative`,height:0,overflow:`hidden`,display:`flex`,visibility:`hidden`,width:0,"&.enter":{transition:BS,opacity:1,height:`auto`,width:`auto`,visibility:`visible`,minHeight:`25px`},"&.enter-done":{height:`auto`,visibility:`visible`,width:`auto`,minHeight:`25px`},"&.exit":{transition:BS,opacity:0,height:0,visibility:`visible`,width:0},"&.exit-done":{opacity:0,visibility:`hidden`,height:0,width:0}})),HS=e=>{let{show:t,children:n,className:r}=e,i=(0,B.useRef)(null);return(0,V.jsx)(Bu,{nodeRef:i,in:t,appear:!0,mountOnEnter:!1,timeout:300,classNames:{enter:`enter`,enterDone:`enter-done`,exit:`exit`,exitDone:`exit-done`},children:(0,V.jsx)(VS,{ref:i,className:r,children:n})})};HS.propTypes={show:z.bool.isRequired,className:z.string,children:z.oneOfType([z.arrayOf(z.node),z.node]).isRequired};var US=p_({packageName:`@pie-lib/correct-answer-toggle`,source:{showCorrectAnswer:`Show correct answer`,hideCorrectAnswer:`Hide correct answer`},loaders:{}});function WS(e){return typeof e==`function`||typeof e==`object`&&!!e&&typeof e.$$typeof==`symbol`}function GS(e,t){return!e||WS(e)?e:WS(e.default)?e.default:t&&WS(e[t])?e[t]:t&&WS(e[t]?.default)?e[t].default:e}var KS=Py,qS=KS.default,JS=qS&&typeof qS==`object`?qS:KS,YS=GS(iy,`Readable`)||GS(JS.Readable,`Readable`),XS={WebkitTouchCallout:`none`,WebkitUserSelect:`none`,KhtmlUserSelect:`none`,MozUserSelect:`none`,msUserSelect:`none`,userSelect:`none`},ZS=J(`div`)(()=>({width:`100%`,cursor:`pointer`})),QS=J(`button`)(()=>({margin:`0 auto`,textAlign:`center`,display:`flex`,minWidth:`24px`,minHeight:`24px`,padding:0,border:0,background:`none`,color:`inherit`,font:`inherit`,cursor:`pointer`,"&:focus-visible":{outline:`2px solid ${ig()}`,outlineOffset:`-2px`}})),$S=J(`div`)(()=>({width:`fit-content`,minWidth:`140px`,alignSelf:`center`,verticalAlign:`middle`,color:`var(--correct-answer-toggle-label-color, ${hh()})`,fontWeight:`normal`,...XS})),eC=J(`div`)(()=>({position:`absolute`,width:`25px`,"&.enter":{opacity:`0`},"&.enter-active":{opacity:`1`,transition:`opacity 0.3s ease-in`},"&.exit":{opacity:`1`},"&.exit-active":{opacity:`0`,transition:`opacity 0.3s ease-in`}})),tC=J(`div`)(()=>({width:`25px`,marginRight:`5px`,display:`flex`,alignItems:`center`})),nC=class extends B.Component{static propTypes={onToggle:z.func,toggled:z.bool,show:z.bool,hideMessage:z.string,showMessage:z.string,className:z.string,language:z.string};static defaultProps={show:!1,toggled:!1};constructor(e){super(e),this.state={show:e.show},this.openIconRef=B.createRef(),this.closedIconRef=B.createRef()}relabel=()=>this.forceUpdate();onClick(){this.props.onToggle(!this.props.toggled)}onTouch(e){e.preventDefault(),this.props.onToggle(!this.props.toggled)}UNSAFE_componentWillReceiveProps(e){this.setState({show:e.show})}render(){let{className:e,toggled:t,language:n}=this.props,r=US.forLocale(n,this.relabel),i=this.props.hideMessage??r.t(`hideCorrectAnswer`),a=this.props.showMessage??r.t(`showCorrectAnswer`),o=h_(n);return(0,V.jsx)(ZS,{className:e,...o,children:(0,V.jsx)(HS,{show:this.state.show,children:(0,V.jsxs)(QS,{type:`button`,"aria-pressed":!!t,onClick:this.onClick.bind(this),onTouchEnd:this.onTouch.bind(this),children:[(0,V.jsxs)(tC,{children:[(0,V.jsx)(Bu,{nodeRef:this.openIconRef,timeout:400,in:t,exit:!t,classNames:{enter:`enter`,enterActive:`enter-active`,exit:`exit`,exitActive:`exit-active`},children:(0,V.jsx)(eC,{ref:this.openIconRef,children:(0,V.jsx)(ql,{open:t},`correct-open`)})}),(0,V.jsx)(Bu,{nodeRef:this.closedIconRef,timeout:5e3,in:!t,exit:t,classNames:{enter:`enter`,enterActive:`enter-active`,exit:`exit`,exitActive:`exit-active`},children:(0,V.jsx)(eC,{ref:this.closedIconRef,children:(0,V.jsx)(ql,{open:t},`correct-closed`)})})]}),(0,V.jsx)(YS,{false:!0,children:(0,V.jsx)($S,{"aria-hidden":!this.state.show,children:t?i:a})})]})})})}},rC=1,iC=2,aC=4,oC=9007199254740991,sC=`[object Arguments]`,cC=`[object Array]`,lC=`[object ArrayBuffer]`,uC=`[object AsyncFunction]`,dC=`[object Boolean]`,fC=`[object DataView]`,pC=`[object Date]`,mC=`[object Function]`,hC=`[object GeneratorFunction]`,gC=`[object Map]`,_C=`[object Number]`,vC=`[object Object]`,yC=`[object Proxy]`,bC=`[object RegExp]`,xC=`[object Set]`,SC=`[object String]`,CC=`[object Symbol]`,wC=new Set([`Float32`,`Float64`,`Int8`,`Int16`,`Int32`,`Uint8`,`Uint8Clamped`,`Uint16`,`Uint32`].map(e=>`[object ${e}Array]`)),TC=new Set([sC,cC,lC,dC,fC,pC,gC,_C,vC,bC,xC,SC,CC,...wC]),EC=/\w*$/,DC=/^(?:0|[1-9]\d*)$/,OC=Object.prototype,kC=OC.hasOwnProperty,AC=OC.toString,jC=OC.propertyIsEnumerable;Function.prototype.toString.call(Object),Symbol.prototype.toString;var MC=Symbol.prototype.valueOf;function NC(e){return typeof e==`object`&&!!e}function PC(e,t){return e===t||e!==e&&t!==t}function FC(e){let t=kC.call(e,Symbol.toStringTag),n=e[Symbol.toStringTag],r=!1;try{e[Symbol.toStringTag]=void 0,r=!0}catch{}let i=AC.call(e);return r&&(t?e[Symbol.toStringTag]=n:delete e[Symbol.toStringTag]),i}function IC(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Symbol.toStringTag in Object(e)?FC(e):AC.call(e)}function LC(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=oC}function RC(e,t){let n=typeof e,r=t??oC;return!!r&&(n==`number`||n!=`symbol`&&DC.test(e))&&e>-1&&e%1==0&&e<r}function zC(e){return e!=null&&LC(e.length)&&!bw(e)}function BC(e){return NC(e)&&IC(e)==sC}function VC(e){return NC(e)&&LC(e.length)&&wC.has(IC(e))}function HC(e){return NC(e)&&IC(e)==gC}function UC(e){return NC(e)&&IC(e)==xC}function WC(e){let t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||OC)}function GC(e,t){let n=-1,r=e==null?0:e.length;for(;++n<r&&t(e[n],n,e)!==!1;);return e}function KC(e,t){let n=-1,{length:r}=t,i=e.length;for(;++n<r;)e[i+n]=t[n];return e}function qC(e,t){let n=-1,r=Array(e);for(;++n<e;)r[n]=t(n);return r}function JC(e,t){let n=-1,{length:r}=e,i=t||Array(r);for(;++n<r;)i[n]=e[n];return i}function YC(e,t){let n=Array.isArray(e),r=!n&&BC(e),i=!n&&!r&&VC(e),a=n||r||i,o=a?qC(e.length,String):[],{length:s}=o;for(let n in e)(t||kC.call(e,n))&&!(a&&(n==`length`||i&&(n==`buffer`||n==`byteLength`||n==`byteOffset`)||RC(n,s)))&&o.push(n);return o}function XC(e){if(!WC(e))return Object.keys(Object(e));let t=[];for(let n in Object(e))kC.call(e,n)&&n!=`constructor`&&t.push(n);return t}function ZC(e){let t=[];if(e!=null)for(let n in Object(e))t.push(n);return t}function QC(e){if(!xw(e))return ZC(e);let t=WC(e),n=[];for(let r in e)(r!=`constructor`||!t&&kC.call(e,r))&&n.push(r);return n}function $C(e){return zC(e)?YC(e,!1):XC(e)}function ew(e){return zC(e)?YC(e,!0):QC(e)}function tw(e){if(e==null)return[];let t=Object(e);return Object.getOwnPropertySymbols(t).filter(e=>jC.call(t,e))}function nw(e){let t=[],n=e;for(;n;)KC(t,tw(n)),n=Object.getPrototypeOf(Object(n));return t}function rw(e){let t=$C(e);return Array.isArray(e)?t:KC(t,tw(e))}function iw(e){let t=ew(e);return Array.isArray(e)?t:KC(t,nw(e))}function aw(e,t,n){t==`__proto__`?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ow(e,t,n){let r=e[t];(!(kC.call(e,t)&&PC(r,n))||n===void 0&&!(t in e))&&aw(e,t,n)}function sw(e,t,n){let r=!n,i=n||{},a=-1,{length:o}=t;for(;++a<o;){let n=t[a];r?aw(i,n,e[n]):ow(i,n,e[n])}return i}function cw(e,t){return e&&sw(t,$C(t),e)}function lw(e,t){return e&&sw(t,ew(t),e)}function uw(e,t){return sw(e,tw(e),t)}function dw(e,t){return sw(e,nw(e),t)}function fw(e){return xw(e)?Object.create(e):{}}function pw(e){let{length:t}=e,n=new e.constructor(t);return t&&typeof e[0]==`string`&&kC.call(e,`index`)&&(n.index=e.index,n.input=e.input),n}function mw(e){return typeof e.constructor==`function`&&!WC(e)?fw(Object.getPrototypeOf(Object(e))):{}}function hw(e){let t=new e.constructor(e.byteLength);return new Uint8Array(t).set(new Uint8Array(e)),t}function gw(e,t){let n=t?hw(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function _w(e,t,n){let r=e.constructor;switch(t){case lC:return hw(e);case dC:case pC:return new r(+e);case fC:return new r(n?hw(e.buffer):e.buffer,e.byteOffset,e.byteLength);case gC:case xC:return new r;case _C:case SC:return new r(e);case bC:{let t=new r(e.source,EC.exec(e));return t.lastIndex=e.lastIndex,t}case CC:return Object(MC.call(e))}return wC.has(t)?gw(e,n):void 0}function vw(e,t,n,r,i,a){let o,s=!!(t&rC),c=!!(t&iC),l=!!(t&aC);if(n&&(o=i?n(e,r,i,a):n(e)),o!==void 0)return o;if(!xw(e))return e;let u=Array.isArray(e);if(u){if(o=pw(e),!s)return JC(e,o)}else{let t=IC(e),n=t==mC||t==hC;if(t==vC||t==sC||n&&!i){if(o=c||n?{}:mw(e),!s)return c?dw(e,lw(o,e)):uw(e,cw(o,e))}else{if(!TC.has(t))return i?e:{};o=_w(e,t,s)}}let d=a||new Map,f=d.get(e);if(f)return f;d.set(e,o),UC(e)?e.forEach(r=>{o.add(vw(r,t,n,r,e,d))}):HC(e)&&e.forEach((r,i)=>{o.set(i,vw(r,t,n,i,e,d))});let p=u?void 0:(l?c?iw:rw:c?ew:$C)(e);return GC(p||e,(r,i)=>{let a=i,s=r;p&&(a=r,s=e[a]),ow(o,a,vw(s,t,n,a,e,d))}),o}function yw(e){return vw(e,aC)}function bw(e){if(!xw(e))return!1;let t=IC(e);return t==mC||t==hC||t==uC||t==yC}function xw(e){let t=typeof e;return e!=null&&(t==`object`||t==`function`)}var Sw=kg(`@pie-lib:categorize`),Cw=(e,t)=>!e||!e.id||!Array.isArray(t)?0:t.reduce((t,n)=>t+(n.choices||[]).filter(t=>t&&t.id===e.id).length,0),ww=(e,t,n,r)=>(Sw(`[removeChoiceFromCategory] choiceIndex:`,n),r.map(r=>{if(r.category===t){let t=yw(r.choices),i=t.findIndex((t,r)=>t===e&&r>=n);return i!==-1&&t.splice(i,1),{...r,choices:t}}return r})),Tw=(e,t,n,r,i)=>(Sw(`[moveChoiceToCategory] choice: `,e,`from: `,t,`to: `,n,`answers: `,i),t===n?i:(t&&(i=ww(e,t,r,i)),i.findIndex(e=>e.category===n)===-1?(i.push({category:n,choices:[e]}),i):i.map(t=>(t.category===n&&(t.choices=t.choices||[],t.choices.push(e)),t)))),Ew=(e,t)=>e.categoryCount>0?Cw(e,t)<e.categoryCount:!0,Dw=(e,t)=>t.reduce((e,t)=>{let n=e.copyOfPossibleResponse.findIndex(e=>t&&e===t.id);return n>=0?(e.builtChoices.push({...t,correct:!0}),e.copyOfPossibleResponse=[...e.copyOfPossibleResponse.slice(0,n),...e.copyOfPossibleResponse.slice(n+1)]):(e.builtChoices.push({...t,correct:!1}),e.allChoicesAreCorrect=!1),e},{builtChoices:[],copyOfPossibleResponse:[...e],allChoicesAreCorrect:!0}),Ow=(e,t)=>t.reduce((t,n)=>{let r=e[n.id]||[],i=n.choices||[],{builtChoices:a,allChoicesAreCorrect:o}=Dw(r,i),s=i.length===r.length;return t.builtCategories.push({...n,correct:o&&s,choices:a}),t.correct=t.correct&&o&&s,t},{builtCategories:[],correct:!0}),kw=e=>e?e.reduce((e,t)=>(e[0]?e[0][t.category]=t.choices:e.push({[t.category]:t.choices}),t.alternateResponses&&t.alternateResponses.forEach((n,r)=>{e[r+1]?e[r+1][t.category]=n:e.push({[t.category]:n})}),e),[]):[],Aw=(e,t,n)=>(e||=[],n||=[],t||=[],e.map(e=>{let{choices:r=[]}=n.find(t=>t.category===e.id)||{};return{...e,choices:r.map(e=>t.find(t=>t.id===e))}})),jw=(e,t,n,r)=>{e||=[],t||=[],n||=[];let i=kw(r)||[],a=Aw(e,t,n),o,s;if(i.length){let e=i.reduce((e,t)=>{let{builtCategories:n,correct:r}=Ow(t,a);return e.bestResponse===null||!e.entirelyCorrect&&r?{bestResponse:t,builtCategories:n,entirelyCorrect:r}:e},{bestResponse:null,builtCategories:[],entirelyCorrect:!1});a=e.builtCategories,o=e.bestResponse,s=e.entirelyCorrect}return{choices:t.map(e=>Ew(e,a)?e:{empty:!0}),categories:a,correct:s,bestResponse:o}},Mw=mh(`pie`)(`background`,Z.WHITE),Nw=J(`div`)(({theme:e})=>({"&.placeholder":{WebkitTouchCallout:`none`,WebkitUserSelect:`none`,KhtmlUserSelect:`none`,MozUserSelect:`none`,MsUserSelect:`none`,userSelect:`none`,width:`100%`,height:`100%`,background:Mw,transition:`background-color 200ms linear, border-color 200ms linear`,boxSizing:`border-box`,display:`grid`,gridRowGap:e.spacing(1),gridColumnGap:e.spacing(1),padding:e.spacing(1),border:`2px dashed ${Kh()}`},"&.placeholderDisabled":{boxShadow:`none`,background:Mw},"&.over":{border:`1px solid ${Wh()}`,backgroundColor:Rh()},"&.board":{padding:e.spacing(1),display:`flex`,flexWrap:`wrap`,alignItems:`center`,minHeight:`100px`,justifyContent:`center`,overflow:`hidden`,touchAction:`none`,backgroundColor:Vh()},"&.categorizeBoard":{padding:e.spacing(.5),display:`flex`,flexWrap:`wrap`,alignItems:`center`,minHeight:`100px`,justifyContent:`center`,overflow:`hidden`,touchAction:`none`,backgroundColor:Vh()},"&.verticalPool":{display:`flex`,flexFlow:`column wrap`}})),Pw=e=>{let{children:t,className:n,isOver:r,type:i,grid:a,disabled:o,choiceBoard:s,isCategorize:c,isVerticalPool:l,minHeight:u,extraStyles:d}=e,f=U(`placeholder`,o&&`placeholderDisabled`,r&&`over`,i,n),p={};if(a&&a.columns&&(p.gridTemplateColumns=`repeat(${a.columns}, 1fr)`),a&&a.rows){let e=a.rowsRepeatValue||`1fr`;p.gridTemplateRows=`repeat(${a.rows}, ${e})`}i===`choice`&&!r&&(p.border=`1px solid ${Kh()}`,p.background=Vh());let m=c?`categorizeBoard`:`board`;return(0,V.jsx)(Nw,{style:{...p,minHeight:u,...d},className:U(s?m:f,l&&`verticalPool`),children:t})};Pw.propTypes={choiceBoard:z.bool,grid:z.shape({columns:z.number,rows:z.number,rowsRepeatValue:z.string}),children:z.oneOfType([z.arrayOf(z.node),z.node]).isRequired,className:z.string,isOver:z.bool,index:z.number,type:z.string,disabled:z.bool,isCategorize:z.bool,isVerticalPool:z.bool,minHeight:z.number};function Fw({children:e,onDragEnd:t,onDragStart:n,onDragCancel:r,collisionDetection:i,modifiers:a,autoScroll:o,keyboardCoordinateGetter:s,keyboardCodes:c,accessibility:l}){let[u,d]=(0,B.useState)(null),f=v_(`drag-instructions`),p=s||c?{coordinateGetter:s,keyboardCodes:c}:void 0,m=Cb(Sb(bx,{activationConstraint:{distance:8}}),Sb(hx,p));return(0,V.jsx)(_S,{id:f,sensors:m,onDragStart:e=>{d(e.active.id),n&&n(e)},onDragEnd:e=>{d(null),t&&t(e)},onDragCancel:e=>{d(null),r&&r(e)},collisionDetection:i,modifiers:a,autoScroll:o,accessibility:l,children:e})}Fw.propTypes={children:z.node.isRequired,onDragEnd:z.func,onDragStart:z.func,onDragCancel:z.func,collisionDetection:z.func,modifiers:z.arrayOf(z.func),autoScroll:z.object,keyboardCoordinateGetter:z.func,keyboardCodes:z.shape({start:z.arrayOf(z.string),cancel:z.arrayOf(z.string),end:z.arrayOf(z.string)}),accessibility:z.object};var{Consumer:Iw,Provider:Lw}=B.createContext(-1),Rw=()=>(Math.random()*1000001).toFixed(0),zw=e=>t=>(0,V.jsx)(Iw,{children:n=>(0,V.jsx)(e,{...t,uid:n})}),Bw=(e,t,n)=>({...e,left:e.left+t,right:e.right+t,top:e.top+n,bottom:e.bottom+n}),Vw=(e,t)=>{let n=new Map;return e.forEach((e,r)=>{let i=Math.max(e.left,t.left),a=Math.max(e.top,t.top),o=Math.min(e.right,t.right),s=Math.min(e.bottom,t.bottom);i<o&&a<s&&n.set(r,{left:i,top:a,right:o,bottom:s,width:o-i,height:s-a})}),n};function Hw({detect:e=kb,modifiers:t}={}){let n=null,r={x:0,y:0},i=null;return{collisionDetection:a=>(n=a.pointerCoordinates,e(!t||!n?a:{...a,collisionRect:Bw(a.collisionRect,-r.x,-r.y),droppableRects:i?Vw(a.droppableRects,i):a.droppableRects})),...t&&{modifiers:[e=>{let n=fS(t,e);return r={x:n.x-e.transform.x,y:n.y-e.transform.y},i=e.scrollableAncestorRects[0]??null,n}]},lastPointer:()=>n,reset:()=>{n=null}}}var Uw={translation:{categorize:{limitMaxChoicesPerCategory:`You've reached the limit of {{maxChoicesPerCategory}} responses per area. To add another response, one must first be removed.`,maxChoicesPerCategoryRestriction:`To change this value to {{maxChoicesPerCategory}}, each category must have {{maxChoicesPerCategory}} or fewer answer choice[s].`},dragInTheBlank:{blank:`Blank {{index}}`},ebsr:{part:`Part {{index}}`,twoPartQuestion:`Two-Part Question`},editableHtml:{responseAreaToolbar:`Response area`,toolbar:`Editing tools`,buttons:{insertTable:`Insert table`,addTableRow:`Add table row`,removeTableRow:`Remove table row`,addTableColumn:`Add table column`,removeTableColumn:`Remove table column`,removeTable:`Remove table`,tableBorders:`Table borders`,bold:`Bold`,italic:`Italic`,strikethrough:`Strikethrough`,code:`Code`,underline:`Underline`,subscript:`Subscript`,superscript:`Superscript`,insertImage:`Insert image`,insertVideo:`Insert video`,insertAudio:`Insert audio`,cssClasses:`CSS classes`,blockquote:`Blockquote`,heading:`Heading`,insertMath:`Insert math`,spanishCharacters:`Spanish characters (ñ)`,specialCharacters:`Special characters (€)`,textAlignment:`Text alignment`,bulletedList:`Bulleted list`,numberedList:`Numbered list`,done:`Done`}},explicitConstructedResponse:{fillInTheBlankQuestion:`Fill in the Blank Question`,response:`Response {{index}} of {{total}}`},extendedTextEntry:{comment:`Comment`,constructedResponseQuestion:`Constructed Response Question`,response:`Your response`,writtenResponseQuestion:`Written Response Question`},fractionModel:{modelLabel_one:`Model {{index}} of {{total}}: {{selected}} of {{count}} part selected`,modelLabel_other:`Model {{index}} of {{total}}: {{selected}} of {{count}} parts selected`},numberLine:{addElementLimit_one:`You can only add {{count}} element`,addElementLimit_other:`You can only add {{count}} elements`,clearAll:`Clear all`,closedEnd:`closed`,elementCorrect:`Correct.`,elementIncorrect:`Incorrect.`,graphLabel:`Number line from {{min}} to {{max}}, with a tick every {{interval}}`,line:`Line from {{left}} ({{leftEnd}}) to {{right}} ({{rightEnd}}).`,openEnd:`open`,plottedNone:`Nothing is plotted.`,pointClosed:`Closed point at {{position}}.`,pointOpen:`Open point at {{position}}.`,rayLeft:`Ray from {{position}} ({{end}}) to the left.`,rayRight:`Ray from {{position}} ({{end}}) to the right.`},hotspot:{correctlySelected:`Correctly selected`,image_one:`Image with {{count}} hotspot`,image_other:`Image with {{count}} hotspots`,shape:`Hotspot {{index}} of {{total}}`,shouldHaveBeenSelected:`Should have been selected`,shouldNotHaveBeenSelected:`Should not have been selected`},imageClozeAssociation:{answerChoice:`Answer choice {{index}} of {{total}}`,image_one:`Image with {{count}} response area`,image_other:`Image with {{count}} response areas`,reachedLimit_one:`You’ve reached the limit of {{count}} response per area. To add another response, one must first be removed.`,reachedLimit_other:`Full`,responseArea:`Response area {{index}} of {{total}}`},inlineDropdown:{inlineDropdownQuestion:`Inline Dropdown Question`,query:`Query`,queryNumber:`Query {{index}}`,showRationaleForChoices:`Show Rationale for choices`,hideRationaleForChoices:`Hide Rationale for choices`},drawingResponse:{fillColor:`Fill color`,outlineColor:`Outline color`,noFill:`No fill`,lightblue:`Light blue`,lightyellow:`Light yellow`,red:`Red`,orange:`Orange`,yellow:`Yellow`,violet:`Violet`,blue:`Blue`,green:`Green`,white:`White`,black:`Black`,onDoubleClick:`Double click to edit this text. Press Enter to submit.`,drawingArea:`Drawing area`,drawingAreaOverImage:`Drawing area over a background image`,tools:{select:`Select`,freeDraw:`Free Draw`,line:`Line`,rectangle:`Rectangle`,circle:`Circle`,textEntry:`Text Entry`,eraser:`Eraser`}},charting:{addCategory:`Add category`,actions:`Actions`,add:`Add`,delete:`Delete`,newLabel:`New label`,categoryLabel:`Category {{index}} label`,categoryLabelValue:`Category {{index}} label: {{label}}`,category:`Category {{index}}`,reachedLimit_other:`There can't be more than {{count}} categories.`,keyLegend:{incorrectAnswer:`Student incorrect answer`,correctAnswer:`Student correct answer`,correctKeyAnswer:`Answer key correct`},chartTypes:{bar:`Bar chart`,histogram:`Histogram`,lineDot:`Line chart with dots`,lineCross:`Line chart with crosses`,dotPlot:`Dot plot`,linePlot:`Line plot`},categories_zero:`No categories.`,categories_one:`{{count}} category: {{categories}}.`,categories_other:`{{count}} categories: {{categories}}.`,valueRange:`Values from {{min}} to {{max}}.`,labelledValueRange:`{{label}} from {{min}} to {{max}}.`},graphing:{graph:`Coordinate graph`,axisRange:`{{axis}} axis from {{min}} to {{max}}.`,plotted_zero:`Nothing plotted.`,plotted_one:`{{count}} object plotted: {{marks}}.`,plotted_other:`{{count}} objects plotted: {{marks}}.`,shadedRegion:`Shaded region`,point:`Point`,circle:`Circle`,line:`Line`,parabola:`Parabola`,absolute:`Absolute Value`,exponential:`Exponential`,polygon:`Polygon`,ray:`Ray`,segment:`Segment`,sine:`Sine`,vector:`Vector`,label:`Label`,markLabel:`Label at ({{x}}, {{y}})`,correctMarkLabel:`Correct label at ({{x}}, {{y}})`,redo:`Redo`,reset:`Reset`,keyLegend:{missingRequiredLabel:`Missing Required Label`,answerKeyCorrect:`Answer Key Correct`,answerKeyCorrectLabel:`Answer Key Correct Label`,studentIncorrect:`Student Incorrect`,incorrectStudentLabel:`Incorrect Student Label`,studentCorrect:`Student Correct`,studentCorrectLabel:`Student Correct Label`}},mathInline:{keypadInstructions:`This field supports both keypad and keyboard input. Use the keyboard to access and interact with the on-screen math keypad, which accepts LaTeX markup. Use the down arrow key to open the keypad and navigate its buttons. Use the escape key to close the keypad and return to the input field.`,mathEquationResponseQuestion:`Math Equation Response Question`,mathResponseQuestion:`Math Response Question`,primaryCorrectWithAlternates:`Note: The answer shown above is the primary correct answer specified by the author for this item, but other answers may also be recognized as correct.`},mathInput:{enterAnswer:`Enter answer`},mcPopulatedBlank:{answerChoices:`Answer choices`,blankLabel:`blank`,emptyBlank:`(blank)`,blankPreSelectionHint:`The answer you choose will appear on the blank line above.`,correctAnswerSelected:`Correct answer selected`,incorrectAnswerSelected:`Incorrect answer selected`,selectedAnswerImage:`Selected answer image`,choiceImage:`Choice {{id}}`,clickToEnableAutoplay:`Click to enable audio autoplay`,audioResourceUnavailable:`Audio is enabled but no playable audio URL is configured.`,listen:`Listen`,listenSilentAlt:`Repeat instructions`,listenPlayingAlt:`Instructions are playing`,printAudio:`Audio:`,printTranscript:`Transcript:`},multipleChoice:{minSelections:`Select at least {{minSelections}}.`,maxSelections_one:`Only {{maxSelections}} answer is allowed.`,maxSelections_other:`Only {{maxSelections}} answers are allowed.`,minmaxSelections_equal:`Select {{minSelections}}.`,minmaxSelections_range:`Select between {{minSelections}} and {{maxSelections}}.`,multipleChoiceQuestion:`Multiple Choice Question`,multipleCorrectAnswerQuestion:`Multiple Correct Answer Question`,multipleSelectQuestion:`Multiple Select Question`},rubric:{rubric:`Rubric`,showRubric:`Show Rubric`,hideRubric:`Hide Rubric`},selectText:{correctAnswerSelected:`Correct`,correctAnswerNotSelected:`Correct Answer Not Selected`,incorrectSelection:`Incorrect Selection`,key:`Key`,textGroup:`Selectable text`,textGroupWithLimit:`Selectable text, select up to {{max}}`,tokenPosition:`{{index}} of {{total}}`},simpleCloze:{correctAnswerShown:`Correct answer`,correct:`Correct`,incorrect:`Incorrect`,unanswered:`No answer`,placeholder:`Enter your answer...`,answerInput:`Your answer`,printCorrectAnswer:`Correct answer:`,printAnswerBlank:`Answer blank`},vennClassification:{tray:`Tiles to classify`,unknownTarget:`unknown`,cancelled:`Cancelled`,returnedToTray:`{{name}} returned to tray`,placedIn:`{{name}} placed in {{target}}`,pickedUp:`Picked up {{name}}`,pickedUpWithKeyboard:`Picked up {{name}}, drop target: {{target}}. Use arrow keys to choose a drop target, Enter to drop, Escape to cancel.`,dropTarget:`Drop target: {{target}}`,unsupportedCircles_one:`This diagram cannot be shown: it has {{count}} circle, and only {{supported}} are supported.`,unsupportedCircles_other:`This diagram cannot be shown: it has {{count}} circles, and only {{supported}} are supported.`,setNumber:`Set {{number}}`,regionOnly:`{{set}} only`,regionNeither:`Neither {{first}} nor {{second}}`,regionNoneOf:`None of {{sets}}`,regionAndSeparator:` and `,tileFallbackName:`Tile`,tileNotPlaced:`not placed`,tileInRegion:`in {{region}}`,tileCorrect:`correct`,tileIncorrect:`incorrect`}},common:{undo:`Undo`,clearAll:`Clear all`,correct:`Correct`,incorrect:`Incorrect`,showCorrectAnswer:`Show correct answer`,hideCorrectAnswer:`Hide correct answer`,showTeacherInstructions:`Show Teacher Instructions`,hideTeacherInstructions:`Hide Teacher Instructions`,show:`Show`,hide:`Hide`,showRationale:`Show Rationale`,hideRationale:`Hide Rationale`,commonCorrectAnswerWithAlternates:`Note: The answer shown above is the most common correct answer for this item. One or more additional correct answers are also defined, and will also be recognized as correct.`,warning:`Warning`,showNote:`Show Note`,hideNote:`Hide Note`,cancel:`Cancel`,playAudio:`Play audio`}},Ww={translation:{categorize:{limitMaxChoicesPerCategory:`Has alcanzado el límite de {{maxChoicesPerCategory}} respuestas por área. Para agregar otra respuesta, primero se debe eliminar una respuesta.`,maxChoicesPerCategoryRestriction:`Para cambiar este valor a {{maxChoicesPerCategory}}, cada categoría debe tener {{maxChoicesPerCategory}} o menos opciones de respuesta`},dragInTheBlank:{blank:`Espacio en blanco {{index}}`},ebsr:{part:`Parte {{index}}`,twoPartQuestion:`Pregunta de dos partes`},editableHtml:{responseAreaToolbar:`Área de respuesta`,toolbar:`Herramientas de edición`,buttons:{insertTable:`Insertar tabla`,addTableRow:`Agregar fila a la tabla`,removeTableRow:`Eliminar fila de la tabla`,addTableColumn:`Agregar columna a la tabla`,removeTableColumn:`Eliminar columna de la tabla`,removeTable:`Eliminar tabla`,tableBorders:`Bordes de la tabla`,bold:`Negrita`,italic:`Cursiva`,strikethrough:`Tachado`,code:`Código`,underline:`Subrayado`,subscript:`Subíndice`,superscript:`Superíndice`,insertImage:`Insertar imagen`,insertVideo:`Insertar video`,insertAudio:`Insertar audio`,cssClasses:`Clases CSS`,blockquote:`Cita en bloque`,heading:`Encabezado`,insertMath:`Insertar expresión matemática`,spanishCharacters:`Caracteres del español (ñ)`,specialCharacters:`Caracteres especiales (€)`,textAlignment:`Alineación del texto`,bulletedList:`Lista con viñetas`,numberedList:`Lista numerada`,done:`Listo`}},explicitConstructedResponse:{fillInTheBlankQuestion:`Pregunta para completar espacios en blanco`,response:`Respuesta {{index}} de {{total}}`},extendedTextEntry:{comment:`Comentario`,constructedResponseQuestion:`Pregunta de respuesta construida`,response:`Tu respuesta`,writtenResponseQuestion:`Pregunta de respuesta escrita`},fractionModel:{modelLabel_one:`Modelo {{index}} de {{total}}: {{selected}} de {{count}} parte seleccionada`,modelLabel_other:`Modelo {{index}} de {{total}}: {{selected}} de {{count}} partes seleccionadas`},numberLine:{addElementLimit_one:`Solo puedes agregar {{count}} elemento`,addElementLimit_other:`Solo puedes agregar {{count}} elementos`,clearAll:`Borrar todo`,closedEnd:`cerrado`,elementCorrect:`Correcto.`,elementIncorrect:`Incorrecto.`,graphLabel:`Recta numérica de {{min}} a {{max}}, con una marca cada {{interval}}`,line:`Línea de {{left}} ({{leftEnd}}) a {{right}} ({{rightEnd}}).`,openEnd:`abierto`,plottedNone:`No hay nada marcado en la recta.`,pointClosed:`Punto cerrado en {{position}}.`,pointOpen:`Punto abierto en {{position}}.`,rayLeft:`Rayo desde {{position}} ({{end}}) hacia la izquierda.`,rayRight:`Rayo desde {{position}} ({{end}}) hacia la derecha.`},hotspot:{correctlySelected:`Seleccionada correctamente`,image_one:`Imagen con {{count}} zona activa`,image_other:`Imagen con {{count}} zonas activas`,shape:`Zona activa {{index}} de {{total}}`,shouldHaveBeenSelected:`Debía seleccionarse`,shouldNotHaveBeenSelected:`No debía seleccionarse`},imageClozeAssociation:{answerChoice:`Opción de respuesta {{index}} de {{total}}`,image_one:`Imagen con {{count}} área de respuesta`,image_other:`Imagen con {{count}} áreas de respuesta`,reachedLimit_one:`Has alcanzado el límite de {{count}} respuesta por área. Para agregar otra respuesta, primero se debe eliminar una respuesta.`,reachedLimit_other:`Lleno`,responseArea:`Área de respuesta {{index}} de {{total}}`},inlineDropdown:{inlineDropdownQuestion:`Pregunta con menú desplegable`,query:`Consulta`,queryNumber:`Consulta {{index}}`,showRationaleForChoices:`Mostrar justificación de las opciones`,hideRationaleForChoices:`Ocultar justificación de las opciones`},drawingResponse:{fillColor:`Color de relleno`,outlineColor:`Color del contorno`,noFill:`Sin relleno`,lightblue:`Azul claro`,lightyellow:`Amarillo claro`,red:`Rojo`,orange:`Naranja`,yellow:`Amarillo`,violet:`Violeta`,blue:`Azul`,green:`Verde`,white:`Blanco`,black:`Negro`,onDoubleClick:`Haz doble clic para revisar este texto. Presiona el botón de ingreso para enviar`,drawingArea:`Área de dibujo`,drawingAreaOverImage:`Área de dibujo sobre una imagen de fondo`,tools:{select:`Seleccionar`,freeDraw:`Dibujo libre`,line:`Línea`,rectangle:`Rectángulo`,circle:`Círculo`,textEntry:`Entrada de texto`,eraser:`Borrador`}},charting:{addCategory:`Añadir categoría`,actions:`Acciones`,add:`Añadir`,delete:`Eliminar`,newLabel:`Nueva etiqueta`,categoryLabel:`Etiqueta de la categoría {{index}}`,categoryLabelValue:`Etiqueta de la categoría {{index}}: {{label}}`,category:`Categoría {{index}}`,reachedLimit_other:`No puede haber más de {{count}} categorías.`,keyLegend:{incorrectAnswer:`Respuesta incorrecta del estudiante`,correctAnswer:`Respuesta correcta del estudiante`,correctKeyAnswer:`Clave de respuesta correcta`},chartTypes:{bar:`Gráfico de barras`,histogram:`Histograma`,lineDot:`Gráfico de líneas con puntos`,lineCross:`Gráfico de líneas con cruces`,dotPlot:`Diagrama de puntos`,linePlot:`Diagrama de líneas`},categories_zero:`Sin categorías.`,categories_one:`{{count}} categoría: {{categories}}.`,categories_other:`{{count}} categorías: {{categories}}.`,valueRange:`Valores de {{min}} a {{max}}.`,labelledValueRange:`{{label}} de {{min}} a {{max}}.`},graphing:{graph:`Gráfica de coordenadas`,axisRange:`Eje {{axis}} de {{min}} a {{max}}.`,plotted_zero:`Nada trazado.`,plotted_one:`{{count}} objeto trazado: {{marks}}.`,plotted_other:`{{count}} objetos trazados: {{marks}}.`,shadedRegion:`Región sombreada`,point:`Punto`,circle:`Circulo`,line:`Línea`,parabola:`Parábola`,absolute:`Valor absoluto`,exponential:`Exponencial`,polygon:`Polígono`,ray:`Semirrecta`,segment:`Segmento `,sine:`Seno`,vector:`Vector`,label:`Etiqueta`,markLabel:`Etiqueta en ({{x}}, {{y}})`,correctMarkLabel:`Etiqueta correcta en ({{x}}, {{y}})`,redo:`Rehacer`,reset:`Reiniciar`,keyLegend:{missingRequiredLabel:`Falta una etiqueta obligatoria`,answerKeyCorrect:`Clave de respuesta correcta`,answerKeyCorrectLabel:`Etiqueta correcta de la clave de respuesta`,studentIncorrect:`Respuesta incorrecta del estudiante`,incorrectStudentLabel:`Etiqueta incorrecta del estudiante`,studentCorrect:`Respuesta correcta del estudiante`,studentCorrectLabel:`Etiqueta correcta del estudiante`}},mathInline:{keypadInstructions:`Este campo admite la entrada con el teclado en pantalla y con el teclado físico. Usa el teclado físico para acceder al teclado matemático en pantalla e interactuar con él; este acepta notación LaTeX. Usa la tecla de flecha hacia abajo para abrir el teclado en pantalla y recorrer sus botones. Usa la tecla Escape para cerrar el teclado en pantalla y volver al campo de entrada.`,mathEquationResponseQuestion:`Pregunta de respuesta con ecuación matemática`,mathResponseQuestion:`Pregunta de respuesta matemática`,primaryCorrectWithAlternates:`Nota: La respuesta que se muestra arriba es la respuesta correcta principal especificada por el autor para esta pregunta, pero también se pueden reconocer otras respuestas como correctas.`},mathInput:{enterAnswer:`Escribe la respuesta`},mcPopulatedBlank:{answerChoices:`Opciones de respuesta`,blankLabel:`espacio en blanco`,emptyBlank:`(en blanco)`,blankPreSelectionHint:`La respuesta que elijas aparecerá en la línea en blanco de arriba.`,correctAnswerSelected:`Respuesta correcta seleccionada`,incorrectAnswerSelected:`Respuesta incorrecta seleccionada`,selectedAnswerImage:`Imagen de la respuesta seleccionada`,choiceImage:`Opción {{id}}`,clickToEnableAutoplay:`Haz clic para activar la reproducción automática del audio`,audioResourceUnavailable:`El audio está activado, pero no hay una URL de audio reproducible configurada.`,listen:`Escuchar`,listenSilentAlt:`Escuchar. Repetir las instrucciones.`,listenPlayingAlt:`Escuchar. Estas son las instrucciones.`,printAudio:`Audio:`,printTranscript:`Transcripción:`},multipleChoice:{minSelections:`Seleccione al menos {{minSelections}}.`,maxSelections_one:`Sólo se permite {{maxSelections}} respuesta.`,maxSelections_other:`Sólo se permiten {{maxSelections}} respuestas.`,minmaxSelections_equal:`Seleccione {{minSelections}}.`,minmaxSelections_range:`Seleccione entre {{minSelections}} y {{maxSelections}}.`,multipleChoiceQuestion:`Pregunta de opción múltiple`,multipleCorrectAnswerQuestion:`Pregunta con varias respuestas correctas`,multipleSelectQuestion:`Pregunta de selección múltiple`},rubric:{rubric:`Rúbrica`,showRubric:`Mostrar rúbrica`,hideRubric:`Ocultar rúbrica`},selectText:{correctAnswerSelected:`Respuesta Correcta`,correctAnswerNotSelected:`Respuesta Correcta No Seleccionada`,incorrectSelection:`Selección Incorrecta`,key:`Clave`,textGroup:`Texto seleccionable`,textGroupWithLimit:`Texto seleccionable, selecciona hasta {{max}}`,tokenPosition:`{{index}} de {{total}}`},simpleCloze:{correctAnswerShown:`Respuesta correcta`,correct:`Correcto`,incorrect:`Incorrecto`,unanswered:`Sin respuesta`,placeholder:`Escribe tu respuesta...`,answerInput:`Tu respuesta`,printCorrectAnswer:`Respuesta correcta:`,printAnswerBlank:`Espacio para la respuesta`},vennClassification:{tray:`Fichas para clasificar`,unknownTarget:`desconocido`,cancelled:`Cancelado`,returnedToTray:`Se devolvió {{name}} a la bandeja`,placedIn:`Se colocó {{name}} en {{target}}`,pickedUp:`Se tomó {{name}}`,pickedUpWithKeyboard:`Se tomó {{name}}, destino: {{target}}. Usa las flechas para elegir un destino, Enter para soltar y Escape para cancelar.`,dropTarget:`Destino: {{target}}`,unsupportedCircles_one:`No se puede mostrar este diagrama: tiene {{count}} círculo, y solo se admiten {{supported}}.`,unsupportedCircles_other:`No se puede mostrar este diagrama: tiene {{count}} círculos, y solo se admiten {{supported}}.`,setNumber:`Conjunto {{number}}`,regionOnly:`Solo {{set}}`,regionNeither:`Ni {{first}} ni {{second}}`,regionNoneOf:`Ninguno de {{sets}}`,regionAndSeparator:` y `,tileFallbackName:`Ficha`,tileNotPlaced:`sin colocar`,tileInRegion:`en {{region}}`,tileCorrect:`correcta`,tileIncorrect:`incorrecta`}},common:{undo:`Deshacer`,clearAll:`Borrar todo`,correct:`Correcto`,incorrect:`Incorrecto`,showCorrectAnswer:`Mostrar respuesta correcta`,hideCorrectAnswer:`Ocultar respuesta correcta`,showTeacherInstructions:`Mostrar instrucciones para el maestro`,hideTeacherInstructions:`Ocultar instrucciones para el maestro`,show:`Mostrar`,hide:`Ocultar`,showRationale:`Mostrar justificación`,hideRationale:`Ocultar justificación`,commonCorrectAnswerWithAlternates:`Nota: La respuesta que se muestra arriba es la respuesta correcta más común para esta pregunta. También se definen una o más respuestas correctas adicionales, y también se reconocerán como correctas.`,warning:`Advertencia`,showNote:`Mostrar Nota`,hideNote:`Ocultar Nota`,cancel:`Cancelar`,playAudio:`Reproducir audio`}},$=e=>typeof e==`string`,Gw=()=>{let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},Kw=e=>e==null?``:String(e),qw=(e,t,n)=>{e.forEach(e=>{t[e]&&(n[e]=t[e])})},Jw=/###/g,Yw=e=>e&&e.includes(`###`)?e.replace(Jw,`.`):e,Xw=e=>!e||$(e),Zw=(e,t,n)=>{let r=$(t)?t.split(`.`):t,i=0;for(;i<r.length-1;){if(Xw(e))return{};let t=Yw(r[i]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return Xw(e)?{}:{obj:e,k:Yw(r[i])}},Qw=(e,t,n)=>{let{obj:r,k:i}=Zw(e,t,Object);if(r!==void 0||t.length===1){r[i]=n;return}let a=t[t.length-1],o=t.slice(0,t.length-1),s=Zw(e,o,Object);for(;s.obj===void 0&&o.length;)a=`${o[o.length-1]}.${a}`,o=o.slice(0,o.length-1),s=Zw(e,o,Object),s?.obj&&s.obj[`${s.k}.${a}`]!==void 0&&(s.obj=void 0);s.obj[`${s.k}.${a}`]=n},$w=(e,t,n,r)=>{let{obj:i,k:a}=Zw(e,t,Object);i[a]=i[a]||[],i[a].push(n)},eT=(e,t)=>{let{obj:n,k:r}=Zw(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},tT=(e,t,n)=>{let r=eT(e,n);return r===void 0?eT(t,n):r},nT=(e,t,n)=>{for(let r in t)r!==`__proto__`&&r!==`constructor`&&(Object.prototype.hasOwnProperty.call(e,r)?$(e[r])||e[r]instanceof String||$(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):nT(e[r],t[r],n):e[r]=t[r]);return e},rT=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,`\\$&`),iT={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`,"/":`/`},aT=e=>$(e)?e.replace(/[&<>"'\/]/g,e=>iT[e]):e,oT=class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(t!==void 0)return t;let n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}},sT=[` `,`,`,`?`,`!`,`;`],cT=new oT(20),lT=(e,t,n)=>{t||=``,n||=``;let r=sT.filter(e=>!t.includes(e)&&!n.includes(e));if(r.length===0)return!0;let i=cT.getRegExp(`(${r.map(e=>e===`?`?`\\?`:e).join(`|`)})`),a=!i.test(e);if(!a){let t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(a=!0)}return a},uT=(e,t,n=`.`)=>{if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;let r=t.split(n),i=e;for(let e=0;e<r.length;){if(!i||typeof i!=`object`)return;let t,a=``;for(let o=e;o<r.length;++o)if(o!==e&&(a+=n),a+=r[o],t=i[a],t!==void 0){if([`string`,`number`,`boolean`].includes(typeof t)&&o<r.length-1)continue;e+=o-e+1;break}i=t}return i},dT=e=>e?.replace(/_/g,`-`),fT={type:`logger`,log(e){this.output(`log`,e)},warn(e){this.output(`warn`,e)},error(e){this.output(`error`,e)},output(e,t){console?.[e]?.apply?.(console,t)}},pT=new class e{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||`i18next:`,this.logger=e||fT,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,`log`,``,!0)}warn(...e){return this.forward(e,`warn`,``,!0)}error(...e){return this.forward(e,`error`,``)}deprecate(...e){return this.forward(e,`warn`,`WARNING DEPRECATED: `,!0)}forward(e,t,n,r){return r&&!this.debug?null:(e=e.map(e=>$(e)?e.replace(/[\r\n\x00-\x1F\x7F]/g,` `):e),$(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(t){return new e(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t||=this.options,t.prefix=t.prefix||this.prefix,new e(this.logger,t)}},mT=class{constructor(){this.observers={}}on(e,t){return e.split(` `).forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}once(e,t){let n=(...r)=>{t(...r),this.off(e,n)};return this.on(e,n),this}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([e,n])=>{for(let r=0;r<n;r++)e(...t)}),this.observers[`*`]&&Array.from(this.observers[`*`].entries()).forEach(([n,r])=>{for(let i=0;i<r;i++)n(e,...t)})}},hT=new WeakSet,gT=class extends mT{constructor(e,t={ns:[`translation`],defaultNS:`translation`}){super(),this.data=e||{},this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.includes(e)||this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n,r={}){let i=r.keySeparator===void 0?this.options.keySeparator:r.keySeparator,a=r.ignoreJSONStructure===void 0?this.options.ignoreJSONStructure:r.ignoreJSONStructure,o;e.includes(`.`)?o=e.split(`.`):(o=[e,t],n&&(Array.isArray(n)?o.push(...n):$(n)&&i?o.push(...n.split(i)):o.push(n)));let s=eT(this.data,o);return!s&&!t&&!n&&e.includes(`.`)&&(e=o[0],t=o[1],n=o.slice(2).join(`.`)),s||!a||!$(n)?s:uT(this.data?.[e]?.[t],n,i)}addResource(e,t,n,r,i={silent:!1}){let a=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,o=[e,t];n&&(o=o.concat(a?n.split(a):n)),e.includes(`.`)&&(o=e.split(`.`),r=t,t=o[1]),this.addNamespaces(t),Qw(this.data,o,r),i.silent||this.emit(`added`,e,t,n,r)}addResources(e,t,n,r={silent:!1}){for(let r in n)($(n[r])||Array.isArray(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit(`added`,e,t,n)}addResourceBundle(e,t,n,r,i,a={silent:!1,skipCopy:!1}){let o=[e,t];e.includes(`.`)&&(o=e.split(`.`),r=n,n=t,t=o[1]),this.addNamespaces(t);let s=eT(this.data,o)||{};a.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?nT(s,n,i):s={...s,...n},Qw(this.data,o,s),a.silent||this.emit(`added`,e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit(`removed`,e,t)}hasResourceBundle(e,t){return this.getResource(e,t)!==void 0}getResourceBundle(e,t){return t||=this.options.defaultNS,this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>{let n=t[e];return hT.has(n)?!0:!n||Object.keys(n).length===0?!1:(typeof n==`object`&&hT.add(n),!0)})}toJSON(){return this.data}},_T={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(e=>{t=this.processors[e]?.process(t,n,r,i)??t}),t}},vT=Symbol(`i18next/PATH_KEY`);function yT(){let e=[],t=Object.create(null),n;return t.get=(r,i)=>(n?.revoke?.(),i===vT?e:(e.push(i),n=Proxy.revocable(r,t),n.proxy)),Proxy.revocable(Object.create(null),t).proxy}function bT(e,t){let{[vT]:n}=e(yT()),r=t?.keySeparator??`.`,i=t?.nsSeparator??`:`,a=t?.enableSelector===`strict`;if(n.length>1&&i){let e=t?.ns,o=a?Array.isArray(e)?e:e?[e]:null:Array.isArray(e)?e:null;if(o&&(a?o:o.length>1?o.slice(1):[]).includes(n[0]))return`${n[0]}${i}${n.slice(1).join(r)}`}return n.join(r)}var xT=e=>!$(e)&&typeof e!=`boolean`&&typeof e!=`number`,ST=class e extends mT{constructor(e,t={}){super(),qw([`resourceStore`,`languageUtils`,`pluralResolver`,`interpolator`,`backendConnector`,`i18nFormat`,`utils`],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator=`.`),this.logger=pT.create(`translator`),this.checkedLoadedFor={}}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){let n={...t};if(e==null)return!1;let r=this.resolve(e,n);if(r?.res===void 0)return!1;let i=xT(r.res);return!(n.returnObjects===!1&&i)}extractFromKey(e,t){let n=t.nsSeparator===void 0?this.options.nsSeparator:t.nsSeparator;n===void 0&&(n=`:`);let r=t.keySeparator===void 0?this.options.keySeparator:t.keySeparator,i=t.ns||this.options.defaultNS||[],a=n&&e.includes(n),o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!lT(e,n,r);if(a&&!o){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:$(i)?[i]:i};let a=e.split(n);(n!==r||n===r&&this.options.ns.includes(a[0]))&&(i=a.shift()),e=a.join(r)}return{key:e,namespaces:$(i)?[i]:i}}translate(t,n,r){let i=typeof n==`object`?{...n}:n;if(typeof i!=`object`&&this.options.overloadTranslationOptionHandler&&(i=this.options.overloadTranslationOptionHandler(arguments)),typeof i==`object`&&(i={...i}),i||={},t==null)return``;typeof t==`function`&&(t=bT(t,{...this.options,...i})),Array.isArray(t)||(t=[String(t)]),t=t.map(e=>typeof e==`function`?bT(e,{...this.options,...i}):String(e));let a=i.returnDetails===void 0?this.options.returnDetails:i.returnDetails,o=i.keySeparator===void 0?this.options.keySeparator:i.keySeparator,{key:s,namespaces:c}=this.extractFromKey(t[t.length-1],i),l=c[c.length-1],u=i.nsSeparator===void 0?this.options.nsSeparator:i.nsSeparator;u===void 0&&(u=`:`);let d=i.lng||this.language,f=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d?.toLowerCase()===`cimode`)return f?a?{res:`${l}${u}${s}`,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:`${l}${u}${s}`:a?{res:s,usedKey:s,exactUsedKey:s,usedLng:d,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:s;let p=this.resolve(t,i),m=p?.res,h=p?.usedKey||s,g=p?.exactUsedKey||s,_=[`[object Number]`,`[object Function]`,`[object RegExp]`],v=i.joinArrays===void 0?this.options.joinArrays:i.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject,b=i.count!==void 0&&!$(i.count),x=e.hasDefaultValue(i),S=b?this.pluralResolver.getSuffix(d,i.count,i):``,C=i.ordinal&&b?this.pluralResolver.getSuffix(d,i.count,{ordinal:!1}):``,w=b&&!i.ordinal&&i.count===0,T=w&&i[`defaultValue${this.options.pluralSeparator}zero`]||i[`defaultValue${S}`]||i[`defaultValue${C}`]||i.defaultValue,E=m;y&&!m&&x&&(E=T);let D=xT(E),O=Object.prototype.toString.apply(E);if(y&&E&&D&&!_.includes(O)&&!($(v)&&Array.isArray(E))){if(!i.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn(`accessing an object - but returnObjects options is not enabled!`);let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,E,{...i,ns:c}):`key '${s} (${this.language})' returned an object instead of string.`;return a?(p.res=e,p.usedParams=this.getUsedParamsDetails(i),p):e}if(o){let e=Array.isArray(E),t=e?[]:{},n=e?g:h;for(let e in E)if(Object.prototype.hasOwnProperty.call(E,e)){let r=`${n}${o}${e}`;t[e]=x&&!m?this.translate(r,{...i,defaultValue:xT(T)?T[e]:void 0,joinArrays:!1,ns:c}):this.translate(r,{...i,joinArrays:!1,ns:c}),t[e]===r&&(t[e]=E[e])}m=t}}else if(y&&$(v)&&Array.isArray(m))m=m.join(v),m&&=this.extendTranslation(m,t,i,r);else{let e=!1,n=!1;!this.isValidLookup(m)&&x&&(e=!0,m=T),this.isValidLookup(m)||(n=!0,m=s);let a=(i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&n?void 0:m,c=x&&T!==m&&this.options.updateMissing;if(n||e||c){if(this.logger.log(c?`updateKey`:`missingKey`,d,l,b&&!c?`${s}${this.pluralResolver.getSuffix(d,i.count,i)}`:s,c?T:m),o){let e=this.resolve(s,{...i,keySeparator:!1});e&&e.res&&this.logger.warn(`Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.`)}let e=[],t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if(this.options.saveMissingTo===`fallback`&&t&&t[0])for(let n=0;n<t.length;n++)e.push(t[n]);else this.options.saveMissingTo===`all`?e=this.languageUtils.toResolveHierarchy(i.lng||this.language):e.push(i.lng||this.language);let n=(e,t,n)=>{let r=x&&n!==m?n:a;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,t,r,c,i):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,l,t,r,c,i),this.emit(`missingKey`,e,l,t,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&&b?e.forEach(e=>{let t=this.pluralResolver.getSuffixes(e,i);w&&i[`defaultValue${this.options.pluralSeparator}zero`]&&!t.includes(`${this.options.pluralSeparator}zero`)&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{n([e],s+t,i[`defaultValue${t}`]||T)})}):n(e,s,T))}m=this.extendTranslation(m,t,i,p,r),n&&m===s&&this.options.appendNamespaceToMissingKey&&(m=`${l}${u}${s}`),(n||e)&&this.options.parseMissingKeyHandler&&(m=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}${u}${s}`:s,e?m:void 0,i))}return a?(p.res=m,p.usedParams=this.getUsedParamsDetails(i),p):m}extendTranslation(e,t,n,r,i){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});let a=$(e)&&(n?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:n.interpolation.skipOnVariables),o;if(a){let t=e.match(this.interpolator.nestingRegexp);o=t&&t.length}let s=n.replace&&!$(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),e=this.interpolator.interpolate(e,s,n.lng||this.language||r.usedLng,n),a){let t=e.match(this.interpolator.nestingRegexp),r=t&&t.length;o<r&&(n.nest=!1)}!n.lng&&r&&r.res&&(n.lng=this.language||r.usedLng),n.nest!==!1&&(e=this.interpolator.nest(e,(...e)=>i?.[0]===e[0]&&!n.context?(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null):this.translate(...e,t),n)),n.interpolation&&this.interpolator.reset()}let a=n.postProcess||this.options.postProcess,o=$(a)?[a]:a;return e!=null&&o?.length&&n.applyPostProcessor!==!1&&(e=_T.handle(o,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e,t={}){let n,r,i,a,o;return $(e)&&(e=[e]),Array.isArray(e)&&(e=e.map(e=>typeof e==`function`?bT(e,{...this.options,...t}):e)),e.forEach(e=>{if(this.isValidLookup(n))return;let s=this.extractFromKey(e,t),c=s.key;r=c;let l=s.namespaces;this.options.fallbackNS&&(l=l.concat(this.options.fallbackNS));let u=t.count!==void 0&&!$(t.count),d=u&&!t.ordinal&&t.count===0,f=t.context!==void 0&&($(t.context)||typeof t.context==`number`)&&t.context!==``,p=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);l.forEach(e=>{this.isValidLookup(n)||(o=e,!this.checkedLoadedFor[`${p[0]}-${e}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(o)&&(this.checkedLoadedFor[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${p.join(`, `)}" won't get resolved as namespace "${o}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`)),p.forEach(r=>{if(this.isValidLookup(n))return;a=r;let o=[c];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(o,c,r,e,t);else{let e;u&&(e=this.pluralResolver.getSuffix(r,t.count,t));let n=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(t.ordinal&&e.startsWith(i)&&o.push(c+e.replace(i,this.options.pluralSeparator)),o.push(c+e),d&&o.push(c+n)),f){let r=`${c}${this.options.contextSeparator||`_`}${t.context}`;o.push(r),u&&(t.ordinal&&e.startsWith(i)&&o.push(r+e.replace(i,this.options.pluralSeparator)),o.push(r+e),d&&o.push(r+n))}}let s;for(;s=o.pop();)this.isValidLookup(n)||(i=s,n=this.getResource(r,e,s,t))}))})}),{res:n,usedKey:r,exactUsedKey:i,usedLng:a,usedNS:o}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e===``)}getResource(e,t,n,r={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(e={}){let t=[`defaultValue`,`ordinal`,`context`,`replace`,`lng`,`lngs`,`fallbackLng`,`ns`,`keySeparator`,`nsSeparator`,`returnObjects`,`returnDetails`,`joinArrays`,`postProcess`,`interpolation`],n=e.replace&&!$(e.replace),r=n?e.replace:e;if(n&&e.count!==void 0&&(r={...r,count:e.count}),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(let e of t)delete r[e]}return r}static hasDefaultValue(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&t.startsWith(`defaultValue`)&&e[t]!==void 0)return!0;return!1}},CT=class{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=pT.create(`languageUtils`),this.resolveHierarchyCache={}}clearCache(){this.resolveHierarchyCache={}}getScriptPartFromCode(e){if(e=dT(e),!e||!e.includes(`-`))return null;let t=e.split(`-`);return t.length===2||(t.pop(),t[t.length-1].toLowerCase()===`x`)?null:this.formatLanguageCode(t.join(`-`))}getLanguagePartFromCode(e){if(e=dT(e),!e||!e.includes(`-`))return e;let t=e.split(`-`);return this.formatLanguageCode(t[0])}formatLanguageCode(e){if($(e)&&e.includes(`-`)){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch{}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load===`languageOnly`||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.includes(e)}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(e=>{if(t)return;let n=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let n=this.getScriptPartFromCode(e);if(this.isSupportedCode(n))return t=n;let r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>e===r?!0:!e.includes(`-`)&&!r.includes(`-`)?!1:!!(e.includes(`-`)&&!r.includes(`-`)&&e.slice(0,e.indexOf(`-`))===r||e.startsWith(r)&&r.length>1))}),t||=this.getFallbackCodes(this.options.fallbackLng)[0],t}getFallbackCodes(e,t){if(!e)return[];if(typeof e==`function`&&(e=e(t)),$(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||=e[this.getScriptPartFromCode(t)],n||=e[this.formatLanguageCode(t)],n||=e[this.getLanguagePartFromCode(t)],n||=e.default,n||[]}toResolveHierarchy(e,t){let n=this.options.fallbackLng,r=Array.isArray(n)?n.join(`|`):n;r!==this._cachedFallbackLng&&(this.resolveHierarchyCache={},this._cachedFallbackLng=r);let i=t===void 0||t===!1||$(t),a=t===void 0&&typeof this.options.fallbackLng==`function`,o=$(e)&&i&&!a,s=null;if(o){let n;n=t===void 0?`undefined`:t===!1?`boolean:false`:`string:${t}`,s=`${e.length}:${e}|${n}`}if(s!==null){let e=this.resolveHierarchyCache[s];if(e!==void 0)return e.slice()}let c=this.getFallbackCodes((t===!1?[]:t)||this.options.fallbackLng||[],e),l=[],u=e=>{e&&(this.isSupportedCode(e)?l.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return $(e)&&(e.includes(`-`)||e.includes(`_`))?(this.options.load!==`languageOnly`&&u(this.formatLanguageCode(e)),this.options.load!==`languageOnly`&&this.options.load!==`currentOnly`&&u(this.getScriptPartFromCode(e)),this.options.load!==`currentOnly`&&u(this.getLanguagePartFromCode(e))):$(e)&&u(this.formatLanguageCode(e)),c.forEach(e=>{let t=this.formatLanguageCode(e);l.includes(t)||u(t)}),s===null?l:(this.resolveHierarchyCache[s]=l,l.slice())}},wT={zero:0,one:1,two:2,few:3,many:4,other:5},TT={select:e=>e===1?`one`:`other`,resolvedOptions:()=>({pluralCategories:[`one`,`other`]})},ET=class{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=pT.create(`pluralResolver`),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let n=dT(e===`dev`?`en`:e),r=t.ordinal?`ordinal`:`cardinal`,i=JSON.stringify({cleanedCode:n,type:r});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let a;try{a=new Intl.PluralRules(n,{type:r})}catch{if(typeof Intl>`u`)return this.logger.error(`No Intl support, please use an Intl polyfill!`),TT;if(!e.match(/-|_/))return TT;let n=this.languageUtils.getLanguagePartFromCode(e);a=this.getRule(n,t)}return this.pluralRulesCache[i]=a,a}needsPlural(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,n={}){return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let n=this.getRule(e,t);return n||=this.getRule(`dev`,t),n?n.resolvedOptions().pluralCategories.sort((e,t)=>wT[e]-wT[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:``}${e}`):[]}getSuffix(e,t,n={}){let r=this.getRule(e,n);return r?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:``}${r.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix(`dev`,t,n))}},DT=(e,t,n,r=`.`,i=!0)=>{let a=tT(e,t,n);return!a&&i&&$(n)&&(a=uT(e,n,r),a===void 0&&(a=uT(t,n,r))),a},OT=e=>e.replace(/\$/g,`$$$$`),kT=class{constructor(e={}){this.logger=pT.create(`interpolator`),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||={escapeValue:!0};let{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:i,prefixEscaped:a,suffix:o,suffixEscaped:s,formatSeparator:c,unescapeSuffix:l,unescapePrefix:u,nestingPrefix:d,nestingPrefixEscaped:f,nestingSuffix:p,nestingSuffixEscaped:m,nestingOptionsSeparator:h,maxReplaces:g,alwaysFormat:_}=e.interpolation;this.escape=t===void 0?aT:t,this.escapeValue=n===void 0||n,this.useRawValueToEscape=r!==void 0&&r,this.prefix=i?rT(i):a||`{{`,this.suffix=o?rT(o):s||`}}`,this.formatSeparator=c||`,`,this.unescapePrefix=l?``:u?rT(u):`-`,this.unescapeSuffix=this.unescapePrefix?``:l?rT(l):``,this.nestingPrefix=d?rT(d):f||rT(`$t(`),this.nestingSuffix=p?rT(p):m||rT(`)`),this.nestingOptionsSeparator=h||`,`,this.maxReplaces=g||1e3,this.alwaysFormat=_!==void 0&&_,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e?.source===t?(e.lastIndex=0,e):new RegExp(t,`g`);this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']|"[^"]*"|'[^']*'|\\((?:[^()"']|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let i,a,o,s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=e=>{if(!e.includes(this.formatSeparator)){let i=DT(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...r,...t,interpolationkey:e}):i}let i=e.split(this.formatSeparator),a=i.shift().trim(),o=i.join(this.formatSeparator).trim();return this.format(DT(t,s,a,this.options.keySeparator,this.options.ignoreJSONStructure),o,n,{...r,...t,interpolationkey:a})};this.resetRegExp(),!this.escapeValue&&typeof e==`string`&&/\$t\([^)]*\{[^}]*\{\{/.test(e)&&this.logger.warn(`nesting options string contains interpolated variables with escapeValue: false — if any of those values are attacker-controlled they can inject additional nesting options (e.g. redirect lng/ns). Sanitise untrusted input before passing it to t(), or keep escapeValue: true.`);let l=r?.missingInterpolationHandler||this.options.missingInterpolationHandler,u=r?.interpolation?.skipOnVariables===void 0?this.options.interpolation.skipOnVariables:r.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>e},{regex:this.regexp,safeValue:e=>this.escapeValue?this.escape(e):e}].forEach(t=>{for(o=0;i=t.regex.exec(e);){let n=i[1].trim();if(a=c(n),a===void 0){if(typeof l==`function`){let t=l(e,i,r);a=$(t)?t:``}else if(r&&Object.prototype.hasOwnProperty.call(r,n))a=``;else if(u){a=i[0];continue}else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),a=``}else!$(a)&&!this.useRawValueToEscape&&(a=Kw(a));let s=t.safeValue(a);if(e=e.replace(i[0],OT(s)),u?(t.regex.lastIndex+=s.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,o++,o>=this.maxReplaces)break}}),e}nest(e,t,n={}){let r,i,a,o=(e,t)=>{let n=this.nestingOptionsSeparator;if(!e.includes(n))return e;let r=e.split(RegExp(`${rT(n)}[ ]*{`)),i=`{${r[1]}`;e=r[0],i=this.interpolate(i,a);let o=i.match(/'/g),s=i.match(/"/g);((o?.length??0)%2==0&&!s||(s?.length??0)%2!=0)&&(i=i.replace(/'/g,`"`));try{a=JSON.parse(i),t&&(a={...t,...a})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${i}`}return a.defaultValue&&a.defaultValue.includes(this.prefix)&&delete a.defaultValue,e},s=new RegExp(this.nestingRegexp),c=``,l=0;for(;r=s.exec(e);){let u=[];a={...n},a=a.replace&&!$(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let d=/{.*}/s.test(r[1])?r[1].lastIndexOf(`}`)+1:r[1].indexOf(this.formatSeparator);if(d!==-1&&(u=r[1].slice(d).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),r[1]=r[1].slice(0,d)),i=t(o.call(this,r[1].trim(),a),a),i&&r[0]===e&&!$(i))return i;$(i)||(i=Kw(i)),i||=(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),``),u.length&&(i=u.reduce((e,t)=>this.format(e,t,n.lng,{...n,interpolationkey:r[1].trim()}),i.trim())),c+=e.slice(l,r.index)+Kw(i),l=s.lastIndex,this.regexp.lastIndex=0}return l?c+e.slice(l):e}},AT=e=>{let t=e.toLowerCase().trim(),n={};if(e.includes(`(`)){let r=e.split(`(`);t=r[0].toLowerCase().trim();let i=r[1].slice(0,-1);t===`currency`&&!i.includes(`:`)?n.currency||=i.trim():t===`relativetime`&&!i.includes(`:`)?n.range||=i.trim():i.split(`;`).forEach(e=>{if(e){let[t,...r]=e.split(`:`),i=r.join(`:`).trim().replace(/^'+|'+$/g,``),a=t.trim();n[a]||(n[a]=i),i===`false`&&(n[a]=!1),i===`true`&&(n[a]=!0),isNaN(i)||(n[a]=parseInt(i,10))}})}return{formatName:t,formatOptions:n}},jT=e=>{let t={};return(n,r,i)=>{let a=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(a={...a,[i.interpolationkey]:void 0});let o=r+JSON.stringify(a),s=t[o];return s||(s=e(dT(r),i),t[o]=s),s(n)}},MT=e=>(t,n,r)=>e(dT(n),r)(t),NT=class{constructor(e={}){this.logger=pT.create(`formatter`),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||`,`;let n=t.cacheInBuiltFormats?jT:MT;this.formats={number:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:n((e,t)=>{let n=new Intl.NumberFormat(e,{...t,style:`currency`});return e=>n.format(e)}),datetime:n((e,t)=>{let n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:n((e,t)=>{let n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||`day`)}),list:n((e,t)=>{let n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=jT(t)}format(e,t,n,r={}){if(!t||e==null)return e;let i=t.split(this.formatSeparator),a=[];for(let e=0;e<i.length;e++){let t=i[e];for(;t.indexOf(`(`)>-1&&!t.includes(`)`)&&e+1<i.length;)t=`${t}${this.formatSeparator}${i[++e]}`;a.push(t)}return a.reduce((e,t)=>{let{formatName:i,formatOptions:a}=AT(t);if(this.formats[i]){let t=e;try{let o=r?.formatParams?.[r.interpolationkey]||{},s=o.locale||o.lng||r.locale||r.lng||n;t=this.formats[i](e,s,{...a,...r,...o})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e},e)}},PT=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)},FT=class extends mT{constructor(e,t,n,r={}){super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=pT.create(`backendConnector`),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,r.backend,r)}queueLoad(e,t,n,r){let i={},a={},o={},s={};return e.forEach(e=>{let r=!0;t.forEach(t=>{let o=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[o]=2:this.state[o]<0||(this.state[o]===1?a[o]===void 0&&(a[o]=!0):(this.state[o]=1,r=!1,a[o]===void 0&&(a[o]=!0),i[o]===void 0&&(i[o]=!0),s[t]===void 0&&(s[t]=!0)))}),r||(o[e]=!0)}),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(s)}}loaded(e,t,n){let r=e.split(`|`),i=r[0],a=r[1];t&&this.emit(`failedLoading`,i,a,t),!t&&n&&this.store.addResourceBundle(i,a,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);let o={};this.queue.forEach(n=>{$w(n.loaded,[i],a),PT(n,e),t&&n.errors.push(t),n.pendingCount===0&&!n.done&&(Object.keys(n.loaded).forEach(e=>{o[e]||(o[e]={});let t=n.loaded[e];t.length&&t.forEach(t=>{o[e][t]===void 0&&(o[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit(`loaded`,o),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n,r=0,i=this.retryTimeout,a){if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:i,callback:a});return}this.readingCalls++;let o=(o,s)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}o&&s&&r<this.maxRetries?setTimeout(()=>{this.read(e,t,n,r+1,i*2,a)},i):a(o,s)},s=this.backend[n].bind(this.backend);if(s.length===2)try{let n=s(e,t);n&&typeof n.then==`function`?n.then(e=>o(null,e)).catch(o):o(null,n)}catch(e){o(e)}else return s(e,t,o)}prepareLoading(e,t,n={},r){if(!this.backend)return this.logger.warn(`No backend was added via i18next.use. Will not load resources.`),r&&r();$(e)&&(e=this.languageUtils.toResolveHierarchy(e)),$(t)&&(t=[t]);let i=this.queueLoad(e,t,n,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e,t=``){let n=e.split(`|`),r=n[0],i=n[1];this.read(r,i,`read`,void 0,void 0,(n,a)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`,n),!n&&a&&this.logger.log(`${t}loaded namespace ${i} for language ${r}`,a),this.loaded(e,n,a)})}saveMissing(e,t,n,r,i,a={},o=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(t))this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,`This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!`);else if(n!=null&&n!==``){if(this.backend?.create){let s={...a,isUpdate:i},c=this.backend.create.bind(this.backend);if(c.length<6)try{let i;i=c.length===5?c(e,t,n,r,s):c(e,t,n,r),i&&typeof i.then==`function`?i.then(e=>o(null,e)).catch(o):o(null,i)}catch(e){o(e)}else c(e,t,n,r,o,s)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}},IT=()=>({debug:!1,initAsync:!0,ns:[`translation`],defaultNS:[`translation`],fallbackLng:[`dev`],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:`all`,preload:!1,keySeparator:`.`,nsSeparator:`:`,pluralSeparator:`_`,contextSeparator:`_`,enableSelector:!1,partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:`fallback`,saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]==`object`&&(t=e[1]),$(e[1])&&(t.defaultValue=e[1]),$(e[2])&&(t.tDescription=e[2]),typeof e[2]==`object`||typeof e[3]==`object`){let n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,prefix:`{{`,suffix:`}}`,formatSeparator:`,`,unescapePrefix:`-`,nestingPrefix:`$t(`,nestingSuffix:`)`,nestingOptionsSeparator:`,`,maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),LT=e=>($(e.ns)&&(e.ns=[e.ns]),$(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),$(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&!e.supportedLngs.includes(`cimode`)&&(e.supportedLngs=e.supportedLngs.concat([`cimode`])),e),RT=()=>{},zT=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{typeof e[t]==`function`&&(e[t]=e[t].bind(e))})},BT=class e extends mT{constructor(e={},t){if(super(),this.options=LT(e),this.services={},this.logger=pT,this.modules={external:[]},zT(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,typeof e==`function`&&(t=e,e={}),e.defaultNS==null&&e.ns&&($(e.ns)?e.defaultNS=e.ns:e.ns.includes(`translation`)||(e.defaultNS=e.ns[0]));let n=IT();this.options={...n,...this.options,...LT(e)},this.options.interpolation={...n.interpolation,...this.options.interpolation},e.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=e.keySeparator),e.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=e.nsSeparator),typeof this.options.overloadTranslationOptionHandler!=`function`&&(this.options.overloadTranslationOptionHandler=n.overloadTranslationOptionHandler);let r=e=>e?typeof e==`function`?new e:e:null;if(!this.options.isClone){this.modules.logger?pT.init(r(this.modules.logger),this.options):pT.init(null,this.options);let e;e=this.modules.formatter?this.modules.formatter:NT;let t=new CT(this.options);this.store=new gT(this.options.resources,this.options);let n=this.services;n.logger=pT,n.resourceStore=this.store,n.languageUtils=t,n.pluralResolver=new ET(t,{prepend:this.options.pluralSeparator}),e&&(n.formatter=r(e),n.formatter.init&&n.formatter.init(n,this.options),this.options.interpolation.format=n.formatter.format.bind(n.formatter)),n.interpolator=new kT(this.options),n.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},n.backendConnector=new FT(r(this.modules.backend),n.resourceStore,n,this.options),n.backendConnector.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(n.languageDetector=r(this.modules.languageDetector),n.languageDetector.init&&n.languageDetector.init(n,this.options.detection,this.options)),this.modules.i18nFormat&&(n.i18nFormat=r(this.modules.i18nFormat),n.i18nFormat.init&&n.i18nFormat.init(this)),this.translator=new ST(this.services,this.options),this.translator.on(`*`,(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||=RT,this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&e[0]!==`dev`&&(this.options.lng=e[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn(`init: no languageDetector is used and no lng is defined`),[`getResource`,`hasResourceBundle`,`getResourceBundle`,`getDataByLanguage`].forEach(e=>{this[e]=(...t)=>this.store[e](...t)}),[`addResource`,`addResources`,`addResourceBundle`,`removeResourceBundle`].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});let i=Gw(),a=()=>{let e=(e,n)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn(`init: i18next is already initialized. You should call init just once!`),this.isInitialized=!0,this.options.isClone||this.logger.log(`initialized`,this.options),this.emit(`initialized`,this.options),i.resolve(n),t(e,n)};if((this.languages||this.isLanguageChangingTo)&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?a():setTimeout(a,0),i}loadResources(e,t=RT){let n=t,r=$(e)?e:this.language;if(typeof e==`function`&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r?.toLowerCase()===`cimode`&&(!this.options.preload||this.options.preload.length===0))return n();let e=[],t=t=>{t&&t!==`cimode`&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{t!==`cimode`&&(e.includes(t)||e.push(t))})};r?t(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{!e&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(e)})}else n(null)}reloadResources(e,t,n){let r=Gw();return typeof e==`function`&&(n=e,e=void 0),typeof t==`function`&&(n=t,t=void 0),e||=this.languages,t||=this.options.ns,n||=RT,this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw Error(`You are passing an undefined module! Please check the object you are passing to i18next.use()`);if(!e.type)throw Error(`You are passing a wrong module! Please check the object you are passing to i18next.use()`);return e.type===`backend`&&(this.modules.backend=e),(e.type===`logger`||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type===`languageDetector`&&(this.modules.languageDetector=e),e.type===`i18nFormat`&&(this.modules.i18nFormat=e),e.type===`postProcessor`&&_T.addPostProcessor(e),e.type===`formatter`&&(this.modules.formatter=e),e.type===`3rdParty`&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&![`cimode`,`dev`].includes(e)){for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(![`cimode`,`dev`].includes(t)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&!this.languages.includes(e)&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;let n=Gw();this.emit(`languageChanging`,e);let r=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},i=(i,a)=>{a?this.isLanguageChangingTo===e&&(r(a),this.translator.changeLanguage(a),this.isLanguageChangingTo=void 0,this.emit(`languageChanged`,a),this.logger.log(`languageChanged`,a)):this.isLanguageChangingTo=void 0,n.resolve((...e)=>this.t(...e)),t&&t(i,(...e)=>this.t(...e))},a=t=>{!e&&!t&&this.services.languageDetector&&(t=[]);let n=$(t)?t:t&&t[0],a=this.store.hasLanguageSomeTranslations(n)?n:this.services.languageUtils.getBestMatchFromCodes($(t)?[t]:t);a&&(this.language||r(a),this.translator.language||this.translator.changeLanguage(a),this.services.languageDetector?.cacheUserLanguage?.(a)),this.loadResources(a,e=>{i(e,a)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?a(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e),n}getFixedT(e,t,n,r){let i=r?.scopeNs,a=(e,t,...r)=>{let o;o=typeof t==`object`?{...t}:this.options.overloadTranslationOptionHandler([e,t].concat(r)),o.lng=o.lng||a.lng,o.lngs=o.lngs||a.lngs;let s=o.ns!==void 0&&o.ns!==null;o.ns=o.ns||a.ns,o.keyPrefix!==``&&(o.keyPrefix=o.keyPrefix||n||a.keyPrefix);let c={...this.options,...o};Array.isArray(i)&&!s&&(c.ns=i),typeof o.keyPrefix==`function`&&(o.keyPrefix=bT(o.keyPrefix,c));let l=this.options.keySeparator||`.`,u;return o.keyPrefix&&Array.isArray(e)?u=e.map(e=>(typeof e==`function`&&(e=bT(e,c)),`${o.keyPrefix}${l}${e}`)):(typeof e==`function`&&(e=bT(e,c)),u=o.keyPrefix?`${o.keyPrefix}${l}${e}`:e),this.t(u,o)};return $(e)?a.lng=e:a.lngs=e,a.ns=t,a.keyPrefix=n,a}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn(`hasLoadedNamespace: i18next was not initialized`,this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn(`hasLoadedNamespace: i18n.languages were undefined or empty`,this.languages),!1;let n=t.lng||this.resolvedLanguage||this.languages[0],r=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(n.toLowerCase()===`cimode`)return!0;let a=(e,t)=>{let n=this.services.backendConnector.state[`${e}|${t}`];return n===-1||n===0||n===2};if(t.precheck){let e=t.precheck(this,a);if(e!==void 0)return e}if(this.hasResourceBundle(n,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages)return!0;let{languageUtils:o}=this.services,s=t.lng?o.isSupportedCode(n)&&o.toResolveHierarchy(n,!1)[0]:n;return!(s&&!a(s,e)||r&&!a(i,e))}loadNamespaces(e,t){let n=Gw();return this.options.ns?($(e)&&(e=[e]),e.forEach(e=>{this.options.ns.includes(e)||this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){let n=Gw();$(e)&&(e=[e]);let r=this.options.preload||[],i=e.filter(e=>!r.includes(e)&&this.services.languageUtils.isSupportedCode(e));return i.length?(this.options.preload=r.concat(i),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){if(e||=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language),!e)return`rtl`;try{let t=new Intl.Locale(e);if(t&&t.getTextInfo){let e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch{}let t=`ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb`.split(`.`),n=this.services?.languageUtils||new CT(IT());return e.toLowerCase().indexOf(`-latn`)>1?`ltr`:t.includes(n.getLanguagePartFromCode(e))||e.toLowerCase().indexOf(`-arab`)>1?`rtl`:`ltr`}static createInstance(t={},n){let r=new e(t,n);return r.createInstance=e.createInstance,r}cloneInstance(t={},n=RT){let r=t.forkResourceStore;r&&delete t.forkResourceStore;let i={...this.options,preload:!1,...t,isClone:!0},a=new e(i);if((t.debug!==void 0||t.prefix!==void 0)&&(a.logger=a.logger.clone(t)),[`store`,`services`,`language`].forEach(e=>{a[e]=this[e]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},r&&(a.store=new gT(Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((n,r)=>(n[r]={...e[t][r]},n),e[t]),e),{}),i),a.services.resourceStore=a.store),t.interpolation){let e={...IT().interpolation,...this.options.interpolation,...t.interpolation},n={...i,interpolation:e};a.services.interpolator=new kT(n)}return a.translator=new ST(a.services,i),a.translator.on(`*`,(e,...t)=>{a.emit(e,...t)}),a.init(i,n),a.translator.options=i,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}.createInstance();BT.createInstance,BT.dir,BT.init,BT.loadResources,BT.reloadResources,BT.use,BT.changeLanguage,BT.getFixedT,BT.t,BT.exists,BT.setDefaultNamespace,BT.hasLoadedNamespace,BT.loadNamespaces,BT.loadLanguages,BT.init({fallbackLng:`en`,lng:`en`,showSupportNotice:!1,resources:{en:Uw,es:Ww}});var VT={translator:{...BT,t:(e,t)=>{let{lng:n}=t;switch(n){case`en_US`:case`en-US`:t.lng=`en`;break;case`es_ES`:case`es-ES`:case`es_MX`:case`es-MX`:t.lng=`es`}return BT.t(e,{lng:n,...t})}},languageOptions:[{value:`en_US`,label:`English (US)`},{value:`es_ES`,label:`Spanish`}]};function HT(e){return rs(`MuiTypography`,e)}is(`MuiTypography`,[`root`,`h1`,`h2`,`h3`,`h4`,`h5`,`h6`,`subtitle1`,`subtitle2`,`body1`,`body2`,`inherit`,`button`,`caption`,`overline`,`alignLeft`,`alignRight`,`alignCenter`,`alignJustify`,`noWrap`,`gutterBottom`,`paragraph`]);var UT={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},WT=au(),GT=e=>{let{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:a,classes:o}=e;return Cc({root:[`root`,a,e.align!==`inherit`&&`align${Y(t)}`,n&&`gutterBottom`,r&&`noWrap`,i&&`paragraph`]},HT,o)},KT=J(`span`,{name:`MuiTypography`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!==`inherit`&&t[`align${Y(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(Md(({theme:e})=>({margin:0,variants:[{props:{variant:`inherit`},style:{font:`inherit`,lineHeight:`inherit`,letterSpacing:`inherit`}},...Object.entries(e.typography).filter(([e,t])=>e!==`inherit`&&t&&typeof t==`object`).map(([e,t])=>({props:{variant:e},style:t})),...Object.entries(e.palette).filter(W_()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,e])=>typeof e==`string`).map(([t])=>({props:{color:`text${Y(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:e})=>e.align!==`inherit`,style:{textAlign:`var(--Typography-textAlign)`}},{props:({ownerState:e})=>e.noWrap,style:{overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`}},{props:({ownerState:e})=>e.gutterBottom,style:{marginBottom:`0.35em`}},{props:({ownerState:e})=>e.paragraph,style:{marginBottom:16}}]}))),qT={h1:`h1`,h2:`h2`,h3:`h3`,h4:`h4`,h5:`h5`,h6:`h6`,subtitle1:`h6`,subtitle2:`h6`,body1:`p`,body2:`p`,inherit:`p`},JT=B.forwardRef(function(e,t){let{color:n,...r}=ou({props:e,name:`MuiTypography`}),i=!UT[n],a=WT({...r,...i&&{color:n}}),{align:o=`inherit`,className:s,component:c,gutterBottom:l=!1,noWrap:u=!1,paragraph:d=!1,variant:f=`body1`,variantMapping:p=qT,...m}=a,h={...a,align:o,color:n,className:s,component:c,gutterBottom:l,noWrap:u,paragraph:d,variant:f,variantMapping:p},g=c||(d?`p`:p[f]||qT[f])||`span`,_=GT(h);return(0,V.jsx)(KT,{as:g,ref:t,className:U(_.root,s),...m,ownerState:h,style:{...o!==`inherit`&&{"--Typography-textAlign":o},...m.style}})});function YT(e){return rs(`MuiCard`,e)}is(`MuiCard`,[`root`]);var XT=e=>{let{classes:t}=e;return Cc({root:[`root`]},YT,t)},ZT=J(cf,{name:`MuiCard`,slot:`Root`})({overflow:`hidden`}),QT=B.forwardRef(function(e,t){let n=ou({props:e,name:`MuiCard`}),{className:r,raised:i=!1,...a}=n,o={...n,raised:i},s=XT(o);return(0,V.jsx)(ZT,{className:U(s.root,r),elevation:i?8:void 0,ref:t,ownerState:o,...a})});function $T(e){return rs(`MuiCardContent`,e)}is(`MuiCardContent`,[`root`]);var eE=e=>{let{classes:t}=e;return Cc({root:[`root`]},$T,t)},tE=J(`div`,{name:`MuiCardContent`,slot:`Root`})({padding:16,"&:last-child":{paddingBottom:24}}),nE=B.forwardRef(function(e,t){let n=ou({props:e,name:`MuiCardContent`}),{className:r,component:i=`div`,...a}=n,o={...n,component:i},s=eE(o);return(0,V.jsx)(tE,{as:i,className:U(s.root,r),ownerState:o,ref:t,...a})});function rE(e){return rs(`MuiDialog`,e)}var iE=is(`MuiDialog`,[`root`,`backdrop`,`scrollPaper`,`scrollBody`,`container`,`paper`,`paperScrollPaper`,`paperScrollBody`,`paperWidthFalse`,`paperWidthXs`,`paperWidthSm`,`paperWidthMd`,`paperWidthLg`,`paperWidthXl`,`paperFullWidth`,`paperFullScreen`]),aE=B.createContext({}),oE=J(Gd,{name:`MuiDialog`,slot:`Backdrop`})({zIndex:-1}),sE=e=>{let{classes:t,scroll:n,maxWidth:r,fullWidth:i,fullScreen:a}=e;return Cc({root:[`root`],backdrop:[`backdrop`],container:[`container`,`scroll${Y(n)}`],paper:[`paper`,`paperScroll${Y(n)}`,`paperWidth${Y(String(r))}`,i&&`paperFullWidth`,a&&`paperFullScreen`]},rE,t)},cE=J(rf,{name:`MuiDialog`,slot:`Root`})({"@media print":{position:`absolute !important`}}),lE=J(`div`,{name:`MuiDialog`,slot:`Container`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.container,t[`scroll${Y(n.scroll)}`]]}})({height:`100%`,"@media print":{height:`auto`},outline:0,variants:[{props:{scroll:`paper`},style:{display:`flex`,justifyContent:`center`,alignItems:`center`}},{props:{scroll:`body`},style:{overflowY:`auto`,overflowX:`hidden`,textAlign:`center`,"&::after":{content:`""`,display:`inline-block`,verticalAlign:`middle`,height:`100%`,width:`0`}}}]}),uE=J(cf,{name:`MuiDialog`,slot:`Paper`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.paper,t[`scrollPaper${Y(n.scroll)}`],t[`paperWidth${Y(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(Md(({theme:e})=>({margin:32,position:`relative`,overflowY:`auto`,"@media print":{overflowY:`visible`,boxShadow:`none`},variants:[{props:{scroll:`paper`},style:{display:`flex`,flexDirection:`column`,maxHeight:`calc(100% - 64px)`}},{props:{scroll:`body`},style:{display:`inline-block`,verticalAlign:`middle`,textAlign:`initial`}},{props:({ownerState:e})=>!e.maxWidth,style:{maxWidth:`calc(100% - 64px)`}},{props:{maxWidth:`xs`},style:{maxWidth:e.breakpoints.unit===`px`?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${iE.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:`calc(100% - 64px)`}}}},...Object.keys(e.breakpoints.values).filter(e=>e!==`xs`).map(t=>({props:{maxWidth:t},style:{maxWidth:`${e.breakpoints.values[t]}${e.breakpoints.unit}`,[`&.${iE.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t]+64)]:{maxWidth:`calc(100% - 64px)`}}}})),{props:({ownerState:e})=>e.fullWidth,style:{width:`calc(100% - 64px)`}},{props:({ownerState:e})=>e.fullScreen,style:{margin:0,width:`100%`,maxWidth:`100%`,height:`100%`,maxHeight:`none`,borderRadius:0,[`&.${iE.paperScrollBody}`]:{margin:0,maxWidth:`100%`}}}]}))),dE=B.forwardRef(function(e,t){let n=ou({props:e,name:`MuiDialog`}),r=Pl(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{"aria-describedby":a,"aria-labelledby":o,"aria-modal":s=!0,BackdropComponent:c,BackdropProps:l,children:u,className:d,disableEscapeKeyDown:f=!1,fullScreen:p=!1,fullWidth:m=!1,maxWidth:h=`sm`,onClick:g,onClose:_,open:v,PaperComponent:y=cf,PaperProps:b={},role:x=`dialog`,scroll:S=`paper`,slots:C={},slotProps:w={},TransitionComponent:T=Vd,transitionDuration:E=i,TransitionProps:D,...O}=n,k={...n,disableEscapeKeyDown:f,fullScreen:p,fullWidth:m,maxWidth:h,scroll:S},ee=sE(k),A=B.useRef(),j=e=>{A.current=e.target===e.currentTarget},M=e=>{g&&g(e),A.current&&(A.current=null,_&&_(e,`backdropClick`))},N=Zs(o),te=B.useMemo(()=>({titleId:N}),[N]),P={slots:{transition:T,...C},slotProps:{transition:D,paper:b,backdrop:l,...w}},[ne,re]=Rd(`root`,{elementType:cE,shouldForwardComponentProp:!0,externalForwardedProps:P,ownerState:k,className:U(ee.root,d),ref:t}),[F,ie]=Rd(`backdrop`,{elementType:oE,shouldForwardComponentProp:!0,externalForwardedProps:P,ownerState:k,className:ee.backdrop}),[ae,I]=Rd(`paper`,{elementType:uE,shouldForwardComponentProp:!0,externalForwardedProps:P,ownerState:k,className:ee.paper,additionalProps:{elevation:24,role:x,"aria-describedby":a,"aria-labelledby":N,"aria-modal":s,tabIndex:-1,[bd]:``}}),[oe,se]=Rd(`container`,{elementType:lE,externalForwardedProps:P,ownerState:k,className:ee.container}),[ce,le]=Rd(`transition`,{elementType:Vd,externalForwardedProps:P,ownerState:k,additionalProps:{appear:!0,in:v,timeout:E,role:`presentation`}});return(0,V.jsx)(ne,{closeAfterTransition:!0,slots:{backdrop:F},slotProps:{backdrop:{transitionDuration:E,as:c,...ie}},disableEscapeKeyDown:f,onClose:_,open:v,onClick:M,...re,...O,children:(0,V.jsx)(ce,{...le,children:(0,V.jsx)(oe,{onMouseDown:j,...se,children:(0,V.jsx)(ae,{as:y,...I,children:(0,V.jsx)(aE.Provider,{value:te,children:u})})})})})});function fE(e){return rs(`MuiDialogActions`,e)}is(`MuiDialogActions`,[`root`,`spacing`]);var pE=e=>{let{classes:t,disableSpacing:n}=e;return Cc({root:[`root`,!n&&`spacing`]},fE,t)},mE=J(`div`,{name:`MuiDialogActions`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})({display:`flex`,alignItems:`center`,padding:8,justifyContent:`flex-end`,flex:`0 0 auto`,variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),hE=B.forwardRef(function(e,t){let n=ou({props:e,name:`MuiDialogActions`}),{className:r,disableSpacing:i=!1,...a}=n,o={...n,disableSpacing:i},s=pE(o);return(0,V.jsx)(mE,{className:U(s.root,r),ownerState:o,ref:t,...a})});function gE(e){return rs(`MuiDialogContent`,e)}is(`MuiDialogContent`,[`root`,`dividers`]);function _E(e){return rs(`MuiDialogTitle`,e)}var vE=is(`MuiDialogTitle`,[`root`]),yE=e=>{let{classes:t,dividers:n}=e;return Cc({root:[`root`,n&&`dividers`]},gE,t)},bE=J(`div`,{name:`MuiDialogContent`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(Md(({theme:e})=>({flex:`1 1 auto`,WebkitOverflowScrolling:`touch`,overflowY:`auto`,padding:`20px 24px`,variants:[{props:({ownerState:e})=>e.dividers,style:{padding:`16px 24px`,borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>!e.dividers,style:{[`.${vE.root} + &`]:{paddingTop:0}}}]}))),xE=B.forwardRef(function(e,t){let n=ou({props:e,name:`MuiDialogContent`}),{className:r,dividers:i=!1,...a}=n,o={...n,dividers:i},s=yE(o);return(0,V.jsx)(bE,{className:U(s.root,r),ownerState:o,ref:t,...a})});function SE(e){return rs(`MuiDialogContentText`,e)}is(`MuiDialogContentText`,[`root`]);var CE=e=>{let{classes:t}=e,n=Cc({root:[`root`]},SE,t);return{...t,...n}},wE=J(JT,{shouldForwardProp:e=>Il(e)||e===`classes`,name:`MuiDialogContentText`,slot:`Root`})({}),TE=B.forwardRef(function(e,t){let n=ou({props:e,name:`MuiDialogContentText`}),{children:r,className:i,...a}=n,o=CE(a);return(0,V.jsx)(wE,{component:`p`,variant:`body1`,color:`textSecondary`,ref:t,ownerState:a,className:U(o.root,i),...n,classes:o})}),EE=e=>{let{classes:t}=e;return Cc({root:[`root`]},_E,t)},DE=J(JT,{name:`MuiDialogTitle`,slot:`Root`})({padding:`16px 24px`,flex:`0 0 auto`}),OE=J(B.forwardRef(function(e,t){let n=ou({props:e,name:`MuiDialogTitle`}),{className:r,id:i,...a}=n,o=n,s=EE(o),{titleId:c=i}=B.useContext(aE);return(0,V.jsx)(DE,{component:`h2`,className:U(s.root,r),ownerState:o,ref:t,variant:`h6`,id:i??c,...a})}))(()=>({fontSize:`max(1.25rem, 18px)`})),kE=J(TE)(()=>({fontSize:`max(1rem, 14px)`})),AE=({text:e,title:t,onClose:n,onConfirm:r,open:i,onCloseText:a=`CANCEL`,onConfirmText:o=`OK`,disableAutoFocus:s=!1,disableEnforceFocus:c=!1,disableRestoreFocus:l=!1})=>(0,V.jsxs)(dE,{open:i,disableAutoFocus:s,disableEnforceFocus:c,disableRestoreFocus:l,onClose:n,children:[t&&(0,V.jsx)(OE,{children:t}),e&&(0,V.jsx)(xE,{children:(0,V.jsx)(kE,{children:e})}),(0,V.jsxs)(hE,{children:[n&&(0,V.jsx)(mv,{onClick:n,color:`primary`,children:a}),r&&(0,V.jsx)(mv,{autoFocus:!0,onClick:r,color:`primary`,children:o})]})]});AE.propTypes={text:z.oneOfType([z.string,z.object]),title:z.string,onClose:z.func,onConfirm:z.func,open:z.bool,onConfirmText:z.string,onCloseText:z.string,disableAutoFocus:z.bool,disableEnforceFocus:z.bool,disableRestoreFocus:z.bool};function jE(e){return typeof e==`function`||typeof e==`object`&&!!e&&typeof e.$$typeof==`symbol`}function ME(e,t){return!e||jE(e)?e:jE(e.default)?e.default:t&&jE(e[t])?e[t]:t&&jE(e[t]?.default)?e[t].default:e}var NE=Py,PE=NE.default,FE=PE&&typeof PE==`object`?PE:NE;ME(Yv,`InputContainer`)||ME(FE.InputContainer,`InputContainer`),kg(`@pie-ui:categorize:choice`);var IE={content:z.string.isRequired,id:z.string},LE=J(`div`,{shouldForwardProp:e=>![`isDragging`,`disabled`,`correct`,`isSelected`].includes(e)})(({isDragging:e,disabled:t,correct:n,isSelected:r})=>({direction:`initial`,cursor:t?`not-allowed`:e?`move`:`pointer`,width:`100%`,borderRadius:`6px`,...r&&{border:`solid 2px ${ig()}`},...n===!0&&{border:`solid 2px ${yh()}`},...n===!1&&{border:`solid 2px ${Ch()}`}})),RE=J(QT,{shouldForwardProp:e=>e!==`isSelected`})(({isSelected:e})=>({color:hh(),backgroundColor:Lh(),width:`100%`,opacity:e?.5:1})),zE=J(nE)(({theme:e})=>({color:hh(),backgroundColor:mh(`pie`)(`background`,Z.WHITE),"&:last-child":{paddingBottom:e.spacing(2)},borderRadius:`4px`,border:`1px solid`,"& p":{margin:`0px`}})),BE=class extends B.Component{static propTypes={...IE,disabled:z.bool,correct:z.bool,isDragging:z.bool,isSelected:z.bool};static defaultProps={};contentRef=B.createRef();componentDidMount(){this.typesetContent()}componentDidUpdate(e){e.content!==this.props.content&&this.typesetContent()}typesetContent(){this.contentRef.current&&Wn(this.contentRef.current)}render(){let{content:e,isDragging:t,disabled:n,correct:r,isSelected:i,showsSelectionBorder:a}=this.props;return(0,V.jsx)(LE,{isDragging:t,disabled:n,correct:r,isSelected:i,children:(0,V.jsx)(RE,{isSelected:i,children:(0,V.jsx)(zE,{ref:this.contentRef,dangerouslySetInnerHTML:{__html:uh(e)}})})})}},VE=({id:e,content:t,disabled:n,correct:r,extraStyle:i,categoryId:a,choiceIndex:o,selectedItem:s,onSelectClick:c})=>{let l=a===void 0?`choice-${e}-board`:`choice-${e}-${a}-${o}`,u={id:e,categoryId:a,choiceIndex:o,value:t,itemType:`categorize`,type:`choice`},{attributes:d,listeners:f,setNodeRef:p,isDragging:m}=xS({id:l,data:u,disabled:n}),h=!!s&&s.id===e&&s.categoryId===a&&s.choiceIndex===o,g=e=>{n||(h?(e.stopPropagation(),c?.(u)):s&&a!==void 0||(e.stopPropagation(),c?.(u)))};return(0,V.jsx)(`div`,{ref:p,style:{margin:`4px`,...i},onClick:g,...f,...d,children:(0,V.jsx)(BE,{id:e,content:t,disabled:n,correct:r,isDragging:m,isSelected:h})})};VE.propTypes={...IE,extraStyle:z.object,categoryId:z.string,choiceIndex:z.number,onRemoveChoice:z.func,selectedItem:z.object,onSelectClick:z.func};var HE=zw(VE);kg(`@pie-ui:categorize:droppable-placeholder`);var UE=({children:e,grid:t,disabled:n,choiceBoard:r,minRowHeight:i,id:a,labelId:o,correct:s,selectedItem:c,onPlacementClick:l})=>{let u=Pl(),[d,f]=(0,B.useState)(!1),{setNodeRef:p,isOver:m,active:h}=TS({id:a,data:{itemType:`categorize`,categoryId:a},disabled:n}),g=!!c,_=h?m:m||g&&d&&!n,v=!n,y=()=>{!n&&c&&l?.(a)},b=e=>{e.target===e.currentTarget&&(e.code===`Space`||e.code===`Enter`)&&(e.preventDefault(),y())},x=r?void 0:{padding:u.spacing(.5),borderRadius:u.spacing(.5),gridColumnGap:0,gridRowGap:0,display:`flex`,flexWrap:`wrap`,justifyContent:`center`,alignItems:`center`,alignContent:`flex-start`,width:`100%`,height:`100%`,...s===!1&&{border:`solid 2px ${Ch()}`},...s===!0&&{border:`solid 2px ${yh()}`}};return(0,V.jsx)(`div`,{ref:p,role:`group`,"aria-labelledby":o,tabIndex:v?0:-1,onClick:y,onKeyDown:v?b:void 0,onMouseEnter:()=>f(!0),onMouseLeave:()=>f(!1),style:{flex:1,minHeight:i||`80px`,position:`relative`,touchAction:`none`,...g&&!n&&{cursor:`pointer`}},children:(0,V.jsx)(Pw,{isOver:_,grid:t,disabled:n,choiceBoard:r,isCategorize:!0,extraStyles:x,children:e})})};UE.propTypes={choiceBoard:z.bool,children:z.node.isRequired,grid:z.object,disabled:z.bool,minRowHeight:z.string,onDropChoice:z.func,id:z.string.isRequired,labelId:z.string,correct:z.bool,selectedItem:z.object,onPlacementClick:z.func};var WE=J(`div`)({flex:1,touchAction:`none`}),GE=J(`div`)(({theme:e})=>({margin:`0 auto`,textAlign:`center`,paddingTop:e.spacing(1)})),KE=zw(class extends B.Component{static propTypes={choices:z.arrayOf(z.oneOfType([z.shape(IE),z.shape({empty:z.bool})])),model:z.shape({categoriesPerRow:z.number,choicesLabel:z.string}),disabled:z.bool,choicePosition:z.string,onDropChoice:z.func,onRemoveChoice:z.func,correct:z.boolean,selectedItem:z.object,onSelectClick:z.func,onPlacementClick:z.func,uid:z.oneOfType([z.string,z.number])};static defaultProps={model:{categoriesPerRow:1,choicesLabel:``}};render(){let{choices:e=[],model:t,disabled:n,onDropChoice:r,onRemoveChoice:i,choicePosition:a,correct:o,selectedItem:s,onSelectClick:c,onPlacementClick:l,uid:u}=this.props,d=!!t.choicesLabel&&t.choicesLabel!==``,f=d?`categorize-${u}-choices-label`:void 0;return(0,V.jsx)(WE,{children:(0,V.jsxs)(UE,{id:`choices-board`,labelId:f,onDropChoice:r,onRemoveChoice:i,disabled:n,style:{background:`none`},choiceBoard:!0,correct:o,selectedItem:s,onPlacementClick:l,children:[d&&(0,V.jsx)(GE,{id:f,dangerouslySetInnerHTML:{__html:uh(t.choicesLabel)}}),e.map((e,r)=>e.empty?(0,V.jsx)(`div`,{},r):(0,V.jsx)(HE,{disabled:n,extraStyle:{maxWidth:`${95/t.categoriesPerRow}%`},selectedItem:s,onSelectClick:c,...e},r))]})})}}),qE=class extends B.Component{static propTypes={className:z.string,children:z.oneOfType([z.arrayOf(z.node),z.node]).isRequired,columns:z.number,rows:z.number,extraStyle:z.object};static defaultProps={columns:2,rows:2};render(){let{className:e,children:t,columns:n,extraStyle:r,rows:i}=this.props,a={gridTemplateColumns:`repeat(${n}, 1fr)`,gridTemplateRows:i===2?`auto 1fr`:`repeat(${i}, auto)`,...r};return(0,V.jsx)(JE,{style:a,className:e,children:t})}},JE=J(`div`)(({theme:e})=>({display:`grid`,columnGap:e.spacing(1),gridColumnGap:e.spacing(1),rowGap:e.spacing(1),gridRowGap:e.spacing(1),gridAutoRows:`1fr`})),YE={id:z.string.isRequired,categoryId:z.string},XE=class extends B.Component{static propTypes={...YE,className:z.string,disabled:z.bool,onDropChoice:z.func,onRemoveChoice:z.func,minRowHeight:z.string,labelId:z.string,selectedItem:z.object,onSelectClick:z.func,onPlacementClick:z.func};static defaultProps={};render(){let{className:e,choices:t=[],disabled:n,onDropChoice:r,onRemoveChoice:i,id:a,correct:o,minRowHeight:s,labelId:c,selectedItem:l,onSelectClick:u,onPlacementClick:d}=this.props;return(0,V.jsx)(ZE,{className:e,"data-category-id":a,children:(0,V.jsx)(UE,{id:a,labelId:c,onDropChoice:r,disabled:n,correct:o,minRowHeight:s,selectedItem:l,onPlacementClick:d,children:t.map((e,t)=>(0,V.jsx)(HE,{onRemoveChoice:i,disabled:n,choiceIndex:t,categoryId:a,selectedItem:l,onSelectClick:u,...e},t))})})}},ZE=J(`div`)(({theme:e})=>({display:`flex`,flexDirection:`column`,flex:2})),QE=class extends B.Component{static propTypes={categories:z.arrayOf(z.shape(YE)),model:z.shape({categoriesPerRow:z.number}),disabled:z.bool,onDropChoice:z.func.isRequired,onRemoveChoice:z.func.isRequired,rowLabels:z.array,selectedItem:z.object,onSelectClick:z.func,onPlacementClick:z.func,uid:z.oneOfType([z.string,z.number])};static defaultProps={model:{categoriesPerRow:1}};render(){let{categories:e,model:t,disabled:n,onDropChoice:r,onRemoveChoice:i,rowLabels:a,selectedItem:o,onSelectClick:s,onPlacementClick:c,uid:l}=this.props,{categoriesPerRow:u,minRowHeight:d}=t,f=[],p=e||[];for(let e=0;e<p.length;e+=u)f.push(p.slice(e,e+u));let m=e=>{let t=!1;return(e||[]).forEach(e=>{typeof e==`string`&&e.trim()!==``&&e.trim()!==`<div></div>`&&(t=!0)}),t};return(0,V.jsx)(qE,{columns:u,rows:Math.ceil(e.length/u)*2,extraStyle:{flex:1},children:f.map((e,t)=>{let f=[];return e.forEach((e,u)=>{let p=`categorize-${l}-category-label-${t}-${u}`;f.push((0,V.jsxs)(`div`,{style:{display:`flex`},children:[u===0&&m(a)?(0,V.jsx)(eD,{dangerouslySetInnerHTML:{__html:uh(a[t])}},t):null,(0,V.jsxs)(tD,{children:[(0,V.jsx)($E,{id:p,dangerouslySetInnerHTML:{__html:uh(e.label)}},`category-label-${t}-${u}`),(0,V.jsx)(XE,{minRowHeight:d,labelId:p,onDropChoice:t=>r(e.id,t),onRemoveChoice:i,disabled:n,selectedItem:o,onSelectClick:s,onPlacementClick:c,...e},`category-element-${t}-${u}`)]})]}))}),f=f.concat(Array(u-e.length).fill((0,V.jsx)(`div`,{})).map((e,t)=>(0,V.jsx)(`div`,{},`fill-space-final-${t}`))),f})})}},$E=J(`div`)(({theme:e})=>({color:hh(),backgroundColor:Lh(),textAlign:`center`,paddingTop:e.spacing(1)})),eD=J(`div`)({alignItems:`center`,display:`flex`,justifyContent:`center`,flex:.5,marginRight:`12px`}),tD=J(`div`)({display:`flex`,flex:`2`,flexDirection:`column`}),nD=zw(QE),rD=`choices-board`,iD=e=>{let t=kb(e),n=e.active?.data?.current?.categoryId,r=t.filter(e=>e.id!==`choices-board`&&e.id!==n);if(r.length>0)return r;let i=t.filter(e=>e.id===rD);return i.length>0?i:t},aD=`choices-board`,oD=(e,{context:t,currentCoordinates:n})=>{let{code:r}=e,i=r===fx.Tab,a=r===fx.Down||r===fx.Up||r===fx.Left||r===fx.Right;if(!i&&!a)return;if(a)return mx(e,{context:t,currentCoordinates:n});e.preventDefault();let{droppableRects:o,droppableContainers:s,collisionRect:c}=t;if(!o||o.size===0)return n;let l=[],u;for(let[e,t]of s){if(t?.disabled)continue;let n=t?.node?.current?.getBoundingClientRect()??o.get(e);if(!n)continue;let r={x:n.left+n.width/2,y:n.top+n.height/2},i=c?.height??0,a={id:e,rect:n,dropPosition:{x:n.left,y:n.top+n.height/2-i/2},center:r};e===aD?u=a:l.push(a)}if(l.length===0&&!u)return n;let d=e.shiftKey;l.sort((e,t)=>Math.abs(e.center.y-t.center.y)>10?e.center.y-t.center.y:e.center.x-t.center.x),u&&l.push(u);let f=c?{x:c.left+c.width/2,y:c.top+c.height/2}:n,p=l.findIndex(e=>f.x>=e.rect.left&&f.x<=e.rect.right&&f.y>=e.rect.top&&f.y<=e.rect.bottom);if(p===-1){let e=1/0;for(let t=0;t<l.length;t++){let r=sD(n,l[t].dropPosition);r<e&&(e=r,p=t)}}return l[d?(p-1+l.length)%l.length:(p+1)%l.length].dropPosition},sD=(e,t)=>Math.sqrt((e.x-t.x)**2+(e.y-t.y)**2);function cD(e){return typeof e==`function`||typeof e==`object`&&!!e&&typeof e.$$typeof==`symbol`}function lD(e,t){return!e||cD(e)?e:cD(e.default)?e.default:t&&cD(e[t])?e[t]:t&&cD(e[t]?.default)?e[t].default:e}var uD=Py,dD=uD.default,fD=dD&&typeof dD==`object`?dD:uD,pD=lD(wv,`UiLayout`)||lD(fD.UiLayout,`UiLayout`),mD=lD(ry,`PreviewPrompt`)||lD(fD.PreviewPrompt,`PreviewPrompt`),hD=lD(S_,`Collapsible`)||lD(fD.Collapsible,`Collapsible`),gD=lD(Dg,`Feedback`)||lD(fD.Feedback,`Feedback`),{translator:_D}=VT,vD=kg(`@pie-ui:categorize`),yD=250,bD=class extends B.Component{static propTypes={children:z.node};containerRef=B.createRef();componentDidMount(){this.containerRef.current&&Wn(this.containerRef.current)}render(){return(0,V.jsx)(`div`,{ref:this.containerRef,children:this.props.children})}},xD=class extends B.Component{static propTypes={model:z.object,session:z.shape({answers:z.arrayOf(z.shape({choice:z.string,category:z.string}))}),onAnswersChange:z.func.isRequired,onShowCorrectToggle:z.func.isRequired,pauseMathObserver:z.func,resumeMathObserver:z.func,selectedItem:z.object,onSelectClick:z.func,onPlacementClick:z.func};static defaultProps={disabled:!1};mainContainerId=__(`main-container`);constructor(e){super(e),this.state={showCorrect:!1,showMaxChoiceAlert:!1}}removeChoice=e=>{vD(`[removeChoice]: `,e);let{onAnswersChange:t,session:n}=this.props;t(ww(e.id,e.categoryId,e.choiceIndex,n.answers))};dropChoice=(e,t)=>{let{session:n,onAnswersChange:r,model:i}=this.props,{maxChoicesPerCategory:a=0}=i||{},{answers:o=[]}=n||{},s;t?vD(`[dropChoice] category: `,t.categoryId,`choice: `,t):vD(`[dropChoice] category: `,void 0,`choice: `,void 0);let c=o.find(t=>t.category===e);t&&a===1&&c&&c.choices&&c.choices.length===1?(s=Tw(t.id,t.categoryId,e,t.choiceIndex,o),s=ww(c.choices[0],e,0,s)):t&&a>1&&c&&c.choices&&c.choices.length===a?(s=t.categoryId?Tw(t.id,t.categoryId,t.categoryId,t.choiceIndex,o):ww(t.id,t.categoryId,t.choiceIndex,o),this.setState({showMaxChoiceAlert:!0})):a!==0&&c&&c.choices&&c.choices.length>a?(s=o,this.setState({showMaxChoiceAlert:!0})):s=t?Tw(t.id,t.categoryId,e,t.choiceIndex,o):this.removeChoice(e),t&&r(s)};UNSAFE_componentWillReceiveProps(e){let{model:t}=this.props,{model:n}=e;t.note&&t.language&&t.language!==n.language&&t.note===_D.t(`common:commonCorrectAnswerWithAlternates`,{lng:t.language})&&(t.note=_D.t(`common:commonCorrectAnswerWithAlternates`,{lng:n.language})),this.setState({showCorrect:!1})}toggleShowCorrect=()=>this.setState({showCorrect:!this.state.showCorrect},()=>{this.props.onShowCorrectToggle()});getPositionDirection=e=>{let t;switch(e){case`left`:t=`row-reverse`;break;case`right`:t=`row`;break;case`below`:t=`column`;break;default:t=`column-reverse`}return t};existAlternateResponse=e=>e?.some(e=>e.alternateResponses?.length>0);render(){let{model:e,session:t,selectedItem:n,onSelectClick:r,onPlacementClick:i}=this.props,{showCorrect:a,showMaxChoiceAlert:o}=this.state,{choicesPosition:s,extraCSSRules:c,note:l,showNote:u,env:d,language:f,maxChoicesPerCategory:p,autoplayAudioEnabled:m,autoplayAudioHeld:h,customAudioButton:g}=e,{mode:_,role:v}=d||{},y=s||`above`,b={flexDirection:this.getPositionDirection(y),gap:`8px`},{categories:x,choices:S,correct:C}=jw(e.categories,e.choices,a?e.correctResponse:t.answers,e.correctResponse);vD(`[render] disabled: `,e.disabled);let{rowLabels:w,categoriesPerRow:T,correctResponse:E,fontSizeFactor:D}=e,O=x&&Math.ceil(x.length/T)||0,k=this.existAlternateResponse(E)||!1,ee=(a||_===`view`&&v===`instructor`)&&u&&l&&k,A=_D.t(`translation:categorize:limitMaxChoicesPerCategory`,{lng:e.language,maxChoicesPerCategory:p}),j=_D.t(`common:warning`,{lng:e.language}),M=_D.t(`common:cancel`,{lng:e.language}),N=e.rationale&&(cy(e.rationale)||uy(e.rationale)),te=e.teacherInstructions&&(cy(e.teacherInstructions)||uy(e.teacherInstructions));return(0,V.jsxs)(CD,{extraCSSRules:c,id:this.mainContainerId,className:`main-container`,fontSizeFactor:D,children:[te&&(0,V.jsx)(B.Fragment,{children:(0,V.jsx)(DD,{labels:{hidden:_D.t(`common:showTeacherInstructions`,{lng:f}),visible:_D.t(`common:hideTeacherInstructions`,{lng:f})},children:(0,V.jsx)(mD,{prompt:e.teacherInstructions})})}),e.prompt&&(0,V.jsx)(mD,{prompt:e.prompt,autoplayAudioEnabled:m,autoplayAudioHeld:h,customAudioButton:g,language:f}),(0,V.jsx)(nC,{show:a||C===!1,toggled:a,onToggle:this.toggleShowCorrect,language:f}),(0,V.jsx)(TD,{children:(0,V.jsxs)(ED,{style:b,children:[(0,V.jsx)(`div`,{style:{display:`flex`,flex:1},children:(0,V.jsx)(nD,{model:e,disabled:e.disabled,categories:x,onDropChoice:this.dropChoice,onRemoveChoice:this.removeChoice,rowLabels:(w||[]).slice(0,O),selectedItem:n,onSelectClick:r,onPlacementClick:i})}),(0,V.jsx)(KE,{disabled:e.disabled,model:e,choices:S,choicePosition:y,onDropChoice:this.dropChoice,onRemoveChoice:this.removeChoice,correct:C,selectedItem:n,onSelectClick:r,onPlacementClick:i})]})}),ee&&(0,V.jsx)(wD,{dangerouslySetInnerHTML:{__html:uh(l)}}),N&&(0,V.jsx)(DD,{labels:{hidden:_D.t(`common:showRationale`,{lng:f}),visible:_D.t(`common:hideRationale`,{lng:f})},children:(0,V.jsx)(mD,{prompt:e.rationale})}),e.correctness&&e.feedback&&!a&&(0,V.jsx)(gD,{correctness:e.correctness,feedback:e.feedback}),(0,V.jsx)(AE,{title:j,text:A,open:o,onCloseText:M,onClose:()=>this.setState({showMaxChoiceAlert:!1})})]})}},SD=class extends B.Component{static propTypes={model:z.object,session:z.shape({answers:z.arrayOf(z.shape({choice:z.string,category:z.string}))}),onAnswersChange:z.func.isRequired,onShowCorrectToggle:z.func.isRequired,pauseMathObserver:z.func,resumeMathObserver:z.func};constructor(e){super(e),this.uid=Rw(),this.state={activeDragItem:null,isValidDrop:!1,selectedItem:null},this.lastDragEndAt=0,this.isInternalDragCancel=!1,this.dragCollision=Hw({detect:iD,modifiers:[zS]})}onDragStart=e=>{let{active:t}=e,{pauseMathObserver:n}=this.props;n&&n(),t?.data?.current&&this.setState({activeDragItem:t.data.current,isValidDrop:!1,selectedItem:t.data.current})};commitPlacement=(e,t)=>{this.categorizeRef&&(t===void 0||t===`choices-board`?e.categoryId&&this.categorizeRef.removeChoice&&this.categorizeRef.removeChoice(e):this.categorizeRef.dropChoice&&this.categorizeRef.dropChoice(t,e))};onDragEnd=e=>{let{active:t,over:n}=e,{resumeMathObserver:r}=this.props,i=t?.data?.current,a=n?.data?.current,o=n&&t&&i&&i.type===`choice`&&a&&a.itemType===`categorize`;if(this.setState({activeDragItem:null,isValidDrop:o,selectedItem:null}),r&&r(),this.lastDragEndAt=Date.now(),!t||!i||i.type!==`choice`)return;let s={id:i.id,categoryId:i.categoryId,choiceIndex:i.choiceIndex,value:i.value,itemType:i.itemType};this.commitPlacement(s,n?n.id:void 0)};onDragCancel=()=>{let{resumeMathObserver:e}=this.props;this.setState({activeDragItem:null,isValidDrop:!1,selectedItem:null}),e&&e(),this.isInternalDragCancel?this.isInternalDragCancel=!1:this.lastDragEndAt=Date.now()};isSameItem=(e,t)=>!!e&&!!t&&e.id===t.id&&e.categoryId===t.categoryId&&e.choiceIndex===t.choiceIndex;toggleItemSelection=e=>{this.setState(t=>({selectedItem:this.isSameItem(t.selectedItem,e)?null:e}))};cancelSelection=()=>{this.setState({selectedItem:null})};endAnyLiveKeyboardDrag=()=>{this.state.activeDragItem&&(this.isInternalDragCancel=!0,document.dispatchEvent(new KeyboardEvent(`keydown`,{code:`Escape`,bubbles:!0,cancelable:!0})),this.isInternalDragCancel=!1)};placeSelectedItem=e=>{let{selectedItem:t}=this.state;t&&(this.commitPlacement(t,e),this.cancelSelection(),this.endAnyLiveKeyboardDrag())};isClickSoonAfterDragEnd=()=>Date.now()-this.lastDragEndAt<yD;onItemClick=e=>{this.isClickSoonAfterDragEnd()||(this.endAnyLiveKeyboardDrag(),this.toggleItemSelection(e))};onPlacementClick=e=>{this.isClickSoonAfterDragEnd()||this.placeSelectedItem(e)};renderDragOverlay=()=>{let{activeDragItem:e}=this.state,{model:t}=this.props;if(!e)return null;if(e.type===`choice`){let n=t.choices?.find(t=>t.id===e.id);if(n)return(0,V.jsx)(HE,{id:n.id,...n},n.id)}return null};render(){let{isValidDrop:e,selectedItem:t}=this.state,n=e?null:void 0;return(0,V.jsx)(Fw,{onDragStart:this.onDragStart,onDragEnd:this.onDragEnd,onDragCancel:this.onDragCancel,keyboardCoordinateGetter:oD,keyboardCodes:{start:[`Space`,`Enter`],cancel:[`Escape`],end:[`Space`,`Enter`]},collisionDetection:this.dragCollision.collisionDetection,modifiers:this.dragCollision.modifiers,children:(0,V.jsxs)(Lw,{value:this.uid,children:[(0,V.jsx)(xD,{ref:e=>this.categorizeRef=e,...this.props,selectedItem:t,onSelectClick:this.onItemClick,onPlacementClick:this.onPlacementClick}),(0,V.jsx)(LS,{dropAnimation:n,children:(0,V.jsx)(bD,{children:this.renderDragOverlay()})})]})})}},CD=J(pD)({color:hh(),backgroundColor:Lh(),position:`relative`}),wD=J(`div`)(({theme:e})=>({marginBottom:e.spacing(2)})),TD=J(`div`)(({theme:e})=>({marginBottom:e.spacing(1),maxWidth:`100%`,overflowX:`auto`,overflowY:`hidden`})),ED=J(`div`)(()=>({display:`flex`,minWidth:`min-content`})),DD=J(hD)(({theme:e})=>({paddingBottom:e.spacing(2)})),OD=g();function kD(e){return typeof e==`function`||typeof e==`object`&&!!e&&typeof e.$$typeof==`symbol`}function AD(e,t){return!e||kD(e)?e:kD(e.default)?e.default:t&&kD(e[t])?e[t]:t&&kD(e[t]?.default)?e[t].default:e}var jD=Py,MD=jD.default,ND=MD&&typeof MD==`object`?MD:jD,PD=AD(`data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAJYAyADAREAAhEBAxEB/8QAHgABAQABBQEBAQAAAAAAAAAAAAEIAgMGBwkEBQr/xABiEAACAQIDBAMKCAYMCgYLAQAAAQIDEQQFIQYSMUEHCFETFRYiUmFxkdHhCRRjgaGisfAXMjRTcsEjJDY4QmJ1dpKztMQYMzdEVIKyw9PxQ1hmc3SWJzVFRlZXhJOUldJk/8QAGwEBAQADAQEBAAAAAAAAAAAAAAcEBQYCAQP/xABBEQEAAQIDAgkJBgUFAQEBAAAAAQIDBAYRBSESMUFEYXGCscITNDVRcoGRocEUIjJS0eEVI2KSsjNCU6LwFtLx/9oADAMBAAIRAxEA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AACJ3AoAAAAAAAAAAAARq9vMBQAACa34aAUAAAAAAETTuk+HECgAAAAAAAAAEavzsBQAAABG7crgUAAAAAAAAAAAAAACJJXaXHiBQAE1vx0AoAAAAAf/Z`,`EnableAudioAutoplayImage`)||AD(ND.EnableAudioAutoplayImage,`EnableAudioAutoplayImage`),FD=class extends HTMLElement{constructor(){super(),this.promptAudio=new Bm({session:()=>this._session,writeSession:e=>this._session&&Object.assign(this._session,e),announce:()=>this.dispatchEvent(new Iy(this.tagName.toLowerCase(),this.isComplete()))}),this._promptAudioWatcher=new qm({root:this,tracker:this.promptAudio,settings:()=>this._model,enableAudioImage:PD}),this._root=null,this._mathObserver=null,this._mathRenderPending=!1}_scheduleMathRender=()=>{this._mathRenderPending||(this._mathRenderPending=!0,requestAnimationFrame(()=>{this._mathObserver&&!this._mathObserverPaused&&this._mathObserver.disconnect(),Wn(this),this._mathRenderPending=!1,setTimeout(()=>{this._mathObserver&&!this._mathObserverPaused&&this._mathObserver.observe(this,{childList:!0,subtree:!0,characterData:!1})},50)}))};_initMathObserver(){this._mathObserver||(this._mathObserver=new MutationObserver(()=>{this._scheduleMathRender()}),this._mathObserver.observe(this,{childList:!0,subtree:!0,characterData:!1}))}_disconnectMathObserver(){this._mathObserver&&=(this._mathObserver.disconnect(),null)}pauseMathObserver=()=>{this._mathObserver&&(this._mathObserver.disconnect(),this._mathObserverPaused=!0)};resumeMathObserver=()=>{this._mathObserverPaused&&(this._mathObserverPaused=!1,this._mathObserver&&this._mathObserver.observe(this,{childList:!0,subtree:!0,characterData:!1}))};set model(e){this._model=e,this.eliminateBlindAnswersFromSession(),this.dispatchEvent(new Fy(this.tagName.toLowerCase(),this.isComplete(),!!this._model)),this.render()}isComplete(){let{choices:e,completeAudioEnabled:t,hasUnplacedChoices:n,possibleResponses:r,responseAreasToBeFilled:i}=this._model||{};if(t&&Wm(this,this.promptAudio)||!this._session||!this._session.answers)return!1;let{answers:a}=this._session;if(!Array.isArray(a))return!1;let o=a.filter(e=>e.choices.length).length>=i;if((e||[]).some(e=>e.categoryCount===0)||n)return o;let s=a.map(e=>e.choices).flat();return(r||[]).some(e=>e.every(e=>s.includes(e)))}set session(e){e&&!e.answers&&(e.answers=[]),this._session=e,this.render()}get session(){return this._session}get audioComplete(){return this.promptAudio.hasEnded}set audioComplete(e){this.promptAudio.markPlayed(!!e)}eliminateBlindAnswersFromSession(){let{answers:e=[]}=this._session||{},{choices:t=[]}=this._model||{},n=t.map(e=>e.id)||[],r=e.map(e=>(e.choices=(e?.choices||[]).filter(e=>n.includes(e)),e));r.length>0&&this.changeAnswers(r)}changeAnswers(e){this._session.answers=e,this._session.selector=`Mouse`,this.dispatchEvent(new Iy(this.tagName.toLowerCase(),this.isComplete())),this.render()}onShowCorrectToggle(){Wn(this)}connectedCallback(){this._initMathObserver(),this._promptAudioWatcher.connect(),this.render()}disconnectedCallback(){this._disconnectMathObserver(),this._promptAudioWatcher.disconnect(),this._root&&=(this._root.unmount(),null)}render(){if(this._model&&this._session){let e=B.createElement(SD,{model:this._model,session:this._session,onAnswersChange:this.changeAnswers.bind(this),onShowCorrectToggle:this.onShowCorrectToggle.bind(this),pauseMathObserver:this.pauseMathObserver,resumeMathObserver:this.resumeMathObserver});this._root||=(0,OD.createRoot)(this),this._root.render(e)}}};return typeof window<`u`&&!customElements.get(`categorize-element`)&&customElements.define(`categorize-element`,FD),FD})();
|