From 6b2c1c1703c11f6db190004ece91f38f2444482d Mon Sep 17 00:00:00 2001 From: jy95 Date: Sat, 20 Apr 2024 13:54:37 +0000 Subject: [PATCH] deploy: e3a07e02789d97d63eee2de022e1e2bdcc437142 --- 404.html | 4 +-- api.html | 6 ++--- api/class/default.html | 8 +++--- api/enum/DisplayOrderEnum.html | 6 ++--- api/interface/Params.html | 8 +++--- ...ca802.c60ad7c2.js => 01aca802.00ca397b.js} | 2 +- assets/js/026611d2.8c44342f.js | 1 + ...20de3.840d9cd7.js => 03620de3.30f6acce.js} | 2 +- ...16c54.187f1a45.js => 04716c54.907ba12d.js} | 2 +- ...0b1c5.dc247836.js => 0530b1c5.6ecb9b9d.js} | 2 +- ...006fb.5a461b09.js => 06a006fb.f0f16f3e.js} | 2 +- assets/js/091b5925.6c2164cb.js | 1 - assets/js/091b5925.8e16ead6.js | 1 + ...e00e5.a38aec1e.js => 118e00e5.67d9b973.js} | 2 +- ...c4f9d.b7d86268.js => 124c4f9d.2c984b00.js} | 2 +- ...64d99.6f595bf8.js => 12564d99.d5638e32.js} | 2 +- ...d1207.5be6c95e.js => 133d1207.6b5eed78.js} | 2 +- assets/js/139f9fbc.0d839473.js | 1 + assets/js/139f9fbc.e755f5df.js | 1 - ...bd28d.9aea435b.js => 162bd28d.1f2d64d4.js} | 2 +- ...8a7c3.49c81dcf.js => 1668a7c3.cc09ca6a.js} | 2 +- ...aba0b.c0067e54.js => 17baba0b.3d2ac1a2.js} | 2 +- ...d0071.8f41a2f6.js => 1c1d0071.5e58e581.js} | 2 +- assets/js/1cae87f6.6ab6abc7.js | 1 + assets/js/1cae87f6.7cbcf97e.js | 1 - ...656ab.3e9feb11.js => 1cd656ab.5e013c43.js} | 2 +- ...27e7e.4d78595f.js => 1f927e7e.cded6b75.js} | 2 +- ...e0385.d2b4a6a1.js => 201e0385.f93e38ed.js} | 2 +- ...65861.602cc60f.js => 20a65861.a01d5a95.js} | 2 +- ...5be5c.82070443.js => 20b5be5c.48a2fc86.js} | 2 +- ...19077.d34bbcfc.js => 21119077.2656966a.js} | 2 +- ...404d2.f899f112.js => 254404d2.b7bfc856.js} | 2 +- ...a61ea.67a25dcd.js => 265a61ea.48f873f6.js} | 2 +- ...31aeb.c15fb78b.js => 2a331aeb.fe824162.js} | 2 +- ...b321a.f3fc9f9a.js => 2c4b321a.e0b0dffd.js} | 2 +- assets/js/30320f60.0863173f.js | 1 + assets/js/30320f60.ed4f5e87.js | 1 - ...6d4c8.8d3f66b4.js => 3216d4c8.bb5edfd9.js} | 2 +- assets/js/3663b37e.220c41d3.js | 1 + ...dde70.0584777f.js => 36cdde70.35912c5d.js} | 2 +- ...6ff12.842bba52.js => 3766ff12.fec53e3c.js} | 2 +- assets/js/38ae24f3.a5591665.js | 1 + assets/js/38ae24f3.d258dbe9.js | 1 - ...3b0d4.2b3f0f1e.js => 3903b0d4.c121ad70.js} | 2 +- ...3bc21.5e0bf178.js => 3d23bc21.eae29f54.js} | 2 +- ...37283.f1d67349.js => 3f237283.7120cfd6.js} | 2 +- ...26655.3b709f6d.js => 3fb26655.8bd48b17.js} | 2 +- ...0f713.ba394e41.js => 40c0f713.d3865322.js} | 2 +- assets/js/430bd102.4225414f.js | 1 + assets/js/430bd102.4628877c.js | 1 - ...a5c5b.fd1c34cc.js => 460a5c5b.12220cf3.js} | 2 +- ...8893b.26be870a.js => 4628893b.6251b86e.js} | 2 +- ...44b90.fb7e7067.js => 49044b90.9d078def.js} | 2 +- ...e19c8.22e686fd.js => 4cbe19c8.aa704a26.js} | 2 +- ...47481.41f2ff68.js => 4e847481.ac176639.js} | 2 +- ...59f15.f14723f4.js => 4eb59f15.3a9d224f.js} | 2 +- ...af014.9f6e9015.js => 4faaf014.011e8c65.js} | 2 +- assets/js/533a8e17.5d934a5f.js | 1 + assets/js/533a8e17.c2752d37.js | 1 - assets/js/55373fd9.1a968f99.js | 1 + assets/js/55373fd9.629c28e0.js | 1 - ...c208f.c4ee040e.js => 5c2c208f.07810b1e.js} | 2 +- assets/js/5f46c019.5ee38f4e.js | 1 + assets/js/5f46c019.8c3deac6.js | 1 - ...d8b82.a8d4b8a8.js => 6a4d8b82.c06e8aef.js} | 2 +- assets/js/6bccb6a0.09a31071.js | 1 + assets/js/6bccb6a0.1d6a85cf.js | 1 - ...4ce18.aa514fad.js => 7614ce18.fee997e2.js} | 2 +- ...a043d.9351c5c7.js => 76aa043d.8e1516fb.js} | 2 +- ...b774e.04b3b688.js => 774b774e.e313eb5a.js} | 2 +- assets/js/78f84b63.39b2af5e.js | 1 + ...f62b0.187f7c73.js => 7ebf62b0.9da044c5.js} | 2 +- assets/js/814f3328.2983cb96.js | 1 + assets/js/814f3328.90c4b9b9.js | 1 - ...c17da.3c302d75.js => 829c17da.d89b4bbb.js} | 2 +- ...94416.02c65165.js => 87294416.e20288c2.js} | 2 +- ...bfc27.bd9e2746.js => 883bfc27.f4af5691.js} | 2 +- assets/js/8926b418.4f16c6f6.js | 1 - assets/js/8926b418.6a4df707.js | 1 + assets/js/915d2175.1ab31656.js | 1 + assets/js/915d2175.98ef8c38.js | 1 - ...cb006.51c226dc.js => 933cb006.a79dbb13.js} | 2 +- assets/js/935f2afb.802c108a.js | 1 + assets/js/935f2afb.f862a3ba.js | 1 - ...7b265.f0d5d106.js => 96e7b265.5a850e79.js} | 2 +- ...31957.f8026130.js => 97031957.4f4e4f95.js} | 2 +- ...ecde7.7706ba74.js => 9caecde7.e51a04c0.js} | 2 +- assets/js/a5e5ec5a.545468d6.js | 1 + ...7b6a8.e147833a.js => aa77b6a8.d613690d.js} | 2 +- assets/js/aa8d6d0b.3e13e67b.js | 1 - assets/js/aa8d6d0b.f0aa3964.js | 1 + assets/js/ab10b176.0f3319b5.js | 1 + assets/js/ab10b176.6e445c5a.js | 1 - ...0b1c0.d6c98dd7.js => ad90b1c0.bdab94b2.js} | 2 +- assets/js/afe92c27.71677dee.js | 1 - assets/js/afe92c27.7debc254.js | 1 + assets/js/b21f49cb.9e12b018.js | 1 + ...e43e1.8a5fcee1.js => b30e43e1.ca945d29.js} | 2 +- ...bbddc.2d8a616c.js => b52bbddc.2966e35f.js} | 2 +- ...994c2.d0ec935d.js => bc0994c2.eed7a378.js} | 2 +- ...86ef4.3860f1ed.js => c0086ef4.72cdf050.js} | 2 +- assets/js/c36217b7.74fa5221.js | 1 - assets/js/c36217b7.cf235a26.js | 1 + ...b0fe6.229a4ba4.js => c6db0fe6.26ccdf40.js} | 2 +- assets/js/c9387e11.31fc4d1d.js | 1 - assets/js/c9387e11.50fd3a5f.js | 1 + ...2752c.800db6d6.js => cd12752c.0310de61.js} | 2 +- assets/js/ce6de2dc.043db7dd.js | 1 - assets/js/ce6de2dc.c16f4d89.js | 1 + ...{common.c89f493b.js => common.2d3afba5.js} | 2 +- assets/js/d026f85a.cf00f2b3.js | 1 + assets/js/d0a7fa20.1a3095ad.js | 1 - assets/js/d0a7fa20.7778fb49.js | 1 + ...05798.64b0a49a.js => d5205798.dd9dfda2.js} | 2 +- ...0709a.87052afd.js => d9a0709a.e9b12c89.js} | 2 +- assets/js/e3948197.c323cc8c.js | 1 + ...e008f.eae78d58.js => e8ce008f.51992a1e.js} | 2 +- assets/js/e9832d3c.3789b8c5.js | 1 - assets/js/e9832d3c.930adc88.js | 1 + ...1249f.b77a8037.js => ebb1249f.f394ca10.js} | 2 +- assets/js/ece64983.6fe88848.js | 1 + assets/js/ece64983.7f542022.js | 1 - ...29032.4d2a176f.js => ee929032.57c0c6ef.js} | 2 +- assets/js/ef54304a.09a84e1e.js | 1 - assets/js/ef54304a.1e2dbed9.js | 1 + ...af7d8.31a053b4.js => f58af7d8.741d1f90.js} | 2 +- assets/js/f71da0e1.22b12679.js | 1 + assets/js/f71da0e1.e4804045.js | 1 - assets/js/f7adbe59.25ccf043.js | 1 + assets/js/f7adbe59.31a806bf.js | 1 - assets/js/fa572d46.92258ec5.js | 1 - assets/js/fa572d46.960f8560.js | 1 + ...a5499.af488abb.js => fdba5499.52f5d4e0.js} | 2 +- assets/js/main.71497cf7.js | 2 -- assets/js/main.a07d52ec.js | 2 ++ ...CENSE.txt => main.a07d52ec.js.LICENSE.txt} | 0 assets/js/runtime~main.71f5188d.js | 1 - assets/js/runtime~main.b96375a3.js | 1 + blog.html | 13 +++++++--- blog/archive.html | 6 ++--- blog/atom.xml | 22 +++++++++++++++- blog/empowerment.html | 25 +++++++++++++++++++ blog/rss.xml | 18 ++++++++++++- blog/tags.html | 6 ++--- blog/tags/features.html | 25 +++++++++++++++++++ blog/tags/welcome.html | 6 ++--- blog/welcome.html | 8 +++--- docs/category/-additionalinstruction.html | 4 +-- docs/category/-asneeded.html | 4 +-- docs/category/-boundsperiod.html | 4 +-- docs/category/-boundsrange.html | 4 +-- docs/category/-code.html | 4 +-- docs/category/-count--countmax.html | 4 +-- docs/category/-dayofweek.html | 4 +-- docs/category/-dosequantity.html | 4 +-- docs/category/-doserange.html | 4 +-- docs/category/-durationdurationmax.html | 4 +-- docs/category/-event.html | 4 +-- docs/category/-frequencyfrequencymax.html | 4 +-- docs/category/-maxdoseperadministration.html | 4 +-- docs/category/-maxdoseperlifetime.html | 4 +-- docs/category/-maxdoseperperiod.html | 4 +-- docs/category/-offset-when.html | 4 +-- docs/category/-offset.html | 4 +-- docs/category/-patientinstruction.html | 4 +-- docs/category/-rateratio.html | 4 +-- docs/category/-site.html | 4 +-- docs/category/-text.html | 4 +-- docs/category/-timeofday.html | 4 +-- docs/category/-when.html | 4 +-- .../\357\270\217-boundsduration.html" | 4 +-- "docs/category/\357\270\217-method.html" | 4 +-- .../\357\270\217-periodperiodmax.html" | 4 +-- .../category/\357\270\217-ratequantity.html" | 4 +-- "docs/category/\357\270\217-raterange.html" | 4 +-- "docs/category/\357\270\217-route.html" | 4 +-- "docs/category/\357\270\217-sequence.html" | 4 +-- docs/contributing.html | 4 +-- docs/custom/dateTimeFormatOptions.html | 6 ++--- docs/custom/displayOrder.html | 18 +++++++++++++ docs/custom/displaySeparator.html | 18 +++++++++++++ docs/custom/fromCodeableConceptToString.html | 6 ++--- docs/custom/fromExtensionsToString.html | 6 ++--- docs/custom/fromFHIRQuantityUnitToString.html | 6 ++--- docs/custom/i18nConfig.html | 18 +++++++++++++ docs/demo.html | 6 ++--- docs/demo/custom.html | 6 ++--- docs/demo/examples.html | 6 ++--- docs/demo/examples/medicationrequest.html | 4 +-- docs/demo/specs.html | 4 +-- docs/examples/medicationrequest/medrx002.html | 4 +-- docs/examples/medicationrequest/medrx003.html | 4 +-- docs/examples/medicationrequest/medrx004.html | 4 +-- .../examples/medicationrequest/medrx0301.html | 4 +-- .../examples/medicationrequest/medrx0302.html | 4 +-- .../examples/medicationrequest/medrx0303.html | 4 +-- .../examples/medicationrequest/medrx0305.html | 4 +-- .../examples/medicationrequest/medrx0307.html | 4 +-- .../examples/medicationrequest/medrx0308.html | 4 +-- .../examples/medicationrequest/medrx0310.html | 4 +-- .../examples/medicationrequest/medrx0313.html | 4 +-- .../examples/medicationrequest/medrx0314.html | 4 +-- .../examples/medicationrequest/medrx0315.html | 4 +-- .../examples/medicationrequest/medrx0317.html | 4 +-- .../examples/medicationrequest/medrx0319.html | 4 +-- .../examples/medicationrequest/medrx0321.html | 4 +-- .../examples/medicationrequest/medrx0331.html | 4 +-- .../examples/medicationrequest/medrx0339.html | 4 +-- docs/faq.html | 4 +-- docs/next-steps.html | 4 +-- docs/quick-start.html | 4 +-- .../additionalInstruction/multiple_items.html | 4 +-- .../additionalInstruction/single_item.html | 4 +-- docs/specs/asNeeded.html | 4 +-- docs/specs/asNeeded/asNeededBoolean.html | 4 +-- .../asNeeded/asNeededCodeableConcept.html | 4 +-- docs/specs/asNeeded/asNeededFor.html | 4 +-- docs/specs/boundsDuration.html | 4 +-- docs/specs/boundsPeriod/end_only.html | 4 +-- docs/specs/boundsPeriod/start_and_end.html | 4 +-- docs/specs/boundsPeriod/start_only.html | 4 +-- docs/specs/boundsRange/high_only.html | 4 +-- docs/specs/boundsRange/low_and_high.html | 4 +-- docs/specs/boundsRange/low_only.html | 4 +-- docs/specs/code.html | 4 +-- docs/specs/countCountMax/count.html | 4 +-- docs/specs/countCountMax/countMax_only.html | 4 +-- .../countCountMax/count_and_countMax.html | 4 +-- docs/specs/dayOfWeek/multiple_items.html | 4 +-- docs/specs/dayOfWeek/single_item.html | 4 +-- docs/specs/doseQuantity.html | 4 +-- docs/specs/doseRange/high_only.html | 4 +-- docs/specs/doseRange/low_and_high.html | 4 +-- docs/specs/doseRange/low_only.html | 4 +-- .../durationDurationMax/durationMax_only.html | 4 +-- .../duration_and_durationMax.html | 4 +-- .../durationDurationMax/duration_only.html | 4 +-- docs/specs/event/multiple_items.html | 4 +-- docs/specs/event/single_item.html | 4 +-- .../frequencyMax_only.html | 4 +-- .../frequency_and_frequencyMax.html | 4 +-- .../frequencyFrequencyMax/frequency_only.html | 4 +-- docs/specs/maxDosePerAdministration.html | 4 +-- docs/specs/maxDosePerLifetime.html | 4 +-- docs/specs/maxDosePerPeriod/r4.html | 4 +-- docs/specs/maxDosePerPeriod/r5.html | 4 +-- docs/specs/method.html | 4 +-- docs/specs/offsetWhen/offset/offset_days.html | 4 +-- .../specs/offsetWhen/offset/offset_hours.html | 4 +-- .../offsetWhen/offset/offset_minutes.html | 4 +-- .../specs/offsetWhen/when/multiple_items.html | 4 +-- docs/specs/offsetWhen/when/single_item.html | 4 +-- docs/specs/offsetWhen/when_and_offset.html | 4 +-- docs/specs/patientInstruction.html | 4 +-- .../specs/periodPeriodMax/periodMax_only.html | 4 +-- .../periodPeriodMax/period_and_periodMax.html | 4 +-- docs/specs/periodPeriodMax/period_only.html | 4 +-- docs/specs/rateQuantity.html | 4 +-- docs/specs/rateRange/high_only.html | 4 +-- docs/specs/rateRange/low_and_high.html | 4 +-- docs/specs/rateRange/low_only.html | 4 +-- docs/specs/rateRatio.html | 4 +-- docs/specs/route.html | 4 +-- .../sequence/concurrent_instructions.html | 4 +-- .../sequence/sequential_instructions_1.html | 4 +-- .../sequence/sequential_instructions_2.html | 4 +-- docs/specs/site.html | 4 +-- docs/specs/text.html | 4 +-- docs/specs/timeOfDay/multiple_items.html | 4 +-- docs/specs/timeOfDay/single_item.html | 4 +-- examples/timing.html | 4 +-- index.html | 4 +-- playground.html | 4 +-- search.html | 4 +-- sitemap.xml | 2 +- 275 files changed, 541 insertions(+), 387 deletions(-) rename assets/js/{01aca802.c60ad7c2.js => 01aca802.00ca397b.js} (70%) create mode 100644 assets/js/026611d2.8c44342f.js rename assets/js/{03620de3.840d9cd7.js => 03620de3.30f6acce.js} (55%) rename assets/js/{04716c54.187f1a45.js => 04716c54.907ba12d.js} (65%) rename assets/js/{0530b1c5.dc247836.js => 0530b1c5.6ecb9b9d.js} (51%) rename assets/js/{06a006fb.5a461b09.js => 06a006fb.f0f16f3e.js} (65%) delete mode 100644 assets/js/091b5925.6c2164cb.js create mode 100644 assets/js/091b5925.8e16ead6.js rename assets/js/{118e00e5.a38aec1e.js => 118e00e5.67d9b973.js} (65%) rename assets/js/{124c4f9d.b7d86268.js => 124c4f9d.2c984b00.js} (58%) rename assets/js/{12564d99.6f595bf8.js => 12564d99.d5638e32.js} (65%) rename assets/js/{133d1207.5be6c95e.js => 133d1207.6b5eed78.js} (61%) create mode 100644 assets/js/139f9fbc.0d839473.js delete mode 100644 assets/js/139f9fbc.e755f5df.js rename assets/js/{162bd28d.9aea435b.js => 162bd28d.1f2d64d4.js} (57%) rename assets/js/{1668a7c3.49c81dcf.js => 1668a7c3.cc09ca6a.js} (59%) rename assets/js/{17baba0b.c0067e54.js => 17baba0b.3d2ac1a2.js} (65%) rename assets/js/{1c1d0071.8f41a2f6.js => 1c1d0071.5e58e581.js} (60%) create mode 100644 assets/js/1cae87f6.6ab6abc7.js delete mode 100644 assets/js/1cae87f6.7cbcf97e.js rename assets/js/{1cd656ab.3e9feb11.js => 1cd656ab.5e013c43.js} (63%) rename assets/js/{1f927e7e.4d78595f.js => 1f927e7e.cded6b75.js} (60%) rename assets/js/{201e0385.d2b4a6a1.js => 201e0385.f93e38ed.js} (76%) rename assets/js/{20a65861.602cc60f.js => 20a65861.a01d5a95.js} (74%) rename assets/js/{20b5be5c.82070443.js => 20b5be5c.48a2fc86.js} (54%) rename assets/js/{21119077.d34bbcfc.js => 21119077.2656966a.js} (81%) rename assets/js/{254404d2.f899f112.js => 254404d2.b7bfc856.js} (60%) rename assets/js/{265a61ea.67a25dcd.js => 265a61ea.48f873f6.js} (72%) rename assets/js/{2a331aeb.c15fb78b.js => 2a331aeb.fe824162.js} (60%) rename assets/js/{2c4b321a.f3fc9f9a.js => 2c4b321a.e0b0dffd.js} (59%) create mode 100644 assets/js/30320f60.0863173f.js delete mode 100644 assets/js/30320f60.ed4f5e87.js rename assets/js/{3216d4c8.8d3f66b4.js => 3216d4c8.bb5edfd9.js} (59%) create mode 100644 assets/js/3663b37e.220c41d3.js rename assets/js/{36cdde70.0584777f.js => 36cdde70.35912c5d.js} (75%) rename assets/js/{3766ff12.842bba52.js => 3766ff12.fec53e3c.js} (73%) create mode 100644 assets/js/38ae24f3.a5591665.js delete mode 100644 assets/js/38ae24f3.d258dbe9.js rename assets/js/{3903b0d4.2b3f0f1e.js => 3903b0d4.c121ad70.js} (63%) rename assets/js/{3d23bc21.5e0bf178.js => 3d23bc21.eae29f54.js} (62%) rename assets/js/{3f237283.f1d67349.js => 3f237283.7120cfd6.js} (64%) rename assets/js/{3fb26655.3b709f6d.js => 3fb26655.8bd48b17.js} (57%) rename assets/js/{40c0f713.ba394e41.js => 40c0f713.d3865322.js} (52%) create mode 100644 assets/js/430bd102.4225414f.js delete mode 100644 assets/js/430bd102.4628877c.js rename assets/js/{460a5c5b.fd1c34cc.js => 460a5c5b.12220cf3.js} (54%) rename assets/js/{4628893b.26be870a.js => 4628893b.6251b86e.js} (69%) rename assets/js/{49044b90.fb7e7067.js => 49044b90.9d078def.js} (51%) rename assets/js/{4cbe19c8.22e686fd.js => 4cbe19c8.aa704a26.js} (62%) rename assets/js/{4e847481.41f2ff68.js => 4e847481.ac176639.js} (74%) rename assets/js/{4eb59f15.f14723f4.js => 4eb59f15.3a9d224f.js} (50%) rename assets/js/{4faaf014.9f6e9015.js => 4faaf014.011e8c65.js} (77%) create mode 100644 assets/js/533a8e17.5d934a5f.js delete mode 100644 assets/js/533a8e17.c2752d37.js create mode 100644 assets/js/55373fd9.1a968f99.js delete mode 100644 assets/js/55373fd9.629c28e0.js rename assets/js/{5c2c208f.c4ee040e.js => 5c2c208f.07810b1e.js} (51%) create mode 100644 assets/js/5f46c019.5ee38f4e.js delete mode 100644 assets/js/5f46c019.8c3deac6.js rename assets/js/{6a4d8b82.a8d4b8a8.js => 6a4d8b82.c06e8aef.js} (64%) create mode 100644 assets/js/6bccb6a0.09a31071.js delete mode 100644 assets/js/6bccb6a0.1d6a85cf.js rename assets/js/{7614ce18.aa514fad.js => 7614ce18.fee997e2.js} (64%) rename assets/js/{76aa043d.9351c5c7.js => 76aa043d.8e1516fb.js} (51%) rename assets/js/{774b774e.04b3b688.js => 774b774e.e313eb5a.js} (61%) create mode 100644 assets/js/78f84b63.39b2af5e.js rename assets/js/{7ebf62b0.187f7c73.js => 7ebf62b0.9da044c5.js} (64%) create mode 100644 assets/js/814f3328.2983cb96.js delete mode 100644 assets/js/814f3328.90c4b9b9.js rename assets/js/{829c17da.3c302d75.js => 829c17da.d89b4bbb.js} (54%) rename assets/js/{87294416.02c65165.js => 87294416.e20288c2.js} (53%) rename assets/js/{883bfc27.bd9e2746.js => 883bfc27.f4af5691.js} (61%) delete mode 100644 assets/js/8926b418.4f16c6f6.js create mode 100644 assets/js/8926b418.6a4df707.js create mode 100644 assets/js/915d2175.1ab31656.js delete mode 100644 assets/js/915d2175.98ef8c38.js rename assets/js/{933cb006.51c226dc.js => 933cb006.a79dbb13.js} (71%) create mode 100644 assets/js/935f2afb.802c108a.js delete mode 100644 assets/js/935f2afb.f862a3ba.js rename assets/js/{96e7b265.f0d5d106.js => 96e7b265.5a850e79.js} (54%) rename assets/js/{97031957.f8026130.js => 97031957.4f4e4f95.js} (63%) rename assets/js/{9caecde7.7706ba74.js => 9caecde7.e51a04c0.js} (73%) create mode 100644 assets/js/a5e5ec5a.545468d6.js rename assets/js/{aa77b6a8.e147833a.js => aa77b6a8.d613690d.js} (60%) delete mode 100644 assets/js/aa8d6d0b.3e13e67b.js create mode 100644 assets/js/aa8d6d0b.f0aa3964.js create mode 100644 assets/js/ab10b176.0f3319b5.js delete mode 100644 assets/js/ab10b176.6e445c5a.js rename assets/js/{ad90b1c0.d6c98dd7.js => ad90b1c0.bdab94b2.js} (63%) delete mode 100644 assets/js/afe92c27.71677dee.js create mode 100644 assets/js/afe92c27.7debc254.js create mode 100644 assets/js/b21f49cb.9e12b018.js rename assets/js/{b30e43e1.8a5fcee1.js => b30e43e1.ca945d29.js} (63%) rename assets/js/{b52bbddc.2d8a616c.js => b52bbddc.2966e35f.js} (63%) rename assets/js/{bc0994c2.d0ec935d.js => bc0994c2.eed7a378.js} (60%) rename assets/js/{c0086ef4.3860f1ed.js => c0086ef4.72cdf050.js} (71%) delete mode 100644 assets/js/c36217b7.74fa5221.js create mode 100644 assets/js/c36217b7.cf235a26.js rename assets/js/{c6db0fe6.229a4ba4.js => c6db0fe6.26ccdf40.js} (76%) delete mode 100644 assets/js/c9387e11.31fc4d1d.js create mode 100644 assets/js/c9387e11.50fd3a5f.js rename assets/js/{cd12752c.800db6d6.js => cd12752c.0310de61.js} (71%) delete mode 100644 assets/js/ce6de2dc.043db7dd.js create mode 100644 assets/js/ce6de2dc.c16f4d89.js rename assets/js/{common.c89f493b.js => common.2d3afba5.js} (64%) create mode 100644 assets/js/d026f85a.cf00f2b3.js delete mode 100644 assets/js/d0a7fa20.1a3095ad.js create mode 100644 assets/js/d0a7fa20.7778fb49.js rename assets/js/{d5205798.64b0a49a.js => d5205798.dd9dfda2.js} (56%) rename assets/js/{d9a0709a.87052afd.js => d9a0709a.e9b12c89.js} (58%) create mode 100644 assets/js/e3948197.c323cc8c.js rename assets/js/{e8ce008f.eae78d58.js => e8ce008f.51992a1e.js} (53%) delete mode 100644 assets/js/e9832d3c.3789b8c5.js create mode 100644 assets/js/e9832d3c.930adc88.js rename assets/js/{ebb1249f.b77a8037.js => ebb1249f.f394ca10.js} (57%) create mode 100644 assets/js/ece64983.6fe88848.js delete mode 100644 assets/js/ece64983.7f542022.js rename assets/js/{ee929032.4d2a176f.js => ee929032.57c0c6ef.js} (54%) delete mode 100644 assets/js/ef54304a.09a84e1e.js create mode 100644 assets/js/ef54304a.1e2dbed9.js rename assets/js/{f58af7d8.31a053b4.js => f58af7d8.741d1f90.js} (60%) create mode 100644 assets/js/f71da0e1.22b12679.js delete mode 100644 assets/js/f71da0e1.e4804045.js create mode 100644 assets/js/f7adbe59.25ccf043.js delete mode 100644 assets/js/f7adbe59.31a806bf.js delete mode 100644 assets/js/fa572d46.92258ec5.js create mode 100644 assets/js/fa572d46.960f8560.js rename assets/js/{fdba5499.af488abb.js => fdba5499.52f5d4e0.js} (59%) delete mode 100644 assets/js/main.71497cf7.js create mode 100644 assets/js/main.a07d52ec.js rename assets/js/{main.71497cf7.js.LICENSE.txt => main.a07d52ec.js.LICENSE.txt} (100%) delete mode 100644 assets/js/runtime~main.71f5188d.js create mode 100644 assets/js/runtime~main.b96375a3.js create mode 100644 blog/empowerment.html create mode 100644 blog/tags/features.html create mode 100644 docs/custom/displayOrder.html create mode 100644 docs/custom/displaySeparator.html create mode 100644 docs/custom/i18nConfig.html diff --git a/404.html b/404.html index 9ef28f5e..090b2ebb 100644 --- a/404.html +++ b/404.html @@ -9,8 +9,8 @@ - - + +
Skip to main content

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

diff --git a/api.html b/api.html index 1b24ff74..71fa7bf4 100644 --- a/api.html +++ b/api.html @@ -9,10 +9,10 @@ - - + + -
Skip to main content
+
Skip to main content
\ No newline at end of file diff --git a/api/class/default.html b/api/class/default.html index e3c59851..80c2aac9 100644 --- a/api/class/default.html +++ b/api/class/default.html @@ -9,11 +9,11 @@ - - + + -
Skip to main content

default

Index

Properties

config

config: Required<Params>

Methods

changeDateTimeFormatOptions

  • changeDateTimeFormatOptions(opts: DateTimeFormatOptions): void
  • Set date time format options


    Parameters

    • opts: DateTimeFormatOptions

    Returns void

changeDisplayOrder

  • changeDisplayOrder(order: (method | doseQuantity | doseRange | rateRatio | rateQuantity | rateRange | durationDurationMax | frequencyFrequencyMax | periodPeriodMax | frequencyFrequencyMaxPeriodPeriodMax | offsetWhen | dayOfWeek | timeOfDay | route | site | asNeeded | boundsDuration | boundsPeriod | boundsRange | countCountMax | event | code | maxDosePerPeriod | maxDosePerAdministration | maxDosePerLifetime | additionalInstruction | patientInstruction | text | extension)[]): void
  • To change display order


    Parameters

    • order: (method | doseQuantity | doseRange | rateRatio | rateQuantity | rateRange | durationDurationMax | frequencyFrequencyMax | periodPeriodMax | frequencyFrequencyMaxPeriodPeriodMax | offsetWhen | dayOfWeek | timeOfDay | route | site | asNeeded | boundsDuration | boundsPeriod | boundsRange | countCountMax | event | code | maxDosePerPeriod | maxDosePerAdministration | maxDosePerLifetime | additionalInstruction | patientInstruction | text | extension)[]

    Returns void

changeDisplaySeparator

  • changeDisplaySeparator(sep: string): void
  • Set display separator


    Parameters

    • sep: string

    Returns void

changeLanguage

  • changeLanguage(lng: en | fr | nl | de): Promise<TFunction<common, undefined>>
  • To change language


    Parameters

    • lng: en | fr | nl | de

    Returns Promise<TFunction<common, undefined>>

containsOnlySequentialInstructions

  • containsOnlySequentialInstructions(dosages: Dosage[]): boolean
  • Does this array of Dosage objects contains only "sequential" instructions ?


    Parameters

    • dosages: Dosage[]

    Returns boolean

fromDosageToText

  • fromDosageToText(dos: Dosage): string
  • Turn a FHIR Dosage object into text


    Parameters

    • dos: Dosage

    Returns string

fromMultipleDosageToText

  • fromMultipleDosageToText(dosages: Dosage[]): string
  • Turn multiple FHIR Dosage objects into text


    Parameters

    • dosages: Dosage[]

    Returns string

getDateTimeFormatOptions

  • getDateTimeFormatOptions(): DateTimeFormatOptions
  • Get date time format options


    Returns DateTimeFormatOptions

getDisplayOrder

  • getDisplayOrder(): (method | doseQuantity | doseRange | rateRatio | rateQuantity | rateRange | durationDurationMax | frequencyFrequencyMax | periodPeriodMax | frequencyFrequencyMaxPeriodPeriodMax | offsetWhen | dayOfWeek | timeOfDay | route | site | asNeeded | boundsDuration | boundsPeriod | boundsRange | countCountMax | event | code | maxDosePerPeriod | maxDosePerAdministration | maxDosePerLifetime | additionalInstruction | patientInstruction | text | extension)[]
  • Get display order


    Returns (method | doseQuantity | doseRange | rateRatio | rateQuantity | rateRange | durationDurationMax | frequencyFrequencyMax | periodPeriodMax | frequencyFrequencyMaxPeriodPeriodMax | offsetWhen | dayOfWeek | timeOfDay | route | site | asNeeded | boundsDuration | boundsPeriod | boundsRange | countCountMax | event | code | maxDosePerPeriod | maxDosePerAdministration | maxDosePerLifetime | additionalInstruction | patientInstruction | text | extension)[]

getDisplaySeparator

  • getDisplaySeparator(): string
  • Get display separator


    Returns string

getFields

  • getFields(dos: Dosage, ...order: (method | doseQuantity | doseRange | rateRatio | rateQuantity | rateRange | durationDurationMax | frequencyFrequencyMax | periodPeriodMax | frequencyFrequencyMaxPeriodPeriodMax | offsetWhen | dayOfWeek | timeOfDay | route | site | asNeeded | boundsDuration | boundsPeriod | boundsRange | countCountMax | event | code | maxDosePerPeriod | maxDosePerAdministration | maxDosePerLifetime | additionalInstruction | patientInstruction | text | extension)[]): string
  • From a single dosage, extract specific field(s) requested by user. -Some use cases could request to split part of the object for given needs (quantity and timing separately)


    Parameters

    • dos: Dosage
    • rest...order: (method | doseQuantity | doseRange | rateRatio | rateQuantity | rateRange | durationDurationMax | frequencyFrequencyMax | periodPeriodMax | frequencyFrequencyMaxPeriodPeriodMax | offsetWhen | dayOfWeek | timeOfDay | route | site | asNeeded | boundsDuration | boundsPeriod | boundsRange | countCountMax | event | code | maxDosePerPeriod | maxDosePerAdministration | maxDosePerLifetime | additionalInstruction | patientInstruction | text | extension)[]

    Returns string

getLanguage

  • getLanguage(): en | fr | nl | de
  • Get current language


    Returns en | fr | nl | de

groupBySequence

  • groupBySequence(dosages: Dosage[]): Dosage[][]
  • Turn this array of Dosage objects into a data structure useful to handle "sequential" and "concurrent" instructions (cf. "sequence" property).


    Parameters

    • dosages: Dosage[]

    Returns Dosage[][]

    • A two-dimensional array where each inner array contains Dosage objects belonging to the same sequence numberr.

staticbuild

  • Factory to create a fine-tuned instance of the utility class


    Parameters

    Returns Promise<FhirDosageUtils>

+
Skip to main content

default

Hierarchy

  • Configurator
    • default

Index

Methods

changeDateTimeFormatOptions

  • changeDateTimeFormatOptions(opts: DateTimeFormatOptions): void
  • Set date time format options


    Parameters

    • opts: DateTimeFormatOptions

    Returns void

changeDisplayOrder

  • changeDisplayOrder(order: (method | doseQuantity | doseRange | rateRatio | rateQuantity | rateRange | durationDurationMax | frequencyFrequencyMax | periodPeriodMax | frequencyFrequencyMaxPeriodPeriodMax | offsetWhen | dayOfWeek | timeOfDay | route | site | asNeeded | boundsDuration | boundsPeriod | boundsRange | countCountMax | event | code | maxDosePerPeriod | maxDosePerAdministration | maxDosePerLifetime | additionalInstruction | patientInstruction | text | extension)[]): void
  • To change display order


    Parameters

    • order: (method | doseQuantity | doseRange | rateRatio | rateQuantity | rateRange | durationDurationMax | frequencyFrequencyMax | periodPeriodMax | frequencyFrequencyMaxPeriodPeriodMax | offsetWhen | dayOfWeek | timeOfDay | route | site | asNeeded | boundsDuration | boundsPeriod | boundsRange | countCountMax | event | code | maxDosePerPeriod | maxDosePerAdministration | maxDosePerLifetime | additionalInstruction | patientInstruction | text | extension)[]

    Returns void

changeDisplaySeparator

  • changeDisplaySeparator(sep: string): void
  • Set display separator


    Parameters

    • sep: string

    Returns void

changeLanguage

  • changeLanguage(lng: en | fr | nl | de): Promise<TFunction<common, undefined>>
  • To change language


    Parameters

    • lng: en | fr | nl | de

    Returns Promise<TFunction<common, undefined>>

containsOnlySequentialInstructions

  • containsOnlySequentialInstructions(dosages: Dosage[]): boolean
  • Does this array of Dosage objects contains only "sequential" instructions ?


    Parameters

    • dosages: Dosage[]

    Returns boolean

fromDosageToText

  • fromDosageToText(dos: Dosage): string
  • Turn a FHIR Dosage object into text


    Parameters

    • dos: Dosage

    Returns string

fromMultipleDosageToText

  • fromMultipleDosageToText(dosages: Dosage[]): string
  • Turn multiple FHIR Dosage objects into text


    Parameters

    • dosages: Dosage[]

    Returns string

getDateTimeFormatOptions

  • getDateTimeFormatOptions(): DateTimeFormatOptions
  • Get date time format options


    Returns DateTimeFormatOptions

getDisplayOrder

  • getDisplayOrder(): (method | doseQuantity | doseRange | rateRatio | rateQuantity | rateRange | durationDurationMax | frequencyFrequencyMax | periodPeriodMax | frequencyFrequencyMaxPeriodPeriodMax | offsetWhen | dayOfWeek | timeOfDay | route | site | asNeeded | boundsDuration | boundsPeriod | boundsRange | countCountMax | event | code | maxDosePerPeriod | maxDosePerAdministration | maxDosePerLifetime | additionalInstruction | patientInstruction | text | extension)[]
  • Get display order


    Returns (method | doseQuantity | doseRange | rateRatio | rateQuantity | rateRange | durationDurationMax | frequencyFrequencyMax | periodPeriodMax | frequencyFrequencyMaxPeriodPeriodMax | offsetWhen | dayOfWeek | timeOfDay | route | site | asNeeded | boundsDuration | boundsPeriod | boundsRange | countCountMax | event | code | maxDosePerPeriod | maxDosePerAdministration | maxDosePerLifetime | additionalInstruction | patientInstruction | text | extension)[]

getDisplaySeparator

  • getDisplaySeparator(): string
  • Get display separator


    Returns string

getFields

  • getFields(dos: Dosage, ...order: (method | doseQuantity | doseRange | rateRatio | rateQuantity | rateRange | durationDurationMax | frequencyFrequencyMax | periodPeriodMax | frequencyFrequencyMaxPeriodPeriodMax | offsetWhen | dayOfWeek | timeOfDay | route | site | asNeeded | boundsDuration | boundsPeriod | boundsRange | countCountMax | event | code | maxDosePerPeriod | maxDosePerAdministration | maxDosePerLifetime | additionalInstruction | patientInstruction | text | extension)[]): string
  • From a single dosage, extract specific field(s) requested by user. +Some use cases could request to split part of the object for given needs (quantity and timing separately)


    Parameters

    • dos: Dosage
    • rest...order: (method | doseQuantity | doseRange | rateRatio | rateQuantity | rateRange | durationDurationMax | frequencyFrequencyMax | periodPeriodMax | frequencyFrequencyMaxPeriodPeriodMax | offsetWhen | dayOfWeek | timeOfDay | route | site | asNeeded | boundsDuration | boundsPeriod | boundsRange | countCountMax | event | code | maxDosePerPeriod | maxDosePerAdministration | maxDosePerLifetime | additionalInstruction | patientInstruction | text | extension)[]

    Returns string

getLanguage

  • getLanguage(): en | fr | nl | de
  • Get current language


    Returns en | fr | nl | de

groupBySequence

  • groupBySequence(dosages: Dosage[]): Dosage[][]
  • Turn this array of Dosage objects into a data structure useful to handle "sequential" and "concurrent" instructions (cf. "sequence" property).


    Parameters

    • dosages: Dosage[]

    Returns Dosage[][]

    • A two-dimensional array where each inner array contains Dosage objects belonging to the same sequence numberr.

staticbuild

  • Factory to create a fine-tuned instance of the utility class


    Parameters

    • optionaluserConfig: Params
    • i18nConfig: InitOptions<object> = defaultI18NConfig

    Returns Promise<FhirDosageUtils>

\ No newline at end of file diff --git a/api/enum/DisplayOrderEnum.html b/api/enum/DisplayOrderEnum.html index 48f82e2c..8927ed01 100644 --- a/api/enum/DisplayOrderEnum.html +++ b/api/enum/DisplayOrderEnum.html @@ -9,10 +9,10 @@ - - + + -
Skip to main content

DisplayOrderEnum

Represents the available display orders

Index

Enumeration Members

additionalInstruction

additionalInstruction: additionalInstruction

Display "additionalInstruction"

asNeeded

asNeeded: asNeeded

Display "asNeededBoolean" / "asNeededCodeableConcept" / "asNeeded" / "asNeededFor"

boundsDuration

boundsDuration: boundsDuration

Display "timing.repeat.boundsDuration"

boundsPeriod

boundsPeriod: boundsPeriod

Display "timing.repeat.boundsPeriod"

boundsRange

boundsRange: boundsRange

Display "timing.repeat.boundsRange"

code

code: code

Display "timing.code"

countCountMax

countCountMax: countCountMax

Display "timing.repeat.count" / "timing.repeat.countMax"

dayOfWeek

dayOfWeek: dayOfWeek

Display "timing.repeat.dayOfWeek"

doseQuantity

doseQuantity: doseQuantity

Display "doseAndRate.doseQuantity"

doseRange

doseRange: doseRange

Display "doseAndRate.doseRange"

durationDurationMax

durationDurationMax: durationDurationMax

Display "timing.repeat.duration" / "timing.repeat.durationMax"

event

event: event

Display "timing.event"

extension

extension: extension

Display "extension"

frequencyFrequencyMax

frequencyFrequencyMax: frequencyFrequencyMax

Display "timing.repeat.frequency" / "timing.repeat.frequencyMax"

frequencyFrequencyMaxPeriodPeriodMax

frequencyFrequencyMaxPeriodPeriodMax: frequencyFrequencyMaxPeriodPeriodMax

Display "timing.repeat.frequency" / "timing.repeat.frequencyMax" / "timing.repeat.period" / "timing.repeat.periodMax"

maxDosePerAdministration

maxDosePerAdministration: maxDosePerAdministration

Display "maxDosePerAdministration"

maxDosePerLifetime

maxDosePerLifetime: maxDosePerLifetime

Display "maxDosePerLifetime"

maxDosePerPeriod

maxDosePerPeriod: maxDosePerPeriod

Display "maxDosePerPeriod"

method

method: method

Display "method"

offsetWhen

offsetWhen: offsetWhen

Display "timing.repeat.offset" / "timing.repeat.when"

patientInstruction

patientInstruction: patientInstruction

Display "patientInstruction"

periodPeriodMax

periodPeriodMax: periodPeriodMax

Display "timing.repeat.period" / "timing.repeat.periodMax"

rateQuantity

rateQuantity: rateQuantity

Display "doseAndRate.rateQuantity"

rateRange

rateRange: rateRange

Display "doseAndRate.rateRange"

rateRatio

rateRatio: rateRatio

Display "doseAndRate.rateRatio"

route

route: route

Display "route"

site

site: site

Display "site"

text

text: text

Display "text"

timeOfDay

timeOfDay: timeOfDay

Display "timing.repeat.timeOfDay"

+
Skip to main content

DisplayOrderEnum

Represents the available display orders

Index

Enumeration Members

additionalInstruction

additionalInstruction: additionalInstruction

Display "additionalInstruction"

asNeeded

asNeeded: asNeeded

Display "asNeededBoolean" / "asNeededCodeableConcept" / "asNeeded" / "asNeededFor"

boundsDuration

boundsDuration: boundsDuration

Display "timing.repeat.boundsDuration"

boundsPeriod

boundsPeriod: boundsPeriod

Display "timing.repeat.boundsPeriod"

boundsRange

boundsRange: boundsRange

Display "timing.repeat.boundsRange"

code

code: code

Display "timing.code"

countCountMax

countCountMax: countCountMax

Display "timing.repeat.count" / "timing.repeat.countMax"

dayOfWeek

dayOfWeek: dayOfWeek

Display "timing.repeat.dayOfWeek"

doseQuantity

doseQuantity: doseQuantity

Display "doseAndRate.doseQuantity"

doseRange

doseRange: doseRange

Display "doseAndRate.doseRange"

durationDurationMax

durationDurationMax: durationDurationMax

Display "timing.repeat.duration" / "timing.repeat.durationMax"

event

event: event

Display "timing.event"

extension

extension: extension

Display "extension"

frequencyFrequencyMax

frequencyFrequencyMax: frequencyFrequencyMax

Display "timing.repeat.frequency" / "timing.repeat.frequencyMax"

frequencyFrequencyMaxPeriodPeriodMax

frequencyFrequencyMaxPeriodPeriodMax: frequencyFrequencyMaxPeriodPeriodMax

Display "timing.repeat.frequency" / "timing.repeat.frequencyMax" / "timing.repeat.period" / "timing.repeat.periodMax"

maxDosePerAdministration

maxDosePerAdministration: maxDosePerAdministration

Display "maxDosePerAdministration"

maxDosePerLifetime

maxDosePerLifetime: maxDosePerLifetime

Display "maxDosePerLifetime"

maxDosePerPeriod

maxDosePerPeriod: maxDosePerPeriod

Display "maxDosePerPeriod"

method

method: method

Display "method"

offsetWhen

offsetWhen: offsetWhen

Display "timing.repeat.offset" / "timing.repeat.when"

patientInstruction

patientInstruction: patientInstruction

Display "patientInstruction"

periodPeriodMax

periodPeriodMax: periodPeriodMax

Display "timing.repeat.period" / "timing.repeat.periodMax"

rateQuantity

rateQuantity: rateQuantity

Display "doseAndRate.rateQuantity"

rateRange

rateRange: rateRange

Display "doseAndRate.rateRange"

rateRatio

rateRatio: rateRatio

Display "doseAndRate.rateRatio"

route

route: route

Display "route"

site

site: site

Display "site"

text

text: text

Display "text"

timeOfDay

timeOfDay: timeOfDay

Display "timing.repeat.timeOfDay"

\ No newline at end of file diff --git a/api/interface/Params.html b/api/interface/Params.html index 0ebfa829..e2962b5b 100644 --- a/api/interface/Params.html +++ b/api/interface/Params.html @@ -9,15 +9,15 @@ - - + + -
Skip to main content

Params

Index

Properties

optionaldateTimeFormatOptions

dateTimeFormatOptions?: DateTimeFormatOptions

To control the formatting of dateTime objects. +

Params

Index

Properties

optionaldateTimeFormatOptions

dateTimeFormatOptions?: DateTimeFormatOptions

To control the formatting of dateTime objects. If not provided, will use the defaults according locale e.g. "20/01/2024"

@defaultValue
{}
@see

optionaldisplayOrder

displayOrder?: (method | doseQuantity | doseRange | rateRatio | rateQuantity | rateRange | durationDurationMax | frequencyFrequencyMax | periodPeriodMax | frequencyFrequencyMaxPeriodPeriodMax | offsetWhen | dayOfWeek | timeOfDay | route | site | asNeeded | boundsDuration | boundsPeriod | boundsRange | countCountMax | event | code | maxDosePerPeriod | maxDosePerAdministration | maxDosePerLifetime | additionalInstruction | patientInstruction | text | extension)[]

Control the display order used by the algorithm Useful when you want to turn on / off some specific rules for some reason

@defaultValue
["method", "doseQuantity", "doseRange", "rateRatio", "rateQuantity", "rateRange", "durationDurationMax", "frequencyFrequencyMaxPeriodPeriodMax", "offsetWhen", "dayOfWeek", "timeOfDay", "route", "site", "asNeeded", "boundsDuration", "boundsPeriod", "boundsRange", "countCountMax", "event", "code", "maxDosePerPeriod", "maxDosePerAdministration", "maxDosePerLifetime", "additionalInstruction", "patientInstruction"]
@see

DisplayOrderEnum for more info

optionaldisplaySeparator

displaySeparator?: string

Override separator between each part of "Dosage"

@defaultValue
" - "

optionalfromCodeableConceptToString

fromCodeableConceptToString?: FromCodeableConceptToStringFct

Function to turn a codeable concept (e.g SNOMED CT "311504000") into a string for humans (e.g "With or after food") The choice to handle extension, local valueset, ... is thus under the hands of people ;)

@see

optionalfromExtensionsToString

fromExtensionsToString?: FromExtensionsToStringFct

Function to turn extension(s) into a string for humans. The choice to handle national extensions, ... is thus under the hands of people ;)

@see

optionalfromFHIRQuantityUnitToString

fromFHIRQuantityUnitToString?: FromFHIRQuantityUnitToStringFct

Function to turn a quantity unit (e.g UCUM "ml") into a string for humans (e.g "militier") -The choice to handle plural form or not is thus under the hands of people ;)

@see

optionallanguage

language?: en | fr | nl | de

To set up the language

@defaultValue
"en" (English)
+The choice to handle plural form or not is thus under the hands of people ;)

@see

optionallanguage

language?: en | fr | nl | de

To set up the language

@defaultValue
"en" (English)
\ No newline at end of file diff --git a/assets/js/01aca802.c60ad7c2.js b/assets/js/01aca802.00ca397b.js similarity index 70% rename from assets/js/01aca802.c60ad7c2.js rename to assets/js/01aca802.00ca397b.js index 6031ebfe..aa363430 100644 --- a/assets/js/01aca802.c60ad7c2.js +++ b/assets/js/01aca802.00ca397b.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2079],{8519:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>g,frontMatter:()=>l,metadata:()=>m,toc:()=>x});var n=s(4848),i=s(8453),o=s(1812);const r=JSON.parse('[{"sequence":1,"text":"75mcg daily","timing":{"repeat":{"frequency":1,"period":1,"periodUnit":"d"}},"route":{"coding":[{"system":"http://snomed.info/sct","code":"26643006","display":"Oral Route (qualifier value)"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":75,"unit":"mcg","system":"http://unitsofmeasure.org","code":"ug"}}]}]');var a=s(4865),d=s(9365),c=s(8264);const l={description:"Request - Levothyroxine - completed with reasonCode, dosageInstructions and dispenseRequest",title:"medrx0314"},u=void 0,m={id:"examples/medicationrequest/medrx0314",title:"medrx0314",description:"Request - Levothyroxine - completed with reasonCode, dosageInstructions and dispenseRequest",source:"@site/docs/examples/medicationrequest/medrx0314.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx0314",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0314",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx0314.mdx",tags:[],version:"current",frontMatter:{description:"Request - Levothyroxine - completed with reasonCode, dosageInstructions and dispenseRequest",title:"medrx0314"},sidebar:"tutorialSidebar",previous:{title:"medrx0313",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0313"},next:{title:"medrx0315",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0315"}},p={},x=[];function h(e){const t={a:"a",admonition:"admonition",p:"p",...(0,i.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.admonition,{type:"info",children:(0,n.jsxs)(t.p,{children:["Source: ",(0,n.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequest0314.html",children:"HL7"}),' - "Request - Levothyroxine - completed with reasonCode, dosageInstructions and dispenseRequest"']})}),"\n",(0,n.jsxs)(a.A,{children:[(0,n.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(c.A,{dosages:r,config:{}})}),(0,n.jsx)(d.A,{value:"json",label:"Dosage",children:(0,n.jsx)(o.default,{language:"json",children:JSON.stringify(r,null,2)})})]})]})}function g(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(h,{...e})}):h(e)}},8264:(e,t,s)=>{s.d(t,{A:()=>a});var n=s(6540),i=s(6300),o=s(1812),r=s(4848);function a(e){let{dosages:t,config:s}=e;const[a,d]=(0,n.useState)(""),[c,l]=(0,n.useState)(s?.language||"en"),[u,m]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await i.A.build(s);m(e)}()}),[s]),(0,n.useEffect)((()=>{!async function(){if(u){const e=u.fromMultipleDosageToText(t);d(e)}}()}),[t,u]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:c,onChange:e=>l(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(c);const e=u.fromMultipleDosageToText(t);d(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(o.default,{language:"markup",children:(p=a,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var p}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2079],{8519:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>g,frontMatter:()=>l,metadata:()=>m,toc:()=>x});var n=s(4848),i=s(8453),o=s(1812);const r=JSON.parse('[{"sequence":1,"text":"75mcg daily","timing":{"repeat":{"frequency":1,"period":1,"periodUnit":"d"}},"route":{"coding":[{"system":"http://snomed.info/sct","code":"26643006","display":"Oral Route (qualifier value)"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":75,"unit":"mcg","system":"http://unitsofmeasure.org","code":"ug"}}]}]');var a=s(4865),d=s(9365),c=s(8264);const l={description:"Request - Levothyroxine - completed with reasonCode, dosageInstructions and dispenseRequest",title:"medrx0314"},u=void 0,m={id:"examples/medicationrequest/medrx0314",title:"medrx0314",description:"Request - Levothyroxine - completed with reasonCode, dosageInstructions and dispenseRequest",source:"@site/docs/examples/medicationrequest/medrx0314.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx0314",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0314",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx0314.mdx",tags:[],version:"current",frontMatter:{description:"Request - Levothyroxine - completed with reasonCode, dosageInstructions and dispenseRequest",title:"medrx0314"},sidebar:"tutorialSidebar",previous:{title:"medrx0313",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0313"},next:{title:"medrx0315",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0315"}},p={},x=[];function h(e){const t={a:"a",admonition:"admonition",p:"p",...(0,i.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.admonition,{type:"info",children:(0,n.jsxs)(t.p,{children:["Source: ",(0,n.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequest0314.html",children:"HL7"}),' - "Request - Levothyroxine - completed with reasonCode, dosageInstructions and dispenseRequest"']})}),"\n",(0,n.jsxs)(a.A,{children:[(0,n.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(c.A,{dosages:r,config:{}})}),(0,n.jsx)(d.A,{value:"json",label:"Dosage",children:(0,n.jsx)(o.default,{language:"json",children:JSON.stringify(r,null,2)})})]})]})}function g(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(h,{...e})}):h(e)}},8264:(e,t,s)=>{s.d(t,{A:()=>a});var n=s(6540),i=s(6300),o=s(1812),r=s(4848);function a(e){let{dosages:t,config:s,i18nConfig:a}=e;const[d,c]=(0,n.useState)(""),[l,u]=(0,n.useState)(s?.language||"en"),[m,p]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await i.A.build(s,a);p(e)}()}),[s]),(0,n.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);c(e)}}()}),[t,m]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:l,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(m){await m.changeLanguage(l);const e=m.fromMultipleDosageToText(t);c(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(o.default,{language:"markup",children:(x=d,x.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var x}}}]); \ No newline at end of file diff --git a/assets/js/026611d2.8c44342f.js b/assets/js/026611d2.8c44342f.js new file mode 100644 index 00000000..751ae66c --- /dev/null +++ b/assets/js/026611d2.8c44342f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9301],{9480:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>h,contentTitle:()=>u,default:()=>m,frontMatter:()=>d,metadata:()=>f,toc:()=>p});var a=t(4848),o=t(8453),i=t(1812),r=t(7622),s=t(4865),c=t(9365),l=t(816);const d={description:"Options for the i18next instances",title:"\ud83c\udf10 i18nConfig"},u=void 0,f={id:"custom/i18nConfig",title:"\ud83c\udf10 i18nConfig",description:"Options for the i18next instances",source:"@site/docs/custom/i18nConfig.mdx",sourceDirName:"custom",slug:"/custom/i18nConfig",permalink:"/fhir-dosage-utils/docs/custom/i18nConfig",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/custom/i18nConfig.mdx",tags:[],version:"current",frontMatter:{description:"Options for the i18next instances",title:"\ud83c\udf10 i18nConfig"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udccf fromFHIRQuantityUnitToString",permalink:"/fhir-dosage-utils/docs/custom/fromFHIRQuantityUnitToString"},next:{title:"\ud83d\uddfa\ufe0f Real word examples",permalink:"/fhir-dosage-utils/docs/demo/examples"}},h={},p=[];function g(e){const n={code:"code",pre:"pre",...(0,o.R)(),...e.components};return(0,a.jsxs)(s.A,{children:[(0,a.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,a.jsx)(l.A,{dosage:r})}),(0,a.jsx)(c.A,{value:"json",label:"Dosage",children:(0,a.jsx)(i.default,{language:"json",children:JSON.stringify(r,null,2)})}),(0,a.jsx)(c.A,{value:"config",label:"i18nConfig",children:(0,a.jsx)(n.pre,{children:(0,a.jsx)(n.code,{className:"language-js",children:"import LocalStorageBackend from 'i18next-localstorage-backend'; // load from local storage\nimport HttpApi from 'i18next-http-backend'; // have a own http fallback\n\n{\n backend: {\n backends: [\n LocalStorageBackend, // primary\n HttpApi // fallback\n ],\n backendOptions: [{\n projectId: 'myLocizeProjectId'\n }, {\n loadPath: '/locales/{{lng}}/{{ns}}.json' // http api load path for my own fallback\n }],\n // cacheHitMode: 'none' // (default)\n // cacheHitMode: 'refresh' // tries to refresh the cache by loading from the next backend and updates the cache\n // cacheHitMode: 'refreshAndUpdateStore' // tries to refresh the cache by loading from the next backend, updates the cache and also update the i18next resource store\n // reloadInterval: 60 * 60 * 1000 // can be used to reload resources in a specific interval (useful in server environments)\n // refreshExpirationTime: 7 * 24 * 60 * 60 * 1000 // In case of caching with 'refresh' or 'refreshAndUpdateStore', it will only fetch from the next backend if the cached namespace is expired. Only supported if the backend returns the saved timestamp, like i18next-fs-backend, i18next-localstorage-backend\n }\n}\n"})})})]})}function m(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(g,{...e})}):g(e)}},816:(e,n,t)=>{t.d(n,{A:()=>s});var a=t(6540),o=t(6300),i=t(1812),r=t(4848);function s(e){let{dosage:n,config:t,i18nConfig:s}=e;const[c,l]=(0,a.useState)(""),[d,u]=(0,a.useState)(t?.language||"en"),[f,h]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const e=await o.A.build(t,s);h(e)}()}),[t]),(0,a.useEffect)((()=>{!async function(){if(f){const e=f.fromDosageToText(n);l(e)}}()}),[n,f]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:d,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(f){await f.changeLanguage(d);const e=f.fromDosageToText(n);l(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(i.default,{language:"markup",children:(p=c,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var p}},7622:e=>{e.exports=JSON.parse('{"timing":{"repeat":{"boundsDuration":{"system":"http://hl7.org/fhir/ValueSet/duration-units","value":3,"code":"d"}}}}')}}]); \ No newline at end of file diff --git a/assets/js/03620de3.840d9cd7.js b/assets/js/03620de3.30f6acce.js similarity index 55% rename from assets/js/03620de3.840d9cd7.js rename to assets/js/03620de3.30f6acce.js index 66ac489f..aca0abbc 100644 --- a/assets/js/03620de3.840d9cd7.js +++ b/assets/js/03620de3.30f6acce.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2460],{4845:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>h,contentTitle:()=>u,default:()=>x,frontMatter:()=>d,metadata:()=>g,toc:()=>p});var a=t(4848),s=t(8453),i=t(1812);const r=JSON.parse('{"doseAndRate":[{"rateRange":{"high":{"value":5,"unit":"pills"}}}]}');var o=t(4865),l=t(9365),c=t(816);const d={description:"High only",title:"\u2696\ufe0f rateRange (High only)"},u=void 0,g={id:"specs/rateRange/high_only",title:"\u2696\ufe0f rateRange (High only)",description:"High only",source:"@site/docs/specs/rateRange/high_only.mdx",sourceDirName:"specs/rateRange",slug:"/specs/rateRange/high_only",permalink:"/fhir-dosage-utils/docs/specs/rateRange/high_only",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/rateRange/high_only.mdx",tags:[],version:"current",frontMatter:{description:"High only",title:"\u2696\ufe0f rateRange (High only)"},sidebar:"tutorialSidebar",previous:{title:"\u2696\ufe0f rateRange",permalink:"/fhir-dosage-utils/docs/category/\ufe0f-raterange"},next:{title:"\u2696\ufe0f rateRange (Low & High)",permalink:"/fhir-dosage-utils/docs/specs/rateRange/low_and_high"}},h={},p=[];function f(e){const n={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(o.A,{children:[(0,a.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,a.jsx)(c.A,{dosage:r})}),(0,a.jsx)(l.A,{value:"json",label:"Dosage",children:(0,a.jsx)(i.default,{language:"json",children:JSON.stringify(r,null,2)})})]}),"\n",(0,a.jsx)(n.admonition,{type:"tip",children:(0,a.jsxs)(n.p,{children:["Don't forget you can use ",(0,a.jsx)(n.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(f,{...e})}):f(e)}},816:(e,n,t)=>{t.d(n,{A:()=>o});var a=t(6540),s=t(6300),i=t(1812),r=t(4848);function o(e){let{dosage:n,config:t}=e;const[o,l]=(0,a.useState)(""),[c,d]=(0,a.useState)(t?.language||"en"),[u,g]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const e=await s.A.build(t);g(e)}()}),[t]),(0,a.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(n);l(e)}}()}),[n,u]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:c,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(c);const e=u.fromDosageToText(n);l(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(i.default,{language:"markup",children:(h=o,h.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var h}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2460],{4845:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>h,contentTitle:()=>u,default:()=>x,frontMatter:()=>d,metadata:()=>g,toc:()=>p});var a=t(4848),i=t(8453),s=t(1812);const r=JSON.parse('{"doseAndRate":[{"rateRange":{"high":{"value":5,"unit":"pills"}}}]}');var o=t(4865),l=t(9365),c=t(816);const d={description:"High only",title:"\u2696\ufe0f rateRange (High only)"},u=void 0,g={id:"specs/rateRange/high_only",title:"\u2696\ufe0f rateRange (High only)",description:"High only",source:"@site/docs/specs/rateRange/high_only.mdx",sourceDirName:"specs/rateRange",slug:"/specs/rateRange/high_only",permalink:"/fhir-dosage-utils/docs/specs/rateRange/high_only",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/rateRange/high_only.mdx",tags:[],version:"current",frontMatter:{description:"High only",title:"\u2696\ufe0f rateRange (High only)"},sidebar:"tutorialSidebar",previous:{title:"\u2696\ufe0f rateRange",permalink:"/fhir-dosage-utils/docs/category/\ufe0f-raterange"},next:{title:"\u2696\ufe0f rateRange (Low & High)",permalink:"/fhir-dosage-utils/docs/specs/rateRange/low_and_high"}},h={},p=[];function f(e){const n={a:"a",admonition:"admonition",p:"p",...(0,i.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(o.A,{children:[(0,a.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,a.jsx)(c.A,{dosage:r})}),(0,a.jsx)(l.A,{value:"json",label:"Dosage",children:(0,a.jsx)(s.default,{language:"json",children:JSON.stringify(r,null,2)})})]}),"\n",(0,a.jsx)(n.admonition,{type:"tip",children:(0,a.jsxs)(n.p,{children:["Don't forget you can use ",(0,a.jsx)(n.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(f,{...e})}):f(e)}},816:(e,n,t)=>{t.d(n,{A:()=>o});var a=t(6540),i=t(6300),s=t(1812),r=t(4848);function o(e){let{dosage:n,config:t,i18nConfig:o}=e;const[l,c]=(0,a.useState)(""),[d,u]=(0,a.useState)(t?.language||"en"),[g,h]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const e=await i.A.build(t,o);h(e)}()}),[t]),(0,a.useEffect)((()=>{!async function(){if(g){const e=g.fromDosageToText(n);c(e)}}()}),[n,g]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:d,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(g){await g.changeLanguage(d);const e=g.fromDosageToText(n);c(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(s.default,{language:"markup",children:(p=l,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/04716c54.187f1a45.js b/assets/js/04716c54.907ba12d.js similarity index 65% rename from assets/js/04716c54.187f1a45.js rename to assets/js/04716c54.907ba12d.js index ba157ed8..17375233 100644 --- a/assets/js/04716c54.187f1a45.js +++ b/assets/js/04716c54.907ba12d.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8945],{5943:(e,n,o)=>{o.r(n),o.d(n,{assets:()=>p,contentTitle:()=>d,default:()=>x,frontMatter:()=>u,metadata:()=>g,toc:()=>f});var t=o(4848),s=o(8453),a=o(1812);const i=JSON.parse('{"timing":{"repeat":{"boundsRange":{"low":{"value":5,"unit":"days"}}}}}');var r=o(4865),l=o(9365),c=o(816);const u={description:"Low only",title:"\ud83d\udcd0 boundsDuration (Low only)"},d=void 0,g={id:"specs/boundsRange/low_only",title:"\ud83d\udcd0 boundsDuration (Low only)",description:"Low only",source:"@site/docs/specs/boundsRange/low_only.mdx",sourceDirName:"specs/boundsRange",slug:"/specs/boundsRange/low_only",permalink:"/fhir-dosage-utils/docs/specs/boundsRange/low_only",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/boundsRange/low_only.mdx",tags:[],version:"current",frontMatter:{description:"Low only",title:"\ud83d\udcd0 boundsDuration (Low only)"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udcd0 boundsDuration (Low & High)",permalink:"/fhir-dosage-utils/docs/specs/boundsRange/low_and_high"},next:{title:"\ud83d\udcbb code",permalink:"/fhir-dosage-utils/docs/category/-code"}},p={},f=[];function h(e){const n={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(r.A,{children:[(0,t.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,t.jsx)(c.A,{dosage:i})}),(0,t.jsx)(l.A,{value:"json",label:"Dosage",children:(0,t.jsx)(a.default,{language:"json",children:JSON.stringify(i,null,2)})})]}),"\n",(0,t.jsx)(n.admonition,{type:"tip",children:(0,t.jsxs)(n.p,{children:["Don't forget you can use ",(0,t.jsx)(n.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(h,{...e})}):h(e)}},816:(e,n,o)=>{o.d(n,{A:()=>r});var t=o(6540),s=o(6300),a=o(1812),i=o(4848);function r(e){let{dosage:n,config:o}=e;const[r,l]=(0,t.useState)(""),[c,u]=(0,t.useState)(o?.language||"en"),[d,g]=(0,t.useState)(null);(0,t.useEffect)((()=>{!async function(){const e=await s.A.build(o);g(e)}()}),[o]),(0,t.useEffect)((()=>{!async function(){if(d){const e=d.fromDosageToText(n);l(e)}}()}),[n,d]);return(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{style:{display:"flex"},children:[(0,i.jsxs)("select",{value:c,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,i.jsx)("option",{value:"en",children:"English"}),(0,i.jsx)("option",{value:"fr",children:"French"}),(0,i.jsx)("option",{value:"nl",children:"Dutch"}),(0,i.jsx)("option",{value:"de",children:"German"})]}),(0,i.jsx)("button",{onClick:async()=>{if(d){await d.changeLanguage(c);const e=d.fromDosageToText(n);l(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(a.default,{language:"markup",children:(p=r,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var p}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8945],{5943:(e,n,o)=>{o.r(n),o.d(n,{assets:()=>p,contentTitle:()=>d,default:()=>x,frontMatter:()=>u,metadata:()=>g,toc:()=>f});var t=o(4848),s=o(8453),a=o(1812);const i=JSON.parse('{"timing":{"repeat":{"boundsRange":{"low":{"value":5,"unit":"days"}}}}}');var r=o(4865),l=o(9365),c=o(816);const u={description:"Low only",title:"\ud83d\udcd0 boundsDuration (Low only)"},d=void 0,g={id:"specs/boundsRange/low_only",title:"\ud83d\udcd0 boundsDuration (Low only)",description:"Low only",source:"@site/docs/specs/boundsRange/low_only.mdx",sourceDirName:"specs/boundsRange",slug:"/specs/boundsRange/low_only",permalink:"/fhir-dosage-utils/docs/specs/boundsRange/low_only",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/boundsRange/low_only.mdx",tags:[],version:"current",frontMatter:{description:"Low only",title:"\ud83d\udcd0 boundsDuration (Low only)"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udcd0 boundsDuration (Low & High)",permalink:"/fhir-dosage-utils/docs/specs/boundsRange/low_and_high"},next:{title:"\ud83d\udcbb code",permalink:"/fhir-dosage-utils/docs/category/-code"}},p={},f=[];function h(e){const n={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(r.A,{children:[(0,t.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,t.jsx)(c.A,{dosage:i})}),(0,t.jsx)(l.A,{value:"json",label:"Dosage",children:(0,t.jsx)(a.default,{language:"json",children:JSON.stringify(i,null,2)})})]}),"\n",(0,t.jsx)(n.admonition,{type:"tip",children:(0,t.jsxs)(n.p,{children:["Don't forget you can use ",(0,t.jsx)(n.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(h,{...e})}):h(e)}},816:(e,n,o)=>{o.d(n,{A:()=>r});var t=o(6540),s=o(6300),a=o(1812),i=o(4848);function r(e){let{dosage:n,config:o,i18nConfig:r}=e;const[l,c]=(0,t.useState)(""),[u,d]=(0,t.useState)(o?.language||"en"),[g,p]=(0,t.useState)(null);(0,t.useEffect)((()=>{!async function(){const e=await s.A.build(o,r);p(e)}()}),[o]),(0,t.useEffect)((()=>{!async function(){if(g){const e=g.fromDosageToText(n);c(e)}}()}),[n,g]);return(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{style:{display:"flex"},children:[(0,i.jsxs)("select",{value:u,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,i.jsx)("option",{value:"en",children:"English"}),(0,i.jsx)("option",{value:"fr",children:"French"}),(0,i.jsx)("option",{value:"nl",children:"Dutch"}),(0,i.jsx)("option",{value:"de",children:"German"})]}),(0,i.jsx)("button",{onClick:async()=>{if(g){await g.changeLanguage(u);const e=g.fromDosageToText(n);c(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(a.default,{language:"markup",children:(f=l,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/0530b1c5.dc247836.js b/assets/js/0530b1c5.6ecb9b9d.js similarity index 51% rename from assets/js/0530b1c5.dc247836.js rename to assets/js/0530b1c5.6ecb9b9d.js index e42fcbd5..fef642c5 100644 --- a/assets/js/0530b1c5.dc247836.js +++ b/assets/js/0530b1c5.6ecb9b9d.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[7032],{559:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>h,contentTitle:()=>l,default:()=>x,frontMatter:()=>c,metadata:()=>d,toc:()=>p});var o=t(4848),n=t(8453),r=t(1812);const f=JSON.parse('{"timing":{"repeat":{"offset":60}}}');var a=t(4865),i=t(9365),u=t(816);const c={description:"offset, expressing hour(s)",title:"\ud83d\udd52 offset (Hours)"},l=void 0,d={id:"specs/offsetWhen/offset/offset_hours",title:"\ud83d\udd52 offset (Hours)",description:"offset, expressing hour(s)",source:"@site/docs/specs/offsetWhen/offset/offset_hours.mdx",sourceDirName:"specs/offsetWhen/offset",slug:"/specs/offsetWhen/offset/offset_hours",permalink:"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_hours",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/offsetWhen/offset/offset_hours.mdx",tags:[],version:"current",frontMatter:{description:"offset, expressing hour(s)",title:"\ud83d\udd52 offset (Hours)"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udd52 offset (Days)",permalink:"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_days"},next:{title:"\ud83d\udd52 offset (Minutes)",permalink:"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_minutes"}},h={},p=[];function g(e){return(0,o.jsxs)(a.A,{children:[(0,o.jsx)(i.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(u.A,{dosage:f})}),(0,o.jsx)(i.A,{value:"json",label:"Dosage",children:(0,o.jsx)(r.default,{language:"json",children:JSON.stringify(f,null,2)})})]})}function x(e={}){const{wrapper:s}={...(0,n.R)(),...e.components};return s?(0,o.jsx)(s,{...e,children:(0,o.jsx)(g,{...e})}):g()}},816:(e,s,t)=>{t.d(s,{A:()=>a});var o=t(6540),n=t(6300),r=t(1812),f=t(4848);function a(e){let{dosage:s,config:t}=e;const[a,i]=(0,o.useState)(""),[u,c]=(0,o.useState)(t?.language||"en"),[l,d]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await n.A.build(t);d(e)}()}),[t]),(0,o.useEffect)((()=>{!async function(){if(l){const e=l.fromDosageToText(s);i(e)}}()}),[s,l]);return(0,f.jsxs)("div",{children:[(0,f.jsxs)("div",{style:{display:"flex"},children:[(0,f.jsxs)("select",{value:u,onChange:e=>c(e.target.value),style:{marginRight:"10px"},children:[(0,f.jsx)("option",{value:"en",children:"English"}),(0,f.jsx)("option",{value:"fr",children:"French"}),(0,f.jsx)("option",{value:"nl",children:"Dutch"}),(0,f.jsx)("option",{value:"de",children:"German"})]}),(0,f.jsx)("button",{onClick:async()=>{if(l){await l.changeLanguage(u);const e=l.fromDosageToText(s);i(e)}},children:"Confirm"})]}),(0,f.jsx)("div",{style:{marginTop:"10px"},children:(0,f.jsx)(r.default,{language:"markup",children:(h=a,h.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,s){return String.fromCharCode(s)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,s){return String.fromCharCode(parseInt(s,16))})))})})]});var h}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[7032],{559:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>h,contentTitle:()=>l,default:()=>x,frontMatter:()=>c,metadata:()=>d,toc:()=>p});var o=t(4848),n=t(8453),f=t(1812);const r=JSON.parse('{"timing":{"repeat":{"offset":60}}}');var a=t(4865),i=t(9365),u=t(816);const c={description:"offset, expressing hour(s)",title:"\ud83d\udd52 offset (Hours)"},l=void 0,d={id:"specs/offsetWhen/offset/offset_hours",title:"\ud83d\udd52 offset (Hours)",description:"offset, expressing hour(s)",source:"@site/docs/specs/offsetWhen/offset/offset_hours.mdx",sourceDirName:"specs/offsetWhen/offset",slug:"/specs/offsetWhen/offset/offset_hours",permalink:"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_hours",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/offsetWhen/offset/offset_hours.mdx",tags:[],version:"current",frontMatter:{description:"offset, expressing hour(s)",title:"\ud83d\udd52 offset (Hours)"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udd52 offset (Days)",permalink:"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_days"},next:{title:"\ud83d\udd52 offset (Minutes)",permalink:"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_minutes"}},h={},p=[];function g(e){return(0,o.jsxs)(a.A,{children:[(0,o.jsx)(i.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(u.A,{dosage:r})}),(0,o.jsx)(i.A,{value:"json",label:"Dosage",children:(0,o.jsx)(f.default,{language:"json",children:JSON.stringify(r,null,2)})})]})}function x(e={}){const{wrapper:s}={...(0,n.R)(),...e.components};return s?(0,o.jsx)(s,{...e,children:(0,o.jsx)(g,{...e})}):g()}},816:(e,s,t)=>{t.d(s,{A:()=>a});var o=t(6540),n=t(6300),f=t(1812),r=t(4848);function a(e){let{dosage:s,config:t,i18nConfig:a}=e;const[i,u]=(0,o.useState)(""),[c,l]=(0,o.useState)(t?.language||"en"),[d,h]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await n.A.build(t,a);h(e)}()}),[t]),(0,o.useEffect)((()=>{!async function(){if(d){const e=d.fromDosageToText(s);u(e)}}()}),[s,d]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:c,onChange:e=>l(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(d){await d.changeLanguage(c);const e=d.fromDosageToText(s);u(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(f.default,{language:"markup",children:(p=i,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,s){return String.fromCharCode(s)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,s){return String.fromCharCode(parseInt(s,16))})))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/06a006fb.5a461b09.js b/assets/js/06a006fb.f0f16f3e.js similarity index 65% rename from assets/js/06a006fb.5a461b09.js rename to assets/js/06a006fb.f0f16f3e.js index 5d7a4a63..3ac7a908 100644 --- a/assets/js/06a006fb.5a461b09.js +++ b/assets/js/06a006fb.f0f16f3e.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4936],{3583:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>x,contentTitle:()=>m,default:()=>g,frontMatter:()=>l,metadata:()=>u,toc:()=>p});var n=i(4848),s=i(8453),a=i(1812);const r=JSON.parse('{"maxDosePerAdministration":{"value":3,"unit":"mg"}}');var o=i(4865),d=i(9365),c=i(816);const l={description:"maxDosePerAdministration",title:"\ud83d\udc89 maxDosePerAdministration"},m=void 0,u={id:"specs/maxDosePerAdministration/maxDosePerAdministration",title:"\ud83d\udc89 maxDosePerAdministration",description:"maxDosePerAdministration",source:"@site/docs/specs/maxDosePerAdministration/maxDosePerAdministration.mdx",sourceDirName:"specs/maxDosePerAdministration",slug:"/specs/maxDosePerAdministration/",permalink:"/fhir-dosage-utils/docs/specs/maxDosePerAdministration/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/maxDosePerAdministration/maxDosePerAdministration.mdx",tags:[],version:"current",frontMatter:{description:"maxDosePerAdministration",title:"\ud83d\udc89 maxDosePerAdministration"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udc89 maxDosePerAdministration",permalink:"/fhir-dosage-utils/docs/category/-maxdoseperadministration"},next:{title:"\ud83d\udc96 maxDosePerLifetime",permalink:"/fhir-dosage-utils/docs/category/-maxdoseperlifetime"}},x={},p=[];function f(e){const t={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(o.A,{children:[(0,n.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(c.A,{dosage:r})}),(0,n.jsx)(d.A,{value:"json",label:"Dosage",children:(0,n.jsx)(a.default,{language:"json",children:JSON.stringify(r,null,2)})})]}),"\n",(0,n.jsx)(t.admonition,{type:"tip",children:(0,n.jsxs)(t.p,{children:["Don't forget you can use ",(0,n.jsx)(t.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function g(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(f,{...e})}):f(e)}},816:(e,t,i)=>{i.d(t,{A:()=>o});var n=i(6540),s=i(6300),a=i(1812),r=i(4848);function o(e){let{dosage:t,config:i}=e;const[o,d]=(0,n.useState)(""),[c,l]=(0,n.useState)(i?.language||"en"),[m,u]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await s.A.build(i);u(e)}()}),[i]),(0,n.useEffect)((()=>{!async function(){if(m){const e=m.fromDosageToText(t);d(e)}}()}),[t,m]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:c,onChange:e=>l(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(m){await m.changeLanguage(c);const e=m.fromDosageToText(t);d(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(a.default,{language:"markup",children:(x=o,x.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var x}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4936],{3583:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>x,contentTitle:()=>m,default:()=>g,frontMatter:()=>l,metadata:()=>u,toc:()=>p});var n=i(4848),s=i(8453),a=i(1812);const r=JSON.parse('{"maxDosePerAdministration":{"value":3,"unit":"mg"}}');var o=i(4865),d=i(9365),c=i(816);const l={description:"maxDosePerAdministration",title:"\ud83d\udc89 maxDosePerAdministration"},m=void 0,u={id:"specs/maxDosePerAdministration/maxDosePerAdministration",title:"\ud83d\udc89 maxDosePerAdministration",description:"maxDosePerAdministration",source:"@site/docs/specs/maxDosePerAdministration/maxDosePerAdministration.mdx",sourceDirName:"specs/maxDosePerAdministration",slug:"/specs/maxDosePerAdministration/",permalink:"/fhir-dosage-utils/docs/specs/maxDosePerAdministration/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/maxDosePerAdministration/maxDosePerAdministration.mdx",tags:[],version:"current",frontMatter:{description:"maxDosePerAdministration",title:"\ud83d\udc89 maxDosePerAdministration"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udc89 maxDosePerAdministration",permalink:"/fhir-dosage-utils/docs/category/-maxdoseperadministration"},next:{title:"\ud83d\udc96 maxDosePerLifetime",permalink:"/fhir-dosage-utils/docs/category/-maxdoseperlifetime"}},x={},p=[];function f(e){const t={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(o.A,{children:[(0,n.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(c.A,{dosage:r})}),(0,n.jsx)(d.A,{value:"json",label:"Dosage",children:(0,n.jsx)(a.default,{language:"json",children:JSON.stringify(r,null,2)})})]}),"\n",(0,n.jsx)(t.admonition,{type:"tip",children:(0,n.jsxs)(t.p,{children:["Don't forget you can use ",(0,n.jsx)(t.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function g(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(f,{...e})}):f(e)}},816:(e,t,i)=>{i.d(t,{A:()=>o});var n=i(6540),s=i(6300),a=i(1812),r=i(4848);function o(e){let{dosage:t,config:i,i18nConfig:o}=e;const[d,c]=(0,n.useState)(""),[l,m]=(0,n.useState)(i?.language||"en"),[u,x]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await s.A.build(i,o);x(e)}()}),[i]),(0,n.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(t);c(e)}}()}),[t,u]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:l,onChange:e=>m(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(l);const e=u.fromDosageToText(t);c(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(a.default,{language:"markup",children:(p=d,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/091b5925.6c2164cb.js b/assets/js/091b5925.6c2164cb.js deleted file mode 100644 index 4edf3f28..00000000 --- a/assets/js/091b5925.6c2164cb.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4386],{5292:e=>{e.exports=JSON.parse('{"blogPosts":[{"id":"welcome","metadata":{"permalink":"/fhir-dosage-utils/blog/welcome","editUrl":"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2024-03-29-welcome.mdx","source":"@site/blog/2024-03-29-welcome.mdx","title":"Welcome","description":"Welcome to fhir-dosage-utils.","date":"2024-03-29T00:00:00.000Z","formattedDate":"March 29, 2024","tags":[{"label":"welcome","permalink":"/fhir-dosage-utils/blog/tags/welcome"}],"readingTime":0.23,"hasTruncateMarker":false,"authors":[{"name":"Jacques Yakoub","title":"Creator","url":"https://github.com/jy95","imageURL":"https://avatars.githubusercontent.com/u/9306961?v=4","key":"jy95"}],"frontMatter":{"slug":"welcome","title":"Welcome","authors":["jy95"],"tags":["welcome"]},"unlisted":false},"content":"Welcome to `fhir-dosage-utils`. \\nKey Features:\\n\\n- **Compatible:** Works with [Dosage R4](https://hl7.org/fhir/R4/dosage.html) and [Dosage R5](https://hl7.org/fhir/R5/dosage.html)\\n- **Extensibility** Easily adaptable and extendable to accommodate your requirements\\n- **Internationalization** Seamlessly extendable to other languages with `i18next`\\n- **Integration Ease** Works effortlessly in various environments like the browser, Node.js, ..."}]}')}}]); \ No newline at end of file diff --git a/assets/js/091b5925.8e16ead6.js b/assets/js/091b5925.8e16ead6.js new file mode 100644 index 00000000..d2961edc --- /dev/null +++ b/assets/js/091b5925.8e16ead6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4386],{5292:e=>{e.exports=JSON.parse('{"blogPosts":[{"id":"empowerment","metadata":{"permalink":"/fhir-dosage-utils/blog/empowerment","editUrl":"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2024-04-20-empowerment.mdx","source":"@site/blog/2024-04-20-empowerment.mdx","title":"Customizing i18next Configuration in Our Library","description":"We\'re thrilled to announce a new feature in our library that empowers users to tailor i18next configuration to their preferences.","date":"2024-04-20T00:00:00.000Z","formattedDate":"April 20, 2024","tags":[{"label":"features","permalink":"/fhir-dosage-utils/blog/tags/features"}],"readingTime":0.5,"hasTruncateMarker":false,"authors":[{"name":"Jacques Yakoub","title":"Creator","url":"https://github.com/jy95","imageURL":"https://avatars.githubusercontent.com/u/9306961?v=4","key":"jy95"}],"frontMatter":{"slug":"empowerment","title":"Customizing i18next Configuration in Our Library","authors":["jy95"],"tags":["features"]},"unlisted":false,"nextItem":{"title":"Welcome","permalink":"/fhir-dosage-utils/blog/welcome"}},"content":"We\'re thrilled to announce a new feature in our library that empowers users to tailor i18next configuration to their preferences.\\ni18next, the internationalization framework, plays a crucial role in facilitating multilingual support. Now, with this enhancement, users have greater control over how i18next behaves within our system.\\n\\nBenefits :\\n\\n- **Flexibility** : Users can adapt i18next settings to suit their project\'s needs, ensuring a seamless internationalization experience.\\n- **Customization** : Fine-tune language-related functionalities, such as pluralization rules or date formatting, to match project specifications.\\n- **Ease of Integration** : Our library seamlessly integrates with existing i18next workflows, minimizing implementation hurdles."},{"id":"welcome","metadata":{"permalink":"/fhir-dosage-utils/blog/welcome","editUrl":"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2024-03-29-welcome.mdx","source":"@site/blog/2024-03-29-welcome.mdx","title":"Welcome","description":"Welcome to fhir-dosage-utils.","date":"2024-03-29T00:00:00.000Z","formattedDate":"March 29, 2024","tags":[{"label":"welcome","permalink":"/fhir-dosage-utils/blog/tags/welcome"}],"readingTime":0.23,"hasTruncateMarker":false,"authors":[{"name":"Jacques Yakoub","title":"Creator","url":"https://github.com/jy95","imageURL":"https://avatars.githubusercontent.com/u/9306961?v=4","key":"jy95"}],"frontMatter":{"slug":"welcome","title":"Welcome","authors":["jy95"],"tags":["welcome"]},"unlisted":false,"prevItem":{"title":"Customizing i18next Configuration in Our Library","permalink":"/fhir-dosage-utils/blog/empowerment"}},"content":"Welcome to `fhir-dosage-utils`. \\nKey Features:\\n\\n- **Compatible:** Works with [Dosage R4](https://hl7.org/fhir/R4/dosage.html) and [Dosage R5](https://hl7.org/fhir/R5/dosage.html)\\n- **Extensibility** Easily adaptable and extendable to accommodate your requirements\\n- **Internationalization** Seamlessly extendable to other languages with `i18next`\\n- **Integration Ease** Works effortlessly in various environments like the browser, Node.js, ..."}]}')}}]); \ No newline at end of file diff --git a/assets/js/118e00e5.a38aec1e.js b/assets/js/118e00e5.67d9b973.js similarity index 65% rename from assets/js/118e00e5.a38aec1e.js rename to assets/js/118e00e5.67d9b973.js index e31e0630..0d122db5 100644 --- a/assets/js/118e00e5.a38aec1e.js +++ b/assets/js/118e00e5.67d9b973.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2914],{6977:(e,a,s)=>{s.r(a),s.d(a,{assets:()=>f,contentTitle:()=>u,default:()=>C,frontMatter:()=>l,metadata:()=>p,toc:()=>g});var t=s(4848),n=s(8453),d=s(1812);const o=JSON.parse('{"asNeededCodeableConcept":{"text":"when feeling bad"}}');var i=s(4865),r=s(9365),c=s(816);const l={description:"asNeededCodeableConcept",title:"\ud83d\udccc asNeededCodeableConcept"},u=void 0,p={id:"specs/asNeeded/asNeededCodeableConcept",title:"\ud83d\udccc asNeededCodeableConcept",description:"asNeededCodeableConcept",source:"@site/docs/specs/asNeeded/asNeededCodeableConcept.mdx",sourceDirName:"specs/asNeeded",slug:"/specs/asNeeded/asNeededCodeableConcept",permalink:"/fhir-dosage-utils/docs/specs/asNeeded/asNeededCodeableConcept",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/asNeeded/asNeededCodeableConcept.mdx",tags:[],version:"current",frontMatter:{description:"asNeededCodeableConcept",title:"\ud83d\udccc asNeededCodeableConcept"},sidebar:"tutorialSidebar",previous:{title:"\u2705 asNeededBoolean",permalink:"/fhir-dosage-utils/docs/specs/asNeeded/asNeededBoolean"},next:{title:"\ud83e\uddec asNeededFor",permalink:"/fhir-dosage-utils/docs/specs/asNeeded/asNeededFor"}},f={},g=[];function h(e){const a={a:"a",admonition:"admonition",p:"p",...(0,n.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(i.A,{children:[(0,t.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,t.jsx)(c.A,{dosage:o})}),(0,t.jsx)(r.A,{value:"json",label:"Dosage",children:(0,t.jsx)(d.default,{language:"json",children:JSON.stringify(o,null,2)})})]}),"\n",(0,t.jsx)(a.admonition,{type:"tip",children:(0,t.jsxs)(a.p,{children:["Don't forget you can use ",(0,t.jsx)(a.a,{href:"/api/interface/Params",children:"fromCodeableConceptToString"})," option to fit your needs"]})})]})}function C(e={}){const{wrapper:a}={...(0,n.R)(),...e.components};return a?(0,t.jsx)(a,{...e,children:(0,t.jsx)(h,{...e})}):h(e)}},816:(e,a,s)=>{s.d(a,{A:()=>i});var t=s(6540),n=s(6300),d=s(1812),o=s(4848);function i(e){let{dosage:a,config:s}=e;const[i,r]=(0,t.useState)(""),[c,l]=(0,t.useState)(s?.language||"en"),[u,p]=(0,t.useState)(null);(0,t.useEffect)((()=>{!async function(){const e=await n.A.build(s);p(e)}()}),[s]),(0,t.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(a);r(e)}}()}),[a,u]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:c,onChange:e=>l(e.target.value),style:{marginRight:"10px"},children:[(0,o.jsx)("option",{value:"en",children:"English"}),(0,o.jsx)("option",{value:"fr",children:"French"}),(0,o.jsx)("option",{value:"nl",children:"Dutch"}),(0,o.jsx)("option",{value:"de",children:"German"})]}),(0,o.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(c);const e=u.fromDosageToText(a);r(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(d.default,{language:"markup",children:(f=i,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,a){return String.fromCharCode(a)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,a){return String.fromCharCode(parseInt(a,16))})))})})]});var f}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2914],{6977:(e,a,s)=>{s.r(a),s.d(a,{assets:()=>f,contentTitle:()=>u,default:()=>C,frontMatter:()=>l,metadata:()=>p,toc:()=>g});var t=s(4848),n=s(8453),d=s(1812);const o=JSON.parse('{"asNeededCodeableConcept":{"text":"when feeling bad"}}');var i=s(4865),r=s(9365),c=s(816);const l={description:"asNeededCodeableConcept",title:"\ud83d\udccc asNeededCodeableConcept"},u=void 0,p={id:"specs/asNeeded/asNeededCodeableConcept",title:"\ud83d\udccc asNeededCodeableConcept",description:"asNeededCodeableConcept",source:"@site/docs/specs/asNeeded/asNeededCodeableConcept.mdx",sourceDirName:"specs/asNeeded",slug:"/specs/asNeeded/asNeededCodeableConcept",permalink:"/fhir-dosage-utils/docs/specs/asNeeded/asNeededCodeableConcept",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/asNeeded/asNeededCodeableConcept.mdx",tags:[],version:"current",frontMatter:{description:"asNeededCodeableConcept",title:"\ud83d\udccc asNeededCodeableConcept"},sidebar:"tutorialSidebar",previous:{title:"\u2705 asNeededBoolean",permalink:"/fhir-dosage-utils/docs/specs/asNeeded/asNeededBoolean"},next:{title:"\ud83e\uddec asNeededFor",permalink:"/fhir-dosage-utils/docs/specs/asNeeded/asNeededFor"}},f={},g=[];function h(e){const a={a:"a",admonition:"admonition",p:"p",...(0,n.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(i.A,{children:[(0,t.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,t.jsx)(c.A,{dosage:o})}),(0,t.jsx)(r.A,{value:"json",label:"Dosage",children:(0,t.jsx)(d.default,{language:"json",children:JSON.stringify(o,null,2)})})]}),"\n",(0,t.jsx)(a.admonition,{type:"tip",children:(0,t.jsxs)(a.p,{children:["Don't forget you can use ",(0,t.jsx)(a.a,{href:"/api/interface/Params",children:"fromCodeableConceptToString"})," option to fit your needs"]})})]})}function C(e={}){const{wrapper:a}={...(0,n.R)(),...e.components};return a?(0,t.jsx)(a,{...e,children:(0,t.jsx)(h,{...e})}):h(e)}},816:(e,a,s)=>{s.d(a,{A:()=>i});var t=s(6540),n=s(6300),d=s(1812),o=s(4848);function i(e){let{dosage:a,config:s,i18nConfig:i}=e;const[r,c]=(0,t.useState)(""),[l,u]=(0,t.useState)(s?.language||"en"),[p,f]=(0,t.useState)(null);(0,t.useEffect)((()=>{!async function(){const e=await n.A.build(s,i);f(e)}()}),[s]),(0,t.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(a);c(e)}}()}),[a,p]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:l,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,o.jsx)("option",{value:"en",children:"English"}),(0,o.jsx)("option",{value:"fr",children:"French"}),(0,o.jsx)("option",{value:"nl",children:"Dutch"}),(0,o.jsx)("option",{value:"de",children:"German"})]}),(0,o.jsx)("button",{onClick:async()=>{if(p){await p.changeLanguage(l);const e=p.fromDosageToText(a);c(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(d.default,{language:"markup",children:(g=r,g.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,a){return String.fromCharCode(a)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,a){return String.fromCharCode(parseInt(a,16))})))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/124c4f9d.b7d86268.js b/assets/js/124c4f9d.2c984b00.js similarity index 58% rename from assets/js/124c4f9d.b7d86268.js rename to assets/js/124c4f9d.2c984b00.js index 1322ba02..e74d597a 100644 --- a/assets/js/124c4f9d.b7d86268.js +++ b/assets/js/124c4f9d.2c984b00.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2188],{2809:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>g,contentTitle:()=>d,default:()=>h,frontMatter:()=>u,metadata:()=>m,toc:()=>f});var s=i(4848),n=i(8453),a=i(1812);const l=JSON.parse('{"timing":{"repeat":{"timeOfDay":["15:00:00"]}}}');var r=i(4865),o=i(9365),c=i(816);const u={description:"Single item",title:"\u274c Single item"},d=void 0,m={id:"specs/timeOfDay/single_item",title:"\u274c Single item",description:"Single item",source:"@site/docs/specs/timeOfDay/single_item.mdx",sourceDirName:"specs/timeOfDay",slug:"/specs/timeOfDay/single_item",permalink:"/fhir-dosage-utils/docs/specs/timeOfDay/single_item",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/timeOfDay/single_item.mdx",tags:[],version:"current",frontMatter:{description:"Single item",title:"\u274c Single item"},sidebar:"tutorialSidebar",previous:{title:"\u2795 Multiple items",permalink:"/fhir-dosage-utils/docs/specs/timeOfDay/multiple_items"},next:{title:"\ud83d\udee0\ufe0f Customizations",permalink:"/fhir-dosage-utils/docs/demo/custom"}},g={},f=[];function p(e){return(0,s.jsxs)(r.A,{children:[(0,s.jsx)(o.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(c.A,{dosage:l})}),(0,s.jsx)(o.A,{value:"json",label:"Dosage",children:(0,s.jsx)(a.default,{language:"json",children:JSON.stringify(l,null,2)})})]})}function h(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(p,{...e})}):p()}},816:(e,t,i)=>{i.d(t,{A:()=>r});var s=i(6540),n=i(6300),a=i(1812),l=i(4848);function r(e){let{dosage:t,config:i}=e;const[r,o]=(0,s.useState)(""),[c,u]=(0,s.useState)(i?.language||"en"),[d,m]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await n.A.build(i);m(e)}()}),[i]),(0,s.useEffect)((()=>{!async function(){if(d){const e=d.fromDosageToText(t);o(e)}}()}),[t,d]);return(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{style:{display:"flex"},children:[(0,l.jsxs)("select",{value:c,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,l.jsx)("option",{value:"en",children:"English"}),(0,l.jsx)("option",{value:"fr",children:"French"}),(0,l.jsx)("option",{value:"nl",children:"Dutch"}),(0,l.jsx)("option",{value:"de",children:"German"})]}),(0,l.jsx)("button",{onClick:async()=>{if(d){await d.changeLanguage(c);const e=d.fromDosageToText(t);o(e)}},children:"Confirm"})]}),(0,l.jsx)("div",{style:{marginTop:"10px"},children:(0,l.jsx)(a.default,{language:"markup",children:(g=r,g.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var g}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2188],{2809:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>g,contentTitle:()=>d,default:()=>h,frontMatter:()=>u,metadata:()=>m,toc:()=>f});var s=i(4848),n=i(8453),a=i(1812);const l=JSON.parse('{"timing":{"repeat":{"timeOfDay":["15:00:00"]}}}');var r=i(4865),o=i(9365),c=i(816);const u={description:"Single item",title:"\u274c Single item"},d=void 0,m={id:"specs/timeOfDay/single_item",title:"\u274c Single item",description:"Single item",source:"@site/docs/specs/timeOfDay/single_item.mdx",sourceDirName:"specs/timeOfDay",slug:"/specs/timeOfDay/single_item",permalink:"/fhir-dosage-utils/docs/specs/timeOfDay/single_item",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/timeOfDay/single_item.mdx",tags:[],version:"current",frontMatter:{description:"Single item",title:"\u274c Single item"},sidebar:"tutorialSidebar",previous:{title:"\u2795 Multiple items",permalink:"/fhir-dosage-utils/docs/specs/timeOfDay/multiple_items"},next:{title:"\ud83d\udee0\ufe0f Customizations",permalink:"/fhir-dosage-utils/docs/demo/custom"}},g={},f=[];function p(e){return(0,s.jsxs)(r.A,{children:[(0,s.jsx)(o.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(c.A,{dosage:l})}),(0,s.jsx)(o.A,{value:"json",label:"Dosage",children:(0,s.jsx)(a.default,{language:"json",children:JSON.stringify(l,null,2)})})]})}function h(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(p,{...e})}):p()}},816:(e,t,i)=>{i.d(t,{A:()=>r});var s=i(6540),n=i(6300),a=i(1812),l=i(4848);function r(e){let{dosage:t,config:i,i18nConfig:r}=e;const[o,c]=(0,s.useState)(""),[u,d]=(0,s.useState)(i?.language||"en"),[m,g]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await n.A.build(i,r);g(e)}()}),[i]),(0,s.useEffect)((()=>{!async function(){if(m){const e=m.fromDosageToText(t);c(e)}}()}),[t,m]);return(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{style:{display:"flex"},children:[(0,l.jsxs)("select",{value:u,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,l.jsx)("option",{value:"en",children:"English"}),(0,l.jsx)("option",{value:"fr",children:"French"}),(0,l.jsx)("option",{value:"nl",children:"Dutch"}),(0,l.jsx)("option",{value:"de",children:"German"})]}),(0,l.jsx)("button",{onClick:async()=>{if(m){await m.changeLanguage(u);const e=m.fromDosageToText(t);c(e)}},children:"Confirm"})]}),(0,l.jsx)("div",{style:{marginTop:"10px"},children:(0,l.jsx)(a.default,{language:"markup",children:(f=o,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/12564d99.6f595bf8.js b/assets/js/12564d99.d5638e32.js similarity index 65% rename from assets/js/12564d99.6f595bf8.js rename to assets/js/12564d99.d5638e32.js index 6fc29023..784f3d16 100644 --- a/assets/js/12564d99.6f595bf8.js +++ b/assets/js/12564d99.d5638e32.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8937],{6288:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>h,frontMatter:()=>d,metadata:()=>g,toc:()=>m});var i=n(4848),s=n(8453),a=n(1812);const o=JSON.parse('{"additionalInstruction":[{"text":"Instruction 1"}]}');var r=n(4865),l=n(9365),c=n(816);const d={description:"Single item",title:"\u274c Single item"},u=void 0,g={id:"specs/additionalInstruction/single_item",title:"\u274c Single item",description:"Single item",source:"@site/docs/specs/additionalInstruction/single_item.mdx",sourceDirName:"specs/additionalInstruction",slug:"/specs/additionalInstruction/single_item",permalink:"/fhir-dosage-utils/docs/specs/additionalInstruction/single_item",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/additionalInstruction/single_item.mdx",tags:[],version:"current",frontMatter:{description:"Single item",title:"\u274c Single item"},sidebar:"tutorialSidebar",previous:{title:"\u2795 Multiple items",permalink:"/fhir-dosage-utils/docs/specs/additionalInstruction/multiple_items"},next:{title:"\u2753 asNeeded",permalink:"/fhir-dosage-utils/docs/category/-asneeded"}},p={},m=[];function f(e){const t={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(r.A,{children:[(0,i.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(c.A,{dosage:o})}),(0,i.jsx)(l.A,{value:"json",label:"Dosage",children:(0,i.jsx)(a.default,{language:"json",children:JSON.stringify(o,null,2)})})]}),"\n",(0,i.jsx)(t.admonition,{type:"tip",children:(0,i.jsxs)(t.p,{children:["Don't forget you can use ",(0,i.jsx)(t.a,{href:"/api/interface/Params",children:"fromCodeableConceptToString"})," option to fit your needs"]})})]})}function h(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(f,{...e})}):f(e)}},816:(e,t,n)=>{n.d(t,{A:()=>r});var i=n(6540),s=n(6300),a=n(1812),o=n(4848);function r(e){let{dosage:t,config:n}=e;const[r,l]=(0,i.useState)(""),[c,d]=(0,i.useState)(n?.language||"en"),[u,g]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await s.A.build(n);g(e)}()}),[n]),(0,i.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(t);l(e)}}()}),[t,u]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:c,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,o.jsx)("option",{value:"en",children:"English"}),(0,o.jsx)("option",{value:"fr",children:"French"}),(0,o.jsx)("option",{value:"nl",children:"Dutch"}),(0,o.jsx)("option",{value:"de",children:"German"})]}),(0,o.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(c);const e=u.fromDosageToText(t);l(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(a.default,{language:"markup",children:(p=r,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var p}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8937],{6288:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>h,frontMatter:()=>d,metadata:()=>g,toc:()=>m});var i=n(4848),s=n(8453),a=n(1812);const o=JSON.parse('{"additionalInstruction":[{"text":"Instruction 1"}]}');var r=n(4865),l=n(9365),c=n(816);const d={description:"Single item",title:"\u274c Single item"},u=void 0,g={id:"specs/additionalInstruction/single_item",title:"\u274c Single item",description:"Single item",source:"@site/docs/specs/additionalInstruction/single_item.mdx",sourceDirName:"specs/additionalInstruction",slug:"/specs/additionalInstruction/single_item",permalink:"/fhir-dosage-utils/docs/specs/additionalInstruction/single_item",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/additionalInstruction/single_item.mdx",tags:[],version:"current",frontMatter:{description:"Single item",title:"\u274c Single item"},sidebar:"tutorialSidebar",previous:{title:"\u2795 Multiple items",permalink:"/fhir-dosage-utils/docs/specs/additionalInstruction/multiple_items"},next:{title:"\u2753 asNeeded",permalink:"/fhir-dosage-utils/docs/category/-asneeded"}},p={},m=[];function f(e){const t={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(r.A,{children:[(0,i.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(c.A,{dosage:o})}),(0,i.jsx)(l.A,{value:"json",label:"Dosage",children:(0,i.jsx)(a.default,{language:"json",children:JSON.stringify(o,null,2)})})]}),"\n",(0,i.jsx)(t.admonition,{type:"tip",children:(0,i.jsxs)(t.p,{children:["Don't forget you can use ",(0,i.jsx)(t.a,{href:"/api/interface/Params",children:"fromCodeableConceptToString"})," option to fit your needs"]})})]})}function h(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(f,{...e})}):f(e)}},816:(e,t,n)=>{n.d(t,{A:()=>r});var i=n(6540),s=n(6300),a=n(1812),o=n(4848);function r(e){let{dosage:t,config:n,i18nConfig:r}=e;const[l,c]=(0,i.useState)(""),[d,u]=(0,i.useState)(n?.language||"en"),[g,p]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await s.A.build(n,r);p(e)}()}),[n]),(0,i.useEffect)((()=>{!async function(){if(g){const e=g.fromDosageToText(t);c(e)}}()}),[t,g]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:d,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,o.jsx)("option",{value:"en",children:"English"}),(0,o.jsx)("option",{value:"fr",children:"French"}),(0,o.jsx)("option",{value:"nl",children:"Dutch"}),(0,o.jsx)("option",{value:"de",children:"German"})]}),(0,o.jsx)("button",{onClick:async()=>{if(g){await g.changeLanguage(d);const e=g.fromDosageToText(t);c(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(a.default,{language:"markup",children:(m=l,m.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var m}}}]); \ No newline at end of file diff --git a/assets/js/133d1207.5be6c95e.js b/assets/js/133d1207.6b5eed78.js similarity index 61% rename from assets/js/133d1207.5be6c95e.js rename to assets/js/133d1207.6b5eed78.js index 3ddb1de7..a04f736c 100644 --- a/assets/js/133d1207.5be6c95e.js +++ b/assets/js/133d1207.6b5eed78.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[5276],{2596:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>x,contentTitle:()=>f,default:()=>g,frontMatter:()=>l,metadata:()=>d,toc:()=>y});var a=r(4848),t=r(8453),c=r(1812);const s=JSON.parse('{"timing":{"repeat":{"frequencyMax":5}}}');var u=r(4865),i=r(9365),o=r(816);const l={description:"frequencyMax only",title:"\ud83d\udd01 frequencyMax"},f=void 0,d={id:"specs/frequencyFrequencyMax/frequencyMax_only",title:"\ud83d\udd01 frequencyMax",description:"frequencyMax only",source:"@site/docs/specs/frequencyFrequencyMax/frequencyMax_only.mdx",sourceDirName:"specs/frequencyFrequencyMax",slug:"/specs/frequencyFrequencyMax/frequencyMax_only",permalink:"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequencyMax_only",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/frequencyFrequencyMax/frequencyMax_only.mdx",tags:[],version:"current",frontMatter:{description:"frequencyMax only",title:"\ud83d\udd01 frequencyMax"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udd01 frequencyFrequencyMax",permalink:"/fhir-dosage-utils/docs/category/-frequencyfrequencymax"},next:{title:"\ud83d\udd01 frequency and frequencyMax",permalink:"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_and_frequencyMax"}},x={},y=[];function p(e){return(0,a.jsxs)(u.A,{children:[(0,a.jsx)(i.A,{value:"text",label:"Human readable text",default:!0,children:(0,a.jsx)(o.A,{dosage:s})}),(0,a.jsx)(i.A,{value:"json",label:"Dosage",children:(0,a.jsx)(c.default,{language:"json",children:JSON.stringify(s,null,2)})})]})}function g(e={}){const{wrapper:n}={...(0,t.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(p,{...e})}):p()}},816:(e,n,r)=>{r.d(n,{A:()=>u});var a=r(6540),t=r(6300),c=r(1812),s=r(4848);function u(e){let{dosage:n,config:r}=e;const[u,i]=(0,a.useState)(""),[o,l]=(0,a.useState)(r?.language||"en"),[f,d]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const e=await t.A.build(r);d(e)}()}),[r]),(0,a.useEffect)((()=>{!async function(){if(f){const e=f.fromDosageToText(n);i(e)}}()}),[n,f]);return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{style:{display:"flex"},children:[(0,s.jsxs)("select",{value:o,onChange:e=>l(e.target.value),style:{marginRight:"10px"},children:[(0,s.jsx)("option",{value:"en",children:"English"}),(0,s.jsx)("option",{value:"fr",children:"French"}),(0,s.jsx)("option",{value:"nl",children:"Dutch"}),(0,s.jsx)("option",{value:"de",children:"German"})]}),(0,s.jsx)("button",{onClick:async()=>{if(f){await f.changeLanguage(o);const e=f.fromDosageToText(n);i(e)}},children:"Confirm"})]}),(0,s.jsx)("div",{style:{marginTop:"10px"},children:(0,s.jsx)(c.default,{language:"markup",children:(x=u,x.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var x}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[5276],{2596:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>x,contentTitle:()=>f,default:()=>g,frontMatter:()=>l,metadata:()=>d,toc:()=>y});var a=r(4848),t=r(8453),c=r(1812);const s=JSON.parse('{"timing":{"repeat":{"frequencyMax":5}}}');var u=r(4865),i=r(9365),o=r(816);const l={description:"frequencyMax only",title:"\ud83d\udd01 frequencyMax"},f=void 0,d={id:"specs/frequencyFrequencyMax/frequencyMax_only",title:"\ud83d\udd01 frequencyMax",description:"frequencyMax only",source:"@site/docs/specs/frequencyFrequencyMax/frequencyMax_only.mdx",sourceDirName:"specs/frequencyFrequencyMax",slug:"/specs/frequencyFrequencyMax/frequencyMax_only",permalink:"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequencyMax_only",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/frequencyFrequencyMax/frequencyMax_only.mdx",tags:[],version:"current",frontMatter:{description:"frequencyMax only",title:"\ud83d\udd01 frequencyMax"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udd01 frequencyFrequencyMax",permalink:"/fhir-dosage-utils/docs/category/-frequencyfrequencymax"},next:{title:"\ud83d\udd01 frequency and frequencyMax",permalink:"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_and_frequencyMax"}},x={},y=[];function p(e){return(0,a.jsxs)(u.A,{children:[(0,a.jsx)(i.A,{value:"text",label:"Human readable text",default:!0,children:(0,a.jsx)(o.A,{dosage:s})}),(0,a.jsx)(i.A,{value:"json",label:"Dosage",children:(0,a.jsx)(c.default,{language:"json",children:JSON.stringify(s,null,2)})})]})}function g(e={}){const{wrapper:n}={...(0,t.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(p,{...e})}):p()}},816:(e,n,r)=>{r.d(n,{A:()=>u});var a=r(6540),t=r(6300),c=r(1812),s=r(4848);function u(e){let{dosage:n,config:r,i18nConfig:u}=e;const[i,o]=(0,a.useState)(""),[l,f]=(0,a.useState)(r?.language||"en"),[d,x]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const e=await t.A.build(r,u);x(e)}()}),[r]),(0,a.useEffect)((()=>{!async function(){if(d){const e=d.fromDosageToText(n);o(e)}}()}),[n,d]);return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{style:{display:"flex"},children:[(0,s.jsxs)("select",{value:l,onChange:e=>f(e.target.value),style:{marginRight:"10px"},children:[(0,s.jsx)("option",{value:"en",children:"English"}),(0,s.jsx)("option",{value:"fr",children:"French"}),(0,s.jsx)("option",{value:"nl",children:"Dutch"}),(0,s.jsx)("option",{value:"de",children:"German"})]}),(0,s.jsx)("button",{onClick:async()=>{if(d){await d.changeLanguage(l);const e=d.fromDosageToText(n);o(e)}},children:"Confirm"})]}),(0,s.jsx)("div",{style:{marginTop:"10px"},children:(0,s.jsx)(c.default,{language:"markup",children:(y=i,y.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var y}}}]); \ No newline at end of file diff --git a/assets/js/139f9fbc.0d839473.js b/assets/js/139f9fbc.0d839473.js new file mode 100644 index 00000000..01c45afa --- /dev/null +++ b/assets/js/139f9fbc.0d839473.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[578],{4697:(e,i,r)=>{r.r(i),r.d(i,{assets:()=>f,contentTitle:()=>u,default:()=>h,frontMatter:()=>c,metadata:()=>p,toc:()=>g});var t=r(4848),o=r(8453),n=r(1812);const a=JSON.parse('{"timing":{"repeat":{"period":1,"periodUnit":"d"}}}');var s=r(4865),d=r(9365),l=r(816);const c={description:"period (only)",title:"\u267b\ufe0f period (only)"},u=void 0,p={id:"specs/periodPeriodMax/period_only",title:"\u267b\ufe0f period (only)",description:"period (only)",source:"@site/docs/specs/periodPeriodMax/period_only.mdx",sourceDirName:"specs/periodPeriodMax",slug:"/specs/periodPeriodMax/period_only",permalink:"/fhir-dosage-utils/docs/specs/periodPeriodMax/period_only",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/periodPeriodMax/period_only.mdx",tags:[],version:"current",frontMatter:{description:"period (only)",title:"\u267b\ufe0f period (only)"},sidebar:"tutorialSidebar",previous:{title:"\u267b\ufe0f period & periodMax",permalink:"/fhir-dosage-utils/docs/specs/periodPeriodMax/period_and_periodMax"},next:{title:"\u23f2\ufe0f rateQuantity",permalink:"/fhir-dosage-utils/docs/category/\ufe0f-ratequantity"}},f={},g=[];function x(e){return(0,t.jsxs)(s.A,{children:[(0,t.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,t.jsx)(l.A,{dosage:a})}),(0,t.jsx)(d.A,{value:"json",label:"Dosage",children:(0,t.jsx)(n.default,{language:"json",children:JSON.stringify(a,null,2)})})]})}function h(e={}){const{wrapper:i}={...(0,o.R)(),...e.components};return i?(0,t.jsx)(i,{...e,children:(0,t.jsx)(x,{...e})}):x()}},816:(e,i,r)=>{r.d(i,{A:()=>s});var t=r(6540),o=r(6300),n=r(1812),a=r(4848);function s(e){let{dosage:i,config:r,i18nConfig:s}=e;const[d,l]=(0,t.useState)(""),[c,u]=(0,t.useState)(r?.language||"en"),[p,f]=(0,t.useState)(null);(0,t.useEffect)((()=>{!async function(){const e=await o.A.build(r,s);f(e)}()}),[r]),(0,t.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(i);l(e)}}()}),[i,p]);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{style:{display:"flex"},children:[(0,a.jsxs)("select",{value:c,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,a.jsx)("option",{value:"en",children:"English"}),(0,a.jsx)("option",{value:"fr",children:"French"}),(0,a.jsx)("option",{value:"nl",children:"Dutch"}),(0,a.jsx)("option",{value:"de",children:"German"})]}),(0,a.jsx)("button",{onClick:async()=>{if(p){await p.changeLanguage(c);const e=p.fromDosageToText(i);l(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(n.default,{language:"markup",children:(g=d,g.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,i){return String.fromCharCode(i)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,i){return String.fromCharCode(parseInt(i,16))})))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/139f9fbc.e755f5df.js b/assets/js/139f9fbc.e755f5df.js deleted file mode 100644 index 685b464f..00000000 --- a/assets/js/139f9fbc.e755f5df.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[578],{4697:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>x,contentTitle:()=>u,default:()=>h,frontMatter:()=>c,metadata:()=>p,toc:()=>f});var i=t(4848),o=t(8453),n=t(1812);const a=JSON.parse('{"timing":{"repeat":{"period":1,"periodUnit":"d"}}}');var s=t(4865),d=t(9365),l=t(816);const c={description:"period (only)",title:"\u267b\ufe0f period (only)"},u=void 0,p={id:"specs/periodPeriodMax/period_only",title:"\u267b\ufe0f period (only)",description:"period (only)",source:"@site/docs/specs/periodPeriodMax/period_only.mdx",sourceDirName:"specs/periodPeriodMax",slug:"/specs/periodPeriodMax/period_only",permalink:"/fhir-dosage-utils/docs/specs/periodPeriodMax/period_only",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/periodPeriodMax/period_only.mdx",tags:[],version:"current",frontMatter:{description:"period (only)",title:"\u267b\ufe0f period (only)"},sidebar:"tutorialSidebar",previous:{title:"\u267b\ufe0f period & periodMax",permalink:"/fhir-dosage-utils/docs/specs/periodPeriodMax/period_and_periodMax"},next:{title:"\u23f2\ufe0f rateQuantity",permalink:"/fhir-dosage-utils/docs/category/\ufe0f-ratequantity"}},x={},f=[];function g(e){return(0,i.jsxs)(s.A,{children:[(0,i.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(l.A,{dosage:a})}),(0,i.jsx)(d.A,{value:"json",label:"Dosage",children:(0,i.jsx)(n.default,{language:"json",children:JSON.stringify(a,null,2)})})]})}function h(e={}){const{wrapper:r}={...(0,o.R)(),...e.components};return r?(0,i.jsx)(r,{...e,children:(0,i.jsx)(g,{...e})}):g()}},816:(e,r,t)=>{t.d(r,{A:()=>s});var i=t(6540),o=t(6300),n=t(1812),a=t(4848);function s(e){let{dosage:r,config:t}=e;const[s,d]=(0,i.useState)(""),[l,c]=(0,i.useState)(t?.language||"en"),[u,p]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await o.A.build(t);p(e)}()}),[t]),(0,i.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(r);d(e)}}()}),[r,u]);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{style:{display:"flex"},children:[(0,a.jsxs)("select",{value:l,onChange:e=>c(e.target.value),style:{marginRight:"10px"},children:[(0,a.jsx)("option",{value:"en",children:"English"}),(0,a.jsx)("option",{value:"fr",children:"French"}),(0,a.jsx)("option",{value:"nl",children:"Dutch"}),(0,a.jsx)("option",{value:"de",children:"German"})]}),(0,a.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(l);const e=u.fromDosageToText(r);d(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(n.default,{language:"markup",children:(x=s,x.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,r){return String.fromCharCode(r)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,r){return String.fromCharCode(parseInt(r,16))})))})})]});var x}}}]); \ No newline at end of file diff --git a/assets/js/162bd28d.9aea435b.js b/assets/js/162bd28d.1f2d64d4.js similarity index 57% rename from assets/js/162bd28d.9aea435b.js rename to assets/js/162bd28d.1f2d64d4.js index a5ae041d..128b3942 100644 --- a/assets/js/162bd28d.9aea435b.js +++ b/assets/js/162bd28d.1f2d64d4.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1740],{9300:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>h,contentTitle:()=>d,default:()=>m,frontMatter:()=>c,metadata:()=>g,toc:()=>p});var s=t(4848),o=t(8453),a=t(1812);const i=JSON.parse('{"timing":{"repeat":{"boundsRange":{"high":{"system":"http://hl7.org/fhir/ValueSet/duration-units","value":5,"code":"d"}}}}}');var r=t(4865),l=t(9365),u=t(816);const c={description:"High only",title:"\ud83d\udcd0 boundsDuration (High only)"},d=void 0,g={id:"specs/boundsRange/high_only",title:"\ud83d\udcd0 boundsDuration (High only)",description:"High only",source:"@site/docs/specs/boundsRange/high_only.mdx",sourceDirName:"specs/boundsRange",slug:"/specs/boundsRange/high_only",permalink:"/fhir-dosage-utils/docs/specs/boundsRange/high_only",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/boundsRange/high_only.mdx",tags:[],version:"current",frontMatter:{description:"High only",title:"\ud83d\udcd0 boundsDuration (High only)"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udcd0 boundsRange",permalink:"/fhir-dosage-utils/docs/category/-boundsrange"},next:{title:"\ud83d\udcd0 boundsDuration (Low & High)",permalink:"/fhir-dosage-utils/docs/specs/boundsRange/low_and_high"}},h={},p=[];function f(e){const n={a:"a",admonition:"admonition",p:"p",...(0,o.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(r.A,{children:[(0,s.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(u.A,{dosage:i})}),(0,s.jsx)(l.A,{value:"json",label:"Dosage",children:(0,s.jsx)(a.default,{language:"json",children:JSON.stringify(i,null,2)})})]}),"\n",(0,s.jsx)(n.admonition,{type:"tip",children:(0,s.jsxs)(n.p,{children:["Don't forget you can use ",(0,s.jsx)(n.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function m(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(f,{...e})}):f(e)}},816:(e,n,t)=>{t.d(n,{A:()=>r});var s=t(6540),o=t(6300),a=t(1812),i=t(4848);function r(e){let{dosage:n,config:t}=e;const[r,l]=(0,s.useState)(""),[u,c]=(0,s.useState)(t?.language||"en"),[d,g]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await o.A.build(t);g(e)}()}),[t]),(0,s.useEffect)((()=>{!async function(){if(d){const e=d.fromDosageToText(n);l(e)}}()}),[n,d]);return(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{style:{display:"flex"},children:[(0,i.jsxs)("select",{value:u,onChange:e=>c(e.target.value),style:{marginRight:"10px"},children:[(0,i.jsx)("option",{value:"en",children:"English"}),(0,i.jsx)("option",{value:"fr",children:"French"}),(0,i.jsx)("option",{value:"nl",children:"Dutch"}),(0,i.jsx)("option",{value:"de",children:"German"})]}),(0,i.jsx)("button",{onClick:async()=>{if(d){await d.changeLanguage(u);const e=d.fromDosageToText(n);l(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(a.default,{language:"markup",children:(h=r,h.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var h}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1740],{9300:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>h,contentTitle:()=>d,default:()=>m,frontMatter:()=>c,metadata:()=>g,toc:()=>p});var s=t(4848),o=t(8453),i=t(1812);const a=JSON.parse('{"timing":{"repeat":{"boundsRange":{"high":{"system":"http://hl7.org/fhir/ValueSet/duration-units","value":5,"code":"d"}}}}}');var r=t(4865),l=t(9365),u=t(816);const c={description:"High only",title:"\ud83d\udcd0 boundsDuration (High only)"},d=void 0,g={id:"specs/boundsRange/high_only",title:"\ud83d\udcd0 boundsDuration (High only)",description:"High only",source:"@site/docs/specs/boundsRange/high_only.mdx",sourceDirName:"specs/boundsRange",slug:"/specs/boundsRange/high_only",permalink:"/fhir-dosage-utils/docs/specs/boundsRange/high_only",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/boundsRange/high_only.mdx",tags:[],version:"current",frontMatter:{description:"High only",title:"\ud83d\udcd0 boundsDuration (High only)"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udcd0 boundsRange",permalink:"/fhir-dosage-utils/docs/category/-boundsrange"},next:{title:"\ud83d\udcd0 boundsDuration (Low & High)",permalink:"/fhir-dosage-utils/docs/specs/boundsRange/low_and_high"}},h={},p=[];function f(e){const n={a:"a",admonition:"admonition",p:"p",...(0,o.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(r.A,{children:[(0,s.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(u.A,{dosage:a})}),(0,s.jsx)(l.A,{value:"json",label:"Dosage",children:(0,s.jsx)(i.default,{language:"json",children:JSON.stringify(a,null,2)})})]}),"\n",(0,s.jsx)(n.admonition,{type:"tip",children:(0,s.jsxs)(n.p,{children:["Don't forget you can use ",(0,s.jsx)(n.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function m(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(f,{...e})}):f(e)}},816:(e,n,t)=>{t.d(n,{A:()=>r});var s=t(6540),o=t(6300),i=t(1812),a=t(4848);function r(e){let{dosage:n,config:t,i18nConfig:r}=e;const[l,u]=(0,s.useState)(""),[c,d]=(0,s.useState)(t?.language||"en"),[g,h]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await o.A.build(t,r);h(e)}()}),[t]),(0,s.useEffect)((()=>{!async function(){if(g){const e=g.fromDosageToText(n);u(e)}}()}),[n,g]);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{style:{display:"flex"},children:[(0,a.jsxs)("select",{value:c,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,a.jsx)("option",{value:"en",children:"English"}),(0,a.jsx)("option",{value:"fr",children:"French"}),(0,a.jsx)("option",{value:"nl",children:"Dutch"}),(0,a.jsx)("option",{value:"de",children:"German"})]}),(0,a.jsx)("button",{onClick:async()=>{if(g){await g.changeLanguage(c);const e=g.fromDosageToText(n);u(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(i.default,{language:"markup",children:(p=l,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/1668a7c3.49c81dcf.js b/assets/js/1668a7c3.cc09ca6a.js similarity index 59% rename from assets/js/1668a7c3.49c81dcf.js rename to assets/js/1668a7c3.cc09ca6a.js index 25d465c8..0c5841da 100644 --- a/assets/js/1668a7c3.49c81dcf.js +++ b/assets/js/1668a7c3.cc09ca6a.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3790],{7141:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>f,contentTitle:()=>c,default:()=>x,frontMatter:()=>u,metadata:()=>p,toc:()=>g});var t=s(4848),o=s(8453),r=s(1812);const d=JSON.parse('{"timing":{"repeat":{"boundsPeriod":{"end":"2011-05-27"}}}}');var i=s(4865),a=s(9365),l=s(816);const u={description:"end only",title:"\u23f3 boundsPeriod (end only)"},c=void 0,p={id:"specs/boundsPeriod/end_only",title:"\u23f3 boundsPeriod (end only)",description:"end only",source:"@site/docs/specs/boundsPeriod/end_only.mdx",sourceDirName:"specs/boundsPeriod",slug:"/specs/boundsPeriod/end_only",permalink:"/fhir-dosage-utils/docs/specs/boundsPeriod/end_only",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/boundsPeriod/end_only.mdx",tags:[],version:"current",frontMatter:{description:"end only",title:"\u23f3 boundsPeriod (end only)"},sidebar:"tutorialSidebar",previous:{title:"\u23f3 boundsPeriod",permalink:"/fhir-dosage-utils/docs/category/-boundsperiod"},next:{title:"\u23f3 boundsPeriod (start & end)",permalink:"/fhir-dosage-utils/docs/specs/boundsPeriod/start_and_end"}},f={},g=[];function h(e){return(0,t.jsxs)(i.A,{children:[(0,t.jsx)(a.A,{value:"text",label:"Human readable text",default:!0,children:(0,t.jsx)(l.A,{dosage:d})}),(0,t.jsx)(a.A,{value:"json",label:"Dosage",children:(0,t.jsx)(r.default,{language:"json",children:JSON.stringify(d,null,2)})})]})}function x(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(h,{...e})}):h()}},816:(e,n,s)=>{s.d(n,{A:()=>i});var t=s(6540),o=s(6300),r=s(1812),d=s(4848);function i(e){let{dosage:n,config:s}=e;const[i,a]=(0,t.useState)(""),[l,u]=(0,t.useState)(s?.language||"en"),[c,p]=(0,t.useState)(null);(0,t.useEffect)((()=>{!async function(){const e=await o.A.build(s);p(e)}()}),[s]),(0,t.useEffect)((()=>{!async function(){if(c){const e=c.fromDosageToText(n);a(e)}}()}),[n,c]);return(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{style:{display:"flex"},children:[(0,d.jsxs)("select",{value:l,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,d.jsx)("option",{value:"en",children:"English"}),(0,d.jsx)("option",{value:"fr",children:"French"}),(0,d.jsx)("option",{value:"nl",children:"Dutch"}),(0,d.jsx)("option",{value:"de",children:"German"})]}),(0,d.jsx)("button",{onClick:async()=>{if(c){await c.changeLanguage(l);const e=c.fromDosageToText(n);a(e)}},children:"Confirm"})]}),(0,d.jsx)("div",{style:{marginTop:"10px"},children:(0,d.jsx)(r.default,{language:"markup",children:(f=i,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var f}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3790],{7141:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>f,contentTitle:()=>c,default:()=>x,frontMatter:()=>u,metadata:()=>p,toc:()=>g});var t=s(4848),o=s(8453),r=s(1812);const d=JSON.parse('{"timing":{"repeat":{"boundsPeriod":{"end":"2011-05-27"}}}}');var i=s(4865),a=s(9365),l=s(816);const u={description:"end only",title:"\u23f3 boundsPeriod (end only)"},c=void 0,p={id:"specs/boundsPeriod/end_only",title:"\u23f3 boundsPeriod (end only)",description:"end only",source:"@site/docs/specs/boundsPeriod/end_only.mdx",sourceDirName:"specs/boundsPeriod",slug:"/specs/boundsPeriod/end_only",permalink:"/fhir-dosage-utils/docs/specs/boundsPeriod/end_only",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/boundsPeriod/end_only.mdx",tags:[],version:"current",frontMatter:{description:"end only",title:"\u23f3 boundsPeriod (end only)"},sidebar:"tutorialSidebar",previous:{title:"\u23f3 boundsPeriod",permalink:"/fhir-dosage-utils/docs/category/-boundsperiod"},next:{title:"\u23f3 boundsPeriod (start & end)",permalink:"/fhir-dosage-utils/docs/specs/boundsPeriod/start_and_end"}},f={},g=[];function h(e){return(0,t.jsxs)(i.A,{children:[(0,t.jsx)(a.A,{value:"text",label:"Human readable text",default:!0,children:(0,t.jsx)(l.A,{dosage:d})}),(0,t.jsx)(a.A,{value:"json",label:"Dosage",children:(0,t.jsx)(r.default,{language:"json",children:JSON.stringify(d,null,2)})})]})}function x(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(h,{...e})}):h()}},816:(e,n,s)=>{s.d(n,{A:()=>i});var t=s(6540),o=s(6300),r=s(1812),d=s(4848);function i(e){let{dosage:n,config:s,i18nConfig:i}=e;const[a,l]=(0,t.useState)(""),[u,c]=(0,t.useState)(s?.language||"en"),[p,f]=(0,t.useState)(null);(0,t.useEffect)((()=>{!async function(){const e=await o.A.build(s,i);f(e)}()}),[s]),(0,t.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(n);l(e)}}()}),[n,p]);return(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{style:{display:"flex"},children:[(0,d.jsxs)("select",{value:u,onChange:e=>c(e.target.value),style:{marginRight:"10px"},children:[(0,d.jsx)("option",{value:"en",children:"English"}),(0,d.jsx)("option",{value:"fr",children:"French"}),(0,d.jsx)("option",{value:"nl",children:"Dutch"}),(0,d.jsx)("option",{value:"de",children:"German"})]}),(0,d.jsx)("button",{onClick:async()=>{if(p){await p.changeLanguage(u);const e=p.fromDosageToText(n);l(e)}},children:"Confirm"})]}),(0,d.jsx)("div",{style:{marginTop:"10px"},children:(0,d.jsx)(r.default,{language:"markup",children:(g=a,g.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/17baba0b.c0067e54.js b/assets/js/17baba0b.3d2ac1a2.js similarity index 65% rename from assets/js/17baba0b.c0067e54.js rename to assets/js/17baba0b.3d2ac1a2.js index 6fc564b3..f22b68f2 100644 --- a/assets/js/17baba0b.c0067e54.js +++ b/assets/js/17baba0b.3d2ac1a2.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3709],{2092:(t,e,i)=>{i.r(e),i.d(e,{assets:()=>m,contentTitle:()=>d,default:()=>h,frontMatter:()=>u,metadata:()=>p,toc:()=>f});var n=i(4848),s=i(8453),a=i(1812);const o=JSON.parse('{"additionalInstruction":[{"text":"Instruction 1"},{"text":"Instruction 2"}]}');var l=i(4865),r=i(9365),c=i(816);const u={description:"Multiple items",title:"\u2795 Multiple items"},d=void 0,p={id:"specs/additionalInstruction/multiple_items",title:"\u2795 Multiple items",description:"Multiple items",source:"@site/docs/specs/additionalInstruction/multiple_items.mdx",sourceDirName:"specs/additionalInstruction",slug:"/specs/additionalInstruction/multiple_items",permalink:"/fhir-dosage-utils/docs/specs/additionalInstruction/multiple_items",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/additionalInstruction/multiple_items.mdx",tags:[],version:"current",frontMatter:{description:"Multiple items",title:"\u2795 Multiple items"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udcdd additionalInstruction",permalink:"/fhir-dosage-utils/docs/category/-additionalinstruction"},next:{title:"\u274c Single item",permalink:"/fhir-dosage-utils/docs/specs/additionalInstruction/single_item"}},m={},f=[];function g(t){const e={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...t.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(l.A,{children:[(0,n.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(c.A,{dosage:o})}),(0,n.jsx)(r.A,{value:"json",label:"Dosage",children:(0,n.jsx)(a.default,{language:"json",children:JSON.stringify(o,null,2)})})]}),"\n",(0,n.jsx)(e.admonition,{type:"tip",children:(0,n.jsxs)(e.p,{children:["Don't forget you can use ",(0,n.jsx)(e.a,{href:"/api/interface/Params",children:"fromCodeableConceptToString"})," option to fit your needs"]})})]})}function h(t={}){const{wrapper:e}={...(0,s.R)(),...t.components};return e?(0,n.jsx)(e,{...t,children:(0,n.jsx)(g,{...t})}):g(t)}},816:(t,e,i)=>{i.d(e,{A:()=>l});var n=i(6540),s=i(6300),a=i(1812),o=i(4848);function l(t){let{dosage:e,config:i}=t;const[l,r]=(0,n.useState)(""),[c,u]=(0,n.useState)(i?.language||"en"),[d,p]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const t=await s.A.build(i);p(t)}()}),[i]),(0,n.useEffect)((()=>{!async function(){if(d){const t=d.fromDosageToText(e);r(t)}}()}),[e,d]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:c,onChange:t=>u(t.target.value),style:{marginRight:"10px"},children:[(0,o.jsx)("option",{value:"en",children:"English"}),(0,o.jsx)("option",{value:"fr",children:"French"}),(0,o.jsx)("option",{value:"nl",children:"Dutch"}),(0,o.jsx)("option",{value:"de",children:"German"})]}),(0,o.jsx)("button",{onClick:async()=>{if(d){await d.changeLanguage(c);const t=d.fromDosageToText(e);r(t)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(a.default,{language:"markup",children:(m=l,m.replace(/"/g,'"').replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(e)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(t,e){return String.fromCharCode(parseInt(e,16))})))})})]});var m}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3709],{2092:(t,e,i)=>{i.r(e),i.d(e,{assets:()=>m,contentTitle:()=>d,default:()=>h,frontMatter:()=>u,metadata:()=>p,toc:()=>f});var n=i(4848),s=i(8453),a=i(1812);const o=JSON.parse('{"additionalInstruction":[{"text":"Instruction 1"},{"text":"Instruction 2"}]}');var l=i(4865),r=i(9365),c=i(816);const u={description:"Multiple items",title:"\u2795 Multiple items"},d=void 0,p={id:"specs/additionalInstruction/multiple_items",title:"\u2795 Multiple items",description:"Multiple items",source:"@site/docs/specs/additionalInstruction/multiple_items.mdx",sourceDirName:"specs/additionalInstruction",slug:"/specs/additionalInstruction/multiple_items",permalink:"/fhir-dosage-utils/docs/specs/additionalInstruction/multiple_items",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/additionalInstruction/multiple_items.mdx",tags:[],version:"current",frontMatter:{description:"Multiple items",title:"\u2795 Multiple items"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udcdd additionalInstruction",permalink:"/fhir-dosage-utils/docs/category/-additionalinstruction"},next:{title:"\u274c Single item",permalink:"/fhir-dosage-utils/docs/specs/additionalInstruction/single_item"}},m={},f=[];function g(t){const e={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...t.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(l.A,{children:[(0,n.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(c.A,{dosage:o})}),(0,n.jsx)(r.A,{value:"json",label:"Dosage",children:(0,n.jsx)(a.default,{language:"json",children:JSON.stringify(o,null,2)})})]}),"\n",(0,n.jsx)(e.admonition,{type:"tip",children:(0,n.jsxs)(e.p,{children:["Don't forget you can use ",(0,n.jsx)(e.a,{href:"/api/interface/Params",children:"fromCodeableConceptToString"})," option to fit your needs"]})})]})}function h(t={}){const{wrapper:e}={...(0,s.R)(),...t.components};return e?(0,n.jsx)(e,{...t,children:(0,n.jsx)(g,{...t})}):g(t)}},816:(t,e,i)=>{i.d(e,{A:()=>l});var n=i(6540),s=i(6300),a=i(1812),o=i(4848);function l(t){let{dosage:e,config:i,i18nConfig:l}=t;const[r,c]=(0,n.useState)(""),[u,d]=(0,n.useState)(i?.language||"en"),[p,m]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const t=await s.A.build(i,l);m(t)}()}),[i]),(0,n.useEffect)((()=>{!async function(){if(p){const t=p.fromDosageToText(e);c(t)}}()}),[e,p]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:u,onChange:t=>d(t.target.value),style:{marginRight:"10px"},children:[(0,o.jsx)("option",{value:"en",children:"English"}),(0,o.jsx)("option",{value:"fr",children:"French"}),(0,o.jsx)("option",{value:"nl",children:"Dutch"}),(0,o.jsx)("option",{value:"de",children:"German"})]}),(0,o.jsx)("button",{onClick:async()=>{if(p){await p.changeLanguage(u);const t=p.fromDosageToText(e);c(t)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(a.default,{language:"markup",children:(f=r,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(e)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(t,e){return String.fromCharCode(parseInt(e,16))})))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/1c1d0071.8f41a2f6.js b/assets/js/1c1d0071.5e58e581.js similarity index 60% rename from assets/js/1c1d0071.8f41a2f6.js rename to assets/js/1c1d0071.5e58e581.js index a239300a..72a35e26 100644 --- a/assets/js/1c1d0071.8f41a2f6.js +++ b/assets/js/1c1d0071.5e58e581.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9748],{6693:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>f,contentTitle:()=>d,default:()=>g,frontMatter:()=>u,metadata:()=>h,toc:()=>p});var s=n(4848),i=n(8453),l=n(1812);const a=JSON.parse('{"timing":{"repeat":{"when":["MORN","AFT"]}}}');var r=n(4865),o=n(9365),c=n(816);const u={description:"when - multiple items",title:"\ud83d\udd52 When (Multiple items)"},d=void 0,h={id:"specs/offsetWhen/when/multiple_items",title:"\ud83d\udd52 When (Multiple items)",description:"when - multiple items",source:"@site/docs/specs/offsetWhen/when/multiple_items.mdx",sourceDirName:"specs/offsetWhen/when",slug:"/specs/offsetWhen/when/multiple_items",permalink:"/fhir-dosage-utils/docs/specs/offsetWhen/when/multiple_items",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/offsetWhen/when/multiple_items.mdx",tags:[],version:"current",frontMatter:{description:"when - multiple items",title:"\ud83d\udd52 When (Multiple items)"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udd52 when",permalink:"/fhir-dosage-utils/docs/category/-when"},next:{title:"\ud83d\udd52 When (Single item)",permalink:"/fhir-dosage-utils/docs/specs/offsetWhen/when/single_item"}},f={},p=[];function m(e){return(0,s.jsxs)(r.A,{children:[(0,s.jsx)(o.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(c.A,{dosage:a})}),(0,s.jsx)(o.A,{value:"json",label:"Dosage",children:(0,s.jsx)(l.default,{language:"json",children:JSON.stringify(a,null,2)})})]})}function g(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(m,{...e})}):m()}},816:(e,t,n)=>{n.d(t,{A:()=>r});var s=n(6540),i=n(6300),l=n(1812),a=n(4848);function r(e){let{dosage:t,config:n}=e;const[r,o]=(0,s.useState)(""),[c,u]=(0,s.useState)(n?.language||"en"),[d,h]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await i.A.build(n);h(e)}()}),[n]),(0,s.useEffect)((()=>{!async function(){if(d){const e=d.fromDosageToText(t);o(e)}}()}),[t,d]);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{style:{display:"flex"},children:[(0,a.jsxs)("select",{value:c,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,a.jsx)("option",{value:"en",children:"English"}),(0,a.jsx)("option",{value:"fr",children:"French"}),(0,a.jsx)("option",{value:"nl",children:"Dutch"}),(0,a.jsx)("option",{value:"de",children:"German"})]}),(0,a.jsx)("button",{onClick:async()=>{if(d){await d.changeLanguage(c);const e=d.fromDosageToText(t);o(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(l.default,{language:"markup",children:(f=r,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var f}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9748],{6693:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>f,contentTitle:()=>d,default:()=>g,frontMatter:()=>u,metadata:()=>h,toc:()=>p});var s=n(4848),i=n(8453),l=n(1812);const a=JSON.parse('{"timing":{"repeat":{"when":["MORN","AFT"]}}}');var r=n(4865),o=n(9365),c=n(816);const u={description:"when - multiple items",title:"\ud83d\udd52 When (Multiple items)"},d=void 0,h={id:"specs/offsetWhen/when/multiple_items",title:"\ud83d\udd52 When (Multiple items)",description:"when - multiple items",source:"@site/docs/specs/offsetWhen/when/multiple_items.mdx",sourceDirName:"specs/offsetWhen/when",slug:"/specs/offsetWhen/when/multiple_items",permalink:"/fhir-dosage-utils/docs/specs/offsetWhen/when/multiple_items",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/offsetWhen/when/multiple_items.mdx",tags:[],version:"current",frontMatter:{description:"when - multiple items",title:"\ud83d\udd52 When (Multiple items)"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udd52 when",permalink:"/fhir-dosage-utils/docs/category/-when"},next:{title:"\ud83d\udd52 When (Single item)",permalink:"/fhir-dosage-utils/docs/specs/offsetWhen/when/single_item"}},f={},p=[];function m(e){return(0,s.jsxs)(r.A,{children:[(0,s.jsx)(o.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(c.A,{dosage:a})}),(0,s.jsx)(o.A,{value:"json",label:"Dosage",children:(0,s.jsx)(l.default,{language:"json",children:JSON.stringify(a,null,2)})})]})}function g(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(m,{...e})}):m()}},816:(e,t,n)=>{n.d(t,{A:()=>r});var s=n(6540),i=n(6300),l=n(1812),a=n(4848);function r(e){let{dosage:t,config:n,i18nConfig:r}=e;const[o,c]=(0,s.useState)(""),[u,d]=(0,s.useState)(n?.language||"en"),[h,f]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await i.A.build(n,r);f(e)}()}),[n]),(0,s.useEffect)((()=>{!async function(){if(h){const e=h.fromDosageToText(t);c(e)}}()}),[t,h]);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{style:{display:"flex"},children:[(0,a.jsxs)("select",{value:u,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,a.jsx)("option",{value:"en",children:"English"}),(0,a.jsx)("option",{value:"fr",children:"French"}),(0,a.jsx)("option",{value:"nl",children:"Dutch"}),(0,a.jsx)("option",{value:"de",children:"German"})]}),(0,a.jsx)("button",{onClick:async()=>{if(h){await h.changeLanguage(u);const e=h.fromDosageToText(t);c(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(l.default,{language:"markup",children:(p=o,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/1cae87f6.6ab6abc7.js b/assets/js/1cae87f6.6ab6abc7.js new file mode 100644 index 00000000..46a1110f --- /dev/null +++ b/assets/js/1cae87f6.6ab6abc7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[554],{8417:e=>{e.exports=JSON.parse('[{"entryPoints":[{"index":true,"label":"Index","reflection":{"id":0,"name":"fhir-dosage-utils","variant":"project","kind":1,"flags":{},"children":[{"id":9,"name":"DisplayOrderEnum","variant":"declaration","kind":8,"flags":{},"comment":{"summary":[{"kind":"text","text":"Represents the available display orders"}]},"children":[{"id":35,"name":"additionalInstruction","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"additionalInstruction\\""}]},"sources":[{"fileName":"types.ts","line":173,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L173"}],"type":{"type":"literal","value":"additionalInstruction"}},{"id":25,"name":"asNeeded","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"asNeededBoolean\\" / \\"asNeededCodeableConcept\\" / \\"asNeeded\\" / \\"asNeededFor\\""}]},"sources":[{"fileName":"types.ts","line":133,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L133"}],"type":{"type":"literal","value":"asNeeded"}},{"id":26,"name":"boundsDuration","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"timing.repeat.boundsDuration\\""}]},"sources":[{"fileName":"types.ts","line":137,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L137"}],"type":{"type":"literal","value":"boundsDuration"}},{"id":27,"name":"boundsPeriod","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"timing.repeat.boundsPeriod\\""}]},"sources":[{"fileName":"types.ts","line":141,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L141"}],"type":{"type":"literal","value":"boundsPeriod"}},{"id":28,"name":"boundsRange","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"timing.repeat.boundsRange\\""}]},"sources":[{"fileName":"types.ts","line":145,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L145"}],"type":{"type":"literal","value":"boundsRange"}},{"id":31,"name":"code","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"timing.code\\""}]},"sources":[{"fileName":"types.ts","line":157,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L157"}],"type":{"type":"literal","value":"code"}},{"id":29,"name":"countCountMax","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"timing.repeat.count\\" / \\"timing.repeat.countMax\\""}]},"sources":[{"fileName":"types.ts","line":149,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L149"}],"type":{"type":"literal","value":"countCountMax"}},{"id":21,"name":"dayOfWeek","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"timing.repeat.dayOfWeek\\""}]},"sources":[{"fileName":"types.ts","line":117,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L117"}],"type":{"type":"literal","value":"dayOfWeek"}},{"id":11,"name":"doseQuantity","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"doseAndRate.doseQuantity\\""}]},"sources":[{"fileName":"types.ts","line":77,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L77"}],"type":{"type":"literal","value":"doseQuantity"}},{"id":12,"name":"doseRange","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"doseAndRate.doseRange\\""}]},"sources":[{"fileName":"types.ts","line":81,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L81"}],"type":{"type":"literal","value":"doseRange"}},{"id":16,"name":"durationDurationMax","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"timing.repeat.duration\\" / \\"timing.repeat.durationMax\\""}]},"sources":[{"fileName":"types.ts","line":97,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L97"}],"type":{"type":"literal","value":"durationDurationMax"}},{"id":30,"name":"event","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"timing.event\\""}]},"sources":[{"fileName":"types.ts","line":153,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L153"}],"type":{"type":"literal","value":"event"}},{"id":38,"name":"extension","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"extension\\""}]},"sources":[{"fileName":"types.ts","line":185,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L185"}],"type":{"type":"literal","value":"extension"}},{"id":17,"name":"frequencyFrequencyMax","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"timing.repeat.frequency\\" / \\"timing.repeat.frequencyMax\\""}]},"sources":[{"fileName":"types.ts","line":101,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L101"}],"type":{"type":"literal","value":"frequencyFrequencyMax"}},{"id":19,"name":"frequencyFrequencyMaxPeriodPeriodMax","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"timing.repeat.frequency\\" / \\"timing.repeat.frequencyMax\\" / \\"timing.repeat.period\\" / \\"timing.repeat.periodMax\\""}]},"sources":[{"fileName":"types.ts","line":109,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L109"}],"type":{"type":"literal","value":"frequencyFrequencyMaxPeriodPeriodMax"}},{"id":33,"name":"maxDosePerAdministration","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"maxDosePerAdministration\\""}]},"sources":[{"fileName":"types.ts","line":165,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L165"}],"type":{"type":"literal","value":"maxDosePerAdministration"}},{"id":34,"name":"maxDosePerLifetime","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"maxDosePerLifetime\\""}]},"sources":[{"fileName":"types.ts","line":169,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L169"}],"type":{"type":"literal","value":"maxDosePerLifetime"}},{"id":32,"name":"maxDosePerPeriod","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"maxDosePerPeriod\\""}]},"sources":[{"fileName":"types.ts","line":161,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L161"}],"type":{"type":"literal","value":"maxDosePerPeriod"}},{"id":10,"name":"method","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"method\\""}]},"sources":[{"fileName":"types.ts","line":73,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L73"}],"type":{"type":"literal","value":"method"}},{"id":20,"name":"offsetWhen","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"timing.repeat.offset\\" / \\"timing.repeat.when\\""}]},"sources":[{"fileName":"types.ts","line":113,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L113"}],"type":{"type":"literal","value":"offsetWhen"}},{"id":36,"name":"patientInstruction","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"patientInstruction\\""}]},"sources":[{"fileName":"types.ts","line":177,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L177"}],"type":{"type":"literal","value":"patientInstruction"}},{"id":18,"name":"periodPeriodMax","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"timing.repeat.period\\" / \\"timing.repeat.periodMax\\""}]},"sources":[{"fileName":"types.ts","line":105,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L105"}],"type":{"type":"literal","value":"periodPeriodMax"}},{"id":14,"name":"rateQuantity","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"doseAndRate.rateQuantity\\""}]},"sources":[{"fileName":"types.ts","line":89,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L89"}],"type":{"type":"literal","value":"rateQuantity"}},{"id":15,"name":"rateRange","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"doseAndRate.rateRange\\""}]},"sources":[{"fileName":"types.ts","line":93,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L93"}],"type":{"type":"literal","value":"rateRange"}},{"id":13,"name":"rateRatio","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"doseAndRate.rateRatio\\""}]},"sources":[{"fileName":"types.ts","line":85,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L85"}],"type":{"type":"literal","value":"rateRatio"}},{"id":23,"name":"route","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"route\\""}]},"sources":[{"fileName":"types.ts","line":125,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L125"}],"type":{"type":"literal","value":"route"}},{"id":24,"name":"site","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"site\\""}]},"sources":[{"fileName":"types.ts","line":129,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L129"}],"type":{"type":"literal","value":"site"}},{"id":37,"name":"text","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"text\\""}]},"sources":[{"fileName":"types.ts","line":181,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L181"}],"type":{"type":"literal","value":"text"}},{"id":22,"name":"timeOfDay","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"timing.repeat.timeOfDay\\""}]},"sources":[{"fileName":"types.ts","line":121,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L121"}],"type":{"type":"literal","value":"timeOfDay"}}],"groups":[{"title":"Enumeration Members","children":[35,25,26,27,28,31,29,21,11,12,16,30,38,17,19,33,34,32,10,20,36,18,14,15,13,23,24,37,22]}],"sources":[{"fileName":"types.ts","line":69,"character":12,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L69"}],"permalink":"/fhir-dosage-utils/api/enum/DisplayOrderEnum","previousId":40,"nextId":1},{"id":40,"name":"default","variant":"declaration","kind":128,"flags":{},"children":[{"id":87,"name":"changeDateTimeFormatOptions","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"classes/Configurator.ts","line":120,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/classes/Configurator.ts#L120"}],"signatures":[{"id":88,"name":"changeDateTimeFormatOptions","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Set date time format options"}]},"sources":[{"fileName":"classes/Configurator.ts","line":120,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/classes/Configurator.ts#L120"}],"parameters":[{"id":89,"name":"opts","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Intl.DateTimeFormatOptions"},"name":"DateTimeFormatOptions","package":"typescript","qualifiedName":"Intl.DateTimeFormatOptions"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","target":-1,"name":"Configurator.changeDateTimeFormatOptions"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"Configurator.changeDateTimeFormatOptions"}},{"id":75,"name":"changeDisplayOrder","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"classes/Configurator.ts","line":79,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/classes/Configurator.ts#L79"}],"signatures":[{"id":76,"name":"changeDisplayOrder","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"To change display order"}]},"sources":[{"fileName":"classes/Configurator.ts","line":79,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/classes/Configurator.ts#L79"}],"parameters":[{"id":77,"name":"order","variant":"param","kind":32768,"flags":{},"type":{"type":"array","elementType":{"type":"union","types":[{"type":"literal","value":"method"},{"type":"literal","value":"doseQuantity"},{"type":"literal","value":"doseRange"},{"type":"literal","value":"rateRatio"},{"type":"literal","value":"rateQuantity"},{"type":"literal","value":"rateRange"},{"type":"literal","value":"durationDurationMax"},{"type":"literal","value":"frequencyFrequencyMax"},{"type":"literal","value":"periodPeriodMax"},{"type":"literal","value":"frequencyFrequencyMaxPeriodPeriodMax"},{"type":"literal","value":"offsetWhen"},{"type":"literal","value":"dayOfWeek"},{"type":"literal","value":"timeOfDay"},{"type":"literal","value":"route"},{"type":"literal","value":"site"},{"type":"literal","value":"asNeeded"},{"type":"literal","value":"boundsDuration"},{"type":"literal","value":"boundsPeriod"},{"type":"literal","value":"boundsRange"},{"type":"literal","value":"countCountMax"},{"type":"literal","value":"event"},{"type":"literal","value":"code"},{"type":"literal","value":"maxDosePerPeriod"},{"type":"literal","value":"maxDosePerAdministration"},{"type":"literal","value":"maxDosePerLifetime"},{"type":"literal","value":"additionalInstruction"},{"type":"literal","value":"patientInstruction"},{"type":"literal","value":"text"},{"type":"literal","value":"extension"}]}}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","target":-1,"name":"Configurator.changeDisplayOrder"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"Configurator.changeDisplayOrder"}},{"id":82,"name":"changeDisplaySeparator","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"classes/Configurator.ts","line":103,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/classes/Configurator.ts#L103"}],"signatures":[{"id":83,"name":"changeDisplaySeparator","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Set display separator"}]},"sources":[{"fileName":"classes/Configurator.ts","line":103,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/classes/Configurator.ts#L103"}],"parameters":[{"id":84,"name":"sep","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"},"inheritedFrom":{"type":"reference","target":-1,"name":"Configurator.changeDisplaySeparator"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"Configurator.changeDisplaySeparator"}},{"id":70,"name":"changeLanguage","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"classes/Configurator.ts","line":61,"character":8,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/classes/Configurator.ts#L61"}],"signatures":[{"id":71,"name":"changeLanguage","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"To change language"}]},"sources":[{"fileName":"classes/Configurator.ts","line":61,"character":8,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/classes/Configurator.ts#L61"}],"parameters":[{"id":72,"name":"lng","variant":"param","kind":32768,"flags":{},"type":{"type":"union","types":[{"type":"literal","value":"en"},{"type":"literal","value":"fr"},{"type":"literal","value":"nl"},{"type":"literal","value":"de"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":{"sourceFileName":"../node_modules/i18next/typescript/t.d.ts","qualifiedName":"TFunction"},"typeArguments":[{"type":"literal","value":"common"},{"type":"intrinsic","name":"undefined"}],"name":"TFunction","package":"i18next"}],"name":"Promise","package":"typescript"},"inheritedFrom":{"type":"reference","target":-1,"name":"Configurator.changeLanguage"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"Configurator.changeLanguage"}},{"id":49,"name":"containsOnlySequentialInstructions","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"api.ts","line":48,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L48"}],"signatures":[{"id":50,"name":"containsOnlySequentialInstructions","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Does this array of Dosage objects contains only \\"sequential\\" instructions ?"}]},"sources":[{"fileName":"api.ts","line":48,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L48"}],"parameters":[{"id":51,"name":"dosages","variant":"param","kind":32768,"flags":{},"type":{"type":"array","elementType":{"type":"reference","target":{"sourceFileName":"../src/types.ts","qualifiedName":"Dosage"},"name":"Dosage","package":"fhir-dosage-utils"}}}],"type":{"type":"intrinsic","name":"boolean"}}]},{"id":59,"name":"fromDosageToText","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"api.ts","line":127,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L127"}],"signatures":[{"id":60,"name":"fromDosageToText","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Turn a FHIR Dosage object into text"}]},"sources":[{"fileName":"api.ts","line":127,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L127"}],"parameters":[{"id":61,"name":"dos","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":{"sourceFileName":"../src/types.ts","qualifiedName":"Dosage"},"name":"Dosage","package":"fhir-dosage-utils"}}],"type":{"type":"intrinsic","name":"string"}}]},{"id":62,"name":"fromMultipleDosageToText","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"api.ts","line":136,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L136"}],"signatures":[{"id":63,"name":"fromMultipleDosageToText","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Turn multiple FHIR Dosage objects into text"}]},"sources":[{"fileName":"api.ts","line":136,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L136"}],"parameters":[{"id":64,"name":"dosages","variant":"param","kind":32768,"flags":{},"type":{"type":"array","elementType":{"type":"reference","target":{"sourceFileName":"../src/types.ts","qualifiedName":"Dosage"},"name":"Dosage","package":"fhir-dosage-utils"}}}],"type":{"type":"intrinsic","name":"string"}}]},{"id":85,"name":"getDateTimeFormatOptions","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"classes/Configurator.ts","line":113,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/classes/Configurator.ts#L113"}],"signatures":[{"id":86,"name":"getDateTimeFormatOptions","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Get date time format options"}]},"sources":[{"fileName":"classes/Configurator.ts","line":113,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/classes/Configurator.ts#L113"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Intl.DateTimeFormatOptions"},"name":"DateTimeFormatOptions","package":"typescript","qualifiedName":"Intl.DateTimeFormatOptions"},"inheritedFrom":{"type":"reference","target":-1,"name":"Configurator.getDateTimeFormatOptions"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"Configurator.getDateTimeFormatOptions"}},{"id":78,"name":"getDisplayOrder","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"classes/Configurator.ts","line":89,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/classes/Configurator.ts#L89"}],"signatures":[{"id":79,"name":"getDisplayOrder","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Get display order"}]},"sources":[{"fileName":"classes/Configurator.ts","line":89,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/classes/Configurator.ts#L89"}],"type":{"type":"array","elementType":{"type":"union","types":[{"type":"literal","value":"method"},{"type":"literal","value":"doseQuantity"},{"type":"literal","value":"doseRange"},{"type":"literal","value":"rateRatio"},{"type":"literal","value":"rateQuantity"},{"type":"literal","value":"rateRange"},{"type":"literal","value":"durationDurationMax"},{"type":"literal","value":"frequencyFrequencyMax"},{"type":"literal","value":"periodPeriodMax"},{"type":"literal","value":"frequencyFrequencyMaxPeriodPeriodMax"},{"type":"literal","value":"offsetWhen"},{"type":"literal","value":"dayOfWeek"},{"type":"literal","value":"timeOfDay"},{"type":"literal","value":"route"},{"type":"literal","value":"site"},{"type":"literal","value":"asNeeded"},{"type":"literal","value":"boundsDuration"},{"type":"literal","value":"boundsPeriod"},{"type":"literal","value":"boundsRange"},{"type":"literal","value":"countCountMax"},{"type":"literal","value":"event"},{"type":"literal","value":"code"},{"type":"literal","value":"maxDosePerPeriod"},{"type":"literal","value":"maxDosePerAdministration"},{"type":"literal","value":"maxDosePerLifetime"},{"type":"literal","value":"additionalInstruction"},{"type":"literal","value":"patientInstruction"},{"type":"literal","value":"text"},{"type":"literal","value":"extension"}]}},"inheritedFrom":{"type":"reference","target":-1,"name":"Configurator.getDisplayOrder"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"Configurator.getDisplayOrder"}},{"id":80,"name":"getDisplaySeparator","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"classes/Configurator.ts","line":96,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/classes/Configurator.ts#L96"}],"signatures":[{"id":81,"name":"getDisplaySeparator","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Get display separator"}]},"sources":[{"fileName":"classes/Configurator.ts","line":96,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/classes/Configurator.ts#L96"}],"type":{"type":"intrinsic","name":"string"},"inheritedFrom":{"type":"reference","target":-1,"name":"Configurator.getDisplaySeparator"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"Configurator.getDisplaySeparator"}},{"id":55,"name":"getFields","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"api.ts","line":107,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L107"}],"signatures":[{"id":56,"name":"getFields","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"From a single dosage, extract specific field(s) requested by user.\\nSome use cases could request to split part of the object for given needs (quantity and timing separately)"}]},"sources":[{"fileName":"api.ts","line":107,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L107"}],"parameters":[{"id":57,"name":"dos","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":{"sourceFileName":"../src/types.ts","qualifiedName":"Dosage"},"name":"Dosage","package":"fhir-dosage-utils"}},{"id":58,"name":"order","variant":"param","kind":32768,"flags":{"isRest":true},"type":{"type":"array","elementType":{"type":"union","types":[{"type":"literal","value":"method"},{"type":"literal","value":"doseQuantity"},{"type":"literal","value":"doseRange"},{"type":"literal","value":"rateRatio"},{"type":"literal","value":"rateQuantity"},{"type":"literal","value":"rateRange"},{"type":"literal","value":"durationDurationMax"},{"type":"literal","value":"frequencyFrequencyMax"},{"type":"literal","value":"periodPeriodMax"},{"type":"literal","value":"frequencyFrequencyMaxPeriodPeriodMax"},{"type":"literal","value":"offsetWhen"},{"type":"literal","value":"dayOfWeek"},{"type":"literal","value":"timeOfDay"},{"type":"literal","value":"route"},{"type":"literal","value":"site"},{"type":"literal","value":"asNeeded"},{"type":"literal","value":"boundsDuration"},{"type":"literal","value":"boundsPeriod"},{"type":"literal","value":"boundsRange"},{"type":"literal","value":"countCountMax"},{"type":"literal","value":"event"},{"type":"literal","value":"code"},{"type":"literal","value":"maxDosePerPeriod"},{"type":"literal","value":"maxDosePerAdministration"},{"type":"literal","value":"maxDosePerLifetime"},{"type":"literal","value":"additionalInstruction"},{"type":"literal","value":"patientInstruction"},{"type":"literal","value":"text"},{"type":"literal","value":"extension"}]}}}],"type":{"type":"intrinsic","name":"string"}}]},{"id":73,"name":"getLanguage","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"classes/Configurator.ts","line":72,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/classes/Configurator.ts#L72"}],"signatures":[{"id":74,"name":"getLanguage","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Get current language"}]},"sources":[{"fileName":"classes/Configurator.ts","line":72,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/classes/Configurator.ts#L72"}],"type":{"type":"union","types":[{"type":"literal","value":"en"},{"type":"literal","value":"fr"},{"type":"literal","value":"nl"},{"type":"literal","value":"de"}]},"inheritedFrom":{"type":"reference","target":-1,"name":"Configurator.getLanguage"}}],"inheritedFrom":{"type":"reference","target":-1,"name":"Configurator.getLanguage"}},{"id":52,"name":"groupBySequence","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"api.ts","line":70,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L70"}],"signatures":[{"id":53,"name":"groupBySequence","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Turn this array of Dosage objects into a data structure useful to handle \\"sequential\\" and \\"concurrent\\" instructions (cf. \\"sequence\\" property)."}],"blockTags":[{"tag":"@returns","content":[{"kind":"text","text":"- A two-dimensional array where each inner array contains Dosage objects belonging to the same sequence numberr."}]}]},"sources":[{"fileName":"api.ts","line":70,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L70"}],"parameters":[{"id":54,"name":"dosages","variant":"param","kind":32768,"flags":{},"type":{"type":"array","elementType":{"type":"reference","target":{"sourceFileName":"../src/types.ts","qualifiedName":"Dosage"},"name":"Dosage","package":"fhir-dosage-utils"}}}],"type":{"type":"array","elementType":{"type":"array","elementType":{"type":"reference","target":{"sourceFileName":"../src/types.ts","qualifiedName":"Dosage"},"name":"Dosage","package":"fhir-dosage-utils"}}}}]},{"id":41,"name":"build","variant":"declaration","kind":2048,"flags":{"isStatic":true},"sources":[{"fileName":"api.ts","line":36,"character":15,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L36"}],"signatures":[{"id":42,"name":"build","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Factory to create a fine-tuned instance of the utility class"}]},"sources":[{"fileName":"api.ts","line":36,"character":15,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L36"}],"parameters":[{"id":43,"name":"userConfig","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"reference","target":1,"name":"Params","package":"fhir-dosage-utils"}},{"id":44,"name":"i18nConfig","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":{"sourceFileName":"../node_modules/i18next/typescript/options.d.ts","qualifiedName":"InitOptions"},"typeArguments":[{"type":"intrinsic","name":"object"}],"name":"InitOptions","package":"i18next"},"defaultValue":"defaultI18NConfig"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":40,"name":"FhirDosageUtils","package":"fhir-dosage-utils"}],"name":"Promise","package":"typescript"}}]}],"groups":[{"title":"Methods","children":[87,75,82,70,49,59,62,85,78,80,55,73,52,41]}],"sources":[{"fileName":"api.ts","line":32,"character":13,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L32"}],"extendedTypes":[{"type":"reference","target":{"sourceFileName":"../src/classes/Configurator.ts","qualifiedName":"Configurator"},"name":"Configurator","package":"fhir-dosage-utils"}],"permalink":"/fhir-dosage-utils/api/class/default","nextId":9},{"id":1,"name":"Params","variant":"declaration","kind":256,"flags":{},"children":[{"id":8,"name":"dateTimeFormatOptions","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"To control the formatting of dateTime objects.\\nIf not provided, will use the defaults according locale e.g. \\"20/01/2024\\""}],"blockTags":[{"tag":"@defaultValue","content":[{"kind":"code","text":"```ts\\n{}\\n```"}]},{"tag":"@see","content":[{"kind":"text","text":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat#options"}]}]},"sources":[{"fileName":"types.ts","line":242,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L242"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Intl.DateTimeFormatOptions"},"name":"DateTimeFormatOptions","package":"typescript","qualifiedName":"Intl.DateTimeFormatOptions"}},{"id":6,"name":"displayOrder","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Control the display order used by the algorithm\\nUseful when you want to turn on / off some specific rules for some reason"}],"blockTags":[{"tag":"@defaultValue","content":[{"kind":"code","text":"```ts\\n[\\"method\\", \\"doseQuantity\\", \\"doseRange\\", \\"rateRatio\\", \\"rateQuantity\\", \\"rateRange\\", \\"durationDurationMax\\", \\"frequencyFrequencyMaxPeriodPeriodMax\\", \\"offsetWhen\\", \\"dayOfWeek\\", \\"timeOfDay\\", \\"route\\", \\"site\\", \\"asNeeded\\", \\"boundsDuration\\", \\"boundsPeriod\\", \\"boundsRange\\", \\"countCountMax\\", \\"event\\", \\"code\\", \\"maxDosePerPeriod\\", \\"maxDosePerAdministration\\", \\"maxDosePerLifetime\\", \\"additionalInstruction\\", \\"patientInstruction\\"]\\n```"}]},{"tag":"@see","content":[{"kind":"text","text":"[DisplayOrderEnum](../enum/DisplayOrderEnum) for more info"}]}]},"sources":[{"fileName":"types.ts","line":230,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L230"}],"type":{"type":"array","elementType":{"type":"union","types":[{"type":"literal","value":"method"},{"type":"literal","value":"doseQuantity"},{"type":"literal","value":"doseRange"},{"type":"literal","value":"rateRatio"},{"type":"literal","value":"rateQuantity"},{"type":"literal","value":"rateRange"},{"type":"literal","value":"durationDurationMax"},{"type":"literal","value":"frequencyFrequencyMax"},{"type":"literal","value":"periodPeriodMax"},{"type":"literal","value":"frequencyFrequencyMaxPeriodPeriodMax"},{"type":"literal","value":"offsetWhen"},{"type":"literal","value":"dayOfWeek"},{"type":"literal","value":"timeOfDay"},{"type":"literal","value":"route"},{"type":"literal","value":"site"},{"type":"literal","value":"asNeeded"},{"type":"literal","value":"boundsDuration"},{"type":"literal","value":"boundsPeriod"},{"type":"literal","value":"boundsRange"},{"type":"literal","value":"countCountMax"},{"type":"literal","value":"event"},{"type":"literal","value":"code"},{"type":"literal","value":"maxDosePerPeriod"},{"type":"literal","value":"maxDosePerAdministration"},{"type":"literal","value":"maxDosePerLifetime"},{"type":"literal","value":"additionalInstruction"},{"type":"literal","value":"patientInstruction"},{"type":"literal","value":"text"},{"type":"literal","value":"extension"}]}}},{"id":7,"name":"displaySeparator","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Override separator between each part of \\"Dosage\\""}],"blockTags":[{"tag":"@defaultValue","content":[{"kind":"code","text":"```ts\\n\\" - \\"\\n```"}]}]},"sources":[{"fileName":"types.ts","line":235,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L235"}],"type":{"type":"intrinsic","name":"string"}},{"id":4,"name":"fromCodeableConceptToString","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Function to turn a codeable concept (e.g SNOMED CT \\"311504000\\") into a string for humans (e.g \\"With or after food\\")\\nThe choice to handle extension, local valueset, ... is thus under the hands of people ;)"}],"blockTags":[{"tag":"@see","content":[{"kind":"text","text":" - "},{"kind":"text","text":"[defaultFromCodeableConceptToString](https://github.com/jy95/fhir-dosage-utils/blob/main/src/utils/fromCodeableConceptToString.ts) for default implementation"},{"kind":"text","text":"\\n"},{"kind":"text","text":" - "},{"kind":"text","text":"[FHIR definition of CodeableConcept](https://build.fhir.org/datatypes.html#CodeableConcept) for more info about the type itself"},{"kind":"text","text":"\\n"}]}]},"sources":[{"fileName":"types.ts","line":216,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L216"}],"type":{"type":"reference","target":{"sourceFileName":"../src/utils/fromCodeableConceptToString.ts","qualifiedName":"FromCodeableConceptToStringFct"},"name":"FromCodeableConceptToStringFct","package":"fhir-dosage-utils"}},{"id":5,"name":"fromExtensionsToString","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Function to turn extension(s) into a string for humans.\\nThe choice to handle national extensions, ... is thus under the hands of people ;)"}],"blockTags":[{"tag":"@see","content":[{"kind":"text","text":" - "},{"kind":"text","text":"[defaultFromExtensionsToString](https://github.com/jy95/fhir-dosage-utils/blob/main/src/utils/fromExtensionsToString.ts) for default implementation"},{"kind":"text","text":"\\n"},{"kind":"text","text":" - "},{"kind":"text","text":"[FHIR definition of Extension](https://build.fhir.org/extensibility.html#Extension) for more info about the type itself"},{"kind":"text","text":"\\n"}]}]},"sources":[{"fileName":"types.ts","line":223,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L223"}],"type":{"type":"reference","target":{"sourceFileName":"../src/utils/fromExtensionsToString.ts","qualifiedName":"FromExtensionsToStringFct"},"name":"FromExtensionsToStringFct","package":"fhir-dosage-utils"}},{"id":3,"name":"fromFHIRQuantityUnitToString","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Function to turn a quantity unit (e.g UCUM \\"ml\\") into a string for humans (e.g \\"militier\\")\\nThe choice to handle plural form or not is thus under the hands of people ;)"}],"blockTags":[{"tag":"@see","content":[{"kind":"text","text":" - "},{"kind":"text","text":"[defaultFromFHIRQuantityUnitToString](https://github.com/jy95/fhir-dosage-utils/blob/main/src/utils/fromFHIRQuantityUnitToString.ts) for default implementation"},{"kind":"text","text":"\\n"},{"kind":"text","text":" - "},{"kind":"text","text":"[FHIR definition of Quantity](https://build.fhir.org/datatypes.html#Quantity) for more info about the type itself"},{"kind":"text","text":"\\n"}]}]},"sources":[{"fileName":"types.ts","line":209,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L209"}],"type":{"type":"reference","target":{"sourceFileName":"../src/utils/fromFHIRQuantityUnitToString.ts","qualifiedName":"FromFHIRQuantityUnitToStringFct"},"name":"FromFHIRQuantityUnitToStringFct","package":"fhir-dosage-utils"}},{"id":2,"name":"language","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"To set up the language"}],"blockTags":[{"tag":"@defaultValue","content":[{"kind":"code","text":"```ts\\n\\"en\\" (English)\\n```"}]}]},"sources":[{"fileName":"types.ts","line":202,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L202"}],"type":{"type":"union","types":[{"type":"literal","value":"en"},{"type":"literal","value":"fr"},{"type":"literal","value":"nl"},{"type":"literal","value":"de"}]}}],"groups":[{"title":"Properties","children":[8,6,7,4,5,3,2]}],"sources":[{"fileName":"types.ts","line":197,"character":17,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L197"}],"permalink":"/fhir-dosage-utils/api/interface/Params","previousId":9,"nextId":39},{"id":39,"name":"I18InitOptions","variant":"declaration","kind":2097152,"flags":{},"comment":{"summary":[{"kind":"text","text":"Options for the i18next instances"}],"blockTags":[{"tag":"@see","content":[{"kind":"text","text":"https://www.i18next.com/overview/configuration-options for more info"}]}]},"sources":[{"fileName":"types.ts","line":259,"character":12,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L259"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Exclude"},"typeArguments":[{"type":"reference","target":{"sourceFileName":"../node_modules/i18next/typescript/options.d.ts","qualifiedName":"InitOptions"},"name":"InitOptions","package":"i18next"},{"type":"union","types":[{"type":"literal","value":"lng"},{"type":"literal","value":"ns"},{"type":"literal","value":"defaultNS"}]}],"name":"Exclude","package":"typescript"},"permalink":"/fhir-dosage-utils/api#I18InitOptions","previousId":1}],"groups":[{"title":"Classes","children":[40]},{"title":"Enumerations","children":[9]},{"title":"Interfaces","children":[1]},{"title":"Type Aliases","children":[39]}],"packageName":"fhir-dosage-utils","packageVersion":"0.0.0-development","readme":[{"kind":"text","text":"

FHIR Dosage to text

\\n\\n
\\n\\nTurn [FHIR Dosage](https://build.fhir.org/dosage.html) into human readable text in your wanted language (english, french, dutch, german, ...) and much more\\n\\n[![License: AGPL v3](https://img.shields.io/badge/License-AGPL_v3-blue.svg)](https://github.com/jy95/fhir-dosage-utils/blob/main/LICENSE) ![npm latest package](https://img.shields.io/npm/v/fhir-dosage-utils/latest.svg) ![npm downloads](https://img.shields.io/npm/dm/fhir-dosage-utils.svg) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/9c444b5c17fe497cb21d052b0a7ab4e6)](https://app.codacy.com/gh/jy95/fhir-dosage-utils/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade) [![Codacy Badge](https://app.codacy.com/project/badge/Coverage/9c444b5c17fe497cb21d052b0a7ab4e6)](https://app.codacy.com/gh/jy95/fhir-dosage-utils/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_coverage) [![prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
\\"Buy \\"Deploys \\n
\\n\\n
\\n\\n---\\n\\n## Overview\\n\\nKey Features:\\n\\n- **Compatible:** Works with [Dosage R4](https://hl7.org/fhir/R4/dosage.html) and [Dosage R5](https://hl7.org/fhir/R5/dosage.html)\\n- **Extensibility** Easily adaptable and extendable to accommodate your requirements\\n- **Internationalization** Seamlessly extendable to other languages with "},{"kind":"code","text":"`i18next`"},{"kind":"text","text":"\\n- **Integration Ease** Works effortlessly in various environments like the browser, Node.js, ...\\n\\nRead more on : https://jy95.github.io/fhir-dosage-utils/\\n\\n## Credits\\n\\nSpecial thanks to [NHS England](https://digital.nhs.uk/), the author of "},{"kind":"code","text":"`Implementation guide for interoperable medicines`"},{"kind":"text","text":" documents ( [Dose to text translations](https://simplifier.net/guide/ukcoreimplementationguideformedicines/dosetotexttranslation?version=current) / [Dosage explanations](https://simplifier.net/guide/ukcoreimplementationguideformedicines/elementdosage?version=current) ), which this project took some inspirations as a starting base.\\n\\n## Contributors\\n\\n\\n \\n"}],"symbolIdMap":{"0":{"sourceFileName":"../src/index.ts","qualifiedName":""},"1":{"sourceFileName":"../src/types.ts","qualifiedName":"Params"},"2":{"sourceFileName":"../src/types.ts","qualifiedName":"Params.language"},"3":{"sourceFileName":"../src/types.ts","qualifiedName":"Params.fromFHIRQuantityUnitToString"},"4":{"sourceFileName":"../src/types.ts","qualifiedName":"Params.fromCodeableConceptToString"},"5":{"sourceFileName":"../src/types.ts","qualifiedName":"Params.fromExtensionsToString"},"6":{"sourceFileName":"../src/types.ts","qualifiedName":"Params.displayOrder"},"7":{"sourceFileName":"../src/types.ts","qualifiedName":"Params.displaySeparator"},"8":{"sourceFileName":"../src/types.ts","qualifiedName":"Params.dateTimeFormatOptions"},"9":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum"},"10":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.method"},"11":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.doseQuantity"},"12":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.doseRange"},"13":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.rateRatio"},"14":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.rateQuantity"},"15":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.rateRange"},"16":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.durationDurationMax"},"17":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.frequencyFrequencyMax"},"18":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.periodPeriodMax"},"19":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.frequencyFrequencyMaxPeriodPeriodMax"},"20":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.offsetWhen"},"21":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.dayOfWeek"},"22":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.timeOfDay"},"23":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.route"},"24":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.site"},"25":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.asNeeded"},"26":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.boundsDuration"},"27":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.boundsPeriod"},"28":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.boundsRange"},"29":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.countCountMax"},"30":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.event"},"31":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.code"},"32":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.maxDosePerPeriod"},"33":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.maxDosePerAdministration"},"34":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.maxDosePerLifetime"},"35":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.additionalInstruction"},"36":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.patientInstruction"},"37":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.text"},"38":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.extension"},"39":{"sourceFileName":"../src/types.ts","qualifiedName":"I18InitOptions"},"40":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils"},"41":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.build"},"42":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.build"},"43":{"sourceFileName":"../src/api.ts","qualifiedName":"userConfig"},"44":{"sourceFileName":"../src/api.ts","qualifiedName":"i18nConfig"},"49":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.containsOnlySequentialInstructions"},"50":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.containsOnlySequentialInstructions"},"51":{"sourceFileName":"../src/api.ts","qualifiedName":"dosages"},"52":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.groupBySequence"},"53":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.groupBySequence"},"54":{"sourceFileName":"../src/api.ts","qualifiedName":"dosages"},"55":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.getFields"},"56":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.getFields"},"57":{"sourceFileName":"../src/api.ts","qualifiedName":"dos"},"58":{"sourceFileName":"../src/api.ts","qualifiedName":"order"},"59":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.fromDosageToText"},"60":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.fromDosageToText"},"61":{"sourceFileName":"../src/api.ts","qualifiedName":"dos"},"62":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.fromMultipleDosageToText"},"63":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.fromMultipleDosageToText"},"64":{"sourceFileName":"../src/api.ts","qualifiedName":"dosages"},"70":{"sourceFileName":"../src/classes/Configurator.ts","qualifiedName":"Configurator.changeLanguage"},"71":{"sourceFileName":"../src/classes/Configurator.ts","qualifiedName":"Configurator.changeLanguage"},"72":{"sourceFileName":"../src/classes/Configurator.ts","qualifiedName":"lng"},"73":{"sourceFileName":"../src/classes/Configurator.ts","qualifiedName":"Configurator.getLanguage"},"74":{"sourceFileName":"../src/classes/Configurator.ts","qualifiedName":"Configurator.getLanguage"},"75":{"sourceFileName":"../src/classes/Configurator.ts","qualifiedName":"Configurator.changeDisplayOrder"},"76":{"sourceFileName":"../src/classes/Configurator.ts","qualifiedName":"Configurator.changeDisplayOrder"},"77":{"sourceFileName":"../src/classes/Configurator.ts","qualifiedName":"order"},"78":{"sourceFileName":"../src/classes/Configurator.ts","qualifiedName":"Configurator.getDisplayOrder"},"79":{"sourceFileName":"../src/classes/Configurator.ts","qualifiedName":"Configurator.getDisplayOrder"},"80":{"sourceFileName":"../src/classes/Configurator.ts","qualifiedName":"Configurator.getDisplaySeparator"},"81":{"sourceFileName":"../src/classes/Configurator.ts","qualifiedName":"Configurator.getDisplaySeparator"},"82":{"sourceFileName":"../src/classes/Configurator.ts","qualifiedName":"Configurator.changeDisplaySeparator"},"83":{"sourceFileName":"../src/classes/Configurator.ts","qualifiedName":"Configurator.changeDisplaySeparator"},"84":{"sourceFileName":"../src/classes/Configurator.ts","qualifiedName":"sep"},"85":{"sourceFileName":"../src/classes/Configurator.ts","qualifiedName":"Configurator.getDateTimeFormatOptions"},"86":{"sourceFileName":"../src/classes/Configurator.ts","qualifiedName":"Configurator.getDateTimeFormatOptions"},"87":{"sourceFileName":"../src/classes/Configurator.ts","qualifiedName":"Configurator.changeDateTimeFormatOptions"},"88":{"sourceFileName":"../src/classes/Configurator.ts","qualifiedName":"Configurator.changeDateTimeFormatOptions"},"89":{"sourceFileName":"../src/classes/Configurator.ts","qualifiedName":"opts"}},"permalink":"/fhir-dosage-utils/api"},"urlSlug":"."}],"packageName":"fhir-dosage-utils","packageVersion":"0.0.0-development"}]')}}]); \ No newline at end of file diff --git a/assets/js/1cae87f6.7cbcf97e.js b/assets/js/1cae87f6.7cbcf97e.js deleted file mode 100644 index cc842c3b..00000000 --- a/assets/js/1cae87f6.7cbcf97e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[554],{8417:e=>{e.exports=JSON.parse('[{"entryPoints":[{"index":true,"label":"Index","reflection":{"id":0,"name":"fhir-dosage-utils","variant":"project","kind":1,"flags":{},"children":[{"id":9,"name":"DisplayOrderEnum","variant":"declaration","kind":8,"flags":{},"comment":{"summary":[{"kind":"text","text":"Represents the available display orders"}]},"children":[{"id":35,"name":"additionalInstruction","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"additionalInstruction\\""}]},"sources":[{"fileName":"types.ts","line":173,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L173"}],"type":{"type":"literal","value":"additionalInstruction"}},{"id":25,"name":"asNeeded","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"asNeededBoolean\\" / \\"asNeededCodeableConcept\\" / \\"asNeeded\\" / \\"asNeededFor\\""}]},"sources":[{"fileName":"types.ts","line":133,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L133"}],"type":{"type":"literal","value":"asNeeded"}},{"id":26,"name":"boundsDuration","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"timing.repeat.boundsDuration\\""}]},"sources":[{"fileName":"types.ts","line":137,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L137"}],"type":{"type":"literal","value":"boundsDuration"}},{"id":27,"name":"boundsPeriod","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"timing.repeat.boundsPeriod\\""}]},"sources":[{"fileName":"types.ts","line":141,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L141"}],"type":{"type":"literal","value":"boundsPeriod"}},{"id":28,"name":"boundsRange","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"timing.repeat.boundsRange\\""}]},"sources":[{"fileName":"types.ts","line":145,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L145"}],"type":{"type":"literal","value":"boundsRange"}},{"id":31,"name":"code","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"timing.code\\""}]},"sources":[{"fileName":"types.ts","line":157,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L157"}],"type":{"type":"literal","value":"code"}},{"id":29,"name":"countCountMax","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"timing.repeat.count\\" / \\"timing.repeat.countMax\\""}]},"sources":[{"fileName":"types.ts","line":149,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L149"}],"type":{"type":"literal","value":"countCountMax"}},{"id":21,"name":"dayOfWeek","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"timing.repeat.dayOfWeek\\""}]},"sources":[{"fileName":"types.ts","line":117,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L117"}],"type":{"type":"literal","value":"dayOfWeek"}},{"id":11,"name":"doseQuantity","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"doseAndRate.doseQuantity\\""}]},"sources":[{"fileName":"types.ts","line":77,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L77"}],"type":{"type":"literal","value":"doseQuantity"}},{"id":12,"name":"doseRange","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"doseAndRate.doseRange\\""}]},"sources":[{"fileName":"types.ts","line":81,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L81"}],"type":{"type":"literal","value":"doseRange"}},{"id":16,"name":"durationDurationMax","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"timing.repeat.duration\\" / \\"timing.repeat.durationMax\\""}]},"sources":[{"fileName":"types.ts","line":97,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L97"}],"type":{"type":"literal","value":"durationDurationMax"}},{"id":30,"name":"event","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"timing.event\\""}]},"sources":[{"fileName":"types.ts","line":153,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L153"}],"type":{"type":"literal","value":"event"}},{"id":38,"name":"extension","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"extension\\""}]},"sources":[{"fileName":"types.ts","line":185,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L185"}],"type":{"type":"literal","value":"extension"}},{"id":17,"name":"frequencyFrequencyMax","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"timing.repeat.frequency\\" / \\"timing.repeat.frequencyMax\\""}]},"sources":[{"fileName":"types.ts","line":101,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L101"}],"type":{"type":"literal","value":"frequencyFrequencyMax"}},{"id":19,"name":"frequencyFrequencyMaxPeriodPeriodMax","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"timing.repeat.frequency\\" / \\"timing.repeat.frequencyMax\\" / \\"timing.repeat.period\\" / \\"timing.repeat.periodMax\\""}]},"sources":[{"fileName":"types.ts","line":109,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L109"}],"type":{"type":"literal","value":"frequencyFrequencyMaxPeriodPeriodMax"}},{"id":33,"name":"maxDosePerAdministration","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"maxDosePerAdministration\\""}]},"sources":[{"fileName":"types.ts","line":165,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L165"}],"type":{"type":"literal","value":"maxDosePerAdministration"}},{"id":34,"name":"maxDosePerLifetime","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"maxDosePerLifetime\\""}]},"sources":[{"fileName":"types.ts","line":169,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L169"}],"type":{"type":"literal","value":"maxDosePerLifetime"}},{"id":32,"name":"maxDosePerPeriod","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"maxDosePerPeriod\\""}]},"sources":[{"fileName":"types.ts","line":161,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L161"}],"type":{"type":"literal","value":"maxDosePerPeriod"}},{"id":10,"name":"method","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"method\\""}]},"sources":[{"fileName":"types.ts","line":73,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L73"}],"type":{"type":"literal","value":"method"}},{"id":20,"name":"offsetWhen","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"timing.repeat.offset\\" / \\"timing.repeat.when\\""}]},"sources":[{"fileName":"types.ts","line":113,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L113"}],"type":{"type":"literal","value":"offsetWhen"}},{"id":36,"name":"patientInstruction","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"patientInstruction\\""}]},"sources":[{"fileName":"types.ts","line":177,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L177"}],"type":{"type":"literal","value":"patientInstruction"}},{"id":18,"name":"periodPeriodMax","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"timing.repeat.period\\" / \\"timing.repeat.periodMax\\""}]},"sources":[{"fileName":"types.ts","line":105,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L105"}],"type":{"type":"literal","value":"periodPeriodMax"}},{"id":14,"name":"rateQuantity","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"doseAndRate.rateQuantity\\""}]},"sources":[{"fileName":"types.ts","line":89,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L89"}],"type":{"type":"literal","value":"rateQuantity"}},{"id":15,"name":"rateRange","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"doseAndRate.rateRange\\""}]},"sources":[{"fileName":"types.ts","line":93,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L93"}],"type":{"type":"literal","value":"rateRange"}},{"id":13,"name":"rateRatio","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"doseAndRate.rateRatio\\""}]},"sources":[{"fileName":"types.ts","line":85,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L85"}],"type":{"type":"literal","value":"rateRatio"}},{"id":23,"name":"route","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"route\\""}]},"sources":[{"fileName":"types.ts","line":125,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L125"}],"type":{"type":"literal","value":"route"}},{"id":24,"name":"site","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"site\\""}]},"sources":[{"fileName":"types.ts","line":129,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L129"}],"type":{"type":"literal","value":"site"}},{"id":37,"name":"text","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"text\\""}]},"sources":[{"fileName":"types.ts","line":181,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L181"}],"type":{"type":"literal","value":"text"}},{"id":22,"name":"timeOfDay","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Display \\"timing.repeat.timeOfDay\\""}]},"sources":[{"fileName":"types.ts","line":121,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L121"}],"type":{"type":"literal","value":"timeOfDay"}}],"groups":[{"title":"Enumeration Members","children":[35,25,26,27,28,31,29,21,11,12,16,30,38,17,19,33,34,32,10,20,36,18,14,15,13,23,24,37,22]}],"sources":[{"fileName":"types.ts","line":69,"character":12,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L69"}],"permalink":"/fhir-dosage-utils/api/enum/DisplayOrderEnum","previousId":39,"nextId":1},{"id":39,"name":"default","variant":"declaration","kind":128,"flags":{},"children":[{"id":46,"name":"config","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"api.ts","line":25,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L25"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Required"},"typeArguments":[{"type":"reference","target":1,"name":"Params","package":"fhir-dosage-utils"}],"name":"Required","package":"typescript"}},{"id":67,"name":"changeDateTimeFormatOptions","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"api.ts","line":136,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L136"}],"signatures":[{"id":68,"name":"changeDateTimeFormatOptions","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Set date time format options"}]},"sources":[{"fileName":"api.ts","line":136,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L136"}],"parameters":[{"id":69,"name":"opts","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Intl.DateTimeFormatOptions"},"name":"DateTimeFormatOptions","package":"typescript","qualifiedName":"Intl.DateTimeFormatOptions"}}],"type":{"type":"intrinsic","name":"void"}}]},{"id":55,"name":"changeDisplayOrder","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"api.ts","line":95,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L95"}],"signatures":[{"id":56,"name":"changeDisplayOrder","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"To change display order"}]},"sources":[{"fileName":"api.ts","line":95,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L95"}],"parameters":[{"id":57,"name":"order","variant":"param","kind":32768,"flags":{},"type":{"type":"array","elementType":{"type":"union","types":[{"type":"literal","value":"method"},{"type":"literal","value":"doseQuantity"},{"type":"literal","value":"doseRange"},{"type":"literal","value":"rateRatio"},{"type":"literal","value":"rateQuantity"},{"type":"literal","value":"rateRange"},{"type":"literal","value":"durationDurationMax"},{"type":"literal","value":"frequencyFrequencyMax"},{"type":"literal","value":"periodPeriodMax"},{"type":"literal","value":"frequencyFrequencyMaxPeriodPeriodMax"},{"type":"literal","value":"offsetWhen"},{"type":"literal","value":"dayOfWeek"},{"type":"literal","value":"timeOfDay"},{"type":"literal","value":"route"},{"type":"literal","value":"site"},{"type":"literal","value":"asNeeded"},{"type":"literal","value":"boundsDuration"},{"type":"literal","value":"boundsPeriod"},{"type":"literal","value":"boundsRange"},{"type":"literal","value":"countCountMax"},{"type":"literal","value":"event"},{"type":"literal","value":"code"},{"type":"literal","value":"maxDosePerPeriod"},{"type":"literal","value":"maxDosePerAdministration"},{"type":"literal","value":"maxDosePerLifetime"},{"type":"literal","value":"additionalInstruction"},{"type":"literal","value":"patientInstruction"},{"type":"literal","value":"text"},{"type":"literal","value":"extension"}]}}}],"type":{"type":"intrinsic","name":"void"}}]},{"id":62,"name":"changeDisplaySeparator","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"api.ts","line":119,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L119"}],"signatures":[{"id":63,"name":"changeDisplaySeparator","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Set display separator"}]},"sources":[{"fileName":"api.ts","line":119,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L119"}],"parameters":[{"id":64,"name":"sep","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"intrinsic","name":"void"}}]},{"id":50,"name":"changeLanguage","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"api.ts","line":77,"character":8,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L77"}],"signatures":[{"id":51,"name":"changeLanguage","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"To change language"}]},"sources":[{"fileName":"api.ts","line":77,"character":8,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L77"}],"parameters":[{"id":52,"name":"lng","variant":"param","kind":32768,"flags":{},"type":{"type":"union","types":[{"type":"literal","value":"en"},{"type":"literal","value":"fr"},{"type":"literal","value":"nl"},{"type":"literal","value":"de"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":{"sourceFileName":"../node_modules/i18next/typescript/t.d.ts","qualifiedName":"TFunction"},"typeArguments":[{"type":"literal","value":"common"},{"type":"intrinsic","name":"undefined"}],"name":"TFunction","package":"i18next"}],"name":"Promise","package":"typescript"}}]},{"id":77,"name":"containsOnlySequentialInstructions","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"api.ts","line":176,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L176"}],"signatures":[{"id":78,"name":"containsOnlySequentialInstructions","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Does this array of Dosage objects contains only \\"sequential\\" instructions ?"}]},"sources":[{"fileName":"api.ts","line":176,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L176"}],"parameters":[{"id":79,"name":"dosages","variant":"param","kind":32768,"flags":{},"type":{"type":"array","elementType":{"type":"reference","target":{"sourceFileName":"../src/types.ts","qualifiedName":"Dosage"},"name":"Dosage","package":"fhir-dosage-utils"}}}],"type":{"type":"intrinsic","name":"boolean"}}]},{"id":74,"name":"fromDosageToText","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"api.ts","line":167,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L167"}],"signatures":[{"id":75,"name":"fromDosageToText","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Turn a FHIR Dosage object into text"}]},"sources":[{"fileName":"api.ts","line":167,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L167"}],"parameters":[{"id":76,"name":"dos","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":{"sourceFileName":"../src/types.ts","qualifiedName":"Dosage"},"name":"Dosage","package":"fhir-dosage-utils"}}],"type":{"type":"intrinsic","name":"string"}}]},{"id":83,"name":"fromMultipleDosageToText","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"api.ts","line":234,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L234"}],"signatures":[{"id":84,"name":"fromMultipleDosageToText","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Turn multiple FHIR Dosage objects into text"}]},"sources":[{"fileName":"api.ts","line":234,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L234"}],"parameters":[{"id":85,"name":"dosages","variant":"param","kind":32768,"flags":{},"type":{"type":"array","elementType":{"type":"reference","target":{"sourceFileName":"../src/types.ts","qualifiedName":"Dosage"},"name":"Dosage","package":"fhir-dosage-utils"}}}],"type":{"type":"intrinsic","name":"string"}}]},{"id":65,"name":"getDateTimeFormatOptions","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"api.ts","line":129,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L129"}],"signatures":[{"id":66,"name":"getDateTimeFormatOptions","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Get date time format options"}]},"sources":[{"fileName":"api.ts","line":129,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L129"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Intl.DateTimeFormatOptions"},"name":"DateTimeFormatOptions","package":"typescript","qualifiedName":"Intl.DateTimeFormatOptions"}}]},{"id":58,"name":"getDisplayOrder","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"api.ts","line":105,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L105"}],"signatures":[{"id":59,"name":"getDisplayOrder","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Get display order"}]},"sources":[{"fileName":"api.ts","line":105,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L105"}],"type":{"type":"array","elementType":{"type":"union","types":[{"type":"literal","value":"method"},{"type":"literal","value":"doseQuantity"},{"type":"literal","value":"doseRange"},{"type":"literal","value":"rateRatio"},{"type":"literal","value":"rateQuantity"},{"type":"literal","value":"rateRange"},{"type":"literal","value":"durationDurationMax"},{"type":"literal","value":"frequencyFrequencyMax"},{"type":"literal","value":"periodPeriodMax"},{"type":"literal","value":"frequencyFrequencyMaxPeriodPeriodMax"},{"type":"literal","value":"offsetWhen"},{"type":"literal","value":"dayOfWeek"},{"type":"literal","value":"timeOfDay"},{"type":"literal","value":"route"},{"type":"literal","value":"site"},{"type":"literal","value":"asNeeded"},{"type":"literal","value":"boundsDuration"},{"type":"literal","value":"boundsPeriod"},{"type":"literal","value":"boundsRange"},{"type":"literal","value":"countCountMax"},{"type":"literal","value":"event"},{"type":"literal","value":"code"},{"type":"literal","value":"maxDosePerPeriod"},{"type":"literal","value":"maxDosePerAdministration"},{"type":"literal","value":"maxDosePerLifetime"},{"type":"literal","value":"additionalInstruction"},{"type":"literal","value":"patientInstruction"},{"type":"literal","value":"text"},{"type":"literal","value":"extension"}]}}}]},{"id":60,"name":"getDisplaySeparator","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"api.ts","line":112,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L112"}],"signatures":[{"id":61,"name":"getDisplaySeparator","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Get display separator"}]},"sources":[{"fileName":"api.ts","line":112,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L112"}],"type":{"type":"intrinsic","name":"string"}}]},{"id":70,"name":"getFields","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"api.ts","line":147,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L147"}],"signatures":[{"id":71,"name":"getFields","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"From a single dosage, extract specific field(s) requested by user.\\nSome use cases could request to split part of the object for given needs (quantity and timing separately)"}]},"sources":[{"fileName":"api.ts","line":147,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L147"}],"parameters":[{"id":72,"name":"dos","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":{"sourceFileName":"../src/types.ts","qualifiedName":"Dosage"},"name":"Dosage","package":"fhir-dosage-utils"}},{"id":73,"name":"order","variant":"param","kind":32768,"flags":{"isRest":true},"type":{"type":"array","elementType":{"type":"union","types":[{"type":"literal","value":"method"},{"type":"literal","value":"doseQuantity"},{"type":"literal","value":"doseRange"},{"type":"literal","value":"rateRatio"},{"type":"literal","value":"rateQuantity"},{"type":"literal","value":"rateRange"},{"type":"literal","value":"durationDurationMax"},{"type":"literal","value":"frequencyFrequencyMax"},{"type":"literal","value":"periodPeriodMax"},{"type":"literal","value":"frequencyFrequencyMaxPeriodPeriodMax"},{"type":"literal","value":"offsetWhen"},{"type":"literal","value":"dayOfWeek"},{"type":"literal","value":"timeOfDay"},{"type":"literal","value":"route"},{"type":"literal","value":"site"},{"type":"literal","value":"asNeeded"},{"type":"literal","value":"boundsDuration"},{"type":"literal","value":"boundsPeriod"},{"type":"literal","value":"boundsRange"},{"type":"literal","value":"countCountMax"},{"type":"literal","value":"event"},{"type":"literal","value":"code"},{"type":"literal","value":"maxDosePerPeriod"},{"type":"literal","value":"maxDosePerAdministration"},{"type":"literal","value":"maxDosePerLifetime"},{"type":"literal","value":"additionalInstruction"},{"type":"literal","value":"patientInstruction"},{"type":"literal","value":"text"},{"type":"literal","value":"extension"}]}}}],"type":{"type":"intrinsic","name":"string"}}]},{"id":53,"name":"getLanguage","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"api.ts","line":88,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L88"}],"signatures":[{"id":54,"name":"getLanguage","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Get current language"}]},"sources":[{"fileName":"api.ts","line":88,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L88"}],"type":{"type":"union","types":[{"type":"literal","value":"en"},{"type":"literal","value":"fr"},{"type":"literal","value":"nl"},{"type":"literal","value":"de"}]}}]},{"id":80,"name":"groupBySequence","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"api.ts","line":198,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L198"}],"signatures":[{"id":81,"name":"groupBySequence","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Turn this array of Dosage objects into a data structure useful to handle \\"sequential\\" and \\"concurrent\\" instructions (cf. \\"sequence\\" property)."}],"blockTags":[{"tag":"@returns","content":[{"kind":"text","text":"- A two-dimensional array where each inner array contains Dosage objects belonging to the same sequence numberr."}]}]},"sources":[{"fileName":"api.ts","line":198,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L198"}],"parameters":[{"id":82,"name":"dosages","variant":"param","kind":32768,"flags":{},"type":{"type":"array","elementType":{"type":"reference","target":{"sourceFileName":"../src/types.ts","qualifiedName":"Dosage"},"name":"Dosage","package":"fhir-dosage-utils"}}}],"type":{"type":"array","elementType":{"type":"array","elementType":{"type":"reference","target":{"sourceFileName":"../src/types.ts","qualifiedName":"Dosage"},"name":"Dosage","package":"fhir-dosage-utils"}}}}]},{"id":40,"name":"build","variant":"declaration","kind":2048,"flags":{"isStatic":true},"sources":[{"fileName":"api.ts","line":68,"character":15,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L68"}],"signatures":[{"id":41,"name":"build","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Factory to create a fine-tuned instance of the utility class"}]},"sources":[{"fileName":"api.ts","line":68,"character":15,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L68"}],"parameters":[{"id":42,"name":"args","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"reference","target":1,"name":"Params","package":"fhir-dosage-utils"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":39,"name":"FhirDosageUtils","package":"fhir-dosage-utils"}],"name":"Promise","package":"typescript"}}]}],"groups":[{"title":"Properties","children":[46]},{"title":"Methods","children":[67,55,62,50,77,74,83,65,58,60,70,53,80,40]}],"sources":[{"fileName":"api.ts","line":23,"character":13,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/api.ts#L23"}],"permalink":"/fhir-dosage-utils/api/class/default","nextId":9},{"id":1,"name":"Params","variant":"declaration","kind":256,"flags":{},"children":[{"id":8,"name":"dateTimeFormatOptions","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"To control the formatting of dateTime objects.\\nIf not provided, will use the defaults according locale e.g. \\"20/01/2024\\""}],"blockTags":[{"tag":"@defaultValue","content":[{"kind":"code","text":"```ts\\n{}\\n```"}]},{"tag":"@see","content":[{"kind":"text","text":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat#options"}]}]},"sources":[{"fileName":"types.ts","line":242,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L242"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Intl.DateTimeFormatOptions"},"name":"DateTimeFormatOptions","package":"typescript","qualifiedName":"Intl.DateTimeFormatOptions"}},{"id":6,"name":"displayOrder","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Control the display order used by the algorithm\\nUseful when you want to turn on / off some specific rules for some reason"}],"blockTags":[{"tag":"@defaultValue","content":[{"kind":"code","text":"```ts\\n[\\"method\\", \\"doseQuantity\\", \\"doseRange\\", \\"rateRatio\\", \\"rateQuantity\\", \\"rateRange\\", \\"durationDurationMax\\", \\"frequencyFrequencyMaxPeriodPeriodMax\\", \\"offsetWhen\\", \\"dayOfWeek\\", \\"timeOfDay\\", \\"route\\", \\"site\\", \\"asNeeded\\", \\"boundsDuration\\", \\"boundsPeriod\\", \\"boundsRange\\", \\"countCountMax\\", \\"event\\", \\"code\\", \\"maxDosePerPeriod\\", \\"maxDosePerAdministration\\", \\"maxDosePerLifetime\\", \\"additionalInstruction\\", \\"patientInstruction\\"]\\n```"}]},{"tag":"@see","content":[{"kind":"text","text":"[DisplayOrderEnum](../enum/DisplayOrderEnum) for more info"}]}]},"sources":[{"fileName":"types.ts","line":230,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L230"}],"type":{"type":"array","elementType":{"type":"union","types":[{"type":"literal","value":"method"},{"type":"literal","value":"doseQuantity"},{"type":"literal","value":"doseRange"},{"type":"literal","value":"rateRatio"},{"type":"literal","value":"rateQuantity"},{"type":"literal","value":"rateRange"},{"type":"literal","value":"durationDurationMax"},{"type":"literal","value":"frequencyFrequencyMax"},{"type":"literal","value":"periodPeriodMax"},{"type":"literal","value":"frequencyFrequencyMaxPeriodPeriodMax"},{"type":"literal","value":"offsetWhen"},{"type":"literal","value":"dayOfWeek"},{"type":"literal","value":"timeOfDay"},{"type":"literal","value":"route"},{"type":"literal","value":"site"},{"type":"literal","value":"asNeeded"},{"type":"literal","value":"boundsDuration"},{"type":"literal","value":"boundsPeriod"},{"type":"literal","value":"boundsRange"},{"type":"literal","value":"countCountMax"},{"type":"literal","value":"event"},{"type":"literal","value":"code"},{"type":"literal","value":"maxDosePerPeriod"},{"type":"literal","value":"maxDosePerAdministration"},{"type":"literal","value":"maxDosePerLifetime"},{"type":"literal","value":"additionalInstruction"},{"type":"literal","value":"patientInstruction"},{"type":"literal","value":"text"},{"type":"literal","value":"extension"}]}}},{"id":7,"name":"displaySeparator","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Override separator between each part of \\"Dosage\\""}],"blockTags":[{"tag":"@defaultValue","content":[{"kind":"code","text":"```ts\\n\\" - \\"\\n```"}]}]},"sources":[{"fileName":"types.ts","line":235,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L235"}],"type":{"type":"intrinsic","name":"string"}},{"id":4,"name":"fromCodeableConceptToString","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Function to turn a codeable concept (e.g SNOMED CT \\"311504000\\") into a string for humans (e.g \\"With or after food\\")\\nThe choice to handle extension, local valueset, ... is thus under the hands of people ;)"}],"blockTags":[{"tag":"@see","content":[{"kind":"text","text":" - "},{"kind":"text","text":"[defaultFromCodeableConceptToString](https://github.com/jy95/fhir-dosage-utils/blob/main/src/utils/fromCodeableConceptToString.ts) for default implementation"},{"kind":"text","text":"\\n"},{"kind":"text","text":" - "},{"kind":"text","text":"[FHIR definition of CodeableConcept](https://build.fhir.org/datatypes.html#CodeableConcept) for more info about the type itself"},{"kind":"text","text":"\\n"}]}]},"sources":[{"fileName":"types.ts","line":216,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L216"}],"type":{"type":"reference","target":{"sourceFileName":"../src/utils/fromCodeableConceptToString.ts","qualifiedName":"FromCodeableConceptToStringFct"},"name":"FromCodeableConceptToStringFct","package":"fhir-dosage-utils"}},{"id":5,"name":"fromExtensionsToString","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Function to turn extension(s) into a string for humans.\\nThe choice to handle national extensions, ... is thus under the hands of people ;)"}],"blockTags":[{"tag":"@see","content":[{"kind":"text","text":" - "},{"kind":"text","text":"[defaultFromExtensionsToString](https://github.com/jy95/fhir-dosage-utils/blob/main/src/utils/fromExtensionsToString.ts) for default implementation"},{"kind":"text","text":"\\n"},{"kind":"text","text":" - "},{"kind":"text","text":"[FHIR definition of Extension](https://build.fhir.org/extensibility.html#Extension) for more info about the type itself"},{"kind":"text","text":"\\n"}]}]},"sources":[{"fileName":"types.ts","line":223,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L223"}],"type":{"type":"reference","target":{"sourceFileName":"../src/utils/fromExtensionsToString.ts","qualifiedName":"FromExtensionsToStringFct"},"name":"FromExtensionsToStringFct","package":"fhir-dosage-utils"}},{"id":3,"name":"fromFHIRQuantityUnitToString","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Function to turn a quantity unit (e.g UCUM \\"ml\\") into a string for humans (e.g \\"militier\\")\\nThe choice to handle plural form or not is thus under the hands of people ;)"}],"blockTags":[{"tag":"@see","content":[{"kind":"text","text":" - "},{"kind":"text","text":"[defaultFromFHIRQuantityUnitToString](https://github.com/jy95/fhir-dosage-utils/blob/main/src/utils/fromFHIRQuantityUnitToString.ts) for default implementation"},{"kind":"text","text":"\\n"},{"kind":"text","text":" - "},{"kind":"text","text":"[FHIR definition of Quantity](https://build.fhir.org/datatypes.html#Quantity) for more info about the type itself"},{"kind":"text","text":"\\n"}]}]},"sources":[{"fileName":"types.ts","line":209,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L209"}],"type":{"type":"reference","target":{"sourceFileName":"../src/utils/fromFHIRQuantityUnitToString.ts","qualifiedName":"FromFHIRQuantityUnitToStringFct"},"name":"FromFHIRQuantityUnitToStringFct","package":"fhir-dosage-utils"}},{"id":2,"name":"language","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"To set up the language"}],"blockTags":[{"tag":"@defaultValue","content":[{"kind":"code","text":"```ts\\n\\"en\\" (English)\\n```"}]}]},"sources":[{"fileName":"types.ts","line":202,"character":2,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L202"}],"type":{"type":"union","types":[{"type":"literal","value":"en"},{"type":"literal","value":"fr"},{"type":"literal","value":"nl"},{"type":"literal","value":"de"}]}}],"groups":[{"title":"Properties","children":[8,6,7,4,5,3,2]}],"sources":[{"fileName":"types.ts","line":197,"character":17,"url":"https://github.com/jy95/fhir-dosage-utils/blob/master/src/types.ts#L197"}],"permalink":"/fhir-dosage-utils/api/interface/Params","previousId":9}],"groups":[{"title":"Classes","children":[39]},{"title":"Enumerations","children":[9]},{"title":"Interfaces","children":[1]}],"packageName":"fhir-dosage-utils","packageVersion":"0.0.0-development","readme":[{"kind":"text","text":"

FHIR Dosage to text

\\n\\n
\\n\\nTurn [FHIR Dosage](https://build.fhir.org/dosage.html) into human readable text in your wanted language (english, french, dutch, german, ...) and much more\\n\\n[![License: AGPL v3](https://img.shields.io/badge/License-AGPL_v3-blue.svg)](https://github.com/jy95/fhir-dosage-utils/blob/main/LICENSE) ![npm latest package](https://img.shields.io/npm/v/fhir-dosage-utils/latest.svg) ![npm downloads](https://img.shields.io/npm/dm/fhir-dosage-utils.svg) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/9c444b5c17fe497cb21d052b0a7ab4e6)](https://app.codacy.com/gh/jy95/fhir-dosage-utils/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade) [![Codacy Badge](https://app.codacy.com/project/badge/Coverage/9c444b5c17fe497cb21d052b0a7ab4e6)](https://app.codacy.com/gh/jy95/fhir-dosage-utils/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_coverage) [![prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
\\"Buy \\"Deploys \\n
\\n\\n
\\n\\n---\\n\\n## Overview\\n\\nKey Features:\\n\\n- **Compatible:** Works with [Dosage R4](https://hl7.org/fhir/R4/dosage.html) and [Dosage R5](https://hl7.org/fhir/R5/dosage.html)\\n- **Extensibility** Easily adaptable and extendable to accommodate your requirements\\n- **Internationalization** Seamlessly extendable to other languages with "},{"kind":"code","text":"`i18next`"},{"kind":"text","text":"\\n- **Integration Ease** Works effortlessly in various environments like the browser, Node.js, ...\\n\\nRead more on : https://jy95.github.io/fhir-dosage-utils/\\n\\n## Credits\\n\\nSpecial thanks to [NHS England](https://digital.nhs.uk/), the author of "},{"kind":"code","text":"`Implementation guide for interoperable medicines`"},{"kind":"text","text":" documents ( [Dose to text translations](https://simplifier.net/guide/ukcoreimplementationguideformedicines/dosetotexttranslation?version=current) / [Dosage explanations](https://simplifier.net/guide/ukcoreimplementationguideformedicines/elementdosage?version=current) ), which this project took some inspirations as a starting base.\\n\\n## Contributors\\n\\n\\n \\n"}],"symbolIdMap":{"0":{"sourceFileName":"../src/index.ts","qualifiedName":""},"1":{"sourceFileName":"../src/types.ts","qualifiedName":"Params"},"2":{"sourceFileName":"../src/types.ts","qualifiedName":"Params.language"},"3":{"sourceFileName":"../src/types.ts","qualifiedName":"Params.fromFHIRQuantityUnitToString"},"4":{"sourceFileName":"../src/types.ts","qualifiedName":"Params.fromCodeableConceptToString"},"5":{"sourceFileName":"../src/types.ts","qualifiedName":"Params.fromExtensionsToString"},"6":{"sourceFileName":"../src/types.ts","qualifiedName":"Params.displayOrder"},"7":{"sourceFileName":"../src/types.ts","qualifiedName":"Params.displaySeparator"},"8":{"sourceFileName":"../src/types.ts","qualifiedName":"Params.dateTimeFormatOptions"},"9":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum"},"10":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.method"},"11":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.doseQuantity"},"12":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.doseRange"},"13":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.rateRatio"},"14":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.rateQuantity"},"15":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.rateRange"},"16":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.durationDurationMax"},"17":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.frequencyFrequencyMax"},"18":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.periodPeriodMax"},"19":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.frequencyFrequencyMaxPeriodPeriodMax"},"20":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.offsetWhen"},"21":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.dayOfWeek"},"22":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.timeOfDay"},"23":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.route"},"24":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.site"},"25":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.asNeeded"},"26":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.boundsDuration"},"27":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.boundsPeriod"},"28":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.boundsRange"},"29":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.countCountMax"},"30":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.event"},"31":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.code"},"32":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.maxDosePerPeriod"},"33":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.maxDosePerAdministration"},"34":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.maxDosePerLifetime"},"35":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.additionalInstruction"},"36":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.patientInstruction"},"37":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.text"},"38":{"sourceFileName":"../src/types.ts","qualifiedName":"DisplayOrderEnum.extension"},"39":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils"},"40":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.build"},"41":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.build"},"42":{"sourceFileName":"../src/api.ts","qualifiedName":"args"},"46":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.config"},"50":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.changeLanguage"},"51":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.changeLanguage"},"52":{"sourceFileName":"../src/api.ts","qualifiedName":"lng"},"53":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.getLanguage"},"54":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.getLanguage"},"55":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.changeDisplayOrder"},"56":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.changeDisplayOrder"},"57":{"sourceFileName":"../src/api.ts","qualifiedName":"order"},"58":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.getDisplayOrder"},"59":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.getDisplayOrder"},"60":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.getDisplaySeparator"},"61":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.getDisplaySeparator"},"62":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.changeDisplaySeparator"},"63":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.changeDisplaySeparator"},"64":{"sourceFileName":"../src/api.ts","qualifiedName":"sep"},"65":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.getDateTimeFormatOptions"},"66":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.getDateTimeFormatOptions"},"67":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.changeDateTimeFormatOptions"},"68":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.changeDateTimeFormatOptions"},"69":{"sourceFileName":"../src/api.ts","qualifiedName":"opts"},"70":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.getFields"},"71":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.getFields"},"72":{"sourceFileName":"../src/api.ts","qualifiedName":"dos"},"73":{"sourceFileName":"../src/api.ts","qualifiedName":"order"},"74":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.fromDosageToText"},"75":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.fromDosageToText"},"76":{"sourceFileName":"../src/api.ts","qualifiedName":"dos"},"77":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.containsOnlySequentialInstructions"},"78":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.containsOnlySequentialInstructions"},"79":{"sourceFileName":"../src/api.ts","qualifiedName":"dosages"},"80":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.groupBySequence"},"81":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.groupBySequence"},"82":{"sourceFileName":"../src/api.ts","qualifiedName":"dosages"},"83":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.fromMultipleDosageToText"},"84":{"sourceFileName":"../src/api.ts","qualifiedName":"FhirDosageUtils.fromMultipleDosageToText"},"85":{"sourceFileName":"../src/api.ts","qualifiedName":"dosages"}},"permalink":"/fhir-dosage-utils/api"},"urlSlug":"."}],"packageName":"fhir-dosage-utils","packageVersion":"0.0.0-development"}]')}}]); \ No newline at end of file diff --git a/assets/js/1cd656ab.3e9feb11.js b/assets/js/1cd656ab.5e013c43.js similarity index 63% rename from assets/js/1cd656ab.3e9feb11.js rename to assets/js/1cd656ab.5e013c43.js index 0f16e53a..a34ad752 100644 --- a/assets/js/1cd656ab.3e9feb11.js +++ b/assets/js/1cd656ab.5e013c43.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4697],{1553:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>f,contentTitle:()=>u,default:()=>x,frontMatter:()=>d,metadata:()=>p,toc:()=>g});var n=s(4848),i=s(8453),a=s(1812);const r=JSON.parse('{"site":{"coding":[{"system":"http://hl7.org/fhir/ValueSet/approach-site-codes","code":"1910005","display":"Entire ear"}]}}');var o=s(4865),c=s(9365),l=s(816);const d={description:"site",title:"\ud83d\udccd site"},u=void 0,p={id:"specs/site/site",title:"\ud83d\udccd site",description:"site",source:"@site/docs/specs/site/site.mdx",sourceDirName:"specs/site",slug:"/specs/site/",permalink:"/fhir-dosage-utils/docs/specs/site/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/site/site.mdx",tags:[],version:"current",frontMatter:{description:"site",title:"\ud83d\udccd site"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udccd site",permalink:"/fhir-dosage-utils/docs/category/-site"},next:{title:"\ud83d\udcdd text",permalink:"/fhir-dosage-utils/docs/category/-text"}},f={},g=[];function h(e){const t={a:"a",admonition:"admonition",p:"p",...(0,i.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(o.A,{children:[(0,n.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(l.A,{dosage:r})}),(0,n.jsx)(c.A,{value:"json",label:"Dosage",children:(0,n.jsx)(a.default,{language:"json",children:JSON.stringify(r,null,2)})})]}),"\n",(0,n.jsx)(t.admonition,{type:"tip",children:(0,n.jsxs)(t.p,{children:["Don't forget you can use ",(0,n.jsx)(t.a,{href:"/api/interface/Params",children:"fromCodeableConceptToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(h,{...e})}):h(e)}},816:(e,t,s)=>{s.d(t,{A:()=>o});var n=s(6540),i=s(6300),a=s(1812),r=s(4848);function o(e){let{dosage:t,config:s}=e;const[o,c]=(0,n.useState)(""),[l,d]=(0,n.useState)(s?.language||"en"),[u,p]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await i.A.build(s);p(e)}()}),[s]),(0,n.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(t);c(e)}}()}),[t,u]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:l,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(l);const e=u.fromDosageToText(t);c(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(a.default,{language:"markup",children:(f=o,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var f}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4697],{1553:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>f,contentTitle:()=>u,default:()=>x,frontMatter:()=>d,metadata:()=>p,toc:()=>g});var n=s(4848),i=s(8453),a=s(1812);const r=JSON.parse('{"site":{"coding":[{"system":"http://hl7.org/fhir/ValueSet/approach-site-codes","code":"1910005","display":"Entire ear"}]}}');var o=s(4865),c=s(9365),l=s(816);const d={description:"site",title:"\ud83d\udccd site"},u=void 0,p={id:"specs/site/site",title:"\ud83d\udccd site",description:"site",source:"@site/docs/specs/site/site.mdx",sourceDirName:"specs/site",slug:"/specs/site/",permalink:"/fhir-dosage-utils/docs/specs/site/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/site/site.mdx",tags:[],version:"current",frontMatter:{description:"site",title:"\ud83d\udccd site"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udccd site",permalink:"/fhir-dosage-utils/docs/category/-site"},next:{title:"\ud83d\udcdd text",permalink:"/fhir-dosage-utils/docs/category/-text"}},f={},g=[];function h(e){const t={a:"a",admonition:"admonition",p:"p",...(0,i.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(o.A,{children:[(0,n.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(l.A,{dosage:r})}),(0,n.jsx)(c.A,{value:"json",label:"Dosage",children:(0,n.jsx)(a.default,{language:"json",children:JSON.stringify(r,null,2)})})]}),"\n",(0,n.jsx)(t.admonition,{type:"tip",children:(0,n.jsxs)(t.p,{children:["Don't forget you can use ",(0,n.jsx)(t.a,{href:"/api/interface/Params",children:"fromCodeableConceptToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(h,{...e})}):h(e)}},816:(e,t,s)=>{s.d(t,{A:()=>o});var n=s(6540),i=s(6300),a=s(1812),r=s(4848);function o(e){let{dosage:t,config:s,i18nConfig:o}=e;const[c,l]=(0,n.useState)(""),[d,u]=(0,n.useState)(s?.language||"en"),[p,f]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await i.A.build(s,o);f(e)}()}),[s]),(0,n.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(t);l(e)}}()}),[t,p]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:d,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(p){await p.changeLanguage(d);const e=p.fromDosageToText(t);l(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(a.default,{language:"markup",children:(g=c,g.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/1f927e7e.4d78595f.js b/assets/js/1f927e7e.cded6b75.js similarity index 60% rename from assets/js/1f927e7e.4d78595f.js rename to assets/js/1f927e7e.cded6b75.js index 9d2e29c6..2917d423 100644 --- a/assets/js/1f927e7e.4d78595f.js +++ b/assets/js/1f927e7e.cded6b75.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4471],{6558:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>h,contentTitle:()=>d,default:()=>x,frontMatter:()=>l,metadata:()=>u,toc:()=>g});var s=n(4848),a=n(8453),o=n(1812);const i=JSON.parse('{"timing":{"repeat":{"offset":15,"when":["MORN"]}}}');var r=n(4865),c=n(9365),f=n(816);const l={description:"offset and when together",title:"\ud83d\udd52 offset and when"},d=void 0,u={id:"specs/offsetWhen/when_and_offset",title:"\ud83d\udd52 offset and when",description:"offset and when together",source:"@site/docs/specs/offsetWhen/when_and_offset.mdx",sourceDirName:"specs/offsetWhen",slug:"/specs/offsetWhen/when_and_offset",permalink:"/fhir-dosage-utils/docs/specs/offsetWhen/when_and_offset",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/offsetWhen/when_and_offset.mdx",tags:[],version:"current",frontMatter:{description:"offset and when together",title:"\ud83d\udd52 offset and when"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udd52 When (Single item)",permalink:"/fhir-dosage-utils/docs/specs/offsetWhen/when/single_item"},next:{title:"\ud83d\udccb patientInstruction",permalink:"/fhir-dosage-utils/docs/category/-patientinstruction"}},h={},g=[];function p(e){return(0,s.jsxs)(r.A,{children:[(0,s.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(f.A,{dosage:i})}),(0,s.jsx)(c.A,{value:"json",label:"Dosage",children:(0,s.jsx)(o.default,{language:"json",children:JSON.stringify(i,null,2)})})]})}function x(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(p,{...e})}):p()}},816:(e,t,n)=>{n.d(t,{A:()=>r});var s=n(6540),a=n(6300),o=n(1812),i=n(4848);function r(e){let{dosage:t,config:n}=e;const[r,c]=(0,s.useState)(""),[f,l]=(0,s.useState)(n?.language||"en"),[d,u]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await a.A.build(n);u(e)}()}),[n]),(0,s.useEffect)((()=>{!async function(){if(d){const e=d.fromDosageToText(t);c(e)}}()}),[t,d]);return(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{style:{display:"flex"},children:[(0,i.jsxs)("select",{value:f,onChange:e=>l(e.target.value),style:{marginRight:"10px"},children:[(0,i.jsx)("option",{value:"en",children:"English"}),(0,i.jsx)("option",{value:"fr",children:"French"}),(0,i.jsx)("option",{value:"nl",children:"Dutch"}),(0,i.jsx)("option",{value:"de",children:"German"})]}),(0,i.jsx)("button",{onClick:async()=>{if(d){await d.changeLanguage(f);const e=d.fromDosageToText(t);c(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(o.default,{language:"markup",children:(h=r,h.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var h}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4471],{6558:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>h,contentTitle:()=>d,default:()=>x,frontMatter:()=>l,metadata:()=>u,toc:()=>g});var s=n(4848),a=n(8453),o=n(1812);const i=JSON.parse('{"timing":{"repeat":{"offset":15,"when":["MORN"]}}}');var r=n(4865),c=n(9365),f=n(816);const l={description:"offset and when together",title:"\ud83d\udd52 offset and when"},d=void 0,u={id:"specs/offsetWhen/when_and_offset",title:"\ud83d\udd52 offset and when",description:"offset and when together",source:"@site/docs/specs/offsetWhen/when_and_offset.mdx",sourceDirName:"specs/offsetWhen",slug:"/specs/offsetWhen/when_and_offset",permalink:"/fhir-dosage-utils/docs/specs/offsetWhen/when_and_offset",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/offsetWhen/when_and_offset.mdx",tags:[],version:"current",frontMatter:{description:"offset and when together",title:"\ud83d\udd52 offset and when"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udd52 When (Single item)",permalink:"/fhir-dosage-utils/docs/specs/offsetWhen/when/single_item"},next:{title:"\ud83d\udccb patientInstruction",permalink:"/fhir-dosage-utils/docs/category/-patientinstruction"}},h={},g=[];function p(e){return(0,s.jsxs)(r.A,{children:[(0,s.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(f.A,{dosage:i})}),(0,s.jsx)(c.A,{value:"json",label:"Dosage",children:(0,s.jsx)(o.default,{language:"json",children:JSON.stringify(i,null,2)})})]})}function x(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(p,{...e})}):p()}},816:(e,t,n)=>{n.d(t,{A:()=>r});var s=n(6540),a=n(6300),o=n(1812),i=n(4848);function r(e){let{dosage:t,config:n,i18nConfig:r}=e;const[c,f]=(0,s.useState)(""),[l,d]=(0,s.useState)(n?.language||"en"),[u,h]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await a.A.build(n,r);h(e)}()}),[n]),(0,s.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(t);f(e)}}()}),[t,u]);return(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{style:{display:"flex"},children:[(0,i.jsxs)("select",{value:l,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,i.jsx)("option",{value:"en",children:"English"}),(0,i.jsx)("option",{value:"fr",children:"French"}),(0,i.jsx)("option",{value:"nl",children:"Dutch"}),(0,i.jsx)("option",{value:"de",children:"German"})]}),(0,i.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(l);const e=u.fromDosageToText(t);f(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(o.default,{language:"markup",children:(g=c,g.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/201e0385.d2b4a6a1.js b/assets/js/201e0385.f93e38ed.js similarity index 76% rename from assets/js/201e0385.d2b4a6a1.js rename to assets/js/201e0385.f93e38ed.js index 936fbbb9..d4d5096a 100644 --- a/assets/js/201e0385.d2b4a6a1.js +++ b/assets/js/201e0385.f93e38ed.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4081],{5368:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>f,frontMatter:()=>l,metadata:()=>m,toc:()=>g});var s=n(4848),i=n(8453),o=n(1812);const a=JSON.parse('[{"sequence":2,"text":"inject 10 units subcut 10 minutes before breakfast","timing":{"repeat":{"frequency":1,"period":1,"periodUnit":"d","when":["ACM"],"offset":10}},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":10,"unit":"U","system":"http://unitsofmeasure.org","code":"U"}}]},{"sequence":2,"text":"15 units before lunch","additionalInstruction":[{"text":"Before Lunch"}],"timing":{"repeat":{"frequency":1,"period":1,"periodUnit":"d"}},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":15,"unit":"U","system":"http://unitsofmeasure.org","code":"U"}}]},{"sequence":1,"text":"20 units before dinner","additionalInstruction":[{"text":"Before Dinner"}],"timing":{"repeat":{"frequency":1,"period":1,"periodUnit":"d"}},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":20,"unit":"U","system":"http://unitsofmeasure.org","code":"U"}}]}]');var r=n(4865),d=n(9365),u=n(8264);const l={description:"Request for Subcutaneous injection with multiple dosage lines - Insulin - Novolog - active - includes reasonCode and note. Dosage includes additionalInstructions as text",title:"medrx0321"},c=void 0,m={id:"examples/medicationrequest/medrx0321",title:"medrx0321",description:"Request for Subcutaneous injection with multiple dosage lines - Insulin - Novolog - active - includes reasonCode and note. Dosage includes additionalInstructions as text",source:"@site/docs/examples/medicationrequest/medrx0321.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx0321",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0321",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx0321.mdx",tags:[],version:"current",frontMatter:{description:"Request for Subcutaneous injection with multiple dosage lines - Insulin - Novolog - active - includes reasonCode and note. Dosage includes additionalInstructions as text",title:"medrx0321"},sidebar:"tutorialSidebar",previous:{title:"medrx0319",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0319"},next:{title:"medrx0331",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0331"}},p={},g=[];function x(e){const t={a:"a",admonition:"admonition",p:"p",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.admonition,{type:"info",children:(0,s.jsxs)(t.p,{children:["Source: ",(0,s.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequest0321.html",children:"HL7"}),' - "Request for Subcutaneous injection with multiple dosage lines - Insulin - Novolog - active - includes reasonCode and note. Dosage includes additionalInstructions as text"']})}),"\n",(0,s.jsxs)(r.A,{children:[(0,s.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(u.A,{dosages:a,config:{}})}),(0,s.jsx)(d.A,{value:"json",label:"Dosage",children:(0,s.jsx)(o.default,{language:"json",children:JSON.stringify(a,null,2)})})]})]})}function f(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(x,{...e})}):x(e)}},8264:(e,t,n)=>{n.d(t,{A:()=>r});var s=n(6540),i=n(6300),o=n(1812),a=n(4848);function r(e){let{dosages:t,config:n}=e;const[r,d]=(0,s.useState)(""),[u,l]=(0,s.useState)(n?.language||"en"),[c,m]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await i.A.build(n);m(e)}()}),[n]),(0,s.useEffect)((()=>{!async function(){if(c){const e=c.fromMultipleDosageToText(t);d(e)}}()}),[t,c]);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{style:{display:"flex"},children:[(0,a.jsxs)("select",{value:u,onChange:e=>l(e.target.value),style:{marginRight:"10px"},children:[(0,a.jsx)("option",{value:"en",children:"English"}),(0,a.jsx)("option",{value:"fr",children:"French"}),(0,a.jsx)("option",{value:"nl",children:"Dutch"}),(0,a.jsx)("option",{value:"de",children:"German"})]}),(0,a.jsx)("button",{onClick:async()=>{if(c){await c.changeLanguage(u);const e=c.fromMultipleDosageToText(t);d(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(o.default,{language:"markup",children:(p=r,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var p}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4081],{5368:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>f,frontMatter:()=>l,metadata:()=>m,toc:()=>g});var s=n(4848),i=n(8453),o=n(1812);const a=JSON.parse('[{"sequence":2,"text":"inject 10 units subcut 10 minutes before breakfast","timing":{"repeat":{"frequency":1,"period":1,"periodUnit":"d","when":["ACM"],"offset":10}},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":10,"unit":"U","system":"http://unitsofmeasure.org","code":"U"}}]},{"sequence":2,"text":"15 units before lunch","additionalInstruction":[{"text":"Before Lunch"}],"timing":{"repeat":{"frequency":1,"period":1,"periodUnit":"d"}},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":15,"unit":"U","system":"http://unitsofmeasure.org","code":"U"}}]},{"sequence":1,"text":"20 units before dinner","additionalInstruction":[{"text":"Before Dinner"}],"timing":{"repeat":{"frequency":1,"period":1,"periodUnit":"d"}},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":20,"unit":"U","system":"http://unitsofmeasure.org","code":"U"}}]}]');var r=n(4865),d=n(9365),u=n(8264);const l={description:"Request for Subcutaneous injection with multiple dosage lines - Insulin - Novolog - active - includes reasonCode and note. Dosage includes additionalInstructions as text",title:"medrx0321"},c=void 0,m={id:"examples/medicationrequest/medrx0321",title:"medrx0321",description:"Request for Subcutaneous injection with multiple dosage lines - Insulin - Novolog - active - includes reasonCode and note. Dosage includes additionalInstructions as text",source:"@site/docs/examples/medicationrequest/medrx0321.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx0321",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0321",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx0321.mdx",tags:[],version:"current",frontMatter:{description:"Request for Subcutaneous injection with multiple dosage lines - Insulin - Novolog - active - includes reasonCode and note. Dosage includes additionalInstructions as text",title:"medrx0321"},sidebar:"tutorialSidebar",previous:{title:"medrx0319",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0319"},next:{title:"medrx0331",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0331"}},p={},g=[];function x(e){const t={a:"a",admonition:"admonition",p:"p",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.admonition,{type:"info",children:(0,s.jsxs)(t.p,{children:["Source: ",(0,s.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequest0321.html",children:"HL7"}),' - "Request for Subcutaneous injection with multiple dosage lines - Insulin - Novolog - active - includes reasonCode and note. Dosage includes additionalInstructions as text"']})}),"\n",(0,s.jsxs)(r.A,{children:[(0,s.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(u.A,{dosages:a,config:{}})}),(0,s.jsx)(d.A,{value:"json",label:"Dosage",children:(0,s.jsx)(o.default,{language:"json",children:JSON.stringify(a,null,2)})})]})]})}function f(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(x,{...e})}):x(e)}},8264:(e,t,n)=>{n.d(t,{A:()=>r});var s=n(6540),i=n(6300),o=n(1812),a=n(4848);function r(e){let{dosages:t,config:n,i18nConfig:r}=e;const[d,u]=(0,s.useState)(""),[l,c]=(0,s.useState)(n?.language||"en"),[m,p]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await i.A.build(n,r);p(e)}()}),[n]),(0,s.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);u(e)}}()}),[t,m]);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{style:{display:"flex"},children:[(0,a.jsxs)("select",{value:l,onChange:e=>c(e.target.value),style:{marginRight:"10px"},children:[(0,a.jsx)("option",{value:"en",children:"English"}),(0,a.jsx)("option",{value:"fr",children:"French"}),(0,a.jsx)("option",{value:"nl",children:"Dutch"}),(0,a.jsx)("option",{value:"de",children:"German"})]}),(0,a.jsx)("button",{onClick:async()=>{if(m){await m.changeLanguage(l);const e=m.fromMultipleDosageToText(t);u(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(o.default,{language:"markup",children:(g=d,g.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/20a65861.602cc60f.js b/assets/js/20a65861.a01d5a95.js similarity index 74% rename from assets/js/20a65861.602cc60f.js rename to assets/js/20a65861.a01d5a95.js index d4d26453..4edc498b 100644 --- a/assets/js/20a65861.602cc60f.js +++ b/assets/js/20a65861.a01d5a95.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1796],{1300:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>f,frontMatter:()=>l,metadata:()=>m,toc:()=>h});var s=n(4848),i=n(8453),d=n(1812);const o=JSON.parse('[{"sequence":1,"text":"1 tablet every four hours as needed for pain","additionalInstruction":[{"coding":[{"system":"http://snomed.info/sct","code":"418914006","display":"Warning. May cause drowsiness. If affected do not drive or operate machinery. Avoid alcoholic drink (qualifier value)"}]}],"timing":{"repeat":{"frequency":1,"period":4,"periodUnit":"h"}},"asNeededFor":[{"coding":[{"system":"http://snomed.info/sct","code":"203082005","display":"Fibromyalgia (disorder)"}]}],"route":{"coding":[{"system":"http://snomed.info/sct","code":"26643006","display":"Oral Route"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":1,"unit":"TAB","system":"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","code":"TAB"}}]}]');var a=n(4865),r=n(9365),c=n(8264);const l={description:"Order for as needed (PRN) dosage - Vicodin - completed with dosageInstruction with additionalInstruction (coded) and as needed with reason, dispenseRequest and substitution",title:"medrx0308"},u=void 0,m={id:"examples/medicationrequest/medrx0308",title:"medrx0308",description:"Order for as needed (PRN) dosage - Vicodin - completed with dosageInstruction with additionalInstruction (coded) and as needed with reason, dispenseRequest and substitution",source:"@site/docs/examples/medicationrequest/medrx0308.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx0308",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0308",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx0308.mdx",tags:[],version:"current",frontMatter:{description:"Order for as needed (PRN) dosage - Vicodin - completed with dosageInstruction with additionalInstruction (coded) and as needed with reason, dispenseRequest and substitution",title:"medrx0308"},sidebar:"tutorialSidebar",previous:{title:"medrx0307",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0307"},next:{title:"medrx0310",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0310"}},p={},h=[];function g(e){const t={a:"a",admonition:"admonition",p:"p",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.admonition,{type:"info",children:(0,s.jsxs)(t.p,{children:["Source: ",(0,s.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequest0308.html",children:"HL7"}),' - "Order for as needed (PRN) dosage - Vicodin - completed with dosageInstruction with additionalInstruction (coded) and as needed with reason, dispenseRequest and substitution"']})}),"\n",(0,s.jsxs)(a.A,{children:[(0,s.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(c.A,{dosages:o,config:{}})}),(0,s.jsx)(r.A,{value:"json",label:"Dosage",children:(0,s.jsx)(d.default,{language:"json",children:JSON.stringify(o,null,2)})})]})]})}function f(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(g,{...e})}):g(e)}},8264:(e,t,n)=>{n.d(t,{A:()=>a});var s=n(6540),i=n(6300),d=n(1812),o=n(4848);function a(e){let{dosages:t,config:n}=e;const[a,r]=(0,s.useState)(""),[c,l]=(0,s.useState)(n?.language||"en"),[u,m]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await i.A.build(n);m(e)}()}),[n]),(0,s.useEffect)((()=>{!async function(){if(u){const e=u.fromMultipleDosageToText(t);r(e)}}()}),[t,u]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:c,onChange:e=>l(e.target.value),style:{marginRight:"10px"},children:[(0,o.jsx)("option",{value:"en",children:"English"}),(0,o.jsx)("option",{value:"fr",children:"French"}),(0,o.jsx)("option",{value:"nl",children:"Dutch"}),(0,o.jsx)("option",{value:"de",children:"German"})]}),(0,o.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(c);const e=u.fromMultipleDosageToText(t);r(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(d.default,{language:"markup",children:(p=a,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var p}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1796],{1300:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>f,frontMatter:()=>l,metadata:()=>m,toc:()=>h});var s=n(4848),i=n(8453),d=n(1812);const o=JSON.parse('[{"sequence":1,"text":"1 tablet every four hours as needed for pain","additionalInstruction":[{"coding":[{"system":"http://snomed.info/sct","code":"418914006","display":"Warning. May cause drowsiness. If affected do not drive or operate machinery. Avoid alcoholic drink (qualifier value)"}]}],"timing":{"repeat":{"frequency":1,"period":4,"periodUnit":"h"}},"asNeededFor":[{"coding":[{"system":"http://snomed.info/sct","code":"203082005","display":"Fibromyalgia (disorder)"}]}],"route":{"coding":[{"system":"http://snomed.info/sct","code":"26643006","display":"Oral Route"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":1,"unit":"TAB","system":"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","code":"TAB"}}]}]');var a=n(4865),r=n(9365),c=n(8264);const l={description:"Order for as needed (PRN) dosage - Vicodin - completed with dosageInstruction with additionalInstruction (coded) and as needed with reason, dispenseRequest and substitution",title:"medrx0308"},u=void 0,m={id:"examples/medicationrequest/medrx0308",title:"medrx0308",description:"Order for as needed (PRN) dosage - Vicodin - completed with dosageInstruction with additionalInstruction (coded) and as needed with reason, dispenseRequest and substitution",source:"@site/docs/examples/medicationrequest/medrx0308.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx0308",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0308",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx0308.mdx",tags:[],version:"current",frontMatter:{description:"Order for as needed (PRN) dosage - Vicodin - completed with dosageInstruction with additionalInstruction (coded) and as needed with reason, dispenseRequest and substitution",title:"medrx0308"},sidebar:"tutorialSidebar",previous:{title:"medrx0307",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0307"},next:{title:"medrx0310",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0310"}},p={},h=[];function g(e){const t={a:"a",admonition:"admonition",p:"p",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.admonition,{type:"info",children:(0,s.jsxs)(t.p,{children:["Source: ",(0,s.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequest0308.html",children:"HL7"}),' - "Order for as needed (PRN) dosage - Vicodin - completed with dosageInstruction with additionalInstruction (coded) and as needed with reason, dispenseRequest and substitution"']})}),"\n",(0,s.jsxs)(a.A,{children:[(0,s.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(c.A,{dosages:o,config:{}})}),(0,s.jsx)(r.A,{value:"json",label:"Dosage",children:(0,s.jsx)(d.default,{language:"json",children:JSON.stringify(o,null,2)})})]})]})}function f(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(g,{...e})}):g(e)}},8264:(e,t,n)=>{n.d(t,{A:()=>a});var s=n(6540),i=n(6300),d=n(1812),o=n(4848);function a(e){let{dosages:t,config:n,i18nConfig:a}=e;const[r,c]=(0,s.useState)(""),[l,u]=(0,s.useState)(n?.language||"en"),[m,p]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await i.A.build(n,a);p(e)}()}),[n]),(0,s.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);c(e)}}()}),[t,m]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:l,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,o.jsx)("option",{value:"en",children:"English"}),(0,o.jsx)("option",{value:"fr",children:"French"}),(0,o.jsx)("option",{value:"nl",children:"Dutch"}),(0,o.jsx)("option",{value:"de",children:"German"})]}),(0,o.jsx)("button",{onClick:async()=>{if(m){await m.changeLanguage(l);const e=m.fromMultipleDosageToText(t);c(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(d.default,{language:"markup",children:(h=r,h.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/20b5be5c.82070443.js b/assets/js/20b5be5c.48a2fc86.js similarity index 54% rename from assets/js/20b5be5c.82070443.js rename to assets/js/20b5be5c.48a2fc86.js index d93bd164..8cd06761 100644 --- a/assets/js/20b5be5c.82070443.js +++ b/assets/js/20b5be5c.48a2fc86.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6193],{7189:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>p,contentTitle:()=>d,default:()=>x,frontMatter:()=>l,metadata:()=>u,toc:()=>h});var n=t(4848),o=t(8453),a=t(1812);const f=JSON.parse('{"timing":{"repeat":{"offset":1440}}}');var r=t(4865),i=t(9365),c=t(816);const l={description:"offset, expressing day(s)",title:"\ud83d\udd52 offset (Days)"},d=void 0,u={id:"specs/offsetWhen/offset/offset_days",title:"\ud83d\udd52 offset (Days)",description:"offset, expressing day(s)",source:"@site/docs/specs/offsetWhen/offset/offset_days.mdx",sourceDirName:"specs/offsetWhen/offset",slug:"/specs/offsetWhen/offset/offset_days",permalink:"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_days",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/offsetWhen/offset/offset_days.mdx",tags:[],version:"current",frontMatter:{description:"offset, expressing day(s)",title:"\ud83d\udd52 offset (Days)"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udd52 offset",permalink:"/fhir-dosage-utils/docs/category/-offset"},next:{title:"\ud83d\udd52 offset (Hours)",permalink:"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_hours"}},p={},h=[];function g(e){return(0,n.jsxs)(r.A,{children:[(0,n.jsx)(i.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(c.A,{dosage:f})}),(0,n.jsx)(i.A,{value:"json",label:"Dosage",children:(0,n.jsx)(a.default,{language:"json",children:JSON.stringify(f,null,2)})})]})}function x(e={}){const{wrapper:s}={...(0,o.R)(),...e.components};return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(g,{...e})}):g()}},816:(e,s,t)=>{t.d(s,{A:()=>r});var n=t(6540),o=t(6300),a=t(1812),f=t(4848);function r(e){let{dosage:s,config:t}=e;const[r,i]=(0,n.useState)(""),[c,l]=(0,n.useState)(t?.language||"en"),[d,u]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await o.A.build(t);u(e)}()}),[t]),(0,n.useEffect)((()=>{!async function(){if(d){const e=d.fromDosageToText(s);i(e)}}()}),[s,d]);return(0,f.jsxs)("div",{children:[(0,f.jsxs)("div",{style:{display:"flex"},children:[(0,f.jsxs)("select",{value:c,onChange:e=>l(e.target.value),style:{marginRight:"10px"},children:[(0,f.jsx)("option",{value:"en",children:"English"}),(0,f.jsx)("option",{value:"fr",children:"French"}),(0,f.jsx)("option",{value:"nl",children:"Dutch"}),(0,f.jsx)("option",{value:"de",children:"German"})]}),(0,f.jsx)("button",{onClick:async()=>{if(d){await d.changeLanguage(c);const e=d.fromDosageToText(s);i(e)}},children:"Confirm"})]}),(0,f.jsx)("div",{style:{marginTop:"10px"},children:(0,f.jsx)(a.default,{language:"markup",children:(p=r,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,s){return String.fromCharCode(s)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,s){return String.fromCharCode(parseInt(s,16))})))})})]});var p}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6193],{7189:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>p,contentTitle:()=>d,default:()=>x,frontMatter:()=>l,metadata:()=>u,toc:()=>g});var n=t(4848),o=t(8453),a=t(1812);const f=JSON.parse('{"timing":{"repeat":{"offset":1440}}}');var r=t(4865),i=t(9365),c=t(816);const l={description:"offset, expressing day(s)",title:"\ud83d\udd52 offset (Days)"},d=void 0,u={id:"specs/offsetWhen/offset/offset_days",title:"\ud83d\udd52 offset (Days)",description:"offset, expressing day(s)",source:"@site/docs/specs/offsetWhen/offset/offset_days.mdx",sourceDirName:"specs/offsetWhen/offset",slug:"/specs/offsetWhen/offset/offset_days",permalink:"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_days",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/offsetWhen/offset/offset_days.mdx",tags:[],version:"current",frontMatter:{description:"offset, expressing day(s)",title:"\ud83d\udd52 offset (Days)"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udd52 offset",permalink:"/fhir-dosage-utils/docs/category/-offset"},next:{title:"\ud83d\udd52 offset (Hours)",permalink:"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_hours"}},p={},g=[];function h(e){return(0,n.jsxs)(r.A,{children:[(0,n.jsx)(i.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(c.A,{dosage:f})}),(0,n.jsx)(i.A,{value:"json",label:"Dosage",children:(0,n.jsx)(a.default,{language:"json",children:JSON.stringify(f,null,2)})})]})}function x(e={}){const{wrapper:s}={...(0,o.R)(),...e.components};return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(h,{...e})}):h()}},816:(e,s,t)=>{t.d(s,{A:()=>r});var n=t(6540),o=t(6300),a=t(1812),f=t(4848);function r(e){let{dosage:s,config:t,i18nConfig:r}=e;const[i,c]=(0,n.useState)(""),[l,d]=(0,n.useState)(t?.language||"en"),[u,p]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await o.A.build(t,r);p(e)}()}),[t]),(0,n.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(s);c(e)}}()}),[s,u]);return(0,f.jsxs)("div",{children:[(0,f.jsxs)("div",{style:{display:"flex"},children:[(0,f.jsxs)("select",{value:l,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,f.jsx)("option",{value:"en",children:"English"}),(0,f.jsx)("option",{value:"fr",children:"French"}),(0,f.jsx)("option",{value:"nl",children:"Dutch"}),(0,f.jsx)("option",{value:"de",children:"German"})]}),(0,f.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(l);const e=u.fromDosageToText(s);c(e)}},children:"Confirm"})]}),(0,f.jsx)("div",{style:{marginTop:"10px"},children:(0,f.jsx)(a.default,{language:"markup",children:(g=i,g.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,s){return String.fromCharCode(s)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,s){return String.fromCharCode(parseInt(s,16))})))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/21119077.d34bbcfc.js b/assets/js/21119077.2656966a.js similarity index 81% rename from assets/js/21119077.d34bbcfc.js rename to assets/js/21119077.2656966a.js index fd93e6be..a345bdc4 100644 --- a/assets/js/21119077.d34bbcfc.js +++ b/assets/js/21119077.2656966a.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6499],{8310:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>m,default:()=>f,frontMatter:()=>u,metadata:()=>c,toc:()=>g});var i=n(4848),o=n(8453),s=n(1812);const a=JSON.parse('[{"sequence":1,"text":"Rapid daily-dose escalation, until tolerated, from 3 mg/d, and then 10 mg/d, to the recommended maintenance dose of 30 mg IV over 120 min, 3 times per wk on alternate days for up to 12 wk","additionalInstruction":[{"text":"Rapidly increase dose until tolerated"},{"text":"Administer on alternate days"}],"timing":{"repeat":{"duration":12,"durationUnit":"wk","frequency":3,"period":1,"periodUnit":"wk"}},"route":{"coding":[{"system":"http://snomed.info/sct","code":"47625008","display":"Intravenous route (qualifier value)"}]},"method":{"coding":[{"system":"http://snomed.info/sct","code":"422145002","display":"Inject - dosing instruction imperative (qualifier value)"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":3,"unit":"mg","system":"http://unitsofmeasure.org","code":"mg"}}]},{"sequence":2,"text":"Rapid daily-dose escalation, until tolerated, from 3 mg/d, and then 10 mg/d, to the recommended maintenance dose of 30 mg IV over 120 min, 3 times per wk on alternate days for up to 12 wk","additionalInstruction":[{"text":"Rapidly increase dose until tolerated"},{"text":"Administer on alternate days"}],"timing":{"repeat":{"duration":12,"durationUnit":"wk","frequency":3,"period":1,"periodUnit":"wk"}},"route":{"coding":[{"system":"http://snomed.info/sct","code":"47625008","display":"Intravenous route (qualifier value)"}]},"method":{"coding":[{"system":"http://snomed.info/sct","code":"422145002","display":"Inject - dosing instruction imperative (qualifier value)"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":10,"unit":"mg","system":"http://unitsofmeasure.org","code":"mg"}}]},{"sequence":3,"text":"Rapid daily-dose escalation, until tolerated, from 3 mg/d, and then 10 mg/d, to the recommended maintenance dose of 30 mg IV over 120 min, 3 times per wk on alternate days for up to 12 wk","additionalInstruction":[{"text":"Rapidly increase dose until tolerated"},{"text":"Administer on alternate days"}],"timing":{"repeat":{"duration":12,"durationUnit":"wk","frequency":3,"period":1,"periodUnit":"wk"}},"route":{"coding":[{"system":"http://snomed.info/sct","code":"47625008","display":"Intravenous route (qualifier value)"}]},"method":{"coding":[{"system":"http://snomed.info/sct","code":"422145002","display":"Inject - dosing instruction imperative (qualifier value)"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":30,"unit":"mg","system":"http://unitsofmeasure.org","code":"mg"}}]}]');var r=n(4865),d=n(9365),l=n(8264);const u={description:"Request for Intravenous Chemotherapy (inpatient order) - Alemtuzumab - completed with multiple dosageInstruction lines",title:"medrx0317"},m=void 0,c={id:"examples/medicationrequest/medrx0317",title:"medrx0317",description:"Request for Intravenous Chemotherapy (inpatient order) - Alemtuzumab - completed with multiple dosageInstruction lines",source:"@site/docs/examples/medicationrequest/medrx0317.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx0317",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0317",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx0317.mdx",tags:[],version:"current",frontMatter:{description:"Request for Intravenous Chemotherapy (inpatient order) - Alemtuzumab - completed with multiple dosageInstruction lines",title:"medrx0317"},sidebar:"tutorialSidebar",previous:{title:"medrx0315",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0315"},next:{title:"medrx0319",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0319"}},p={},g=[];function h(e){const t={a:"a",admonition:"admonition",p:"p",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.admonition,{type:"info",children:(0,i.jsxs)(t.p,{children:["Source: ",(0,i.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequest0317.html",children:"HL7"}),' - "Request for Intravenous Chemotherapy (inpatient order) - Alemtuzumab - completed with multiple dosageInstruction lines"']})}),"\n",(0,i.jsxs)(r.A,{children:[(0,i.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(l.A,{dosages:a,config:{}})}),(0,i.jsx)(d.A,{value:"json",label:"Dosage",children:(0,i.jsx)(s.default,{language:"json",children:JSON.stringify(a,null,2)})})]})]})}function f(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},8264:(e,t,n)=>{n.d(t,{A:()=>r});var i=n(6540),o=n(6300),s=n(1812),a=n(4848);function r(e){let{dosages:t,config:n}=e;const[r,d]=(0,i.useState)(""),[l,u]=(0,i.useState)(n?.language||"en"),[m,c]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await o.A.build(n);c(e)}()}),[n]),(0,i.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);d(e)}}()}),[t,m]);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{style:{display:"flex"},children:[(0,a.jsxs)("select",{value:l,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,a.jsx)("option",{value:"en",children:"English"}),(0,a.jsx)("option",{value:"fr",children:"French"}),(0,a.jsx)("option",{value:"nl",children:"Dutch"}),(0,a.jsx)("option",{value:"de",children:"German"})]}),(0,a.jsx)("button",{onClick:async()=>{if(m){await m.changeLanguage(l);const e=m.fromMultipleDosageToText(t);d(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(s.default,{language:"markup",children:(p=r,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var p}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6499],{8310:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>m,default:()=>f,frontMatter:()=>u,metadata:()=>c,toc:()=>g});var i=n(4848),o=n(8453),s=n(1812);const a=JSON.parse('[{"sequence":1,"text":"Rapid daily-dose escalation, until tolerated, from 3 mg/d, and then 10 mg/d, to the recommended maintenance dose of 30 mg IV over 120 min, 3 times per wk on alternate days for up to 12 wk","additionalInstruction":[{"text":"Rapidly increase dose until tolerated"},{"text":"Administer on alternate days"}],"timing":{"repeat":{"duration":12,"durationUnit":"wk","frequency":3,"period":1,"periodUnit":"wk"}},"route":{"coding":[{"system":"http://snomed.info/sct","code":"47625008","display":"Intravenous route (qualifier value)"}]},"method":{"coding":[{"system":"http://snomed.info/sct","code":"422145002","display":"Inject - dosing instruction imperative (qualifier value)"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":3,"unit":"mg","system":"http://unitsofmeasure.org","code":"mg"}}]},{"sequence":2,"text":"Rapid daily-dose escalation, until tolerated, from 3 mg/d, and then 10 mg/d, to the recommended maintenance dose of 30 mg IV over 120 min, 3 times per wk on alternate days for up to 12 wk","additionalInstruction":[{"text":"Rapidly increase dose until tolerated"},{"text":"Administer on alternate days"}],"timing":{"repeat":{"duration":12,"durationUnit":"wk","frequency":3,"period":1,"periodUnit":"wk"}},"route":{"coding":[{"system":"http://snomed.info/sct","code":"47625008","display":"Intravenous route (qualifier value)"}]},"method":{"coding":[{"system":"http://snomed.info/sct","code":"422145002","display":"Inject - dosing instruction imperative (qualifier value)"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":10,"unit":"mg","system":"http://unitsofmeasure.org","code":"mg"}}]},{"sequence":3,"text":"Rapid daily-dose escalation, until tolerated, from 3 mg/d, and then 10 mg/d, to the recommended maintenance dose of 30 mg IV over 120 min, 3 times per wk on alternate days for up to 12 wk","additionalInstruction":[{"text":"Rapidly increase dose until tolerated"},{"text":"Administer on alternate days"}],"timing":{"repeat":{"duration":12,"durationUnit":"wk","frequency":3,"period":1,"periodUnit":"wk"}},"route":{"coding":[{"system":"http://snomed.info/sct","code":"47625008","display":"Intravenous route (qualifier value)"}]},"method":{"coding":[{"system":"http://snomed.info/sct","code":"422145002","display":"Inject - dosing instruction imperative (qualifier value)"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":30,"unit":"mg","system":"http://unitsofmeasure.org","code":"mg"}}]}]');var r=n(4865),d=n(9365),l=n(8264);const u={description:"Request for Intravenous Chemotherapy (inpatient order) - Alemtuzumab - completed with multiple dosageInstruction lines",title:"medrx0317"},m=void 0,c={id:"examples/medicationrequest/medrx0317",title:"medrx0317",description:"Request for Intravenous Chemotherapy (inpatient order) - Alemtuzumab - completed with multiple dosageInstruction lines",source:"@site/docs/examples/medicationrequest/medrx0317.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx0317",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0317",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx0317.mdx",tags:[],version:"current",frontMatter:{description:"Request for Intravenous Chemotherapy (inpatient order) - Alemtuzumab - completed with multiple dosageInstruction lines",title:"medrx0317"},sidebar:"tutorialSidebar",previous:{title:"medrx0315",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0315"},next:{title:"medrx0319",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0319"}},p={},g=[];function h(e){const t={a:"a",admonition:"admonition",p:"p",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.admonition,{type:"info",children:(0,i.jsxs)(t.p,{children:["Source: ",(0,i.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequest0317.html",children:"HL7"}),' - "Request for Intravenous Chemotherapy (inpatient order) - Alemtuzumab - completed with multiple dosageInstruction lines"']})}),"\n",(0,i.jsxs)(r.A,{children:[(0,i.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(l.A,{dosages:a,config:{}})}),(0,i.jsx)(d.A,{value:"json",label:"Dosage",children:(0,i.jsx)(s.default,{language:"json",children:JSON.stringify(a,null,2)})})]})]})}function f(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},8264:(e,t,n)=>{n.d(t,{A:()=>r});var i=n(6540),o=n(6300),s=n(1812),a=n(4848);function r(e){let{dosages:t,config:n,i18nConfig:r}=e;const[d,l]=(0,i.useState)(""),[u,m]=(0,i.useState)(n?.language||"en"),[c,p]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await o.A.build(n,r);p(e)}()}),[n]),(0,i.useEffect)((()=>{!async function(){if(c){const e=c.fromMultipleDosageToText(t);l(e)}}()}),[t,c]);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{style:{display:"flex"},children:[(0,a.jsxs)("select",{value:u,onChange:e=>m(e.target.value),style:{marginRight:"10px"},children:[(0,a.jsx)("option",{value:"en",children:"English"}),(0,a.jsx)("option",{value:"fr",children:"French"}),(0,a.jsx)("option",{value:"nl",children:"Dutch"}),(0,a.jsx)("option",{value:"de",children:"German"})]}),(0,a.jsx)("button",{onClick:async()=>{if(c){await c.changeLanguage(u);const e=c.fromMultipleDosageToText(t);l(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(s.default,{language:"markup",children:(g=d,g.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/254404d2.f899f112.js b/assets/js/254404d2.b7bfc856.js similarity index 60% rename from assets/js/254404d2.f899f112.js rename to assets/js/254404d2.b7bfc856.js index acdf155a..cce26ee4 100644 --- a/assets/js/254404d2.f899f112.js +++ b/assets/js/254404d2.b7bfc856.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[7762],{1088:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>f,contentTitle:()=>l,default:()=>x,frontMatter:()=>c,metadata:()=>p,toc:()=>g});var s=n(4848),r=n(8453),a=n(1812);const o=JSON.parse('{"timing":{"repeat":{"boundsPeriod":{"start":"2011-05-23","end":"2011-05-27"}}}}');var d=n(4865),i=n(9365),u=n(816);const c={description:"Start & end",title:"\u23f3 boundsPeriod (start & end)"},l=void 0,p={id:"specs/boundsPeriod/start_and_end",title:"\u23f3 boundsPeriod (start & end)",description:"Start & end",source:"@site/docs/specs/boundsPeriod/start_and_end.mdx",sourceDirName:"specs/boundsPeriod",slug:"/specs/boundsPeriod/start_and_end",permalink:"/fhir-dosage-utils/docs/specs/boundsPeriod/start_and_end",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/boundsPeriod/start_and_end.mdx",tags:[],version:"current",frontMatter:{description:"Start & end",title:"\u23f3 boundsPeriod (start & end)"},sidebar:"tutorialSidebar",previous:{title:"\u23f3 boundsPeriod (end only)",permalink:"/fhir-dosage-utils/docs/specs/boundsPeriod/end_only"},next:{title:"\u23f3 boundsPeriod (start only)",permalink:"/fhir-dosage-utils/docs/specs/boundsPeriod/start_only"}},f={},g=[];function h(e){return(0,s.jsxs)(d.A,{children:[(0,s.jsx)(i.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(u.A,{dosage:o})}),(0,s.jsx)(i.A,{value:"json",label:"Dosage",children:(0,s.jsx)(a.default,{language:"json",children:JSON.stringify(o,null,2)})})]})}function x(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h()}},816:(e,t,n)=>{n.d(t,{A:()=>d});var s=n(6540),r=n(6300),a=n(1812),o=n(4848);function d(e){let{dosage:t,config:n}=e;const[d,i]=(0,s.useState)(""),[u,c]=(0,s.useState)(n?.language||"en"),[l,p]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await r.A.build(n);p(e)}()}),[n]),(0,s.useEffect)((()=>{!async function(){if(l){const e=l.fromDosageToText(t);i(e)}}()}),[t,l]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:u,onChange:e=>c(e.target.value),style:{marginRight:"10px"},children:[(0,o.jsx)("option",{value:"en",children:"English"}),(0,o.jsx)("option",{value:"fr",children:"French"}),(0,o.jsx)("option",{value:"nl",children:"Dutch"}),(0,o.jsx)("option",{value:"de",children:"German"})]}),(0,o.jsx)("button",{onClick:async()=>{if(l){await l.changeLanguage(u);const e=l.fromDosageToText(t);i(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(a.default,{language:"markup",children:(f=d,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var f}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[7762],{1088:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>f,contentTitle:()=>l,default:()=>x,frontMatter:()=>c,metadata:()=>p,toc:()=>g});var s=n(4848),r=n(8453),a=n(1812);const o=JSON.parse('{"timing":{"repeat":{"boundsPeriod":{"start":"2011-05-23","end":"2011-05-27"}}}}');var d=n(4865),i=n(9365),u=n(816);const c={description:"Start & end",title:"\u23f3 boundsPeriod (start & end)"},l=void 0,p={id:"specs/boundsPeriod/start_and_end",title:"\u23f3 boundsPeriod (start & end)",description:"Start & end",source:"@site/docs/specs/boundsPeriod/start_and_end.mdx",sourceDirName:"specs/boundsPeriod",slug:"/specs/boundsPeriod/start_and_end",permalink:"/fhir-dosage-utils/docs/specs/boundsPeriod/start_and_end",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/boundsPeriod/start_and_end.mdx",tags:[],version:"current",frontMatter:{description:"Start & end",title:"\u23f3 boundsPeriod (start & end)"},sidebar:"tutorialSidebar",previous:{title:"\u23f3 boundsPeriod (end only)",permalink:"/fhir-dosage-utils/docs/specs/boundsPeriod/end_only"},next:{title:"\u23f3 boundsPeriod (start only)",permalink:"/fhir-dosage-utils/docs/specs/boundsPeriod/start_only"}},f={},g=[];function h(e){return(0,s.jsxs)(d.A,{children:[(0,s.jsx)(i.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(u.A,{dosage:o})}),(0,s.jsx)(i.A,{value:"json",label:"Dosage",children:(0,s.jsx)(a.default,{language:"json",children:JSON.stringify(o,null,2)})})]})}function x(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h()}},816:(e,t,n)=>{n.d(t,{A:()=>d});var s=n(6540),r=n(6300),a=n(1812),o=n(4848);function d(e){let{dosage:t,config:n,i18nConfig:d}=e;const[i,u]=(0,s.useState)(""),[c,l]=(0,s.useState)(n?.language||"en"),[p,f]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await r.A.build(n,d);f(e)}()}),[n]),(0,s.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(t);u(e)}}()}),[t,p]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:c,onChange:e=>l(e.target.value),style:{marginRight:"10px"},children:[(0,o.jsx)("option",{value:"en",children:"English"}),(0,o.jsx)("option",{value:"fr",children:"French"}),(0,o.jsx)("option",{value:"nl",children:"Dutch"}),(0,o.jsx)("option",{value:"de",children:"German"})]}),(0,o.jsx)("button",{onClick:async()=>{if(p){await p.changeLanguage(c);const e=p.fromDosageToText(t);u(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(a.default,{language:"markup",children:(g=i,g.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/265a61ea.67a25dcd.js b/assets/js/265a61ea.48f873f6.js similarity index 72% rename from assets/js/265a61ea.67a25dcd.js rename to assets/js/265a61ea.48f873f6.js index 3aa3def7..b7a343ce 100644 --- a/assets/js/265a61ea.67a25dcd.js +++ b/assets/js/265a61ea.48f873f6.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[5184],{904:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>g,frontMatter:()=>c,metadata:()=>m,toc:()=>h});var n=i(4848),s=i(8453),a=i(1812);const r=JSON.parse('[{"sequence":1,"text":"4.5 grams in D5W 250 ml. IV every 6 hours.Infuse over 30 min at 8L/min ","timing":{"repeat":{"frequency":1,"period":6,"periodUnit":"h"}},"route":{"coding":[{"system":"http://snomed.info/sct","code":"47625008","display":"Intravenous route (qualifier value)"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":4.5,"unit":"g","system":"http://unitsofmeasure.org","code":"g"},"rateQuantity":{"value":50,"system":"http://unitsofmeasure.org","code":"ml/h"}}]}]');var o=i(4865),d=i(9365),l=i(8264);const c={description:"Request for Intravenous Antibiotic with a Dosage Rate - Piperacillin - completed with reason code",title:"medrx0319"},u=void 0,m={id:"examples/medicationrequest/medrx0319",title:"medrx0319",description:"Request for Intravenous Antibiotic with a Dosage Rate - Piperacillin - completed with reason code",source:"@site/docs/examples/medicationrequest/medrx0319.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx0319",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0319",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx0319.mdx",tags:[],version:"current",frontMatter:{description:"Request for Intravenous Antibiotic with a Dosage Rate - Piperacillin - completed with reason code",title:"medrx0319"},sidebar:"tutorialSidebar",previous:{title:"medrx0317",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0317"},next:{title:"medrx0321",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0321"}},p={},h=[];function x(e){const t={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.admonition,{type:"info",children:(0,n.jsxs)(t.p,{children:["Source: ",(0,n.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequest0319.html",children:"HL7"}),' - "Request for Intravenous Antibiotic with a Dosage Rate - Piperacillin - completed with reason code"']})}),"\n",(0,n.jsxs)(o.A,{children:[(0,n.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(l.A,{dosages:r,config:{}})}),(0,n.jsx)(d.A,{value:"json",label:"Dosage",children:(0,n.jsx)(a.default,{language:"json",children:JSON.stringify(r,null,2)})})]})]})}function g(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(x,{...e})}):x(e)}},8264:(e,t,i)=>{i.d(t,{A:()=>o});var n=i(6540),s=i(6300),a=i(1812),r=i(4848);function o(e){let{dosages:t,config:i}=e;const[o,d]=(0,n.useState)(""),[l,c]=(0,n.useState)(i?.language||"en"),[u,m]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await s.A.build(i);m(e)}()}),[i]),(0,n.useEffect)((()=>{!async function(){if(u){const e=u.fromMultipleDosageToText(t);d(e)}}()}),[t,u]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:l,onChange:e=>c(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(l);const e=u.fromMultipleDosageToText(t);d(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(a.default,{language:"markup",children:(p=o,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var p}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[5184],{904:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>g,frontMatter:()=>c,metadata:()=>m,toc:()=>h});var n=i(4848),s=i(8453),a=i(1812);const r=JSON.parse('[{"sequence":1,"text":"4.5 grams in D5W 250 ml. IV every 6 hours.Infuse over 30 min at 8L/min ","timing":{"repeat":{"frequency":1,"period":6,"periodUnit":"h"}},"route":{"coding":[{"system":"http://snomed.info/sct","code":"47625008","display":"Intravenous route (qualifier value)"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":4.5,"unit":"g","system":"http://unitsofmeasure.org","code":"g"},"rateQuantity":{"value":50,"system":"http://unitsofmeasure.org","code":"ml/h"}}]}]');var o=i(4865),d=i(9365),l=i(8264);const c={description:"Request for Intravenous Antibiotic with a Dosage Rate - Piperacillin - completed with reason code",title:"medrx0319"},u=void 0,m={id:"examples/medicationrequest/medrx0319",title:"medrx0319",description:"Request for Intravenous Antibiotic with a Dosage Rate - Piperacillin - completed with reason code",source:"@site/docs/examples/medicationrequest/medrx0319.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx0319",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0319",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx0319.mdx",tags:[],version:"current",frontMatter:{description:"Request for Intravenous Antibiotic with a Dosage Rate - Piperacillin - completed with reason code",title:"medrx0319"},sidebar:"tutorialSidebar",previous:{title:"medrx0317",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0317"},next:{title:"medrx0321",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0321"}},p={},h=[];function x(e){const t={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.admonition,{type:"info",children:(0,n.jsxs)(t.p,{children:["Source: ",(0,n.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequest0319.html",children:"HL7"}),' - "Request for Intravenous Antibiotic with a Dosage Rate - Piperacillin - completed with reason code"']})}),"\n",(0,n.jsxs)(o.A,{children:[(0,n.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(l.A,{dosages:r,config:{}})}),(0,n.jsx)(d.A,{value:"json",label:"Dosage",children:(0,n.jsx)(a.default,{language:"json",children:JSON.stringify(r,null,2)})})]})]})}function g(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(x,{...e})}):x(e)}},8264:(e,t,i)=>{i.d(t,{A:()=>o});var n=i(6540),s=i(6300),a=i(1812),r=i(4848);function o(e){let{dosages:t,config:i,i18nConfig:o}=e;const[d,l]=(0,n.useState)(""),[c,u]=(0,n.useState)(i?.language||"en"),[m,p]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await s.A.build(i,o);p(e)}()}),[i]),(0,n.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);l(e)}}()}),[t,m]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:c,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(m){await m.changeLanguage(c);const e=m.fromMultipleDosageToText(t);l(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(a.default,{language:"markup",children:(h=d,h.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/2a331aeb.c15fb78b.js b/assets/js/2a331aeb.fe824162.js similarity index 60% rename from assets/js/2a331aeb.c15fb78b.js rename to assets/js/2a331aeb.fe824162.js index 1fd9401e..b2803878 100644 --- a/assets/js/2a331aeb.c15fb78b.js +++ b/assets/js/2a331aeb.fe824162.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[5317],{6358:(t,e,n)=>{n.r(e),n.d(e,{assets:()=>p,contentTitle:()=>d,default:()=>h,frontMatter:()=>l,metadata:()=>x,toc:()=>f});var o=n(4848),s=n(8453),a=n(1812);const c=JSON.parse('{"timing":{"repeat":{"count":1}}}');var u=n(4865),r=n(9365),i=n(816);const l={description:"count (only)",title:"\ud83d\udd22 count (only)"},d=void 0,x={id:"specs/countCountMax/count",title:"\ud83d\udd22 count (only)",description:"count (only)",source:"@site/docs/specs/countCountMax/count.mdx",sourceDirName:"specs/countCountMax",slug:"/specs/countCountMax/count",permalink:"/fhir-dosage-utils/docs/specs/countCountMax/count",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/countCountMax/count.mdx",tags:[],version:"current",frontMatter:{description:"count (only)",title:"\ud83d\udd22 count (only)"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udd22 count / countMax",permalink:"/fhir-dosage-utils/docs/category/-count--countmax"},next:{title:"\ud83d\udd22 countMax (only)",permalink:"/fhir-dosage-utils/docs/specs/countCountMax/countMax_only"}},p={},f=[];function g(t){return(0,o.jsxs)(u.A,{children:[(0,o.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(i.A,{dosage:c})}),(0,o.jsx)(r.A,{value:"json",label:"Dosage",children:(0,o.jsx)(a.default,{language:"json",children:JSON.stringify(c,null,2)})})]})}function h(t={}){const{wrapper:e}={...(0,s.R)(),...t.components};return e?(0,o.jsx)(e,{...t,children:(0,o.jsx)(g,{...t})}):g()}},816:(t,e,n)=>{n.d(e,{A:()=>u});var o=n(6540),s=n(6300),a=n(1812),c=n(4848);function u(t){let{dosage:e,config:n}=t;const[u,r]=(0,o.useState)(""),[i,l]=(0,o.useState)(n?.language||"en"),[d,x]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const t=await s.A.build(n);x(t)}()}),[n]),(0,o.useEffect)((()=>{!async function(){if(d){const t=d.fromDosageToText(e);r(t)}}()}),[e,d]);return(0,c.jsxs)("div",{children:[(0,c.jsxs)("div",{style:{display:"flex"},children:[(0,c.jsxs)("select",{value:i,onChange:t=>l(t.target.value),style:{marginRight:"10px"},children:[(0,c.jsx)("option",{value:"en",children:"English"}),(0,c.jsx)("option",{value:"fr",children:"French"}),(0,c.jsx)("option",{value:"nl",children:"Dutch"}),(0,c.jsx)("option",{value:"de",children:"German"})]}),(0,c.jsx)("button",{onClick:async()=>{if(d){await d.changeLanguage(i);const t=d.fromDosageToText(e);r(t)}},children:"Confirm"})]}),(0,c.jsx)("div",{style:{marginTop:"10px"},children:(0,c.jsx)(a.default,{language:"markup",children:(p=u,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(e)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(t,e){return String.fromCharCode(parseInt(e,16))})))})})]});var p}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[5317],{6358:(t,e,n)=>{n.r(e),n.d(e,{assets:()=>p,contentTitle:()=>d,default:()=>h,frontMatter:()=>l,metadata:()=>x,toc:()=>f});var o=n(4848),s=n(8453),a=n(1812);const c=JSON.parse('{"timing":{"repeat":{"count":1}}}');var u=n(4865),r=n(9365),i=n(816);const l={description:"count (only)",title:"\ud83d\udd22 count (only)"},d=void 0,x={id:"specs/countCountMax/count",title:"\ud83d\udd22 count (only)",description:"count (only)",source:"@site/docs/specs/countCountMax/count.mdx",sourceDirName:"specs/countCountMax",slug:"/specs/countCountMax/count",permalink:"/fhir-dosage-utils/docs/specs/countCountMax/count",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/countCountMax/count.mdx",tags:[],version:"current",frontMatter:{description:"count (only)",title:"\ud83d\udd22 count (only)"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udd22 count / countMax",permalink:"/fhir-dosage-utils/docs/category/-count--countmax"},next:{title:"\ud83d\udd22 countMax (only)",permalink:"/fhir-dosage-utils/docs/specs/countCountMax/countMax_only"}},p={},f=[];function g(t){return(0,o.jsxs)(u.A,{children:[(0,o.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(i.A,{dosage:c})}),(0,o.jsx)(r.A,{value:"json",label:"Dosage",children:(0,o.jsx)(a.default,{language:"json",children:JSON.stringify(c,null,2)})})]})}function h(t={}){const{wrapper:e}={...(0,s.R)(),...t.components};return e?(0,o.jsx)(e,{...t,children:(0,o.jsx)(g,{...t})}):g()}},816:(t,e,n)=>{n.d(e,{A:()=>u});var o=n(6540),s=n(6300),a=n(1812),c=n(4848);function u(t){let{dosage:e,config:n,i18nConfig:u}=t;const[r,i]=(0,o.useState)(""),[l,d]=(0,o.useState)(n?.language||"en"),[x,p]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const t=await s.A.build(n,u);p(t)}()}),[n]),(0,o.useEffect)((()=>{!async function(){if(x){const t=x.fromDosageToText(e);i(t)}}()}),[e,x]);return(0,c.jsxs)("div",{children:[(0,c.jsxs)("div",{style:{display:"flex"},children:[(0,c.jsxs)("select",{value:l,onChange:t=>d(t.target.value),style:{marginRight:"10px"},children:[(0,c.jsx)("option",{value:"en",children:"English"}),(0,c.jsx)("option",{value:"fr",children:"French"}),(0,c.jsx)("option",{value:"nl",children:"Dutch"}),(0,c.jsx)("option",{value:"de",children:"German"})]}),(0,c.jsx)("button",{onClick:async()=>{if(x){await x.changeLanguage(l);const t=x.fromDosageToText(e);i(t)}},children:"Confirm"})]}),(0,c.jsx)("div",{style:{marginTop:"10px"},children:(0,c.jsx)(a.default,{language:"markup",children:(f=r,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(e)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(t,e){return String.fromCharCode(parseInt(e,16))})))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/2c4b321a.f3fc9f9a.js b/assets/js/2c4b321a.e0b0dffd.js similarity index 59% rename from assets/js/2c4b321a.f3fc9f9a.js rename to assets/js/2c4b321a.e0b0dffd.js index e7205ca4..d472aa5b 100644 --- a/assets/js/2c4b321a.f3fc9f9a.js +++ b/assets/js/2c4b321a.e0b0dffd.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[585],{7954:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>g,contentTitle:()=>c,default:()=>m,frontMatter:()=>d,metadata:()=>h,toc:()=>p});var s=t(4848),o=t(8453),a=t(1812);const i=JSON.parse('{"timing":{"repeat":{"boundsRange":{"low":{"system":"http://hl7.org/fhir/ValueSet/duration-units","value":3,"code":"d"},"high":{"system":"http://hl7.org/fhir/ValueSet/duration-units","value":5,"code":"d"}}}}}');var r=t(4865),u=t(9365),l=t(816);const d={description:"Low & High",title:"\ud83d\udcd0 boundsDuration (Low & High)"},c=void 0,h={id:"specs/boundsRange/low_and_high",title:"\ud83d\udcd0 boundsDuration (Low & High)",description:"Low & High",source:"@site/docs/specs/boundsRange/low_and_high.mdx",sourceDirName:"specs/boundsRange",slug:"/specs/boundsRange/low_and_high",permalink:"/fhir-dosage-utils/docs/specs/boundsRange/low_and_high",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/boundsRange/low_and_high.mdx",tags:[],version:"current",frontMatter:{description:"Low & High",title:"\ud83d\udcd0 boundsDuration (Low & High)"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udcd0 boundsDuration (High only)",permalink:"/fhir-dosage-utils/docs/specs/boundsRange/high_only"},next:{title:"\ud83d\udcd0 boundsDuration (Low only)",permalink:"/fhir-dosage-utils/docs/specs/boundsRange/low_only"}},g={},p=[];function f(e){const n={a:"a",admonition:"admonition",p:"p",...(0,o.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(r.A,{children:[(0,s.jsx)(u.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(l.A,{dosage:i})}),(0,s.jsx)(u.A,{value:"json",label:"Dosage",children:(0,s.jsx)(a.default,{language:"json",children:JSON.stringify(i,null,2)})})]}),"\n",(0,s.jsx)(n.admonition,{type:"tip",children:(0,s.jsxs)(n.p,{children:["Don't forget you can use ",(0,s.jsx)(n.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function m(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(f,{...e})}):f(e)}},816:(e,n,t)=>{t.d(n,{A:()=>r});var s=t(6540),o=t(6300),a=t(1812),i=t(4848);function r(e){let{dosage:n,config:t}=e;const[r,u]=(0,s.useState)(""),[l,d]=(0,s.useState)(t?.language||"en"),[c,h]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await o.A.build(t);h(e)}()}),[t]),(0,s.useEffect)((()=>{!async function(){if(c){const e=c.fromDosageToText(n);u(e)}}()}),[n,c]);return(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{style:{display:"flex"},children:[(0,i.jsxs)("select",{value:l,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,i.jsx)("option",{value:"en",children:"English"}),(0,i.jsx)("option",{value:"fr",children:"French"}),(0,i.jsx)("option",{value:"nl",children:"Dutch"}),(0,i.jsx)("option",{value:"de",children:"German"})]}),(0,i.jsx)("button",{onClick:async()=>{if(c){await c.changeLanguage(l);const e=c.fromDosageToText(n);u(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(a.default,{language:"markup",children:(g=r,g.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var g}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[585],{7954:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>h,contentTitle:()=>c,default:()=>m,frontMatter:()=>d,metadata:()=>g,toc:()=>p});var s=t(4848),o=t(8453),a=t(1812);const i=JSON.parse('{"timing":{"repeat":{"boundsRange":{"low":{"system":"http://hl7.org/fhir/ValueSet/duration-units","value":3,"code":"d"},"high":{"system":"http://hl7.org/fhir/ValueSet/duration-units","value":5,"code":"d"}}}}}');var r=t(4865),u=t(9365),l=t(816);const d={description:"Low & High",title:"\ud83d\udcd0 boundsDuration (Low & High)"},c=void 0,g={id:"specs/boundsRange/low_and_high",title:"\ud83d\udcd0 boundsDuration (Low & High)",description:"Low & High",source:"@site/docs/specs/boundsRange/low_and_high.mdx",sourceDirName:"specs/boundsRange",slug:"/specs/boundsRange/low_and_high",permalink:"/fhir-dosage-utils/docs/specs/boundsRange/low_and_high",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/boundsRange/low_and_high.mdx",tags:[],version:"current",frontMatter:{description:"Low & High",title:"\ud83d\udcd0 boundsDuration (Low & High)"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udcd0 boundsDuration (High only)",permalink:"/fhir-dosage-utils/docs/specs/boundsRange/high_only"},next:{title:"\ud83d\udcd0 boundsDuration (Low only)",permalink:"/fhir-dosage-utils/docs/specs/boundsRange/low_only"}},h={},p=[];function f(e){const n={a:"a",admonition:"admonition",p:"p",...(0,o.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(r.A,{children:[(0,s.jsx)(u.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(l.A,{dosage:i})}),(0,s.jsx)(u.A,{value:"json",label:"Dosage",children:(0,s.jsx)(a.default,{language:"json",children:JSON.stringify(i,null,2)})})]}),"\n",(0,s.jsx)(n.admonition,{type:"tip",children:(0,s.jsxs)(n.p,{children:["Don't forget you can use ",(0,s.jsx)(n.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function m(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(f,{...e})}):f(e)}},816:(e,n,t)=>{t.d(n,{A:()=>r});var s=t(6540),o=t(6300),a=t(1812),i=t(4848);function r(e){let{dosage:n,config:t,i18nConfig:r}=e;const[u,l]=(0,s.useState)(""),[d,c]=(0,s.useState)(t?.language||"en"),[g,h]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await o.A.build(t,r);h(e)}()}),[t]),(0,s.useEffect)((()=>{!async function(){if(g){const e=g.fromDosageToText(n);l(e)}}()}),[n,g]);return(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{style:{display:"flex"},children:[(0,i.jsxs)("select",{value:d,onChange:e=>c(e.target.value),style:{marginRight:"10px"},children:[(0,i.jsx)("option",{value:"en",children:"English"}),(0,i.jsx)("option",{value:"fr",children:"French"}),(0,i.jsx)("option",{value:"nl",children:"Dutch"}),(0,i.jsx)("option",{value:"de",children:"German"})]}),(0,i.jsx)("button",{onClick:async()=>{if(g){await g.changeLanguage(d);const e=g.fromDosageToText(n);l(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(a.default,{language:"markup",children:(p=u,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/30320f60.0863173f.js b/assets/js/30320f60.0863173f.js new file mode 100644 index 00000000..ec4e40aa --- /dev/null +++ b/assets/js/30320f60.0863173f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[7157],{4807:e=>{e.exports=JSON.parse('[{"label":"features","permalink":"/fhir-dosage-utils/blog/tags/features","count":1},{"label":"welcome","permalink":"/fhir-dosage-utils/blog/tags/welcome","count":1}]')}}]); \ No newline at end of file diff --git a/assets/js/30320f60.ed4f5e87.js b/assets/js/30320f60.ed4f5e87.js deleted file mode 100644 index 7d123646..00000000 --- a/assets/js/30320f60.ed4f5e87.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[7157],{4807:e=>{e.exports=JSON.parse('[{"label":"welcome","permalink":"/fhir-dosage-utils/blog/tags/welcome","count":1}]')}}]); \ No newline at end of file diff --git a/assets/js/3216d4c8.8d3f66b4.js b/assets/js/3216d4c8.bb5edfd9.js similarity index 59% rename from assets/js/3216d4c8.8d3f66b4.js rename to assets/js/3216d4c8.bb5edfd9.js index fbacd4b5..ca119a41 100644 --- a/assets/js/3216d4c8.8d3f66b4.js +++ b/assets/js/3216d4c8.bb5edfd9.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4892],{5614:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>m,contentTitle:()=>u,default:()=>g,frontMatter:()=>l,metadata:()=>h,toc:()=>p});var o=n(4848),s=n(8453),a=n(1812),i=n(5286),r=n(4865),d=n(9365),c=n(816);const l={description:"method",title:"\ud83d\udee0\ufe0f method"},u=void 0,h={id:"specs/method/method",title:"\ud83d\udee0\ufe0f method",description:"method",source:"@site/docs/specs/method/method.mdx",sourceDirName:"specs/method",slug:"/specs/method/",permalink:"/fhir-dosage-utils/docs/specs/method/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/method/method.mdx",tags:[],version:"current",frontMatter:{description:"method",title:"\ud83d\udee0\ufe0f method"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udee0\ufe0f method",permalink:"/fhir-dosage-utils/docs/category/\ufe0f-method"},next:{title:"\ud83d\udd52 offset when",permalink:"/fhir-dosage-utils/docs/category/-offset-when"}},m={},p=[];function f(e){const t={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(r.A,{children:[(0,o.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(c.A,{dosage:i})}),(0,o.jsx)(d.A,{value:"json",label:"Dosage",children:(0,o.jsx)(a.default,{language:"json",children:JSON.stringify(i,null,2)})})]}),"\n",(0,o.jsx)(t.admonition,{type:"tip",children:(0,o.jsxs)(t.p,{children:["Don't forget you can use ",(0,o.jsx)(t.a,{href:"/api/interface/Params",children:"fromCodeableConceptToString"})," option to fit your needs"]})})]})}function g(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(f,{...e})}):f(e)}},816:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(6540),s=n(6300),a=n(1812),i=n(4848);function r(e){let{dosage:t,config:n}=e;const[r,d]=(0,o.useState)(""),[c,l]=(0,o.useState)(n?.language||"en"),[u,h]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await s.A.build(n);h(e)}()}),[n]),(0,o.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(t);d(e)}}()}),[t,u]);return(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{style:{display:"flex"},children:[(0,i.jsxs)("select",{value:c,onChange:e=>l(e.target.value),style:{marginRight:"10px"},children:[(0,i.jsx)("option",{value:"en",children:"English"}),(0,i.jsx)("option",{value:"fr",children:"French"}),(0,i.jsx)("option",{value:"nl",children:"Dutch"}),(0,i.jsx)("option",{value:"de",children:"German"})]}),(0,i.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(c);const e=u.fromDosageToText(t);d(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(a.default,{language:"markup",children:(m=r,m.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var m}},5286:e=>{e.exports=JSON.parse('{"method":{"coding":[{"system":"http://hl7.org/fhir/ValueSet/administration-method-codes","code":"738996007","display":"Spray"}]}}')}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4892],{5614:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>m,contentTitle:()=>u,default:()=>g,frontMatter:()=>l,metadata:()=>h,toc:()=>p});var o=n(4848),s=n(8453),a=n(1812),i=n(5286),r=n(4865),d=n(9365),c=n(816);const l={description:"method",title:"\ud83d\udee0\ufe0f method"},u=void 0,h={id:"specs/method/method",title:"\ud83d\udee0\ufe0f method",description:"method",source:"@site/docs/specs/method/method.mdx",sourceDirName:"specs/method",slug:"/specs/method/",permalink:"/fhir-dosage-utils/docs/specs/method/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/method/method.mdx",tags:[],version:"current",frontMatter:{description:"method",title:"\ud83d\udee0\ufe0f method"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udee0\ufe0f method",permalink:"/fhir-dosage-utils/docs/category/\ufe0f-method"},next:{title:"\ud83d\udd52 offset when",permalink:"/fhir-dosage-utils/docs/category/-offset-when"}},m={},p=[];function f(e){const t={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(r.A,{children:[(0,o.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(c.A,{dosage:i})}),(0,o.jsx)(d.A,{value:"json",label:"Dosage",children:(0,o.jsx)(a.default,{language:"json",children:JSON.stringify(i,null,2)})})]}),"\n",(0,o.jsx)(t.admonition,{type:"tip",children:(0,o.jsxs)(t.p,{children:["Don't forget you can use ",(0,o.jsx)(t.a,{href:"/api/interface/Params",children:"fromCodeableConceptToString"})," option to fit your needs"]})})]})}function g(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(f,{...e})}):f(e)}},816:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(6540),s=n(6300),a=n(1812),i=n(4848);function r(e){let{dosage:t,config:n,i18nConfig:r}=e;const[d,c]=(0,o.useState)(""),[l,u]=(0,o.useState)(n?.language||"en"),[h,m]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await s.A.build(n,r);m(e)}()}),[n]),(0,o.useEffect)((()=>{!async function(){if(h){const e=h.fromDosageToText(t);c(e)}}()}),[t,h]);return(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{style:{display:"flex"},children:[(0,i.jsxs)("select",{value:l,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,i.jsx)("option",{value:"en",children:"English"}),(0,i.jsx)("option",{value:"fr",children:"French"}),(0,i.jsx)("option",{value:"nl",children:"Dutch"}),(0,i.jsx)("option",{value:"de",children:"German"})]}),(0,i.jsx)("button",{onClick:async()=>{if(h){await h.changeLanguage(l);const e=h.fromDosageToText(t);c(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(a.default,{language:"markup",children:(p=d,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var p}},5286:e=>{e.exports=JSON.parse('{"method":{"coding":[{"system":"http://hl7.org/fhir/ValueSet/administration-method-codes","code":"738996007","display":"Spray"}]}}')}}]); \ No newline at end of file diff --git a/assets/js/3663b37e.220c41d3.js b/assets/js/3663b37e.220c41d3.js new file mode 100644 index 00000000..ca72a828 --- /dev/null +++ b/assets/js/3663b37e.220c41d3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9276],{8758:e=>{e.exports=JSON.parse('{"label":"features","permalink":"/fhir-dosage-utils/blog/tags/features","allTagsPath":"/fhir-dosage-utils/blog/tags","count":1,"unlisted":false}')}}]); \ No newline at end of file diff --git a/assets/js/36cdde70.0584777f.js b/assets/js/36cdde70.35912c5d.js similarity index 75% rename from assets/js/36cdde70.0584777f.js rename to assets/js/36cdde70.35912c5d.js index d53a78c8..b39907bc 100644 --- a/assets/js/36cdde70.0584777f.js +++ b/assets/js/36cdde70.35912c5d.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2229],{1027:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>x,frontMatter:()=>l,metadata:()=>m,toc:()=>h});var i=n(4848),o=n(8453),s=n(1812);const r=JSON.parse('[{"sequence":1,"text":"one to two tablets every 4-6 hours as needed for rib pain","additionalInstruction":[{"coding":[{"system":"http://snomed.info/sct","code":"418914006","display":"Warning. May cause drowsiness. If affected do not drive or operate machinery. Avoid alcoholic drink (qualifier value)"}]}],"patientInstruction":"Take one to two tablets every four to six hours as needed for rib pain","timing":{"repeat":{"frequency":1,"period":4,"periodMax":6,"periodUnit":"h"}},"asNeededFor":[{"coding":[{"system":"http://snomed.info/sct","code":"297217002","display":"Rib Pain (finding)"}]}],"route":{"coding":[{"system":"http://snomed.info/sct","code":"26643006","display":"Oral Route"}]},"method":{"coding":[{"system":"http://snomed.info/sct","code":"421521009","display":"Swallow - dosing instruction imperative (qualifier value)"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseRange":{"low":{"value":1,"unit":"TAB","system":"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","code":"TAB"},"high":{"value":2,"unit":"TAB","system":"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","code":"TAB"}}}]}]');var d=n(4865),a=n(9365),c=n(8264);const l={description:"Order with as needed (PRN) dosage with pre-condition - Oxycodone - active with reasonCode, note, dispenseRequest and substitution",title:"medrx0301"},u=void 0,m={id:"examples/medicationrequest/medrx0301",title:"medrx0301",description:"Order with as needed (PRN) dosage with pre-condition - Oxycodone - active with reasonCode, note, dispenseRequest and substitution",source:"@site/docs/examples/medicationrequest/medrx0301.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx0301",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0301",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx0301.mdx",tags:[],version:"current",frontMatter:{description:"Order with as needed (PRN) dosage with pre-condition - Oxycodone - active with reasonCode, note, dispenseRequest and substitution",title:"medrx0301"},sidebar:"tutorialSidebar",previous:{title:"medrx004",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx004"},next:{title:"medrx0302",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0302"}},p={},h=[];function g(e){const t={a:"a",admonition:"admonition",p:"p",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.admonition,{type:"info",children:(0,i.jsxs)(t.p,{children:["Source: ",(0,i.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequest0301.html",children:"HL7"}),' - "Order with as needed (PRN) dosage with pre-condition - Oxycodone - active with reasonCode, note, dispenseRequest and substitution"']})}),"\n",(0,i.jsxs)(d.A,{children:[(0,i.jsx)(a.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(c.A,{dosages:r,config:{}})}),(0,i.jsx)(a.A,{value:"json",label:"Dosage",children:(0,i.jsx)(s.default,{language:"json",children:JSON.stringify(r,null,2)})})]})]})}function x(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(g,{...e})}):g(e)}},8264:(e,t,n)=>{n.d(t,{A:()=>d});var i=n(6540),o=n(6300),s=n(1812),r=n(4848);function d(e){let{dosages:t,config:n}=e;const[d,a]=(0,i.useState)(""),[c,l]=(0,i.useState)(n?.language||"en"),[u,m]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await o.A.build(n);m(e)}()}),[n]),(0,i.useEffect)((()=>{!async function(){if(u){const e=u.fromMultipleDosageToText(t);a(e)}}()}),[t,u]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:c,onChange:e=>l(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(c);const e=u.fromMultipleDosageToText(t);a(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(s.default,{language:"markup",children:(p=d,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var p}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2229],{1027:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>x,frontMatter:()=>l,metadata:()=>m,toc:()=>h});var i=n(4848),o=n(8453),s=n(1812);const r=JSON.parse('[{"sequence":1,"text":"one to two tablets every 4-6 hours as needed for rib pain","additionalInstruction":[{"coding":[{"system":"http://snomed.info/sct","code":"418914006","display":"Warning. May cause drowsiness. If affected do not drive or operate machinery. Avoid alcoholic drink (qualifier value)"}]}],"patientInstruction":"Take one to two tablets every four to six hours as needed for rib pain","timing":{"repeat":{"frequency":1,"period":4,"periodMax":6,"periodUnit":"h"}},"asNeededFor":[{"coding":[{"system":"http://snomed.info/sct","code":"297217002","display":"Rib Pain (finding)"}]}],"route":{"coding":[{"system":"http://snomed.info/sct","code":"26643006","display":"Oral Route"}]},"method":{"coding":[{"system":"http://snomed.info/sct","code":"421521009","display":"Swallow - dosing instruction imperative (qualifier value)"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseRange":{"low":{"value":1,"unit":"TAB","system":"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","code":"TAB"},"high":{"value":2,"unit":"TAB","system":"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","code":"TAB"}}}]}]');var d=n(4865),a=n(9365),c=n(8264);const l={description:"Order with as needed (PRN) dosage with pre-condition - Oxycodone - active with reasonCode, note, dispenseRequest and substitution",title:"medrx0301"},u=void 0,m={id:"examples/medicationrequest/medrx0301",title:"medrx0301",description:"Order with as needed (PRN) dosage with pre-condition - Oxycodone - active with reasonCode, note, dispenseRequest and substitution",source:"@site/docs/examples/medicationrequest/medrx0301.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx0301",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0301",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx0301.mdx",tags:[],version:"current",frontMatter:{description:"Order with as needed (PRN) dosage with pre-condition - Oxycodone - active with reasonCode, note, dispenseRequest and substitution",title:"medrx0301"},sidebar:"tutorialSidebar",previous:{title:"medrx004",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx004"},next:{title:"medrx0302",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0302"}},p={},h=[];function g(e){const t={a:"a",admonition:"admonition",p:"p",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.admonition,{type:"info",children:(0,i.jsxs)(t.p,{children:["Source: ",(0,i.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequest0301.html",children:"HL7"}),' - "Order with as needed (PRN) dosage with pre-condition - Oxycodone - active with reasonCode, note, dispenseRequest and substitution"']})}),"\n",(0,i.jsxs)(d.A,{children:[(0,i.jsx)(a.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(c.A,{dosages:r,config:{}})}),(0,i.jsx)(a.A,{value:"json",label:"Dosage",children:(0,i.jsx)(s.default,{language:"json",children:JSON.stringify(r,null,2)})})]})]})}function x(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(g,{...e})}):g(e)}},8264:(e,t,n)=>{n.d(t,{A:()=>d});var i=n(6540),o=n(6300),s=n(1812),r=n(4848);function d(e){let{dosages:t,config:n,i18nConfig:d}=e;const[a,c]=(0,i.useState)(""),[l,u]=(0,i.useState)(n?.language||"en"),[m,p]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await o.A.build(n,d);p(e)}()}),[n]),(0,i.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);c(e)}}()}),[t,m]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:l,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(m){await m.changeLanguage(l);const e=m.fromMultipleDosageToText(t);c(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(s.default,{language:"markup",children:(h=a,h.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/3766ff12.842bba52.js b/assets/js/3766ff12.fec53e3c.js similarity index 73% rename from assets/js/3766ff12.842bba52.js rename to assets/js/3766ff12.fec53e3c.js index 922c4f0e..64643630 100644 --- a/assets/js/3766ff12.842bba52.js +++ b/assets/js/3766ff12.fec53e3c.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8952],{4184:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>h,contentTitle:()=>u,default:()=>x,frontMatter:()=>c,metadata:()=>m,toc:()=>p});var o=n(4848),s=n(8453),r=n(1812);const i=JSON.parse('[{"sequence":1,"text":"Take 1-2 tablets once daily at bedtime as needed for restless legs","additionalInstruction":[{"text":"Take at bedtime"}],"timing":{"repeat":{"frequency":1,"period":1,"periodUnit":"d"}},"asNeededFor":[{"coding":[{"system":"http://snomed.info/sct","code":"32914008","display":"Restless Legs"}]}],"route":{"coding":[{"system":"http://snomed.info/sct","code":"26643006","display":"Oral Route"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseRange":{"low":{"value":1,"unit":"TAB","system":"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","code":"TAB"},"high":{"value":2,"unit":"TAB","system":"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","code":"TAB"}}}]}]');var a=n(4865),d=n(9365),l=n(8264);const c={description:"Request for Over the Counter Medication - Tylenol PM - with dosage range as needed with pre-condition for use",title:"medrx0310"},u=void 0,m={id:"examples/medicationrequest/medrx0310",title:"medrx0310",description:"Request for Over the Counter Medication - Tylenol PM - with dosage range as needed with pre-condition for use",source:"@site/docs/examples/medicationrequest/medrx0310.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx0310",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0310",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx0310.mdx",tags:[],version:"current",frontMatter:{description:"Request for Over the Counter Medication - Tylenol PM - with dosage range as needed with pre-condition for use",title:"medrx0310"},sidebar:"tutorialSidebar",previous:{title:"medrx0308",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0308"},next:{title:"medrx0313",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0313"}},h={},p=[];function g(e){const t={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.admonition,{type:"info",children:(0,o.jsxs)(t.p,{children:["Source: ",(0,o.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequest0310.html",children:"HL7"}),' - "Request for Over the Counter Medication - Tylenol PM - with dosage range as needed with pre-condition for use"']})}),"\n",(0,o.jsxs)(a.A,{children:[(0,o.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(l.A,{dosages:i,config:{}})}),(0,o.jsx)(d.A,{value:"json",label:"Dosage",children:(0,o.jsx)(r.default,{language:"json",children:JSON.stringify(i,null,2)})})]})]})}function x(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(g,{...e})}):g(e)}},8264:(e,t,n)=>{n.d(t,{A:()=>a});var o=n(6540),s=n(6300),r=n(1812),i=n(4848);function a(e){let{dosages:t,config:n}=e;const[a,d]=(0,o.useState)(""),[l,c]=(0,o.useState)(n?.language||"en"),[u,m]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await s.A.build(n);m(e)}()}),[n]),(0,o.useEffect)((()=>{!async function(){if(u){const e=u.fromMultipleDosageToText(t);d(e)}}()}),[t,u]);return(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{style:{display:"flex"},children:[(0,i.jsxs)("select",{value:l,onChange:e=>c(e.target.value),style:{marginRight:"10px"},children:[(0,i.jsx)("option",{value:"en",children:"English"}),(0,i.jsx)("option",{value:"fr",children:"French"}),(0,i.jsx)("option",{value:"nl",children:"Dutch"}),(0,i.jsx)("option",{value:"de",children:"German"})]}),(0,i.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(l);const e=u.fromMultipleDosageToText(t);d(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(r.default,{language:"markup",children:(h=a,h.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var h}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8952],{4184:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>h,contentTitle:()=>u,default:()=>x,frontMatter:()=>c,metadata:()=>m,toc:()=>p});var o=n(4848),s=n(8453),r=n(1812);const i=JSON.parse('[{"sequence":1,"text":"Take 1-2 tablets once daily at bedtime as needed for restless legs","additionalInstruction":[{"text":"Take at bedtime"}],"timing":{"repeat":{"frequency":1,"period":1,"periodUnit":"d"}},"asNeededFor":[{"coding":[{"system":"http://snomed.info/sct","code":"32914008","display":"Restless Legs"}]}],"route":{"coding":[{"system":"http://snomed.info/sct","code":"26643006","display":"Oral Route"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseRange":{"low":{"value":1,"unit":"TAB","system":"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","code":"TAB"},"high":{"value":2,"unit":"TAB","system":"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","code":"TAB"}}}]}]');var a=n(4865),d=n(9365),l=n(8264);const c={description:"Request for Over the Counter Medication - Tylenol PM - with dosage range as needed with pre-condition for use",title:"medrx0310"},u=void 0,m={id:"examples/medicationrequest/medrx0310",title:"medrx0310",description:"Request for Over the Counter Medication - Tylenol PM - with dosage range as needed with pre-condition for use",source:"@site/docs/examples/medicationrequest/medrx0310.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx0310",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0310",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx0310.mdx",tags:[],version:"current",frontMatter:{description:"Request for Over the Counter Medication - Tylenol PM - with dosage range as needed with pre-condition for use",title:"medrx0310"},sidebar:"tutorialSidebar",previous:{title:"medrx0308",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0308"},next:{title:"medrx0313",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0313"}},h={},p=[];function g(e){const t={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.admonition,{type:"info",children:(0,o.jsxs)(t.p,{children:["Source: ",(0,o.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequest0310.html",children:"HL7"}),' - "Request for Over the Counter Medication - Tylenol PM - with dosage range as needed with pre-condition for use"']})}),"\n",(0,o.jsxs)(a.A,{children:[(0,o.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(l.A,{dosages:i,config:{}})}),(0,o.jsx)(d.A,{value:"json",label:"Dosage",children:(0,o.jsx)(r.default,{language:"json",children:JSON.stringify(i,null,2)})})]})]})}function x(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(g,{...e})}):g(e)}},8264:(e,t,n)=>{n.d(t,{A:()=>a});var o=n(6540),s=n(6300),r=n(1812),i=n(4848);function a(e){let{dosages:t,config:n,i18nConfig:a}=e;const[d,l]=(0,o.useState)(""),[c,u]=(0,o.useState)(n?.language||"en"),[m,h]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await s.A.build(n,a);h(e)}()}),[n]),(0,o.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);l(e)}}()}),[t,m]);return(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{style:{display:"flex"},children:[(0,i.jsxs)("select",{value:c,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,i.jsx)("option",{value:"en",children:"English"}),(0,i.jsx)("option",{value:"fr",children:"French"}),(0,i.jsx)("option",{value:"nl",children:"Dutch"}),(0,i.jsx)("option",{value:"de",children:"German"})]}),(0,i.jsx)("button",{onClick:async()=>{if(m){await m.changeLanguage(c);const e=m.fromMultipleDosageToText(t);l(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(r.default,{language:"markup",children:(p=d,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/38ae24f3.a5591665.js b/assets/js/38ae24f3.a5591665.js new file mode 100644 index 00000000..debb7859 --- /dev/null +++ b/assets/js/38ae24f3.a5591665.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8035],{4229:(n,t,e)=>{e.r(t),e.d(t,{assets:()=>f,contentTitle:()=>d,default:()=>h,frontMatter:()=>l,metadata:()=>x,toc:()=>p});var a=e(4848),o=e(8453),c=e(1812);const s=JSON.parse('{"timing":{"repeat":{"count":1,"countMax":3}}}');var u=e(4865),r=e(9365),i=e(816);const l={description:"count and countMax",title:"\ud83d\udd22 count and countMax"},d=void 0,x={id:"specs/countCountMax/count_and_countMax",title:"\ud83d\udd22 count and countMax",description:"count and countMax",source:"@site/docs/specs/countCountMax/count_and_countMax.mdx",sourceDirName:"specs/countCountMax",slug:"/specs/countCountMax/count_and_countMax",permalink:"/fhir-dosage-utils/docs/specs/countCountMax/count_and_countMax",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/countCountMax/count_and_countMax.mdx",tags:[],version:"current",frontMatter:{description:"count and countMax",title:"\ud83d\udd22 count and countMax"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udd22 countMax (only)",permalink:"/fhir-dosage-utils/docs/specs/countCountMax/countMax_only"},next:{title:"\ud83d\udcc5 dayOfWeek",permalink:"/fhir-dosage-utils/docs/category/-dayofweek"}},f={},p=[];function g(n){return(0,a.jsxs)(u.A,{children:[(0,a.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,a.jsx)(i.A,{dosage:s})}),(0,a.jsx)(r.A,{value:"json",label:"Dosage",children:(0,a.jsx)(c.default,{language:"json",children:JSON.stringify(s,null,2)})})]})}function h(n={}){const{wrapper:t}={...(0,o.R)(),...n.components};return t?(0,a.jsx)(t,{...n,children:(0,a.jsx)(g,{...n})}):g()}},816:(n,t,e)=>{e.d(t,{A:()=>u});var a=e(6540),o=e(6300),c=e(1812),s=e(4848);function u(n){let{dosage:t,config:e,i18nConfig:u}=n;const[r,i]=(0,a.useState)(""),[l,d]=(0,a.useState)(e?.language||"en"),[x,f]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const n=await o.A.build(e,u);f(n)}()}),[e]),(0,a.useEffect)((()=>{!async function(){if(x){const n=x.fromDosageToText(t);i(n)}}()}),[t,x]);return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{style:{display:"flex"},children:[(0,s.jsxs)("select",{value:l,onChange:n=>d(n.target.value),style:{marginRight:"10px"},children:[(0,s.jsx)("option",{value:"en",children:"English"}),(0,s.jsx)("option",{value:"fr",children:"French"}),(0,s.jsx)("option",{value:"nl",children:"Dutch"}),(0,s.jsx)("option",{value:"de",children:"German"})]}),(0,s.jsx)("button",{onClick:async()=>{if(x){await x.changeLanguage(l);const n=x.fromDosageToText(t);i(n)}},children:"Confirm"})]}),(0,s.jsx)("div",{style:{marginTop:"10px"},children:(0,s.jsx)(c.default,{language:"markup",children:(p=r,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(n,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(n,t){return String.fromCharCode(parseInt(t,16))})))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/38ae24f3.d258dbe9.js b/assets/js/38ae24f3.d258dbe9.js deleted file mode 100644 index b8fbce79..00000000 --- a/assets/js/38ae24f3.d258dbe9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8035],{4229:(t,n,e)=>{e.r(n),e.d(n,{assets:()=>f,contentTitle:()=>d,default:()=>h,frontMatter:()=>l,metadata:()=>x,toc:()=>p});var a=e(4848),o=e(8453),c=e(1812);const s=JSON.parse('{"timing":{"repeat":{"count":1,"countMax":3}}}');var u=e(4865),r=e(9365),i=e(816);const l={description:"count and countMax",title:"\ud83d\udd22 count and countMax"},d=void 0,x={id:"specs/countCountMax/count_and_countMax",title:"\ud83d\udd22 count and countMax",description:"count and countMax",source:"@site/docs/specs/countCountMax/count_and_countMax.mdx",sourceDirName:"specs/countCountMax",slug:"/specs/countCountMax/count_and_countMax",permalink:"/fhir-dosage-utils/docs/specs/countCountMax/count_and_countMax",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/countCountMax/count_and_countMax.mdx",tags:[],version:"current",frontMatter:{description:"count and countMax",title:"\ud83d\udd22 count and countMax"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udd22 countMax (only)",permalink:"/fhir-dosage-utils/docs/specs/countCountMax/countMax_only"},next:{title:"\ud83d\udcc5 dayOfWeek",permalink:"/fhir-dosage-utils/docs/category/-dayofweek"}},f={},p=[];function g(t){return(0,a.jsxs)(u.A,{children:[(0,a.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,a.jsx)(i.A,{dosage:s})}),(0,a.jsx)(r.A,{value:"json",label:"Dosage",children:(0,a.jsx)(c.default,{language:"json",children:JSON.stringify(s,null,2)})})]})}function h(t={}){const{wrapper:n}={...(0,o.R)(),...t.components};return n?(0,a.jsx)(n,{...t,children:(0,a.jsx)(g,{...t})}):g()}},816:(t,n,e)=>{e.d(n,{A:()=>u});var a=e(6540),o=e(6300),c=e(1812),s=e(4848);function u(t){let{dosage:n,config:e}=t;const[u,r]=(0,a.useState)(""),[i,l]=(0,a.useState)(e?.language||"en"),[d,x]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const t=await o.A.build(e);x(t)}()}),[e]),(0,a.useEffect)((()=>{!async function(){if(d){const t=d.fromDosageToText(n);r(t)}}()}),[n,d]);return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{style:{display:"flex"},children:[(0,s.jsxs)("select",{value:i,onChange:t=>l(t.target.value),style:{marginRight:"10px"},children:[(0,s.jsx)("option",{value:"en",children:"English"}),(0,s.jsx)("option",{value:"fr",children:"French"}),(0,s.jsx)("option",{value:"nl",children:"Dutch"}),(0,s.jsx)("option",{value:"de",children:"German"})]}),(0,s.jsx)("button",{onClick:async()=>{if(d){await d.changeLanguage(i);const t=d.fromDosageToText(n);r(t)}},children:"Confirm"})]}),(0,s.jsx)("div",{style:{marginTop:"10px"},children:(0,s.jsx)(c.default,{language:"markup",children:(f=u,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(t,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(t,n){return String.fromCharCode(parseInt(n,16))})))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/3903b0d4.2b3f0f1e.js b/assets/js/3903b0d4.c121ad70.js similarity index 63% rename from assets/js/3903b0d4.2b3f0f1e.js rename to assets/js/3903b0d4.c121ad70.js index 4808d95a..5be6d8d4 100644 --- a/assets/js/3903b0d4.2b3f0f1e.js +++ b/assets/js/3903b0d4.c121ad70.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4726],{2129:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>f,contentTitle:()=>u,default:()=>x,frontMatter:()=>l,metadata:()=>p,toc:()=>g});var a=t(4848),n=t(8453),o=t(1812);const d=JSON.parse('{"asNeededFor":[{"text":"reason 1"},{"text":"reason 2"}]}');var r=t(4865),i=t(9365),c=t(816);const l={description:"asNeededFor",title:"\ud83e\uddec asNeededFor"},u=void 0,p={id:"specs/asNeeded/asNeededFor",title:"\ud83e\uddec asNeededFor",description:"asNeededFor",source:"@site/docs/specs/asNeeded/asNeededFor.mdx",sourceDirName:"specs/asNeeded",slug:"/specs/asNeeded/asNeededFor",permalink:"/fhir-dosage-utils/docs/specs/asNeeded/asNeededFor",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/asNeeded/asNeededFor.mdx",tags:[],version:"current",frontMatter:{description:"asNeededFor",title:"\ud83e\uddec asNeededFor"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udccc asNeededCodeableConcept",permalink:"/fhir-dosage-utils/docs/specs/asNeeded/asNeededCodeableConcept"},next:{title:"\ud83d\udd70\ufe0f boundsDuration",permalink:"/fhir-dosage-utils/docs/category/\ufe0f-boundsduration"}},f={},g=[];function h(e){const s={a:"a",admonition:"admonition",p:"p",...(0,n.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(r.A,{children:[(0,a.jsx)(i.A,{value:"text",label:"Human readable text",default:!0,children:(0,a.jsx)(c.A,{dosage:d})}),(0,a.jsx)(i.A,{value:"json",label:"Dosage",children:(0,a.jsx)(o.default,{language:"json",children:JSON.stringify(d,null,2)})})]}),"\n",(0,a.jsx)(s.admonition,{type:"tip",children:(0,a.jsxs)(s.p,{children:["Don't forget you can use ",(0,a.jsx)(s.a,{href:"/api/interface/Params",children:"fromCodeableConceptToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:s}={...(0,n.R)(),...e.components};return s?(0,a.jsx)(s,{...e,children:(0,a.jsx)(h,{...e})}):h(e)}},816:(e,s,t)=>{t.d(s,{A:()=>r});var a=t(6540),n=t(6300),o=t(1812),d=t(4848);function r(e){let{dosage:s,config:t}=e;const[r,i]=(0,a.useState)(""),[c,l]=(0,a.useState)(t?.language||"en"),[u,p]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const e=await n.A.build(t);p(e)}()}),[t]),(0,a.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(s);i(e)}}()}),[s,u]);return(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{style:{display:"flex"},children:[(0,d.jsxs)("select",{value:c,onChange:e=>l(e.target.value),style:{marginRight:"10px"},children:[(0,d.jsx)("option",{value:"en",children:"English"}),(0,d.jsx)("option",{value:"fr",children:"French"}),(0,d.jsx)("option",{value:"nl",children:"Dutch"}),(0,d.jsx)("option",{value:"de",children:"German"})]}),(0,d.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(c);const e=u.fromDosageToText(s);i(e)}},children:"Confirm"})]}),(0,d.jsx)("div",{style:{marginTop:"10px"},children:(0,d.jsx)(o.default,{language:"markup",children:(f=r,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,s){return String.fromCharCode(s)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,s){return String.fromCharCode(parseInt(s,16))})))})})]});var f}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4726],{2129:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>f,contentTitle:()=>u,default:()=>x,frontMatter:()=>l,metadata:()=>p,toc:()=>g});var a=t(4848),n=t(8453),o=t(1812);const d=JSON.parse('{"asNeededFor":[{"text":"reason 1"},{"text":"reason 2"}]}');var r=t(4865),i=t(9365),c=t(816);const l={description:"asNeededFor",title:"\ud83e\uddec asNeededFor"},u=void 0,p={id:"specs/asNeeded/asNeededFor",title:"\ud83e\uddec asNeededFor",description:"asNeededFor",source:"@site/docs/specs/asNeeded/asNeededFor.mdx",sourceDirName:"specs/asNeeded",slug:"/specs/asNeeded/asNeededFor",permalink:"/fhir-dosage-utils/docs/specs/asNeeded/asNeededFor",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/asNeeded/asNeededFor.mdx",tags:[],version:"current",frontMatter:{description:"asNeededFor",title:"\ud83e\uddec asNeededFor"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udccc asNeededCodeableConcept",permalink:"/fhir-dosage-utils/docs/specs/asNeeded/asNeededCodeableConcept"},next:{title:"\ud83d\udd70\ufe0f boundsDuration",permalink:"/fhir-dosage-utils/docs/category/\ufe0f-boundsduration"}},f={},g=[];function h(e){const s={a:"a",admonition:"admonition",p:"p",...(0,n.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(r.A,{children:[(0,a.jsx)(i.A,{value:"text",label:"Human readable text",default:!0,children:(0,a.jsx)(c.A,{dosage:d})}),(0,a.jsx)(i.A,{value:"json",label:"Dosage",children:(0,a.jsx)(o.default,{language:"json",children:JSON.stringify(d,null,2)})})]}),"\n",(0,a.jsx)(s.admonition,{type:"tip",children:(0,a.jsxs)(s.p,{children:["Don't forget you can use ",(0,a.jsx)(s.a,{href:"/api/interface/Params",children:"fromCodeableConceptToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:s}={...(0,n.R)(),...e.components};return s?(0,a.jsx)(s,{...e,children:(0,a.jsx)(h,{...e})}):h(e)}},816:(e,s,t)=>{t.d(s,{A:()=>r});var a=t(6540),n=t(6300),o=t(1812),d=t(4848);function r(e){let{dosage:s,config:t,i18nConfig:r}=e;const[i,c]=(0,a.useState)(""),[l,u]=(0,a.useState)(t?.language||"en"),[p,f]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const e=await n.A.build(t,r);f(e)}()}),[t]),(0,a.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(s);c(e)}}()}),[s,p]);return(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{style:{display:"flex"},children:[(0,d.jsxs)("select",{value:l,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,d.jsx)("option",{value:"en",children:"English"}),(0,d.jsx)("option",{value:"fr",children:"French"}),(0,d.jsx)("option",{value:"nl",children:"Dutch"}),(0,d.jsx)("option",{value:"de",children:"German"})]}),(0,d.jsx)("button",{onClick:async()=>{if(p){await p.changeLanguage(l);const e=p.fromDosageToText(s);c(e)}},children:"Confirm"})]}),(0,d.jsx)("div",{style:{marginTop:"10px"},children:(0,d.jsx)(o.default,{language:"markup",children:(g=i,g.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,s){return String.fromCharCode(s)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,s){return String.fromCharCode(parseInt(s,16))})))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/3d23bc21.5e0bf178.js b/assets/js/3d23bc21.eae29f54.js similarity index 62% rename from assets/js/3d23bc21.5e0bf178.js rename to assets/js/3d23bc21.eae29f54.js index 6ecf1589..f04f7cc1 100644 --- a/assets/js/3d23bc21.5e0bf178.js +++ b/assets/js/3d23bc21.eae29f54.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[85],{8566:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>f,contentTitle:()=>d,default:()=>x,frontMatter:()=>l,metadata:()=>p,toc:()=>g});var s=t(4848),r=t(8453),c=t(1812);const i=JSON.parse('[{"sequence":1,"text":"Instructions 1"},{"sequence":2,"text":"Instructions 2A"},{"sequence":2,"text":"Instructions 2B"}]');var u=t(4865),o=t(9365),a=t(8264);const l={description:"Concurrent instructions",title:"\u27a1\ufe0f sequence (Concurrent instructions)"},d=void 0,p={id:"specs/sequence/concurrent_instructions",title:"\u27a1\ufe0f sequence (Concurrent instructions)",description:"Concurrent instructions",source:"@site/docs/specs/sequence/concurrent_instructions.mdx",sourceDirName:"specs/sequence",slug:"/specs/sequence/concurrent_instructions",permalink:"/fhir-dosage-utils/docs/specs/sequence/concurrent_instructions",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/sequence/concurrent_instructions.mdx",tags:[],version:"current",frontMatter:{description:"Concurrent instructions",title:"\u27a1\ufe0f sequence (Concurrent instructions)"},sidebar:"tutorialSidebar",previous:{title:"\u27a1\ufe0f sequence",permalink:"/fhir-dosage-utils/docs/category/\ufe0f-sequence"},next:{title:"\u27a1\ufe0f sequence (Sequential instructions 1)",permalink:"/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_1"}},f={},g=[];function h(e){return(0,s.jsxs)(u.A,{children:[(0,s.jsx)(o.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(a.A,{dosages:i,config:{displayOrder:["text"]}})}),(0,s.jsx)(o.A,{value:"json",label:"Dosage",children:(0,s.jsx)(c.default,{language:"json",children:JSON.stringify(i,null,2)})})]})}function x(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(h,{...e})}):h()}},8264:(e,n,t)=>{t.d(n,{A:()=>u});var s=t(6540),r=t(6300),c=t(1812),i=t(4848);function u(e){let{dosages:n,config:t}=e;const[u,o]=(0,s.useState)(""),[a,l]=(0,s.useState)(t?.language||"en"),[d,p]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await r.A.build(t);p(e)}()}),[t]),(0,s.useEffect)((()=>{!async function(){if(d){const e=d.fromMultipleDosageToText(n);o(e)}}()}),[n,d]);return(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{style:{display:"flex"},children:[(0,i.jsxs)("select",{value:a,onChange:e=>l(e.target.value),style:{marginRight:"10px"},children:[(0,i.jsx)("option",{value:"en",children:"English"}),(0,i.jsx)("option",{value:"fr",children:"French"}),(0,i.jsx)("option",{value:"nl",children:"Dutch"}),(0,i.jsx)("option",{value:"de",children:"German"})]}),(0,i.jsx)("button",{onClick:async()=>{if(d){await d.changeLanguage(a);const e=d.fromMultipleDosageToText(n);o(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(c.default,{language:"markup",children:(f=u,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var f}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[85],{8566:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>f,contentTitle:()=>d,default:()=>x,frontMatter:()=>l,metadata:()=>p,toc:()=>g});var s=t(4848),r=t(8453),c=t(1812);const i=JSON.parse('[{"sequence":1,"text":"Instructions 1"},{"sequence":2,"text":"Instructions 2A"},{"sequence":2,"text":"Instructions 2B"}]');var u=t(4865),o=t(9365),a=t(8264);const l={description:"Concurrent instructions",title:"\u27a1\ufe0f sequence (Concurrent instructions)"},d=void 0,p={id:"specs/sequence/concurrent_instructions",title:"\u27a1\ufe0f sequence (Concurrent instructions)",description:"Concurrent instructions",source:"@site/docs/specs/sequence/concurrent_instructions.mdx",sourceDirName:"specs/sequence",slug:"/specs/sequence/concurrent_instructions",permalink:"/fhir-dosage-utils/docs/specs/sequence/concurrent_instructions",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/sequence/concurrent_instructions.mdx",tags:[],version:"current",frontMatter:{description:"Concurrent instructions",title:"\u27a1\ufe0f sequence (Concurrent instructions)"},sidebar:"tutorialSidebar",previous:{title:"\u27a1\ufe0f sequence",permalink:"/fhir-dosage-utils/docs/category/\ufe0f-sequence"},next:{title:"\u27a1\ufe0f sequence (Sequential instructions 1)",permalink:"/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_1"}},f={},g=[];function h(e){return(0,s.jsxs)(u.A,{children:[(0,s.jsx)(o.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(a.A,{dosages:i,config:{displayOrder:["text"]}})}),(0,s.jsx)(o.A,{value:"json",label:"Dosage",children:(0,s.jsx)(c.default,{language:"json",children:JSON.stringify(i,null,2)})})]})}function x(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(h,{...e})}):h()}},8264:(e,n,t)=>{t.d(n,{A:()=>u});var s=t(6540),r=t(6300),c=t(1812),i=t(4848);function u(e){let{dosages:n,config:t,i18nConfig:u}=e;const[o,a]=(0,s.useState)(""),[l,d]=(0,s.useState)(t?.language||"en"),[p,f]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await r.A.build(t,u);f(e)}()}),[t]),(0,s.useEffect)((()=>{!async function(){if(p){const e=p.fromMultipleDosageToText(n);a(e)}}()}),[n,p]);return(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{style:{display:"flex"},children:[(0,i.jsxs)("select",{value:l,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,i.jsx)("option",{value:"en",children:"English"}),(0,i.jsx)("option",{value:"fr",children:"French"}),(0,i.jsx)("option",{value:"nl",children:"Dutch"}),(0,i.jsx)("option",{value:"de",children:"German"})]}),(0,i.jsx)("button",{onClick:async()=>{if(p){await p.changeLanguage(l);const e=p.fromMultipleDosageToText(n);a(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(c.default,{language:"markup",children:(g=o,g.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/3f237283.f1d67349.js b/assets/js/3f237283.7120cfd6.js similarity index 64% rename from assets/js/3f237283.f1d67349.js rename to assets/js/3f237283.7120cfd6.js index 614bb286..1dc43d6d 100644 --- a/assets/js/3f237283.f1d67349.js +++ b/assets/js/3f237283.7120cfd6.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2309],{566:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>h,contentTitle:()=>u,default:()=>x,frontMatter:()=>d,metadata:()=>g,toc:()=>p});var a=t(4848),s=t(8453),i=t(1812);const o=JSON.parse('{"doseAndRate":[{"rateRange":{"low":{"value":3,"unit":"pills"},"high":{"value":5,"unit":"pills"}}}]}');var r=t(4865),l=t(9365),c=t(816);const d={description:"Low & High",title:"\u2696\ufe0f rateRange (Low & High)"},u=void 0,g={id:"specs/rateRange/low_and_high",title:"\u2696\ufe0f rateRange (Low & High)",description:"Low & High",source:"@site/docs/specs/rateRange/low_and_high.mdx",sourceDirName:"specs/rateRange",slug:"/specs/rateRange/low_and_high",permalink:"/fhir-dosage-utils/docs/specs/rateRange/low_and_high",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/rateRange/low_and_high.mdx",tags:[],version:"current",frontMatter:{description:"Low & High",title:"\u2696\ufe0f rateRange (Low & High)"},sidebar:"tutorialSidebar",previous:{title:"\u2696\ufe0f rateRange (High only)",permalink:"/fhir-dosage-utils/docs/specs/rateRange/high_only"},next:{title:"\u2696\ufe0f rateRange (Low only)",permalink:"/fhir-dosage-utils/docs/specs/rateRange/low_only"}},h={},p=[];function f(e){const n={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(r.A,{children:[(0,a.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,a.jsx)(c.A,{dosage:o})}),(0,a.jsx)(l.A,{value:"json",label:"Dosage",children:(0,a.jsx)(i.default,{language:"json",children:JSON.stringify(o,null,2)})})]}),"\n",(0,a.jsx)(n.admonition,{type:"tip",children:(0,a.jsxs)(n.p,{children:["Don't forget you can use ",(0,a.jsx)(n.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(f,{...e})}):f(e)}},816:(e,n,t)=>{t.d(n,{A:()=>r});var a=t(6540),s=t(6300),i=t(1812),o=t(4848);function r(e){let{dosage:n,config:t}=e;const[r,l]=(0,a.useState)(""),[c,d]=(0,a.useState)(t?.language||"en"),[u,g]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const e=await s.A.build(t);g(e)}()}),[t]),(0,a.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(n);l(e)}}()}),[n,u]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:c,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,o.jsx)("option",{value:"en",children:"English"}),(0,o.jsx)("option",{value:"fr",children:"French"}),(0,o.jsx)("option",{value:"nl",children:"Dutch"}),(0,o.jsx)("option",{value:"de",children:"German"})]}),(0,o.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(c);const e=u.fromDosageToText(n);l(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(i.default,{language:"markup",children:(h=r,h.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var h}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2309],{566:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>h,contentTitle:()=>u,default:()=>x,frontMatter:()=>d,metadata:()=>g,toc:()=>p});var a=t(4848),s=t(8453),i=t(1812);const o=JSON.parse('{"doseAndRate":[{"rateRange":{"low":{"value":3,"unit":"pills"},"high":{"value":5,"unit":"pills"}}}]}');var r=t(4865),l=t(9365),c=t(816);const d={description:"Low & High",title:"\u2696\ufe0f rateRange (Low & High)"},u=void 0,g={id:"specs/rateRange/low_and_high",title:"\u2696\ufe0f rateRange (Low & High)",description:"Low & High",source:"@site/docs/specs/rateRange/low_and_high.mdx",sourceDirName:"specs/rateRange",slug:"/specs/rateRange/low_and_high",permalink:"/fhir-dosage-utils/docs/specs/rateRange/low_and_high",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/rateRange/low_and_high.mdx",tags:[],version:"current",frontMatter:{description:"Low & High",title:"\u2696\ufe0f rateRange (Low & High)"},sidebar:"tutorialSidebar",previous:{title:"\u2696\ufe0f rateRange (High only)",permalink:"/fhir-dosage-utils/docs/specs/rateRange/high_only"},next:{title:"\u2696\ufe0f rateRange (Low only)",permalink:"/fhir-dosage-utils/docs/specs/rateRange/low_only"}},h={},p=[];function f(e){const n={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(r.A,{children:[(0,a.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,a.jsx)(c.A,{dosage:o})}),(0,a.jsx)(l.A,{value:"json",label:"Dosage",children:(0,a.jsx)(i.default,{language:"json",children:JSON.stringify(o,null,2)})})]}),"\n",(0,a.jsx)(n.admonition,{type:"tip",children:(0,a.jsxs)(n.p,{children:["Don't forget you can use ",(0,a.jsx)(n.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(f,{...e})}):f(e)}},816:(e,n,t)=>{t.d(n,{A:()=>r});var a=t(6540),s=t(6300),i=t(1812),o=t(4848);function r(e){let{dosage:n,config:t,i18nConfig:r}=e;const[l,c]=(0,a.useState)(""),[d,u]=(0,a.useState)(t?.language||"en"),[g,h]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const e=await s.A.build(t,r);h(e)}()}),[t]),(0,a.useEffect)((()=>{!async function(){if(g){const e=g.fromDosageToText(n);c(e)}}()}),[n,g]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:d,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,o.jsx)("option",{value:"en",children:"English"}),(0,o.jsx)("option",{value:"fr",children:"French"}),(0,o.jsx)("option",{value:"nl",children:"Dutch"}),(0,o.jsx)("option",{value:"de",children:"German"})]}),(0,o.jsx)("button",{onClick:async()=>{if(g){await g.changeLanguage(d);const e=g.fromDosageToText(n);c(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(i.default,{language:"markup",children:(p=l,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/3fb26655.3b709f6d.js b/assets/js/3fb26655.8bd48b17.js similarity index 57% rename from assets/js/3fb26655.3b709f6d.js rename to assets/js/3fb26655.8bd48b17.js index 387b6b29..509c3114 100644 --- a/assets/js/3fb26655.3b709f6d.js +++ b/assets/js/3fb26655.8bd48b17.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8678],{1334:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>x,contentTitle:()=>u,default:()=>h,frontMatter:()=>l,metadata:()=>m,toc:()=>p});var o=t(4848),s=t(8453),n=t(1812);const a=JSON.parse('{"maxDosePerPeriod":[{"numerator":{"value":3,"unit":"pills"},"denominator":{"value":5,"unit":"hours"}},{"numerator":{"value":1000,"unit":"mg"},"denominator":{"value":1,"unit":"hour"}}]}');var i=t(4865),d=t(9365),c=t(816);const l={description:"maxDosePerPeriod (R5)",title:"\u23f3 maxDosePerPeriod (R5)"},u=void 0,m={id:"specs/maxDosePerPeriod/r5",title:"\u23f3 maxDosePerPeriod (R5)",description:"maxDosePerPeriod (R5)",source:"@site/docs/specs/maxDosePerPeriod/r5.mdx",sourceDirName:"specs/maxDosePerPeriod",slug:"/specs/maxDosePerPeriod/r5",permalink:"/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r5",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/maxDosePerPeriod/r5.mdx",tags:[],version:"current",frontMatter:{description:"maxDosePerPeriod (R5)",title:"\u23f3 maxDosePerPeriod (R5)"},sidebar:"tutorialSidebar",previous:{title:"\u23f3 maxDosePerPeriod (R4)",permalink:"/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r4"},next:{title:"\ud83d\udee0\ufe0f method",permalink:"/fhir-dosage-utils/docs/category/\ufe0f-method"}},x={},p=[];function f(e){const r={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(i.A,{children:[(0,o.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(c.A,{dosage:a})}),(0,o.jsx)(d.A,{value:"json",label:"Dosage",children:(0,o.jsx)(n.default,{language:"json",children:JSON.stringify(a,null,2)})})]}),"\n",(0,o.jsx)(r.admonition,{type:"tip",children:(0,o.jsxs)(r.p,{children:["Don't forget you can use ",(0,o.jsx)(r.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function h(e={}){const{wrapper:r}={...(0,s.R)(),...e.components};return r?(0,o.jsx)(r,{...e,children:(0,o.jsx)(f,{...e})}):f(e)}},816:(e,r,t)=>{t.d(r,{A:()=>i});var o=t(6540),s=t(6300),n=t(1812),a=t(4848);function i(e){let{dosage:r,config:t}=e;const[i,d]=(0,o.useState)(""),[c,l]=(0,o.useState)(t?.language||"en"),[u,m]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await s.A.build(t);m(e)}()}),[t]),(0,o.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(r);d(e)}}()}),[r,u]);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{style:{display:"flex"},children:[(0,a.jsxs)("select",{value:c,onChange:e=>l(e.target.value),style:{marginRight:"10px"},children:[(0,a.jsx)("option",{value:"en",children:"English"}),(0,a.jsx)("option",{value:"fr",children:"French"}),(0,a.jsx)("option",{value:"nl",children:"Dutch"}),(0,a.jsx)("option",{value:"de",children:"German"})]}),(0,a.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(c);const e=u.fromDosageToText(r);d(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(n.default,{language:"markup",children:(x=i,x.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,r){return String.fromCharCode(r)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,r){return String.fromCharCode(parseInt(r,16))})))})})]});var x}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8678],{1334:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>x,contentTitle:()=>u,default:()=>h,frontMatter:()=>l,metadata:()=>m,toc:()=>p});var o=t(4848),n=t(8453),s=t(1812);const a=JSON.parse('{"maxDosePerPeriod":[{"numerator":{"value":3,"unit":"pills"},"denominator":{"value":5,"unit":"hours"}},{"numerator":{"value":1000,"unit":"mg"},"denominator":{"value":1,"unit":"hour"}}]}');var i=t(4865),d=t(9365),c=t(816);const l={description:"maxDosePerPeriod (R5)",title:"\u23f3 maxDosePerPeriod (R5)"},u=void 0,m={id:"specs/maxDosePerPeriod/r5",title:"\u23f3 maxDosePerPeriod (R5)",description:"maxDosePerPeriod (R5)",source:"@site/docs/specs/maxDosePerPeriod/r5.mdx",sourceDirName:"specs/maxDosePerPeriod",slug:"/specs/maxDosePerPeriod/r5",permalink:"/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r5",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/maxDosePerPeriod/r5.mdx",tags:[],version:"current",frontMatter:{description:"maxDosePerPeriod (R5)",title:"\u23f3 maxDosePerPeriod (R5)"},sidebar:"tutorialSidebar",previous:{title:"\u23f3 maxDosePerPeriod (R4)",permalink:"/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r4"},next:{title:"\ud83d\udee0\ufe0f method",permalink:"/fhir-dosage-utils/docs/category/\ufe0f-method"}},x={},p=[];function f(e){const r={a:"a",admonition:"admonition",p:"p",...(0,n.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(i.A,{children:[(0,o.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(c.A,{dosage:a})}),(0,o.jsx)(d.A,{value:"json",label:"Dosage",children:(0,o.jsx)(s.default,{language:"json",children:JSON.stringify(a,null,2)})})]}),"\n",(0,o.jsx)(r.admonition,{type:"tip",children:(0,o.jsxs)(r.p,{children:["Don't forget you can use ",(0,o.jsx)(r.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function h(e={}){const{wrapper:r}={...(0,n.R)(),...e.components};return r?(0,o.jsx)(r,{...e,children:(0,o.jsx)(f,{...e})}):f(e)}},816:(e,r,t)=>{t.d(r,{A:()=>i});var o=t(6540),n=t(6300),s=t(1812),a=t(4848);function i(e){let{dosage:r,config:t,i18nConfig:i}=e;const[d,c]=(0,o.useState)(""),[l,u]=(0,o.useState)(t?.language||"en"),[m,x]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await n.A.build(t,i);x(e)}()}),[t]),(0,o.useEffect)((()=>{!async function(){if(m){const e=m.fromDosageToText(r);c(e)}}()}),[r,m]);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{style:{display:"flex"},children:[(0,a.jsxs)("select",{value:l,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,a.jsx)("option",{value:"en",children:"English"}),(0,a.jsx)("option",{value:"fr",children:"French"}),(0,a.jsx)("option",{value:"nl",children:"Dutch"}),(0,a.jsx)("option",{value:"de",children:"German"})]}),(0,a.jsx)("button",{onClick:async()=>{if(m){await m.changeLanguage(l);const e=m.fromDosageToText(r);c(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(s.default,{language:"markup",children:(p=d,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,r){return String.fromCharCode(r)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,r){return String.fromCharCode(parseInt(r,16))})))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/40c0f713.ba394e41.js b/assets/js/40c0f713.d3865322.js similarity index 52% rename from assets/js/40c0f713.ba394e41.js rename to assets/js/40c0f713.d3865322.js index 346f9be7..ee9b8f9a 100644 --- a/assets/js/40c0f713.ba394e41.js +++ b/assets/js/40c0f713.d3865322.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[5251],{8531:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>x,frontMatter:()=>u,metadata:()=>g,toc:()=>f});var n=s(4848),r=s(8453),o=s(1812);const a=JSON.parse('{"timing":{"repeat":{"boundsPeriod":{"start":"2015-02-07T13:28:17"}}}}');var i=s(4865),d=s(9365),l=s(816);const u={description:"start only",title:"\u23f3 boundsPeriod (start only)"},c=void 0,g={id:"specs/boundsPeriod/start_only",title:"\u23f3 boundsPeriod (start only)",description:"start only",source:"@site/docs/specs/boundsPeriod/start_only.mdx",sourceDirName:"specs/boundsPeriod",slug:"/specs/boundsPeriod/start_only",permalink:"/fhir-dosage-utils/docs/specs/boundsPeriod/start_only",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/boundsPeriod/start_only.mdx",tags:[],version:"current",frontMatter:{description:"start only",title:"\u23f3 boundsPeriod (start only)"},sidebar:"tutorialSidebar",previous:{title:"\u23f3 boundsPeriod (start & end)",permalink:"/fhir-dosage-utils/docs/specs/boundsPeriod/start_and_end"},next:{title:"\ud83d\udcd0 boundsRange",permalink:"/fhir-dosage-utils/docs/category/-boundsrange"}},p={},f=[];function h(e){return(0,n.jsxs)(i.A,{children:[(0,n.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(l.A,{dosage:a})}),(0,n.jsx)(d.A,{value:"json",label:"Dosage",children:(0,n.jsx)(o.default,{language:"json",children:JSON.stringify(a,null,2)})})]})}function x(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(h,{...e})}):h()}},816:(e,t,s)=>{s.d(t,{A:()=>i});var n=s(6540),r=s(6300),o=s(1812),a=s(4848);function i(e){let{dosage:t,config:s}=e;const[i,d]=(0,n.useState)(""),[l,u]=(0,n.useState)(s?.language||"en"),[c,g]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await r.A.build(s);g(e)}()}),[s]),(0,n.useEffect)((()=>{!async function(){if(c){const e=c.fromDosageToText(t);d(e)}}()}),[t,c]);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{style:{display:"flex"},children:[(0,a.jsxs)("select",{value:l,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,a.jsx)("option",{value:"en",children:"English"}),(0,a.jsx)("option",{value:"fr",children:"French"}),(0,a.jsx)("option",{value:"nl",children:"Dutch"}),(0,a.jsx)("option",{value:"de",children:"German"})]}),(0,a.jsx)("button",{onClick:async()=>{if(c){await c.changeLanguage(l);const e=c.fromDosageToText(t);d(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(o.default,{language:"markup",children:(p=i,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var p}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[5251],{8531:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>x,frontMatter:()=>u,metadata:()=>g,toc:()=>f});var n=s(4848),o=s(8453),r=s(1812);const a=JSON.parse('{"timing":{"repeat":{"boundsPeriod":{"start":"2015-02-07T13:28:17"}}}}');var i=s(4865),d=s(9365),l=s(816);const u={description:"start only",title:"\u23f3 boundsPeriod (start only)"},c=void 0,g={id:"specs/boundsPeriod/start_only",title:"\u23f3 boundsPeriod (start only)",description:"start only",source:"@site/docs/specs/boundsPeriod/start_only.mdx",sourceDirName:"specs/boundsPeriod",slug:"/specs/boundsPeriod/start_only",permalink:"/fhir-dosage-utils/docs/specs/boundsPeriod/start_only",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/boundsPeriod/start_only.mdx",tags:[],version:"current",frontMatter:{description:"start only",title:"\u23f3 boundsPeriod (start only)"},sidebar:"tutorialSidebar",previous:{title:"\u23f3 boundsPeriod (start & end)",permalink:"/fhir-dosage-utils/docs/specs/boundsPeriod/start_and_end"},next:{title:"\ud83d\udcd0 boundsRange",permalink:"/fhir-dosage-utils/docs/category/-boundsrange"}},p={},f=[];function h(e){return(0,n.jsxs)(i.A,{children:[(0,n.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(l.A,{dosage:a})}),(0,n.jsx)(d.A,{value:"json",label:"Dosage",children:(0,n.jsx)(r.default,{language:"json",children:JSON.stringify(a,null,2)})})]})}function x(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(h,{...e})}):h()}},816:(e,t,s)=>{s.d(t,{A:()=>i});var n=s(6540),o=s(6300),r=s(1812),a=s(4848);function i(e){let{dosage:t,config:s,i18nConfig:i}=e;const[d,l]=(0,n.useState)(""),[u,c]=(0,n.useState)(s?.language||"en"),[g,p]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await o.A.build(s,i);p(e)}()}),[s]),(0,n.useEffect)((()=>{!async function(){if(g){const e=g.fromDosageToText(t);l(e)}}()}),[t,g]);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{style:{display:"flex"},children:[(0,a.jsxs)("select",{value:u,onChange:e=>c(e.target.value),style:{marginRight:"10px"},children:[(0,a.jsx)("option",{value:"en",children:"English"}),(0,a.jsx)("option",{value:"fr",children:"French"}),(0,a.jsx)("option",{value:"nl",children:"Dutch"}),(0,a.jsx)("option",{value:"de",children:"German"})]}),(0,a.jsx)("button",{onClick:async()=>{if(g){await g.changeLanguage(u);const e=g.fromDosageToText(t);l(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(r.default,{language:"markup",children:(f=d,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/430bd102.4225414f.js b/assets/js/430bd102.4225414f.js new file mode 100644 index 00000000..2b145381 --- /dev/null +++ b/assets/js/430bd102.4225414f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2485],{4539:(t,n,e)=>{e.r(n),e.d(n,{assets:()=>f,contentTitle:()=>d,default:()=>p,frontMatter:()=>c,metadata:()=>g,toc:()=>m});var i=e(4848),o=e(8453),a=e(1812);const r=JSON.parse('{"doseAndRate":[{"doseQuantity":{"value":"25","system":"http://unitsofmeasure.org","code":"ug"}}]}');var s=e(4865),u=e(9365),l=e(816);const c={description:'Function to turn a quantity unit (e.g UCUM "ml") into a string for humans (e.g "militier")',title:"\ud83d\udccf fromFHIRQuantityUnitToString"},d=void 0,g={id:"custom/fromFHIRQuantityUnitToString",title:"\ud83d\udccf fromFHIRQuantityUnitToString",description:'Function to turn a quantity unit (e.g UCUM "ml") into a string for humans (e.g "militier")',source:"@site/docs/custom/fromFHIRQuantityUnitToString.mdx",sourceDirName:"custom",slug:"/custom/fromFHIRQuantityUnitToString",permalink:"/fhir-dosage-utils/docs/custom/fromFHIRQuantityUnitToString",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/custom/fromFHIRQuantityUnitToString.mdx",tags:[],version:"current",frontMatter:{description:'Function to turn a quantity unit (e.g UCUM "ml") into a string for humans (e.g "militier")',title:"\ud83d\udccf fromFHIRQuantityUnitToString"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udd0c fromExtensionsToString",permalink:"/fhir-dosage-utils/docs/custom/fromExtensionsToString"},next:{title:"\ud83c\udf10 i18nConfig",permalink:"/fhir-dosage-utils/docs/custom/i18nConfig"}},f={},m=[];function h(t){const n={code:"code",pre:"pre",...(0,o.R)(),...t.components};return(0,i.jsxs)(s.A,{children:[(0,i.jsx)(u.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(l.A,{dosage:r,config:{fromFHIRQuantityUnitToString:({quantity:t,language:n})=>`[${n} translation of "${t.code||t.unit}" (${t.system||""})]`}})}),(0,i.jsx)(u.A,{value:"json",label:"Dosage",children:(0,i.jsx)(a.default,{language:"json",children:JSON.stringify(r,null,2)})}),(0,i.jsx)(u.A,{value:"config",label:"Configuration",children:(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-js",children:'{\n fromFHIRQuantityUnitToString: ({ quantity, language }) => {\n let unit = quantity.code || quantity.unit;\n let system = quantity.system || "";\n\n return `[${language} translation of "${unit}" (${system})]`;\n };\n}\n'})})})]})}function p(t={}){const{wrapper:n}={...(0,o.R)(),...t.components};return n?(0,i.jsx)(n,{...t,children:(0,i.jsx)(h,{...t})}):h(t)}},816:(t,n,e)=>{e.d(n,{A:()=>s});var i=e(6540),o=e(6300),a=e(1812),r=e(4848);function s(t){let{dosage:n,config:e,i18nConfig:s}=t;const[u,l]=(0,i.useState)(""),[c,d]=(0,i.useState)(e?.language||"en"),[g,f]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const t=await o.A.build(e,s);f(t)}()}),[e]),(0,i.useEffect)((()=>{!async function(){if(g){const t=g.fromDosageToText(n);l(t)}}()}),[n,g]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:c,onChange:t=>d(t.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(g){await g.changeLanguage(c);const t=g.fromDosageToText(n);l(t)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(a.default,{language:"markup",children:(m=u,m.replace(/"/g,'"').replace(/&#(\d+);/g,(function(t,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(t,n){return String.fromCharCode(parseInt(n,16))})))})})]});var m}}}]); \ No newline at end of file diff --git a/assets/js/430bd102.4628877c.js b/assets/js/430bd102.4628877c.js deleted file mode 100644 index 6f2f4549..00000000 --- a/assets/js/430bd102.4628877c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2485],{4539:(t,n,e)=>{e.r(n),e.d(n,{assets:()=>m,contentTitle:()=>d,default:()=>p,frontMatter:()=>c,metadata:()=>g,toc:()=>f});var i=e(4848),o=e(8453),a=e(1812);const r=JSON.parse('{"doseAndRate":[{"doseQuantity":{"value":"25","system":"http://unitsofmeasure.org","code":"ug"}}]}');var s=e(4865),u=e(9365),l=e(816);const c={description:'Function to turn a quantity unit (e.g UCUM "ml") into a string for humans (e.g "militier")',title:"\ud83d\udccf fromFHIRQuantityUnitToString"},d=void 0,g={id:"custom/fromFHIRQuantityUnitToString",title:"\ud83d\udccf fromFHIRQuantityUnitToString",description:'Function to turn a quantity unit (e.g UCUM "ml") into a string for humans (e.g "militier")',source:"@site/docs/custom/fromFHIRQuantityUnitToString.mdx",sourceDirName:"custom",slug:"/custom/fromFHIRQuantityUnitToString",permalink:"/fhir-dosage-utils/docs/custom/fromFHIRQuantityUnitToString",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/custom/fromFHIRQuantityUnitToString.mdx",tags:[],version:"current",frontMatter:{description:'Function to turn a quantity unit (e.g UCUM "ml") into a string for humans (e.g "militier")',title:"\ud83d\udccf fromFHIRQuantityUnitToString"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udd0c fromExtensionsToString",permalink:"/fhir-dosage-utils/docs/custom/fromExtensionsToString"},next:{title:"\ud83d\uddfa\ufe0f Real word examples",permalink:"/fhir-dosage-utils/docs/demo/examples"}},m={},f=[];function h(t){const n={code:"code",pre:"pre",...(0,o.R)(),...t.components};return(0,i.jsxs)(s.A,{children:[(0,i.jsx)(u.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(l.A,{dosage:r,config:{fromFHIRQuantityUnitToString:({quantity:t,language:n})=>`[${n} translation of "${t.code||t.unit}" (${t.system||""})]`}})}),(0,i.jsx)(u.A,{value:"json",label:"Dosage",children:(0,i.jsx)(a.default,{language:"json",children:JSON.stringify(r,null,2)})}),(0,i.jsx)(u.A,{value:"config",label:"Configuration",children:(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-js",children:'{\n fromFHIRQuantityUnitToString: ({ quantity, language }) => {\n let unit = quantity.code || quantity.unit;\n let system = quantity.system || "";\n\n return `[${language} translation of "${unit}" (${system})]`;\n };\n}\n'})})})]})}function p(t={}){const{wrapper:n}={...(0,o.R)(),...t.components};return n?(0,i.jsx)(n,{...t,children:(0,i.jsx)(h,{...t})}):h(t)}},816:(t,n,e)=>{e.d(n,{A:()=>s});var i=e(6540),o=e(6300),a=e(1812),r=e(4848);function s(t){let{dosage:n,config:e}=t;const[s,u]=(0,i.useState)(""),[l,c]=(0,i.useState)(e?.language||"en"),[d,g]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const t=await o.A.build(e);g(t)}()}),[e]),(0,i.useEffect)((()=>{!async function(){if(d){const t=d.fromDosageToText(n);u(t)}}()}),[n,d]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:l,onChange:t=>c(t.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(d){await d.changeLanguage(l);const t=d.fromDosageToText(n);u(t)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(a.default,{language:"markup",children:(m=s,m.replace(/"/g,'"').replace(/&#(\d+);/g,(function(t,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(t,n){return String.fromCharCode(parseInt(n,16))})))})})]});var m}}}]); \ No newline at end of file diff --git a/assets/js/460a5c5b.fd1c34cc.js b/assets/js/460a5c5b.12220cf3.js similarity index 54% rename from assets/js/460a5c5b.fd1c34cc.js rename to assets/js/460a5c5b.12220cf3.js index 13886153..2b893890 100644 --- a/assets/js/460a5c5b.fd1c34cc.js +++ b/assets/js/460a5c5b.12220cf3.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2453],{2253:(a,n,t)=>{t.r(n),t.d(n,{assets:()=>p,contentTitle:()=>l,default:()=>h,frontMatter:()=>c,metadata:()=>x,toc:()=>f});var e=t(4848),r=t(8453),i=t(1812);const o=JSON.parse('{"timing":{"repeat":{"duration":1,"durationMax":3,"durationUnit":"d"}}}');var u=t(4865),d=t(9365),s=t(816);const c={description:"duration and durationMax",title:"\u23f0 duration and durationMax"},l=void 0,x={id:"specs/durationDurationMax/duration_and_durationMax",title:"\u23f0 duration and durationMax",description:"duration and durationMax",source:"@site/docs/specs/durationDurationMax/duration_and_durationMax.mdx",sourceDirName:"specs/durationDurationMax",slug:"/specs/durationDurationMax/duration_and_durationMax",permalink:"/fhir-dosage-utils/docs/specs/durationDurationMax/duration_and_durationMax",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/durationDurationMax/duration_and_durationMax.mdx",tags:[],version:"current",frontMatter:{description:"duration and durationMax",title:"\u23f0 duration and durationMax"},sidebar:"tutorialSidebar",previous:{title:"\u23f0 durationMax",permalink:"/fhir-dosage-utils/docs/specs/durationDurationMax/durationMax_only"},next:{title:"\u23f0 duration",permalink:"/fhir-dosage-utils/docs/specs/durationDurationMax/duration_only"}},p={},f=[];function g(a){return(0,e.jsxs)(u.A,{children:[(0,e.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,e.jsx)(s.A,{dosage:o})}),(0,e.jsx)(d.A,{value:"json",label:"Dosage",children:(0,e.jsx)(i.default,{language:"json",children:JSON.stringify(o,null,2)})})]})}function h(a={}){const{wrapper:n}={...(0,r.R)(),...a.components};return n?(0,e.jsx)(n,{...a,children:(0,e.jsx)(g,{...a})}):g()}},816:(a,n,t)=>{t.d(n,{A:()=>u});var e=t(6540),r=t(6300),i=t(1812),o=t(4848);function u(a){let{dosage:n,config:t}=a;const[u,d]=(0,e.useState)(""),[s,c]=(0,e.useState)(t?.language||"en"),[l,x]=(0,e.useState)(null);(0,e.useEffect)((()=>{!async function(){const a=await r.A.build(t);x(a)}()}),[t]),(0,e.useEffect)((()=>{!async function(){if(l){const a=l.fromDosageToText(n);d(a)}}()}),[n,l]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:s,onChange:a=>c(a.target.value),style:{marginRight:"10px"},children:[(0,o.jsx)("option",{value:"en",children:"English"}),(0,o.jsx)("option",{value:"fr",children:"French"}),(0,o.jsx)("option",{value:"nl",children:"Dutch"}),(0,o.jsx)("option",{value:"de",children:"German"})]}),(0,o.jsx)("button",{onClick:async()=>{if(l){await l.changeLanguage(s);const a=l.fromDosageToText(n);d(a)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(i.default,{language:"markup",children:(p=u,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(a,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(a,n){return String.fromCharCode(parseInt(n,16))})))})})]});var p}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2453],{2253:(a,n,t)=>{t.r(n),t.d(n,{assets:()=>p,contentTitle:()=>l,default:()=>h,frontMatter:()=>c,metadata:()=>x,toc:()=>f});var e=t(4848),i=t(8453),r=t(1812);const o=JSON.parse('{"timing":{"repeat":{"duration":1,"durationMax":3,"durationUnit":"d"}}}');var u=t(4865),d=t(9365),s=t(816);const c={description:"duration and durationMax",title:"\u23f0 duration and durationMax"},l=void 0,x={id:"specs/durationDurationMax/duration_and_durationMax",title:"\u23f0 duration and durationMax",description:"duration and durationMax",source:"@site/docs/specs/durationDurationMax/duration_and_durationMax.mdx",sourceDirName:"specs/durationDurationMax",slug:"/specs/durationDurationMax/duration_and_durationMax",permalink:"/fhir-dosage-utils/docs/specs/durationDurationMax/duration_and_durationMax",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/durationDurationMax/duration_and_durationMax.mdx",tags:[],version:"current",frontMatter:{description:"duration and durationMax",title:"\u23f0 duration and durationMax"},sidebar:"tutorialSidebar",previous:{title:"\u23f0 durationMax",permalink:"/fhir-dosage-utils/docs/specs/durationDurationMax/durationMax_only"},next:{title:"\u23f0 duration",permalink:"/fhir-dosage-utils/docs/specs/durationDurationMax/duration_only"}},p={},f=[];function g(a){return(0,e.jsxs)(u.A,{children:[(0,e.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,e.jsx)(s.A,{dosage:o})}),(0,e.jsx)(d.A,{value:"json",label:"Dosage",children:(0,e.jsx)(r.default,{language:"json",children:JSON.stringify(o,null,2)})})]})}function h(a={}){const{wrapper:n}={...(0,i.R)(),...a.components};return n?(0,e.jsx)(n,{...a,children:(0,e.jsx)(g,{...a})}):g()}},816:(a,n,t)=>{t.d(n,{A:()=>u});var e=t(6540),i=t(6300),r=t(1812),o=t(4848);function u(a){let{dosage:n,config:t,i18nConfig:u}=a;const[d,s]=(0,e.useState)(""),[c,l]=(0,e.useState)(t?.language||"en"),[x,p]=(0,e.useState)(null);(0,e.useEffect)((()=>{!async function(){const a=await i.A.build(t,u);p(a)}()}),[t]),(0,e.useEffect)((()=>{!async function(){if(x){const a=x.fromDosageToText(n);s(a)}}()}),[n,x]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:c,onChange:a=>l(a.target.value),style:{marginRight:"10px"},children:[(0,o.jsx)("option",{value:"en",children:"English"}),(0,o.jsx)("option",{value:"fr",children:"French"}),(0,o.jsx)("option",{value:"nl",children:"Dutch"}),(0,o.jsx)("option",{value:"de",children:"German"})]}),(0,o.jsx)("button",{onClick:async()=>{if(x){await x.changeLanguage(c);const a=x.fromDosageToText(n);s(a)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(r.default,{language:"markup",children:(f=d,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(a,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(a,n){return String.fromCharCode(parseInt(n,16))})))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/4628893b.26be870a.js b/assets/js/4628893b.6251b86e.js similarity index 69% rename from assets/js/4628893b.26be870a.js rename to assets/js/4628893b.6251b86e.js index 88eaa25e..ebbd73ee 100644 --- a/assets/js/4628893b.26be870a.js +++ b/assets/js/4628893b.6251b86e.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2857],{3433:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>x,frontMatter:()=>c,metadata:()=>m,toc:()=>h});var n=o(4848),s=o(8453),i=o(1812);const r=JSON.parse('[{"sequence":1,"text":"0.25mg PO every 6-12 hours as needed for menses from Jan 15-20, 2015. Do not exceed more than 4mg per day","additionalInstruction":[{"coding":[{"system":"http://snomed.info/sct","code":"418914006","display":"Warning. May cause drowsiness. If affected do not drive or operate machinery. Avoid alcoholic drink (qualifier value)"}]}],"timing":{"repeat":{"boundsPeriod":{"start":"2015-01-15","end":"2015-01-20"},"frequency":1,"period":6,"periodMax":12,"periodUnit":"h"}},"asNeededFor":[{"coding":[{"system":"http://snomed.info/sct","code":"266599000","display":"Dysmenorrhea (disorder)"}]}],"route":{"coding":[{"system":"http://snomed.info/sct","code":"26643006","display":"Oral Route"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":1,"unit":"TAB","system":"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","code":"TAB"}}],"maxDosePerAdministration":{"value":4,"unit":"mg","system":"http://unitsofmeasure.org","code":"mg"}}]');var a=o(4865),d=o(9365),l=o(8264);const c={description:"Order with Dosage with a Pre-Condition - Alprazolam - dosageInstructions includes boundsPeriod with periodMax and asNeededCodeableConcept",title:"medrx0305"},u=void 0,m={id:"examples/medicationrequest/medrx0305",title:"medrx0305",description:"Order with Dosage with a Pre-Condition - Alprazolam - dosageInstructions includes boundsPeriod with periodMax and asNeededCodeableConcept",source:"@site/docs/examples/medicationrequest/medrx0305.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx0305",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0305",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx0305.mdx",tags:[],version:"current",frontMatter:{description:"Order with Dosage with a Pre-Condition - Alprazolam - dosageInstructions includes boundsPeriod with periodMax and asNeededCodeableConcept",title:"medrx0305"},sidebar:"tutorialSidebar",previous:{title:"medrx0303",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0303"},next:{title:"medrx0307",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0307"}},p={},h=[];function g(e){const t={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.admonition,{type:"info",children:(0,n.jsxs)(t.p,{children:["Source: ",(0,n.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequest0305.html",children:"HL7"}),' - "Order with Dosage with a Pre-Condition - Alprazolam - dosageInstructions includes boundsPeriod with periodMax and asNeededCodeableConcept"']})}),"\n",(0,n.jsxs)(a.A,{children:[(0,n.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(l.A,{dosages:r,config:{}})}),(0,n.jsx)(d.A,{value:"json",label:"Dosage",children:(0,n.jsx)(i.default,{language:"json",children:JSON.stringify(r,null,2)})})]})]})}function x(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(g,{...e})}):g(e)}},8264:(e,t,o)=>{o.d(t,{A:()=>a});var n=o(6540),s=o(6300),i=o(1812),r=o(4848);function a(e){let{dosages:t,config:o}=e;const[a,d]=(0,n.useState)(""),[l,c]=(0,n.useState)(o?.language||"en"),[u,m]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await s.A.build(o);m(e)}()}),[o]),(0,n.useEffect)((()=>{!async function(){if(u){const e=u.fromMultipleDosageToText(t);d(e)}}()}),[t,u]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:l,onChange:e=>c(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(l);const e=u.fromMultipleDosageToText(t);d(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(i.default,{language:"markup",children:(p=a,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var p}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2857],{3433:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>x,frontMatter:()=>c,metadata:()=>m,toc:()=>h});var n=o(4848),i=o(8453),s=o(1812);const r=JSON.parse('[{"sequence":1,"text":"0.25mg PO every 6-12 hours as needed for menses from Jan 15-20, 2015. Do not exceed more than 4mg per day","additionalInstruction":[{"coding":[{"system":"http://snomed.info/sct","code":"418914006","display":"Warning. May cause drowsiness. If affected do not drive or operate machinery. Avoid alcoholic drink (qualifier value)"}]}],"timing":{"repeat":{"boundsPeriod":{"start":"2015-01-15","end":"2015-01-20"},"frequency":1,"period":6,"periodMax":12,"periodUnit":"h"}},"asNeededFor":[{"coding":[{"system":"http://snomed.info/sct","code":"266599000","display":"Dysmenorrhea (disorder)"}]}],"route":{"coding":[{"system":"http://snomed.info/sct","code":"26643006","display":"Oral Route"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":1,"unit":"TAB","system":"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","code":"TAB"}}],"maxDosePerAdministration":{"value":4,"unit":"mg","system":"http://unitsofmeasure.org","code":"mg"}}]');var a=o(4865),d=o(9365),l=o(8264);const c={description:"Order with Dosage with a Pre-Condition - Alprazolam - dosageInstructions includes boundsPeriod with periodMax and asNeededCodeableConcept",title:"medrx0305"},u=void 0,m={id:"examples/medicationrequest/medrx0305",title:"medrx0305",description:"Order with Dosage with a Pre-Condition - Alprazolam - dosageInstructions includes boundsPeriod with periodMax and asNeededCodeableConcept",source:"@site/docs/examples/medicationrequest/medrx0305.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx0305",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0305",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx0305.mdx",tags:[],version:"current",frontMatter:{description:"Order with Dosage with a Pre-Condition - Alprazolam - dosageInstructions includes boundsPeriod with periodMax and asNeededCodeableConcept",title:"medrx0305"},sidebar:"tutorialSidebar",previous:{title:"medrx0303",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0303"},next:{title:"medrx0307",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0307"}},p={},h=[];function g(e){const t={a:"a",admonition:"admonition",p:"p",...(0,i.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.admonition,{type:"info",children:(0,n.jsxs)(t.p,{children:["Source: ",(0,n.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequest0305.html",children:"HL7"}),' - "Order with Dosage with a Pre-Condition - Alprazolam - dosageInstructions includes boundsPeriod with periodMax and asNeededCodeableConcept"']})}),"\n",(0,n.jsxs)(a.A,{children:[(0,n.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(l.A,{dosages:r,config:{}})}),(0,n.jsx)(d.A,{value:"json",label:"Dosage",children:(0,n.jsx)(s.default,{language:"json",children:JSON.stringify(r,null,2)})})]})]})}function x(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(g,{...e})}):g(e)}},8264:(e,t,o)=>{o.d(t,{A:()=>a});var n=o(6540),i=o(6300),s=o(1812),r=o(4848);function a(e){let{dosages:t,config:o,i18nConfig:a}=e;const[d,l]=(0,n.useState)(""),[c,u]=(0,n.useState)(o?.language||"en"),[m,p]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await i.A.build(o,a);p(e)}()}),[o]),(0,n.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);l(e)}}()}),[t,m]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:c,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(m){await m.changeLanguage(c);const e=m.fromMultipleDosageToText(t);l(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(s.default,{language:"markup",children:(h=d,h.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/49044b90.fb7e7067.js b/assets/js/49044b90.9d078def.js similarity index 51% rename from assets/js/49044b90.fb7e7067.js rename to assets/js/49044b90.9d078def.js index c7c6eea4..e56e0602 100644 --- a/assets/js/49044b90.fb7e7067.js +++ b/assets/js/49044b90.9d078def.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1659],{2584:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>f,contentTitle:()=>d,default:()=>h,frontMatter:()=>u,metadata:()=>p,toc:()=>m});var i=s(4848),a=s(8453),n=s(1812);const l=JSON.parse('{"timing":{"repeat":{"dayOfWeek":["mon","fri"]}}}');var r=s(4865),o=s(9365),c=s(816);const u={description:"Multiple items",title:"\ud83d\udcc5 Multiple items"},d=void 0,p={id:"specs/dayOfWeek/multiple_items",title:"\ud83d\udcc5 Multiple items",description:"Multiple items",source:"@site/docs/specs/dayOfWeek/multiple_items.mdx",sourceDirName:"specs/dayOfWeek",slug:"/specs/dayOfWeek/multiple_items",permalink:"/fhir-dosage-utils/docs/specs/dayOfWeek/multiple_items",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/dayOfWeek/multiple_items.mdx",tags:[],version:"current",frontMatter:{description:"Multiple items",title:"\ud83d\udcc5 Multiple items"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udcc5 dayOfWeek",permalink:"/fhir-dosage-utils/docs/category/-dayofweek"},next:{title:"\ud83d\udcc5 Single item",permalink:"/fhir-dosage-utils/docs/specs/dayOfWeek/single_item"}},f={},m=[];function g(e){return(0,i.jsxs)(r.A,{children:[(0,i.jsx)(o.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(c.A,{dosage:l})}),(0,i.jsx)(o.A,{value:"json",label:"Dosage",children:(0,i.jsx)(n.default,{language:"json",children:JSON.stringify(l,null,2)})})]})}function h(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(g,{...e})}):g()}},816:(e,t,s)=>{s.d(t,{A:()=>r});var i=s(6540),a=s(6300),n=s(1812),l=s(4848);function r(e){let{dosage:t,config:s}=e;const[r,o]=(0,i.useState)(""),[c,u]=(0,i.useState)(s?.language||"en"),[d,p]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await a.A.build(s);p(e)}()}),[s]),(0,i.useEffect)((()=>{!async function(){if(d){const e=d.fromDosageToText(t);o(e)}}()}),[t,d]);return(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{style:{display:"flex"},children:[(0,l.jsxs)("select",{value:c,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,l.jsx)("option",{value:"en",children:"English"}),(0,l.jsx)("option",{value:"fr",children:"French"}),(0,l.jsx)("option",{value:"nl",children:"Dutch"}),(0,l.jsx)("option",{value:"de",children:"German"})]}),(0,l.jsx)("button",{onClick:async()=>{if(d){await d.changeLanguage(c);const e=d.fromDosageToText(t);o(e)}},children:"Confirm"})]}),(0,l.jsx)("div",{style:{marginTop:"10px"},children:(0,l.jsx)(n.default,{language:"markup",children:(f=r,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var f}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1659],{2584:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>f,contentTitle:()=>d,default:()=>h,frontMatter:()=>u,metadata:()=>p,toc:()=>m});var i=s(4848),n=s(8453),a=s(1812);const l=JSON.parse('{"timing":{"repeat":{"dayOfWeek":["mon","fri"]}}}');var r=s(4865),o=s(9365),c=s(816);const u={description:"Multiple items",title:"\ud83d\udcc5 Multiple items"},d=void 0,p={id:"specs/dayOfWeek/multiple_items",title:"\ud83d\udcc5 Multiple items",description:"Multiple items",source:"@site/docs/specs/dayOfWeek/multiple_items.mdx",sourceDirName:"specs/dayOfWeek",slug:"/specs/dayOfWeek/multiple_items",permalink:"/fhir-dosage-utils/docs/specs/dayOfWeek/multiple_items",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/dayOfWeek/multiple_items.mdx",tags:[],version:"current",frontMatter:{description:"Multiple items",title:"\ud83d\udcc5 Multiple items"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udcc5 dayOfWeek",permalink:"/fhir-dosage-utils/docs/category/-dayofweek"},next:{title:"\ud83d\udcc5 Single item",permalink:"/fhir-dosage-utils/docs/specs/dayOfWeek/single_item"}},f={},m=[];function g(e){return(0,i.jsxs)(r.A,{children:[(0,i.jsx)(o.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(c.A,{dosage:l})}),(0,i.jsx)(o.A,{value:"json",label:"Dosage",children:(0,i.jsx)(a.default,{language:"json",children:JSON.stringify(l,null,2)})})]})}function h(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(g,{...e})}):g()}},816:(e,t,s)=>{s.d(t,{A:()=>r});var i=s(6540),n=s(6300),a=s(1812),l=s(4848);function r(e){let{dosage:t,config:s,i18nConfig:r}=e;const[o,c]=(0,i.useState)(""),[u,d]=(0,i.useState)(s?.language||"en"),[p,f]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await n.A.build(s,r);f(e)}()}),[s]),(0,i.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(t);c(e)}}()}),[t,p]);return(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{style:{display:"flex"},children:[(0,l.jsxs)("select",{value:u,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,l.jsx)("option",{value:"en",children:"English"}),(0,l.jsx)("option",{value:"fr",children:"French"}),(0,l.jsx)("option",{value:"nl",children:"Dutch"}),(0,l.jsx)("option",{value:"de",children:"German"})]}),(0,l.jsx)("button",{onClick:async()=>{if(p){await p.changeLanguage(u);const e=p.fromDosageToText(t);c(e)}},children:"Confirm"})]}),(0,l.jsx)("div",{style:{marginTop:"10px"},children:(0,l.jsx)(a.default,{language:"markup",children:(m=o,m.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var m}}}]); \ No newline at end of file diff --git a/assets/js/4cbe19c8.22e686fd.js b/assets/js/4cbe19c8.aa704a26.js similarity index 62% rename from assets/js/4cbe19c8.22e686fd.js rename to assets/js/4cbe19c8.aa704a26.js index 28757feb..e8490722 100644 --- a/assets/js/4cbe19c8.22e686fd.js +++ b/assets/js/4cbe19c8.aa704a26.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9832],{5311:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>f,contentTitle:()=>d,default:()=>x,frontMatter:()=>l,metadata:()=>p,toc:()=>g});var n=s(4848),i=s(8453),u=s(1812);const a=JSON.parse('[{"text":"Instructions 1"},{"text":"Instructions 2"}]');var c=s(4865),r=s(9365),o=s(8264);const l={description:"Sequential instructions, without sequence",title:"\u27a1\ufe0f sequence (Sequential instructions 2)"},d=void 0,p={id:"specs/sequence/sequential_instructions_2",title:"\u27a1\ufe0f sequence (Sequential instructions 2)",description:"Sequential instructions, without sequence",source:"@site/docs/specs/sequence/sequential_instructions_2.mdx",sourceDirName:"specs/sequence",slug:"/specs/sequence/sequential_instructions_2",permalink:"/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_2",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/sequence/sequential_instructions_2.mdx",tags:[],version:"current",frontMatter:{description:"Sequential instructions, without sequence",title:"\u27a1\ufe0f sequence (Sequential instructions 2)"},sidebar:"tutorialSidebar",previous:{title:"\u27a1\ufe0f sequence (Sequential instructions 1)",permalink:"/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_1"},next:{title:"\ud83d\udccd site",permalink:"/fhir-dosage-utils/docs/category/-site"}},f={},g=[];function h(e){return(0,n.jsxs)(c.A,{children:[(0,n.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(o.A,{dosages:a,config:{displayOrder:["text"]}})}),(0,n.jsx)(r.A,{value:"json",label:"Dosage",children:(0,n.jsx)(u.default,{language:"json",children:JSON.stringify(a,null,2)})})]})}function x(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(h,{...e})}):h()}},8264:(e,t,s)=>{s.d(t,{A:()=>c});var n=s(6540),i=s(6300),u=s(1812),a=s(4848);function c(e){let{dosages:t,config:s}=e;const[c,r]=(0,n.useState)(""),[o,l]=(0,n.useState)(s?.language||"en"),[d,p]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await i.A.build(s);p(e)}()}),[s]),(0,n.useEffect)((()=>{!async function(){if(d){const e=d.fromMultipleDosageToText(t);r(e)}}()}),[t,d]);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{style:{display:"flex"},children:[(0,a.jsxs)("select",{value:o,onChange:e=>l(e.target.value),style:{marginRight:"10px"},children:[(0,a.jsx)("option",{value:"en",children:"English"}),(0,a.jsx)("option",{value:"fr",children:"French"}),(0,a.jsx)("option",{value:"nl",children:"Dutch"}),(0,a.jsx)("option",{value:"de",children:"German"})]}),(0,a.jsx)("button",{onClick:async()=>{if(d){await d.changeLanguage(o);const e=d.fromMultipleDosageToText(t);r(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(u.default,{language:"markup",children:(f=c,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var f}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9832],{5311:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>f,contentTitle:()=>d,default:()=>x,frontMatter:()=>l,metadata:()=>p,toc:()=>g});var n=s(4848),i=s(8453),u=s(1812);const a=JSON.parse('[{"text":"Instructions 1"},{"text":"Instructions 2"}]');var c=s(4865),r=s(9365),o=s(8264);const l={description:"Sequential instructions, without sequence",title:"\u27a1\ufe0f sequence (Sequential instructions 2)"},d=void 0,p={id:"specs/sequence/sequential_instructions_2",title:"\u27a1\ufe0f sequence (Sequential instructions 2)",description:"Sequential instructions, without sequence",source:"@site/docs/specs/sequence/sequential_instructions_2.mdx",sourceDirName:"specs/sequence",slug:"/specs/sequence/sequential_instructions_2",permalink:"/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_2",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/sequence/sequential_instructions_2.mdx",tags:[],version:"current",frontMatter:{description:"Sequential instructions, without sequence",title:"\u27a1\ufe0f sequence (Sequential instructions 2)"},sidebar:"tutorialSidebar",previous:{title:"\u27a1\ufe0f sequence (Sequential instructions 1)",permalink:"/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_1"},next:{title:"\ud83d\udccd site",permalink:"/fhir-dosage-utils/docs/category/-site"}},f={},g=[];function h(e){return(0,n.jsxs)(c.A,{children:[(0,n.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(o.A,{dosages:a,config:{displayOrder:["text"]}})}),(0,n.jsx)(r.A,{value:"json",label:"Dosage",children:(0,n.jsx)(u.default,{language:"json",children:JSON.stringify(a,null,2)})})]})}function x(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(h,{...e})}):h()}},8264:(e,t,s)=>{s.d(t,{A:()=>c});var n=s(6540),i=s(6300),u=s(1812),a=s(4848);function c(e){let{dosages:t,config:s,i18nConfig:c}=e;const[r,o]=(0,n.useState)(""),[l,d]=(0,n.useState)(s?.language||"en"),[p,f]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await i.A.build(s,c);f(e)}()}),[s]),(0,n.useEffect)((()=>{!async function(){if(p){const e=p.fromMultipleDosageToText(t);o(e)}}()}),[t,p]);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{style:{display:"flex"},children:[(0,a.jsxs)("select",{value:l,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,a.jsx)("option",{value:"en",children:"English"}),(0,a.jsx)("option",{value:"fr",children:"French"}),(0,a.jsx)("option",{value:"nl",children:"Dutch"}),(0,a.jsx)("option",{value:"de",children:"German"})]}),(0,a.jsx)("button",{onClick:async()=>{if(p){await p.changeLanguage(l);const e=p.fromMultipleDosageToText(t);o(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(u.default,{language:"markup",children:(g=r,g.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/4e847481.41f2ff68.js b/assets/js/4e847481.ac176639.js similarity index 74% rename from assets/js/4e847481.41f2ff68.js rename to assets/js/4e847481.ac176639.js index 846f1139..a9cb1689 100644 --- a/assets/js/4e847481.41f2ff68.js +++ b/assets/js/4e847481.ac176639.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9646],{3123:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>x,frontMatter:()=>l,metadata:()=>m,toc:()=>h});var s=n(4848),i=n(8453),o=n(1812);const r=JSON.parse('[{"sequence":1,"text":"1 tablet every four hours as needed for pain","additionalInstruction":[{"coding":[{"system":"http://snomed.info/sct","code":"418914006","display":"Warning. May cause drowsiness. If affected do not drive or operate machinery. Avoid alcoholic drink (qualifier value)"}]}],"timing":{"repeat":{"frequency":1,"period":4,"periodUnit":"h"}},"asNeededFor":[{"coding":[{"system":"http://snomed.info/sct","code":"203082005","display":"Fibromyalgia (disorder)"}]}],"route":{"coding":[{"system":"http://snomed.info/sct","code":"26643006","display":"Oral Route"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":1,"unit":"TAB","system":"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","code":"TAB"}}]}]');var d=n(4865),a=n(9365),c=n(8264);const l={description:"Order with as needed (PRN) dosage - Percocet - completed with link to encounter, dispenseRequest and substitution",title:"medrx0307"},u=void 0,m={id:"examples/medicationrequest/medrx0307",title:"medrx0307",description:"Order with as needed (PRN) dosage - Percocet - completed with link to encounter, dispenseRequest and substitution",source:"@site/docs/examples/medicationrequest/medrx0307.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx0307",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0307",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx0307.mdx",tags:[],version:"current",frontMatter:{description:"Order with as needed (PRN) dosage - Percocet - completed with link to encounter, dispenseRequest and substitution",title:"medrx0307"},sidebar:"tutorialSidebar",previous:{title:"medrx0305",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0305"},next:{title:"medrx0308",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0308"}},p={},h=[];function g(e){const t={a:"a",admonition:"admonition",p:"p",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.admonition,{type:"info",children:(0,s.jsxs)(t.p,{children:["Source: ",(0,s.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequest0307.html",children:"HL7"}),' - "Order with as needed (PRN) dosage - Percocet - completed with link to encounter, dispenseRequest and substitution"']})}),"\n",(0,s.jsxs)(d.A,{children:[(0,s.jsx)(a.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(c.A,{dosages:r,config:{}})}),(0,s.jsx)(a.A,{value:"json",label:"Dosage",children:(0,s.jsx)(o.default,{language:"json",children:JSON.stringify(r,null,2)})})]})]})}function x(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(g,{...e})}):g(e)}},8264:(e,t,n)=>{n.d(t,{A:()=>d});var s=n(6540),i=n(6300),o=n(1812),r=n(4848);function d(e){let{dosages:t,config:n}=e;const[d,a]=(0,s.useState)(""),[c,l]=(0,s.useState)(n?.language||"en"),[u,m]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await i.A.build(n);m(e)}()}),[n]),(0,s.useEffect)((()=>{!async function(){if(u){const e=u.fromMultipleDosageToText(t);a(e)}}()}),[t,u]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:c,onChange:e=>l(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(c);const e=u.fromMultipleDosageToText(t);a(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(o.default,{language:"markup",children:(p=d,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var p}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9646],{3123:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>x,frontMatter:()=>l,metadata:()=>m,toc:()=>h});var s=n(4848),i=n(8453),o=n(1812);const r=JSON.parse('[{"sequence":1,"text":"1 tablet every four hours as needed for pain","additionalInstruction":[{"coding":[{"system":"http://snomed.info/sct","code":"418914006","display":"Warning. May cause drowsiness. If affected do not drive or operate machinery. Avoid alcoholic drink (qualifier value)"}]}],"timing":{"repeat":{"frequency":1,"period":4,"periodUnit":"h"}},"asNeededFor":[{"coding":[{"system":"http://snomed.info/sct","code":"203082005","display":"Fibromyalgia (disorder)"}]}],"route":{"coding":[{"system":"http://snomed.info/sct","code":"26643006","display":"Oral Route"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":1,"unit":"TAB","system":"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","code":"TAB"}}]}]');var d=n(4865),a=n(9365),c=n(8264);const l={description:"Order with as needed (PRN) dosage - Percocet - completed with link to encounter, dispenseRequest and substitution",title:"medrx0307"},u=void 0,m={id:"examples/medicationrequest/medrx0307",title:"medrx0307",description:"Order with as needed (PRN) dosage - Percocet - completed with link to encounter, dispenseRequest and substitution",source:"@site/docs/examples/medicationrequest/medrx0307.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx0307",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0307",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx0307.mdx",tags:[],version:"current",frontMatter:{description:"Order with as needed (PRN) dosage - Percocet - completed with link to encounter, dispenseRequest and substitution",title:"medrx0307"},sidebar:"tutorialSidebar",previous:{title:"medrx0305",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0305"},next:{title:"medrx0308",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0308"}},p={},h=[];function g(e){const t={a:"a",admonition:"admonition",p:"p",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.admonition,{type:"info",children:(0,s.jsxs)(t.p,{children:["Source: ",(0,s.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequest0307.html",children:"HL7"}),' - "Order with as needed (PRN) dosage - Percocet - completed with link to encounter, dispenseRequest and substitution"']})}),"\n",(0,s.jsxs)(d.A,{children:[(0,s.jsx)(a.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(c.A,{dosages:r,config:{}})}),(0,s.jsx)(a.A,{value:"json",label:"Dosage",children:(0,s.jsx)(o.default,{language:"json",children:JSON.stringify(r,null,2)})})]})]})}function x(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(g,{...e})}):g(e)}},8264:(e,t,n)=>{n.d(t,{A:()=>d});var s=n(6540),i=n(6300),o=n(1812),r=n(4848);function d(e){let{dosages:t,config:n,i18nConfig:d}=e;const[a,c]=(0,s.useState)(""),[l,u]=(0,s.useState)(n?.language||"en"),[m,p]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await i.A.build(n,d);p(e)}()}),[n]),(0,s.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);c(e)}}()}),[t,m]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:l,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(m){await m.changeLanguage(l);const e=m.fromMultipleDosageToText(t);c(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(o.default,{language:"markup",children:(h=a,h.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/4eb59f15.f14723f4.js b/assets/js/4eb59f15.3a9d224f.js similarity index 50% rename from assets/js/4eb59f15.f14723f4.js rename to assets/js/4eb59f15.3a9d224f.js index 85e523bc..e119da8c 100644 --- a/assets/js/4eb59f15.f14723f4.js +++ b/assets/js/4eb59f15.3a9d224f.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9218],{4353:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>f,contentTitle:()=>u,default:()=>x,frontMatter:()=>c,metadata:()=>m,toc:()=>p});var a=s(4848),n=s(8453),r=s(1812);const i=JSON.parse('[{"sequence":1,"text":"7mg once daily","timing":{"repeat":{"frequency":1,"period":1,"periodUnit":"d"}},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":7,"unit":"mg","system":"http://unitsofmeasure.org","code":"mg"}}]}]');var o=s(4865),d=s(9365),l=s(8264);const c={description:"Request for a Dosage that needs to be dispensed as different strength tablets - Warfarin - active",title:"medrx0331"},u=void 0,m={id:"examples/medicationrequest/medrx0331",title:"medrx0331",description:"Request for a Dosage that needs to be dispensed as different strength tablets - Warfarin - active",source:"@site/docs/examples/medicationrequest/medrx0331.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx0331",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0331",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx0331.mdx",tags:[],version:"current",frontMatter:{description:"Request for a Dosage that needs to be dispensed as different strength tablets - Warfarin - active",title:"medrx0331"},sidebar:"tutorialSidebar",previous:{title:"medrx0321",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0321"},next:{title:"medrx0339",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0339"}},f={},p=[];function g(e){const t={a:"a",admonition:"admonition",p:"p",...(0,n.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(t.admonition,{type:"info",children:(0,a.jsxs)(t.p,{children:["Source: ",(0,a.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequest0331.html",children:"HL7"}),' - "Request for a Dosage that needs to be dispensed as different strength tablets - Warfarin - active"']})}),"\n",(0,a.jsxs)(o.A,{children:[(0,a.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,a.jsx)(l.A,{dosages:i,config:{}})}),(0,a.jsx)(d.A,{value:"json",label:"Dosage",children:(0,a.jsx)(r.default,{language:"json",children:JSON.stringify(i,null,2)})})]})]})}function x(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(g,{...e})}):g(e)}},8264:(e,t,s)=>{s.d(t,{A:()=>o});var a=s(6540),n=s(6300),r=s(1812),i=s(4848);function o(e){let{dosages:t,config:s}=e;const[o,d]=(0,a.useState)(""),[l,c]=(0,a.useState)(s?.language||"en"),[u,m]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const e=await n.A.build(s);m(e)}()}),[s]),(0,a.useEffect)((()=>{!async function(){if(u){const e=u.fromMultipleDosageToText(t);d(e)}}()}),[t,u]);return(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{style:{display:"flex"},children:[(0,i.jsxs)("select",{value:l,onChange:e=>c(e.target.value),style:{marginRight:"10px"},children:[(0,i.jsx)("option",{value:"en",children:"English"}),(0,i.jsx)("option",{value:"fr",children:"French"}),(0,i.jsx)("option",{value:"nl",children:"Dutch"}),(0,i.jsx)("option",{value:"de",children:"German"})]}),(0,i.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(l);const e=u.fromMultipleDosageToText(t);d(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(r.default,{language:"markup",children:(f=o,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var f}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9218],{4353:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>f,contentTitle:()=>u,default:()=>x,frontMatter:()=>c,metadata:()=>m,toc:()=>p});var n=s(4848),a=s(8453),r=s(1812);const i=JSON.parse('[{"sequence":1,"text":"7mg once daily","timing":{"repeat":{"frequency":1,"period":1,"periodUnit":"d"}},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":7,"unit":"mg","system":"http://unitsofmeasure.org","code":"mg"}}]}]');var o=s(4865),d=s(9365),l=s(8264);const c={description:"Request for a Dosage that needs to be dispensed as different strength tablets - Warfarin - active",title:"medrx0331"},u=void 0,m={id:"examples/medicationrequest/medrx0331",title:"medrx0331",description:"Request for a Dosage that needs to be dispensed as different strength tablets - Warfarin - active",source:"@site/docs/examples/medicationrequest/medrx0331.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx0331",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0331",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx0331.mdx",tags:[],version:"current",frontMatter:{description:"Request for a Dosage that needs to be dispensed as different strength tablets - Warfarin - active",title:"medrx0331"},sidebar:"tutorialSidebar",previous:{title:"medrx0321",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0321"},next:{title:"medrx0339",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0339"}},f={},p=[];function g(e){const t={a:"a",admonition:"admonition",p:"p",...(0,a.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.admonition,{type:"info",children:(0,n.jsxs)(t.p,{children:["Source: ",(0,n.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequest0331.html",children:"HL7"}),' - "Request for a Dosage that needs to be dispensed as different strength tablets - Warfarin - active"']})}),"\n",(0,n.jsxs)(o.A,{children:[(0,n.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(l.A,{dosages:i,config:{}})}),(0,n.jsx)(d.A,{value:"json",label:"Dosage",children:(0,n.jsx)(r.default,{language:"json",children:JSON.stringify(i,null,2)})})]})]})}function x(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(g,{...e})}):g(e)}},8264:(e,t,s)=>{s.d(t,{A:()=>o});var n=s(6540),a=s(6300),r=s(1812),i=s(4848);function o(e){let{dosages:t,config:s,i18nConfig:o}=e;const[d,l]=(0,n.useState)(""),[c,u]=(0,n.useState)(s?.language||"en"),[m,f]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await a.A.build(s,o);f(e)}()}),[s]),(0,n.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);l(e)}}()}),[t,m]);return(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{style:{display:"flex"},children:[(0,i.jsxs)("select",{value:c,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,i.jsx)("option",{value:"en",children:"English"}),(0,i.jsx)("option",{value:"fr",children:"French"}),(0,i.jsx)("option",{value:"nl",children:"Dutch"}),(0,i.jsx)("option",{value:"de",children:"German"})]}),(0,i.jsx)("button",{onClick:async()=>{if(m){await m.changeLanguage(c);const e=m.fromMultipleDosageToText(t);l(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(r.default,{language:"markup",children:(p=d,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/4faaf014.9f6e9015.js b/assets/js/4faaf014.011e8c65.js similarity index 77% rename from assets/js/4faaf014.9f6e9015.js rename to assets/js/4faaf014.011e8c65.js index bd7508c0..d8980caf 100644 --- a/assets/js/4faaf014.9f6e9015.js +++ b/assets/js/4faaf014.011e8c65.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6734],{8659:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>f,frontMatter:()=>c,metadata:()=>m,toc:()=>h});var o=n(4848),i=n(8453),s=n(1812);const r=JSON.parse('[{"sequence":1,"text":"Two tablets at once","additionalInstruction":[{"coding":[{"system":"http://snomed.info/sct","code":"311504000","display":"With or after food"}]}],"timing":{"repeat":{"frequency":1,"period":1,"periodUnit":"d"}},"route":{"coding":[{"system":"http://snomed.info/sct","code":"26643006","display":"Oral Route"}]},"method":{"coding":[{"system":"http://snomed.info/sct","code":"421521009","display":"Swallow - dosing instruction imperative (qualifier value)"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":2,"unit":"TAB","system":"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","code":"TAB"}}]},{"sequence":2,"text":"One tablet daily for 4 days","additionalInstruction":[{"coding":[{"system":"http://snomed.info/sct","code":"311504000","display":"With or after food"}]}],"timing":{"repeat":{"boundsDuration":{"value":4,"unit":"days","system":"http://unitsofmeasure.org","code":"d"},"frequency":1,"period":1,"periodUnit":"d"}},"route":{"coding":[{"system":"http://snomed.info/sct","code":"26643006","display":"Oral Route"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":1,"unit":"TAB","system":"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","code":"TAB"}}]}]');var d=n(4865),a=n(9365),l=n(8264);const c={description:"Active Order with link to encounter, reasonCode, note multiple dosage lines, dispenseRequest and substitution - Azithromycin",title:"medrx0302"},u=void 0,m={id:"examples/medicationrequest/medrx0302",title:"medrx0302",description:"Active Order with link to encounter, reasonCode, note multiple dosage lines, dispenseRequest and substitution - Azithromycin",source:"@site/docs/examples/medicationrequest/medrx0302.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx0302",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0302",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx0302.mdx",tags:[],version:"current",frontMatter:{description:"Active Order with link to encounter, reasonCode, note multiple dosage lines, dispenseRequest and substitution - Azithromycin",title:"medrx0302"},sidebar:"tutorialSidebar",previous:{title:"medrx0301",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0301"},next:{title:"medrx0303",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0303"}},p={},h=[];function g(e){const t={a:"a",admonition:"admonition",p:"p",...(0,i.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.admonition,{type:"info",children:(0,o.jsxs)(t.p,{children:["Source: ",(0,o.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequest0302.html",children:"HL7"}),' - "Active Order with link to encounter, reasonCode, note multiple dosage lines, dispenseRequest and substitution - Azithromycin"']})}),"\n",(0,o.jsxs)(d.A,{children:[(0,o.jsx)(a.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(l.A,{dosages:r,config:{}})}),(0,o.jsx)(a.A,{value:"json",label:"Dosage",children:(0,o.jsx)(s.default,{language:"json",children:JSON.stringify(r,null,2)})})]})]})}function f(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(g,{...e})}):g(e)}},8264:(e,t,n)=>{n.d(t,{A:()=>d});var o=n(6540),i=n(6300),s=n(1812),r=n(4848);function d(e){let{dosages:t,config:n}=e;const[d,a]=(0,o.useState)(""),[l,c]=(0,o.useState)(n?.language||"en"),[u,m]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await i.A.build(n);m(e)}()}),[n]),(0,o.useEffect)((()=>{!async function(){if(u){const e=u.fromMultipleDosageToText(t);a(e)}}()}),[t,u]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:l,onChange:e=>c(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(l);const e=u.fromMultipleDosageToText(t);a(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(s.default,{language:"markup",children:(p=d,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var p}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6734],{8659:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>f,frontMatter:()=>c,metadata:()=>m,toc:()=>h});var o=n(4848),i=n(8453),s=n(1812);const r=JSON.parse('[{"sequence":1,"text":"Two tablets at once","additionalInstruction":[{"coding":[{"system":"http://snomed.info/sct","code":"311504000","display":"With or after food"}]}],"timing":{"repeat":{"frequency":1,"period":1,"periodUnit":"d"}},"route":{"coding":[{"system":"http://snomed.info/sct","code":"26643006","display":"Oral Route"}]},"method":{"coding":[{"system":"http://snomed.info/sct","code":"421521009","display":"Swallow - dosing instruction imperative (qualifier value)"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":2,"unit":"TAB","system":"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","code":"TAB"}}]},{"sequence":2,"text":"One tablet daily for 4 days","additionalInstruction":[{"coding":[{"system":"http://snomed.info/sct","code":"311504000","display":"With or after food"}]}],"timing":{"repeat":{"boundsDuration":{"value":4,"unit":"days","system":"http://unitsofmeasure.org","code":"d"},"frequency":1,"period":1,"periodUnit":"d"}},"route":{"coding":[{"system":"http://snomed.info/sct","code":"26643006","display":"Oral Route"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":1,"unit":"TAB","system":"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","code":"TAB"}}]}]');var d=n(4865),a=n(9365),l=n(8264);const c={description:"Active Order with link to encounter, reasonCode, note multiple dosage lines, dispenseRequest and substitution - Azithromycin",title:"medrx0302"},u=void 0,m={id:"examples/medicationrequest/medrx0302",title:"medrx0302",description:"Active Order with link to encounter, reasonCode, note multiple dosage lines, dispenseRequest and substitution - Azithromycin",source:"@site/docs/examples/medicationrequest/medrx0302.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx0302",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0302",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx0302.mdx",tags:[],version:"current",frontMatter:{description:"Active Order with link to encounter, reasonCode, note multiple dosage lines, dispenseRequest and substitution - Azithromycin",title:"medrx0302"},sidebar:"tutorialSidebar",previous:{title:"medrx0301",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0301"},next:{title:"medrx0303",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0303"}},p={},h=[];function g(e){const t={a:"a",admonition:"admonition",p:"p",...(0,i.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.admonition,{type:"info",children:(0,o.jsxs)(t.p,{children:["Source: ",(0,o.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequest0302.html",children:"HL7"}),' - "Active Order with link to encounter, reasonCode, note multiple dosage lines, dispenseRequest and substitution - Azithromycin"']})}),"\n",(0,o.jsxs)(d.A,{children:[(0,o.jsx)(a.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(l.A,{dosages:r,config:{}})}),(0,o.jsx)(a.A,{value:"json",label:"Dosage",children:(0,o.jsx)(s.default,{language:"json",children:JSON.stringify(r,null,2)})})]})]})}function f(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(g,{...e})}):g(e)}},8264:(e,t,n)=>{n.d(t,{A:()=>d});var o=n(6540),i=n(6300),s=n(1812),r=n(4848);function d(e){let{dosages:t,config:n,i18nConfig:d}=e;const[a,l]=(0,o.useState)(""),[c,u]=(0,o.useState)(n?.language||"en"),[m,p]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await i.A.build(n,d);p(e)}()}),[n]),(0,o.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);l(e)}}()}),[t,m]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:c,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(m){await m.changeLanguage(c);const e=m.fromMultipleDosageToText(t);l(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(s.default,{language:"markup",children:(h=a,h.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/533a8e17.5d934a5f.js b/assets/js/533a8e17.5d934a5f.js new file mode 100644 index 00000000..3bbdfea0 --- /dev/null +++ b/assets/js/533a8e17.5d934a5f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1290],{1193:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>f,contentTitle:()=>u,default:()=>h,frontMatter:()=>l,metadata:()=>g,toc:()=>p});var o=n(4848),r=n(8453),i=n(1812),a=n(5286),s=n(4865),c=n(9365),d=n(816);const l={description:'Function to turn a codeable concept (e.g SNOMED CT "311504000") into a string for humans (e.g "With or after food")',title:"\ud83d\udcbb fromCodeableConceptToString"},u=void 0,g={id:"custom/fromCodeableConceptToString",title:"\ud83d\udcbb fromCodeableConceptToString",description:'Function to turn a codeable concept (e.g SNOMED CT "311504000") into a string for humans (e.g "With or after food")',source:"@site/docs/custom/fromCodeableConceptToString.mdx",sourceDirName:"custom",slug:"/custom/fromCodeableConceptToString",permalink:"/fhir-dosage-utils/docs/custom/fromCodeableConceptToString",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/custom/fromCodeableConceptToString.mdx",tags:[],version:"current",frontMatter:{description:'Function to turn a codeable concept (e.g SNOMED CT "311504000") into a string for humans (e.g "With or after food")',title:"\ud83d\udcbb fromCodeableConceptToString"},sidebar:"tutorialSidebar",previous:{title:"\u2796 displaySeparator",permalink:"/fhir-dosage-utils/docs/custom/displaySeparator"},next:{title:"\ud83d\udd0c fromExtensionsToString",permalink:"/fhir-dosage-utils/docs/custom/fromExtensionsToString"}},f={},p=[];function m(e){const t={code:"code",pre:"pre",...(0,r.R)(),...e.components};return(0,o.jsxs)(s.A,{children:[(0,o.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(d.A,{dosage:a,config:{fromCodeableConceptToString:({language:e,code:t})=>{if(void 0===t)return;if(void 0===t.coding||0===t.coding.length)return t.text;let n=t.coding[0];return`${e} translation of ${n.code} (${n.system})`}}})}),(0,o.jsx)(c.A,{value:"json",label:"Dosage",children:(0,o.jsx)(i.default,{language:"json",children:JSON.stringify(a,null,2)})}),(0,o.jsx)(c.A,{value:"config",label:"Configuration",children:(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-js",children:"{\n fromCodeableConceptToString: ({ language, code }) => {\n // If no code, skip it\n if (code === undefined) {\n return undefined;\n }\n // If empty code, return text or undefined\n if (code.coding === undefined || code.coding.length === 0) {\n return code.text;\n }\n\n // Do the magic here ;)\n let firstCode = code.coding[0];\n return `${language} translation of ${firstCode.code} (${firstCode.system})`;\n };\n}\n"})})})]})}function h(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(m,{...e})}):m(e)}},816:(e,t,n)=>{n.d(t,{A:()=>s});var o=n(6540),r=n(6300),i=n(1812),a=n(4848);function s(e){let{dosage:t,config:n,i18nConfig:s}=e;const[c,d]=(0,o.useState)(""),[l,u]=(0,o.useState)(n?.language||"en"),[g,f]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await r.A.build(n,s);f(e)}()}),[n]),(0,o.useEffect)((()=>{!async function(){if(g){const e=g.fromDosageToText(t);d(e)}}()}),[t,g]);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{style:{display:"flex"},children:[(0,a.jsxs)("select",{value:l,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,a.jsx)("option",{value:"en",children:"English"}),(0,a.jsx)("option",{value:"fr",children:"French"}),(0,a.jsx)("option",{value:"nl",children:"Dutch"}),(0,a.jsx)("option",{value:"de",children:"German"})]}),(0,a.jsx)("button",{onClick:async()=>{if(g){await g.changeLanguage(l);const e=g.fromDosageToText(t);d(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(i.default,{language:"markup",children:(p=c,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var p}},5286:e=>{e.exports=JSON.parse('{"method":{"coding":[{"system":"http://hl7.org/fhir/ValueSet/administration-method-codes","code":"738996007","display":"Spray"}]}}')}}]); \ No newline at end of file diff --git a/assets/js/533a8e17.c2752d37.js b/assets/js/533a8e17.c2752d37.js deleted file mode 100644 index aef9175a..00000000 --- a/assets/js/533a8e17.c2752d37.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1290],{1193:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>f,contentTitle:()=>u,default:()=>h,frontMatter:()=>l,metadata:()=>g,toc:()=>m});var o=n(4848),r=n(8453),i=n(1812),a=n(5286),s=n(4865),c=n(9365),d=n(816);const l={description:'Function to turn a codeable concept (e.g SNOMED CT "311504000") into a string for humans (e.g "With or after food")',title:"\ud83d\udcbb fromCodeableConceptToString"},u=void 0,g={id:"custom/fromCodeableConceptToString",title:"\ud83d\udcbb fromCodeableConceptToString",description:'Function to turn a codeable concept (e.g SNOMED CT "311504000") into a string for humans (e.g "With or after food")',source:"@site/docs/custom/fromCodeableConceptToString.mdx",sourceDirName:"custom",slug:"/custom/fromCodeableConceptToString",permalink:"/fhir-dosage-utils/docs/custom/fromCodeableConceptToString",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/custom/fromCodeableConceptToString.mdx",tags:[],version:"current",frontMatter:{description:'Function to turn a codeable concept (e.g SNOMED CT "311504000") into a string for humans (e.g "With or after food")',title:"\ud83d\udcbb fromCodeableConceptToString"},sidebar:"tutorialSidebar",previous:{title:"\ud83c\udf89 dateTimeFormatOptions",permalink:"/fhir-dosage-utils/docs/custom/dateTimeFormatOptions"},next:{title:"\ud83d\udd0c fromExtensionsToString",permalink:"/fhir-dosage-utils/docs/custom/fromExtensionsToString"}},f={},m=[];function p(e){const t={code:"code",pre:"pre",...(0,r.R)(),...e.components};return(0,o.jsxs)(s.A,{children:[(0,o.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(d.A,{dosage:a,config:{fromCodeableConceptToString:({language:e,code:t})=>{if(void 0===t)return;if(void 0===t.coding||0===t.coding.length)return t.text;let n=t.coding[0];return`${e} translation of ${n.code} (${n.system})`}}})}),(0,o.jsx)(c.A,{value:"json",label:"Dosage",children:(0,o.jsx)(i.default,{language:"json",children:JSON.stringify(a,null,2)})}),(0,o.jsx)(c.A,{value:"config",label:"Configuration",children:(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-js",children:"{\n fromCodeableConceptToString: ({ language, code }) => {\n // If no code, skip it\n if (code === undefined) {\n return undefined;\n }\n // If empty code, return text or undefined\n if (code.coding === undefined || code.coding.length === 0) {\n return code.text;\n }\n\n // Do the magic here ;)\n let firstCode = code.coding[0];\n return `${language} translation of ${firstCode.code} (${firstCode.system})`;\n };\n}\n"})})})]})}function h(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(p,{...e})}):p(e)}},816:(e,t,n)=>{n.d(t,{A:()=>s});var o=n(6540),r=n(6300),i=n(1812),a=n(4848);function s(e){let{dosage:t,config:n}=e;const[s,c]=(0,o.useState)(""),[d,l]=(0,o.useState)(n?.language||"en"),[u,g]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await r.A.build(n);g(e)}()}),[n]),(0,o.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(t);c(e)}}()}),[t,u]);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{style:{display:"flex"},children:[(0,a.jsxs)("select",{value:d,onChange:e=>l(e.target.value),style:{marginRight:"10px"},children:[(0,a.jsx)("option",{value:"en",children:"English"}),(0,a.jsx)("option",{value:"fr",children:"French"}),(0,a.jsx)("option",{value:"nl",children:"Dutch"}),(0,a.jsx)("option",{value:"de",children:"German"})]}),(0,a.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(d);const e=u.fromDosageToText(t);c(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(i.default,{language:"markup",children:(f=s,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var f}},5286:e=>{e.exports=JSON.parse('{"method":{"coding":[{"system":"http://hl7.org/fhir/ValueSet/administration-method-codes","code":"738996007","display":"Spray"}]}}')}}]); \ No newline at end of file diff --git a/assets/js/55373fd9.1a968f99.js b/assets/js/55373fd9.1a968f99.js new file mode 100644 index 00000000..02931c64 --- /dev/null +++ b/assets/js/55373fd9.1a968f99.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[5461],{542:(e,s,a)=>{a.r(s),a.d(s,{assets:()=>f,contentTitle:()=>u,default:()=>x,frontMatter:()=>c,metadata:()=>p,toc:()=>g});var n=a(4848),t=a(8453),d=a(1812);const o=JSON.parse('{"asNeededBoolean":true}');var r=a(4865),l=a(9365),i=a(816);const c={description:"asNeededBoolean",title:"\u2705 asNeededBoolean"},u=void 0,p={id:"specs/asNeeded/asNeededBoolean",title:"\u2705 asNeededBoolean",description:"asNeededBoolean",source:"@site/docs/specs/asNeeded/asNeededBoolean.mdx",sourceDirName:"specs/asNeeded",slug:"/specs/asNeeded/asNeededBoolean",permalink:"/fhir-dosage-utils/docs/specs/asNeeded/asNeededBoolean",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/asNeeded/asNeededBoolean.mdx",tags:[],version:"current",frontMatter:{description:"asNeededBoolean",title:"\u2705 asNeededBoolean"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udccc asNeeded",permalink:"/fhir-dosage-utils/docs/specs/asNeeded/"},next:{title:"\ud83d\udccc asNeededCodeableConcept",permalink:"/fhir-dosage-utils/docs/specs/asNeeded/asNeededCodeableConcept"}},f={},g=[];function h(e){return(0,n.jsxs)(r.A,{children:[(0,n.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(i.A,{dosage:o})}),(0,n.jsx)(l.A,{value:"json",label:"Dosage",children:(0,n.jsx)(d.default,{language:"json",children:JSON.stringify(o,null,2)})})]})}function x(e={}){const{wrapper:s}={...(0,t.R)(),...e.components};return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(h,{...e})}):h()}},816:(e,s,a)=>{a.d(s,{A:()=>r});var n=a(6540),t=a(6300),d=a(1812),o=a(4848);function r(e){let{dosage:s,config:a,i18nConfig:r}=e;const[l,i]=(0,n.useState)(""),[c,u]=(0,n.useState)(a?.language||"en"),[p,f]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await t.A.build(a,r);f(e)}()}),[a]),(0,n.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(s);i(e)}}()}),[s,p]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:c,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,o.jsx)("option",{value:"en",children:"English"}),(0,o.jsx)("option",{value:"fr",children:"French"}),(0,o.jsx)("option",{value:"nl",children:"Dutch"}),(0,o.jsx)("option",{value:"de",children:"German"})]}),(0,o.jsx)("button",{onClick:async()=>{if(p){await p.changeLanguage(c);const e=p.fromDosageToText(s);i(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(d.default,{language:"markup",children:(g=l,g.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,s){return String.fromCharCode(s)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,s){return String.fromCharCode(parseInt(s,16))})))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/55373fd9.629c28e0.js b/assets/js/55373fd9.629c28e0.js deleted file mode 100644 index f88d2e22..00000000 --- a/assets/js/55373fd9.629c28e0.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[5461],{542:(e,s,a)=>{a.r(s),a.d(s,{assets:()=>f,contentTitle:()=>u,default:()=>x,frontMatter:()=>c,metadata:()=>p,toc:()=>g});var t=a(4848),n=a(8453),d=a(1812);const o=JSON.parse('{"asNeededBoolean":true}');var r=a(4865),l=a(9365),i=a(816);const c={description:"asNeededBoolean",title:"\u2705 asNeededBoolean"},u=void 0,p={id:"specs/asNeeded/asNeededBoolean",title:"\u2705 asNeededBoolean",description:"asNeededBoolean",source:"@site/docs/specs/asNeeded/asNeededBoolean.mdx",sourceDirName:"specs/asNeeded",slug:"/specs/asNeeded/asNeededBoolean",permalink:"/fhir-dosage-utils/docs/specs/asNeeded/asNeededBoolean",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/asNeeded/asNeededBoolean.mdx",tags:[],version:"current",frontMatter:{description:"asNeededBoolean",title:"\u2705 asNeededBoolean"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udccc asNeeded",permalink:"/fhir-dosage-utils/docs/specs/asNeeded/"},next:{title:"\ud83d\udccc asNeededCodeableConcept",permalink:"/fhir-dosage-utils/docs/specs/asNeeded/asNeededCodeableConcept"}},f={},g=[];function h(e){return(0,t.jsxs)(r.A,{children:[(0,t.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,t.jsx)(i.A,{dosage:o})}),(0,t.jsx)(l.A,{value:"json",label:"Dosage",children:(0,t.jsx)(d.default,{language:"json",children:JSON.stringify(o,null,2)})})]})}function x(e={}){const{wrapper:s}={...(0,n.R)(),...e.components};return s?(0,t.jsx)(s,{...e,children:(0,t.jsx)(h,{...e})}):h()}},816:(e,s,a)=>{a.d(s,{A:()=>r});var t=a(6540),n=a(6300),d=a(1812),o=a(4848);function r(e){let{dosage:s,config:a}=e;const[r,l]=(0,t.useState)(""),[i,c]=(0,t.useState)(a?.language||"en"),[u,p]=(0,t.useState)(null);(0,t.useEffect)((()=>{!async function(){const e=await n.A.build(a);p(e)}()}),[a]),(0,t.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(s);l(e)}}()}),[s,u]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:i,onChange:e=>c(e.target.value),style:{marginRight:"10px"},children:[(0,o.jsx)("option",{value:"en",children:"English"}),(0,o.jsx)("option",{value:"fr",children:"French"}),(0,o.jsx)("option",{value:"nl",children:"Dutch"}),(0,o.jsx)("option",{value:"de",children:"German"})]}),(0,o.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(i);const e=u.fromDosageToText(s);l(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(d.default,{language:"markup",children:(f=r,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,s){return String.fromCharCode(s)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,s){return String.fromCharCode(parseInt(s,16))})))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/5c2c208f.c4ee040e.js b/assets/js/5c2c208f.07810b1e.js similarity index 51% rename from assets/js/5c2c208f.c4ee040e.js rename to assets/js/5c2c208f.07810b1e.js index 1d402c70..2fbd5309 100644 --- a/assets/js/5c2c208f.c4ee040e.js +++ b/assets/js/5c2c208f.07810b1e.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3970],{5269:(e,s,a)=>{a.r(s),a.d(s,{assets:()=>p,contentTitle:()=>u,default:()=>x,frontMatter:()=>l,metadata:()=>f,toc:()=>g});var t=a(4848),n=a(8453),d=a(1812);const r={asNeeded:!0};var i=a(4865),o=a(9365),c=a(816);const l={description:"asNeeded",title:"\ud83d\udccc asNeeded"},u=void 0,f={id:"specs/asNeeded/asNeeded",title:"\ud83d\udccc asNeeded",description:"asNeeded",source:"@site/docs/specs/asNeeded/asNeeded.mdx",sourceDirName:"specs/asNeeded",slug:"/specs/asNeeded/",permalink:"/fhir-dosage-utils/docs/specs/asNeeded/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/asNeeded/asNeeded.mdx",tags:[],version:"current",frontMatter:{description:"asNeeded",title:"\ud83d\udccc asNeeded"},sidebar:"tutorialSidebar",previous:{title:"\u2753 asNeeded",permalink:"/fhir-dosage-utils/docs/category/-asneeded"},next:{title:"\u2705 asNeededBoolean",permalink:"/fhir-dosage-utils/docs/specs/asNeeded/asNeededBoolean"}},p={},g=[];function h(e){return(0,t.jsxs)(i.A,{children:[(0,t.jsx)(o.A,{value:"text",label:"Human readable text",default:!0,children:(0,t.jsx)(c.A,{dosage:r})}),(0,t.jsx)(o.A,{value:"json",label:"Dosage",children:(0,t.jsx)(d.default,{language:"json",children:JSON.stringify(r,null,2)})})]})}function x(e={}){const{wrapper:s}={...(0,n.R)(),...e.components};return s?(0,t.jsx)(s,{...e,children:(0,t.jsx)(h,{...e})}):h()}},816:(e,s,a)=>{a.d(s,{A:()=>i});var t=a(6540),n=a(6300),d=a(1812),r=a(4848);function i(e){let{dosage:s,config:a}=e;const[i,o]=(0,t.useState)(""),[c,l]=(0,t.useState)(a?.language||"en"),[u,f]=(0,t.useState)(null);(0,t.useEffect)((()=>{!async function(){const e=await n.A.build(a);f(e)}()}),[a]),(0,t.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(s);o(e)}}()}),[s,u]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:c,onChange:e=>l(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(c);const e=u.fromDosageToText(s);o(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(d.default,{language:"markup",children:(p=i,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,s){return String.fromCharCode(s)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,s){return String.fromCharCode(parseInt(s,16))})))})})]});var p}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3970],{5269:(e,s,a)=>{a.r(s),a.d(s,{assets:()=>g,contentTitle:()=>u,default:()=>x,frontMatter:()=>l,metadata:()=>f,toc:()=>p});var t=a(4848),n=a(8453),d=a(1812);const r={asNeeded:!0};var i=a(4865),o=a(9365),c=a(816);const l={description:"asNeeded",title:"\ud83d\udccc asNeeded"},u=void 0,f={id:"specs/asNeeded/asNeeded",title:"\ud83d\udccc asNeeded",description:"asNeeded",source:"@site/docs/specs/asNeeded/asNeeded.mdx",sourceDirName:"specs/asNeeded",slug:"/specs/asNeeded/",permalink:"/fhir-dosage-utils/docs/specs/asNeeded/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/asNeeded/asNeeded.mdx",tags:[],version:"current",frontMatter:{description:"asNeeded",title:"\ud83d\udccc asNeeded"},sidebar:"tutorialSidebar",previous:{title:"\u2753 asNeeded",permalink:"/fhir-dosage-utils/docs/category/-asneeded"},next:{title:"\u2705 asNeededBoolean",permalink:"/fhir-dosage-utils/docs/specs/asNeeded/asNeededBoolean"}},g={},p=[];function h(e){return(0,t.jsxs)(i.A,{children:[(0,t.jsx)(o.A,{value:"text",label:"Human readable text",default:!0,children:(0,t.jsx)(c.A,{dosage:r})}),(0,t.jsx)(o.A,{value:"json",label:"Dosage",children:(0,t.jsx)(d.default,{language:"json",children:JSON.stringify(r,null,2)})})]})}function x(e={}){const{wrapper:s}={...(0,n.R)(),...e.components};return s?(0,t.jsx)(s,{...e,children:(0,t.jsx)(h,{...e})}):h()}},816:(e,s,a)=>{a.d(s,{A:()=>i});var t=a(6540),n=a(6300),d=a(1812),r=a(4848);function i(e){let{dosage:s,config:a,i18nConfig:i}=e;const[o,c]=(0,t.useState)(""),[l,u]=(0,t.useState)(a?.language||"en"),[f,g]=(0,t.useState)(null);(0,t.useEffect)((()=>{!async function(){const e=await n.A.build(a,i);g(e)}()}),[a]),(0,t.useEffect)((()=>{!async function(){if(f){const e=f.fromDosageToText(s);c(e)}}()}),[s,f]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:l,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(f){await f.changeLanguage(l);const e=f.fromDosageToText(s);c(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(d.default,{language:"markup",children:(p=o,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,s){return String.fromCharCode(s)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,s){return String.fromCharCode(parseInt(s,16))})))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/5f46c019.5ee38f4e.js b/assets/js/5f46c019.5ee38f4e.js new file mode 100644 index 00000000..05c23b55 --- /dev/null +++ b/assets/js/5f46c019.5ee38f4e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9059],{7133:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>f,contentTitle:()=>d,default:()=>x,frontMatter:()=>l,metadata:()=>p,toc:()=>g});var o=n(4848),r=n(8453),s=n(1812);const a=JSON.parse('{"route":{"coding":[{"system":"http://hl7.org/fhir/ValueSet/route-codes","code":"26643006","display":"Oral route"}]}}');var i=n(4865),c=n(9365),u=n(816);const l={description:"route",title:"\ud83d\udee3\ufe0f route"},d=void 0,p={id:"specs/route/route",title:"\ud83d\udee3\ufe0f route",description:"route",source:"@site/docs/specs/route/route.mdx",sourceDirName:"specs/route",slug:"/specs/route/",permalink:"/fhir-dosage-utils/docs/specs/route/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/route/route.mdx",tags:[],version:"current",frontMatter:{description:"route",title:"\ud83d\udee3\ufe0f route"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udee3\ufe0f route",permalink:"/fhir-dosage-utils/docs/category/\ufe0f-route"},next:{title:"\u27a1\ufe0f sequence",permalink:"/fhir-dosage-utils/docs/category/\ufe0f-sequence"}},f={},g=[];function h(e){const t={a:"a",admonition:"admonition",p:"p",...(0,r.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(i.A,{children:[(0,o.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(u.A,{dosage:a})}),(0,o.jsx)(c.A,{value:"json",label:"Dosage",children:(0,o.jsx)(s.default,{language:"json",children:JSON.stringify(a,null,2)})})]}),"\n",(0,o.jsx)(t.admonition,{type:"tip",children:(0,o.jsxs)(t.p,{children:["Don't forget you can use ",(0,o.jsx)(t.a,{href:"/api/interface/Params",children:"fromCodeableConceptToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(h,{...e})}):h(e)}},816:(e,t,n)=>{n.d(t,{A:()=>i});var o=n(6540),r=n(6300),s=n(1812),a=n(4848);function i(e){let{dosage:t,config:n,i18nConfig:i}=e;const[c,u]=(0,o.useState)(""),[l,d]=(0,o.useState)(n?.language||"en"),[p,f]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await r.A.build(n,i);f(e)}()}),[n]),(0,o.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(t);u(e)}}()}),[t,p]);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{style:{display:"flex"},children:[(0,a.jsxs)("select",{value:l,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,a.jsx)("option",{value:"en",children:"English"}),(0,a.jsx)("option",{value:"fr",children:"French"}),(0,a.jsx)("option",{value:"nl",children:"Dutch"}),(0,a.jsx)("option",{value:"de",children:"German"})]}),(0,a.jsx)("button",{onClick:async()=>{if(p){await p.changeLanguage(l);const e=p.fromDosageToText(t);u(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(s.default,{language:"markup",children:(g=c,g.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/5f46c019.8c3deac6.js b/assets/js/5f46c019.8c3deac6.js deleted file mode 100644 index 8ca73570..00000000 --- a/assets/js/5f46c019.8c3deac6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9059],{7133:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>f,contentTitle:()=>d,default:()=>x,frontMatter:()=>l,metadata:()=>p,toc:()=>g});var r=n(4848),o=n(8453),s=n(1812);const a=JSON.parse('{"route":{"coding":[{"system":"http://hl7.org/fhir/ValueSet/route-codes","code":"26643006","display":"Oral route"}]}}');var i=n(4865),c=n(9365),u=n(816);const l={description:"route",title:"\ud83d\udee3\ufe0f route"},d=void 0,p={id:"specs/route/route",title:"\ud83d\udee3\ufe0f route",description:"route",source:"@site/docs/specs/route/route.mdx",sourceDirName:"specs/route",slug:"/specs/route/",permalink:"/fhir-dosage-utils/docs/specs/route/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/route/route.mdx",tags:[],version:"current",frontMatter:{description:"route",title:"\ud83d\udee3\ufe0f route"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udee3\ufe0f route",permalink:"/fhir-dosage-utils/docs/category/\ufe0f-route"},next:{title:"\u27a1\ufe0f sequence",permalink:"/fhir-dosage-utils/docs/category/\ufe0f-sequence"}},f={},g=[];function h(e){const t={a:"a",admonition:"admonition",p:"p",...(0,o.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(i.A,{children:[(0,r.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,r.jsx)(u.A,{dosage:a})}),(0,r.jsx)(c.A,{value:"json",label:"Dosage",children:(0,r.jsx)(s.default,{language:"json",children:JSON.stringify(a,null,2)})})]}),"\n",(0,r.jsx)(t.admonition,{type:"tip",children:(0,r.jsxs)(t.p,{children:["Don't forget you can use ",(0,r.jsx)(t.a,{href:"/api/interface/Params",children:"fromCodeableConceptToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(h,{...e})}):h(e)}},816:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(6540),o=n(6300),s=n(1812),a=n(4848);function i(e){let{dosage:t,config:n}=e;const[i,c]=(0,r.useState)(""),[u,l]=(0,r.useState)(n?.language||"en"),[d,p]=(0,r.useState)(null);(0,r.useEffect)((()=>{!async function(){const e=await o.A.build(n);p(e)}()}),[n]),(0,r.useEffect)((()=>{!async function(){if(d){const e=d.fromDosageToText(t);c(e)}}()}),[t,d]);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{style:{display:"flex"},children:[(0,a.jsxs)("select",{value:u,onChange:e=>l(e.target.value),style:{marginRight:"10px"},children:[(0,a.jsx)("option",{value:"en",children:"English"}),(0,a.jsx)("option",{value:"fr",children:"French"}),(0,a.jsx)("option",{value:"nl",children:"Dutch"}),(0,a.jsx)("option",{value:"de",children:"German"})]}),(0,a.jsx)("button",{onClick:async()=>{if(d){await d.changeLanguage(u);const e=d.fromDosageToText(t);c(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(s.default,{language:"markup",children:(f=i,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/6a4d8b82.a8d4b8a8.js b/assets/js/6a4d8b82.c06e8aef.js similarity index 64% rename from assets/js/6a4d8b82.a8d4b8a8.js rename to assets/js/6a4d8b82.c06e8aef.js index f8f939bb..7df8cb72 100644 --- a/assets/js/6a4d8b82.a8d4b8a8.js +++ b/assets/js/6a4d8b82.c06e8aef.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9232],{4402:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>x,frontMatter:()=>c,metadata:()=>m,toc:()=>h});var n=i(4848),s=i(8453),r=i(1812);const o=JSON.parse('[{"sequence":1,"text":"500mg daily for 5 days","additionalInstruction":[{"coding":[{"system":"http://snomed.info/sct","code":"421984009","display":"Until finished - dosing instruction fragment (qualifier value)"}]}],"timing":{"repeat":{"frequency":1,"period":1,"periodUnit":"d"}},"route":{"coding":[{"system":"http://snomed.info/sct","code":"26643006","display":"Oral Route (qualifier value)"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":500,"unit":"mg","system":"http://unitsofmeasure.org","code":"mg"}}]}]');var a=i(4865),d=i(9365),l=i(8264);const c={description:"Request with a single dosage line - Azithromycin - completed - with link to prior prescription and reason code",title:"medrx0313"},u=void 0,m={id:"examples/medicationrequest/medrx0313",title:"medrx0313",description:"Request with a single dosage line - Azithromycin - completed - with link to prior prescription and reason code",source:"@site/docs/examples/medicationrequest/medrx0313.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx0313",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0313",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx0313.mdx",tags:[],version:"current",frontMatter:{description:"Request with a single dosage line - Azithromycin - completed - with link to prior prescription and reason code",title:"medrx0313"},sidebar:"tutorialSidebar",previous:{title:"medrx0310",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0310"},next:{title:"medrx0314",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0314"}},p={},h=[];function g(e){const t={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.admonition,{type:"info",children:(0,n.jsxs)(t.p,{children:["Source: ",(0,n.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequest0313.html",children:"HL7"}),' - "Request with a single dosage line - Azithromycin - completed - with link to prior prescription and reason code"']})}),"\n",(0,n.jsxs)(a.A,{children:[(0,n.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(l.A,{dosages:o,config:{}})}),(0,n.jsx)(d.A,{value:"json",label:"Dosage",children:(0,n.jsx)(r.default,{language:"json",children:JSON.stringify(o,null,2)})})]})]})}function x(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(g,{...e})}):g(e)}},8264:(e,t,i)=>{i.d(t,{A:()=>a});var n=i(6540),s=i(6300),r=i(1812),o=i(4848);function a(e){let{dosages:t,config:i}=e;const[a,d]=(0,n.useState)(""),[l,c]=(0,n.useState)(i?.language||"en"),[u,m]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await s.A.build(i);m(e)}()}),[i]),(0,n.useEffect)((()=>{!async function(){if(u){const e=u.fromMultipleDosageToText(t);d(e)}}()}),[t,u]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:l,onChange:e=>c(e.target.value),style:{marginRight:"10px"},children:[(0,o.jsx)("option",{value:"en",children:"English"}),(0,o.jsx)("option",{value:"fr",children:"French"}),(0,o.jsx)("option",{value:"nl",children:"Dutch"}),(0,o.jsx)("option",{value:"de",children:"German"})]}),(0,o.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(l);const e=u.fromMultipleDosageToText(t);d(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(r.default,{language:"markup",children:(p=a,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var p}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9232],{4402:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>x,frontMatter:()=>c,metadata:()=>m,toc:()=>h});var n=i(4848),s=i(8453),o=i(1812);const r=JSON.parse('[{"sequence":1,"text":"500mg daily for 5 days","additionalInstruction":[{"coding":[{"system":"http://snomed.info/sct","code":"421984009","display":"Until finished - dosing instruction fragment (qualifier value)"}]}],"timing":{"repeat":{"frequency":1,"period":1,"periodUnit":"d"}},"route":{"coding":[{"system":"http://snomed.info/sct","code":"26643006","display":"Oral Route (qualifier value)"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":500,"unit":"mg","system":"http://unitsofmeasure.org","code":"mg"}}]}]');var a=i(4865),d=i(9365),l=i(8264);const c={description:"Request with a single dosage line - Azithromycin - completed - with link to prior prescription and reason code",title:"medrx0313"},u=void 0,m={id:"examples/medicationrequest/medrx0313",title:"medrx0313",description:"Request with a single dosage line - Azithromycin - completed - with link to prior prescription and reason code",source:"@site/docs/examples/medicationrequest/medrx0313.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx0313",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0313",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx0313.mdx",tags:[],version:"current",frontMatter:{description:"Request with a single dosage line - Azithromycin - completed - with link to prior prescription and reason code",title:"medrx0313"},sidebar:"tutorialSidebar",previous:{title:"medrx0310",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0310"},next:{title:"medrx0314",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0314"}},p={},h=[];function g(e){const t={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.admonition,{type:"info",children:(0,n.jsxs)(t.p,{children:["Source: ",(0,n.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequest0313.html",children:"HL7"}),' - "Request with a single dosage line - Azithromycin - completed - with link to prior prescription and reason code"']})}),"\n",(0,n.jsxs)(a.A,{children:[(0,n.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(l.A,{dosages:r,config:{}})}),(0,n.jsx)(d.A,{value:"json",label:"Dosage",children:(0,n.jsx)(o.default,{language:"json",children:JSON.stringify(r,null,2)})})]})]})}function x(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(g,{...e})}):g(e)}},8264:(e,t,i)=>{i.d(t,{A:()=>a});var n=i(6540),s=i(6300),o=i(1812),r=i(4848);function a(e){let{dosages:t,config:i,i18nConfig:a}=e;const[d,l]=(0,n.useState)(""),[c,u]=(0,n.useState)(i?.language||"en"),[m,p]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await s.A.build(i,a);p(e)}()}),[i]),(0,n.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);l(e)}}()}),[t,m]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:c,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(m){await m.changeLanguage(c);const e=m.fromMultipleDosageToText(t);l(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(o.default,{language:"markup",children:(h=d,h.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/6bccb6a0.09a31071.js b/assets/js/6bccb6a0.09a31071.js new file mode 100644 index 00000000..4a5dae6d --- /dev/null +++ b/assets/js/6bccb6a0.09a31071.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1286],{677:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>f,contentTitle:()=>c,default:()=>h,frontMatter:()=>l,metadata:()=>p,toc:()=>g});var a=n(4848),i=n(8453),r=n(1812);const o=JSON.parse('{"timing":{"repeat":{"duration":3,"durationUnit":"d"}}}');var s=n(4865),u=n(9365),d=n(816);const l={description:"duration only",title:"\u23f0 duration"},c=void 0,p={id:"specs/durationDurationMax/duration_only",title:"\u23f0 duration",description:"duration only",source:"@site/docs/specs/durationDurationMax/duration_only.mdx",sourceDirName:"specs/durationDurationMax",slug:"/specs/durationDurationMax/duration_only",permalink:"/fhir-dosage-utils/docs/specs/durationDurationMax/duration_only",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/durationDurationMax/duration_only.mdx",tags:[],version:"current",frontMatter:{description:"duration only",title:"\u23f0 duration"},sidebar:"tutorialSidebar",previous:{title:"\u23f0 duration and durationMax",permalink:"/fhir-dosage-utils/docs/specs/durationDurationMax/duration_and_durationMax"},next:{title:"\ud83c\udf89 event",permalink:"/fhir-dosage-utils/docs/category/-event"}},f={},g=[];function x(e){return(0,a.jsxs)(s.A,{children:[(0,a.jsx)(u.A,{value:"text",label:"Human readable text",default:!0,children:(0,a.jsx)(d.A,{dosage:o})}),(0,a.jsx)(u.A,{value:"json",label:"Dosage",children:(0,a.jsx)(r.default,{language:"json",children:JSON.stringify(o,null,2)})})]})}function h(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(x,{...e})}):x()}},816:(e,t,n)=>{n.d(t,{A:()=>s});var a=n(6540),i=n(6300),r=n(1812),o=n(4848);function s(e){let{dosage:t,config:n,i18nConfig:s}=e;const[u,d]=(0,a.useState)(""),[l,c]=(0,a.useState)(n?.language||"en"),[p,f]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const e=await i.A.build(n,s);f(e)}()}),[n]),(0,a.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(t);d(e)}}()}),[t,p]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:l,onChange:e=>c(e.target.value),style:{marginRight:"10px"},children:[(0,o.jsx)("option",{value:"en",children:"English"}),(0,o.jsx)("option",{value:"fr",children:"French"}),(0,o.jsx)("option",{value:"nl",children:"Dutch"}),(0,o.jsx)("option",{value:"de",children:"German"})]}),(0,o.jsx)("button",{onClick:async()=>{if(p){await p.changeLanguage(l);const e=p.fromDosageToText(t);d(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(r.default,{language:"markup",children:(g=u,g.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/6bccb6a0.1d6a85cf.js b/assets/js/6bccb6a0.1d6a85cf.js deleted file mode 100644 index fc012481..00000000 --- a/assets/js/6bccb6a0.1d6a85cf.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1286],{677:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>x,contentTitle:()=>c,default:()=>h,frontMatter:()=>l,metadata:()=>p,toc:()=>f});var a=n(4848),r=n(8453),i=n(1812);const o=JSON.parse('{"timing":{"repeat":{"duration":3,"durationUnit":"d"}}}');var s=n(4865),u=n(9365),d=n(816);const l={description:"duration only",title:"\u23f0 duration"},c=void 0,p={id:"specs/durationDurationMax/duration_only",title:"\u23f0 duration",description:"duration only",source:"@site/docs/specs/durationDurationMax/duration_only.mdx",sourceDirName:"specs/durationDurationMax",slug:"/specs/durationDurationMax/duration_only",permalink:"/fhir-dosage-utils/docs/specs/durationDurationMax/duration_only",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/durationDurationMax/duration_only.mdx",tags:[],version:"current",frontMatter:{description:"duration only",title:"\u23f0 duration"},sidebar:"tutorialSidebar",previous:{title:"\u23f0 duration and durationMax",permalink:"/fhir-dosage-utils/docs/specs/durationDurationMax/duration_and_durationMax"},next:{title:"\ud83c\udf89 event",permalink:"/fhir-dosage-utils/docs/category/-event"}},x={},f=[];function g(e){return(0,a.jsxs)(s.A,{children:[(0,a.jsx)(u.A,{value:"text",label:"Human readable text",default:!0,children:(0,a.jsx)(d.A,{dosage:o})}),(0,a.jsx)(u.A,{value:"json",label:"Dosage",children:(0,a.jsx)(i.default,{language:"json",children:JSON.stringify(o,null,2)})})]})}function h(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(g,{...e})}):g()}},816:(e,t,n)=>{n.d(t,{A:()=>s});var a=n(6540),r=n(6300),i=n(1812),o=n(4848);function s(e){let{dosage:t,config:n}=e;const[s,u]=(0,a.useState)(""),[d,l]=(0,a.useState)(n?.language||"en"),[c,p]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const e=await r.A.build(n);p(e)}()}),[n]),(0,a.useEffect)((()=>{!async function(){if(c){const e=c.fromDosageToText(t);u(e)}}()}),[t,c]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:d,onChange:e=>l(e.target.value),style:{marginRight:"10px"},children:[(0,o.jsx)("option",{value:"en",children:"English"}),(0,o.jsx)("option",{value:"fr",children:"French"}),(0,o.jsx)("option",{value:"nl",children:"Dutch"}),(0,o.jsx)("option",{value:"de",children:"German"})]}),(0,o.jsx)("button",{onClick:async()=>{if(c){await c.changeLanguage(d);const e=c.fromDosageToText(t);u(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(i.default,{language:"markup",children:(x=s,x.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var x}}}]); \ No newline at end of file diff --git a/assets/js/7614ce18.aa514fad.js b/assets/js/7614ce18.fee997e2.js similarity index 64% rename from assets/js/7614ce18.aa514fad.js rename to assets/js/7614ce18.fee997e2.js index 1fb58264..b67c1a01 100644 --- a/assets/js/7614ce18.aa514fad.js +++ b/assets/js/7614ce18.fee997e2.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1444],{3339:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>f,contentTitle:()=>u,default:()=>g,frontMatter:()=>d,metadata:()=>m,toc:()=>x});var s=i(4848),a=i(8453),n=i(1812);const r=JSON.parse('{"maxDosePerLifetime":{"value":3,"unit":"mg"}}');var o=i(4865),c=i(9365),l=i(816);const d={description:"maxDosePerLifetime",title:"\ud83d\udc96 maxDosePerLifetime"},u=void 0,m={id:"specs/maxDosePerLifetime/maxDosePerLifetime",title:"\ud83d\udc96 maxDosePerLifetime",description:"maxDosePerLifetime",source:"@site/docs/specs/maxDosePerLifetime/maxDosePerLifetime.mdx",sourceDirName:"specs/maxDosePerLifetime",slug:"/specs/maxDosePerLifetime/",permalink:"/fhir-dosage-utils/docs/specs/maxDosePerLifetime/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/maxDosePerLifetime/maxDosePerLifetime.mdx",tags:[],version:"current",frontMatter:{description:"maxDosePerLifetime",title:"\ud83d\udc96 maxDosePerLifetime"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udc96 maxDosePerLifetime",permalink:"/fhir-dosage-utils/docs/category/-maxdoseperlifetime"},next:{title:"\u23f3 maxDosePerPeriod",permalink:"/fhir-dosage-utils/docs/category/-maxdoseperperiod"}},f={},x=[];function p(e){const t={a:"a",admonition:"admonition",p:"p",...(0,a.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(o.A,{children:[(0,s.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(l.A,{dosage:r})}),(0,s.jsx)(c.A,{value:"json",label:"Dosage",children:(0,s.jsx)(n.default,{language:"json",children:JSON.stringify(r,null,2)})})]}),"\n",(0,s.jsx)(t.admonition,{type:"tip",children:(0,s.jsxs)(t.p,{children:["Don't forget you can use ",(0,s.jsx)(t.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function g(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(p,{...e})}):p(e)}},816:(e,t,i)=>{i.d(t,{A:()=>o});var s=i(6540),a=i(6300),n=i(1812),r=i(4848);function o(e){let{dosage:t,config:i}=e;const[o,c]=(0,s.useState)(""),[l,d]=(0,s.useState)(i?.language||"en"),[u,m]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await a.A.build(i);m(e)}()}),[i]),(0,s.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(t);c(e)}}()}),[t,u]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:l,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(l);const e=u.fromDosageToText(t);c(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(n.default,{language:"markup",children:(f=o,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var f}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1444],{3339:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>f,contentTitle:()=>u,default:()=>g,frontMatter:()=>d,metadata:()=>m,toc:()=>x});var s=i(4848),a=i(8453),n=i(1812);const r=JSON.parse('{"maxDosePerLifetime":{"value":3,"unit":"mg"}}');var o=i(4865),c=i(9365),l=i(816);const d={description:"maxDosePerLifetime",title:"\ud83d\udc96 maxDosePerLifetime"},u=void 0,m={id:"specs/maxDosePerLifetime/maxDosePerLifetime",title:"\ud83d\udc96 maxDosePerLifetime",description:"maxDosePerLifetime",source:"@site/docs/specs/maxDosePerLifetime/maxDosePerLifetime.mdx",sourceDirName:"specs/maxDosePerLifetime",slug:"/specs/maxDosePerLifetime/",permalink:"/fhir-dosage-utils/docs/specs/maxDosePerLifetime/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/maxDosePerLifetime/maxDosePerLifetime.mdx",tags:[],version:"current",frontMatter:{description:"maxDosePerLifetime",title:"\ud83d\udc96 maxDosePerLifetime"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udc96 maxDosePerLifetime",permalink:"/fhir-dosage-utils/docs/category/-maxdoseperlifetime"},next:{title:"\u23f3 maxDosePerPeriod",permalink:"/fhir-dosage-utils/docs/category/-maxdoseperperiod"}},f={},x=[];function p(e){const t={a:"a",admonition:"admonition",p:"p",...(0,a.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(o.A,{children:[(0,s.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(l.A,{dosage:r})}),(0,s.jsx)(c.A,{value:"json",label:"Dosage",children:(0,s.jsx)(n.default,{language:"json",children:JSON.stringify(r,null,2)})})]}),"\n",(0,s.jsx)(t.admonition,{type:"tip",children:(0,s.jsxs)(t.p,{children:["Don't forget you can use ",(0,s.jsx)(t.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function g(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(p,{...e})}):p(e)}},816:(e,t,i)=>{i.d(t,{A:()=>o});var s=i(6540),a=i(6300),n=i(1812),r=i(4848);function o(e){let{dosage:t,config:i,i18nConfig:o}=e;const[c,l]=(0,s.useState)(""),[d,u]=(0,s.useState)(i?.language||"en"),[m,f]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await a.A.build(i,o);f(e)}()}),[i]),(0,s.useEffect)((()=>{!async function(){if(m){const e=m.fromDosageToText(t);l(e)}}()}),[t,m]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:d,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(m){await m.changeLanguage(d);const e=m.fromDosageToText(t);l(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(n.default,{language:"markup",children:(x=c,x.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var x}}}]); \ No newline at end of file diff --git a/assets/js/76aa043d.9351c5c7.js b/assets/js/76aa043d.8e1516fb.js similarity index 51% rename from assets/js/76aa043d.9351c5c7.js rename to assets/js/76aa043d.8e1516fb.js index 603ddf2d..975ad6e7 100644 --- a/assets/js/76aa043d.9351c5c7.js +++ b/assets/js/76aa043d.8e1516fb.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6751],{6692:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>f,contentTitle:()=>d,default:()=>q,frontMatter:()=>l,metadata:()=>p,toc:()=>g});var s=n(4848),i=n(8453),u=n(1812);const c=JSON.parse('[{"sequence":1,"text":"Instructions 1"},{"sequence":2,"text":"Instructions 2"}]');var r=n(4865),a=n(9365),o=n(8264);const l={description:"Sequential instructions, with sequence",title:"\u27a1\ufe0f sequence (Sequential instructions 1)"},d=void 0,p={id:"specs/sequence/sequential_instructions_1",title:"\u27a1\ufe0f sequence (Sequential instructions 1)",description:"Sequential instructions, with sequence",source:"@site/docs/specs/sequence/sequential_instructions_1.mdx",sourceDirName:"specs/sequence",slug:"/specs/sequence/sequential_instructions_1",permalink:"/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_1",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/sequence/sequential_instructions_1.mdx",tags:[],version:"current",frontMatter:{description:"Sequential instructions, with sequence",title:"\u27a1\ufe0f sequence (Sequential instructions 1)"},sidebar:"tutorialSidebar",previous:{title:"\u27a1\ufe0f sequence (Concurrent instructions)",permalink:"/fhir-dosage-utils/docs/specs/sequence/concurrent_instructions"},next:{title:"\u27a1\ufe0f sequence (Sequential instructions 2)",permalink:"/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_2"}},f={},g=[];function h(e){return(0,s.jsxs)(r.A,{children:[(0,s.jsx)(a.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(o.A,{dosages:c,config:{displayOrder:["text"]}})}),(0,s.jsx)(a.A,{value:"json",label:"Dosage",children:(0,s.jsx)(u.default,{language:"json",children:JSON.stringify(c,null,2)})})]})}function q(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h()}},8264:(e,t,n)=>{n.d(t,{A:()=>r});var s=n(6540),i=n(6300),u=n(1812),c=n(4848);function r(e){let{dosages:t,config:n}=e;const[r,a]=(0,s.useState)(""),[o,l]=(0,s.useState)(n?.language||"en"),[d,p]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await i.A.build(n);p(e)}()}),[n]),(0,s.useEffect)((()=>{!async function(){if(d){const e=d.fromMultipleDosageToText(t);a(e)}}()}),[t,d]);return(0,c.jsxs)("div",{children:[(0,c.jsxs)("div",{style:{display:"flex"},children:[(0,c.jsxs)("select",{value:o,onChange:e=>l(e.target.value),style:{marginRight:"10px"},children:[(0,c.jsx)("option",{value:"en",children:"English"}),(0,c.jsx)("option",{value:"fr",children:"French"}),(0,c.jsx)("option",{value:"nl",children:"Dutch"}),(0,c.jsx)("option",{value:"de",children:"German"})]}),(0,c.jsx)("button",{onClick:async()=>{if(d){await d.changeLanguage(o);const e=d.fromMultipleDosageToText(t);a(e)}},children:"Confirm"})]}),(0,c.jsx)("div",{style:{marginTop:"10px"},children:(0,c.jsx)(u.default,{language:"markup",children:(f=r,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var f}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6751],{6692:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>f,contentTitle:()=>d,default:()=>q,frontMatter:()=>l,metadata:()=>p,toc:()=>g});var s=t(4848),i=t(8453),u=t(1812);const c=JSON.parse('[{"sequence":1,"text":"Instructions 1"},{"sequence":2,"text":"Instructions 2"}]');var r=t(4865),a=t(9365),o=t(8264);const l={description:"Sequential instructions, with sequence",title:"\u27a1\ufe0f sequence (Sequential instructions 1)"},d=void 0,p={id:"specs/sequence/sequential_instructions_1",title:"\u27a1\ufe0f sequence (Sequential instructions 1)",description:"Sequential instructions, with sequence",source:"@site/docs/specs/sequence/sequential_instructions_1.mdx",sourceDirName:"specs/sequence",slug:"/specs/sequence/sequential_instructions_1",permalink:"/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_1",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/sequence/sequential_instructions_1.mdx",tags:[],version:"current",frontMatter:{description:"Sequential instructions, with sequence",title:"\u27a1\ufe0f sequence (Sequential instructions 1)"},sidebar:"tutorialSidebar",previous:{title:"\u27a1\ufe0f sequence (Concurrent instructions)",permalink:"/fhir-dosage-utils/docs/specs/sequence/concurrent_instructions"},next:{title:"\u27a1\ufe0f sequence (Sequential instructions 2)",permalink:"/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_2"}},f={},g=[];function h(e){return(0,s.jsxs)(r.A,{children:[(0,s.jsx)(a.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(o.A,{dosages:c,config:{displayOrder:["text"]}})}),(0,s.jsx)(a.A,{value:"json",label:"Dosage",children:(0,s.jsx)(u.default,{language:"json",children:JSON.stringify(c,null,2)})})]})}function q(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(h,{...e})}):h()}},8264:(e,n,t)=>{t.d(n,{A:()=>r});var s=t(6540),i=t(6300),u=t(1812),c=t(4848);function r(e){let{dosages:n,config:t,i18nConfig:r}=e;const[a,o]=(0,s.useState)(""),[l,d]=(0,s.useState)(t?.language||"en"),[p,f]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await i.A.build(t,r);f(e)}()}),[t]),(0,s.useEffect)((()=>{!async function(){if(p){const e=p.fromMultipleDosageToText(n);o(e)}}()}),[n,p]);return(0,c.jsxs)("div",{children:[(0,c.jsxs)("div",{style:{display:"flex"},children:[(0,c.jsxs)("select",{value:l,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,c.jsx)("option",{value:"en",children:"English"}),(0,c.jsx)("option",{value:"fr",children:"French"}),(0,c.jsx)("option",{value:"nl",children:"Dutch"}),(0,c.jsx)("option",{value:"de",children:"German"})]}),(0,c.jsx)("button",{onClick:async()=>{if(p){await p.changeLanguage(l);const e=p.fromMultipleDosageToText(n);o(e)}},children:"Confirm"})]}),(0,c.jsx)("div",{style:{marginTop:"10px"},children:(0,c.jsx)(u.default,{language:"markup",children:(g=a,g.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/774b774e.04b3b688.js b/assets/js/774b774e.e313eb5a.js similarity index 61% rename from assets/js/774b774e.04b3b688.js rename to assets/js/774b774e.e313eb5a.js index 7543ab5e..0938c280 100644 --- a/assets/js/774b774e.04b3b688.js +++ b/assets/js/774b774e.e313eb5a.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[5648],{553:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>y,contentTitle:()=>d,default:()=>g,frontMatter:()=>l,metadata:()=>f,toc:()=>p});var t=r(4848),a=r(8453),s=r(1812);const c=JSON.parse('{"timing":{"repeat":{"frequency":3}}}');var u=r(4865),i=r(9365),o=r(816);const l={description:"frequency only",title:"\ud83d\udd01 frequency"},d=void 0,f={id:"specs/frequencyFrequencyMax/frequency_only",title:"\ud83d\udd01 frequency",description:"frequency only",source:"@site/docs/specs/frequencyFrequencyMax/frequency_only.mdx",sourceDirName:"specs/frequencyFrequencyMax",slug:"/specs/frequencyFrequencyMax/frequency_only",permalink:"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_only",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/frequencyFrequencyMax/frequency_only.mdx",tags:[],version:"current",frontMatter:{description:"frequency only",title:"\ud83d\udd01 frequency"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udd01 frequency and frequencyMax",permalink:"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_and_frequencyMax"},next:{title:"\ud83d\udc89 maxDosePerAdministration",permalink:"/fhir-dosage-utils/docs/category/-maxdoseperadministration"}},y={},p=[];function x(e){return(0,t.jsxs)(u.A,{children:[(0,t.jsx)(i.A,{value:"text",label:"Human readable text",default:!0,children:(0,t.jsx)(o.A,{dosage:c})}),(0,t.jsx)(i.A,{value:"json",label:"Dosage",children:(0,t.jsx)(s.default,{language:"json",children:JSON.stringify(c,null,2)})})]})}function g(e={}){const{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(x,{...e})}):x()}},816:(e,n,r)=>{r.d(n,{A:()=>u});var t=r(6540),a=r(6300),s=r(1812),c=r(4848);function u(e){let{dosage:n,config:r}=e;const[u,i]=(0,t.useState)(""),[o,l]=(0,t.useState)(r?.language||"en"),[d,f]=(0,t.useState)(null);(0,t.useEffect)((()=>{!async function(){const e=await a.A.build(r);f(e)}()}),[r]),(0,t.useEffect)((()=>{!async function(){if(d){const e=d.fromDosageToText(n);i(e)}}()}),[n,d]);return(0,c.jsxs)("div",{children:[(0,c.jsxs)("div",{style:{display:"flex"},children:[(0,c.jsxs)("select",{value:o,onChange:e=>l(e.target.value),style:{marginRight:"10px"},children:[(0,c.jsx)("option",{value:"en",children:"English"}),(0,c.jsx)("option",{value:"fr",children:"French"}),(0,c.jsx)("option",{value:"nl",children:"Dutch"}),(0,c.jsx)("option",{value:"de",children:"German"})]}),(0,c.jsx)("button",{onClick:async()=>{if(d){await d.changeLanguage(o);const e=d.fromDosageToText(n);i(e)}},children:"Confirm"})]}),(0,c.jsx)("div",{style:{marginTop:"10px"},children:(0,c.jsx)(s.default,{language:"markup",children:(y=u,y.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var y}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[5648],{553:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>y,contentTitle:()=>d,default:()=>g,frontMatter:()=>l,metadata:()=>f,toc:()=>p});var t=r(4848),a=r(8453),s=r(1812);const c=JSON.parse('{"timing":{"repeat":{"frequency":3}}}');var u=r(4865),i=r(9365),o=r(816);const l={description:"frequency only",title:"\ud83d\udd01 frequency"},d=void 0,f={id:"specs/frequencyFrequencyMax/frequency_only",title:"\ud83d\udd01 frequency",description:"frequency only",source:"@site/docs/specs/frequencyFrequencyMax/frequency_only.mdx",sourceDirName:"specs/frequencyFrequencyMax",slug:"/specs/frequencyFrequencyMax/frequency_only",permalink:"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_only",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/frequencyFrequencyMax/frequency_only.mdx",tags:[],version:"current",frontMatter:{description:"frequency only",title:"\ud83d\udd01 frequency"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udd01 frequency and frequencyMax",permalink:"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_and_frequencyMax"},next:{title:"\ud83d\udc89 maxDosePerAdministration",permalink:"/fhir-dosage-utils/docs/category/-maxdoseperadministration"}},y={},p=[];function x(e){return(0,t.jsxs)(u.A,{children:[(0,t.jsx)(i.A,{value:"text",label:"Human readable text",default:!0,children:(0,t.jsx)(o.A,{dosage:c})}),(0,t.jsx)(i.A,{value:"json",label:"Dosage",children:(0,t.jsx)(s.default,{language:"json",children:JSON.stringify(c,null,2)})})]})}function g(e={}){const{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(x,{...e})}):x()}},816:(e,n,r)=>{r.d(n,{A:()=>u});var t=r(6540),a=r(6300),s=r(1812),c=r(4848);function u(e){let{dosage:n,config:r,i18nConfig:u}=e;const[i,o]=(0,t.useState)(""),[l,d]=(0,t.useState)(r?.language||"en"),[f,y]=(0,t.useState)(null);(0,t.useEffect)((()=>{!async function(){const e=await a.A.build(r,u);y(e)}()}),[r]),(0,t.useEffect)((()=>{!async function(){if(f){const e=f.fromDosageToText(n);o(e)}}()}),[n,f]);return(0,c.jsxs)("div",{children:[(0,c.jsxs)("div",{style:{display:"flex"},children:[(0,c.jsxs)("select",{value:l,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,c.jsx)("option",{value:"en",children:"English"}),(0,c.jsx)("option",{value:"fr",children:"French"}),(0,c.jsx)("option",{value:"nl",children:"Dutch"}),(0,c.jsx)("option",{value:"de",children:"German"})]}),(0,c.jsx)("button",{onClick:async()=>{if(f){await f.changeLanguage(l);const e=f.fromDosageToText(n);o(e)}},children:"Confirm"})]}),(0,c.jsx)("div",{style:{marginTop:"10px"},children:(0,c.jsx)(s.default,{language:"markup",children:(p=i,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/78f84b63.39b2af5e.js b/assets/js/78f84b63.39b2af5e.js new file mode 100644 index 00000000..ce8ee8d0 --- /dev/null +++ b/assets/js/78f84b63.39b2af5e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2683],{5020:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>f,contentTitle:()=>c,default:()=>h,frontMatter:()=>l,metadata:()=>m,toc:()=>p});var n=o(4848),r=o(8453),s=o(1812),a=o(9763),i=o(4865),d=o(9365),u=o(8264);const l={description:"Control the display order used by the algorithm (Useful when you want to turn on / off some specific rules for some reason)",title:"\ud83d\udd22 displayOrder"},c=void 0,m={id:"custom/displayOrder",title:"\ud83d\udd22 displayOrder",description:"Control the display order used by the algorithm (Useful when you want to turn on / off some specific rules for some reason)",source:"@site/docs/custom/displayOrder.mdx",sourceDirName:"custom",slug:"/custom/displayOrder",permalink:"/fhir-dosage-utils/docs/custom/displayOrder",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/custom/displayOrder.mdx",tags:[],version:"current",frontMatter:{description:"Control the display order used by the algorithm (Useful when you want to turn on / off some specific rules for some reason)",title:"\ud83d\udd22 displayOrder"},sidebar:"tutorialSidebar",previous:{title:"\ud83c\udf89 dateTimeFormatOptions",permalink:"/fhir-dosage-utils/docs/custom/dateTimeFormatOptions"},next:{title:"\u2796 displaySeparator",permalink:"/fhir-dosage-utils/docs/custom/displaySeparator"}},f={},p=[];function g(e){const t={code:"code",pre:"pre",...(0,r.R)(),...e.components};return(0,n.jsxs)(i.A,{children:[(0,n.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(u.A,{dosages:a,config:{displayOrder:["method","doseQuantity","doseRange","rateRatio","rateQuantity","rateRange","durationDurationMax","frequencyFrequencyMaxPeriodPeriodMax","offsetWhen","dayOfWeek","timeOfDay","asNeeded","boundsDuration","boundsPeriod","boundsRange","countCountMax","event","code","maxDosePerPeriod","maxDosePerAdministration","maxDosePerLifetime","additionalInstruction","patientInstruction","route","site"]}})}),(0,n.jsx)(d.A,{value:"json",label:"Dosage",children:(0,n.jsx)(s.default,{language:"json",children:JSON.stringify(a,null,2)})}),(0,n.jsx)(d.A,{value:"config",label:"Configuration",children:(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-js",children:'{\n "displayOrder": ["method", "doseQuantity", "doseRange", "rateRatio", "rateQuantity", "rateRange", "durationDurationMax", "frequencyFrequencyMaxPeriodPeriodMax", "offsetWhen", "dayOfWeek", "timeOfDay", "asNeeded", "boundsDuration", "boundsPeriod", "boundsRange", "countCountMax", "event", "code", "maxDosePerPeriod", "maxDosePerAdministration", "maxDosePerLifetime", "additionalInstruction", "patientInstruction", "route", "site"]\n}\n'})})})]})}function h(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(g,{...e})}):g(e)}},8264:(e,t,o)=>{o.d(t,{A:()=>i});var n=o(6540),r=o(6300),s=o(1812),a=o(4848);function i(e){let{dosages:t,config:o,i18nConfig:i}=e;const[d,u]=(0,n.useState)(""),[l,c]=(0,n.useState)(o?.language||"en"),[m,f]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await r.A.build(o,i);f(e)}()}),[o]),(0,n.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);u(e)}}()}),[t,m]);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{style:{display:"flex"},children:[(0,a.jsxs)("select",{value:l,onChange:e=>c(e.target.value),style:{marginRight:"10px"},children:[(0,a.jsx)("option",{value:"en",children:"English"}),(0,a.jsx)("option",{value:"fr",children:"French"}),(0,a.jsx)("option",{value:"nl",children:"Dutch"}),(0,a.jsx)("option",{value:"de",children:"German"})]}),(0,a.jsx)("button",{onClick:async()=>{if(m){await m.changeLanguage(l);const e=m.fromMultipleDosageToText(t);u(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(s.default,{language:"markup",children:(p=d,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var p}},9763:e=>{e.exports=JSON.parse('[{"sequence":1,"text":"Administer in 100cc NS as follows: First treatment infuse over 90 minutes, if no reaction then second treatment infuse over 60 minutes, if no reaction then on third and following treatments give over 30 minutes.","timing":{"event":["2023-01-18T00:00:00.000Z"]},"route":{"coding":[{"system":"http://flatiron.com/CodeSystem/Route","code":"IV"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":5,"unit":"mg/kg"}},{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"calculated","display":"Calculated"}]},"doseQuantity":{"value":340,"unit":"mg"}}]}]')}}]); \ No newline at end of file diff --git a/assets/js/7ebf62b0.187f7c73.js b/assets/js/7ebf62b0.9da044c5.js similarity index 64% rename from assets/js/7ebf62b0.187f7c73.js rename to assets/js/7ebf62b0.9da044c5.js index d73dd3bb..cf39f114 100644 --- a/assets/js/7ebf62b0.187f7c73.js +++ b/assets/js/7ebf62b0.9da044c5.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[417],{6787:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>f,contentTitle:()=>l,default:()=>x,frontMatter:()=>c,metadata:()=>p,toc:()=>g});var s=n(4848),a=n(8453),i=n(1812);const o=JSON.parse('{"doseAndRate":[{"doseQuantity":{"value":3,"unit":"pills"}}]}');var r=n(4865),d=n(9365),u=n(816);const c={description:"doseQuantity",title:"\ud83d\udc8a doseQuantity"},l=void 0,p={id:"specs/doseQuantity/doseQuantity",title:"\ud83d\udc8a doseQuantity",description:"doseQuantity",source:"@site/docs/specs/doseQuantity/doseQuantity.mdx",sourceDirName:"specs/doseQuantity",slug:"/specs/doseQuantity/",permalink:"/fhir-dosage-utils/docs/specs/doseQuantity/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/doseQuantity/doseQuantity.mdx",tags:[],version:"current",frontMatter:{description:"doseQuantity",title:"\ud83d\udc8a doseQuantity"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udc8a doseQuantity",permalink:"/fhir-dosage-utils/docs/category/-dosequantity"},next:{title:"\ud83d\udccf doseRange",permalink:"/fhir-dosage-utils/docs/category/-doserange"}},f={},g=[];function h(e){const t={a:"a",admonition:"admonition",p:"p",...(0,a.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(r.A,{children:[(0,s.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(u.A,{dosage:o})}),(0,s.jsx)(d.A,{value:"json",label:"Dosage",children:(0,s.jsx)(i.default,{language:"json",children:JSON.stringify(o,null,2)})})]}),"\n",(0,s.jsx)(t.admonition,{type:"tip",children:(0,s.jsxs)(t.p,{children:["Don't forget you can use ",(0,s.jsx)(t.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},816:(e,t,n)=>{n.d(t,{A:()=>r});var s=n(6540),a=n(6300),i=n(1812),o=n(4848);function r(e){let{dosage:t,config:n}=e;const[r,d]=(0,s.useState)(""),[u,c]=(0,s.useState)(n?.language||"en"),[l,p]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await a.A.build(n);p(e)}()}),[n]),(0,s.useEffect)((()=>{!async function(){if(l){const e=l.fromDosageToText(t);d(e)}}()}),[t,l]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:u,onChange:e=>c(e.target.value),style:{marginRight:"10px"},children:[(0,o.jsx)("option",{value:"en",children:"English"}),(0,o.jsx)("option",{value:"fr",children:"French"}),(0,o.jsx)("option",{value:"nl",children:"Dutch"}),(0,o.jsx)("option",{value:"de",children:"German"})]}),(0,o.jsx)("button",{onClick:async()=>{if(l){await l.changeLanguage(u);const e=l.fromDosageToText(t);d(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(i.default,{language:"markup",children:(f=r,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var f}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[417],{6787:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>f,contentTitle:()=>l,default:()=>x,frontMatter:()=>c,metadata:()=>p,toc:()=>g});var s=n(4848),a=n(8453),i=n(1812);const o=JSON.parse('{"doseAndRate":[{"doseQuantity":{"value":3,"unit":"pills"}}]}');var r=n(4865),d=n(9365),u=n(816);const c={description:"doseQuantity",title:"\ud83d\udc8a doseQuantity"},l=void 0,p={id:"specs/doseQuantity/doseQuantity",title:"\ud83d\udc8a doseQuantity",description:"doseQuantity",source:"@site/docs/specs/doseQuantity/doseQuantity.mdx",sourceDirName:"specs/doseQuantity",slug:"/specs/doseQuantity/",permalink:"/fhir-dosage-utils/docs/specs/doseQuantity/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/doseQuantity/doseQuantity.mdx",tags:[],version:"current",frontMatter:{description:"doseQuantity",title:"\ud83d\udc8a doseQuantity"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udc8a doseQuantity",permalink:"/fhir-dosage-utils/docs/category/-dosequantity"},next:{title:"\ud83d\udccf doseRange",permalink:"/fhir-dosage-utils/docs/category/-doserange"}},f={},g=[];function h(e){const t={a:"a",admonition:"admonition",p:"p",...(0,a.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(r.A,{children:[(0,s.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(u.A,{dosage:o})}),(0,s.jsx)(d.A,{value:"json",label:"Dosage",children:(0,s.jsx)(i.default,{language:"json",children:JSON.stringify(o,null,2)})})]}),"\n",(0,s.jsx)(t.admonition,{type:"tip",children:(0,s.jsxs)(t.p,{children:["Don't forget you can use ",(0,s.jsx)(t.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},816:(e,t,n)=>{n.d(t,{A:()=>r});var s=n(6540),a=n(6300),i=n(1812),o=n(4848);function r(e){let{dosage:t,config:n,i18nConfig:r}=e;const[d,u]=(0,s.useState)(""),[c,l]=(0,s.useState)(n?.language||"en"),[p,f]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await a.A.build(n,r);f(e)}()}),[n]),(0,s.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(t);u(e)}}()}),[t,p]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:c,onChange:e=>l(e.target.value),style:{marginRight:"10px"},children:[(0,o.jsx)("option",{value:"en",children:"English"}),(0,o.jsx)("option",{value:"fr",children:"French"}),(0,o.jsx)("option",{value:"nl",children:"Dutch"}),(0,o.jsx)("option",{value:"de",children:"German"})]}),(0,o.jsx)("button",{onClick:async()=>{if(p){await p.changeLanguage(c);const e=p.fromDosageToText(t);u(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(i.default,{language:"markup",children:(g=d,g.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/814f3328.2983cb96.js b/assets/js/814f3328.2983cb96.js new file mode 100644 index 00000000..25f61a6d --- /dev/null +++ b/assets/js/814f3328.2983cb96.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[7472],{5513:e=>{e.exports=JSON.parse('{"title":"Recent posts","items":[{"title":"Customizing i18next Configuration in Our Library","permalink":"/fhir-dosage-utils/blog/empowerment","unlisted":false},{"title":"Welcome","permalink":"/fhir-dosage-utils/blog/welcome","unlisted":false}]}')}}]); \ No newline at end of file diff --git a/assets/js/814f3328.90c4b9b9.js b/assets/js/814f3328.90c4b9b9.js deleted file mode 100644 index 88093cfa..00000000 --- a/assets/js/814f3328.90c4b9b9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[7472],{5513:e=>{e.exports=JSON.parse('{"title":"Recent posts","items":[{"title":"Welcome","permalink":"/fhir-dosage-utils/blog/welcome","unlisted":false}]}')}}]); \ No newline at end of file diff --git a/assets/js/829c17da.3c302d75.js b/assets/js/829c17da.d89b4bbb.js similarity index 54% rename from assets/js/829c17da.3c302d75.js rename to assets/js/829c17da.d89b4bbb.js index e0472b63..79df40c8 100644 --- a/assets/js/829c17da.3c302d75.js +++ b/assets/js/829c17da.d89b4bbb.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8516],{3510:(n,t,e)=>{e.r(t),e.d(t,{assets:()=>p,contentTitle:()=>d,default:()=>h,frontMatter:()=>l,metadata:()=>x,toc:()=>f});var o=e(4848),a=e(8453),s=e(1812);const c=JSON.parse('{"timing":{"repeat":{"countMax":3}}}');var u=e(4865),r=e(9365),i=e(816);const l={description:"countMax (only)",title:"\ud83d\udd22 countMax (only)"},d=void 0,x={id:"specs/countCountMax/countMax_only",title:"\ud83d\udd22 countMax (only)",description:"countMax (only)",source:"@site/docs/specs/countCountMax/countMax_only.mdx",sourceDirName:"specs/countCountMax",slug:"/specs/countCountMax/countMax_only",permalink:"/fhir-dosage-utils/docs/specs/countCountMax/countMax_only",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/countCountMax/countMax_only.mdx",tags:[],version:"current",frontMatter:{description:"countMax (only)",title:"\ud83d\udd22 countMax (only)"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udd22 count (only)",permalink:"/fhir-dosage-utils/docs/specs/countCountMax/count"},next:{title:"\ud83d\udd22 count and countMax",permalink:"/fhir-dosage-utils/docs/specs/countCountMax/count_and_countMax"}},p={},f=[];function g(n){return(0,o.jsxs)(u.A,{children:[(0,o.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(i.A,{dosage:c})}),(0,o.jsx)(r.A,{value:"json",label:"Dosage",children:(0,o.jsx)(s.default,{language:"json",children:JSON.stringify(c,null,2)})})]})}function h(n={}){const{wrapper:t}={...(0,a.R)(),...n.components};return t?(0,o.jsx)(t,{...n,children:(0,o.jsx)(g,{...n})}):g()}},816:(n,t,e)=>{e.d(t,{A:()=>u});var o=e(6540),a=e(6300),s=e(1812),c=e(4848);function u(n){let{dosage:t,config:e}=n;const[u,r]=(0,o.useState)(""),[i,l]=(0,o.useState)(e?.language||"en"),[d,x]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const n=await a.A.build(e);x(n)}()}),[e]),(0,o.useEffect)((()=>{!async function(){if(d){const n=d.fromDosageToText(t);r(n)}}()}),[t,d]);return(0,c.jsxs)("div",{children:[(0,c.jsxs)("div",{style:{display:"flex"},children:[(0,c.jsxs)("select",{value:i,onChange:n=>l(n.target.value),style:{marginRight:"10px"},children:[(0,c.jsx)("option",{value:"en",children:"English"}),(0,c.jsx)("option",{value:"fr",children:"French"}),(0,c.jsx)("option",{value:"nl",children:"Dutch"}),(0,c.jsx)("option",{value:"de",children:"German"})]}),(0,c.jsx)("button",{onClick:async()=>{if(d){await d.changeLanguage(i);const n=d.fromDosageToText(t);r(n)}},children:"Confirm"})]}),(0,c.jsx)("div",{style:{marginTop:"10px"},children:(0,c.jsx)(s.default,{language:"markup",children:(p=u,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(n,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(n,t){return String.fromCharCode(parseInt(t,16))})))})})]});var p}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8516],{3510:(n,t,e)=>{e.r(t),e.d(t,{assets:()=>p,contentTitle:()=>d,default:()=>h,frontMatter:()=>l,metadata:()=>x,toc:()=>f});var o=e(4848),a=e(8453),s=e(1812);const c=JSON.parse('{"timing":{"repeat":{"countMax":3}}}');var u=e(4865),i=e(9365),r=e(816);const l={description:"countMax (only)",title:"\ud83d\udd22 countMax (only)"},d=void 0,x={id:"specs/countCountMax/countMax_only",title:"\ud83d\udd22 countMax (only)",description:"countMax (only)",source:"@site/docs/specs/countCountMax/countMax_only.mdx",sourceDirName:"specs/countCountMax",slug:"/specs/countCountMax/countMax_only",permalink:"/fhir-dosage-utils/docs/specs/countCountMax/countMax_only",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/countCountMax/countMax_only.mdx",tags:[],version:"current",frontMatter:{description:"countMax (only)",title:"\ud83d\udd22 countMax (only)"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udd22 count (only)",permalink:"/fhir-dosage-utils/docs/specs/countCountMax/count"},next:{title:"\ud83d\udd22 count and countMax",permalink:"/fhir-dosage-utils/docs/specs/countCountMax/count_and_countMax"}},p={},f=[];function g(n){return(0,o.jsxs)(u.A,{children:[(0,o.jsx)(i.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(r.A,{dosage:c})}),(0,o.jsx)(i.A,{value:"json",label:"Dosage",children:(0,o.jsx)(s.default,{language:"json",children:JSON.stringify(c,null,2)})})]})}function h(n={}){const{wrapper:t}={...(0,a.R)(),...n.components};return t?(0,o.jsx)(t,{...n,children:(0,o.jsx)(g,{...n})}):g()}},816:(n,t,e)=>{e.d(t,{A:()=>u});var o=e(6540),a=e(6300),s=e(1812),c=e(4848);function u(n){let{dosage:t,config:e,i18nConfig:u}=n;const[i,r]=(0,o.useState)(""),[l,d]=(0,o.useState)(e?.language||"en"),[x,p]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const n=await a.A.build(e,u);p(n)}()}),[e]),(0,o.useEffect)((()=>{!async function(){if(x){const n=x.fromDosageToText(t);r(n)}}()}),[t,x]);return(0,c.jsxs)("div",{children:[(0,c.jsxs)("div",{style:{display:"flex"},children:[(0,c.jsxs)("select",{value:l,onChange:n=>d(n.target.value),style:{marginRight:"10px"},children:[(0,c.jsx)("option",{value:"en",children:"English"}),(0,c.jsx)("option",{value:"fr",children:"French"}),(0,c.jsx)("option",{value:"nl",children:"Dutch"}),(0,c.jsx)("option",{value:"de",children:"German"})]}),(0,c.jsx)("button",{onClick:async()=>{if(x){await x.changeLanguage(l);const n=x.fromDosageToText(t);r(n)}},children:"Confirm"})]}),(0,c.jsx)("div",{style:{marginTop:"10px"},children:(0,c.jsx)(s.default,{language:"markup",children:(f=i,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(n,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(n,t){return String.fromCharCode(parseInt(t,16))})))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/87294416.02c65165.js b/assets/js/87294416.e20288c2.js similarity index 53% rename from assets/js/87294416.02c65165.js rename to assets/js/87294416.e20288c2.js index 81b3282d..11efc8c8 100644 --- a/assets/js/87294416.02c65165.js +++ b/assets/js/87294416.e20288c2.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1250],{7326:(a,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>h,frontMatter:()=>l,metadata:()=>x,toc:()=>f});var e=n(4848),r=n(8453),i=n(1812);const o=JSON.parse('{"timing":{"repeat":{"durationMax":5,"durationUnit":"d"}}}');var s=n(4865),u=n(9365),d=n(816);const l={description:"durationMax only",title:"\u23f0 durationMax"},c=void 0,x={id:"specs/durationDurationMax/durationMax_only",title:"\u23f0 durationMax",description:"durationMax only",source:"@site/docs/specs/durationDurationMax/durationMax_only.mdx",sourceDirName:"specs/durationDurationMax",slug:"/specs/durationDurationMax/durationMax_only",permalink:"/fhir-dosage-utils/docs/specs/durationDurationMax/durationMax_only",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/durationDurationMax/durationMax_only.mdx",tags:[],version:"current",frontMatter:{description:"durationMax only",title:"\u23f0 durationMax"},sidebar:"tutorialSidebar",previous:{title:"\u23f0 durationDurationMax",permalink:"/fhir-dosage-utils/docs/category/-durationdurationmax"},next:{title:"\u23f0 duration and durationMax",permalink:"/fhir-dosage-utils/docs/specs/durationDurationMax/duration_and_durationMax"}},p={},f=[];function g(a){return(0,e.jsxs)(s.A,{children:[(0,e.jsx)(u.A,{value:"text",label:"Human readable text",default:!0,children:(0,e.jsx)(d.A,{dosage:o})}),(0,e.jsx)(u.A,{value:"json",label:"Dosage",children:(0,e.jsx)(i.default,{language:"json",children:JSON.stringify(o,null,2)})})]})}function h(a={}){const{wrapper:t}={...(0,r.R)(),...a.components};return t?(0,e.jsx)(t,{...a,children:(0,e.jsx)(g,{...a})}):g()}},816:(a,t,n)=>{n.d(t,{A:()=>s});var e=n(6540),r=n(6300),i=n(1812),o=n(4848);function s(a){let{dosage:t,config:n}=a;const[s,u]=(0,e.useState)(""),[d,l]=(0,e.useState)(n?.language||"en"),[c,x]=(0,e.useState)(null);(0,e.useEffect)((()=>{!async function(){const a=await r.A.build(n);x(a)}()}),[n]),(0,e.useEffect)((()=>{!async function(){if(c){const a=c.fromDosageToText(t);u(a)}}()}),[t,c]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:d,onChange:a=>l(a.target.value),style:{marginRight:"10px"},children:[(0,o.jsx)("option",{value:"en",children:"English"}),(0,o.jsx)("option",{value:"fr",children:"French"}),(0,o.jsx)("option",{value:"nl",children:"Dutch"}),(0,o.jsx)("option",{value:"de",children:"German"})]}),(0,o.jsx)("button",{onClick:async()=>{if(c){await c.changeLanguage(d);const a=c.fromDosageToText(t);u(a)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(i.default,{language:"markup",children:(p=s,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(a,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(a,t){return String.fromCharCode(parseInt(t,16))})))})})]});var p}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1250],{7326:(a,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>c,default:()=>h,frontMatter:()=>l,metadata:()=>x,toc:()=>f});var e=n(4848),i=n(8453),r=n(1812);const o=JSON.parse('{"timing":{"repeat":{"durationMax":5,"durationUnit":"d"}}}');var s=n(4865),u=n(9365),d=n(816);const l={description:"durationMax only",title:"\u23f0 durationMax"},c=void 0,x={id:"specs/durationDurationMax/durationMax_only",title:"\u23f0 durationMax",description:"durationMax only",source:"@site/docs/specs/durationDurationMax/durationMax_only.mdx",sourceDirName:"specs/durationDurationMax",slug:"/specs/durationDurationMax/durationMax_only",permalink:"/fhir-dosage-utils/docs/specs/durationDurationMax/durationMax_only",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/durationDurationMax/durationMax_only.mdx",tags:[],version:"current",frontMatter:{description:"durationMax only",title:"\u23f0 durationMax"},sidebar:"tutorialSidebar",previous:{title:"\u23f0 durationDurationMax",permalink:"/fhir-dosage-utils/docs/category/-durationdurationmax"},next:{title:"\u23f0 duration and durationMax",permalink:"/fhir-dosage-utils/docs/specs/durationDurationMax/duration_and_durationMax"}},p={},f=[];function g(a){return(0,e.jsxs)(s.A,{children:[(0,e.jsx)(u.A,{value:"text",label:"Human readable text",default:!0,children:(0,e.jsx)(d.A,{dosage:o})}),(0,e.jsx)(u.A,{value:"json",label:"Dosage",children:(0,e.jsx)(r.default,{language:"json",children:JSON.stringify(o,null,2)})})]})}function h(a={}){const{wrapper:t}={...(0,i.R)(),...a.components};return t?(0,e.jsx)(t,{...a,children:(0,e.jsx)(g,{...a})}):g()}},816:(a,t,n)=>{n.d(t,{A:()=>s});var e=n(6540),i=n(6300),r=n(1812),o=n(4848);function s(a){let{dosage:t,config:n,i18nConfig:s}=a;const[u,d]=(0,e.useState)(""),[l,c]=(0,e.useState)(n?.language||"en"),[x,p]=(0,e.useState)(null);(0,e.useEffect)((()=>{!async function(){const a=await i.A.build(n,s);p(a)}()}),[n]),(0,e.useEffect)((()=>{!async function(){if(x){const a=x.fromDosageToText(t);d(a)}}()}),[t,x]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:l,onChange:a=>c(a.target.value),style:{marginRight:"10px"},children:[(0,o.jsx)("option",{value:"en",children:"English"}),(0,o.jsx)("option",{value:"fr",children:"French"}),(0,o.jsx)("option",{value:"nl",children:"Dutch"}),(0,o.jsx)("option",{value:"de",children:"German"})]}),(0,o.jsx)("button",{onClick:async()=>{if(x){await x.changeLanguage(l);const a=x.fromDosageToText(t);d(a)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(r.default,{language:"markup",children:(f=u,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(a,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(a,t){return String.fromCharCode(parseInt(t,16))})))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/883bfc27.bd9e2746.js b/assets/js/883bfc27.f4af5691.js similarity index 61% rename from assets/js/883bfc27.bd9e2746.js rename to assets/js/883bfc27.f4af5691.js index c879401d..76610df8 100644 --- a/assets/js/883bfc27.bd9e2746.js +++ b/assets/js/883bfc27.f4af5691.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4812],{4359:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>f,contentTitle:()=>u,default:()=>x,frontMatter:()=>l,metadata:()=>p,toc:()=>g});var o=n(4848),s=n(8453),a=n(1812);const c=JSON.parse('{"timing":{"code":{"text":"Take medication in the morning on weekends and days off work"}}}');var i=n(4865),r=n(9365),d=n(816);const l={description:"code",title:"\ud83d\udcbb code"},u=void 0,p={id:"specs/code/code",title:"\ud83d\udcbb code",description:"code",source:"@site/docs/specs/code/code.mdx",sourceDirName:"specs/code",slug:"/specs/code/",permalink:"/fhir-dosage-utils/docs/specs/code/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/code/code.mdx",tags:[],version:"current",frontMatter:{description:"code",title:"\ud83d\udcbb code"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udcbb code",permalink:"/fhir-dosage-utils/docs/category/-code"},next:{title:"\ud83d\udd22 count / countMax",permalink:"/fhir-dosage-utils/docs/category/-count--countmax"}},f={},g=[];function h(e){const t={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(i.A,{children:[(0,o.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(d.A,{dosage:c})}),(0,o.jsx)(r.A,{value:"json",label:"Dosage",children:(0,o.jsx)(a.default,{language:"json",children:JSON.stringify(c,null,2)})})]}),"\n",(0,o.jsx)(t.admonition,{type:"tip",children:(0,o.jsxs)(t.p,{children:["Don't forget you can use ",(0,o.jsx)(t.a,{href:"/api/interface/Params",children:"fromCodeableConceptToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(h,{...e})}):h(e)}},816:(e,t,n)=>{n.d(t,{A:()=>i});var o=n(6540),s=n(6300),a=n(1812),c=n(4848);function i(e){let{dosage:t,config:n}=e;const[i,r]=(0,o.useState)(""),[d,l]=(0,o.useState)(n?.language||"en"),[u,p]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await s.A.build(n);p(e)}()}),[n]),(0,o.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(t);r(e)}}()}),[t,u]);return(0,c.jsxs)("div",{children:[(0,c.jsxs)("div",{style:{display:"flex"},children:[(0,c.jsxs)("select",{value:d,onChange:e=>l(e.target.value),style:{marginRight:"10px"},children:[(0,c.jsx)("option",{value:"en",children:"English"}),(0,c.jsx)("option",{value:"fr",children:"French"}),(0,c.jsx)("option",{value:"nl",children:"Dutch"}),(0,c.jsx)("option",{value:"de",children:"German"})]}),(0,c.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(d);const e=u.fromDosageToText(t);r(e)}},children:"Confirm"})]}),(0,c.jsx)("div",{style:{marginTop:"10px"},children:(0,c.jsx)(a.default,{language:"markup",children:(f=i,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var f}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4812],{4359:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>f,contentTitle:()=>u,default:()=>x,frontMatter:()=>l,metadata:()=>p,toc:()=>g});var o=n(4848),s=n(8453),a=n(1812);const c=JSON.parse('{"timing":{"code":{"text":"Take medication in the morning on weekends and days off work"}}}');var i=n(4865),r=n(9365),d=n(816);const l={description:"code",title:"\ud83d\udcbb code"},u=void 0,p={id:"specs/code/code",title:"\ud83d\udcbb code",description:"code",source:"@site/docs/specs/code/code.mdx",sourceDirName:"specs/code",slug:"/specs/code/",permalink:"/fhir-dosage-utils/docs/specs/code/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/code/code.mdx",tags:[],version:"current",frontMatter:{description:"code",title:"\ud83d\udcbb code"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udcbb code",permalink:"/fhir-dosage-utils/docs/category/-code"},next:{title:"\ud83d\udd22 count / countMax",permalink:"/fhir-dosage-utils/docs/category/-count--countmax"}},f={},g=[];function h(e){const t={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(i.A,{children:[(0,o.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(d.A,{dosage:c})}),(0,o.jsx)(r.A,{value:"json",label:"Dosage",children:(0,o.jsx)(a.default,{language:"json",children:JSON.stringify(c,null,2)})})]}),"\n",(0,o.jsx)(t.admonition,{type:"tip",children:(0,o.jsxs)(t.p,{children:["Don't forget you can use ",(0,o.jsx)(t.a,{href:"/api/interface/Params",children:"fromCodeableConceptToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(h,{...e})}):h(e)}},816:(e,t,n)=>{n.d(t,{A:()=>i});var o=n(6540),s=n(6300),a=n(1812),c=n(4848);function i(e){let{dosage:t,config:n,i18nConfig:i}=e;const[r,d]=(0,o.useState)(""),[l,u]=(0,o.useState)(n?.language||"en"),[p,f]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await s.A.build(n,i);f(e)}()}),[n]),(0,o.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(t);d(e)}}()}),[t,p]);return(0,c.jsxs)("div",{children:[(0,c.jsxs)("div",{style:{display:"flex"},children:[(0,c.jsxs)("select",{value:l,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,c.jsx)("option",{value:"en",children:"English"}),(0,c.jsx)("option",{value:"fr",children:"French"}),(0,c.jsx)("option",{value:"nl",children:"Dutch"}),(0,c.jsx)("option",{value:"de",children:"German"})]}),(0,c.jsx)("button",{onClick:async()=>{if(p){await p.changeLanguage(l);const e=p.fromDosageToText(t);d(e)}},children:"Confirm"})]}),(0,c.jsx)("div",{style:{marginTop:"10px"},children:(0,c.jsx)(a.default,{language:"markup",children:(g=r,g.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/8926b418.4f16c6f6.js b/assets/js/8926b418.4f16c6f6.js deleted file mode 100644 index a79c9058..00000000 --- a/assets/js/8926b418.4f16c6f6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3663],{8264:(e,t,i)=>{i.d(t,{A:()=>r});var n=i(6540),s=i(6300),o=i(1812),a=i(4848);function r(e){let{dosages:t,config:i}=e;const[r,d]=(0,n.useState)(""),[c,h]=(0,n.useState)(i?.language||"en"),[l,p]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await s.A.build(i);p(e)}()}),[i]),(0,n.useEffect)((()=>{!async function(){if(l){const e=l.fromMultipleDosageToText(t);d(e)}}()}),[t,l]);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{style:{display:"flex"},children:[(0,a.jsxs)("select",{value:c,onChange:e=>h(e.target.value),style:{marginRight:"10px"},children:[(0,a.jsx)("option",{value:"en",children:"English"}),(0,a.jsx)("option",{value:"fr",children:"French"}),(0,a.jsx)("option",{value:"nl",children:"Dutch"}),(0,a.jsx)("option",{value:"de",children:"German"})]}),(0,a.jsx)("button",{onClick:async()=>{if(l){await l.changeLanguage(c);const e=l.fromMultipleDosageToText(t);d(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(o.default,{language:"markup",children:(f=r,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var f}},8029:(e,t,i)=>{i.d(t,{A:()=>L});var n=i(6540),s=i(8478),o=i(5293),a=i(1569),r=i(7489),d=i(1312);const c=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$ref":"#/definitions/PlaygroundInput","definitions":{"PlaygroundInput":{"type":"array","items":{"$ref":"#/definitions/Entry"},"$id":"Input"},"Entry":{"$ref":"#/definitions/Dosage"},"Dosage":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"modifierExtension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"additionalInstruction":{"type":"array","items":{"$ref":"#/definitions/CodeableConcept"},"description":"Information about administration or preparation of the medication (e.g. \\"infuse as rapidly as possibly via intraperitoneal port\\" or \\"immediately following drug x\\") should be populated in dosage.text."},"asNeededBoolean":{"type":"boolean","description":"Can express \\"as needed\\" without a reason by setting the Boolean = True. In this case the CodeableConcept is not populated. Or you can express \\"as needed\\" with a reason by including the CodeableConcept. In this case the Boolean is assumed to be True. If you set the Boolean to False, then the dose is given according to the schedule and is not \\"prn\\" or \\"as needed\\"."},"asNeededCodeableConcept":{"$ref":"#/definitions/CodeableConcept","description":"Can express \\"as needed\\" without a reason by setting the Boolean = True. In this case the CodeableConcept is not populated. Or you can express \\"as needed\\" with a reason by including the CodeableConcept. In this case the Boolean is assumed to be True. If you set the Boolean to False, then the dose is given according to the schedule and is not \\"prn\\" or \\"as needed\\"."},"doseAndRate":{"type":"array","items":{"$ref":"#/definitions/DosageDoseAndRate"},"description":"The amount of medication administered."},"maxDosePerAdministration":{"$ref":"#/definitions/Quantity","description":"This is intended for use as an adjunct to the dosage when there is an upper cap. For example, a body surface area related dose with a maximum amount, such as 1.5 mg/m2 (maximum 2 mg) IV over 5 \u2013 10 minutes would have doseQuantity of 1.5 mg/m2 and maxDosePerAdministration of 2 mg."},"maxDosePerLifetime":{"$ref":"#/definitions/Quantity","description":"Upper limit on medication per lifetime of the patient."},"maxDosePerPeriod":{"$ref":"#/definitions/Ratio","description":"This is intended for use as an adjunct to the dosage when there is an upper cap. For example \\"2 tablets every 4 hours to a maximum of 8/day\\"."},"method":{"$ref":"#/definitions/CodeableConcept","description":"Terminologies used often pre-coordinate this term with the route and or form of administration."},"patientInstruction":{"type":"string","description":"Instructions in terms that are understood by the patient or consumer."},"route":{"$ref":"#/definitions/CodeableConcept","description":"How drug should enter body."},"sequence":{"type":"number","description":"Indicates the order in which the dosage instructions should be applied or interpreted."},"site":{"$ref":"#/definitions/CodeableConcept","description":"If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [bodySite](extension-bodysite.html). May be a summary code, or a reference to a very precise definition of the location, or both."},"text":{"type":"string","description":"Free text dosage instructions e.g. SIG."},"timing":{"$ref":"#/definitions/Timing","description":"This attribute might not always be populated while the Dosage.text is expected to be populated. If both are populated, then the Dosage.text should reflect the content of the Dosage.timing."}},"additionalProperties":false,"description":"Indicates how the medication is/was taken or should be taken by the patient."},"Extension":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"url":{"type":"string","description":"The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension."},"valueBase64Binary":{"type":"string","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueBoolean":{"type":"boolean","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueCanonical":{"type":"string","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueCode":{"type":"string","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueDate":{"type":"string","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueDateTime":{"type":"string","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueDecimal":{"type":"number","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueId":{"type":"string","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueInstant":{"type":"string","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueInteger":{"type":"number","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueMarkdown":{"type":"string","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueOid":{"type":"string","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valuePositiveInt":{"type":"number","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueString":{"type":"string","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueTime":{"type":"string","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueUnsignedInt":{"type":"number","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueUri":{"type":"string","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueUrl":{"type":"string","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueUuid":{"type":"string","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueAddress":{"$ref":"#/definitions/Address","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueAge":{"$ref":"#/definitions/Age","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueAnnotation":{"$ref":"#/definitions/Annotation","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueAttachment":{"$ref":"#/definitions/Attachment","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueCodeableConcept":{"$ref":"#/definitions/CodeableConcept","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueCoding":{"$ref":"#/definitions/Coding","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueContactPoint":{"$ref":"#/definitions/ContactPoint","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueCount":{"$ref":"#/definitions/Count","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueDistance":{"$ref":"#/definitions/Distance","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueDuration":{"$ref":"#/definitions/Duration","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueHumanName":{"$ref":"#/definitions/HumanName","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueIdentifier":{"$ref":"#/definitions/Identifier","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueMoney":{"$ref":"#/definitions/Money","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valuePeriod":{"$ref":"#/definitions/Period","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueQuantity":{"$ref":"#/definitions/Quantity","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueRange":{"$ref":"#/definitions/Range","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueRatio":{"$ref":"#/definitions/Ratio","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueReference":{"$ref":"#/definitions/Reference","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueSampledData":{"$ref":"#/definitions/SampledData","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueSignature":{"$ref":"#/definitions/Signature","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueTiming":{"$ref":"#/definitions/Timing","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueContactDetail":{"$ref":"#/definitions/ContactDetail","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueContributor":{"$ref":"#/definitions/Contributor","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueDataRequirement":{"$ref":"#/definitions/DataRequirement","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueExpression":{"$ref":"#/definitions/Expression","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueParameterDefinition":{"$ref":"#/definitions/ParameterDefinition","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueRelatedArtifact":{"$ref":"#/definitions/RelatedArtifact","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueTriggerDefinition":{"$ref":"#/definitions/TriggerDefinition","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueUsageContext":{"$ref":"#/definitions/UsageContext","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueDosage":{"$ref":"#/definitions/Dosage","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueMeta":{"$ref":"#/definitions/Meta","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."}},"required":["url"],"additionalProperties":false,"description":"Optional Extension Element - found in all resources."},"Element":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."}},"additionalProperties":false,"description":"Base definition for all elements in a resource."},"Address":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"city":{"type":"string","description":"The name of the city, town, suburb, village or other community or delivery center."},"country":{"type":"string","description":"ISO 3166 3 letter codes can be used in place of a human readable country name."},"district":{"type":"string","description":"District is sometimes known as county, but in some regions \'county\' is used in place of city (municipality), so county name should be conveyed in city instead."},"line":{"type":"array","items":{"type":"string"},"description":"This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information."},"period":{"$ref":"#/definitions/Period","description":"Time period when address was/is in use."},"postalCode":{"type":"string","description":"A postal code designating a region defined by the postal service."},"state":{"type":"string","description":"Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (e.g. US 2 letter state codes)."},"text":{"type":"string","description":"Can provide both a text representation and parts. Applications updating an address SHALL ensure that when both text and parts are present, no content is included in the text that isn\'t found in a part."},"type":{"type":"string","enum":["postal","physical","both"],"description":"The definition of Address states that \\"address is intended to describe postal addresses, not physical locations\\". However, many applications track whether an address has a dual purpose of being a location that can be visited as well as being a valid delivery destination, and Postal addresses are often used as proxies for physical locations (also see the [Location](location.html#) resource)."},"use":{"type":"string","enum":["home","work","temp","old","billing"],"description":"Applications can assume that an address is current unless it explicitly says that it is temporary or old."}},"additionalProperties":false,"description":"An address expressed using postal conventions (as opposed to GPS or other location definition formats). This data type may be used to convey addresses for use in delivering mail as well as for visiting locations which might not be valid for mail delivery. There are a variety of postal address formats defined around the world."},"Period":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"end":{"type":"string","description":"The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has an end value of 2012-02-03."},"start":{"type":"string","description":"If the low element is missing, the meaning is that the low boundary is not known."}},"additionalProperties":false,"description":"A time period defined by a start and end date and optionally time."},"Age":{"type":"object","additionalProperties":false,"properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"code":{"type":"string","description":"The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system."},"comparator":{"type":"string","enum":["<","<=",">=",">"],"description":"How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \\"<\\" , then the real value is < stated value."},"system":{"type":"string","description":"The identification of the system that provides the coded form of the unit."},"unit":{"type":"string","description":"A human-readable form of the unit."},"value":{"type":"number","description":"The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)."}},"description":"A duration of time during which an organism (or a process) has existed."},"Annotation":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"authorReference":{"$ref":"#/definitions/Reference","description":"Organization is used when there\'s no need for specific attribution as to who made the comment."},"authorString":{"type":"string","description":"Organization is used when there\'s no need for specific attribution as to who made the comment."},"text":{"type":"string","description":"The text of the annotation in markdown format."},"time":{"type":"string","description":"Indicates when this particular annotation was made."}},"required":["text"],"additionalProperties":false,"description":"A text note which also contains information about who made the statement and when."},"Reference":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"display":{"type":"string","description":"This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what\'s being referenced, not to fully describe it."},"identifier":{"$ref":"#/definitions/Identifier","description":"When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it. Reference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any)."},"reference":{"type":"string","description":"Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \\"/[type]/[id]\\" then it should be assumed that the reference is to a FHIR RESTful server."},"type":{"type":"string","description":"This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified."}},"additionalProperties":false,"description":"A reference from one resource to another."},"Identifier":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"assigner":{"$ref":"#/definitions/Reference","description":"The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization."},"period":{"$ref":"#/definitions/Period","description":"Time period during which identifier is/was valid for use."},"system":{"type":"string","description":"Identifier.system is always case sensitive."},"type":{"$ref":"#/definitions/CodeableConcept","description":"This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type."},"use":{"type":"string","enum":["usual","official","temp","secondary","old"],"description":"Applications can assume that an identifier is permanent unless it explicitly says that it is temporary."},"value":{"type":"string","description":"If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value\'s primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the [Rendered Value extension](extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe."}},"additionalProperties":false,"description":"An identifier - identifies some entity uniquely and unambiguously. Typically this is used for business identifiers."},"CodeableConcept":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"coding":{"type":"array","items":{"$ref":"#/definitions/Coding"},"description":"Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."},"text":{"type":"string","description":"Very often the text is the same as a displayName of one of the codings."}},"additionalProperties":false,"description":"A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text."},"Coding":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"code":{"type":"string","description":"A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."},"display":{"type":"string","description":"A representation of the meaning of the code in the system, following the rules of the system."},"system":{"type":"string","description":"The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7\'s list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously."},"userSelected":{"type":"boolean","description":"Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly \'directly chosen\' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."},"version":{"type":"string","description":"Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."}},"additionalProperties":false,"description":"A reference to a code defined by a terminology system."},"Attachment":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"contentType":{"type":"string","description":"Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate."},"creation":{"type":"string","description":"The date that the attachment was first created."},"data":{"type":"string","description":"The base64-encoded data SHALL be expressed in the same character set as the base resource XML or JSON."},"hash":{"type":"string","description":"The hash is calculated on the data prior to base64 encoding, if the data is based64 encoded. The hash is not intended to support digital signatures. Where protection against malicious threats a digital signature should be considered, see [Provenance.signature](provenance-definitions.html#Provenance.signature) for mechanism to protect a resource with a digital signature."},"language":{"type":"string","description":"The human language of the content. The value can be any valid value according to BCP 47."},"size":{"type":"number","description":"The number of bytes is redundant if the data is provided as a base64binary, but is useful if the data is provided as a url reference."},"title":{"type":"string","description":"A label or set of text to display in place of the data."},"url":{"type":"string","description":"If both data and url are provided, the url SHALL point to the same content as the data contains. Urls may be relative references or may reference transient locations such as a wrapping envelope using cid: though this has ramifications for using signatures. Relative URLs are interpreted relative to the service url, like a resource reference, rather than relative to the resource itself. If a URL is provided, it SHALL resolve to actual data."}},"additionalProperties":false,"description":"For referring to data content defined in other formats."},"ContactPoint":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"period":{"$ref":"#/definitions/Period","description":"Time period when the contact point was/is in use."},"rank":{"type":"number","description":"Note that rank does not necessarily follow the order in which the contacts are represented in the instance."},"system":{"type":"string","enum":["phone","fax","email","pager","url","sms","other"],"description":"Telecommunications form for contact point - what communications system is required to make use of the contact."},"use":{"type":"string","enum":["home","work","temp","old","mobile"],"description":"Applications can assume that a contact is current unless it explicitly says that it is temporary or old."},"value":{"type":"string","description":"Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value."}},"additionalProperties":false,"description":"Details for all kinds of technology mediated contact points for a person or organization, including telephone, email, etc."},"Count":{"type":"object","additionalProperties":false,"properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"code":{"type":"string","description":"The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system."},"comparator":{"type":"string","enum":["<","<=",">=",">"],"description":"How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \\"<\\" , then the real value is < stated value."},"system":{"type":"string","description":"The identification of the system that provides the coded form of the unit."},"unit":{"type":"string","description":"A human-readable form of the unit."},"value":{"type":"number","description":"The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)."}},"description":"A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies."},"Distance":{"type":"object","additionalProperties":false,"properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"code":{"type":"string","description":"The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system."},"comparator":{"type":"string","enum":["<","<=",">=",">"],"description":"How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \\"<\\" , then the real value is < stated value."},"system":{"type":"string","description":"The identification of the system that provides the coded form of the unit."},"unit":{"type":"string","description":"A human-readable form of the unit."},"value":{"type":"number","description":"The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)."}},"description":"A length - a value with a unit that is a physical distance."},"Duration":{"type":"object","additionalProperties":false,"properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"code":{"type":"string","description":"The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system."},"comparator":{"type":"string","enum":["<","<=",">=",">"],"description":"How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \\"<\\" , then the real value is < stated value."},"system":{"type":"string","description":"The identification of the system that provides the coded form of the unit."},"unit":{"type":"string","description":"A human-readable form of the unit."},"value":{"type":"number","description":"The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)."}},"description":"A length of time."},"HumanName":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"family":{"type":"string","description":"Family Name may be decomposed into specific parts using extensions (de, nl, es related cultures)."},"given":{"type":"array","items":{"type":"string"},"description":"If only initials are recorded, they may be used in place of the full name parts. Initials may be separated into multiple given names but often aren\'t due to paractical limitations. This element is not called \\"first name\\" since given names do not always come first."},"period":{"$ref":"#/definitions/Period","description":"Indicates the period of time when this name was valid for the named person."},"prefix":{"type":"array","items":{"type":"string"},"description":"Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name."},"suffix":{"type":"array","items":{"type":"string"},"description":"Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name."},"text":{"type":"string","description":"Can provide both a text representation and parts. Applications updating a name SHALL ensure that when both text and parts are present, no content is included in the text that isn\'t found in a part."},"use":{"type":"string","enum":["usual","official","temp","nickname","anonymous","old","maiden"],"description":"Applications can assume that a name is current unless it explicitly says that it is temporary or old."}},"additionalProperties":false,"description":"A human\'s name with the ability to identify parts and usage."},"Money":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"currency":{"type":"string","description":"ISO 4217 Currency Code."},"value":{"type":"number","description":"Monetary values have their own rules for handling precision (refer to standard accounting text books)."}},"additionalProperties":false,"description":"An amount of economic utility in some recognized currency."},"Quantity":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"code":{"type":"string","description":"The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system."},"comparator":{"type":"string","enum":["<","<=",">=",">"],"description":"How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \\"<\\" , then the real value is < stated value."},"system":{"type":"string","description":"The identification of the system that provides the coded form of the unit."},"unit":{"type":"string","description":"A human-readable form of the unit."},"value":{"type":"number","description":"The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)."}},"additionalProperties":false,"description":"A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies."},"Range":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"high":{"$ref":"#/definitions/Quantity","description":"If the high element is missing, the high boundary is not known."},"low":{"$ref":"#/definitions/Quantity","description":"If the low element is missing, the low boundary is not known."}},"additionalProperties":false,"description":"A set of ordered Quantities defined by a low and high limit."},"Ratio":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"denominator":{"$ref":"#/definitions/Quantity","description":"The value of the denominator."},"numerator":{"$ref":"#/definitions/Quantity","description":"The value of the numerator."}},"additionalProperties":false,"description":"A relationship of two Quantity values - expressed as a numerator and a denominator."},"SampledData":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"data":{"type":"string","description":"Data may be missing if it is omitted for summarization purposes. In general, data is required for any actual use of a SampledData."},"dimensions":{"type":"number","description":"If there is more than one dimension, the code for the type of data will define the meaning of the dimensions (typically ECG data)."},"factor":{"type":"number","description":"A correction factor that is applied to the sampled data points before they are added to the origin."},"lowerLimit":{"type":"number","description":"The lower limit of detection of the measured points. This is needed if any of the data points have the value \\"L\\" (lower than detection limit)."},"origin":{"$ref":"#/definitions/Quantity","description":"The base quantity that a measured value of zero represents. In addition, this provides the units of the entire measurement series."},"period":{"type":"number","description":"This is usually a whole number."},"upperLimit":{"type":"number","description":"The upper limit of detection of the measured points. This is needed if any of the data points have the value \\"U\\" (higher than detection limit)."}},"required":["dimensions","origin","period"],"additionalProperties":false,"description":"A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data."},"Signature":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"data":{"type":"string","description":"Where the signature type is an XML DigSig, the signed content is a FHIR Resource(s), the signature is of the XML form of the Resource(s) using XML-Signature (XMLDIG) \\"Detached Signature\\" form."},"onBehalfOf":{"$ref":"#/definitions/Reference","description":"The party that can\'t sign. For example a child."},"sigFormat":{"type":"string","description":"A mime type that indicates the technical format of the signature. Important mime types are application/signature+xml for X ML DigSig, application/jose for JWS, and image/* for a graphical image of a signature, etc."},"targetFormat":{"type":"string","description":"\\"xml\\", \\"json\\" and \\"ttl\\" are allowed, which describe the simple encodings described in the specification (and imply appropriate bundle support). Otherwise, mime types are legal here."},"type":{"type":"array","items":{"$ref":"#/definitions/Coding"},"description":"Examples include attesting to: authorship, correct transcription, and witness of specific event. Also known as a "Commitment Type Indication"."},"when":{"type":"string","description":"This should agree with the information in the signature."},"who":{"$ref":"#/definitions/Reference","description":"This should agree with the information in the signature."}},"required":["type","when","who"],"additionalProperties":false,"description":"A signature along with supporting context. The signature may be a digital signature that is cryptographic in nature, or some other signature acceptable to the domain. This other signature may be as simple as a graphical image representing a hand-written signature, or a signature ceremony Different signature approaches have different utilities."},"Timing":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"modifierExtension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"code":{"$ref":"#/definitions/CodeableConcept","description":"BID etc. are defined as \'at institutionally specified times\'. For example, an institution may choose that BID is \\"always at 7am and 6pm\\". If it is inappropriate for this choice to be made, the code BID should not be used. Instead, a distinct organization-specific code should be used in place of the HL7-defined BID code and/or a structured representation should be used (in this case, specifying the two event times)."},"event":{"type":"array","items":{"type":"string"},"description":"Identifies specific times when the event occurs."},"repeat":{"$ref":"#/definitions/TimingRepeat","description":"A set of rules that describe when the event is scheduled."}},"additionalProperties":false,"description":"Specifies an event that may occur multiple times. Timing schedules are used to record when things are planned, expected or requested to occur. The most common usage is in dosage instructions for medications. They are also used when planning care of various kinds, and may be used for reporting the schedule to which past regular activities were carried out."},"TimingRepeat":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"boundsDuration":{"$ref":"#/definitions/Duration","description":"Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule."},"boundsRange":{"$ref":"#/definitions/Range","description":"Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule."},"boundsPeriod":{"$ref":"#/definitions/Period","description":"Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule."},"count":{"type":"number","description":"If you have both bounds and count, then this should be understood as within the bounds period, until count times happens."},"countMax":{"type":"number","description":"If present, indicates that the count is a range - so to perform the action between [count] and [countMax] times."},"dayOfWeek":{"type":"array","items":{"type":"string","enum":["mon","tue","wed","thu","fri","sat","sun"]},"description":"If no days are specified, the action is assumed to happen every day as otherwise specified. The elements frequency and period cannot be used as well as dayOfWeek."},"duration":{"type":"number","description":"For some events the duration is part of the definition of the event (e.g. IV infusions, where the duration is implicit in the specified quantity and rate). For others, it\'s part of the timing specification (e.g. exercise)."},"durationMax":{"type":"number","description":"For some events the duration is part of the definition of the event (e.g. IV infusions, where the duration is implicit in the specified quantity and rate). For others, it\'s part of the timing specification (e.g. exercise)."},"durationUnit":{"type":"string","enum":["s","min","h","d","wk","mo","a"],"description":"The units of time for the duration, in UCUM units."},"frequency":{"type":"number","description":"The number of times to repeat the action within the specified period. If frequencyMax is present, this element indicates the lower bound of the allowed range of the frequency."},"frequencyMax":{"type":"number","description":"If present, indicates that the frequency is a range - so to repeat between [frequency] and [frequencyMax] times within the period or period range."},"offset":{"type":"number","description":"The number of minutes from the event. If the event code does not indicate whether the minutes is before or after the event, then the offset is assumed to be after the event."},"period":{"type":"number","description":"Indicates the duration of time over which repetitions are to occur; e.g. to express \\"3 times per day\\", 3 would be the frequency and \\"1 day\\" would be the period. If periodMax is present, this element indicates the lower bound of the allowed range of the period length."},"periodMax":{"type":"number","description":"If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as \\"do this once every 3-5 days."},"periodUnit":{"type":"string","enum":["s","min","h","d","wk","mo","a"],"description":"The units of time for the period in UCUM units."},"timeOfDay":{"type":"array","items":{"type":"string"},"description":"When time of day is specified, it is inferred that the action happens every day (as filtered by dayofWeek) on the specified times. The elements when, frequency and period cannot be used as well as timeOfDay."},"when":{"type":"array","items":{"type":"string","enum":["MORN","MORN.early","MORN.late","NOON","AFT","AFT.early","AFT.late","EVE","EVE.early","EVE.late","NIGHT","PHS","IMD","HS","WAKE","C","CM","CD","CV","AC","ACM","ACD","ACV","PC","PCM","PCD","PCV"]},"description":"When more than one event is listed, the event is tied to the union of the specified events."}},"additionalProperties":false,"description":"A set of rules that describe when the event is scheduled."},"ContactDetail":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"name":{"type":"string","description":"If there is no named individual, the telecom information is for the organization as a whole."},"telecom":{"type":"array","items":{"$ref":"#/definitions/ContactPoint"},"description":"The contact details for the individual (if a name was provided) or the organization."}},"additionalProperties":false,"description":"Specifies contact information for a person or organization."},"Contributor":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"contact":{"type":"array","items":{"$ref":"#/definitions/ContactDetail"},"description":"Contact details to assist a user in finding and communicating with the contributor."},"name":{"type":"string","description":"The name of the individual or organization responsible for the contribution."},"type":{"type":"string","enum":["author","editor","reviewer","endorser"],"description":"The type of contributor."}},"required":["name","type"],"additionalProperties":false,"description":"A contributor to the content of a knowledge asset, including authors, editors, reviewers, and endorsers."},"DataRequirement":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"codeFilter":{"type":"array","items":{"$ref":"#/definitions/DataRequirementCodeFilter"},"description":"Code filters specify additional constraints on the data, specifying the value set of interest for a particular element of the data. Each code filter defines an additional constraint on the data, i.e. code filters are AND\'ed, not OR\'ed."},"dateFilter":{"type":"array","items":{"$ref":"#/definitions/DataRequirementDateFilter"},"description":"Date filters specify additional constraints on the data in terms of the applicable date range for specific elements. Each date filter specifies an additional constraint on the data, i.e. date filters are AND\'ed, not OR\'ed."},"limit":{"type":"number","description":"This element can be used in combination with the sort element to specify quota requirements such as \\"the most recent 5\\" or \\"the highest 5\\"."},"mustSupport":{"type":"array","items":{"type":"string"},"description":"Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available. The value of mustSupport SHALL be a FHIRPath resolveable on the type of the DataRequirement. The path SHALL consist only of identifiers, constant indexers, and .resolve() (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details)."},"profile":{"type":"array","items":{"type":"string"},"description":"The profile of the required data, specified as the uri of the profile definition."},"sort":{"type":"array","items":{"$ref":"#/definitions/DataRequirementSort"},"description":"This element can be used in combination with the sort element to specify quota requirements such as \\"the most recent 5\\" or \\"the highest 5\\". When multiple sorts are specified, they are applied in the order they appear in the resource."},"subjectCodeableConcept":{"$ref":"#/definitions/CodeableConcept","description":"The subject of a data requirement is critical, as the data being specified is determined with respect to a particular subject. This corresponds roughly to the notion of a Compartment in that it limits what data is available based on its relationship to the subject. In CQL, this corresponds to the context declaration."},"subjectReference":{"$ref":"#/definitions/Reference","description":"The subject of a data requirement is critical, as the data being specified is determined with respect to a particular subject. This corresponds roughly to the notion of a Compartment in that it limits what data is available based on its relationship to the subject. In CQL, this corresponds to the context declaration."},"type":{"type":"string","description":"The type of the required data, specified as the type name of a resource. For profiles, this value is set to the type of the base resource of the profile."}},"required":["type"],"additionalProperties":false,"description":"Describes a required data item for evaluation in terms of the type of data, and optional code or date-based filters of the data."},"DataRequirementCodeFilter":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"code":{"type":"array","items":{"$ref":"#/definitions/Coding"},"description":"The codes for the code filter. If values are given, the filter will return only those data items for which the code-valued attribute specified by the path has a value that is one of the specified codes. If codes are specified in addition to a value set, the filter returns items matching a code in the value set or one of the specified codes."},"path":{"type":"string","description":"The path attribute contains a [Simple FHIRPath Subset](fhirpath.html#simple) that allows path traversal, but not calculation."},"searchParam":{"type":"string","description":"A token parameter that refers to a search parameter defined on the specified type of the DataRequirement, and which searches on elements of type code, Coding, or CodeableConcept."},"valueSet":{"type":"string","description":"The valueset for the code filter. The valueSet and code elements are additive. If valueSet is specified, the filter will return only those data items for which the value of the code-valued element specified in the path is a member of the specified valueset."}},"additionalProperties":false,"description":"Code filters specify additional constraints on the data, specifying the value set of interest for a particular element of the data. Each code filter defines an additional constraint on the data, i.e. code filters are AND\'ed, not OR\'ed."},"DataRequirementDateFilter":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"path":{"type":"string","description":"The path attribute contains a [Simple FHIR Subset](fhirpath.html#simple) that allows path traversal, but not calculation."},"searchParam":{"type":"string","description":"A date parameter that refers to a search parameter defined on the specified type of the DataRequirement, and which searches on elements of type date, dateTime, Period, Schedule, or Timing."},"valueDateTime":{"type":"string","description":"The value of the filter. If period is specified, the filter will return only those data items that fall within the bounds determined by the Period, inclusive of the period boundaries. If dateTime is specified, the filter will return only those data items that are equal to the specified dateTime. If a Duration is specified, the filter will return only those data items that fall within Duration before now."},"valuePeriod":{"$ref":"#/definitions/Period","description":"The value of the filter. If period is specified, the filter will return only those data items that fall within the bounds determined by the Period, inclusive of the period boundaries. If dateTime is specified, the filter will return only those data items that are equal to the specified dateTime. If a Duration is specified, the filter will return only those data items that fall within Duration before now."},"valueDuration":{"$ref":"#/definitions/Duration","description":"The value of the filter. If period is specified, the filter will return only those data items that fall within the bounds determined by the Period, inclusive of the period boundaries. If dateTime is specified, the filter will return only those data items that are equal to the specified dateTime. If a Duration is specified, the filter will return only those data items that fall within Duration before now."}},"additionalProperties":false,"description":"Date filters specify additional constraints on the data in terms of the applicable date range for specific elements. Each date filter specifies an additional constraint on the data, i.e. date filters are AND\'ed, not OR\'ed."},"DataRequirementSort":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"direction":{"type":"string","enum":["ascending","descending"],"description":"The direction of the sort, ascending or descending."},"path":{"type":"string","description":"The attribute of the sort. The specified path must be resolvable from the type of the required data. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements. Note that the index must be an integer constant."}},"required":["direction","path"],"additionalProperties":false,"description":"This element can be used in combination with the sort element to specify quota requirements such as \\"the most recent 5\\" or \\"the highest 5\\". When multiple sorts are specified, they are applied in the order they appear in the resource."},"Expression":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"description":{"type":"string","description":"A brief, natural language description of the condition that effectively communicates the intended semantics."},"expression":{"type":"string","description":"An expression in the specified language that returns a value."},"language":{"type":"string","description":"The media type of the language for the expression."},"name":{"type":"string","description":"A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined."},"reference":{"type":"string","description":"If both a reference and an expression is found, the reference SHALL point to the same expression."}},"required":["language"],"additionalProperties":false,"description":"A expression that is evaluated in a specified context and returns a value. The context of use of the expression must specify the context in which the expression is evaluated, and how the result of the expression is used."},"ParameterDefinition":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"documentation":{"type":"string","description":"A brief discussion of what the parameter is for and how it is used by the module."},"max":{"type":"string","description":"The maximum number of times this element is permitted to appear in the request or response."},"min":{"type":"number","description":"The minimum number of times this parameter SHALL appear in the request or response."},"name":{"type":"string","description":"The name of the parameter used to allow access to the value of the parameter in evaluation contexts."},"profile":{"type":"string","description":"If specified, this indicates a profile that the input data must conform to, or that the output data will conform to."},"type":{"type":"string","description":"The type of the parameter."},"use":{"type":"string","enum":["in","out"],"description":"Whether the parameter is input or output for the module."}},"required":["type","use"],"additionalProperties":false,"description":"The parameters to the module. This collection specifies both the input and output parameters. Input parameters are provided by the caller as part of the $evaluate operation. Output parameters are included in the GuidanceResponse."},"RelatedArtifact":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"citation":{"type":"string","description":"Additional structured information about citations should be captured as extensions."},"display":{"type":"string","description":"A brief description of the document or knowledge resource being referenced, suitable for display to a consumer."},"document":{"$ref":"#/definitions/Attachment","description":"The document being referenced, represented as an attachment. This is exclusive with the resource element."},"label":{"type":"string","description":"A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index."},"resource":{"type":"string","description":"If the type is predecessor, this is a reference to the succeeding knowledge resource. If the type is successor, this is a reference to the prior knowledge resource."},"type":{"type":"string","enum":["documentation","justification","citation","predecessor","successor","derived-from","depends-on","composed-of"],"description":"The type of relationship to the related artifact."},"url":{"type":"string","description":"If a document or resource element is present, this element SHALL NOT be provided (use the url or reference in the Attachment or resource reference)."}},"required":["type"],"additionalProperties":false,"description":"Related artifacts such as additional documentation, justification, or bibliographic references."},"TriggerDefinition":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"condition":{"$ref":"#/definitions/Expression","description":"This element can be only be specified for data type triggers and provides additional semantics for the trigger. The context available within the condition is based on the type of data event. For all events, the current resource will be available as context. In addition, for modification events, the previous resource will also be available. The expression may be inlined, or may be a simple absolute URI, which is a reference to a named expression within a logic library referenced by a library element or extension within the containing resource. If the expression is a FHIR Path expression, it evaluates in the context of a resource of one of the type identified in the data requirement, and may also refer to the variable %previous for delta comparisons on events of type data-changed, data-modified, and data-deleted which will always have the same type."},"data":{"type":"array","items":{"$ref":"#/definitions/DataRequirement"},"description":"This element shall be present for any data type trigger."},"name":{"type":"string","description":"An event name can be provided for all event types, but is required for named events. If a name is provided for a type other than named events, it is considered to be a shorthand for the semantics described by the formal description of the event."},"timingTiming":{"$ref":"#/definitions/Timing","description":"The timing of the event (if this is a periodic trigger)."},"timingReference":{"$ref":"#/definitions/Reference","description":"The timing of the event (if this is a periodic trigger)."},"timingDate":{"type":"string","description":"The timing of the event (if this is a periodic trigger)."},"timingDateTime":{"type":"string","description":"The timing of the event (if this is a periodic trigger)."},"type":{"type":"string","enum":["named-event","periodic","data-changed","data-added","data-modified","data-removed","data-accessed","data-access-ended"],"description":"The type of triggering event."}},"required":["type"],"additionalProperties":false,"description":"A description of a triggering event. Triggering events can be named events, data events, or periodic, as determined by the type element."},"UsageContext":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"code":{"$ref":"#/definitions/Coding","description":"A code that identifies the type of context being specified by this usage context."},"valueCodeableConcept":{"$ref":"#/definitions/CodeableConcept","description":"A value that defines the context specified in this context of use. The interpretation of the value is defined by the code."},"valueQuantity":{"$ref":"#/definitions/Quantity","description":"A value that defines the context specified in this context of use. The interpretation of the value is defined by the code."},"valueRange":{"$ref":"#/definitions/Range","description":"A value that defines the context specified in this context of use. The interpretation of the value is defined by the code."},"valueReference":{"$ref":"#/definitions/Reference","description":"A value that defines the context specified in this context of use. The interpretation of the value is defined by the code."}},"required":["code"],"additionalProperties":false,"description":"Specifies clinical/business/etc. metadata that can be used to retrieve, index and/or categorize an artifact. This metadata can either be specific to the applicable population (e.g., age category, DRG) or the specific context of care (e.g., venue, care setting, provider of care)."},"Meta":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"lastUpdated":{"type":"string","description":"This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant. This is equivalent to the HTTP Last-Modified and SHOULD have the same value on a [read](http.html#read) interaction."},"profile":{"type":"array","items":{"type":"string"},"description":"It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time. The list of profile URLs is a set."},"security":{"type":"array","items":{"$ref":"#/definitions/Coding"},"description":"The security labels can be updated without changing the stated version of the resource. The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored."},"source":{"type":"string","description":"In the provenance resource, this corresponds to Provenance.entity.what[x]. The exact use of the source (and the implied Provenance.entity.role) is left to implementer discretion. Only one nominated source is allowed; for additional provenance details, a full Provenance resource should be used. This element can be used to indicate where the current master source of a resource that has a canonical URL if the resource is no longer hosted at the canonical URL."},"tag":{"type":"array","items":{"$ref":"#/definitions/Coding"},"description":"The tags can be updated without changing the stated version of the resource. The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored."},"versionId":{"type":"string","description":"The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes."}},"additionalProperties":false,"description":"The metadata about a resource. This is content in the resource that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource."},"DosageDoseAndRate":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"doseRange":{"$ref":"#/definitions/Range","description":"Note that this specifies the quantity of the specified medication, not the quantity for each active ingredient(s). Each ingredient amount can be communicated in the Medication resource. For example, if one wants to communicate that a tablet was 375 mg, where the dose was one tablet, you can use the Medication resource to document that the tablet was comprised of 375 mg of drug XYZ. Alternatively if the dose was 375 mg, then you may only need to use the Medication resource to indicate this was a tablet. If the example were an IV such as dopamine and you wanted to communicate that 400mg of dopamine was mixed in 500 ml of some IV solution, then this would all be communicated in the Medication resource. If the administration is not intended to be instantaneous (rate is present or timing has a duration), this can be specified to convey the total amount to be administered over the period of time as indicated by the schedule e.g. 500 ml in dose, with timing used to convey that this should be done over 4 hours."},"doseQuantity":{"$ref":"#/definitions/Quantity","description":"Note that this specifies the quantity of the specified medication, not the quantity for each active ingredient(s). Each ingredient amount can be communicated in the Medication resource. For example, if one wants to communicate that a tablet was 375 mg, where the dose was one tablet, you can use the Medication resource to document that the tablet was comprised of 375 mg of drug XYZ. Alternatively if the dose was 375 mg, then you may only need to use the Medication resource to indicate this was a tablet. If the example were an IV such as dopamine and you wanted to communicate that 400mg of dopamine was mixed in 500 ml of some IV solution, then this would all be communicated in the Medication resource. If the administration is not intended to be instantaneous (rate is present or timing has a duration), this can be specified to convey the total amount to be administered over the period of time as indicated by the schedule e.g. 500 ml in dose, with timing used to convey that this should be done over 4 hours."},"rateRatio":{"$ref":"#/definitions/Ratio","description":"It is possible to supply both a rate and a doseQuantity to provide full details about how the medication is to be administered and supplied. If the rate is intended to change over time, depending on local rules/regulations, each change should be captured as a new version of the MedicationRequest with an updated rate, or captured with a new MedicationRequest with the new rate. It is possible to specify a rate over time (for example, 100 ml/hour) using either the rateRatio and rateQuantity. The rateQuantity approach requires systems to have the capability to parse UCUM grammer where ml/hour is included rather than a specific ratio where the time is specified as the denominator. Where a rate such as 500ml over 2 hours is specified, the use of rateRatio may be more semantically correct than specifying using a rateQuantity of 250 mg/hour."},"rateRange":{"$ref":"#/definitions/Range","description":"It is possible to supply both a rate and a doseQuantity to provide full details about how the medication is to be administered and supplied. If the rate is intended to change over time, depending on local rules/regulations, each change should be captured as a new version of the MedicationRequest with an updated rate, or captured with a new MedicationRequest with the new rate. It is possible to specify a rate over time (for example, 100 ml/hour) using either the rateRatio and rateQuantity. The rateQuantity approach requires systems to have the capability to parse UCUM grammer where ml/hour is included rather than a specific ratio where the time is specified as the denominator. Where a rate such as 500ml over 2 hours is specified, the use of rateRatio may be more semantically correct than specifying using a rateQuantity of 250 mg/hour."},"rateQuantity":{"$ref":"#/definitions/Quantity","description":"It is possible to supply both a rate and a doseQuantity to provide full details about how the medication is to be administered and supplied. If the rate is intended to change over time, depending on local rules/regulations, each change should be captured as a new version of the MedicationRequest with an updated rate, or captured with a new MedicationRequest with the new rate. It is possible to specify a rate over time (for example, 100 ml/hour) using either the rateRatio and rateQuantity. The rateQuantity approach requires systems to have the capability to parse UCUM grammer where ml/hour is included rather than a specific ratio where the time is specified as the denominator. Where a rate such as 500ml over 2 hours is specified, the use of rateRatio may be more semantically correct than specifying using a rateQuantity of 250 mg/hour."},"type":{"$ref":"#/definitions/CodeableConcept","description":"The kind of dose or rate specified, for example, ordered or calculated."}},"additionalProperties":false,"description":"The amount of medication administered."}}}'),h=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$ref":"#/definitions/Config","definitions":{"Config":{"type":"object","properties":{"language":{"type":"string","enum":["en","fr","nl","de"],"description":"To set up the language"},"displayOrder":{"type":"array","items":{"type":"string","enum":["method","doseQuantity","doseRange","rateRatio","rateQuantity","rateRange","durationDurationMax","frequencyFrequencyMax","periodPeriodMax","frequencyFrequencyMaxPeriodPeriodMax","offsetWhen","dayOfWeek","timeOfDay","route","site","asNeeded","boundsDuration","boundsPeriod","boundsRange","countCountMax","event","code","maxDosePerPeriod","maxDosePerAdministration","maxDosePerLifetime","additionalInstruction","patientInstruction","text","extension"]},"description":"Control the display order used by the algorithm Useful when you want to turn on / off some specific rules for some reason"},"displaySeparator":{"type":"string","description":"Override separator between each part of \\"Dosage\\""},"dateTimeFormatOptions":{"$ref":"#/definitions/Intl.DateTimeFormatOptions","description":"To control the formatting of dateTime objects. If not provided, will use the defaults according locale e.g. \\"20/01/2024\\""}},"additionalProperties":false,"$id":"Config"},"Intl.DateTimeFormatOptions":{"type":"object","properties":{"localeMatcher":{"type":"string","enum":["best fit","lookup"]},"weekday":{"type":"string","enum":["long","short","narrow"]},"era":{"type":"string","enum":["long","short","narrow"]},"year":{"type":"string","enum":["numeric","2-digit"]},"month":{"type":"string","enum":["numeric","2-digit","long","short","narrow"]},"day":{"type":"string","enum":["numeric","2-digit"]},"hour":{"type":"string","enum":["numeric","2-digit"]},"minute":{"type":"string","enum":["numeric","2-digit"]},"second":{"type":"string","enum":["numeric","2-digit"]},"timeZoneName":{"type":"string","enum":["short","long","shortOffset","longOffset","shortGeneric","longGeneric"]},"formatMatcher":{"type":"string","enum":["best fit","basic"]},"hour12":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false}}}');var l=i(4848);const p=["file:///input-editor"],f=["file:///config-editor"];function u(){return(0,l.jsx)("div",{children:(0,l.jsx)(d.A,{values:{id:"json-schema.labels.loading"},children:"Loading ...."})})}function m(e){const{error:t}=e;return(0,l.jsx)(d.A,{values:{id:"json-schema.labels.errorOccurred",message:t.message},children:"Something bad happens : {message}"})}function y(e){let{error:t,tryAgain:i}=e;return(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{children:(0,l.jsx)(m,{error:t})}),(0,l.jsx)("button",{onClick:i,children:"Try Again!"})]})}function g(e,t){let i=e;return"boolean"==typeof i?`https://docusaurus.io/json-viewer/schema_${t}.json`:void 0!==i.$id?i.$id:`https://docusaurus.io/json-viewer/schema_${i.$ref||t}.json`}function b(e){const{...t}=e;return(0,l.jsx)(a.Ay,{height:"90vh",language:"json",editorWillMount:e=>{e.languages.json.jsonDefaults.setDiagnosticsOptions({validate:!0,schemas:[c,h].map(((e,t)=>({uri:g(e,t),fileMatch:0===t?p:f,schema:e})))})},...t})}function x(e){return(0,l.jsx)(s.A,{fallback:(0,l.jsx)(u,{}),children:()=>(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(r.A,{fallback:e=>(0,l.jsx)(y,{...e}),children:(0,l.jsx)(b,{...e})})})})}var v=i(1622);const w=(0,n.createContext)({state:{data:"{}",config:"{}",inputSchemaRef:void 0,configSchemaRef:void 0},updateState:()=>{}}),T=()=>(0,n.useContext)(w),j=w.Provider;function I(){const{state:{data:e},updateState:t}=T(),{colorMode:i}=(0,o.G)();return(0,l.jsx)(v.A,{summary:(0,l.jsx)("summary",{children:"Input"}),open:!0,children:(0,l.jsx)(x,{value:e,height:"70vh",theme:"dark"===i?"vs-dark":"vs",editorDidMount:e=>{t({inputSchemaRef:e})},uri:e=>{let{Uri:t}=e;return t.parse("input-editor")},onChange:e=>{t({data:e})}})})}function R(){return(0,l.jsx)(s.A,{fallback:(0,l.jsx)("div",{children:"Loading..."}),children:()=>(0,l.jsx)(I,{})})}function C(){const{state:{config:e},updateState:t}=T(),{colorMode:i}=(0,o.G)();return(0,l.jsx)(v.A,{summary:(0,l.jsx)("summary",{children:"Config"}),open:!1,children:(0,l.jsx)(x,{value:e,height:"70vh",theme:"dark"===i?"vs-dark":"vs",uri:e=>{let{Uri:t}=e;return t.parse("config-editor")},editorDidMount:e=>{t({configSchemaRef:e})},onChange:e=>{t({config:e})}})})}function $(){return(0,l.jsx)(s.A,{fallback:(0,l.jsx)("div",{children:"Loading..."}),children:()=>(0,l.jsx)(C,{})})}function A(){return(0,l.jsxs)("div",{style:{boxSizing:"border-box",width:"50%"},children:[(0,l.jsxs)("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"center",padding:"8px",backgroundColor:"inherit"},children:[(0,l.jsx)("h1",{children:"Setup"}),"\xa0",(0,l.jsx)("div",{style:{flex:1}})]}),(0,l.jsx)(R,{}),(0,l.jsx)($,{})]})}function q(){return(0,l.jsx)(s.A,{fallback:(0,l.jsx)("div",{children:"Loading..."}),children:()=>(0,l.jsx)(A,{})})}var E=i(8264);function D(e,t){try{return JSON.parse(e)}catch(i){return t}}function P(){return n.useLayoutEffect((()=>{const e=document.createElement("style");return e.innerHTML="\n .loading-animation {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n }\n\n .spinner {\n width: 50px;\n height: 50px;\n border: 3px solid #ccc;\n border-top-color: #333;\n border-radius: 50%;\n animation: spin 1s infinite linear; /* Infinite animation */\n }\n\n @keyframes spin {\n to {\n transform: rotate(360deg);\n }\n }\n ",document.head.appendChild(e),()=>{document.head.removeChild(e)}}),[]),(0,l.jsxs)("div",{className:"loading-animation",children:[(0,l.jsx)("div",{className:"spinner"}),(0,l.jsx)("p",{children:"Loading..."})]})}function S(){const{state:{data:e,config:t}}=T(),i=D(e,[]),n=D(t,{});return(0,l.jsxs)("div",{style:{boxSizing:"border-box",width:"50%"},children:[(0,l.jsxs)("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"center",padding:"8px",backgroundColor:"inherit"},children:[(0,l.jsx)("h1",{children:"Output"}),"\xa0",(0,l.jsx)("div",{style:{flex:1}})]}),(0,l.jsxs)("div",{children:[i.length>0&&(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(E.A,{dosages:i,config:n})}),0===i.length&&(0,l.jsx)(P,{})]})]})}function U(){return(0,l.jsx)(s.A,{fallback:(0,l.jsx)("div",{children:"Loading..."}),children:()=>(0,l.jsx)(S,{})})}const F=JSON.parse('[{"timing":{"repeat":{"frequency":1,"period":8,"periodUnit":"h"}}}]'),H=JSON.parse('{"dateTimeFormatOptions":{},"displayOrder":["method","doseQuantity","doseRange","rateRatio","rateQuantity","rateRange","durationDurationMax","frequencyFrequencyMaxPeriodPeriodMax","offsetWhen","dayOfWeek","timeOfDay","route","site","asNeeded","boundsDuration","boundsPeriod","boundsRange","countCountMax","event","code","maxDosePerPeriod","maxDosePerAdministration","maxDosePerLifetime","additionalInstruction","patientInstruction"],"displaySeparator":" - "}');function M(){const{state:{config:e,data:t}}=T();return(0,l.jsx)("div",{style:{display:"flex",flexDirection:"column",overflowY:"hidden",overflowX:"hidden"},children:(0,l.jsxs)("div",{style:{display:"flex",flexDirection:"row",justifyContent:"space-between"},children:[(0,l.jsx)(q,{}),(0,l.jsx)(U,{},e+t)]})})}function k(){const[e,t]=n.useState({data:JSON.stringify(F,null,"\t"),config:JSON.stringify(H,null,"\t")});return(0,l.jsx)(j,{value:{state:e,updateState:function(e){t((t=>({...t,...e})))}},children:(0,l.jsx)(M,{})})}function L(){return(0,l.jsx)(s.A,{fallback:(0,l.jsx)("div",{children:"Loading..."}),children:()=>(0,l.jsx)(k,{})})}},4190:(e,t,i)=>{i.r(t),i.d(t,{default:()=>d});i(6540);var n=i(7747),s=i(8478),o=i(7489),a=i(4848);function r(){return(0,a.jsx)(o.A,{fallback:e=>{let{error:t,tryAgain:i}=e;return(0,a.jsxs)("div",{children:[(0,a.jsxs)("p",{children:["Playground component crashed because of error: ",t.message,"."]}),(0,a.jsx)("button",{onClick:i,children:"Try Again!"})]})},children:(0,a.jsx)(s.A,{fallback:(0,a.jsx)("div",{children:"Loading..."}),children:()=>{const e=i(8029).A;return(0,a.jsx)(e,{})}})})}function d(){return(0,a.jsx)(n.A,{title:"Playground",description:"Playground of docusaurus-json-schema-plugin",children:(0,a.jsx)(r,{})})}}}]); \ No newline at end of file diff --git a/assets/js/8926b418.6a4df707.js b/assets/js/8926b418.6a4df707.js new file mode 100644 index 00000000..bb956917 --- /dev/null +++ b/assets/js/8926b418.6a4df707.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3663],{8264:(e,t,i)=>{i.d(t,{A:()=>r});var n=i(6540),s=i(6300),o=i(1812),a=i(4848);function r(e){let{dosages:t,config:i,i18nConfig:r}=e;const[d,c]=(0,n.useState)(""),[h,l]=(0,n.useState)(i?.language||"en"),[p,f]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await s.A.build(i,r);f(e)}()}),[i]),(0,n.useEffect)((()=>{!async function(){if(p){const e=p.fromMultipleDosageToText(t);c(e)}}()}),[t,p]);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{style:{display:"flex"},children:[(0,a.jsxs)("select",{value:h,onChange:e=>l(e.target.value),style:{marginRight:"10px"},children:[(0,a.jsx)("option",{value:"en",children:"English"}),(0,a.jsx)("option",{value:"fr",children:"French"}),(0,a.jsx)("option",{value:"nl",children:"Dutch"}),(0,a.jsx)("option",{value:"de",children:"German"})]}),(0,a.jsx)("button",{onClick:async()=>{if(p){await p.changeLanguage(h);const e=p.fromMultipleDosageToText(t);c(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(o.default,{language:"markup",children:(u=d,u.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var u}},8029:(e,t,i)=>{i.d(t,{A:()=>L});var n=i(6540),s=i(8478),o=i(5293),a=i(1569),r=i(7489),d=i(1312);const c=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$ref":"#/definitions/PlaygroundInput","definitions":{"PlaygroundInput":{"type":"array","items":{"$ref":"#/definitions/Entry"},"$id":"Input"},"Entry":{"$ref":"#/definitions/Dosage"},"Dosage":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"modifierExtension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"additionalInstruction":{"type":"array","items":{"$ref":"#/definitions/CodeableConcept"},"description":"Information about administration or preparation of the medication (e.g. \\"infuse as rapidly as possibly via intraperitoneal port\\" or \\"immediately following drug x\\") should be populated in dosage.text."},"asNeededBoolean":{"type":"boolean","description":"Can express \\"as needed\\" without a reason by setting the Boolean = True. In this case the CodeableConcept is not populated. Or you can express \\"as needed\\" with a reason by including the CodeableConcept. In this case the Boolean is assumed to be True. If you set the Boolean to False, then the dose is given according to the schedule and is not \\"prn\\" or \\"as needed\\"."},"asNeededCodeableConcept":{"$ref":"#/definitions/CodeableConcept","description":"Can express \\"as needed\\" without a reason by setting the Boolean = True. In this case the CodeableConcept is not populated. Or you can express \\"as needed\\" with a reason by including the CodeableConcept. In this case the Boolean is assumed to be True. If you set the Boolean to False, then the dose is given according to the schedule and is not \\"prn\\" or \\"as needed\\"."},"doseAndRate":{"type":"array","items":{"$ref":"#/definitions/DosageDoseAndRate"},"description":"The amount of medication administered."},"maxDosePerAdministration":{"$ref":"#/definitions/Quantity","description":"This is intended for use as an adjunct to the dosage when there is an upper cap. For example, a body surface area related dose with a maximum amount, such as 1.5 mg/m2 (maximum 2 mg) IV over 5 \u2013 10 minutes would have doseQuantity of 1.5 mg/m2 and maxDosePerAdministration of 2 mg."},"maxDosePerLifetime":{"$ref":"#/definitions/Quantity","description":"Upper limit on medication per lifetime of the patient."},"maxDosePerPeriod":{"$ref":"#/definitions/Ratio","description":"This is intended for use as an adjunct to the dosage when there is an upper cap. For example \\"2 tablets every 4 hours to a maximum of 8/day\\"."},"method":{"$ref":"#/definitions/CodeableConcept","description":"Terminologies used often pre-coordinate this term with the route and or form of administration."},"patientInstruction":{"type":"string","description":"Instructions in terms that are understood by the patient or consumer."},"route":{"$ref":"#/definitions/CodeableConcept","description":"How drug should enter body."},"sequence":{"type":"number","description":"Indicates the order in which the dosage instructions should be applied or interpreted."},"site":{"$ref":"#/definitions/CodeableConcept","description":"If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [bodySite](extension-bodysite.html). May be a summary code, or a reference to a very precise definition of the location, or both."},"text":{"type":"string","description":"Free text dosage instructions e.g. SIG."},"timing":{"$ref":"#/definitions/Timing","description":"This attribute might not always be populated while the Dosage.text is expected to be populated. If both are populated, then the Dosage.text should reflect the content of the Dosage.timing."}},"additionalProperties":false,"description":"Indicates how the medication is/was taken or should be taken by the patient."},"Extension":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"url":{"type":"string","description":"The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension."},"valueBase64Binary":{"type":"string","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueBoolean":{"type":"boolean","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueCanonical":{"type":"string","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueCode":{"type":"string","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueDate":{"type":"string","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueDateTime":{"type":"string","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueDecimal":{"type":"number","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueId":{"type":"string","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueInstant":{"type":"string","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueInteger":{"type":"number","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueMarkdown":{"type":"string","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueOid":{"type":"string","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valuePositiveInt":{"type":"number","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueString":{"type":"string","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueTime":{"type":"string","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueUnsignedInt":{"type":"number","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueUri":{"type":"string","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueUrl":{"type":"string","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueUuid":{"type":"string","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueAddress":{"$ref":"#/definitions/Address","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueAge":{"$ref":"#/definitions/Age","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueAnnotation":{"$ref":"#/definitions/Annotation","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueAttachment":{"$ref":"#/definitions/Attachment","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueCodeableConcept":{"$ref":"#/definitions/CodeableConcept","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueCoding":{"$ref":"#/definitions/Coding","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueContactPoint":{"$ref":"#/definitions/ContactPoint","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueCount":{"$ref":"#/definitions/Count","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueDistance":{"$ref":"#/definitions/Distance","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueDuration":{"$ref":"#/definitions/Duration","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueHumanName":{"$ref":"#/definitions/HumanName","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueIdentifier":{"$ref":"#/definitions/Identifier","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueMoney":{"$ref":"#/definitions/Money","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valuePeriod":{"$ref":"#/definitions/Period","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueQuantity":{"$ref":"#/definitions/Quantity","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueRange":{"$ref":"#/definitions/Range","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueRatio":{"$ref":"#/definitions/Ratio","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueReference":{"$ref":"#/definitions/Reference","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueSampledData":{"$ref":"#/definitions/SampledData","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueSignature":{"$ref":"#/definitions/Signature","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueTiming":{"$ref":"#/definitions/Timing","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueContactDetail":{"$ref":"#/definitions/ContactDetail","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueContributor":{"$ref":"#/definitions/Contributor","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueDataRequirement":{"$ref":"#/definitions/DataRequirement","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueExpression":{"$ref":"#/definitions/Expression","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueParameterDefinition":{"$ref":"#/definitions/ParameterDefinition","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueRelatedArtifact":{"$ref":"#/definitions/RelatedArtifact","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueTriggerDefinition":{"$ref":"#/definitions/TriggerDefinition","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueUsageContext":{"$ref":"#/definitions/UsageContext","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueDosage":{"$ref":"#/definitions/Dosage","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."},"valueMeta":{"$ref":"#/definitions/Meta","description":"Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list)."}},"required":["url"],"additionalProperties":false,"description":"Optional Extension Element - found in all resources."},"Element":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."}},"additionalProperties":false,"description":"Base definition for all elements in a resource."},"Address":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"city":{"type":"string","description":"The name of the city, town, suburb, village or other community or delivery center."},"country":{"type":"string","description":"ISO 3166 3 letter codes can be used in place of a human readable country name."},"district":{"type":"string","description":"District is sometimes known as county, but in some regions \'county\' is used in place of city (municipality), so county name should be conveyed in city instead."},"line":{"type":"array","items":{"type":"string"},"description":"This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information."},"period":{"$ref":"#/definitions/Period","description":"Time period when address was/is in use."},"postalCode":{"type":"string","description":"A postal code designating a region defined by the postal service."},"state":{"type":"string","description":"Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (e.g. US 2 letter state codes)."},"text":{"type":"string","description":"Can provide both a text representation and parts. Applications updating an address SHALL ensure that when both text and parts are present, no content is included in the text that isn\'t found in a part."},"type":{"type":"string","enum":["postal","physical","both"],"description":"The definition of Address states that \\"address is intended to describe postal addresses, not physical locations\\". However, many applications track whether an address has a dual purpose of being a location that can be visited as well as being a valid delivery destination, and Postal addresses are often used as proxies for physical locations (also see the [Location](location.html#) resource)."},"use":{"type":"string","enum":["home","work","temp","old","billing"],"description":"Applications can assume that an address is current unless it explicitly says that it is temporary or old."}},"additionalProperties":false,"description":"An address expressed using postal conventions (as opposed to GPS or other location definition formats). This data type may be used to convey addresses for use in delivering mail as well as for visiting locations which might not be valid for mail delivery. There are a variety of postal address formats defined around the world."},"Period":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"end":{"type":"string","description":"The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has an end value of 2012-02-03."},"start":{"type":"string","description":"If the low element is missing, the meaning is that the low boundary is not known."}},"additionalProperties":false,"description":"A time period defined by a start and end date and optionally time."},"Age":{"type":"object","additionalProperties":false,"properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"code":{"type":"string","description":"The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system."},"comparator":{"type":"string","enum":["<","<=",">=",">"],"description":"How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \\"<\\" , then the real value is < stated value."},"system":{"type":"string","description":"The identification of the system that provides the coded form of the unit."},"unit":{"type":"string","description":"A human-readable form of the unit."},"value":{"type":"number","description":"The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)."}},"description":"A duration of time during which an organism (or a process) has existed."},"Annotation":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"authorReference":{"$ref":"#/definitions/Reference","description":"Organization is used when there\'s no need for specific attribution as to who made the comment."},"authorString":{"type":"string","description":"Organization is used when there\'s no need for specific attribution as to who made the comment."},"text":{"type":"string","description":"The text of the annotation in markdown format."},"time":{"type":"string","description":"Indicates when this particular annotation was made."}},"required":["text"],"additionalProperties":false,"description":"A text note which also contains information about who made the statement and when."},"Reference":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"display":{"type":"string","description":"This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what\'s being referenced, not to fully describe it."},"identifier":{"$ref":"#/definitions/Identifier","description":"When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it. Reference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any)."},"reference":{"type":"string","description":"Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \\"/[type]/[id]\\" then it should be assumed that the reference is to a FHIR RESTful server."},"type":{"type":"string","description":"This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified."}},"additionalProperties":false,"description":"A reference from one resource to another."},"Identifier":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"assigner":{"$ref":"#/definitions/Reference","description":"The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization."},"period":{"$ref":"#/definitions/Period","description":"Time period during which identifier is/was valid for use."},"system":{"type":"string","description":"Identifier.system is always case sensitive."},"type":{"$ref":"#/definitions/CodeableConcept","description":"This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type."},"use":{"type":"string","enum":["usual","official","temp","secondary","old"],"description":"Applications can assume that an identifier is permanent unless it explicitly says that it is temporary."},"value":{"type":"string","description":"If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value\'s primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the [Rendered Value extension](extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe."}},"additionalProperties":false,"description":"An identifier - identifies some entity uniquely and unambiguously. Typically this is used for business identifiers."},"CodeableConcept":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"coding":{"type":"array","items":{"$ref":"#/definitions/Coding"},"description":"Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."},"text":{"type":"string","description":"Very often the text is the same as a displayName of one of the codings."}},"additionalProperties":false,"description":"A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text."},"Coding":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"code":{"type":"string","description":"A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."},"display":{"type":"string","description":"A representation of the meaning of the code in the system, following the rules of the system."},"system":{"type":"string","description":"The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7\'s list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously."},"userSelected":{"type":"boolean","description":"Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly \'directly chosen\' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."},"version":{"type":"string","description":"Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."}},"additionalProperties":false,"description":"A reference to a code defined by a terminology system."},"Attachment":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"contentType":{"type":"string","description":"Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate."},"creation":{"type":"string","description":"The date that the attachment was first created."},"data":{"type":"string","description":"The base64-encoded data SHALL be expressed in the same character set as the base resource XML or JSON."},"hash":{"type":"string","description":"The hash is calculated on the data prior to base64 encoding, if the data is based64 encoded. The hash is not intended to support digital signatures. Where protection against malicious threats a digital signature should be considered, see [Provenance.signature](provenance-definitions.html#Provenance.signature) for mechanism to protect a resource with a digital signature."},"language":{"type":"string","description":"The human language of the content. The value can be any valid value according to BCP 47."},"size":{"type":"number","description":"The number of bytes is redundant if the data is provided as a base64binary, but is useful if the data is provided as a url reference."},"title":{"type":"string","description":"A label or set of text to display in place of the data."},"url":{"type":"string","description":"If both data and url are provided, the url SHALL point to the same content as the data contains. Urls may be relative references or may reference transient locations such as a wrapping envelope using cid: though this has ramifications for using signatures. Relative URLs are interpreted relative to the service url, like a resource reference, rather than relative to the resource itself. If a URL is provided, it SHALL resolve to actual data."}},"additionalProperties":false,"description":"For referring to data content defined in other formats."},"ContactPoint":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"period":{"$ref":"#/definitions/Period","description":"Time period when the contact point was/is in use."},"rank":{"type":"number","description":"Note that rank does not necessarily follow the order in which the contacts are represented in the instance."},"system":{"type":"string","enum":["phone","fax","email","pager","url","sms","other"],"description":"Telecommunications form for contact point - what communications system is required to make use of the contact."},"use":{"type":"string","enum":["home","work","temp","old","mobile"],"description":"Applications can assume that a contact is current unless it explicitly says that it is temporary or old."},"value":{"type":"string","description":"Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value."}},"additionalProperties":false,"description":"Details for all kinds of technology mediated contact points for a person or organization, including telephone, email, etc."},"Count":{"type":"object","additionalProperties":false,"properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"code":{"type":"string","description":"The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system."},"comparator":{"type":"string","enum":["<","<=",">=",">"],"description":"How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \\"<\\" , then the real value is < stated value."},"system":{"type":"string","description":"The identification of the system that provides the coded form of the unit."},"unit":{"type":"string","description":"A human-readable form of the unit."},"value":{"type":"number","description":"The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)."}},"description":"A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies."},"Distance":{"type":"object","additionalProperties":false,"properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"code":{"type":"string","description":"The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system."},"comparator":{"type":"string","enum":["<","<=",">=",">"],"description":"How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \\"<\\" , then the real value is < stated value."},"system":{"type":"string","description":"The identification of the system that provides the coded form of the unit."},"unit":{"type":"string","description":"A human-readable form of the unit."},"value":{"type":"number","description":"The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)."}},"description":"A length - a value with a unit that is a physical distance."},"Duration":{"type":"object","additionalProperties":false,"properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"code":{"type":"string","description":"The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system."},"comparator":{"type":"string","enum":["<","<=",">=",">"],"description":"How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \\"<\\" , then the real value is < stated value."},"system":{"type":"string","description":"The identification of the system that provides the coded form of the unit."},"unit":{"type":"string","description":"A human-readable form of the unit."},"value":{"type":"number","description":"The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)."}},"description":"A length of time."},"HumanName":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"family":{"type":"string","description":"Family Name may be decomposed into specific parts using extensions (de, nl, es related cultures)."},"given":{"type":"array","items":{"type":"string"},"description":"If only initials are recorded, they may be used in place of the full name parts. Initials may be separated into multiple given names but often aren\'t due to paractical limitations. This element is not called \\"first name\\" since given names do not always come first."},"period":{"$ref":"#/definitions/Period","description":"Indicates the period of time when this name was valid for the named person."},"prefix":{"type":"array","items":{"type":"string"},"description":"Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name."},"suffix":{"type":"array","items":{"type":"string"},"description":"Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name."},"text":{"type":"string","description":"Can provide both a text representation and parts. Applications updating a name SHALL ensure that when both text and parts are present, no content is included in the text that isn\'t found in a part."},"use":{"type":"string","enum":["usual","official","temp","nickname","anonymous","old","maiden"],"description":"Applications can assume that a name is current unless it explicitly says that it is temporary or old."}},"additionalProperties":false,"description":"A human\'s name with the ability to identify parts and usage."},"Money":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"currency":{"type":"string","description":"ISO 4217 Currency Code."},"value":{"type":"number","description":"Monetary values have their own rules for handling precision (refer to standard accounting text books)."}},"additionalProperties":false,"description":"An amount of economic utility in some recognized currency."},"Quantity":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"code":{"type":"string","description":"The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system."},"comparator":{"type":"string","enum":["<","<=",">=",">"],"description":"How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \\"<\\" , then the real value is < stated value."},"system":{"type":"string","description":"The identification of the system that provides the coded form of the unit."},"unit":{"type":"string","description":"A human-readable form of the unit."},"value":{"type":"number","description":"The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)."}},"additionalProperties":false,"description":"A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies."},"Range":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"high":{"$ref":"#/definitions/Quantity","description":"If the high element is missing, the high boundary is not known."},"low":{"$ref":"#/definitions/Quantity","description":"If the low element is missing, the low boundary is not known."}},"additionalProperties":false,"description":"A set of ordered Quantities defined by a low and high limit."},"Ratio":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"denominator":{"$ref":"#/definitions/Quantity","description":"The value of the denominator."},"numerator":{"$ref":"#/definitions/Quantity","description":"The value of the numerator."}},"additionalProperties":false,"description":"A relationship of two Quantity values - expressed as a numerator and a denominator."},"SampledData":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"data":{"type":"string","description":"Data may be missing if it is omitted for summarization purposes. In general, data is required for any actual use of a SampledData."},"dimensions":{"type":"number","description":"If there is more than one dimension, the code for the type of data will define the meaning of the dimensions (typically ECG data)."},"factor":{"type":"number","description":"A correction factor that is applied to the sampled data points before they are added to the origin."},"lowerLimit":{"type":"number","description":"The lower limit of detection of the measured points. This is needed if any of the data points have the value \\"L\\" (lower than detection limit)."},"origin":{"$ref":"#/definitions/Quantity","description":"The base quantity that a measured value of zero represents. In addition, this provides the units of the entire measurement series."},"period":{"type":"number","description":"This is usually a whole number."},"upperLimit":{"type":"number","description":"The upper limit of detection of the measured points. This is needed if any of the data points have the value \\"U\\" (higher than detection limit)."}},"required":["dimensions","origin","period"],"additionalProperties":false,"description":"A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data."},"Signature":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"data":{"type":"string","description":"Where the signature type is an XML DigSig, the signed content is a FHIR Resource(s), the signature is of the XML form of the Resource(s) using XML-Signature (XMLDIG) \\"Detached Signature\\" form."},"onBehalfOf":{"$ref":"#/definitions/Reference","description":"The party that can\'t sign. For example a child."},"sigFormat":{"type":"string","description":"A mime type that indicates the technical format of the signature. Important mime types are application/signature+xml for X ML DigSig, application/jose for JWS, and image/* for a graphical image of a signature, etc."},"targetFormat":{"type":"string","description":"\\"xml\\", \\"json\\" and \\"ttl\\" are allowed, which describe the simple encodings described in the specification (and imply appropriate bundle support). Otherwise, mime types are legal here."},"type":{"type":"array","items":{"$ref":"#/definitions/Coding"},"description":"Examples include attesting to: authorship, correct transcription, and witness of specific event. Also known as a "Commitment Type Indication"."},"when":{"type":"string","description":"This should agree with the information in the signature."},"who":{"$ref":"#/definitions/Reference","description":"This should agree with the information in the signature."}},"required":["type","when","who"],"additionalProperties":false,"description":"A signature along with supporting context. The signature may be a digital signature that is cryptographic in nature, or some other signature acceptable to the domain. This other signature may be as simple as a graphical image representing a hand-written signature, or a signature ceremony Different signature approaches have different utilities."},"Timing":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"modifierExtension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"code":{"$ref":"#/definitions/CodeableConcept","description":"BID etc. are defined as \'at institutionally specified times\'. For example, an institution may choose that BID is \\"always at 7am and 6pm\\". If it is inappropriate for this choice to be made, the code BID should not be used. Instead, a distinct organization-specific code should be used in place of the HL7-defined BID code and/or a structured representation should be used (in this case, specifying the two event times)."},"event":{"type":"array","items":{"type":"string"},"description":"Identifies specific times when the event occurs."},"repeat":{"$ref":"#/definitions/TimingRepeat","description":"A set of rules that describe when the event is scheduled."}},"additionalProperties":false,"description":"Specifies an event that may occur multiple times. Timing schedules are used to record when things are planned, expected or requested to occur. The most common usage is in dosage instructions for medications. They are also used when planning care of various kinds, and may be used for reporting the schedule to which past regular activities were carried out."},"TimingRepeat":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"boundsDuration":{"$ref":"#/definitions/Duration","description":"Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule."},"boundsRange":{"$ref":"#/definitions/Range","description":"Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule."},"boundsPeriod":{"$ref":"#/definitions/Period","description":"Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule."},"count":{"type":"number","description":"If you have both bounds and count, then this should be understood as within the bounds period, until count times happens."},"countMax":{"type":"number","description":"If present, indicates that the count is a range - so to perform the action between [count] and [countMax] times."},"dayOfWeek":{"type":"array","items":{"type":"string","enum":["mon","tue","wed","thu","fri","sat","sun"]},"description":"If no days are specified, the action is assumed to happen every day as otherwise specified. The elements frequency and period cannot be used as well as dayOfWeek."},"duration":{"type":"number","description":"For some events the duration is part of the definition of the event (e.g. IV infusions, where the duration is implicit in the specified quantity and rate). For others, it\'s part of the timing specification (e.g. exercise)."},"durationMax":{"type":"number","description":"For some events the duration is part of the definition of the event (e.g. IV infusions, where the duration is implicit in the specified quantity and rate). For others, it\'s part of the timing specification (e.g. exercise)."},"durationUnit":{"type":"string","enum":["s","min","h","d","wk","mo","a"],"description":"The units of time for the duration, in UCUM units."},"frequency":{"type":"number","description":"The number of times to repeat the action within the specified period. If frequencyMax is present, this element indicates the lower bound of the allowed range of the frequency."},"frequencyMax":{"type":"number","description":"If present, indicates that the frequency is a range - so to repeat between [frequency] and [frequencyMax] times within the period or period range."},"offset":{"type":"number","description":"The number of minutes from the event. If the event code does not indicate whether the minutes is before or after the event, then the offset is assumed to be after the event."},"period":{"type":"number","description":"Indicates the duration of time over which repetitions are to occur; e.g. to express \\"3 times per day\\", 3 would be the frequency and \\"1 day\\" would be the period. If periodMax is present, this element indicates the lower bound of the allowed range of the period length."},"periodMax":{"type":"number","description":"If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as \\"do this once every 3-5 days."},"periodUnit":{"type":"string","enum":["s","min","h","d","wk","mo","a"],"description":"The units of time for the period in UCUM units."},"timeOfDay":{"type":"array","items":{"type":"string"},"description":"When time of day is specified, it is inferred that the action happens every day (as filtered by dayofWeek) on the specified times. The elements when, frequency and period cannot be used as well as timeOfDay."},"when":{"type":"array","items":{"type":"string","enum":["MORN","MORN.early","MORN.late","NOON","AFT","AFT.early","AFT.late","EVE","EVE.early","EVE.late","NIGHT","PHS","IMD","HS","WAKE","C","CM","CD","CV","AC","ACM","ACD","ACV","PC","PCM","PCD","PCV"]},"description":"When more than one event is listed, the event is tied to the union of the specified events."}},"additionalProperties":false,"description":"A set of rules that describe when the event is scheduled."},"ContactDetail":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"name":{"type":"string","description":"If there is no named individual, the telecom information is for the organization as a whole."},"telecom":{"type":"array","items":{"$ref":"#/definitions/ContactPoint"},"description":"The contact details for the individual (if a name was provided) or the organization."}},"additionalProperties":false,"description":"Specifies contact information for a person or organization."},"Contributor":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"contact":{"type":"array","items":{"$ref":"#/definitions/ContactDetail"},"description":"Contact details to assist a user in finding and communicating with the contributor."},"name":{"type":"string","description":"The name of the individual or organization responsible for the contribution."},"type":{"type":"string","enum":["author","editor","reviewer","endorser"],"description":"The type of contributor."}},"required":["name","type"],"additionalProperties":false,"description":"A contributor to the content of a knowledge asset, including authors, editors, reviewers, and endorsers."},"DataRequirement":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"codeFilter":{"type":"array","items":{"$ref":"#/definitions/DataRequirementCodeFilter"},"description":"Code filters specify additional constraints on the data, specifying the value set of interest for a particular element of the data. Each code filter defines an additional constraint on the data, i.e. code filters are AND\'ed, not OR\'ed."},"dateFilter":{"type":"array","items":{"$ref":"#/definitions/DataRequirementDateFilter"},"description":"Date filters specify additional constraints on the data in terms of the applicable date range for specific elements. Each date filter specifies an additional constraint on the data, i.e. date filters are AND\'ed, not OR\'ed."},"limit":{"type":"number","description":"This element can be used in combination with the sort element to specify quota requirements such as \\"the most recent 5\\" or \\"the highest 5\\"."},"mustSupport":{"type":"array","items":{"type":"string"},"description":"Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available. The value of mustSupport SHALL be a FHIRPath resolveable on the type of the DataRequirement. The path SHALL consist only of identifiers, constant indexers, and .resolve() (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details)."},"profile":{"type":"array","items":{"type":"string"},"description":"The profile of the required data, specified as the uri of the profile definition."},"sort":{"type":"array","items":{"$ref":"#/definitions/DataRequirementSort"},"description":"This element can be used in combination with the sort element to specify quota requirements such as \\"the most recent 5\\" or \\"the highest 5\\". When multiple sorts are specified, they are applied in the order they appear in the resource."},"subjectCodeableConcept":{"$ref":"#/definitions/CodeableConcept","description":"The subject of a data requirement is critical, as the data being specified is determined with respect to a particular subject. This corresponds roughly to the notion of a Compartment in that it limits what data is available based on its relationship to the subject. In CQL, this corresponds to the context declaration."},"subjectReference":{"$ref":"#/definitions/Reference","description":"The subject of a data requirement is critical, as the data being specified is determined with respect to a particular subject. This corresponds roughly to the notion of a Compartment in that it limits what data is available based on its relationship to the subject. In CQL, this corresponds to the context declaration."},"type":{"type":"string","description":"The type of the required data, specified as the type name of a resource. For profiles, this value is set to the type of the base resource of the profile."}},"required":["type"],"additionalProperties":false,"description":"Describes a required data item for evaluation in terms of the type of data, and optional code or date-based filters of the data."},"DataRequirementCodeFilter":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"code":{"type":"array","items":{"$ref":"#/definitions/Coding"},"description":"The codes for the code filter. If values are given, the filter will return only those data items for which the code-valued attribute specified by the path has a value that is one of the specified codes. If codes are specified in addition to a value set, the filter returns items matching a code in the value set or one of the specified codes."},"path":{"type":"string","description":"The path attribute contains a [Simple FHIRPath Subset](fhirpath.html#simple) that allows path traversal, but not calculation."},"searchParam":{"type":"string","description":"A token parameter that refers to a search parameter defined on the specified type of the DataRequirement, and which searches on elements of type code, Coding, or CodeableConcept."},"valueSet":{"type":"string","description":"The valueset for the code filter. The valueSet and code elements are additive. If valueSet is specified, the filter will return only those data items for which the value of the code-valued element specified in the path is a member of the specified valueset."}},"additionalProperties":false,"description":"Code filters specify additional constraints on the data, specifying the value set of interest for a particular element of the data. Each code filter defines an additional constraint on the data, i.e. code filters are AND\'ed, not OR\'ed."},"DataRequirementDateFilter":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"path":{"type":"string","description":"The path attribute contains a [Simple FHIR Subset](fhirpath.html#simple) that allows path traversal, but not calculation."},"searchParam":{"type":"string","description":"A date parameter that refers to a search parameter defined on the specified type of the DataRequirement, and which searches on elements of type date, dateTime, Period, Schedule, or Timing."},"valueDateTime":{"type":"string","description":"The value of the filter. If period is specified, the filter will return only those data items that fall within the bounds determined by the Period, inclusive of the period boundaries. If dateTime is specified, the filter will return only those data items that are equal to the specified dateTime. If a Duration is specified, the filter will return only those data items that fall within Duration before now."},"valuePeriod":{"$ref":"#/definitions/Period","description":"The value of the filter. If period is specified, the filter will return only those data items that fall within the bounds determined by the Period, inclusive of the period boundaries. If dateTime is specified, the filter will return only those data items that are equal to the specified dateTime. If a Duration is specified, the filter will return only those data items that fall within Duration before now."},"valueDuration":{"$ref":"#/definitions/Duration","description":"The value of the filter. If period is specified, the filter will return only those data items that fall within the bounds determined by the Period, inclusive of the period boundaries. If dateTime is specified, the filter will return only those data items that are equal to the specified dateTime. If a Duration is specified, the filter will return only those data items that fall within Duration before now."}},"additionalProperties":false,"description":"Date filters specify additional constraints on the data in terms of the applicable date range for specific elements. Each date filter specifies an additional constraint on the data, i.e. date filters are AND\'ed, not OR\'ed."},"DataRequirementSort":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"direction":{"type":"string","enum":["ascending","descending"],"description":"The direction of the sort, ascending or descending."},"path":{"type":"string","description":"The attribute of the sort. The specified path must be resolvable from the type of the required data. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements. Note that the index must be an integer constant."}},"required":["direction","path"],"additionalProperties":false,"description":"This element can be used in combination with the sort element to specify quota requirements such as \\"the most recent 5\\" or \\"the highest 5\\". When multiple sorts are specified, they are applied in the order they appear in the resource."},"Expression":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"description":{"type":"string","description":"A brief, natural language description of the condition that effectively communicates the intended semantics."},"expression":{"type":"string","description":"An expression in the specified language that returns a value."},"language":{"type":"string","description":"The media type of the language for the expression."},"name":{"type":"string","description":"A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined."},"reference":{"type":"string","description":"If both a reference and an expression is found, the reference SHALL point to the same expression."}},"required":["language"],"additionalProperties":false,"description":"A expression that is evaluated in a specified context and returns a value. The context of use of the expression must specify the context in which the expression is evaluated, and how the result of the expression is used."},"ParameterDefinition":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"documentation":{"type":"string","description":"A brief discussion of what the parameter is for and how it is used by the module."},"max":{"type":"string","description":"The maximum number of times this element is permitted to appear in the request or response."},"min":{"type":"number","description":"The minimum number of times this parameter SHALL appear in the request or response."},"name":{"type":"string","description":"The name of the parameter used to allow access to the value of the parameter in evaluation contexts."},"profile":{"type":"string","description":"If specified, this indicates a profile that the input data must conform to, or that the output data will conform to."},"type":{"type":"string","description":"The type of the parameter."},"use":{"type":"string","enum":["in","out"],"description":"Whether the parameter is input or output for the module."}},"required":["type","use"],"additionalProperties":false,"description":"The parameters to the module. This collection specifies both the input and output parameters. Input parameters are provided by the caller as part of the $evaluate operation. Output parameters are included in the GuidanceResponse."},"RelatedArtifact":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"citation":{"type":"string","description":"Additional structured information about citations should be captured as extensions."},"display":{"type":"string","description":"A brief description of the document or knowledge resource being referenced, suitable for display to a consumer."},"document":{"$ref":"#/definitions/Attachment","description":"The document being referenced, represented as an attachment. This is exclusive with the resource element."},"label":{"type":"string","description":"A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index."},"resource":{"type":"string","description":"If the type is predecessor, this is a reference to the succeeding knowledge resource. If the type is successor, this is a reference to the prior knowledge resource."},"type":{"type":"string","enum":["documentation","justification","citation","predecessor","successor","derived-from","depends-on","composed-of"],"description":"The type of relationship to the related artifact."},"url":{"type":"string","description":"If a document or resource element is present, this element SHALL NOT be provided (use the url or reference in the Attachment or resource reference)."}},"required":["type"],"additionalProperties":false,"description":"Related artifacts such as additional documentation, justification, or bibliographic references."},"TriggerDefinition":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"condition":{"$ref":"#/definitions/Expression","description":"This element can be only be specified for data type triggers and provides additional semantics for the trigger. The context available within the condition is based on the type of data event. For all events, the current resource will be available as context. In addition, for modification events, the previous resource will also be available. The expression may be inlined, or may be a simple absolute URI, which is a reference to a named expression within a logic library referenced by a library element or extension within the containing resource. If the expression is a FHIR Path expression, it evaluates in the context of a resource of one of the type identified in the data requirement, and may also refer to the variable %previous for delta comparisons on events of type data-changed, data-modified, and data-deleted which will always have the same type."},"data":{"type":"array","items":{"$ref":"#/definitions/DataRequirement"},"description":"This element shall be present for any data type trigger."},"name":{"type":"string","description":"An event name can be provided for all event types, but is required for named events. If a name is provided for a type other than named events, it is considered to be a shorthand for the semantics described by the formal description of the event."},"timingTiming":{"$ref":"#/definitions/Timing","description":"The timing of the event (if this is a periodic trigger)."},"timingReference":{"$ref":"#/definitions/Reference","description":"The timing of the event (if this is a periodic trigger)."},"timingDate":{"type":"string","description":"The timing of the event (if this is a periodic trigger)."},"timingDateTime":{"type":"string","description":"The timing of the event (if this is a periodic trigger)."},"type":{"type":"string","enum":["named-event","periodic","data-changed","data-added","data-modified","data-removed","data-accessed","data-access-ended"],"description":"The type of triggering event."}},"required":["type"],"additionalProperties":false,"description":"A description of a triggering event. Triggering events can be named events, data events, or periodic, as determined by the type element."},"UsageContext":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"code":{"$ref":"#/definitions/Coding","description":"A code that identifies the type of context being specified by this usage context."},"valueCodeableConcept":{"$ref":"#/definitions/CodeableConcept","description":"A value that defines the context specified in this context of use. The interpretation of the value is defined by the code."},"valueQuantity":{"$ref":"#/definitions/Quantity","description":"A value that defines the context specified in this context of use. The interpretation of the value is defined by the code."},"valueRange":{"$ref":"#/definitions/Range","description":"A value that defines the context specified in this context of use. The interpretation of the value is defined by the code."},"valueReference":{"$ref":"#/definitions/Reference","description":"A value that defines the context specified in this context of use. The interpretation of the value is defined by the code."}},"required":["code"],"additionalProperties":false,"description":"Specifies clinical/business/etc. metadata that can be used to retrieve, index and/or categorize an artifact. This metadata can either be specific to the applicable population (e.g., age category, DRG) or the specific context of care (e.g., venue, care setting, provider of care)."},"Meta":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"lastUpdated":{"type":"string","description":"This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant. This is equivalent to the HTTP Last-Modified and SHOULD have the same value on a [read](http.html#read) interaction."},"profile":{"type":"array","items":{"type":"string"},"description":"It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time. The list of profile URLs is a set."},"security":{"type":"array","items":{"$ref":"#/definitions/Coding"},"description":"The security labels can be updated without changing the stated version of the resource. The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored."},"source":{"type":"string","description":"In the provenance resource, this corresponds to Provenance.entity.what[x]. The exact use of the source (and the implied Provenance.entity.role) is left to implementer discretion. Only one nominated source is allowed; for additional provenance details, a full Provenance resource should be used. This element can be used to indicate where the current master source of a resource that has a canonical URL if the resource is no longer hosted at the canonical URL."},"tag":{"type":"array","items":{"$ref":"#/definitions/Coding"},"description":"The tags can be updated without changing the stated version of the resource. The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored."},"versionId":{"type":"string","description":"The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes."}},"additionalProperties":false,"description":"The metadata about a resource. This is content in the resource that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource."},"DosageDoseAndRate":{"type":"object","properties":{"extension":{"type":"array","items":{"$ref":"#/definitions/Extension"},"description":"There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."},"id":{"type":"string","description":"Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."},"doseRange":{"$ref":"#/definitions/Range","description":"Note that this specifies the quantity of the specified medication, not the quantity for each active ingredient(s). Each ingredient amount can be communicated in the Medication resource. For example, if one wants to communicate that a tablet was 375 mg, where the dose was one tablet, you can use the Medication resource to document that the tablet was comprised of 375 mg of drug XYZ. Alternatively if the dose was 375 mg, then you may only need to use the Medication resource to indicate this was a tablet. If the example were an IV such as dopamine and you wanted to communicate that 400mg of dopamine was mixed in 500 ml of some IV solution, then this would all be communicated in the Medication resource. If the administration is not intended to be instantaneous (rate is present or timing has a duration), this can be specified to convey the total amount to be administered over the period of time as indicated by the schedule e.g. 500 ml in dose, with timing used to convey that this should be done over 4 hours."},"doseQuantity":{"$ref":"#/definitions/Quantity","description":"Note that this specifies the quantity of the specified medication, not the quantity for each active ingredient(s). Each ingredient amount can be communicated in the Medication resource. For example, if one wants to communicate that a tablet was 375 mg, where the dose was one tablet, you can use the Medication resource to document that the tablet was comprised of 375 mg of drug XYZ. Alternatively if the dose was 375 mg, then you may only need to use the Medication resource to indicate this was a tablet. If the example were an IV such as dopamine and you wanted to communicate that 400mg of dopamine was mixed in 500 ml of some IV solution, then this would all be communicated in the Medication resource. If the administration is not intended to be instantaneous (rate is present or timing has a duration), this can be specified to convey the total amount to be administered over the period of time as indicated by the schedule e.g. 500 ml in dose, with timing used to convey that this should be done over 4 hours."},"rateRatio":{"$ref":"#/definitions/Ratio","description":"It is possible to supply both a rate and a doseQuantity to provide full details about how the medication is to be administered and supplied. If the rate is intended to change over time, depending on local rules/regulations, each change should be captured as a new version of the MedicationRequest with an updated rate, or captured with a new MedicationRequest with the new rate. It is possible to specify a rate over time (for example, 100 ml/hour) using either the rateRatio and rateQuantity. The rateQuantity approach requires systems to have the capability to parse UCUM grammer where ml/hour is included rather than a specific ratio where the time is specified as the denominator. Where a rate such as 500ml over 2 hours is specified, the use of rateRatio may be more semantically correct than specifying using a rateQuantity of 250 mg/hour."},"rateRange":{"$ref":"#/definitions/Range","description":"It is possible to supply both a rate and a doseQuantity to provide full details about how the medication is to be administered and supplied. If the rate is intended to change over time, depending on local rules/regulations, each change should be captured as a new version of the MedicationRequest with an updated rate, or captured with a new MedicationRequest with the new rate. It is possible to specify a rate over time (for example, 100 ml/hour) using either the rateRatio and rateQuantity. The rateQuantity approach requires systems to have the capability to parse UCUM grammer where ml/hour is included rather than a specific ratio where the time is specified as the denominator. Where a rate such as 500ml over 2 hours is specified, the use of rateRatio may be more semantically correct than specifying using a rateQuantity of 250 mg/hour."},"rateQuantity":{"$ref":"#/definitions/Quantity","description":"It is possible to supply both a rate and a doseQuantity to provide full details about how the medication is to be administered and supplied. If the rate is intended to change over time, depending on local rules/regulations, each change should be captured as a new version of the MedicationRequest with an updated rate, or captured with a new MedicationRequest with the new rate. It is possible to specify a rate over time (for example, 100 ml/hour) using either the rateRatio and rateQuantity. The rateQuantity approach requires systems to have the capability to parse UCUM grammer where ml/hour is included rather than a specific ratio where the time is specified as the denominator. Where a rate such as 500ml over 2 hours is specified, the use of rateRatio may be more semantically correct than specifying using a rateQuantity of 250 mg/hour."},"type":{"$ref":"#/definitions/CodeableConcept","description":"The kind of dose or rate specified, for example, ordered or calculated."}},"additionalProperties":false,"description":"The amount of medication administered."}}}'),h=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$ref":"#/definitions/Config","definitions":{"Config":{"type":"object","properties":{"language":{"type":"string","enum":["en","fr","nl","de"],"description":"To set up the language"},"displayOrder":{"type":"array","items":{"type":"string","enum":["method","doseQuantity","doseRange","rateRatio","rateQuantity","rateRange","durationDurationMax","frequencyFrequencyMax","periodPeriodMax","frequencyFrequencyMaxPeriodPeriodMax","offsetWhen","dayOfWeek","timeOfDay","route","site","asNeeded","boundsDuration","boundsPeriod","boundsRange","countCountMax","event","code","maxDosePerPeriod","maxDosePerAdministration","maxDosePerLifetime","additionalInstruction","patientInstruction","text","extension"]},"description":"Control the display order used by the algorithm Useful when you want to turn on / off some specific rules for some reason"},"displaySeparator":{"type":"string","description":"Override separator between each part of \\"Dosage\\""},"dateTimeFormatOptions":{"$ref":"#/definitions/Intl.DateTimeFormatOptions","description":"To control the formatting of dateTime objects. If not provided, will use the defaults according locale e.g. \\"20/01/2024\\""}},"additionalProperties":false,"$id":"Config"},"Intl.DateTimeFormatOptions":{"type":"object","properties":{"localeMatcher":{"type":"string","enum":["best fit","lookup"]},"weekday":{"type":"string","enum":["long","short","narrow"]},"era":{"type":"string","enum":["long","short","narrow"]},"year":{"type":"string","enum":["numeric","2-digit"]},"month":{"type":"string","enum":["numeric","2-digit","long","short","narrow"]},"day":{"type":"string","enum":["numeric","2-digit"]},"hour":{"type":"string","enum":["numeric","2-digit"]},"minute":{"type":"string","enum":["numeric","2-digit"]},"second":{"type":"string","enum":["numeric","2-digit"]},"timeZoneName":{"type":"string","enum":["short","long","shortOffset","longOffset","shortGeneric","longGeneric"]},"formatMatcher":{"type":"string","enum":["best fit","basic"]},"hour12":{"type":"boolean"},"timeZone":{"type":"string"}},"additionalProperties":false}}}');var l=i(4848);const p=["file:///input-editor"],f=["file:///config-editor"];function u(){return(0,l.jsx)("div",{children:(0,l.jsx)(d.A,{values:{id:"json-schema.labels.loading"},children:"Loading ...."})})}function m(e){const{error:t}=e;return(0,l.jsx)(d.A,{values:{id:"json-schema.labels.errorOccurred",message:t.message},children:"Something bad happens : {message}"})}function y(e){let{error:t,tryAgain:i}=e;return(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{children:(0,l.jsx)(m,{error:t})}),(0,l.jsx)("button",{onClick:i,children:"Try Again!"})]})}function g(e,t){let i=e;return"boolean"==typeof i?`https://docusaurus.io/json-viewer/schema_${t}.json`:void 0!==i.$id?i.$id:`https://docusaurus.io/json-viewer/schema_${i.$ref||t}.json`}function b(e){const{...t}=e;return(0,l.jsx)(a.Ay,{height:"90vh",language:"json",editorWillMount:e=>{e.languages.json.jsonDefaults.setDiagnosticsOptions({validate:!0,schemas:[c,h].map(((e,t)=>({uri:g(e,t),fileMatch:0===t?p:f,schema:e})))})},...t})}function x(e){return(0,l.jsx)(s.A,{fallback:(0,l.jsx)(u,{}),children:()=>(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(r.A,{fallback:e=>(0,l.jsx)(y,{...e}),children:(0,l.jsx)(b,{...e})})})})}var v=i(1622);const w=(0,n.createContext)({state:{data:"{}",config:"{}",inputSchemaRef:void 0,configSchemaRef:void 0},updateState:()=>{}}),T=()=>(0,n.useContext)(w),j=w.Provider;function I(){const{state:{data:e},updateState:t}=T(),{colorMode:i}=(0,o.G)();return(0,l.jsx)(v.A,{summary:(0,l.jsx)("summary",{children:"Input"}),open:!0,children:(0,l.jsx)(x,{value:e,height:"70vh",theme:"dark"===i?"vs-dark":"vs",editorDidMount:e=>{t({inputSchemaRef:e})},uri:e=>{let{Uri:t}=e;return t.parse("input-editor")},onChange:e=>{t({data:e})}})})}function R(){return(0,l.jsx)(s.A,{fallback:(0,l.jsx)("div",{children:"Loading..."}),children:()=>(0,l.jsx)(I,{})})}function C(){const{state:{config:e},updateState:t}=T(),{colorMode:i}=(0,o.G)();return(0,l.jsx)(v.A,{summary:(0,l.jsx)("summary",{children:"Config"}),open:!1,children:(0,l.jsx)(x,{value:e,height:"70vh",theme:"dark"===i?"vs-dark":"vs",uri:e=>{let{Uri:t}=e;return t.parse("config-editor")},editorDidMount:e=>{t({configSchemaRef:e})},onChange:e=>{t({config:e})}})})}function $(){return(0,l.jsx)(s.A,{fallback:(0,l.jsx)("div",{children:"Loading..."}),children:()=>(0,l.jsx)(C,{})})}function A(){return(0,l.jsxs)("div",{style:{boxSizing:"border-box",width:"50%"},children:[(0,l.jsxs)("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"center",padding:"8px",backgroundColor:"inherit"},children:[(0,l.jsx)("h1",{children:"Setup"}),"\xa0",(0,l.jsx)("div",{style:{flex:1}})]}),(0,l.jsx)(R,{}),(0,l.jsx)($,{})]})}function q(){return(0,l.jsx)(s.A,{fallback:(0,l.jsx)("div",{children:"Loading..."}),children:()=>(0,l.jsx)(A,{})})}var E=i(8264);function D(e,t){try{return JSON.parse(e)}catch(i){return t}}function P(){return n.useLayoutEffect((()=>{const e=document.createElement("style");return e.innerHTML="\n .loading-animation {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n }\n\n .spinner {\n width: 50px;\n height: 50px;\n border: 3px solid #ccc;\n border-top-color: #333;\n border-radius: 50%;\n animation: spin 1s infinite linear; /* Infinite animation */\n }\n\n @keyframes spin {\n to {\n transform: rotate(360deg);\n }\n }\n ",document.head.appendChild(e),()=>{document.head.removeChild(e)}}),[]),(0,l.jsxs)("div",{className:"loading-animation",children:[(0,l.jsx)("div",{className:"spinner"}),(0,l.jsx)("p",{children:"Loading..."})]})}function S(){const{state:{data:e,config:t}}=T(),i=D(e,[]),n=D(t,{});return(0,l.jsxs)("div",{style:{boxSizing:"border-box",width:"50%"},children:[(0,l.jsxs)("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"center",padding:"8px",backgroundColor:"inherit"},children:[(0,l.jsx)("h1",{children:"Output"}),"\xa0",(0,l.jsx)("div",{style:{flex:1}})]}),(0,l.jsxs)("div",{children:[i.length>0&&(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(E.A,{dosages:i,config:n})}),0===i.length&&(0,l.jsx)(P,{})]})]})}function U(){return(0,l.jsx)(s.A,{fallback:(0,l.jsx)("div",{children:"Loading..."}),children:()=>(0,l.jsx)(S,{})})}const F=JSON.parse('[{"timing":{"repeat":{"frequency":1,"period":8,"periodUnit":"h"}}}]'),H=JSON.parse('{"dateTimeFormatOptions":{},"displayOrder":["method","doseQuantity","doseRange","rateRatio","rateQuantity","rateRange","durationDurationMax","frequencyFrequencyMaxPeriodPeriodMax","offsetWhen","dayOfWeek","timeOfDay","route","site","asNeeded","boundsDuration","boundsPeriod","boundsRange","countCountMax","event","code","maxDosePerPeriod","maxDosePerAdministration","maxDosePerLifetime","additionalInstruction","patientInstruction"],"displaySeparator":" - "}');function M(){const{state:{config:e,data:t}}=T();return(0,l.jsx)("div",{style:{display:"flex",flexDirection:"column",overflowY:"hidden",overflowX:"hidden"},children:(0,l.jsxs)("div",{style:{display:"flex",flexDirection:"row",justifyContent:"space-between"},children:[(0,l.jsx)(q,{}),(0,l.jsx)(U,{},e+t)]})})}function k(){const[e,t]=n.useState({data:JSON.stringify(F,null,"\t"),config:JSON.stringify(H,null,"\t")});return(0,l.jsx)(j,{value:{state:e,updateState:function(e){t((t=>({...t,...e})))}},children:(0,l.jsx)(M,{})})}function L(){return(0,l.jsx)(s.A,{fallback:(0,l.jsx)("div",{children:"Loading..."}),children:()=>(0,l.jsx)(k,{})})}},4190:(e,t,i)=>{i.r(t),i.d(t,{default:()=>d});i(6540);var n=i(7747),s=i(8478),o=i(7489),a=i(4848);function r(){return(0,a.jsx)(o.A,{fallback:e=>{let{error:t,tryAgain:i}=e;return(0,a.jsxs)("div",{children:[(0,a.jsxs)("p",{children:["Playground component crashed because of error: ",t.message,"."]}),(0,a.jsx)("button",{onClick:i,children:"Try Again!"})]})},children:(0,a.jsx)(s.A,{fallback:(0,a.jsx)("div",{children:"Loading..."}),children:()=>{const e=i(8029).A;return(0,a.jsx)(e,{})}})})}function d(){return(0,a.jsx)(n.A,{title:"Playground",description:"Playground of docusaurus-json-schema-plugin",children:(0,a.jsx)(r,{})})}}}]); \ No newline at end of file diff --git a/assets/js/915d2175.1ab31656.js b/assets/js/915d2175.1ab31656.js new file mode 100644 index 00000000..6ad2279a --- /dev/null +++ b/assets/js/915d2175.1ab31656.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[7829],{9591:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>f,contentTitle:()=>u,default:()=>h,frontMatter:()=>d,metadata:()=>g,toc:()=>p});var n=i(4848),s=i(8453),a=i(1812);const r=JSON.parse('{"timing":{"repeat":{"dayOfWeek":["fri"]}}}');var l=i(4865),o=i(9365),c=i(816);const d={description:"Single item",title:"\ud83d\udcc5 Single item"},u=void 0,g={id:"specs/dayOfWeek/single_item",title:"\ud83d\udcc5 Single item",description:"Single item",source:"@site/docs/specs/dayOfWeek/single_item.mdx",sourceDirName:"specs/dayOfWeek",slug:"/specs/dayOfWeek/single_item",permalink:"/fhir-dosage-utils/docs/specs/dayOfWeek/single_item",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/dayOfWeek/single_item.mdx",tags:[],version:"current",frontMatter:{description:"Single item",title:"\ud83d\udcc5 Single item"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udcc5 Multiple items",permalink:"/fhir-dosage-utils/docs/specs/dayOfWeek/multiple_items"},next:{title:"\ud83d\udc8a doseQuantity",permalink:"/fhir-dosage-utils/docs/category/-dosequantity"}},f={},p=[];function m(e){return(0,n.jsxs)(l.A,{children:[(0,n.jsx)(o.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(c.A,{dosage:r})}),(0,n.jsx)(o.A,{value:"json",label:"Dosage",children:(0,n.jsx)(a.default,{language:"json",children:JSON.stringify(r,null,2)})})]})}function h(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(m,{...e})}):m()}},816:(e,t,i)=>{i.d(t,{A:()=>l});var n=i(6540),s=i(6300),a=i(1812),r=i(4848);function l(e){let{dosage:t,config:i,i18nConfig:l}=e;const[o,c]=(0,n.useState)(""),[d,u]=(0,n.useState)(i?.language||"en"),[g,f]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await s.A.build(i,l);f(e)}()}),[i]),(0,n.useEffect)((()=>{!async function(){if(g){const e=g.fromDosageToText(t);c(e)}}()}),[t,g]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:d,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(g){await g.changeLanguage(d);const e=g.fromDosageToText(t);c(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(a.default,{language:"markup",children:(p=o,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/915d2175.98ef8c38.js b/assets/js/915d2175.98ef8c38.js deleted file mode 100644 index ce709453..00000000 --- a/assets/js/915d2175.98ef8c38.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[7829],{9591:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>f,contentTitle:()=>u,default:()=>h,frontMatter:()=>d,metadata:()=>g,toc:()=>p});var i=s(4848),n=s(8453),a=s(1812);const r=JSON.parse('{"timing":{"repeat":{"dayOfWeek":["fri"]}}}');var l=s(4865),o=s(9365),c=s(816);const d={description:"Single item",title:"\ud83d\udcc5 Single item"},u=void 0,g={id:"specs/dayOfWeek/single_item",title:"\ud83d\udcc5 Single item",description:"Single item",source:"@site/docs/specs/dayOfWeek/single_item.mdx",sourceDirName:"specs/dayOfWeek",slug:"/specs/dayOfWeek/single_item",permalink:"/fhir-dosage-utils/docs/specs/dayOfWeek/single_item",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/dayOfWeek/single_item.mdx",tags:[],version:"current",frontMatter:{description:"Single item",title:"\ud83d\udcc5 Single item"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udcc5 Multiple items",permalink:"/fhir-dosage-utils/docs/specs/dayOfWeek/multiple_items"},next:{title:"\ud83d\udc8a doseQuantity",permalink:"/fhir-dosage-utils/docs/category/-dosequantity"}},f={},p=[];function m(e){return(0,i.jsxs)(l.A,{children:[(0,i.jsx)(o.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(c.A,{dosage:r})}),(0,i.jsx)(o.A,{value:"json",label:"Dosage",children:(0,i.jsx)(a.default,{language:"json",children:JSON.stringify(r,null,2)})})]})}function h(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(m,{...e})}):m()}},816:(e,t,s)=>{s.d(t,{A:()=>l});var i=s(6540),n=s(6300),a=s(1812),r=s(4848);function l(e){let{dosage:t,config:s}=e;const[l,o]=(0,i.useState)(""),[c,d]=(0,i.useState)(s?.language||"en"),[u,g]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await n.A.build(s);g(e)}()}),[s]),(0,i.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(t);o(e)}}()}),[t,u]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:c,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(c);const e=u.fromDosageToText(t);o(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(a.default,{language:"markup",children:(f=l,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/933cb006.51c226dc.js b/assets/js/933cb006.a79dbb13.js similarity index 71% rename from assets/js/933cb006.51c226dc.js rename to assets/js/933cb006.a79dbb13.js index bbb82605..472cfc45 100644 --- a/assets/js/933cb006.51c226dc.js +++ b/assets/js/933cb006.a79dbb13.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[581],{8392:e=>{e.exports=JSON.parse('{"badge":false,"banner":null,"className":"api-version-current","docs":{},"docsSidebars":{"api":[{"href":"/fhir-dosage-utils/api","label":"Overview","type":"link"},{"collapsed":true,"collapsible":true,"items":[{"href":"/fhir-dosage-utils/api/class/default","label":"default","type":"link"}],"label":"Classes","type":"category"},{"collapsed":true,"collapsible":true,"items":[{"href":"/fhir-dosage-utils/api/enum/DisplayOrderEnum","label":"DisplayOrderEnum","type":"link"}],"label":"Enumerations","type":"category"},{"collapsed":true,"collapsible":true,"items":[{"href":"/fhir-dosage-utils/api/interface/Params","label":"Params","type":"link"}],"label":"Interfaces","type":"category"}]},"isLast":true,"label":"Next","noIndex":false,"pluginId":"default","version":"current"}')}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[581],{8392:e=>{e.exports=JSON.parse('{"badge":false,"banner":null,"className":"api-version-current","docs":{},"docsSidebars":{"api":[{"href":"/fhir-dosage-utils/api","label":"Overview","type":"link"},{"collapsed":true,"collapsible":true,"items":[{"href":"/fhir-dosage-utils/api/class/default","label":"default","type":"link"}],"label":"Classes","type":"category"},{"collapsed":true,"collapsible":true,"items":[{"href":"/fhir-dosage-utils/api/enum/DisplayOrderEnum","label":"DisplayOrderEnum","type":"link"}],"label":"Enumerations","type":"category"},{"collapsed":true,"collapsible":true,"items":[{"href":"/fhir-dosage-utils/api/interface/Params","label":"Params","type":"link"}],"label":"Interfaces","type":"category"},{"collapsed":true,"collapsible":true,"items":[{"href":"/fhir-dosage-utils/api#I18InitOptions","label":"I18InitOptions","type":"link"}],"label":"Type Aliases","type":"category"}]},"isLast":true,"label":"Next","noIndex":false,"pluginId":"default","version":"current"}')}}]); \ No newline at end of file diff --git a/assets/js/935f2afb.802c108a.js b/assets/js/935f2afb.802c108a.js new file mode 100644 index 00000000..9c8b8d34 --- /dev/null +++ b/assets/js/935f2afb.802c108a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[962],{5610:e=>{e.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"tutorialSidebar":[{"type":"link","label":"\u26a1 Quick Start","href":"/fhir-dosage-utils/docs/quick-start","docId":"quick-start","unlisted":false},{"type":"category","label":"\ud83d\udca1 Demos","items":[{"type":"category","label":"\ud83d\udd0e Specifications","items":[{"type":"category","label":"\ud83d\udcdd additionalInstruction","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\u2795 Multiple items","href":"/fhir-dosage-utils/docs/specs/additionalInstruction/multiple_items","docId":"specs/additionalInstruction/multiple_items","unlisted":false},{"type":"link","label":"\u274c Single item","href":"/fhir-dosage-utils/docs/specs/additionalInstruction/single_item","docId":"specs/additionalInstruction/single_item","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-additionalinstruction"},{"type":"category","label":"\u2753 asNeeded","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udccc asNeeded","href":"/fhir-dosage-utils/docs/specs/asNeeded/","docId":"specs/asNeeded/asNeeded","unlisted":false},{"type":"link","label":"\u2705 asNeededBoolean","href":"/fhir-dosage-utils/docs/specs/asNeeded/asNeededBoolean","docId":"specs/asNeeded/asNeededBoolean","unlisted":false},{"type":"link","label":"\ud83d\udccc asNeededCodeableConcept","href":"/fhir-dosage-utils/docs/specs/asNeeded/asNeededCodeableConcept","docId":"specs/asNeeded/asNeededCodeableConcept","unlisted":false},{"type":"link","label":"\ud83e\uddec asNeededFor","href":"/fhir-dosage-utils/docs/specs/asNeeded/asNeededFor","docId":"specs/asNeeded/asNeededFor","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-asneeded"},{"type":"category","label":"\ud83d\udd70\ufe0f boundsDuration","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udd70\ufe0f boundsDuration","href":"/fhir-dosage-utils/docs/specs/boundsDuration/","docId":"specs/boundsDuration/boundsDuration","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/\ufe0f-boundsduration"},{"type":"category","label":"\u23f3 boundsPeriod","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\u23f3 boundsPeriod (end only)","href":"/fhir-dosage-utils/docs/specs/boundsPeriod/end_only","docId":"specs/boundsPeriod/end_only","unlisted":false},{"type":"link","label":"\u23f3 boundsPeriod (start & end)","href":"/fhir-dosage-utils/docs/specs/boundsPeriod/start_and_end","docId":"specs/boundsPeriod/start_and_end","unlisted":false},{"type":"link","label":"\u23f3 boundsPeriod (start only)","href":"/fhir-dosage-utils/docs/specs/boundsPeriod/start_only","docId":"specs/boundsPeriod/start_only","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-boundsperiod"},{"type":"category","label":"\ud83d\udcd0 boundsRange","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udcd0 boundsDuration (High only)","href":"/fhir-dosage-utils/docs/specs/boundsRange/high_only","docId":"specs/boundsRange/high_only","unlisted":false},{"type":"link","label":"\ud83d\udcd0 boundsDuration (Low & High)","href":"/fhir-dosage-utils/docs/specs/boundsRange/low_and_high","docId":"specs/boundsRange/low_and_high","unlisted":false},{"type":"link","label":"\ud83d\udcd0 boundsDuration (Low only)","href":"/fhir-dosage-utils/docs/specs/boundsRange/low_only","docId":"specs/boundsRange/low_only","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-boundsrange"},{"type":"category","label":"\ud83d\udcbb code","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udcbb code","href":"/fhir-dosage-utils/docs/specs/code/","docId":"specs/code/code","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-code"},{"type":"category","label":"\ud83d\udd22 count / countMax","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udd22 count (only)","href":"/fhir-dosage-utils/docs/specs/countCountMax/count","docId":"specs/countCountMax/count","unlisted":false},{"type":"link","label":"\ud83d\udd22 countMax (only)","href":"/fhir-dosage-utils/docs/specs/countCountMax/countMax_only","docId":"specs/countCountMax/countMax_only","unlisted":false},{"type":"link","label":"\ud83d\udd22 count and countMax","href":"/fhir-dosage-utils/docs/specs/countCountMax/count_and_countMax","docId":"specs/countCountMax/count_and_countMax","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-count--countmax"},{"type":"category","label":"\ud83d\udcc5 dayOfWeek","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udcc5 Multiple items","href":"/fhir-dosage-utils/docs/specs/dayOfWeek/multiple_items","docId":"specs/dayOfWeek/multiple_items","unlisted":false},{"type":"link","label":"\ud83d\udcc5 Single item","href":"/fhir-dosage-utils/docs/specs/dayOfWeek/single_item","docId":"specs/dayOfWeek/single_item","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-dayofweek"},{"type":"category","label":"\ud83d\udc8a doseQuantity","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udc8a doseQuantity","href":"/fhir-dosage-utils/docs/specs/doseQuantity/","docId":"specs/doseQuantity/doseQuantity","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-dosequantity"},{"type":"category","label":"\ud83d\udccf doseRange","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udccf doseRange (High only)","href":"/fhir-dosage-utils/docs/specs/doseRange/high_only","docId":"specs/doseRange/high_only","unlisted":false},{"type":"link","label":"\ud83d\udccf doseRange (Low & High)","href":"/fhir-dosage-utils/docs/specs/doseRange/low_and_high","docId":"specs/doseRange/low_and_high","unlisted":false},{"type":"link","label":"\ud83d\udccf doseRange (Low only)","href":"/fhir-dosage-utils/docs/specs/doseRange/low_only","docId":"specs/doseRange/low_only","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-doserange"},{"type":"category","label":"\u23f0 durationDurationMax","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\u23f0 durationMax","href":"/fhir-dosage-utils/docs/specs/durationDurationMax/durationMax_only","docId":"specs/durationDurationMax/durationMax_only","unlisted":false},{"type":"link","label":"\u23f0 duration and durationMax","href":"/fhir-dosage-utils/docs/specs/durationDurationMax/duration_and_durationMax","docId":"specs/durationDurationMax/duration_and_durationMax","unlisted":false},{"type":"link","label":"\u23f0 duration","href":"/fhir-dosage-utils/docs/specs/durationDurationMax/duration_only","docId":"specs/durationDurationMax/duration_only","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-durationdurationmax"},{"type":"category","label":"\ud83c\udf89 event","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\u2795 Multiple items","href":"/fhir-dosage-utils/docs/specs/event/multiple_items","docId":"specs/event/multiple_items","unlisted":false},{"type":"link","label":"\u274c Single item","href":"/fhir-dosage-utils/docs/specs/event/single_item","docId":"specs/event/single_item","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-event"},{"type":"category","label":"\ud83d\udd01 frequencyFrequencyMax","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udd01 frequencyMax","href":"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequencyMax_only","docId":"specs/frequencyFrequencyMax/frequencyMax_only","unlisted":false},{"type":"link","label":"\ud83d\udd01 frequency and frequencyMax","href":"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_and_frequencyMax","docId":"specs/frequencyFrequencyMax/frequency_and_frequencyMax","unlisted":false},{"type":"link","label":"\ud83d\udd01 frequency","href":"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_only","docId":"specs/frequencyFrequencyMax/frequency_only","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-frequencyfrequencymax"},{"type":"category","label":"\ud83d\udc89 maxDosePerAdministration","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udc89 maxDosePerAdministration","href":"/fhir-dosage-utils/docs/specs/maxDosePerAdministration/","docId":"specs/maxDosePerAdministration/maxDosePerAdministration","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-maxdoseperadministration"},{"type":"category","label":"\ud83d\udc96 maxDosePerLifetime","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udc96 maxDosePerLifetime","href":"/fhir-dosage-utils/docs/specs/maxDosePerLifetime/","docId":"specs/maxDosePerLifetime/maxDosePerLifetime","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-maxdoseperlifetime"},{"type":"category","label":"\u23f3 maxDosePerPeriod","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\u23f3 maxDosePerPeriod (R4)","href":"/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r4","docId":"specs/maxDosePerPeriod/r4","unlisted":false},{"type":"link","label":"\u23f3 maxDosePerPeriod (R5)","href":"/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r5","docId":"specs/maxDosePerPeriod/r5","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-maxdoseperperiod"},{"type":"category","label":"\ud83d\udee0\ufe0f method","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udee0\ufe0f method","href":"/fhir-dosage-utils/docs/specs/method/","docId":"specs/method/method","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/\ufe0f-method"},{"type":"category","label":"\ud83d\udd52 offset when","collapsible":true,"collapsed":true,"items":[{"type":"category","label":"\ud83d\udd52 offset","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udd52 offset (Days)","href":"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_days","docId":"specs/offsetWhen/offset/offset_days","unlisted":false},{"type":"link","label":"\ud83d\udd52 offset (Hours)","href":"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_hours","docId":"specs/offsetWhen/offset/offset_hours","unlisted":false},{"type":"link","label":"\ud83d\udd52 offset (Minutes)","href":"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_minutes","docId":"specs/offsetWhen/offset/offset_minutes","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-offset"},{"type":"category","label":"\ud83d\udd52 when","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udd52 When (Multiple items)","href":"/fhir-dosage-utils/docs/specs/offsetWhen/when/multiple_items","docId":"specs/offsetWhen/when/multiple_items","unlisted":false},{"type":"link","label":"\ud83d\udd52 When (Single item)","href":"/fhir-dosage-utils/docs/specs/offsetWhen/when/single_item","docId":"specs/offsetWhen/when/single_item","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-when"},{"type":"link","label":"\ud83d\udd52 offset and when","href":"/fhir-dosage-utils/docs/specs/offsetWhen/when_and_offset","docId":"specs/offsetWhen/when_and_offset","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-offset-when"},{"type":"category","label":"\ud83d\udccb patientInstruction","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udccb patientInstruction","href":"/fhir-dosage-utils/docs/specs/patientInstruction/","docId":"specs/patientInstruction/patientInstruction","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-patientinstruction"},{"type":"category","label":"\u267b\ufe0f periodPeriodMax","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\u267b\ufe0f periodMax (only)","href":"/fhir-dosage-utils/docs/specs/periodPeriodMax/periodMax_only","docId":"specs/periodPeriodMax/periodMax_only","unlisted":false},{"type":"link","label":"\u267b\ufe0f period & periodMax","href":"/fhir-dosage-utils/docs/specs/periodPeriodMax/period_and_periodMax","docId":"specs/periodPeriodMax/period_and_periodMax","unlisted":false},{"type":"link","label":"\u267b\ufe0f period (only)","href":"/fhir-dosage-utils/docs/specs/periodPeriodMax/period_only","docId":"specs/periodPeriodMax/period_only","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/\ufe0f-periodperiodmax"},{"type":"category","label":"\u23f2\ufe0f rateQuantity","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\u23f2\ufe0f rateQuantity","href":"/fhir-dosage-utils/docs/specs/rateQuantity/","docId":"specs/rateQuantity/rateQuantity","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/\ufe0f-ratequantity"},{"type":"category","label":"\u2696\ufe0f rateRange","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\u2696\ufe0f rateRange (High only)","href":"/fhir-dosage-utils/docs/specs/rateRange/high_only","docId":"specs/rateRange/high_only","unlisted":false},{"type":"link","label":"\u2696\ufe0f rateRange (Low & High)","href":"/fhir-dosage-utils/docs/specs/rateRange/low_and_high","docId":"specs/rateRange/low_and_high","unlisted":false},{"type":"link","label":"\u2696\ufe0f rateRange (Low only)","href":"/fhir-dosage-utils/docs/specs/rateRange/low_only","docId":"specs/rateRange/low_only","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/\ufe0f-raterange"},{"type":"category","label":"\ud83d\udcc8 rateRatio","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udcc8 rateRatio","href":"/fhir-dosage-utils/docs/specs/rateRatio/","docId":"specs/rateRatio/rateRatio","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-rateratio"},{"type":"category","label":"\ud83d\udee3\ufe0f route","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udee3\ufe0f route","href":"/fhir-dosage-utils/docs/specs/route/","docId":"specs/route/route","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/\ufe0f-route"},{"type":"category","label":"\u27a1\ufe0f sequence","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\u27a1\ufe0f sequence (Concurrent instructions)","href":"/fhir-dosage-utils/docs/specs/sequence/concurrent_instructions","docId":"specs/sequence/concurrent_instructions","unlisted":false},{"type":"link","label":"\u27a1\ufe0f sequence (Sequential instructions 1)","href":"/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_1","docId":"specs/sequence/sequential_instructions_1","unlisted":false},{"type":"link","label":"\u27a1\ufe0f sequence (Sequential instructions 2)","href":"/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_2","docId":"specs/sequence/sequential_instructions_2","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/\ufe0f-sequence"},{"type":"category","label":"\ud83d\udccd site","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udccd site","href":"/fhir-dosage-utils/docs/specs/site/","docId":"specs/site/site","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-site"},{"type":"category","label":"\ud83d\udcdd text","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udcdd text","href":"/fhir-dosage-utils/docs/specs/text/","docId":"specs/text/text","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-text"},{"type":"category","label":"\u231a timeOfDay","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\u2795 Multiple items","href":"/fhir-dosage-utils/docs/specs/timeOfDay/multiple_items","docId":"specs/timeOfDay/multiple_items","unlisted":false},{"type":"link","label":"\u274c Single item","href":"/fhir-dosage-utils/docs/specs/timeOfDay/single_item","docId":"specs/timeOfDay/single_item","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-timeofday"}],"collapsed":true,"collapsible":true,"href":"/fhir-dosage-utils/docs/demo/specs"},{"type":"category","label":"\ud83d\udee0\ufe0f Customizations","items":[{"type":"link","label":"\ud83c\udf89 dateTimeFormatOptions","href":"/fhir-dosage-utils/docs/custom/dateTimeFormatOptions","docId":"custom/dateTimeFormatOptions","unlisted":false},{"type":"link","label":"\ud83d\udd22 displayOrder","href":"/fhir-dosage-utils/docs/custom/displayOrder","docId":"custom/displayOrder","unlisted":false},{"type":"link","label":"\u2796 displaySeparator","href":"/fhir-dosage-utils/docs/custom/displaySeparator","docId":"custom/displaySeparator","unlisted":false},{"type":"link","label":"\ud83d\udcbb fromCodeableConceptToString","href":"/fhir-dosage-utils/docs/custom/fromCodeableConceptToString","docId":"custom/fromCodeableConceptToString","unlisted":false},{"type":"link","label":"\ud83d\udd0c fromExtensionsToString","href":"/fhir-dosage-utils/docs/custom/fromExtensionsToString","docId":"custom/fromExtensionsToString","unlisted":false},{"type":"link","label":"\ud83d\udccf fromFHIRQuantityUnitToString","href":"/fhir-dosage-utils/docs/custom/fromFHIRQuantityUnitToString","docId":"custom/fromFHIRQuantityUnitToString","unlisted":false},{"type":"link","label":"\ud83c\udf10 i18nConfig","href":"/fhir-dosage-utils/docs/custom/i18nConfig","docId":"custom/i18nConfig","unlisted":false}],"collapsed":true,"collapsible":true,"href":"/fhir-dosage-utils/docs/demo/custom"},{"type":"category","label":"\ud83d\uddfa\ufe0f Real word examples","items":[{"type":"link","label":"\u231a Timing","href":"/examples/timing"},{"type":"category","label":"\ud83c\udf0c MedicationRequest","items":[{"type":"link","label":"medrx002","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx002","docId":"examples/medicationrequest/medrx002","unlisted":false},{"type":"link","label":"medrx003","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx003","docId":"examples/medicationrequest/medrx003","unlisted":false},{"type":"link","label":"medrx004","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx004","docId":"examples/medicationrequest/medrx004","unlisted":false},{"type":"link","label":"medrx0301","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0301","docId":"examples/medicationrequest/medrx0301","unlisted":false},{"type":"link","label":"medrx0302","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0302","docId":"examples/medicationrequest/medrx0302","unlisted":false},{"type":"link","label":"medrx0303","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0303","docId":"examples/medicationrequest/medrx0303","unlisted":false},{"type":"link","label":"medrx0305","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0305","docId":"examples/medicationrequest/medrx0305","unlisted":false},{"type":"link","label":"medrx0307","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0307","docId":"examples/medicationrequest/medrx0307","unlisted":false},{"type":"link","label":"medrx0308","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0308","docId":"examples/medicationrequest/medrx0308","unlisted":false},{"type":"link","label":"medrx0310","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0310","docId":"examples/medicationrequest/medrx0310","unlisted":false},{"type":"link","label":"medrx0313","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0313","docId":"examples/medicationrequest/medrx0313","unlisted":false},{"type":"link","label":"medrx0314","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0314","docId":"examples/medicationrequest/medrx0314","unlisted":false},{"type":"link","label":"medrx0315","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0315","docId":"examples/medicationrequest/medrx0315","unlisted":false},{"type":"link","label":"medrx0317","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0317","docId":"examples/medicationrequest/medrx0317","unlisted":false},{"type":"link","label":"medrx0319","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0319","docId":"examples/medicationrequest/medrx0319","unlisted":false},{"type":"link","label":"medrx0321","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0321","docId":"examples/medicationrequest/medrx0321","unlisted":false},{"type":"link","label":"medrx0331","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0331","docId":"examples/medicationrequest/medrx0331","unlisted":false},{"type":"link","label":"medrx0339","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0339","docId":"examples/medicationrequest/medrx0339","unlisted":false}],"collapsed":true,"collapsible":true,"href":"/fhir-dosage-utils/docs/demo/examples/medicationrequest"}],"collapsed":true,"collapsible":true,"href":"/fhir-dosage-utils/docs/demo/examples"}],"collapsed":true,"collapsible":true,"href":"/fhir-dosage-utils/docs/demo"},{"type":"link","label":"\ud83e\udde9 Contributing","href":"/fhir-dosage-utils/docs/contributing","docId":"contributing","unlisted":false},{"type":"link","label":"\ud83d\udcd6 API Reference","href":"/api"},{"type":"link","label":"\u2753 FAQ","href":"/fhir-dosage-utils/docs/faq","docId":"faq","unlisted":false},{"type":"link","label":"\ud83d\udea7 Roadmap","href":"/fhir-dosage-utils/docs/next-steps","docId":"next-steps","unlisted":false}]},"docs":{"contributing":{"id":"contributing","title":"\ud83e\udde9 Contributing","description":"How to contribute in fhir-dosage-utils ?","sidebar":"tutorialSidebar"},"custom/dateTimeFormatOptions":{"id":"custom/dateTimeFormatOptions","title":"\ud83c\udf89 dateTimeFormatOptions","description":"To control the formatting of dateTime objects","sidebar":"tutorialSidebar"},"custom/displayOrder":{"id":"custom/displayOrder","title":"\ud83d\udd22 displayOrder","description":"Control the display order used by the algorithm (Useful when you want to turn on / off some specific rules for some reason)","sidebar":"tutorialSidebar"},"custom/displaySeparator":{"id":"custom/displaySeparator","title":"\u2796 displaySeparator","description":"Override separator between each part of \\"Dosage\\"","sidebar":"tutorialSidebar"},"custom/fromCodeableConceptToString":{"id":"custom/fromCodeableConceptToString","title":"\ud83d\udcbb fromCodeableConceptToString","description":"Function to turn a codeable concept (e.g SNOMED CT \\"311504000\\") into a string for humans (e.g \\"With or after food\\")","sidebar":"tutorialSidebar"},"custom/fromExtensionsToString":{"id":"custom/fromExtensionsToString","title":"\ud83d\udd0c fromExtensionsToString","description":"Function to turn extension(s) into a string for humans.","sidebar":"tutorialSidebar"},"custom/fromFHIRQuantityUnitToString":{"id":"custom/fromFHIRQuantityUnitToString","title":"\ud83d\udccf fromFHIRQuantityUnitToString","description":"Function to turn a quantity unit (e.g UCUM \\"ml\\") into a string for humans (e.g \\"militier\\")","sidebar":"tutorialSidebar"},"custom/i18nConfig":{"id":"custom/i18nConfig","title":"\ud83c\udf10 i18nConfig","description":"Options for the i18next instances","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx002":{"id":"examples/medicationrequest/medrx002","title":"medrx002","description":"Order for a medication that includes the dosage of a prescription in text","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx003":{"id":"examples/medicationrequest/medrx003","title":"medrx003","description":"Request that uses both calculated and ordered dosage","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx004":{"id":"examples/medicationrequest/medrx004","title":"medrx004","description":"Request with multiple dosages and timings","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx0301":{"id":"examples/medicationrequest/medrx0301","title":"medrx0301","description":"Order with as needed (PRN) dosage with pre-condition - Oxycodone - active with reasonCode, note, dispenseRequest and substitution","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx0302":{"id":"examples/medicationrequest/medrx0302","title":"medrx0302","description":"Active Order with link to encounter, reasonCode, note multiple dosage lines, dispenseRequest and substitution - Azithromycin","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx0303":{"id":"examples/medicationrequest/medrx0303","title":"medrx0303","description":"Order for Tapering Dose - Prednisone - active with note and multiple DosageInstructions with boundsPeriod","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx0305":{"id":"examples/medicationrequest/medrx0305","title":"medrx0305","description":"Order with Dosage with a Pre-Condition - Alprazolam - dosageInstructions includes boundsPeriod with periodMax and asNeededCodeableConcept","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx0307":{"id":"examples/medicationrequest/medrx0307","title":"medrx0307","description":"Order with as needed (PRN) dosage - Percocet - completed with link to encounter, dispenseRequest and substitution","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx0308":{"id":"examples/medicationrequest/medrx0308","title":"medrx0308","description":"Order for as needed (PRN) dosage - Vicodin - completed with dosageInstruction with additionalInstruction (coded) and as needed with reason, dispenseRequest and substitution","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx0310":{"id":"examples/medicationrequest/medrx0310","title":"medrx0310","description":"Request for Over the Counter Medication - Tylenol PM - with dosage range as needed with pre-condition for use","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx0313":{"id":"examples/medicationrequest/medrx0313","title":"medrx0313","description":"Request with a single dosage line - Azithromycin - completed - with link to prior prescription and reason code","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx0314":{"id":"examples/medicationrequest/medrx0314","title":"medrx0314","description":"Request - Levothyroxine - completed with reasonCode, dosageInstructions and dispenseRequest","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx0315":{"id":"examples/medicationrequest/medrx0315","title":"medrx0315","description":"Request for an injectable medication - Lorazepam - active - with link to encounter, reasonCode and dosageInstruction","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx0317":{"id":"examples/medicationrequest/medrx0317","title":"medrx0317","description":"Request for Intravenous Chemotherapy (inpatient order) - Alemtuzumab - completed with multiple dosageInstruction lines","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx0319":{"id":"examples/medicationrequest/medrx0319","title":"medrx0319","description":"Request for Intravenous Antibiotic with a Dosage Rate - Piperacillin - completed with reason code","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx0321":{"id":"examples/medicationrequest/medrx0321","title":"medrx0321","description":"Request for Subcutaneous injection with multiple dosage lines - Insulin - Novolog - active - includes reasonCode and note. Dosage includes additionalInstructions as text","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx0331":{"id":"examples/medicationrequest/medrx0331","title":"medrx0331","description":"Request for a Dosage that needs to be dispensed as different strength tablets - Warfarin - active","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx0339":{"id":"examples/medicationrequest/medrx0339","title":"medrx0339","description":"Request for a product that contains multiple dosage forms","sidebar":"tutorialSidebar"},"faq":{"id":"faq","title":"\u2753 FAQ","description":"Frequently Asked Questions","sidebar":"tutorialSidebar"},"next-steps":{"id":"next-steps","title":"\ud83d\udea7 Roadmap","description":"What\'is next in fhir-dosage-utils ?","sidebar":"tutorialSidebar"},"quick-start":{"id":"quick-start","title":"\u26a1 Quick Start","description":"Getting started with fhir-dosage-utils","sidebar":"tutorialSidebar"},"specs/additionalInstruction/multiple_items":{"id":"specs/additionalInstruction/multiple_items","title":"\u2795 Multiple items","description":"Multiple items","sidebar":"tutorialSidebar"},"specs/additionalInstruction/single_item":{"id":"specs/additionalInstruction/single_item","title":"\u274c Single item","description":"Single item","sidebar":"tutorialSidebar"},"specs/asNeeded/asNeeded":{"id":"specs/asNeeded/asNeeded","title":"\ud83d\udccc asNeeded","description":"asNeeded","sidebar":"tutorialSidebar"},"specs/asNeeded/asNeededBoolean":{"id":"specs/asNeeded/asNeededBoolean","title":"\u2705 asNeededBoolean","description":"asNeededBoolean","sidebar":"tutorialSidebar"},"specs/asNeeded/asNeededCodeableConcept":{"id":"specs/asNeeded/asNeededCodeableConcept","title":"\ud83d\udccc asNeededCodeableConcept","description":"asNeededCodeableConcept","sidebar":"tutorialSidebar"},"specs/asNeeded/asNeededFor":{"id":"specs/asNeeded/asNeededFor","title":"\ud83e\uddec asNeededFor","description":"asNeededFor","sidebar":"tutorialSidebar"},"specs/boundsDuration/boundsDuration":{"id":"specs/boundsDuration/boundsDuration","title":"\ud83d\udd70\ufe0f boundsDuration","description":"boundsDuration","sidebar":"tutorialSidebar"},"specs/boundsPeriod/end_only":{"id":"specs/boundsPeriod/end_only","title":"\u23f3 boundsPeriod (end only)","description":"end only","sidebar":"tutorialSidebar"},"specs/boundsPeriod/start_and_end":{"id":"specs/boundsPeriod/start_and_end","title":"\u23f3 boundsPeriod (start & end)","description":"Start & end","sidebar":"tutorialSidebar"},"specs/boundsPeriod/start_only":{"id":"specs/boundsPeriod/start_only","title":"\u23f3 boundsPeriod (start only)","description":"start only","sidebar":"tutorialSidebar"},"specs/boundsRange/high_only":{"id":"specs/boundsRange/high_only","title":"\ud83d\udcd0 boundsDuration (High only)","description":"High only","sidebar":"tutorialSidebar"},"specs/boundsRange/low_and_high":{"id":"specs/boundsRange/low_and_high","title":"\ud83d\udcd0 boundsDuration (Low & High)","description":"Low & High","sidebar":"tutorialSidebar"},"specs/boundsRange/low_only":{"id":"specs/boundsRange/low_only","title":"\ud83d\udcd0 boundsDuration (Low only)","description":"Low only","sidebar":"tutorialSidebar"},"specs/code/code":{"id":"specs/code/code","title":"\ud83d\udcbb code","description":"code","sidebar":"tutorialSidebar"},"specs/countCountMax/count":{"id":"specs/countCountMax/count","title":"\ud83d\udd22 count (only)","description":"count (only)","sidebar":"tutorialSidebar"},"specs/countCountMax/count_and_countMax":{"id":"specs/countCountMax/count_and_countMax","title":"\ud83d\udd22 count and countMax","description":"count and countMax","sidebar":"tutorialSidebar"},"specs/countCountMax/countMax_only":{"id":"specs/countCountMax/countMax_only","title":"\ud83d\udd22 countMax (only)","description":"countMax (only)","sidebar":"tutorialSidebar"},"specs/dayOfWeek/multiple_items":{"id":"specs/dayOfWeek/multiple_items","title":"\ud83d\udcc5 Multiple items","description":"Multiple items","sidebar":"tutorialSidebar"},"specs/dayOfWeek/single_item":{"id":"specs/dayOfWeek/single_item","title":"\ud83d\udcc5 Single item","description":"Single item","sidebar":"tutorialSidebar"},"specs/doseQuantity/doseQuantity":{"id":"specs/doseQuantity/doseQuantity","title":"\ud83d\udc8a doseQuantity","description":"doseQuantity","sidebar":"tutorialSidebar"},"specs/doseRange/high_only":{"id":"specs/doseRange/high_only","title":"\ud83d\udccf doseRange (High only)","description":"High only","sidebar":"tutorialSidebar"},"specs/doseRange/low_and_high":{"id":"specs/doseRange/low_and_high","title":"\ud83d\udccf doseRange (Low & High)","description":"Low & High","sidebar":"tutorialSidebar"},"specs/doseRange/low_only":{"id":"specs/doseRange/low_only","title":"\ud83d\udccf doseRange (Low only)","description":"Low only","sidebar":"tutorialSidebar"},"specs/durationDurationMax/duration_and_durationMax":{"id":"specs/durationDurationMax/duration_and_durationMax","title":"\u23f0 duration and durationMax","description":"duration and durationMax","sidebar":"tutorialSidebar"},"specs/durationDurationMax/duration_only":{"id":"specs/durationDurationMax/duration_only","title":"\u23f0 duration","description":"duration only","sidebar":"tutorialSidebar"},"specs/durationDurationMax/durationMax_only":{"id":"specs/durationDurationMax/durationMax_only","title":"\u23f0 durationMax","description":"durationMax only","sidebar":"tutorialSidebar"},"specs/event/multiple_items":{"id":"specs/event/multiple_items","title":"\u2795 Multiple items","description":"Multiple items","sidebar":"tutorialSidebar"},"specs/event/single_item":{"id":"specs/event/single_item","title":"\u274c Single item","description":"Single item","sidebar":"tutorialSidebar"},"specs/frequencyFrequencyMax/frequency_and_frequencyMax":{"id":"specs/frequencyFrequencyMax/frequency_and_frequencyMax","title":"\ud83d\udd01 frequency and frequencyMax","description":"frequency and frequencyMax","sidebar":"tutorialSidebar"},"specs/frequencyFrequencyMax/frequency_only":{"id":"specs/frequencyFrequencyMax/frequency_only","title":"\ud83d\udd01 frequency","description":"frequency only","sidebar":"tutorialSidebar"},"specs/frequencyFrequencyMax/frequencyMax_only":{"id":"specs/frequencyFrequencyMax/frequencyMax_only","title":"\ud83d\udd01 frequencyMax","description":"frequencyMax only","sidebar":"tutorialSidebar"},"specs/maxDosePerAdministration/maxDosePerAdministration":{"id":"specs/maxDosePerAdministration/maxDosePerAdministration","title":"\ud83d\udc89 maxDosePerAdministration","description":"maxDosePerAdministration","sidebar":"tutorialSidebar"},"specs/maxDosePerLifetime/maxDosePerLifetime":{"id":"specs/maxDosePerLifetime/maxDosePerLifetime","title":"\ud83d\udc96 maxDosePerLifetime","description":"maxDosePerLifetime","sidebar":"tutorialSidebar"},"specs/maxDosePerPeriod/r4":{"id":"specs/maxDosePerPeriod/r4","title":"\u23f3 maxDosePerPeriod (R4)","description":"maxDosePerPeriod (R4)","sidebar":"tutorialSidebar"},"specs/maxDosePerPeriod/r5":{"id":"specs/maxDosePerPeriod/r5","title":"\u23f3 maxDosePerPeriod (R5)","description":"maxDosePerPeriod (R5)","sidebar":"tutorialSidebar"},"specs/method/method":{"id":"specs/method/method","title":"\ud83d\udee0\ufe0f method","description":"method","sidebar":"tutorialSidebar"},"specs/offsetWhen/offset/offset_days":{"id":"specs/offsetWhen/offset/offset_days","title":"\ud83d\udd52 offset (Days)","description":"offset, expressing day(s)","sidebar":"tutorialSidebar"},"specs/offsetWhen/offset/offset_hours":{"id":"specs/offsetWhen/offset/offset_hours","title":"\ud83d\udd52 offset (Hours)","description":"offset, expressing hour(s)","sidebar":"tutorialSidebar"},"specs/offsetWhen/offset/offset_minutes":{"id":"specs/offsetWhen/offset/offset_minutes","title":"\ud83d\udd52 offset (Minutes)","description":"offset, expressing minute(s)","sidebar":"tutorialSidebar"},"specs/offsetWhen/when_and_offset":{"id":"specs/offsetWhen/when_and_offset","title":"\ud83d\udd52 offset and when","description":"offset and when together","sidebar":"tutorialSidebar"},"specs/offsetWhen/when/multiple_items":{"id":"specs/offsetWhen/when/multiple_items","title":"\ud83d\udd52 When (Multiple items)","description":"when - multiple items","sidebar":"tutorialSidebar"},"specs/offsetWhen/when/single_item":{"id":"specs/offsetWhen/when/single_item","title":"\ud83d\udd52 When (Single item)","description":"when - single item","sidebar":"tutorialSidebar"},"specs/patientInstruction/patientInstruction":{"id":"specs/patientInstruction/patientInstruction","title":"\ud83d\udccb patientInstruction","description":"patientInstruction","sidebar":"tutorialSidebar"},"specs/periodPeriodMax/period_and_periodMax":{"id":"specs/periodPeriodMax/period_and_periodMax","title":"\u267b\ufe0f period & periodMax","description":"period & periodMax","sidebar":"tutorialSidebar"},"specs/periodPeriodMax/period_only":{"id":"specs/periodPeriodMax/period_only","title":"\u267b\ufe0f period (only)","description":"period (only)","sidebar":"tutorialSidebar"},"specs/periodPeriodMax/periodMax_only":{"id":"specs/periodPeriodMax/periodMax_only","title":"\u267b\ufe0f periodMax (only)","description":"periodMax (only)","sidebar":"tutorialSidebar"},"specs/rateQuantity/rateQuantity":{"id":"specs/rateQuantity/rateQuantity","title":"\u23f2\ufe0f rateQuantity","description":"rateQuantity","sidebar":"tutorialSidebar"},"specs/rateRange/high_only":{"id":"specs/rateRange/high_only","title":"\u2696\ufe0f rateRange (High only)","description":"High only","sidebar":"tutorialSidebar"},"specs/rateRange/low_and_high":{"id":"specs/rateRange/low_and_high","title":"\u2696\ufe0f rateRange (Low & High)","description":"Low & High","sidebar":"tutorialSidebar"},"specs/rateRange/low_only":{"id":"specs/rateRange/low_only","title":"\u2696\ufe0f rateRange (Low only)","description":"Low only","sidebar":"tutorialSidebar"},"specs/rateRatio/rateRatio":{"id":"specs/rateRatio/rateRatio","title":"\ud83d\udcc8 rateRatio","description":"rateRatio","sidebar":"tutorialSidebar"},"specs/route/route":{"id":"specs/route/route","title":"\ud83d\udee3\ufe0f route","description":"route","sidebar":"tutorialSidebar"},"specs/sequence/concurrent_instructions":{"id":"specs/sequence/concurrent_instructions","title":"\u27a1\ufe0f sequence (Concurrent instructions)","description":"Concurrent instructions","sidebar":"tutorialSidebar"},"specs/sequence/sequential_instructions_1":{"id":"specs/sequence/sequential_instructions_1","title":"\u27a1\ufe0f sequence (Sequential instructions 1)","description":"Sequential instructions, with sequence","sidebar":"tutorialSidebar"},"specs/sequence/sequential_instructions_2":{"id":"specs/sequence/sequential_instructions_2","title":"\u27a1\ufe0f sequence (Sequential instructions 2)","description":"Sequential instructions, without sequence","sidebar":"tutorialSidebar"},"specs/site/site":{"id":"specs/site/site","title":"\ud83d\udccd site","description":"site","sidebar":"tutorialSidebar"},"specs/text/text":{"id":"specs/text/text","title":"\ud83d\udcdd text","description":"text","sidebar":"tutorialSidebar"},"specs/timeOfDay/multiple_items":{"id":"specs/timeOfDay/multiple_items","title":"\u2795 Multiple items","description":"Multiple items","sidebar":"tutorialSidebar"},"specs/timeOfDay/single_item":{"id":"specs/timeOfDay/single_item","title":"\u274c Single item","description":"Single item","sidebar":"tutorialSidebar"}}}')}}]); \ No newline at end of file diff --git a/assets/js/935f2afb.f862a3ba.js b/assets/js/935f2afb.f862a3ba.js deleted file mode 100644 index d596a18d..00000000 --- a/assets/js/935f2afb.f862a3ba.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[962],{5610:e=>{e.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"tutorialSidebar":[{"type":"link","label":"\u26a1 Quick Start","href":"/fhir-dosage-utils/docs/quick-start","docId":"quick-start","unlisted":false},{"type":"category","label":"\ud83d\udca1 Demos","items":[{"type":"category","label":"\ud83d\udd0e Specifications","items":[{"type":"category","label":"\ud83d\udcdd additionalInstruction","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\u2795 Multiple items","href":"/fhir-dosage-utils/docs/specs/additionalInstruction/multiple_items","docId":"specs/additionalInstruction/multiple_items","unlisted":false},{"type":"link","label":"\u274c Single item","href":"/fhir-dosage-utils/docs/specs/additionalInstruction/single_item","docId":"specs/additionalInstruction/single_item","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-additionalinstruction"},{"type":"category","label":"\u2753 asNeeded","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udccc asNeeded","href":"/fhir-dosage-utils/docs/specs/asNeeded/","docId":"specs/asNeeded/asNeeded","unlisted":false},{"type":"link","label":"\u2705 asNeededBoolean","href":"/fhir-dosage-utils/docs/specs/asNeeded/asNeededBoolean","docId":"specs/asNeeded/asNeededBoolean","unlisted":false},{"type":"link","label":"\ud83d\udccc asNeededCodeableConcept","href":"/fhir-dosage-utils/docs/specs/asNeeded/asNeededCodeableConcept","docId":"specs/asNeeded/asNeededCodeableConcept","unlisted":false},{"type":"link","label":"\ud83e\uddec asNeededFor","href":"/fhir-dosage-utils/docs/specs/asNeeded/asNeededFor","docId":"specs/asNeeded/asNeededFor","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-asneeded"},{"type":"category","label":"\ud83d\udd70\ufe0f boundsDuration","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udd70\ufe0f boundsDuration","href":"/fhir-dosage-utils/docs/specs/boundsDuration/","docId":"specs/boundsDuration/boundsDuration","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/\ufe0f-boundsduration"},{"type":"category","label":"\u23f3 boundsPeriod","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\u23f3 boundsPeriod (end only)","href":"/fhir-dosage-utils/docs/specs/boundsPeriod/end_only","docId":"specs/boundsPeriod/end_only","unlisted":false},{"type":"link","label":"\u23f3 boundsPeriod (start & end)","href":"/fhir-dosage-utils/docs/specs/boundsPeriod/start_and_end","docId":"specs/boundsPeriod/start_and_end","unlisted":false},{"type":"link","label":"\u23f3 boundsPeriod (start only)","href":"/fhir-dosage-utils/docs/specs/boundsPeriod/start_only","docId":"specs/boundsPeriod/start_only","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-boundsperiod"},{"type":"category","label":"\ud83d\udcd0 boundsRange","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udcd0 boundsDuration (High only)","href":"/fhir-dosage-utils/docs/specs/boundsRange/high_only","docId":"specs/boundsRange/high_only","unlisted":false},{"type":"link","label":"\ud83d\udcd0 boundsDuration (Low & High)","href":"/fhir-dosage-utils/docs/specs/boundsRange/low_and_high","docId":"specs/boundsRange/low_and_high","unlisted":false},{"type":"link","label":"\ud83d\udcd0 boundsDuration (Low only)","href":"/fhir-dosage-utils/docs/specs/boundsRange/low_only","docId":"specs/boundsRange/low_only","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-boundsrange"},{"type":"category","label":"\ud83d\udcbb code","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udcbb code","href":"/fhir-dosage-utils/docs/specs/code/","docId":"specs/code/code","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-code"},{"type":"category","label":"\ud83d\udd22 count / countMax","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udd22 count (only)","href":"/fhir-dosage-utils/docs/specs/countCountMax/count","docId":"specs/countCountMax/count","unlisted":false},{"type":"link","label":"\ud83d\udd22 countMax (only)","href":"/fhir-dosage-utils/docs/specs/countCountMax/countMax_only","docId":"specs/countCountMax/countMax_only","unlisted":false},{"type":"link","label":"\ud83d\udd22 count and countMax","href":"/fhir-dosage-utils/docs/specs/countCountMax/count_and_countMax","docId":"specs/countCountMax/count_and_countMax","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-count--countmax"},{"type":"category","label":"\ud83d\udcc5 dayOfWeek","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udcc5 Multiple items","href":"/fhir-dosage-utils/docs/specs/dayOfWeek/multiple_items","docId":"specs/dayOfWeek/multiple_items","unlisted":false},{"type":"link","label":"\ud83d\udcc5 Single item","href":"/fhir-dosage-utils/docs/specs/dayOfWeek/single_item","docId":"specs/dayOfWeek/single_item","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-dayofweek"},{"type":"category","label":"\ud83d\udc8a doseQuantity","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udc8a doseQuantity","href":"/fhir-dosage-utils/docs/specs/doseQuantity/","docId":"specs/doseQuantity/doseQuantity","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-dosequantity"},{"type":"category","label":"\ud83d\udccf doseRange","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udccf doseRange (High only)","href":"/fhir-dosage-utils/docs/specs/doseRange/high_only","docId":"specs/doseRange/high_only","unlisted":false},{"type":"link","label":"\ud83d\udccf doseRange (Low & High)","href":"/fhir-dosage-utils/docs/specs/doseRange/low_and_high","docId":"specs/doseRange/low_and_high","unlisted":false},{"type":"link","label":"\ud83d\udccf doseRange (Low only)","href":"/fhir-dosage-utils/docs/specs/doseRange/low_only","docId":"specs/doseRange/low_only","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-doserange"},{"type":"category","label":"\u23f0 durationDurationMax","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\u23f0 durationMax","href":"/fhir-dosage-utils/docs/specs/durationDurationMax/durationMax_only","docId":"specs/durationDurationMax/durationMax_only","unlisted":false},{"type":"link","label":"\u23f0 duration and durationMax","href":"/fhir-dosage-utils/docs/specs/durationDurationMax/duration_and_durationMax","docId":"specs/durationDurationMax/duration_and_durationMax","unlisted":false},{"type":"link","label":"\u23f0 duration","href":"/fhir-dosage-utils/docs/specs/durationDurationMax/duration_only","docId":"specs/durationDurationMax/duration_only","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-durationdurationmax"},{"type":"category","label":"\ud83c\udf89 event","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\u2795 Multiple items","href":"/fhir-dosage-utils/docs/specs/event/multiple_items","docId":"specs/event/multiple_items","unlisted":false},{"type":"link","label":"\u274c Single item","href":"/fhir-dosage-utils/docs/specs/event/single_item","docId":"specs/event/single_item","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-event"},{"type":"category","label":"\ud83d\udd01 frequencyFrequencyMax","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udd01 frequencyMax","href":"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequencyMax_only","docId":"specs/frequencyFrequencyMax/frequencyMax_only","unlisted":false},{"type":"link","label":"\ud83d\udd01 frequency and frequencyMax","href":"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_and_frequencyMax","docId":"specs/frequencyFrequencyMax/frequency_and_frequencyMax","unlisted":false},{"type":"link","label":"\ud83d\udd01 frequency","href":"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_only","docId":"specs/frequencyFrequencyMax/frequency_only","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-frequencyfrequencymax"},{"type":"category","label":"\ud83d\udc89 maxDosePerAdministration","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udc89 maxDosePerAdministration","href":"/fhir-dosage-utils/docs/specs/maxDosePerAdministration/","docId":"specs/maxDosePerAdministration/maxDosePerAdministration","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-maxdoseperadministration"},{"type":"category","label":"\ud83d\udc96 maxDosePerLifetime","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udc96 maxDosePerLifetime","href":"/fhir-dosage-utils/docs/specs/maxDosePerLifetime/","docId":"specs/maxDosePerLifetime/maxDosePerLifetime","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-maxdoseperlifetime"},{"type":"category","label":"\u23f3 maxDosePerPeriod","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\u23f3 maxDosePerPeriod (R4)","href":"/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r4","docId":"specs/maxDosePerPeriod/r4","unlisted":false},{"type":"link","label":"\u23f3 maxDosePerPeriod (R5)","href":"/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r5","docId":"specs/maxDosePerPeriod/r5","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-maxdoseperperiod"},{"type":"category","label":"\ud83d\udee0\ufe0f method","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udee0\ufe0f method","href":"/fhir-dosage-utils/docs/specs/method/","docId":"specs/method/method","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/\ufe0f-method"},{"type":"category","label":"\ud83d\udd52 offset when","collapsible":true,"collapsed":true,"items":[{"type":"category","label":"\ud83d\udd52 offset","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udd52 offset (Days)","href":"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_days","docId":"specs/offsetWhen/offset/offset_days","unlisted":false},{"type":"link","label":"\ud83d\udd52 offset (Hours)","href":"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_hours","docId":"specs/offsetWhen/offset/offset_hours","unlisted":false},{"type":"link","label":"\ud83d\udd52 offset (Minutes)","href":"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_minutes","docId":"specs/offsetWhen/offset/offset_minutes","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-offset"},{"type":"category","label":"\ud83d\udd52 when","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udd52 When (Multiple items)","href":"/fhir-dosage-utils/docs/specs/offsetWhen/when/multiple_items","docId":"specs/offsetWhen/when/multiple_items","unlisted":false},{"type":"link","label":"\ud83d\udd52 When (Single item)","href":"/fhir-dosage-utils/docs/specs/offsetWhen/when/single_item","docId":"specs/offsetWhen/when/single_item","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-when"},{"type":"link","label":"\ud83d\udd52 offset and when","href":"/fhir-dosage-utils/docs/specs/offsetWhen/when_and_offset","docId":"specs/offsetWhen/when_and_offset","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-offset-when"},{"type":"category","label":"\ud83d\udccb patientInstruction","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udccb patientInstruction","href":"/fhir-dosage-utils/docs/specs/patientInstruction/","docId":"specs/patientInstruction/patientInstruction","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-patientinstruction"},{"type":"category","label":"\u267b\ufe0f periodPeriodMax","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\u267b\ufe0f periodMax (only)","href":"/fhir-dosage-utils/docs/specs/periodPeriodMax/periodMax_only","docId":"specs/periodPeriodMax/periodMax_only","unlisted":false},{"type":"link","label":"\u267b\ufe0f period & periodMax","href":"/fhir-dosage-utils/docs/specs/periodPeriodMax/period_and_periodMax","docId":"specs/periodPeriodMax/period_and_periodMax","unlisted":false},{"type":"link","label":"\u267b\ufe0f period (only)","href":"/fhir-dosage-utils/docs/specs/periodPeriodMax/period_only","docId":"specs/periodPeriodMax/period_only","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/\ufe0f-periodperiodmax"},{"type":"category","label":"\u23f2\ufe0f rateQuantity","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\u23f2\ufe0f rateQuantity","href":"/fhir-dosage-utils/docs/specs/rateQuantity/","docId":"specs/rateQuantity/rateQuantity","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/\ufe0f-ratequantity"},{"type":"category","label":"\u2696\ufe0f rateRange","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\u2696\ufe0f rateRange (High only)","href":"/fhir-dosage-utils/docs/specs/rateRange/high_only","docId":"specs/rateRange/high_only","unlisted":false},{"type":"link","label":"\u2696\ufe0f rateRange (Low & High)","href":"/fhir-dosage-utils/docs/specs/rateRange/low_and_high","docId":"specs/rateRange/low_and_high","unlisted":false},{"type":"link","label":"\u2696\ufe0f rateRange (Low only)","href":"/fhir-dosage-utils/docs/specs/rateRange/low_only","docId":"specs/rateRange/low_only","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/\ufe0f-raterange"},{"type":"category","label":"\ud83d\udcc8 rateRatio","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udcc8 rateRatio","href":"/fhir-dosage-utils/docs/specs/rateRatio/","docId":"specs/rateRatio/rateRatio","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-rateratio"},{"type":"category","label":"\ud83d\udee3\ufe0f route","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udee3\ufe0f route","href":"/fhir-dosage-utils/docs/specs/route/","docId":"specs/route/route","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/\ufe0f-route"},{"type":"category","label":"\u27a1\ufe0f sequence","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\u27a1\ufe0f sequence (Concurrent instructions)","href":"/fhir-dosage-utils/docs/specs/sequence/concurrent_instructions","docId":"specs/sequence/concurrent_instructions","unlisted":false},{"type":"link","label":"\u27a1\ufe0f sequence (Sequential instructions 1)","href":"/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_1","docId":"specs/sequence/sequential_instructions_1","unlisted":false},{"type":"link","label":"\u27a1\ufe0f sequence (Sequential instructions 2)","href":"/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_2","docId":"specs/sequence/sequential_instructions_2","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/\ufe0f-sequence"},{"type":"category","label":"\ud83d\udccd site","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udccd site","href":"/fhir-dosage-utils/docs/specs/site/","docId":"specs/site/site","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-site"},{"type":"category","label":"\ud83d\udcdd text","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\ud83d\udcdd text","href":"/fhir-dosage-utils/docs/specs/text/","docId":"specs/text/text","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-text"},{"type":"category","label":"\u231a timeOfDay","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"\u2795 Multiple items","href":"/fhir-dosage-utils/docs/specs/timeOfDay/multiple_items","docId":"specs/timeOfDay/multiple_items","unlisted":false},{"type":"link","label":"\u274c Single item","href":"/fhir-dosage-utils/docs/specs/timeOfDay/single_item","docId":"specs/timeOfDay/single_item","unlisted":false}],"href":"/fhir-dosage-utils/docs/category/-timeofday"}],"collapsed":true,"collapsible":true,"href":"/fhir-dosage-utils/docs/demo/specs"},{"type":"category","label":"\ud83d\udee0\ufe0f Customizations","items":[{"type":"link","label":"\ud83c\udf89 dateTimeFormatOptions","href":"/fhir-dosage-utils/docs/custom/dateTimeFormatOptions","docId":"custom/dateTimeFormatOptions","unlisted":false},{"type":"link","label":"\ud83d\udcbb fromCodeableConceptToString","href":"/fhir-dosage-utils/docs/custom/fromCodeableConceptToString","docId":"custom/fromCodeableConceptToString","unlisted":false},{"type":"link","label":"\ud83d\udd0c fromExtensionsToString","href":"/fhir-dosage-utils/docs/custom/fromExtensionsToString","docId":"custom/fromExtensionsToString","unlisted":false},{"type":"link","label":"\ud83d\udccf fromFHIRQuantityUnitToString","href":"/fhir-dosage-utils/docs/custom/fromFHIRQuantityUnitToString","docId":"custom/fromFHIRQuantityUnitToString","unlisted":false}],"collapsed":true,"collapsible":true,"href":"/fhir-dosage-utils/docs/demo/custom"},{"type":"category","label":"\ud83d\uddfa\ufe0f Real word examples","items":[{"type":"link","label":"\u231a Timing","href":"/examples/timing"},{"type":"category","label":"\ud83c\udf0c MedicationRequest","items":[{"type":"link","label":"medrx002","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx002","docId":"examples/medicationrequest/medrx002","unlisted":false},{"type":"link","label":"medrx003","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx003","docId":"examples/medicationrequest/medrx003","unlisted":false},{"type":"link","label":"medrx004","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx004","docId":"examples/medicationrequest/medrx004","unlisted":false},{"type":"link","label":"medrx0301","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0301","docId":"examples/medicationrequest/medrx0301","unlisted":false},{"type":"link","label":"medrx0302","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0302","docId":"examples/medicationrequest/medrx0302","unlisted":false},{"type":"link","label":"medrx0303","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0303","docId":"examples/medicationrequest/medrx0303","unlisted":false},{"type":"link","label":"medrx0305","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0305","docId":"examples/medicationrequest/medrx0305","unlisted":false},{"type":"link","label":"medrx0307","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0307","docId":"examples/medicationrequest/medrx0307","unlisted":false},{"type":"link","label":"medrx0308","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0308","docId":"examples/medicationrequest/medrx0308","unlisted":false},{"type":"link","label":"medrx0310","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0310","docId":"examples/medicationrequest/medrx0310","unlisted":false},{"type":"link","label":"medrx0313","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0313","docId":"examples/medicationrequest/medrx0313","unlisted":false},{"type":"link","label":"medrx0314","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0314","docId":"examples/medicationrequest/medrx0314","unlisted":false},{"type":"link","label":"medrx0315","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0315","docId":"examples/medicationrequest/medrx0315","unlisted":false},{"type":"link","label":"medrx0317","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0317","docId":"examples/medicationrequest/medrx0317","unlisted":false},{"type":"link","label":"medrx0319","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0319","docId":"examples/medicationrequest/medrx0319","unlisted":false},{"type":"link","label":"medrx0321","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0321","docId":"examples/medicationrequest/medrx0321","unlisted":false},{"type":"link","label":"medrx0331","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0331","docId":"examples/medicationrequest/medrx0331","unlisted":false},{"type":"link","label":"medrx0339","href":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0339","docId":"examples/medicationrequest/medrx0339","unlisted":false}],"collapsed":true,"collapsible":true,"href":"/fhir-dosage-utils/docs/demo/examples/medicationrequest"}],"collapsed":true,"collapsible":true,"href":"/fhir-dosage-utils/docs/demo/examples"}],"collapsed":true,"collapsible":true,"href":"/fhir-dosage-utils/docs/demo"},{"type":"link","label":"\ud83e\udde9 Contributing","href":"/fhir-dosage-utils/docs/contributing","docId":"contributing","unlisted":false},{"type":"link","label":"\ud83d\udcd6 API Reference","href":"/api"},{"type":"link","label":"\u2753 FAQ","href":"/fhir-dosage-utils/docs/faq","docId":"faq","unlisted":false},{"type":"link","label":"\ud83d\udea7 Roadmap","href":"/fhir-dosage-utils/docs/next-steps","docId":"next-steps","unlisted":false}]},"docs":{"contributing":{"id":"contributing","title":"\ud83e\udde9 Contributing","description":"How to contribute in fhir-dosage-utils ?","sidebar":"tutorialSidebar"},"custom/dateTimeFormatOptions":{"id":"custom/dateTimeFormatOptions","title":"\ud83c\udf89 dateTimeFormatOptions","description":"To control the formatting of dateTime objects","sidebar":"tutorialSidebar"},"custom/fromCodeableConceptToString":{"id":"custom/fromCodeableConceptToString","title":"\ud83d\udcbb fromCodeableConceptToString","description":"Function to turn a codeable concept (e.g SNOMED CT \\"311504000\\") into a string for humans (e.g \\"With or after food\\")","sidebar":"tutorialSidebar"},"custom/fromExtensionsToString":{"id":"custom/fromExtensionsToString","title":"\ud83d\udd0c fromExtensionsToString","description":"Function to turn extension(s) into a string for humans.","sidebar":"tutorialSidebar"},"custom/fromFHIRQuantityUnitToString":{"id":"custom/fromFHIRQuantityUnitToString","title":"\ud83d\udccf fromFHIRQuantityUnitToString","description":"Function to turn a quantity unit (e.g UCUM \\"ml\\") into a string for humans (e.g \\"militier\\")","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx002":{"id":"examples/medicationrequest/medrx002","title":"medrx002","description":"Order for a medication that includes the dosage of a prescription in text","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx003":{"id":"examples/medicationrequest/medrx003","title":"medrx003","description":"Request that uses both calculated and ordered dosage","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx004":{"id":"examples/medicationrequest/medrx004","title":"medrx004","description":"Request with multiple dosages and timings","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx0301":{"id":"examples/medicationrequest/medrx0301","title":"medrx0301","description":"Order with as needed (PRN) dosage with pre-condition - Oxycodone - active with reasonCode, note, dispenseRequest and substitution","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx0302":{"id":"examples/medicationrequest/medrx0302","title":"medrx0302","description":"Active Order with link to encounter, reasonCode, note multiple dosage lines, dispenseRequest and substitution - Azithromycin","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx0303":{"id":"examples/medicationrequest/medrx0303","title":"medrx0303","description":"Order for Tapering Dose - Prednisone - active with note and multiple DosageInstructions with boundsPeriod","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx0305":{"id":"examples/medicationrequest/medrx0305","title":"medrx0305","description":"Order with Dosage with a Pre-Condition - Alprazolam - dosageInstructions includes boundsPeriod with periodMax and asNeededCodeableConcept","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx0307":{"id":"examples/medicationrequest/medrx0307","title":"medrx0307","description":"Order with as needed (PRN) dosage - Percocet - completed with link to encounter, dispenseRequest and substitution","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx0308":{"id":"examples/medicationrequest/medrx0308","title":"medrx0308","description":"Order for as needed (PRN) dosage - Vicodin - completed with dosageInstruction with additionalInstruction (coded) and as needed with reason, dispenseRequest and substitution","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx0310":{"id":"examples/medicationrequest/medrx0310","title":"medrx0310","description":"Request for Over the Counter Medication - Tylenol PM - with dosage range as needed with pre-condition for use","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx0313":{"id":"examples/medicationrequest/medrx0313","title":"medrx0313","description":"Request with a single dosage line - Azithromycin - completed - with link to prior prescription and reason code","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx0314":{"id":"examples/medicationrequest/medrx0314","title":"medrx0314","description":"Request - Levothyroxine - completed with reasonCode, dosageInstructions and dispenseRequest","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx0315":{"id":"examples/medicationrequest/medrx0315","title":"medrx0315","description":"Request for an injectable medication - Lorazepam - active - with link to encounter, reasonCode and dosageInstruction","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx0317":{"id":"examples/medicationrequest/medrx0317","title":"medrx0317","description":"Request for Intravenous Chemotherapy (inpatient order) - Alemtuzumab - completed with multiple dosageInstruction lines","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx0319":{"id":"examples/medicationrequest/medrx0319","title":"medrx0319","description":"Request for Intravenous Antibiotic with a Dosage Rate - Piperacillin - completed with reason code","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx0321":{"id":"examples/medicationrequest/medrx0321","title":"medrx0321","description":"Request for Subcutaneous injection with multiple dosage lines - Insulin - Novolog - active - includes reasonCode and note. Dosage includes additionalInstructions as text","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx0331":{"id":"examples/medicationrequest/medrx0331","title":"medrx0331","description":"Request for a Dosage that needs to be dispensed as different strength tablets - Warfarin - active","sidebar":"tutorialSidebar"},"examples/medicationrequest/medrx0339":{"id":"examples/medicationrequest/medrx0339","title":"medrx0339","description":"Request for a product that contains multiple dosage forms","sidebar":"tutorialSidebar"},"faq":{"id":"faq","title":"\u2753 FAQ","description":"Frequently Asked Questions","sidebar":"tutorialSidebar"},"next-steps":{"id":"next-steps","title":"\ud83d\udea7 Roadmap","description":"What\'is next in fhir-dosage-utils ?","sidebar":"tutorialSidebar"},"quick-start":{"id":"quick-start","title":"\u26a1 Quick Start","description":"Getting started with fhir-dosage-utils","sidebar":"tutorialSidebar"},"specs/additionalInstruction/multiple_items":{"id":"specs/additionalInstruction/multiple_items","title":"\u2795 Multiple items","description":"Multiple items","sidebar":"tutorialSidebar"},"specs/additionalInstruction/single_item":{"id":"specs/additionalInstruction/single_item","title":"\u274c Single item","description":"Single item","sidebar":"tutorialSidebar"},"specs/asNeeded/asNeeded":{"id":"specs/asNeeded/asNeeded","title":"\ud83d\udccc asNeeded","description":"asNeeded","sidebar":"tutorialSidebar"},"specs/asNeeded/asNeededBoolean":{"id":"specs/asNeeded/asNeededBoolean","title":"\u2705 asNeededBoolean","description":"asNeededBoolean","sidebar":"tutorialSidebar"},"specs/asNeeded/asNeededCodeableConcept":{"id":"specs/asNeeded/asNeededCodeableConcept","title":"\ud83d\udccc asNeededCodeableConcept","description":"asNeededCodeableConcept","sidebar":"tutorialSidebar"},"specs/asNeeded/asNeededFor":{"id":"specs/asNeeded/asNeededFor","title":"\ud83e\uddec asNeededFor","description":"asNeededFor","sidebar":"tutorialSidebar"},"specs/boundsDuration/boundsDuration":{"id":"specs/boundsDuration/boundsDuration","title":"\ud83d\udd70\ufe0f boundsDuration","description":"boundsDuration","sidebar":"tutorialSidebar"},"specs/boundsPeriod/end_only":{"id":"specs/boundsPeriod/end_only","title":"\u23f3 boundsPeriod (end only)","description":"end only","sidebar":"tutorialSidebar"},"specs/boundsPeriod/start_and_end":{"id":"specs/boundsPeriod/start_and_end","title":"\u23f3 boundsPeriod (start & end)","description":"Start & end","sidebar":"tutorialSidebar"},"specs/boundsPeriod/start_only":{"id":"specs/boundsPeriod/start_only","title":"\u23f3 boundsPeriod (start only)","description":"start only","sidebar":"tutorialSidebar"},"specs/boundsRange/high_only":{"id":"specs/boundsRange/high_only","title":"\ud83d\udcd0 boundsDuration (High only)","description":"High only","sidebar":"tutorialSidebar"},"specs/boundsRange/low_and_high":{"id":"specs/boundsRange/low_and_high","title":"\ud83d\udcd0 boundsDuration (Low & High)","description":"Low & High","sidebar":"tutorialSidebar"},"specs/boundsRange/low_only":{"id":"specs/boundsRange/low_only","title":"\ud83d\udcd0 boundsDuration (Low only)","description":"Low only","sidebar":"tutorialSidebar"},"specs/code/code":{"id":"specs/code/code","title":"\ud83d\udcbb code","description":"code","sidebar":"tutorialSidebar"},"specs/countCountMax/count":{"id":"specs/countCountMax/count","title":"\ud83d\udd22 count (only)","description":"count (only)","sidebar":"tutorialSidebar"},"specs/countCountMax/count_and_countMax":{"id":"specs/countCountMax/count_and_countMax","title":"\ud83d\udd22 count and countMax","description":"count and countMax","sidebar":"tutorialSidebar"},"specs/countCountMax/countMax_only":{"id":"specs/countCountMax/countMax_only","title":"\ud83d\udd22 countMax (only)","description":"countMax (only)","sidebar":"tutorialSidebar"},"specs/dayOfWeek/multiple_items":{"id":"specs/dayOfWeek/multiple_items","title":"\ud83d\udcc5 Multiple items","description":"Multiple items","sidebar":"tutorialSidebar"},"specs/dayOfWeek/single_item":{"id":"specs/dayOfWeek/single_item","title":"\ud83d\udcc5 Single item","description":"Single item","sidebar":"tutorialSidebar"},"specs/doseQuantity/doseQuantity":{"id":"specs/doseQuantity/doseQuantity","title":"\ud83d\udc8a doseQuantity","description":"doseQuantity","sidebar":"tutorialSidebar"},"specs/doseRange/high_only":{"id":"specs/doseRange/high_only","title":"\ud83d\udccf doseRange (High only)","description":"High only","sidebar":"tutorialSidebar"},"specs/doseRange/low_and_high":{"id":"specs/doseRange/low_and_high","title":"\ud83d\udccf doseRange (Low & High)","description":"Low & High","sidebar":"tutorialSidebar"},"specs/doseRange/low_only":{"id":"specs/doseRange/low_only","title":"\ud83d\udccf doseRange (Low only)","description":"Low only","sidebar":"tutorialSidebar"},"specs/durationDurationMax/duration_and_durationMax":{"id":"specs/durationDurationMax/duration_and_durationMax","title":"\u23f0 duration and durationMax","description":"duration and durationMax","sidebar":"tutorialSidebar"},"specs/durationDurationMax/duration_only":{"id":"specs/durationDurationMax/duration_only","title":"\u23f0 duration","description":"duration only","sidebar":"tutorialSidebar"},"specs/durationDurationMax/durationMax_only":{"id":"specs/durationDurationMax/durationMax_only","title":"\u23f0 durationMax","description":"durationMax only","sidebar":"tutorialSidebar"},"specs/event/multiple_items":{"id":"specs/event/multiple_items","title":"\u2795 Multiple items","description":"Multiple items","sidebar":"tutorialSidebar"},"specs/event/single_item":{"id":"specs/event/single_item","title":"\u274c Single item","description":"Single item","sidebar":"tutorialSidebar"},"specs/frequencyFrequencyMax/frequency_and_frequencyMax":{"id":"specs/frequencyFrequencyMax/frequency_and_frequencyMax","title":"\ud83d\udd01 frequency and frequencyMax","description":"frequency and frequencyMax","sidebar":"tutorialSidebar"},"specs/frequencyFrequencyMax/frequency_only":{"id":"specs/frequencyFrequencyMax/frequency_only","title":"\ud83d\udd01 frequency","description":"frequency only","sidebar":"tutorialSidebar"},"specs/frequencyFrequencyMax/frequencyMax_only":{"id":"specs/frequencyFrequencyMax/frequencyMax_only","title":"\ud83d\udd01 frequencyMax","description":"frequencyMax only","sidebar":"tutorialSidebar"},"specs/maxDosePerAdministration/maxDosePerAdministration":{"id":"specs/maxDosePerAdministration/maxDosePerAdministration","title":"\ud83d\udc89 maxDosePerAdministration","description":"maxDosePerAdministration","sidebar":"tutorialSidebar"},"specs/maxDosePerLifetime/maxDosePerLifetime":{"id":"specs/maxDosePerLifetime/maxDosePerLifetime","title":"\ud83d\udc96 maxDosePerLifetime","description":"maxDosePerLifetime","sidebar":"tutorialSidebar"},"specs/maxDosePerPeriod/r4":{"id":"specs/maxDosePerPeriod/r4","title":"\u23f3 maxDosePerPeriod (R4)","description":"maxDosePerPeriod (R4)","sidebar":"tutorialSidebar"},"specs/maxDosePerPeriod/r5":{"id":"specs/maxDosePerPeriod/r5","title":"\u23f3 maxDosePerPeriod (R5)","description":"maxDosePerPeriod (R5)","sidebar":"tutorialSidebar"},"specs/method/method":{"id":"specs/method/method","title":"\ud83d\udee0\ufe0f method","description":"method","sidebar":"tutorialSidebar"},"specs/offsetWhen/offset/offset_days":{"id":"specs/offsetWhen/offset/offset_days","title":"\ud83d\udd52 offset (Days)","description":"offset, expressing day(s)","sidebar":"tutorialSidebar"},"specs/offsetWhen/offset/offset_hours":{"id":"specs/offsetWhen/offset/offset_hours","title":"\ud83d\udd52 offset (Hours)","description":"offset, expressing hour(s)","sidebar":"tutorialSidebar"},"specs/offsetWhen/offset/offset_minutes":{"id":"specs/offsetWhen/offset/offset_minutes","title":"\ud83d\udd52 offset (Minutes)","description":"offset, expressing minute(s)","sidebar":"tutorialSidebar"},"specs/offsetWhen/when_and_offset":{"id":"specs/offsetWhen/when_and_offset","title":"\ud83d\udd52 offset and when","description":"offset and when together","sidebar":"tutorialSidebar"},"specs/offsetWhen/when/multiple_items":{"id":"specs/offsetWhen/when/multiple_items","title":"\ud83d\udd52 When (Multiple items)","description":"when - multiple items","sidebar":"tutorialSidebar"},"specs/offsetWhen/when/single_item":{"id":"specs/offsetWhen/when/single_item","title":"\ud83d\udd52 When (Single item)","description":"when - single item","sidebar":"tutorialSidebar"},"specs/patientInstruction/patientInstruction":{"id":"specs/patientInstruction/patientInstruction","title":"\ud83d\udccb patientInstruction","description":"patientInstruction","sidebar":"tutorialSidebar"},"specs/periodPeriodMax/period_and_periodMax":{"id":"specs/periodPeriodMax/period_and_periodMax","title":"\u267b\ufe0f period & periodMax","description":"period & periodMax","sidebar":"tutorialSidebar"},"specs/periodPeriodMax/period_only":{"id":"specs/periodPeriodMax/period_only","title":"\u267b\ufe0f period (only)","description":"period (only)","sidebar":"tutorialSidebar"},"specs/periodPeriodMax/periodMax_only":{"id":"specs/periodPeriodMax/periodMax_only","title":"\u267b\ufe0f periodMax (only)","description":"periodMax (only)","sidebar":"tutorialSidebar"},"specs/rateQuantity/rateQuantity":{"id":"specs/rateQuantity/rateQuantity","title":"\u23f2\ufe0f rateQuantity","description":"rateQuantity","sidebar":"tutorialSidebar"},"specs/rateRange/high_only":{"id":"specs/rateRange/high_only","title":"\u2696\ufe0f rateRange (High only)","description":"High only","sidebar":"tutorialSidebar"},"specs/rateRange/low_and_high":{"id":"specs/rateRange/low_and_high","title":"\u2696\ufe0f rateRange (Low & High)","description":"Low & High","sidebar":"tutorialSidebar"},"specs/rateRange/low_only":{"id":"specs/rateRange/low_only","title":"\u2696\ufe0f rateRange (Low only)","description":"Low only","sidebar":"tutorialSidebar"},"specs/rateRatio/rateRatio":{"id":"specs/rateRatio/rateRatio","title":"\ud83d\udcc8 rateRatio","description":"rateRatio","sidebar":"tutorialSidebar"},"specs/route/route":{"id":"specs/route/route","title":"\ud83d\udee3\ufe0f route","description":"route","sidebar":"tutorialSidebar"},"specs/sequence/concurrent_instructions":{"id":"specs/sequence/concurrent_instructions","title":"\u27a1\ufe0f sequence (Concurrent instructions)","description":"Concurrent instructions","sidebar":"tutorialSidebar"},"specs/sequence/sequential_instructions_1":{"id":"specs/sequence/sequential_instructions_1","title":"\u27a1\ufe0f sequence (Sequential instructions 1)","description":"Sequential instructions, with sequence","sidebar":"tutorialSidebar"},"specs/sequence/sequential_instructions_2":{"id":"specs/sequence/sequential_instructions_2","title":"\u27a1\ufe0f sequence (Sequential instructions 2)","description":"Sequential instructions, without sequence","sidebar":"tutorialSidebar"},"specs/site/site":{"id":"specs/site/site","title":"\ud83d\udccd site","description":"site","sidebar":"tutorialSidebar"},"specs/text/text":{"id":"specs/text/text","title":"\ud83d\udcdd text","description":"text","sidebar":"tutorialSidebar"},"specs/timeOfDay/multiple_items":{"id":"specs/timeOfDay/multiple_items","title":"\u2795 Multiple items","description":"Multiple items","sidebar":"tutorialSidebar"},"specs/timeOfDay/single_item":{"id":"specs/timeOfDay/single_item","title":"\u274c Single item","description":"Single item","sidebar":"tutorialSidebar"}}}')}}]); \ No newline at end of file diff --git a/assets/js/96e7b265.f0d5d106.js b/assets/js/96e7b265.5a850e79.js similarity index 54% rename from assets/js/96e7b265.f0d5d106.js rename to assets/js/96e7b265.5a850e79.js index 5d85adbb..fb9ab3a5 100644 --- a/assets/js/96e7b265.f0d5d106.js +++ b/assets/js/96e7b265.5a850e79.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3301],{7398:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>h,contentTitle:()=>u,default:()=>x,frontMatter:()=>c,metadata:()=>g,toc:()=>p});var t=s(4848),a=s(8453),o=s(1812);const i=JSON.parse('{"doseAndRate":[{"doseRange":{"low":{"value":3,"unit":"pills"},"high":{"value":5,"unit":"pills"}}}]}');var r=s(4865),l=s(9365),d=s(816);const c={description:"Low & High",title:"\ud83d\udccf doseRange (Low & High)"},u=void 0,g={id:"specs/doseRange/low_and_high",title:"\ud83d\udccf doseRange (Low & High)",description:"Low & High",source:"@site/docs/specs/doseRange/low_and_high.mdx",sourceDirName:"specs/doseRange",slug:"/specs/doseRange/low_and_high",permalink:"/fhir-dosage-utils/docs/specs/doseRange/low_and_high",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/doseRange/low_and_high.mdx",tags:[],version:"current",frontMatter:{description:"Low & High",title:"\ud83d\udccf doseRange (Low & High)"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udccf doseRange (High only)",permalink:"/fhir-dosage-utils/docs/specs/doseRange/high_only"},next:{title:"\ud83d\udccf doseRange (Low only)",permalink:"/fhir-dosage-utils/docs/specs/doseRange/low_only"}},h={},p=[];function f(e){const n={a:"a",admonition:"admonition",p:"p",...(0,a.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(r.A,{children:[(0,t.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,t.jsx)(d.A,{dosage:i})}),(0,t.jsx)(l.A,{value:"json",label:"Dosage",children:(0,t.jsx)(o.default,{language:"json",children:JSON.stringify(i,null,2)})})]}),"\n",(0,t.jsx)(n.admonition,{type:"tip",children:(0,t.jsxs)(n.p,{children:["Don't forget you can use ",(0,t.jsx)(n.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(f,{...e})}):f(e)}},816:(e,n,s)=>{s.d(n,{A:()=>r});var t=s(6540),a=s(6300),o=s(1812),i=s(4848);function r(e){let{dosage:n,config:s}=e;const[r,l]=(0,t.useState)(""),[d,c]=(0,t.useState)(s?.language||"en"),[u,g]=(0,t.useState)(null);(0,t.useEffect)((()=>{!async function(){const e=await a.A.build(s);g(e)}()}),[s]),(0,t.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(n);l(e)}}()}),[n,u]);return(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{style:{display:"flex"},children:[(0,i.jsxs)("select",{value:d,onChange:e=>c(e.target.value),style:{marginRight:"10px"},children:[(0,i.jsx)("option",{value:"en",children:"English"}),(0,i.jsx)("option",{value:"fr",children:"French"}),(0,i.jsx)("option",{value:"nl",children:"Dutch"}),(0,i.jsx)("option",{value:"de",children:"German"})]}),(0,i.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(d);const e=u.fromDosageToText(n);l(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(o.default,{language:"markup",children:(h=r,h.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var h}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3301],{7398:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>h,contentTitle:()=>u,default:()=>x,frontMatter:()=>c,metadata:()=>g,toc:()=>p});var t=s(4848),o=s(8453),a=s(1812);const i=JSON.parse('{"doseAndRate":[{"doseRange":{"low":{"value":3,"unit":"pills"},"high":{"value":5,"unit":"pills"}}}]}');var r=s(4865),l=s(9365),d=s(816);const c={description:"Low & High",title:"\ud83d\udccf doseRange (Low & High)"},u=void 0,g={id:"specs/doseRange/low_and_high",title:"\ud83d\udccf doseRange (Low & High)",description:"Low & High",source:"@site/docs/specs/doseRange/low_and_high.mdx",sourceDirName:"specs/doseRange",slug:"/specs/doseRange/low_and_high",permalink:"/fhir-dosage-utils/docs/specs/doseRange/low_and_high",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/doseRange/low_and_high.mdx",tags:[],version:"current",frontMatter:{description:"Low & High",title:"\ud83d\udccf doseRange (Low & High)"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udccf doseRange (High only)",permalink:"/fhir-dosage-utils/docs/specs/doseRange/high_only"},next:{title:"\ud83d\udccf doseRange (Low only)",permalink:"/fhir-dosage-utils/docs/specs/doseRange/low_only"}},h={},p=[];function f(e){const n={a:"a",admonition:"admonition",p:"p",...(0,o.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(r.A,{children:[(0,t.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,t.jsx)(d.A,{dosage:i})}),(0,t.jsx)(l.A,{value:"json",label:"Dosage",children:(0,t.jsx)(a.default,{language:"json",children:JSON.stringify(i,null,2)})})]}),"\n",(0,t.jsx)(n.admonition,{type:"tip",children:(0,t.jsxs)(n.p,{children:["Don't forget you can use ",(0,t.jsx)(n.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(f,{...e})}):f(e)}},816:(e,n,s)=>{s.d(n,{A:()=>r});var t=s(6540),o=s(6300),a=s(1812),i=s(4848);function r(e){let{dosage:n,config:s,i18nConfig:r}=e;const[l,d]=(0,t.useState)(""),[c,u]=(0,t.useState)(s?.language||"en"),[g,h]=(0,t.useState)(null);(0,t.useEffect)((()=>{!async function(){const e=await o.A.build(s,r);h(e)}()}),[s]),(0,t.useEffect)((()=>{!async function(){if(g){const e=g.fromDosageToText(n);d(e)}}()}),[n,g]);return(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{style:{display:"flex"},children:[(0,i.jsxs)("select",{value:c,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,i.jsx)("option",{value:"en",children:"English"}),(0,i.jsx)("option",{value:"fr",children:"French"}),(0,i.jsx)("option",{value:"nl",children:"Dutch"}),(0,i.jsx)("option",{value:"de",children:"German"})]}),(0,i.jsx)("button",{onClick:async()=>{if(g){await g.changeLanguage(c);const e=g.fromDosageToText(n);d(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(a.default,{language:"markup",children:(p=l,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/97031957.f8026130.js b/assets/js/97031957.4f4e4f95.js similarity index 63% rename from assets/js/97031957.f8026130.js rename to assets/js/97031957.4f4e4f95.js index 2210a35f..5fec1820 100644 --- a/assets/js/97031957.f8026130.js +++ b/assets/js/97031957.4f4e4f95.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4222],{3416:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>y,contentTitle:()=>f,default:()=>p,frontMatter:()=>l,metadata:()=>d,toc:()=>x});var a=r(4848),c=r(8453),t=r(1812);const s=JSON.parse('{"timing":{"repeat":{"frequency":1,"frequencyMax":3}}}');var u=r(4865),i=r(9365),o=r(816);const l={description:"frequency and frequencyMax",title:"\ud83d\udd01 frequency and frequencyMax"},f=void 0,d={id:"specs/frequencyFrequencyMax/frequency_and_frequencyMax",title:"\ud83d\udd01 frequency and frequencyMax",description:"frequency and frequencyMax",source:"@site/docs/specs/frequencyFrequencyMax/frequency_and_frequencyMax.mdx",sourceDirName:"specs/frequencyFrequencyMax",slug:"/specs/frequencyFrequencyMax/frequency_and_frequencyMax",permalink:"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_and_frequencyMax",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/frequencyFrequencyMax/frequency_and_frequencyMax.mdx",tags:[],version:"current",frontMatter:{description:"frequency and frequencyMax",title:"\ud83d\udd01 frequency and frequencyMax"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udd01 frequencyMax",permalink:"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequencyMax_only"},next:{title:"\ud83d\udd01 frequency",permalink:"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_only"}},y={},x=[];function q(e){return(0,a.jsxs)(u.A,{children:[(0,a.jsx)(i.A,{value:"text",label:"Human readable text",default:!0,children:(0,a.jsx)(o.A,{dosage:s})}),(0,a.jsx)(i.A,{value:"json",label:"Dosage",children:(0,a.jsx)(t.default,{language:"json",children:JSON.stringify(s,null,2)})})]})}function p(e={}){const{wrapper:n}={...(0,c.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(q,{...e})}):q()}},816:(e,n,r)=>{r.d(n,{A:()=>u});var a=r(6540),c=r(6300),t=r(1812),s=r(4848);function u(e){let{dosage:n,config:r}=e;const[u,i]=(0,a.useState)(""),[o,l]=(0,a.useState)(r?.language||"en"),[f,d]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const e=await c.A.build(r);d(e)}()}),[r]),(0,a.useEffect)((()=>{!async function(){if(f){const e=f.fromDosageToText(n);i(e)}}()}),[n,f]);return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{style:{display:"flex"},children:[(0,s.jsxs)("select",{value:o,onChange:e=>l(e.target.value),style:{marginRight:"10px"},children:[(0,s.jsx)("option",{value:"en",children:"English"}),(0,s.jsx)("option",{value:"fr",children:"French"}),(0,s.jsx)("option",{value:"nl",children:"Dutch"}),(0,s.jsx)("option",{value:"de",children:"German"})]}),(0,s.jsx)("button",{onClick:async()=>{if(f){await f.changeLanguage(o);const e=f.fromDosageToText(n);i(e)}},children:"Confirm"})]}),(0,s.jsx)("div",{style:{marginTop:"10px"},children:(0,s.jsx)(t.default,{language:"markup",children:(y=u,y.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var y}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4222],{3416:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>y,contentTitle:()=>f,default:()=>p,frontMatter:()=>l,metadata:()=>d,toc:()=>x});var a=r(4848),c=r(8453),t=r(1812);const s=JSON.parse('{"timing":{"repeat":{"frequency":1,"frequencyMax":3}}}');var u=r(4865),i=r(9365),o=r(816);const l={description:"frequency and frequencyMax",title:"\ud83d\udd01 frequency and frequencyMax"},f=void 0,d={id:"specs/frequencyFrequencyMax/frequency_and_frequencyMax",title:"\ud83d\udd01 frequency and frequencyMax",description:"frequency and frequencyMax",source:"@site/docs/specs/frequencyFrequencyMax/frequency_and_frequencyMax.mdx",sourceDirName:"specs/frequencyFrequencyMax",slug:"/specs/frequencyFrequencyMax/frequency_and_frequencyMax",permalink:"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_and_frequencyMax",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/frequencyFrequencyMax/frequency_and_frequencyMax.mdx",tags:[],version:"current",frontMatter:{description:"frequency and frequencyMax",title:"\ud83d\udd01 frequency and frequencyMax"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udd01 frequencyMax",permalink:"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequencyMax_only"},next:{title:"\ud83d\udd01 frequency",permalink:"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_only"}},y={},x=[];function q(e){return(0,a.jsxs)(u.A,{children:[(0,a.jsx)(i.A,{value:"text",label:"Human readable text",default:!0,children:(0,a.jsx)(o.A,{dosage:s})}),(0,a.jsx)(i.A,{value:"json",label:"Dosage",children:(0,a.jsx)(t.default,{language:"json",children:JSON.stringify(s,null,2)})})]})}function p(e={}){const{wrapper:n}={...(0,c.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(q,{...e})}):q()}},816:(e,n,r)=>{r.d(n,{A:()=>u});var a=r(6540),c=r(6300),t=r(1812),s=r(4848);function u(e){let{dosage:n,config:r,i18nConfig:u}=e;const[i,o]=(0,a.useState)(""),[l,f]=(0,a.useState)(r?.language||"en"),[d,y]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const e=await c.A.build(r,u);y(e)}()}),[r]),(0,a.useEffect)((()=>{!async function(){if(d){const e=d.fromDosageToText(n);o(e)}}()}),[n,d]);return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{style:{display:"flex"},children:[(0,s.jsxs)("select",{value:l,onChange:e=>f(e.target.value),style:{marginRight:"10px"},children:[(0,s.jsx)("option",{value:"en",children:"English"}),(0,s.jsx)("option",{value:"fr",children:"French"}),(0,s.jsx)("option",{value:"nl",children:"Dutch"}),(0,s.jsx)("option",{value:"de",children:"German"})]}),(0,s.jsx)("button",{onClick:async()=>{if(d){await d.changeLanguage(l);const e=d.fromDosageToText(n);o(e)}},children:"Confirm"})]}),(0,s.jsx)("div",{style:{marginTop:"10px"},children:(0,s.jsx)(t.default,{language:"markup",children:(x=i,x.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var x}}}]); \ No newline at end of file diff --git a/assets/js/9caecde7.7706ba74.js b/assets/js/9caecde7.e51a04c0.js similarity index 73% rename from assets/js/9caecde7.7706ba74.js rename to assets/js/9caecde7.e51a04c0.js index e50cc978..209fa9dd 100644 --- a/assets/js/9caecde7.7706ba74.js +++ b/assets/js/9caecde7.e51a04c0.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[980],{3293:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>y,frontMatter:()=>c,metadata:()=>m,toc:()=>g});var i=o(4848),s=o(8453),n=o(1812);const r=JSON.parse('[{"sequence":1,"text":"Take 4 tablets daily for 7 days starting January 16, 2015","timing":{"repeat":{"boundsPeriod":{"start":"2015-01-16","end":"2015-01-22"},"frequency":1,"period":1,"periodUnit":"d"}},"route":{"coding":[{"system":"http://snomed.info/sct","code":"26643006","display":"Oral Route"}]},"method":{"coding":[{"system":"http://snomed.info/sct","code":"421521009","display":"Swallow - dosing instruction imperative (qualifier value)"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":4,"unit":"TAB","system":"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","code":"TAB"}}]},{"sequence":2,"text":"Take 2 tablets daily for 7 days starting January 23, 2015","timing":{"repeat":{"boundsPeriod":{"start":"2015-01-23","end":"2015-01-29"},"frequency":1,"period":1,"periodUnit":"d"}},"route":{"coding":[{"system":"http://snomed.info/sct","code":"26643006","display":"Oral Route"}]},"method":{"coding":[{"system":"http://snomed.info/sct","code":"421521009","display":"Swallow - dosing instruction imperative (qualifier value)"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":2,"unit":"TAB","system":"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","code":"TAB"}}]},{"sequence":3,"text":"Take 1 tablets daily for 7 days starting January 30, 2015","timing":{"repeat":{"boundsPeriod":{"start":"2015-01-30","end":"2015-02-05"},"frequency":1,"period":1,"periodUnit":"d"}},"route":{"coding":[{"system":"http://snomed.info/sct","code":"26643006","display":"Oral Route"}]},"method":{"coding":[{"system":"http://snomed.info/sct","code":"421521009","display":"Swallow - dosing instruction imperative (qualifier value)"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":1,"unit":"TAB","system":"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","code":"TAB"}}]}]');var d=o(4865),a=o(9365),l=o(8264);const c={description:"Order for Tapering Dose - Prednisone - active with note and multiple DosageInstructions with boundsPeriod",title:"medrx0303"},u=void 0,m={id:"examples/medicationrequest/medrx0303",title:"medrx0303",description:"Order for Tapering Dose - Prednisone - active with note and multiple DosageInstructions with boundsPeriod",source:"@site/docs/examples/medicationrequest/medrx0303.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx0303",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0303",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx0303.mdx",tags:[],version:"current",frontMatter:{description:"Order for Tapering Dose - Prednisone - active with note and multiple DosageInstructions with boundsPeriod",title:"medrx0303"},sidebar:"tutorialSidebar",previous:{title:"medrx0302",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0302"},next:{title:"medrx0305",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0305"}},p={},g=[];function h(e){const t={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.admonition,{type:"info",children:(0,i.jsxs)(t.p,{children:["Source: ",(0,i.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequest0303.html",children:"HL7"}),' - "Order for Tapering Dose - Prednisone - active with note and multiple DosageInstructions with boundsPeriod"']})}),"\n",(0,i.jsxs)(d.A,{children:[(0,i.jsx)(a.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(l.A,{dosages:r,config:{}})}),(0,i.jsx)(a.A,{value:"json",label:"Dosage",children:(0,i.jsx)(n.default,{language:"json",children:JSON.stringify(r,null,2)})})]})]})}function y(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},8264:(e,t,o)=>{o.d(t,{A:()=>d});var i=o(6540),s=o(6300),n=o(1812),r=o(4848);function d(e){let{dosages:t,config:o}=e;const[d,a]=(0,i.useState)(""),[l,c]=(0,i.useState)(o?.language||"en"),[u,m]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await s.A.build(o);m(e)}()}),[o]),(0,i.useEffect)((()=>{!async function(){if(u){const e=u.fromMultipleDosageToText(t);a(e)}}()}),[t,u]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:l,onChange:e=>c(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(l);const e=u.fromMultipleDosageToText(t);a(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(n.default,{language:"markup",children:(p=d,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var p}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[980],{3293:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>y,frontMatter:()=>c,metadata:()=>m,toc:()=>g});var i=o(4848),n=o(8453),s=o(1812);const r=JSON.parse('[{"sequence":1,"text":"Take 4 tablets daily for 7 days starting January 16, 2015","timing":{"repeat":{"boundsPeriod":{"start":"2015-01-16","end":"2015-01-22"},"frequency":1,"period":1,"periodUnit":"d"}},"route":{"coding":[{"system":"http://snomed.info/sct","code":"26643006","display":"Oral Route"}]},"method":{"coding":[{"system":"http://snomed.info/sct","code":"421521009","display":"Swallow - dosing instruction imperative (qualifier value)"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":4,"unit":"TAB","system":"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","code":"TAB"}}]},{"sequence":2,"text":"Take 2 tablets daily for 7 days starting January 23, 2015","timing":{"repeat":{"boundsPeriod":{"start":"2015-01-23","end":"2015-01-29"},"frequency":1,"period":1,"periodUnit":"d"}},"route":{"coding":[{"system":"http://snomed.info/sct","code":"26643006","display":"Oral Route"}]},"method":{"coding":[{"system":"http://snomed.info/sct","code":"421521009","display":"Swallow - dosing instruction imperative (qualifier value)"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":2,"unit":"TAB","system":"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","code":"TAB"}}]},{"sequence":3,"text":"Take 1 tablets daily for 7 days starting January 30, 2015","timing":{"repeat":{"boundsPeriod":{"start":"2015-01-30","end":"2015-02-05"},"frequency":1,"period":1,"periodUnit":"d"}},"route":{"coding":[{"system":"http://snomed.info/sct","code":"26643006","display":"Oral Route"}]},"method":{"coding":[{"system":"http://snomed.info/sct","code":"421521009","display":"Swallow - dosing instruction imperative (qualifier value)"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":1,"unit":"TAB","system":"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","code":"TAB"}}]}]');var d=o(4865),a=o(9365),l=o(8264);const c={description:"Order for Tapering Dose - Prednisone - active with note and multiple DosageInstructions with boundsPeriod",title:"medrx0303"},u=void 0,m={id:"examples/medicationrequest/medrx0303",title:"medrx0303",description:"Order for Tapering Dose - Prednisone - active with note and multiple DosageInstructions with boundsPeriod",source:"@site/docs/examples/medicationrequest/medrx0303.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx0303",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0303",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx0303.mdx",tags:[],version:"current",frontMatter:{description:"Order for Tapering Dose - Prednisone - active with note and multiple DosageInstructions with boundsPeriod",title:"medrx0303"},sidebar:"tutorialSidebar",previous:{title:"medrx0302",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0302"},next:{title:"medrx0305",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0305"}},p={},g=[];function h(e){const t={a:"a",admonition:"admonition",p:"p",...(0,n.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.admonition,{type:"info",children:(0,i.jsxs)(t.p,{children:["Source: ",(0,i.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequest0303.html",children:"HL7"}),' - "Order for Tapering Dose - Prednisone - active with note and multiple DosageInstructions with boundsPeriod"']})}),"\n",(0,i.jsxs)(d.A,{children:[(0,i.jsx)(a.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(l.A,{dosages:r,config:{}})}),(0,i.jsx)(a.A,{value:"json",label:"Dosage",children:(0,i.jsx)(s.default,{language:"json",children:JSON.stringify(r,null,2)})})]})]})}function y(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},8264:(e,t,o)=>{o.d(t,{A:()=>d});var i=o(6540),n=o(6300),s=o(1812),r=o(4848);function d(e){let{dosages:t,config:o,i18nConfig:d}=e;const[a,l]=(0,i.useState)(""),[c,u]=(0,i.useState)(o?.language||"en"),[m,p]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await n.A.build(o,d);p(e)}()}),[o]),(0,i.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);l(e)}}()}),[t,m]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:c,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(m){await m.changeLanguage(c);const e=m.fromMultipleDosageToText(t);l(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(s.default,{language:"markup",children:(g=a,g.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/a5e5ec5a.545468d6.js b/assets/js/a5e5ec5a.545468d6.js new file mode 100644 index 00000000..bf1c69ea --- /dev/null +++ b/assets/js/a5e5ec5a.545468d6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3253],{4861:(e,t,a)=>{a.r(t),a.d(t,{assets:()=>g,contentTitle:()=>u,default:()=>h,frontMatter:()=>c,metadata:()=>p,toc:()=>m});var o=a(4848),r=a(8453),s=a(1812),n=a(9763),i=a(4865),l=a(9365),d=a(8264);const c={description:'Override separator between each part of "Dosage"',title:"\u2796 displaySeparator"},u=void 0,p={id:"custom/displaySeparator",title:"\u2796 displaySeparator",description:'Override separator between each part of "Dosage"',source:"@site/docs/custom/displaySeparator.mdx",sourceDirName:"custom",slug:"/custom/displaySeparator",permalink:"/fhir-dosage-utils/docs/custom/displaySeparator",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/custom/displaySeparator.mdx",tags:[],version:"current",frontMatter:{description:'Override separator between each part of "Dosage"',title:"\u2796 displaySeparator"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udd22 displayOrder",permalink:"/fhir-dosage-utils/docs/custom/displayOrder"},next:{title:"\ud83d\udcbb fromCodeableConceptToString",permalink:"/fhir-dosage-utils/docs/custom/fromCodeableConceptToString"}},g={},m=[];function f(e){const t={code:"code",pre:"pre",...(0,r.R)(),...e.components};return(0,o.jsxs)(i.A,{children:[(0,o.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(d.A,{dosages:n,config:{displaySeparator:" | "}})}),(0,o.jsx)(l.A,{value:"json",label:"Dosage",children:(0,o.jsx)(s.default,{language:"json",children:JSON.stringify(n,null,2)})}),(0,o.jsx)(l.A,{value:"config",label:"Configuration",children:(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-js",children:'{\n displaySeparator: " | "\n}\n'})})})]})}function h(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(f,{...e})}):f(e)}},8264:(e,t,a)=>{a.d(t,{A:()=>i});var o=a(6540),r=a(6300),s=a(1812),n=a(4848);function i(e){let{dosages:t,config:a,i18nConfig:i}=e;const[l,d]=(0,o.useState)(""),[c,u]=(0,o.useState)(a?.language||"en"),[p,g]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await r.A.build(a,i);g(e)}()}),[a]),(0,o.useEffect)((()=>{!async function(){if(p){const e=p.fromMultipleDosageToText(t);d(e)}}()}),[t,p]);return(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{style:{display:"flex"},children:[(0,n.jsxs)("select",{value:c,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,n.jsx)("option",{value:"en",children:"English"}),(0,n.jsx)("option",{value:"fr",children:"French"}),(0,n.jsx)("option",{value:"nl",children:"Dutch"}),(0,n.jsx)("option",{value:"de",children:"German"})]}),(0,n.jsx)("button",{onClick:async()=>{if(p){await p.changeLanguage(c);const e=p.fromMultipleDosageToText(t);d(e)}},children:"Confirm"})]}),(0,n.jsx)("div",{style:{marginTop:"10px"},children:(0,n.jsx)(s.default,{language:"markup",children:(m=l,m.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var m}},9763:e=>{e.exports=JSON.parse('[{"sequence":1,"text":"Administer in 100cc NS as follows: First treatment infuse over 90 minutes, if no reaction then second treatment infuse over 60 minutes, if no reaction then on third and following treatments give over 30 minutes.","timing":{"event":["2023-01-18T00:00:00.000Z"]},"route":{"coding":[{"system":"http://flatiron.com/CodeSystem/Route","code":"IV"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":5,"unit":"mg/kg"}},{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"calculated","display":"Calculated"}]},"doseQuantity":{"value":340,"unit":"mg"}}]}]')}}]); \ No newline at end of file diff --git a/assets/js/aa77b6a8.e147833a.js b/assets/js/aa77b6a8.d613690d.js similarity index 60% rename from assets/js/aa77b6a8.e147833a.js rename to assets/js/aa77b6a8.d613690d.js index 58377bd8..47df6f64 100644 --- a/assets/js/aa77b6a8.e147833a.js +++ b/assets/js/aa77b6a8.d613690d.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4048],{8585:(t,e,n)=>{n.r(e),n.d(e,{assets:()=>f,contentTitle:()=>d,default:()=>x,frontMatter:()=>l,metadata:()=>p,toc:()=>g});var i=n(4848),s=n(8453),a=n(1812);const r=JSON.parse('{"patientInstruction":"patientInstruction"}');var o=n(4865),c=n(9365),u=n(816);const l={description:"patientInstruction",title:"\ud83d\udccb patientInstruction"},d=void 0,p={id:"specs/patientInstruction/patientInstruction",title:"\ud83d\udccb patientInstruction",description:"patientInstruction",source:"@site/docs/specs/patientInstruction/patientInstruction.mdx",sourceDirName:"specs/patientInstruction",slug:"/specs/patientInstruction/",permalink:"/fhir-dosage-utils/docs/specs/patientInstruction/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/patientInstruction/patientInstruction.mdx",tags:[],version:"current",frontMatter:{description:"patientInstruction",title:"\ud83d\udccb patientInstruction"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udccb patientInstruction",permalink:"/fhir-dosage-utils/docs/category/-patientinstruction"},next:{title:"\u267b\ufe0f periodPeriodMax",permalink:"/fhir-dosage-utils/docs/category/\ufe0f-periodperiodmax"}},f={},g=[];function h(t){return(0,i.jsxs)(o.A,{children:[(0,i.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(u.A,{dosage:r})}),(0,i.jsx)(c.A,{value:"json",label:"Dosage",children:(0,i.jsx)(a.default,{language:"json",children:JSON.stringify(r,null,2)})})]})}function x(t={}){const{wrapper:e}={...(0,s.R)(),...t.components};return e?(0,i.jsx)(e,{...t,children:(0,i.jsx)(h,{...t})}):h()}},816:(t,e,n)=>{n.d(e,{A:()=>o});var i=n(6540),s=n(6300),a=n(1812),r=n(4848);function o(t){let{dosage:e,config:n}=t;const[o,c]=(0,i.useState)(""),[u,l]=(0,i.useState)(n?.language||"en"),[d,p]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const t=await s.A.build(n);p(t)}()}),[n]),(0,i.useEffect)((()=>{!async function(){if(d){const t=d.fromDosageToText(e);c(t)}}()}),[e,d]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:u,onChange:t=>l(t.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(d){await d.changeLanguage(u);const t=d.fromDosageToText(e);c(t)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(a.default,{language:"markup",children:(f=o,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(e)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(t,e){return String.fromCharCode(parseInt(e,16))})))})})]});var f}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4048],{8585:(t,e,n)=>{n.r(e),n.d(e,{assets:()=>f,contentTitle:()=>d,default:()=>x,frontMatter:()=>l,metadata:()=>p,toc:()=>g});var i=n(4848),s=n(8453),a=n(1812);const r=JSON.parse('{"patientInstruction":"patientInstruction"}');var o=n(4865),c=n(9365),u=n(816);const l={description:"patientInstruction",title:"\ud83d\udccb patientInstruction"},d=void 0,p={id:"specs/patientInstruction/patientInstruction",title:"\ud83d\udccb patientInstruction",description:"patientInstruction",source:"@site/docs/specs/patientInstruction/patientInstruction.mdx",sourceDirName:"specs/patientInstruction",slug:"/specs/patientInstruction/",permalink:"/fhir-dosage-utils/docs/specs/patientInstruction/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/patientInstruction/patientInstruction.mdx",tags:[],version:"current",frontMatter:{description:"patientInstruction",title:"\ud83d\udccb patientInstruction"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udccb patientInstruction",permalink:"/fhir-dosage-utils/docs/category/-patientinstruction"},next:{title:"\u267b\ufe0f periodPeriodMax",permalink:"/fhir-dosage-utils/docs/category/\ufe0f-periodperiodmax"}},f={},g=[];function h(t){return(0,i.jsxs)(o.A,{children:[(0,i.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(u.A,{dosage:r})}),(0,i.jsx)(c.A,{value:"json",label:"Dosage",children:(0,i.jsx)(a.default,{language:"json",children:JSON.stringify(r,null,2)})})]})}function x(t={}){const{wrapper:e}={...(0,s.R)(),...t.components};return e?(0,i.jsx)(e,{...t,children:(0,i.jsx)(h,{...t})}):h()}},816:(t,e,n)=>{n.d(e,{A:()=>o});var i=n(6540),s=n(6300),a=n(1812),r=n(4848);function o(t){let{dosage:e,config:n,i18nConfig:o}=t;const[c,u]=(0,i.useState)(""),[l,d]=(0,i.useState)(n?.language||"en"),[p,f]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const t=await s.A.build(n,o);f(t)}()}),[n]),(0,i.useEffect)((()=>{!async function(){if(p){const t=p.fromDosageToText(e);u(t)}}()}),[e,p]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:l,onChange:t=>d(t.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(p){await p.changeLanguage(l);const t=p.fromDosageToText(e);u(t)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(a.default,{language:"markup",children:(g=c,g.replace(/"/g,'"').replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(e)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(t,e){return String.fromCharCode(parseInt(e,16))})))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/aa8d6d0b.3e13e67b.js b/assets/js/aa8d6d0b.3e13e67b.js deleted file mode 100644 index 933d744b..00000000 --- a/assets/js/aa8d6d0b.3e13e67b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3281],{5364:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>i,contentTitle:()=>l,default:()=>h,frontMatter:()=>a,metadata:()=>n,toc:()=>c});var o=s(4848),r=s(8453);const a={slug:"welcome",title:"Welcome",authors:["jy95"],tags:["welcome"]},l=void 0,n={permalink:"/fhir-dosage-utils/blog/welcome",editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2024-03-29-welcome.mdx",source:"@site/blog/2024-03-29-welcome.mdx",title:"Welcome",description:"Welcome to fhir-dosage-utils.",date:"2024-03-29T00:00:00.000Z",formattedDate:"March 29, 2024",tags:[{label:"welcome",permalink:"/fhir-dosage-utils/blog/tags/welcome"}],readingTime:.23,hasTruncateMarker:!1,authors:[{name:"Jacques Yakoub",title:"Creator",url:"https://github.com/jy95",imageURL:"https://avatars.githubusercontent.com/u/9306961?v=4",key:"jy95"}],frontMatter:{slug:"welcome",title:"Welcome",authors:["jy95"],tags:["welcome"]},unlisted:!1},i={authorsImageUrls:[void 0]},c=[];function d(e){const t={a:"a",br:"br",code:"code",li:"li",p:"p",strong:"strong",ul:"ul",...(0,r.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(t.p,{children:["Welcome to ",(0,o.jsx)(t.code,{children:"fhir-dosage-utils"}),".",(0,o.jsx)(t.br,{}),"\n","Key Features:"]}),"\n",(0,o.jsxs)(t.ul,{children:["\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"Compatible:"})," Works with ",(0,o.jsx)(t.a,{href:"https://hl7.org/fhir/R4/dosage.html",children:"Dosage R4"})," and ",(0,o.jsx)(t.a,{href:"https://hl7.org/fhir/R5/dosage.html",children:"Dosage R5"})]}),"\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"Extensibility"})," Easily adaptable and extendable to accommodate your requirements"]}),"\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"Internationalization"})," Seamlessly extendable to other languages with ",(0,o.jsx)(t.code,{children:"i18next"})]}),"\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"Integration Ease"})," Works effortlessly in various environments like the browser, Node.js, ..."]}),"\n"]})]})}function h(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}}}]); \ No newline at end of file diff --git a/assets/js/aa8d6d0b.f0aa3964.js b/assets/js/aa8d6d0b.f0aa3964.js new file mode 100644 index 00000000..d256c893 --- /dev/null +++ b/assets/js/aa8d6d0b.f0aa3964.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3281],{5364:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>i,contentTitle:()=>n,default:()=>h,frontMatter:()=>a,metadata:()=>l,toc:()=>c});var o=s(4848),r=s(8453);const a={slug:"welcome",title:"Welcome",authors:["jy95"],tags:["welcome"]},n=void 0,l={permalink:"/fhir-dosage-utils/blog/welcome",editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2024-03-29-welcome.mdx",source:"@site/blog/2024-03-29-welcome.mdx",title:"Welcome",description:"Welcome to fhir-dosage-utils.",date:"2024-03-29T00:00:00.000Z",formattedDate:"March 29, 2024",tags:[{label:"welcome",permalink:"/fhir-dosage-utils/blog/tags/welcome"}],readingTime:.23,hasTruncateMarker:!1,authors:[{name:"Jacques Yakoub",title:"Creator",url:"https://github.com/jy95",imageURL:"https://avatars.githubusercontent.com/u/9306961?v=4",key:"jy95"}],frontMatter:{slug:"welcome",title:"Welcome",authors:["jy95"],tags:["welcome"]},unlisted:!1,prevItem:{title:"Customizing i18next Configuration in Our Library",permalink:"/fhir-dosage-utils/blog/empowerment"}},i={authorsImageUrls:[void 0]},c=[];function d(e){const t={a:"a",br:"br",code:"code",li:"li",p:"p",strong:"strong",ul:"ul",...(0,r.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(t.p,{children:["Welcome to ",(0,o.jsx)(t.code,{children:"fhir-dosage-utils"}),".",(0,o.jsx)(t.br,{}),"\n","Key Features:"]}),"\n",(0,o.jsxs)(t.ul,{children:["\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"Compatible:"})," Works with ",(0,o.jsx)(t.a,{href:"https://hl7.org/fhir/R4/dosage.html",children:"Dosage R4"})," and ",(0,o.jsx)(t.a,{href:"https://hl7.org/fhir/R5/dosage.html",children:"Dosage R5"})]}),"\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"Extensibility"})," Easily adaptable and extendable to accommodate your requirements"]}),"\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"Internationalization"})," Seamlessly extendable to other languages with ",(0,o.jsx)(t.code,{children:"i18next"})]}),"\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"Integration Ease"})," Works effortlessly in various environments like the browser, Node.js, ..."]}),"\n"]})]})}function h(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}}}]); \ No newline at end of file diff --git a/assets/js/ab10b176.0f3319b5.js b/assets/js/ab10b176.0f3319b5.js new file mode 100644 index 00000000..e56e504c --- /dev/null +++ b/assets/js/ab10b176.0f3319b5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3421],{909:(e,i,r)=>{r.r(i),r.d(i,{assets:()=>x,contentTitle:()=>p,default:()=>h,frontMatter:()=>l,metadata:()=>u,toc:()=>f});var o=r(4848),a=r(8453),t=r(1812);const n=JSON.parse('{"timing":{"repeat":{"period":1,"periodMax":3,"periodUnit":"d"}}}');var d=r(4865),s=r(9365),c=r(816);const l={description:"period & periodMax",title:"\u267b\ufe0f period & periodMax"},p=void 0,u={id:"specs/periodPeriodMax/period_and_periodMax",title:"\u267b\ufe0f period & periodMax",description:"period & periodMax",source:"@site/docs/specs/periodPeriodMax/period_and_periodMax.mdx",sourceDirName:"specs/periodPeriodMax",slug:"/specs/periodPeriodMax/period_and_periodMax",permalink:"/fhir-dosage-utils/docs/specs/periodPeriodMax/period_and_periodMax",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/periodPeriodMax/period_and_periodMax.mdx",tags:[],version:"current",frontMatter:{description:"period & periodMax",title:"\u267b\ufe0f period & periodMax"},sidebar:"tutorialSidebar",previous:{title:"\u267b\ufe0f periodMax (only)",permalink:"/fhir-dosage-utils/docs/specs/periodPeriodMax/periodMax_only"},next:{title:"\u267b\ufe0f period (only)",permalink:"/fhir-dosage-utils/docs/specs/periodPeriodMax/period_only"}},x={},f=[];function g(e){return(0,o.jsxs)(d.A,{children:[(0,o.jsx)(s.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(c.A,{dosage:n})}),(0,o.jsx)(s.A,{value:"json",label:"Dosage",children:(0,o.jsx)(t.default,{language:"json",children:JSON.stringify(n,null,2)})})]})}function h(e={}){const{wrapper:i}={...(0,a.R)(),...e.components};return i?(0,o.jsx)(i,{...e,children:(0,o.jsx)(g,{...e})}):g()}},816:(e,i,r)=>{r.d(i,{A:()=>d});var o=r(6540),a=r(6300),t=r(1812),n=r(4848);function d(e){let{dosage:i,config:r,i18nConfig:d}=e;const[s,c]=(0,o.useState)(""),[l,p]=(0,o.useState)(r?.language||"en"),[u,x]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await a.A.build(r,d);x(e)}()}),[r]),(0,o.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(i);c(e)}}()}),[i,u]);return(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{style:{display:"flex"},children:[(0,n.jsxs)("select",{value:l,onChange:e=>p(e.target.value),style:{marginRight:"10px"},children:[(0,n.jsx)("option",{value:"en",children:"English"}),(0,n.jsx)("option",{value:"fr",children:"French"}),(0,n.jsx)("option",{value:"nl",children:"Dutch"}),(0,n.jsx)("option",{value:"de",children:"German"})]}),(0,n.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(l);const e=u.fromDosageToText(i);c(e)}},children:"Confirm"})]}),(0,n.jsx)("div",{style:{marginTop:"10px"},children:(0,n.jsx)(t.default,{language:"markup",children:(f=s,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,i){return String.fromCharCode(i)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,i){return String.fromCharCode(parseInt(i,16))})))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/ab10b176.6e445c5a.js b/assets/js/ab10b176.6e445c5a.js deleted file mode 100644 index 8917d6a3..00000000 --- a/assets/js/ab10b176.6e445c5a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3421],{909:(e,r,i)=>{i.r(r),i.d(r,{assets:()=>x,contentTitle:()=>p,default:()=>h,frontMatter:()=>l,metadata:()=>u,toc:()=>f});var o=i(4848),a=i(8453),t=i(1812);const d=JSON.parse('{"timing":{"repeat":{"period":1,"periodMax":3,"periodUnit":"d"}}}');var n=i(4865),s=i(9365),c=i(816);const l={description:"period & periodMax",title:"\u267b\ufe0f period & periodMax"},p=void 0,u={id:"specs/periodPeriodMax/period_and_periodMax",title:"\u267b\ufe0f period & periodMax",description:"period & periodMax",source:"@site/docs/specs/periodPeriodMax/period_and_periodMax.mdx",sourceDirName:"specs/periodPeriodMax",slug:"/specs/periodPeriodMax/period_and_periodMax",permalink:"/fhir-dosage-utils/docs/specs/periodPeriodMax/period_and_periodMax",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/periodPeriodMax/period_and_periodMax.mdx",tags:[],version:"current",frontMatter:{description:"period & periodMax",title:"\u267b\ufe0f period & periodMax"},sidebar:"tutorialSidebar",previous:{title:"\u267b\ufe0f periodMax (only)",permalink:"/fhir-dosage-utils/docs/specs/periodPeriodMax/periodMax_only"},next:{title:"\u267b\ufe0f period (only)",permalink:"/fhir-dosage-utils/docs/specs/periodPeriodMax/period_only"}},x={},f=[];function g(e){return(0,o.jsxs)(n.A,{children:[(0,o.jsx)(s.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(c.A,{dosage:d})}),(0,o.jsx)(s.A,{value:"json",label:"Dosage",children:(0,o.jsx)(t.default,{language:"json",children:JSON.stringify(d,null,2)})})]})}function h(e={}){const{wrapper:r}={...(0,a.R)(),...e.components};return r?(0,o.jsx)(r,{...e,children:(0,o.jsx)(g,{...e})}):g()}},816:(e,r,i)=>{i.d(r,{A:()=>n});var o=i(6540),a=i(6300),t=i(1812),d=i(4848);function n(e){let{dosage:r,config:i}=e;const[n,s]=(0,o.useState)(""),[c,l]=(0,o.useState)(i?.language||"en"),[p,u]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await a.A.build(i);u(e)}()}),[i]),(0,o.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(r);s(e)}}()}),[r,p]);return(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{style:{display:"flex"},children:[(0,d.jsxs)("select",{value:c,onChange:e=>l(e.target.value),style:{marginRight:"10px"},children:[(0,d.jsx)("option",{value:"en",children:"English"}),(0,d.jsx)("option",{value:"fr",children:"French"}),(0,d.jsx)("option",{value:"nl",children:"Dutch"}),(0,d.jsx)("option",{value:"de",children:"German"})]}),(0,d.jsx)("button",{onClick:async()=>{if(p){await p.changeLanguage(c);const e=p.fromDosageToText(r);s(e)}},children:"Confirm"})]}),(0,d.jsx)("div",{style:{marginTop:"10px"},children:(0,d.jsx)(t.default,{language:"markup",children:(x=n,x.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,r){return String.fromCharCode(r)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,r){return String.fromCharCode(parseInt(r,16))})))})})]});var x}}}]); \ No newline at end of file diff --git a/assets/js/ad90b1c0.d6c98dd7.js b/assets/js/ad90b1c0.bdab94b2.js similarity index 63% rename from assets/js/ad90b1c0.d6c98dd7.js rename to assets/js/ad90b1c0.bdab94b2.js index c929197a..16f6300b 100644 --- a/assets/js/ad90b1c0.d6c98dd7.js +++ b/assets/js/ad90b1c0.bdab94b2.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[513],{2223:(t,e,a)=>{a.r(e),a.d(e,{assets:()=>f,contentTitle:()=>d,default:()=>x,frontMatter:()=>l,metadata:()=>p,toc:()=>g});var n=a(4848),i=a(8453),r=a(1812);const s=JSON.parse('{"doseAndRate":[{"rateQuantity":{"value":3,"unit":"pills"}}]}');var o=a(4865),u=a(9365),c=a(816);const l={description:"rateQuantity",title:"\u23f2\ufe0f rateQuantity"},d=void 0,p={id:"specs/rateQuantity/rateQuantity",title:"\u23f2\ufe0f rateQuantity",description:"rateQuantity",source:"@site/docs/specs/rateQuantity/rateQuantity.mdx",sourceDirName:"specs/rateQuantity",slug:"/specs/rateQuantity/",permalink:"/fhir-dosage-utils/docs/specs/rateQuantity/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/rateQuantity/rateQuantity.mdx",tags:[],version:"current",frontMatter:{description:"rateQuantity",title:"\u23f2\ufe0f rateQuantity"},sidebar:"tutorialSidebar",previous:{title:"\u23f2\ufe0f rateQuantity",permalink:"/fhir-dosage-utils/docs/category/\ufe0f-ratequantity"},next:{title:"\u2696\ufe0f rateRange",permalink:"/fhir-dosage-utils/docs/category/\ufe0f-raterange"}},f={},g=[];function h(t){const e={a:"a",admonition:"admonition",p:"p",...(0,i.R)(),...t.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(o.A,{children:[(0,n.jsx)(u.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(c.A,{dosage:s})}),(0,n.jsx)(u.A,{value:"json",label:"Dosage",children:(0,n.jsx)(r.default,{language:"json",children:JSON.stringify(s,null,2)})})]}),"\n",(0,n.jsx)(e.admonition,{type:"tip",children:(0,n.jsxs)(e.p,{children:["Don't forget you can use ",(0,n.jsx)(e.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function x(t={}){const{wrapper:e}={...(0,i.R)(),...t.components};return e?(0,n.jsx)(e,{...t,children:(0,n.jsx)(h,{...t})}):h(t)}},816:(t,e,a)=>{a.d(e,{A:()=>o});var n=a(6540),i=a(6300),r=a(1812),s=a(4848);function o(t){let{dosage:e,config:a}=t;const[o,u]=(0,n.useState)(""),[c,l]=(0,n.useState)(a?.language||"en"),[d,p]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const t=await i.A.build(a);p(t)}()}),[a]),(0,n.useEffect)((()=>{!async function(){if(d){const t=d.fromDosageToText(e);u(t)}}()}),[e,d]);return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{style:{display:"flex"},children:[(0,s.jsxs)("select",{value:c,onChange:t=>l(t.target.value),style:{marginRight:"10px"},children:[(0,s.jsx)("option",{value:"en",children:"English"}),(0,s.jsx)("option",{value:"fr",children:"French"}),(0,s.jsx)("option",{value:"nl",children:"Dutch"}),(0,s.jsx)("option",{value:"de",children:"German"})]}),(0,s.jsx)("button",{onClick:async()=>{if(d){await d.changeLanguage(c);const t=d.fromDosageToText(e);u(t)}},children:"Confirm"})]}),(0,s.jsx)("div",{style:{marginTop:"10px"},children:(0,s.jsx)(r.default,{language:"markup",children:(f=o,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(e)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(t,e){return String.fromCharCode(parseInt(e,16))})))})})]});var f}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[513],{2223:(t,e,a)=>{a.r(e),a.d(e,{assets:()=>f,contentTitle:()=>d,default:()=>x,frontMatter:()=>l,metadata:()=>p,toc:()=>g});var n=a(4848),i=a(8453),r=a(1812);const s=JSON.parse('{"doseAndRate":[{"rateQuantity":{"value":3,"unit":"pills"}}]}');var o=a(4865),u=a(9365),c=a(816);const l={description:"rateQuantity",title:"\u23f2\ufe0f rateQuantity"},d=void 0,p={id:"specs/rateQuantity/rateQuantity",title:"\u23f2\ufe0f rateQuantity",description:"rateQuantity",source:"@site/docs/specs/rateQuantity/rateQuantity.mdx",sourceDirName:"specs/rateQuantity",slug:"/specs/rateQuantity/",permalink:"/fhir-dosage-utils/docs/specs/rateQuantity/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/rateQuantity/rateQuantity.mdx",tags:[],version:"current",frontMatter:{description:"rateQuantity",title:"\u23f2\ufe0f rateQuantity"},sidebar:"tutorialSidebar",previous:{title:"\u23f2\ufe0f rateQuantity",permalink:"/fhir-dosage-utils/docs/category/\ufe0f-ratequantity"},next:{title:"\u2696\ufe0f rateRange",permalink:"/fhir-dosage-utils/docs/category/\ufe0f-raterange"}},f={},g=[];function h(t){const e={a:"a",admonition:"admonition",p:"p",...(0,i.R)(),...t.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(o.A,{children:[(0,n.jsx)(u.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(c.A,{dosage:s})}),(0,n.jsx)(u.A,{value:"json",label:"Dosage",children:(0,n.jsx)(r.default,{language:"json",children:JSON.stringify(s,null,2)})})]}),"\n",(0,n.jsx)(e.admonition,{type:"tip",children:(0,n.jsxs)(e.p,{children:["Don't forget you can use ",(0,n.jsx)(e.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function x(t={}){const{wrapper:e}={...(0,i.R)(),...t.components};return e?(0,n.jsx)(e,{...t,children:(0,n.jsx)(h,{...t})}):h(t)}},816:(t,e,a)=>{a.d(e,{A:()=>o});var n=a(6540),i=a(6300),r=a(1812),s=a(4848);function o(t){let{dosage:e,config:a,i18nConfig:o}=t;const[u,c]=(0,n.useState)(""),[l,d]=(0,n.useState)(a?.language||"en"),[p,f]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const t=await i.A.build(a,o);f(t)}()}),[a]),(0,n.useEffect)((()=>{!async function(){if(p){const t=p.fromDosageToText(e);c(t)}}()}),[e,p]);return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{style:{display:"flex"},children:[(0,s.jsxs)("select",{value:l,onChange:t=>d(t.target.value),style:{marginRight:"10px"},children:[(0,s.jsx)("option",{value:"en",children:"English"}),(0,s.jsx)("option",{value:"fr",children:"French"}),(0,s.jsx)("option",{value:"nl",children:"Dutch"}),(0,s.jsx)("option",{value:"de",children:"German"})]}),(0,s.jsx)("button",{onClick:async()=>{if(p){await p.changeLanguage(l);const t=p.fromDosageToText(e);c(t)}},children:"Confirm"})]}),(0,s.jsx)("div",{style:{marginTop:"10px"},children:(0,s.jsx)(r.default,{language:"markup",children:(g=u,g.replace(/"/g,'"').replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(e)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(t,e){return String.fromCharCode(parseInt(e,16))})))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/afe92c27.71677dee.js b/assets/js/afe92c27.71677dee.js deleted file mode 100644 index 80e608da..00000000 --- a/assets/js/afe92c27.71677dee.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4088],{2390:(e,r,s)=>{s.r(r),s.d(r,{assets:()=>x,contentTitle:()=>u,default:()=>g,frontMatter:()=>l,metadata:()=>m,toc:()=>p});var t=s(4848),o=s(8453),a=s(1812);const n=JSON.parse('{"maxDosePerPeriod":{"numerator":{"value":3,"unit":"pills"},"denominator":{"value":5,"unit":"hours"}}}');var i=s(4865),d=s(9365),c=s(816);const l={description:"maxDosePerPeriod (R4)",title:"\u23f3 maxDosePerPeriod (R4)"},u=void 0,m={id:"specs/maxDosePerPeriod/r4",title:"\u23f3 maxDosePerPeriod (R4)",description:"maxDosePerPeriod (R4)",source:"@site/docs/specs/maxDosePerPeriod/r4.mdx",sourceDirName:"specs/maxDosePerPeriod",slug:"/specs/maxDosePerPeriod/r4",permalink:"/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r4",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/maxDosePerPeriod/r4.mdx",tags:[],version:"current",frontMatter:{description:"maxDosePerPeriod (R4)",title:"\u23f3 maxDosePerPeriod (R4)"},sidebar:"tutorialSidebar",previous:{title:"\u23f3 maxDosePerPeriod",permalink:"/fhir-dosage-utils/docs/category/-maxdoseperperiod"},next:{title:"\u23f3 maxDosePerPeriod (R5)",permalink:"/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r5"}},x={},p=[];function f(e){const r={a:"a",admonition:"admonition",p:"p",...(0,o.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(i.A,{children:[(0,t.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,t.jsx)(c.A,{dosage:n})}),(0,t.jsx)(d.A,{value:"json",label:"Dosage",children:(0,t.jsx)(a.default,{language:"json",children:JSON.stringify(n,null,2)})})]}),"\n",(0,t.jsx)(r.admonition,{type:"tip",children:(0,t.jsxs)(r.p,{children:["Don't forget you can use ",(0,t.jsx)(r.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function g(e={}){const{wrapper:r}={...(0,o.R)(),...e.components};return r?(0,t.jsx)(r,{...e,children:(0,t.jsx)(f,{...e})}):f(e)}},816:(e,r,s)=>{s.d(r,{A:()=>i});var t=s(6540),o=s(6300),a=s(1812),n=s(4848);function i(e){let{dosage:r,config:s}=e;const[i,d]=(0,t.useState)(""),[c,l]=(0,t.useState)(s?.language||"en"),[u,m]=(0,t.useState)(null);(0,t.useEffect)((()=>{!async function(){const e=await o.A.build(s);m(e)}()}),[s]),(0,t.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(r);d(e)}}()}),[r,u]);return(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{style:{display:"flex"},children:[(0,n.jsxs)("select",{value:c,onChange:e=>l(e.target.value),style:{marginRight:"10px"},children:[(0,n.jsx)("option",{value:"en",children:"English"}),(0,n.jsx)("option",{value:"fr",children:"French"}),(0,n.jsx)("option",{value:"nl",children:"Dutch"}),(0,n.jsx)("option",{value:"de",children:"German"})]}),(0,n.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(c);const e=u.fromDosageToText(r);d(e)}},children:"Confirm"})]}),(0,n.jsx)("div",{style:{marginTop:"10px"},children:(0,n.jsx)(a.default,{language:"markup",children:(x=i,x.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,r){return String.fromCharCode(r)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,r){return String.fromCharCode(parseInt(r,16))})))})})]});var x}}}]); \ No newline at end of file diff --git a/assets/js/afe92c27.7debc254.js b/assets/js/afe92c27.7debc254.js new file mode 100644 index 00000000..0b53f59a --- /dev/null +++ b/assets/js/afe92c27.7debc254.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4088],{2390:(e,r,s)=>{s.r(r),s.d(r,{assets:()=>x,contentTitle:()=>u,default:()=>g,frontMatter:()=>l,metadata:()=>m,toc:()=>p});var o=s(4848),t=s(8453),n=s(1812);const a=JSON.parse('{"maxDosePerPeriod":{"numerator":{"value":3,"unit":"pills"},"denominator":{"value":5,"unit":"hours"}}}');var i=s(4865),d=s(9365),c=s(816);const l={description:"maxDosePerPeriod (R4)",title:"\u23f3 maxDosePerPeriod (R4)"},u=void 0,m={id:"specs/maxDosePerPeriod/r4",title:"\u23f3 maxDosePerPeriod (R4)",description:"maxDosePerPeriod (R4)",source:"@site/docs/specs/maxDosePerPeriod/r4.mdx",sourceDirName:"specs/maxDosePerPeriod",slug:"/specs/maxDosePerPeriod/r4",permalink:"/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r4",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/maxDosePerPeriod/r4.mdx",tags:[],version:"current",frontMatter:{description:"maxDosePerPeriod (R4)",title:"\u23f3 maxDosePerPeriod (R4)"},sidebar:"tutorialSidebar",previous:{title:"\u23f3 maxDosePerPeriod",permalink:"/fhir-dosage-utils/docs/category/-maxdoseperperiod"},next:{title:"\u23f3 maxDosePerPeriod (R5)",permalink:"/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r5"}},x={},p=[];function f(e){const r={a:"a",admonition:"admonition",p:"p",...(0,t.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(i.A,{children:[(0,o.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(c.A,{dosage:a})}),(0,o.jsx)(d.A,{value:"json",label:"Dosage",children:(0,o.jsx)(n.default,{language:"json",children:JSON.stringify(a,null,2)})})]}),"\n",(0,o.jsx)(r.admonition,{type:"tip",children:(0,o.jsxs)(r.p,{children:["Don't forget you can use ",(0,o.jsx)(r.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function g(e={}){const{wrapper:r}={...(0,t.R)(),...e.components};return r?(0,o.jsx)(r,{...e,children:(0,o.jsx)(f,{...e})}):f(e)}},816:(e,r,s)=>{s.d(r,{A:()=>i});var o=s(6540),t=s(6300),n=s(1812),a=s(4848);function i(e){let{dosage:r,config:s,i18nConfig:i}=e;const[d,c]=(0,o.useState)(""),[l,u]=(0,o.useState)(s?.language||"en"),[m,x]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await t.A.build(s,i);x(e)}()}),[s]),(0,o.useEffect)((()=>{!async function(){if(m){const e=m.fromDosageToText(r);c(e)}}()}),[r,m]);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{style:{display:"flex"},children:[(0,a.jsxs)("select",{value:l,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,a.jsx)("option",{value:"en",children:"English"}),(0,a.jsx)("option",{value:"fr",children:"French"}),(0,a.jsx)("option",{value:"nl",children:"Dutch"}),(0,a.jsx)("option",{value:"de",children:"German"})]}),(0,a.jsx)("button",{onClick:async()=>{if(m){await m.changeLanguage(l);const e=m.fromDosageToText(r);c(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(n.default,{language:"markup",children:(p=d,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,r){return String.fromCharCode(r)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,r){return String.fromCharCode(parseInt(r,16))})))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/b21f49cb.9e12b018.js b/assets/js/b21f49cb.9e12b018.js new file mode 100644 index 00000000..7f9fda5b --- /dev/null +++ b/assets/js/b21f49cb.9e12b018.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2896],{2029:e=>{e.exports=JSON.parse('{"permalink":"/fhir-dosage-utils/blog/tags/features","page":1,"postsPerPage":10,"totalPages":1,"totalCount":1,"blogDescription":"Blog","blogTitle":"Blog"}')}}]); \ No newline at end of file diff --git a/assets/js/b30e43e1.8a5fcee1.js b/assets/js/b30e43e1.ca945d29.js similarity index 63% rename from assets/js/b30e43e1.8a5fcee1.js rename to assets/js/b30e43e1.ca945d29.js index 6d60adcc..7661fbc2 100644 --- a/assets/js/b30e43e1.8a5fcee1.js +++ b/assets/js/b30e43e1.ca945d29.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1146],{7874:(e,n,o)=>{o.r(n),o.d(n,{assets:()=>p,contentTitle:()=>u,default:()=>x,frontMatter:()=>c,metadata:()=>g,toc:()=>f});var t=o(4848),s=o(8453),a=o(1812);const i=JSON.parse('{"doseAndRate":[{"doseRange":{"low":{"value":3,"unit":"pills"}}}]}');var r=o(4865),l=o(9365),d=o(816);const c={description:"Low only",title:"\ud83d\udccf doseRange (Low only)"},u=void 0,g={id:"specs/doseRange/low_only",title:"\ud83d\udccf doseRange (Low only)",description:"Low only",source:"@site/docs/specs/doseRange/low_only.mdx",sourceDirName:"specs/doseRange",slug:"/specs/doseRange/low_only",permalink:"/fhir-dosage-utils/docs/specs/doseRange/low_only",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/doseRange/low_only.mdx",tags:[],version:"current",frontMatter:{description:"Low only",title:"\ud83d\udccf doseRange (Low only)"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udccf doseRange (Low & High)",permalink:"/fhir-dosage-utils/docs/specs/doseRange/low_and_high"},next:{title:"\u23f0 durationDurationMax",permalink:"/fhir-dosage-utils/docs/category/-durationdurationmax"}},p={},f=[];function h(e){const n={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(r.A,{children:[(0,t.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,t.jsx)(d.A,{dosage:i})}),(0,t.jsx)(l.A,{value:"json",label:"Dosage",children:(0,t.jsx)(a.default,{language:"json",children:JSON.stringify(i,null,2)})})]}),"\n",(0,t.jsx)(n.admonition,{type:"tip",children:(0,t.jsxs)(n.p,{children:["Don't forget you can use ",(0,t.jsx)(n.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(h,{...e})}):h(e)}},816:(e,n,o)=>{o.d(n,{A:()=>r});var t=o(6540),s=o(6300),a=o(1812),i=o(4848);function r(e){let{dosage:n,config:o}=e;const[r,l]=(0,t.useState)(""),[d,c]=(0,t.useState)(o?.language||"en"),[u,g]=(0,t.useState)(null);(0,t.useEffect)((()=>{!async function(){const e=await s.A.build(o);g(e)}()}),[o]),(0,t.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(n);l(e)}}()}),[n,u]);return(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{style:{display:"flex"},children:[(0,i.jsxs)("select",{value:d,onChange:e=>c(e.target.value),style:{marginRight:"10px"},children:[(0,i.jsx)("option",{value:"en",children:"English"}),(0,i.jsx)("option",{value:"fr",children:"French"}),(0,i.jsx)("option",{value:"nl",children:"Dutch"}),(0,i.jsx)("option",{value:"de",children:"German"})]}),(0,i.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(d);const e=u.fromDosageToText(n);l(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(a.default,{language:"markup",children:(p=r,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var p}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1146],{7874:(e,n,o)=>{o.r(n),o.d(n,{assets:()=>p,contentTitle:()=>u,default:()=>x,frontMatter:()=>c,metadata:()=>g,toc:()=>f});var t=o(4848),s=o(8453),a=o(1812);const i=JSON.parse('{"doseAndRate":[{"doseRange":{"low":{"value":3,"unit":"pills"}}}]}');var r=o(4865),l=o(9365),d=o(816);const c={description:"Low only",title:"\ud83d\udccf doseRange (Low only)"},u=void 0,g={id:"specs/doseRange/low_only",title:"\ud83d\udccf doseRange (Low only)",description:"Low only",source:"@site/docs/specs/doseRange/low_only.mdx",sourceDirName:"specs/doseRange",slug:"/specs/doseRange/low_only",permalink:"/fhir-dosage-utils/docs/specs/doseRange/low_only",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/doseRange/low_only.mdx",tags:[],version:"current",frontMatter:{description:"Low only",title:"\ud83d\udccf doseRange (Low only)"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udccf doseRange (Low & High)",permalink:"/fhir-dosage-utils/docs/specs/doseRange/low_and_high"},next:{title:"\u23f0 durationDurationMax",permalink:"/fhir-dosage-utils/docs/category/-durationdurationmax"}},p={},f=[];function h(e){const n={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(r.A,{children:[(0,t.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,t.jsx)(d.A,{dosage:i})}),(0,t.jsx)(l.A,{value:"json",label:"Dosage",children:(0,t.jsx)(a.default,{language:"json",children:JSON.stringify(i,null,2)})})]}),"\n",(0,t.jsx)(n.admonition,{type:"tip",children:(0,t.jsxs)(n.p,{children:["Don't forget you can use ",(0,t.jsx)(n.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(h,{...e})}):h(e)}},816:(e,n,o)=>{o.d(n,{A:()=>r});var t=o(6540),s=o(6300),a=o(1812),i=o(4848);function r(e){let{dosage:n,config:o,i18nConfig:r}=e;const[l,d]=(0,t.useState)(""),[c,u]=(0,t.useState)(o?.language||"en"),[g,p]=(0,t.useState)(null);(0,t.useEffect)((()=>{!async function(){const e=await s.A.build(o,r);p(e)}()}),[o]),(0,t.useEffect)((()=>{!async function(){if(g){const e=g.fromDosageToText(n);d(e)}}()}),[n,g]);return(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{style:{display:"flex"},children:[(0,i.jsxs)("select",{value:c,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,i.jsx)("option",{value:"en",children:"English"}),(0,i.jsx)("option",{value:"fr",children:"French"}),(0,i.jsx)("option",{value:"nl",children:"Dutch"}),(0,i.jsx)("option",{value:"de",children:"German"})]}),(0,i.jsx)("button",{onClick:async()=>{if(g){await g.changeLanguage(c);const e=g.fromDosageToText(n);d(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(a.default,{language:"markup",children:(f=l,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/b52bbddc.2d8a616c.js b/assets/js/b52bbddc.2966e35f.js similarity index 63% rename from assets/js/b52bbddc.2d8a616c.js rename to assets/js/b52bbddc.2966e35f.js index 7624d42d..151e50d0 100644 --- a/assets/js/b52bbddc.2d8a616c.js +++ b/assets/js/b52bbddc.2966e35f.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3361],{5950:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>p,contentTitle:()=>u,default:()=>x,frontMatter:()=>d,metadata:()=>g,toc:()=>f});var a=t(4848),o=t(8453),s=t(1812);const r=JSON.parse('{"doseAndRate":[{"rateRange":{"low":{"value":3,"unit":"pills"}}}]}');var i=t(4865),l=t(9365),c=t(816);const d={description:"Low only",title:"\u2696\ufe0f rateRange (Low only)"},u=void 0,g={id:"specs/rateRange/low_only",title:"\u2696\ufe0f rateRange (Low only)",description:"Low only",source:"@site/docs/specs/rateRange/low_only.mdx",sourceDirName:"specs/rateRange",slug:"/specs/rateRange/low_only",permalink:"/fhir-dosage-utils/docs/specs/rateRange/low_only",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/rateRange/low_only.mdx",tags:[],version:"current",frontMatter:{description:"Low only",title:"\u2696\ufe0f rateRange (Low only)"},sidebar:"tutorialSidebar",previous:{title:"\u2696\ufe0f rateRange (Low & High)",permalink:"/fhir-dosage-utils/docs/specs/rateRange/low_and_high"},next:{title:"\ud83d\udcc8 rateRatio",permalink:"/fhir-dosage-utils/docs/category/-rateratio"}},p={},f=[];function h(e){const n={a:"a",admonition:"admonition",p:"p",...(0,o.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(i.A,{children:[(0,a.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,a.jsx)(c.A,{dosage:r})}),(0,a.jsx)(l.A,{value:"json",label:"Dosage",children:(0,a.jsx)(s.default,{language:"json",children:JSON.stringify(r,null,2)})})]}),"\n",(0,a.jsx)(n.admonition,{type:"tip",children:(0,a.jsxs)(n.p,{children:["Don't forget you can use ",(0,a.jsx)(n.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(h,{...e})}):h(e)}},816:(e,n,t)=>{t.d(n,{A:()=>i});var a=t(6540),o=t(6300),s=t(1812),r=t(4848);function i(e){let{dosage:n,config:t}=e;const[i,l]=(0,a.useState)(""),[c,d]=(0,a.useState)(t?.language||"en"),[u,g]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const e=await o.A.build(t);g(e)}()}),[t]),(0,a.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(n);l(e)}}()}),[n,u]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:c,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(c);const e=u.fromDosageToText(n);l(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(s.default,{language:"markup",children:(p=i,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var p}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3361],{5950:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>p,contentTitle:()=>u,default:()=>x,frontMatter:()=>d,metadata:()=>g,toc:()=>f});var a=t(4848),o=t(8453),s=t(1812);const r=JSON.parse('{"doseAndRate":[{"rateRange":{"low":{"value":3,"unit":"pills"}}}]}');var i=t(4865),l=t(9365),c=t(816);const d={description:"Low only",title:"\u2696\ufe0f rateRange (Low only)"},u=void 0,g={id:"specs/rateRange/low_only",title:"\u2696\ufe0f rateRange (Low only)",description:"Low only",source:"@site/docs/specs/rateRange/low_only.mdx",sourceDirName:"specs/rateRange",slug:"/specs/rateRange/low_only",permalink:"/fhir-dosage-utils/docs/specs/rateRange/low_only",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/rateRange/low_only.mdx",tags:[],version:"current",frontMatter:{description:"Low only",title:"\u2696\ufe0f rateRange (Low only)"},sidebar:"tutorialSidebar",previous:{title:"\u2696\ufe0f rateRange (Low & High)",permalink:"/fhir-dosage-utils/docs/specs/rateRange/low_and_high"},next:{title:"\ud83d\udcc8 rateRatio",permalink:"/fhir-dosage-utils/docs/category/-rateratio"}},p={},f=[];function h(e){const n={a:"a",admonition:"admonition",p:"p",...(0,o.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(i.A,{children:[(0,a.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,a.jsx)(c.A,{dosage:r})}),(0,a.jsx)(l.A,{value:"json",label:"Dosage",children:(0,a.jsx)(s.default,{language:"json",children:JSON.stringify(r,null,2)})})]}),"\n",(0,a.jsx)(n.admonition,{type:"tip",children:(0,a.jsxs)(n.p,{children:["Don't forget you can use ",(0,a.jsx)(n.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(h,{...e})}):h(e)}},816:(e,n,t)=>{t.d(n,{A:()=>i});var a=t(6540),o=t(6300),s=t(1812),r=t(4848);function i(e){let{dosage:n,config:t,i18nConfig:i}=e;const[l,c]=(0,a.useState)(""),[d,u]=(0,a.useState)(t?.language||"en"),[g,p]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const e=await o.A.build(t,i);p(e)}()}),[t]),(0,a.useEffect)((()=>{!async function(){if(g){const e=g.fromDosageToText(n);c(e)}}()}),[n,g]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:d,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(g){await g.changeLanguage(d);const e=g.fromDosageToText(n);c(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(s.default,{language:"markup",children:(f=l,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/bc0994c2.d0ec935d.js b/assets/js/bc0994c2.eed7a378.js similarity index 60% rename from assets/js/bc0994c2.d0ec935d.js rename to assets/js/bc0994c2.eed7a378.js index 2bb642c5..08be2df4 100644 --- a/assets/js/bc0994c2.d0ec935d.js +++ b/assets/js/bc0994c2.eed7a378.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9643],{4008:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>d,default:()=>h,frontMatter:()=>u,metadata:()=>g,toc:()=>m});var i=n(4848),s=n(8453),a=n(1812),r=n(3180),o=n(4865),l=n(9365),c=n(816);const u={description:"Single item",title:"\u274c Single item"},d=void 0,g={id:"specs/event/single_item",title:"\u274c Single item",description:"Single item",source:"@site/docs/specs/event/single_item.mdx",sourceDirName:"specs/event",slug:"/specs/event/single_item",permalink:"/fhir-dosage-utils/docs/specs/event/single_item",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/event/single_item.mdx",tags:[],version:"current",frontMatter:{description:"Single item",title:"\u274c Single item"},sidebar:"tutorialSidebar",previous:{title:"\u2795 Multiple items",permalink:"/fhir-dosage-utils/docs/specs/event/multiple_items"},next:{title:"\ud83d\udd01 frequencyFrequencyMax",permalink:"/fhir-dosage-utils/docs/category/-frequencyfrequencymax"}},p={},m=[];function f(e){const t={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(o.A,{children:[(0,i.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(c.A,{dosage:r})}),(0,i.jsx)(l.A,{value:"json",label:"Dosage",children:(0,i.jsx)(a.default,{language:"json",children:JSON.stringify(r,null,2)})})]}),"\n",(0,i.jsx)(t.admonition,{type:"tip",children:(0,i.jsxs)(t.p,{children:["Don't forget you can use ",(0,i.jsx)(t.a,{href:"/api/interface/Params",children:"dateTimeFormatOptions"})," option to fit your needs"]})})]})}function h(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(f,{...e})}):f(e)}},816:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6540),s=n(6300),a=n(1812),r=n(4848);function o(e){let{dosage:t,config:n}=e;const[o,l]=(0,i.useState)(""),[c,u]=(0,i.useState)(n?.language||"en"),[d,g]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await s.A.build(n);g(e)}()}),[n]),(0,i.useEffect)((()=>{!async function(){if(d){const e=d.fromDosageToText(t);l(e)}}()}),[t,d]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:c,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(d){await d.changeLanguage(c);const e=d.fromDosageToText(t);l(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(a.default,{language:"markup",children:(p=o,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var p}},3180:e=>{e.exports=JSON.parse('{"timing":{"event":["2024-01-01"]}}')}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9643],{4008:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>d,default:()=>h,frontMatter:()=>u,metadata:()=>g,toc:()=>m});var i=n(4848),s=n(8453),a=n(1812),r=n(3180),o=n(4865),l=n(9365),c=n(816);const u={description:"Single item",title:"\u274c Single item"},d=void 0,g={id:"specs/event/single_item",title:"\u274c Single item",description:"Single item",source:"@site/docs/specs/event/single_item.mdx",sourceDirName:"specs/event",slug:"/specs/event/single_item",permalink:"/fhir-dosage-utils/docs/specs/event/single_item",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/event/single_item.mdx",tags:[],version:"current",frontMatter:{description:"Single item",title:"\u274c Single item"},sidebar:"tutorialSidebar",previous:{title:"\u2795 Multiple items",permalink:"/fhir-dosage-utils/docs/specs/event/multiple_items"},next:{title:"\ud83d\udd01 frequencyFrequencyMax",permalink:"/fhir-dosage-utils/docs/category/-frequencyfrequencymax"}},p={},m=[];function f(e){const t={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(o.A,{children:[(0,i.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(c.A,{dosage:r})}),(0,i.jsx)(l.A,{value:"json",label:"Dosage",children:(0,i.jsx)(a.default,{language:"json",children:JSON.stringify(r,null,2)})})]}),"\n",(0,i.jsx)(t.admonition,{type:"tip",children:(0,i.jsxs)(t.p,{children:["Don't forget you can use ",(0,i.jsx)(t.a,{href:"/api/interface/Params",children:"dateTimeFormatOptions"})," option to fit your needs"]})})]})}function h(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(f,{...e})}):f(e)}},816:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6540),s=n(6300),a=n(1812),r=n(4848);function o(e){let{dosage:t,config:n,i18nConfig:o}=e;const[l,c]=(0,i.useState)(""),[u,d]=(0,i.useState)(n?.language||"en"),[g,p]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await s.A.build(n,o);p(e)}()}),[n]),(0,i.useEffect)((()=>{!async function(){if(g){const e=g.fromDosageToText(t);c(e)}}()}),[t,g]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:u,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(g){await g.changeLanguage(u);const e=g.fromDosageToText(t);c(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(a.default,{language:"markup",children:(m=l,m.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var m}},3180:e=>{e.exports=JSON.parse('{"timing":{"event":["2024-01-01"]}}')}}]); \ No newline at end of file diff --git a/assets/js/c0086ef4.3860f1ed.js b/assets/js/c0086ef4.72cdf050.js similarity index 71% rename from assets/js/c0086ef4.3860f1ed.js rename to assets/js/c0086ef4.72cdf050.js index d1990029..e8b6f952 100644 --- a/assets/js/c0086ef4.3860f1ed.js +++ b/assets/js/c0086ef4.72cdf050.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2495],{5333:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>g,contentTitle:()=>l,default:()=>x,frontMatter:()=>u,metadata:()=>m,toc:()=>p});var i=n(4848),s=n(8453),a=n(1812);const o=JSON.parse('[{"sequence":1,"text":"0.05 - 0.1mg/kg IV over 2-5 minutes every 15 minutes as needed","timing":{"repeat":{"frequency":1,"period":15,"periodUnit":"min"}},"asNeeded":true,"route":{"coding":[{"system":"http://snomed.info/sct","code":"255560000","display":"Intravenous"}]},"method":{"coding":[{"system":"http://snomed.info/sct","code":"420620005","display":"Push - dosing instruction imperative (qualifier value)"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseRange":{"low":{"value":0.05,"unit":"mg/kg","system":"http://unitsofmeasure.org","code":"mg/kg"},"high":{"value":0.1,"unit":"mg/kg","system":"http://unitsofmeasure.org","code":"mg/kg"}},"rateRange":{"low":{"value":2,"unit":"min","system":"http://unitsofmeasure.org","code":"min"},"high":{"value":5,"unit":"min","system":"http://unitsofmeasure.org","code":"min"}}}]}]');var r=n(4865),d=n(9365),c=n(8264);const u={description:"Request for an injectable medication - Lorazepam - active - with link to encounter, reasonCode and dosageInstruction",title:"medrx0315"},l=void 0,m={id:"examples/medicationrequest/medrx0315",title:"medrx0315",description:"Request for an injectable medication - Lorazepam - active - with link to encounter, reasonCode and dosageInstruction",source:"@site/docs/examples/medicationrequest/medrx0315.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx0315",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0315",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx0315.mdx",tags:[],version:"current",frontMatter:{description:"Request for an injectable medication - Lorazepam - active - with link to encounter, reasonCode and dosageInstruction",title:"medrx0315"},sidebar:"tutorialSidebar",previous:{title:"medrx0314",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0314"},next:{title:"medrx0317",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0317"}},g={},p=[];function h(e){const t={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.admonition,{type:"info",children:(0,i.jsxs)(t.p,{children:["Source: ",(0,i.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequest0315.html",children:"HL7"}),' - "Request for an injectable medication - Lorazepam - active - with link to encounter, reasonCode and dosageInstruction"']})}),"\n",(0,i.jsxs)(r.A,{children:[(0,i.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(c.A,{dosages:o,config:{}})}),(0,i.jsx)(d.A,{value:"json",label:"Dosage",children:(0,i.jsx)(a.default,{language:"json",children:JSON.stringify(o,null,2)})})]})]})}function x(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},8264:(e,t,n)=>{n.d(t,{A:()=>r});var i=n(6540),s=n(6300),a=n(1812),o=n(4848);function r(e){let{dosages:t,config:n}=e;const[r,d]=(0,i.useState)(""),[c,u]=(0,i.useState)(n?.language||"en"),[l,m]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await s.A.build(n);m(e)}()}),[n]),(0,i.useEffect)((()=>{!async function(){if(l){const e=l.fromMultipleDosageToText(t);d(e)}}()}),[t,l]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:c,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,o.jsx)("option",{value:"en",children:"English"}),(0,o.jsx)("option",{value:"fr",children:"French"}),(0,o.jsx)("option",{value:"nl",children:"Dutch"}),(0,o.jsx)("option",{value:"de",children:"German"})]}),(0,o.jsx)("button",{onClick:async()=>{if(l){await l.changeLanguage(c);const e=l.fromMultipleDosageToText(t);d(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(a.default,{language:"markup",children:(g=r,g.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var g}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2495],{5333:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>g,contentTitle:()=>l,default:()=>f,frontMatter:()=>u,metadata:()=>m,toc:()=>p});var i=n(4848),s=n(8453),a=n(1812);const o=JSON.parse('[{"sequence":1,"text":"0.05 - 0.1mg/kg IV over 2-5 minutes every 15 minutes as needed","timing":{"repeat":{"frequency":1,"period":15,"periodUnit":"min"}},"asNeeded":true,"route":{"coding":[{"system":"http://snomed.info/sct","code":"255560000","display":"Intravenous"}]},"method":{"coding":[{"system":"http://snomed.info/sct","code":"420620005","display":"Push - dosing instruction imperative (qualifier value)"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseRange":{"low":{"value":0.05,"unit":"mg/kg","system":"http://unitsofmeasure.org","code":"mg/kg"},"high":{"value":0.1,"unit":"mg/kg","system":"http://unitsofmeasure.org","code":"mg/kg"}},"rateRange":{"low":{"value":2,"unit":"min","system":"http://unitsofmeasure.org","code":"min"},"high":{"value":5,"unit":"min","system":"http://unitsofmeasure.org","code":"min"}}}]}]');var r=n(4865),d=n(9365),c=n(8264);const u={description:"Request for an injectable medication - Lorazepam - active - with link to encounter, reasonCode and dosageInstruction",title:"medrx0315"},l=void 0,m={id:"examples/medicationrequest/medrx0315",title:"medrx0315",description:"Request for an injectable medication - Lorazepam - active - with link to encounter, reasonCode and dosageInstruction",source:"@site/docs/examples/medicationrequest/medrx0315.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx0315",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0315",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx0315.mdx",tags:[],version:"current",frontMatter:{description:"Request for an injectable medication - Lorazepam - active - with link to encounter, reasonCode and dosageInstruction",title:"medrx0315"},sidebar:"tutorialSidebar",previous:{title:"medrx0314",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0314"},next:{title:"medrx0317",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0317"}},g={},p=[];function h(e){const t={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.admonition,{type:"info",children:(0,i.jsxs)(t.p,{children:["Source: ",(0,i.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequest0315.html",children:"HL7"}),' - "Request for an injectable medication - Lorazepam - active - with link to encounter, reasonCode and dosageInstruction"']})}),"\n",(0,i.jsxs)(r.A,{children:[(0,i.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(c.A,{dosages:o,config:{}})}),(0,i.jsx)(d.A,{value:"json",label:"Dosage",children:(0,i.jsx)(a.default,{language:"json",children:JSON.stringify(o,null,2)})})]})]})}function f(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},8264:(e,t,n)=>{n.d(t,{A:()=>r});var i=n(6540),s=n(6300),a=n(1812),o=n(4848);function r(e){let{dosages:t,config:n,i18nConfig:r}=e;const[d,c]=(0,i.useState)(""),[u,l]=(0,i.useState)(n?.language||"en"),[m,g]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await s.A.build(n,r);g(e)}()}),[n]),(0,i.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);c(e)}}()}),[t,m]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:u,onChange:e=>l(e.target.value),style:{marginRight:"10px"},children:[(0,o.jsx)("option",{value:"en",children:"English"}),(0,o.jsx)("option",{value:"fr",children:"French"}),(0,o.jsx)("option",{value:"nl",children:"Dutch"}),(0,o.jsx)("option",{value:"de",children:"German"})]}),(0,o.jsx)("button",{onClick:async()=>{if(m){await m.changeLanguage(u);const e=m.fromMultipleDosageToText(t);c(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(a.default,{language:"markup",children:(p=d,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/c36217b7.74fa5221.js b/assets/js/c36217b7.74fa5221.js deleted file mode 100644 index fc30ccd7..00000000 --- a/assets/js/c36217b7.74fa5221.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6016],{3403:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>f,contentTitle:()=>d,default:()=>h,frontMatter:()=>u,metadata:()=>x,toc:()=>g});var n=s(4848),a=s(8453),r=s(1812);const i={text:"SIG"};var o=s(4865),c=s(9365),l=s(816);const u={description:"text",title:"\ud83d\udcdd text"},d=void 0,x={id:"specs/text/text",title:"\ud83d\udcdd text",description:"text",source:"@site/docs/specs/text/text.mdx",sourceDirName:"specs/text",slug:"/specs/text/",permalink:"/fhir-dosage-utils/docs/specs/text/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/text/text.mdx",tags:[],version:"current",frontMatter:{description:"text",title:"\ud83d\udcdd text"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udcdd text",permalink:"/fhir-dosage-utils/docs/category/-text"},next:{title:"\u231a timeOfDay",permalink:"/fhir-dosage-utils/docs/category/-timeofday"}},f={},g=[];function p(e){return(0,n.jsxs)(o.A,{children:[(0,n.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(l.A,{dosage:i,config:{displayOrder:["text"]}})}),(0,n.jsx)(c.A,{value:"json",label:"Dosage",children:(0,n.jsx)(r.default,{language:"json",children:JSON.stringify(i,null,2)})})]})}function h(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(p,{...e})}):p()}},816:(e,t,s)=>{s.d(t,{A:()=>o});var n=s(6540),a=s(6300),r=s(1812),i=s(4848);function o(e){let{dosage:t,config:s}=e;const[o,c]=(0,n.useState)(""),[l,u]=(0,n.useState)(s?.language||"en"),[d,x]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await a.A.build(s);x(e)}()}),[s]),(0,n.useEffect)((()=>{!async function(){if(d){const e=d.fromDosageToText(t);c(e)}}()}),[t,d]);return(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{style:{display:"flex"},children:[(0,i.jsxs)("select",{value:l,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,i.jsx)("option",{value:"en",children:"English"}),(0,i.jsx)("option",{value:"fr",children:"French"}),(0,i.jsx)("option",{value:"nl",children:"Dutch"}),(0,i.jsx)("option",{value:"de",children:"German"})]}),(0,i.jsx)("button",{onClick:async()=>{if(d){await d.changeLanguage(l);const e=d.fromDosageToText(t);c(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(r.default,{language:"markup",children:(f=o,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/c36217b7.cf235a26.js b/assets/js/c36217b7.cf235a26.js new file mode 100644 index 00000000..0960bd42 --- /dev/null +++ b/assets/js/c36217b7.cf235a26.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6016],{3403:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>f,contentTitle:()=>d,default:()=>h,frontMatter:()=>u,metadata:()=>x,toc:()=>g});var n=s(4848),a=s(8453),i=s(1812);const r={text:"SIG"};var o=s(4865),c=s(9365),l=s(816);const u={description:"text",title:"\ud83d\udcdd text"},d=void 0,x={id:"specs/text/text",title:"\ud83d\udcdd text",description:"text",source:"@site/docs/specs/text/text.mdx",sourceDirName:"specs/text",slug:"/specs/text/",permalink:"/fhir-dosage-utils/docs/specs/text/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/text/text.mdx",tags:[],version:"current",frontMatter:{description:"text",title:"\ud83d\udcdd text"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udcdd text",permalink:"/fhir-dosage-utils/docs/category/-text"},next:{title:"\u231a timeOfDay",permalink:"/fhir-dosage-utils/docs/category/-timeofday"}},f={},g=[];function p(e){return(0,n.jsxs)(o.A,{children:[(0,n.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(l.A,{dosage:r,config:{displayOrder:["text"]}})}),(0,n.jsx)(c.A,{value:"json",label:"Dosage",children:(0,n.jsx)(i.default,{language:"json",children:JSON.stringify(r,null,2)})})]})}function h(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(p,{...e})}):p()}},816:(e,t,s)=>{s.d(t,{A:()=>o});var n=s(6540),a=s(6300),i=s(1812),r=s(4848);function o(e){let{dosage:t,config:s,i18nConfig:o}=e;const[c,l]=(0,n.useState)(""),[u,d]=(0,n.useState)(s?.language||"en"),[x,f]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await a.A.build(s,o);f(e)}()}),[s]),(0,n.useEffect)((()=>{!async function(){if(x){const e=x.fromDosageToText(t);l(e)}}()}),[t,x]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:u,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(x){await x.changeLanguage(u);const e=x.fromDosageToText(t);l(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(i.default,{language:"markup",children:(g=c,g.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/c6db0fe6.229a4ba4.js b/assets/js/c6db0fe6.26ccdf40.js similarity index 76% rename from assets/js/c6db0fe6.229a4ba4.js rename to assets/js/c6db0fe6.26ccdf40.js index 1f11a041..907a9e7c 100644 --- a/assets/js/c6db0fe6.229a4ba4.js +++ b/assets/js/c6db0fe6.26ccdf40.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8637],{5560:e=>{e.exports=JSON.parse('{"permalink":"/fhir-dosage-utils/blog","page":1,"postsPerPage":10,"totalPages":1,"totalCount":1,"blogDescription":"Blog","blogTitle":"Blog"}')}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8637],{5560:e=>{e.exports=JSON.parse('{"permalink":"/fhir-dosage-utils/blog","page":1,"postsPerPage":10,"totalPages":1,"totalCount":2,"blogDescription":"Blog","blogTitle":"Blog"}')}}]); \ No newline at end of file diff --git a/assets/js/c9387e11.31fc4d1d.js b/assets/js/c9387e11.31fc4d1d.js deleted file mode 100644 index d2091254..00000000 --- a/assets/js/c9387e11.31fc4d1d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3140],{459:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>g,contentTitle:()=>m,default:()=>x,frontMatter:()=>d,metadata:()=>f,toc:()=>p});var n=o(4848),a=o(8453),i=o(1812),s=o(3180);const r=JSON.parse('{"dateTimeFormatOptions":{"weekday":"long","year":"numeric","month":"long","day":"numeric"}}');var c=o(4865),l=o(9365),u=o(816);const d={description:"To control the formatting of dateTime objects",title:"\ud83c\udf89 dateTimeFormatOptions"},m=void 0,f={id:"custom/dateTimeFormatOptions",title:"\ud83c\udf89 dateTimeFormatOptions",description:"To control the formatting of dateTime objects",source:"@site/docs/custom/dateTimeFormatOptions.mdx",sourceDirName:"custom",slug:"/custom/dateTimeFormatOptions",permalink:"/fhir-dosage-utils/docs/custom/dateTimeFormatOptions",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/custom/dateTimeFormatOptions.mdx",tags:[],version:"current",frontMatter:{description:"To control the formatting of dateTime objects",title:"\ud83c\udf89 dateTimeFormatOptions"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udee0\ufe0f Customizations",permalink:"/fhir-dosage-utils/docs/demo/custom"},next:{title:"\ud83d\udcbb fromCodeableConceptToString",permalink:"/fhir-dosage-utils/docs/custom/fromCodeableConceptToString"}},g={},p=[];function h(e){return(0,n.jsxs)(c.A,{children:[(0,n.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(u.A,{dosage:s,config:r})}),(0,n.jsx)(l.A,{value:"json",label:"Dosage",children:(0,n.jsx)(i.default,{language:"json",children:JSON.stringify(s,null,2)})}),(0,n.jsx)(l.A,{value:"config",label:"Configuration",children:(0,n.jsx)(i.default,{language:"json",children:JSON.stringify(r,null,2)})})]})}function x(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(h,{...e})}):h()}},816:(e,t,o)=>{o.d(t,{A:()=>r});var n=o(6540),a=o(6300),i=o(1812),s=o(4848);function r(e){let{dosage:t,config:o}=e;const[r,c]=(0,n.useState)(""),[l,u]=(0,n.useState)(o?.language||"en"),[d,m]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await a.A.build(o);m(e)}()}),[o]),(0,n.useEffect)((()=>{!async function(){if(d){const e=d.fromDosageToText(t);c(e)}}()}),[t,d]);return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{style:{display:"flex"},children:[(0,s.jsxs)("select",{value:l,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,s.jsx)("option",{value:"en",children:"English"}),(0,s.jsx)("option",{value:"fr",children:"French"}),(0,s.jsx)("option",{value:"nl",children:"Dutch"}),(0,s.jsx)("option",{value:"de",children:"German"})]}),(0,s.jsx)("button",{onClick:async()=>{if(d){await d.changeLanguage(l);const e=d.fromDosageToText(t);c(e)}},children:"Confirm"})]}),(0,s.jsx)("div",{style:{marginTop:"10px"},children:(0,s.jsx)(i.default,{language:"markup",children:(f=r,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var f}},3180:e=>{e.exports=JSON.parse('{"timing":{"event":["2024-01-01"]}}')}}]); \ No newline at end of file diff --git a/assets/js/c9387e11.50fd3a5f.js b/assets/js/c9387e11.50fd3a5f.js new file mode 100644 index 00000000..2939e94e --- /dev/null +++ b/assets/js/c9387e11.50fd3a5f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3140],{459:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>g,contentTitle:()=>m,default:()=>x,frontMatter:()=>u,metadata:()=>f,toc:()=>p});var o=n(4848),a=n(8453),i=n(1812),s=n(3180);const r=JSON.parse('{"dateTimeFormatOptions":{"weekday":"long","year":"numeric","month":"long","day":"numeric"}}');var c=n(4865),l=n(9365),d=n(816);const u={description:"To control the formatting of dateTime objects",title:"\ud83c\udf89 dateTimeFormatOptions"},m=void 0,f={id:"custom/dateTimeFormatOptions",title:"\ud83c\udf89 dateTimeFormatOptions",description:"To control the formatting of dateTime objects",source:"@site/docs/custom/dateTimeFormatOptions.mdx",sourceDirName:"custom",slug:"/custom/dateTimeFormatOptions",permalink:"/fhir-dosage-utils/docs/custom/dateTimeFormatOptions",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/custom/dateTimeFormatOptions.mdx",tags:[],version:"current",frontMatter:{description:"To control the formatting of dateTime objects",title:"\ud83c\udf89 dateTimeFormatOptions"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udee0\ufe0f Customizations",permalink:"/fhir-dosage-utils/docs/demo/custom"},next:{title:"\ud83d\udd22 displayOrder",permalink:"/fhir-dosage-utils/docs/custom/displayOrder"}},g={},p=[];function h(e){return(0,o.jsxs)(c.A,{children:[(0,o.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(d.A,{dosage:s,config:r})}),(0,o.jsx)(l.A,{value:"json",label:"Dosage",children:(0,o.jsx)(i.default,{language:"json",children:JSON.stringify(s,null,2)})}),(0,o.jsx)(l.A,{value:"config",label:"Configuration",children:(0,o.jsx)(i.default,{language:"json",children:JSON.stringify(r,null,2)})})]})}function x(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(h,{...e})}):h()}},816:(e,t,n)=>{n.d(t,{A:()=>r});var o=n(6540),a=n(6300),i=n(1812),s=n(4848);function r(e){let{dosage:t,config:n,i18nConfig:r}=e;const[c,l]=(0,o.useState)(""),[d,u]=(0,o.useState)(n?.language||"en"),[m,f]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await a.A.build(n,r);f(e)}()}),[n]),(0,o.useEffect)((()=>{!async function(){if(m){const e=m.fromDosageToText(t);l(e)}}()}),[t,m]);return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{style:{display:"flex"},children:[(0,s.jsxs)("select",{value:d,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,s.jsx)("option",{value:"en",children:"English"}),(0,s.jsx)("option",{value:"fr",children:"French"}),(0,s.jsx)("option",{value:"nl",children:"Dutch"}),(0,s.jsx)("option",{value:"de",children:"German"})]}),(0,s.jsx)("button",{onClick:async()=>{if(m){await m.changeLanguage(d);const e=m.fromDosageToText(t);l(e)}},children:"Confirm"})]}),(0,s.jsx)("div",{style:{marginTop:"10px"},children:(0,s.jsx)(i.default,{language:"markup",children:(g=c,g.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var g}},3180:e=>{e.exports=JSON.parse('{"timing":{"event":["2024-01-01"]}}')}}]); \ No newline at end of file diff --git a/assets/js/cd12752c.800db6d6.js b/assets/js/cd12752c.0310de61.js similarity index 71% rename from assets/js/cd12752c.800db6d6.js rename to assets/js/cd12752c.0310de61.js index 380b43d5..c8d48162 100644 --- a/assets/js/cd12752c.800db6d6.js +++ b/assets/js/cd12752c.0310de61.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6614],{844:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>g,contentTitle:()=>d,default:()=>m,frontMatter:()=>c,metadata:()=>f,toc:()=>h});var o=t(4848),r=t(8453),i=t(1812);const s=JSON.parse('{"extension":[{"url":"https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/DosageOverride","valueBoolean":true},{"url":"https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/DosageOverrideReason","valueCodeableConcept":{"text":"Respect my authority ! - Eric Cartman"}}]}');var a=t(4865),u=t(9365),l=t(816);const c={description:"Function to turn extension(s) into a string for humans.",title:"\ud83d\udd0c fromExtensionsToString"},d=void 0,f={id:"custom/fromExtensionsToString",title:"\ud83d\udd0c fromExtensionsToString",description:"Function to turn extension(s) into a string for humans.",source:"@site/docs/custom/fromExtensionsToString.mdx",sourceDirName:"custom",slug:"/custom/fromExtensionsToString",permalink:"/fhir-dosage-utils/docs/custom/fromExtensionsToString",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/custom/fromExtensionsToString.mdx",tags:[],version:"current",frontMatter:{description:"Function to turn extension(s) into a string for humans.",title:"\ud83d\udd0c fromExtensionsToString"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udcbb fromCodeableConceptToString",permalink:"/fhir-dosage-utils/docs/custom/fromCodeableConceptToString"},next:{title:"\ud83d\udccf fromFHIRQuantityUnitToString",permalink:"/fhir-dosage-utils/docs/custom/fromFHIRQuantityUnitToString"}},g={},h=[];function x(e){const n={code:"code",pre:"pre",...(0,r.R)(),...e.components};return(0,o.jsxs)(a.A,{children:[(0,o.jsx)(u.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(l.A,{dosage:s,config:{displayOrder:["extension"],fromExtensionsToString:({extensions:e,language:n})=>{if(void 0===e||0===e.length)return;return e.map((e=>{switch(e.url){case"https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/DosageOverride":let t=e.valueBoolean;return`[${n} translation of "dosageOverride" set to "${t}"]`;case"https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/DosageOverrideReason":return e.valueCodeableConcept.text;default:return`[${n} translation of "${JSON.stringify(e)}"]`}})).join(" | ")}}})}),(0,o.jsx)(u.A,{value:"json",label:"Dosage",children:(0,o.jsx)(i.default,{language:"json",children:JSON.stringify(s,null,2)})}),(0,o.jsx)(u.A,{value:"config",label:"Configuration",children:(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-js",children:'{\n displayOrder: ["extension"],\n fromExtensionsToString: ({extensions, language}) => {\n // If no extensions, skip it\n if (extensions === undefined || extensions.length === 0) {\n return undefined;\n }\n\n // Your own logic here ;)\n const parts = extensions.map(extension => {\n switch(extension.url) {\n case "https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/DosageOverride":\n let dosageOverride = extension.valueBoolean;\n return `[${language} translation of "dosageOverride" set to "${dosageOverride}"]`;\n case "https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/DosageOverrideReason":\n return extension.valueCodeableConcept.text;\n default:\n return `[${language} translation of "${JSON.stringify(extension)}"]`;\n }\n });\n\n return parts.join(" | ");\n }\n}\n'})})})]})}function m(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(x,{...e})}):x(e)}},816:(e,n,t)=>{t.d(n,{A:()=>a});var o=t(6540),r=t(6300),i=t(1812),s=t(4848);function a(e){let{dosage:n,config:t}=e;const[a,u]=(0,o.useState)(""),[l,c]=(0,o.useState)(t?.language||"en"),[d,f]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await r.A.build(t);f(e)}()}),[t]),(0,o.useEffect)((()=>{!async function(){if(d){const e=d.fromDosageToText(n);u(e)}}()}),[n,d]);return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{style:{display:"flex"},children:[(0,s.jsxs)("select",{value:l,onChange:e=>c(e.target.value),style:{marginRight:"10px"},children:[(0,s.jsx)("option",{value:"en",children:"English"}),(0,s.jsx)("option",{value:"fr",children:"French"}),(0,s.jsx)("option",{value:"nl",children:"Dutch"}),(0,s.jsx)("option",{value:"de",children:"German"})]}),(0,s.jsx)("button",{onClick:async()=>{if(d){await d.changeLanguage(l);const e=d.fromDosageToText(n);u(e)}},children:"Confirm"})]}),(0,s.jsx)("div",{style:{marginTop:"10px"},children:(0,s.jsx)(i.default,{language:"markup",children:(g=a,g.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var g}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6614],{844:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>g,contentTitle:()=>d,default:()=>m,frontMatter:()=>c,metadata:()=>f,toc:()=>h});var o=t(4848),i=t(8453),r=t(1812);const s=JSON.parse('{"extension":[{"url":"https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/DosageOverride","valueBoolean":true},{"url":"https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/DosageOverrideReason","valueCodeableConcept":{"text":"Respect my authority ! - Eric Cartman"}}]}');var a=t(4865),u=t(9365),l=t(816);const c={description:"Function to turn extension(s) into a string for humans.",title:"\ud83d\udd0c fromExtensionsToString"},d=void 0,f={id:"custom/fromExtensionsToString",title:"\ud83d\udd0c fromExtensionsToString",description:"Function to turn extension(s) into a string for humans.",source:"@site/docs/custom/fromExtensionsToString.mdx",sourceDirName:"custom",slug:"/custom/fromExtensionsToString",permalink:"/fhir-dosage-utils/docs/custom/fromExtensionsToString",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/custom/fromExtensionsToString.mdx",tags:[],version:"current",frontMatter:{description:"Function to turn extension(s) into a string for humans.",title:"\ud83d\udd0c fromExtensionsToString"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udcbb fromCodeableConceptToString",permalink:"/fhir-dosage-utils/docs/custom/fromCodeableConceptToString"},next:{title:"\ud83d\udccf fromFHIRQuantityUnitToString",permalink:"/fhir-dosage-utils/docs/custom/fromFHIRQuantityUnitToString"}},g={},h=[];function x(e){const n={code:"code",pre:"pre",...(0,i.R)(),...e.components};return(0,o.jsxs)(a.A,{children:[(0,o.jsx)(u.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(l.A,{dosage:s,config:{displayOrder:["extension"],fromExtensionsToString:({extensions:e,language:n})=>{if(void 0===e||0===e.length)return;return e.map((e=>{switch(e.url){case"https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/DosageOverride":let t=e.valueBoolean;return`[${n} translation of "dosageOverride" set to "${t}"]`;case"https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/DosageOverrideReason":return e.valueCodeableConcept.text;default:return`[${n} translation of "${JSON.stringify(e)}"]`}})).join(" | ")}}})}),(0,o.jsx)(u.A,{value:"json",label:"Dosage",children:(0,o.jsx)(r.default,{language:"json",children:JSON.stringify(s,null,2)})}),(0,o.jsx)(u.A,{value:"config",label:"Configuration",children:(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-js",children:'{\n displayOrder: ["extension"],\n fromExtensionsToString: ({extensions, language}) => {\n // If no extensions, skip it\n if (extensions === undefined || extensions.length === 0) {\n return undefined;\n }\n\n // Your own logic here ;)\n const parts = extensions.map(extension => {\n switch(extension.url) {\n case "https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/DosageOverride":\n let dosageOverride = extension.valueBoolean;\n return `[${language} translation of "dosageOverride" set to "${dosageOverride}"]`;\n case "https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/DosageOverrideReason":\n return extension.valueCodeableConcept.text;\n default:\n return `[${language} translation of "${JSON.stringify(extension)}"]`;\n }\n });\n\n return parts.join(" | ");\n }\n}\n'})})})]})}function m(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(x,{...e})}):x(e)}},816:(e,n,t)=>{t.d(n,{A:()=>a});var o=t(6540),i=t(6300),r=t(1812),s=t(4848);function a(e){let{dosage:n,config:t,i18nConfig:a}=e;const[u,l]=(0,o.useState)(""),[c,d]=(0,o.useState)(t?.language||"en"),[f,g]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await i.A.build(t,a);g(e)}()}),[t]),(0,o.useEffect)((()=>{!async function(){if(f){const e=f.fromDosageToText(n);l(e)}}()}),[n,f]);return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{style:{display:"flex"},children:[(0,s.jsxs)("select",{value:c,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,s.jsx)("option",{value:"en",children:"English"}),(0,s.jsx)("option",{value:"fr",children:"French"}),(0,s.jsx)("option",{value:"nl",children:"Dutch"}),(0,s.jsx)("option",{value:"de",children:"German"})]}),(0,s.jsx)("button",{onClick:async()=>{if(f){await f.changeLanguage(c);const e=f.fromDosageToText(n);l(e)}},children:"Confirm"})]}),(0,s.jsx)("div",{style:{marginTop:"10px"},children:(0,s.jsx)(r.default,{language:"markup",children:(h=u,h.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/ce6de2dc.043db7dd.js b/assets/js/ce6de2dc.043db7dd.js deleted file mode 100644 index 9bfae348..00000000 --- a/assets/js/ce6de2dc.043db7dd.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8147],{6998:e=>{e.exports=JSON.parse('{"title":"\ud83d\uddfa\ufe0f Real word examples","slug":"/demo/examples","permalink":"/fhir-dosage-utils/docs/demo/examples","navigation":{"previous":{"title":"\ud83d\udccf fromFHIRQuantityUnitToString","permalink":"/fhir-dosage-utils/docs/custom/fromFHIRQuantityUnitToString"},"next":{"title":"\ud83c\udf0c MedicationRequest","permalink":"/fhir-dosage-utils/docs/demo/examples/medicationrequest"}}}')}}]); \ No newline at end of file diff --git a/assets/js/ce6de2dc.c16f4d89.js b/assets/js/ce6de2dc.c16f4d89.js new file mode 100644 index 00000000..abfde874 --- /dev/null +++ b/assets/js/ce6de2dc.c16f4d89.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8147],{6998:e=>{e.exports=JSON.parse('{"title":"\ud83d\uddfa\ufe0f Real word examples","slug":"/demo/examples","permalink":"/fhir-dosage-utils/docs/demo/examples","navigation":{"previous":{"title":"\ud83c\udf10 i18nConfig","permalink":"/fhir-dosage-utils/docs/custom/i18nConfig"},"next":{"title":"\ud83c\udf0c MedicationRequest","permalink":"/fhir-dosage-utils/docs/demo/examples/medicationrequest"}}}')}}]); \ No newline at end of file diff --git a/assets/js/common.c89f493b.js b/assets/js/common.2d3afba5.js similarity index 64% rename from assets/js/common.c89f493b.js rename to assets/js/common.2d3afba5.js index 26971816..ee7b2481 100644 --- a/assets/js/common.c89f493b.js +++ b/assets/js/common.2d3afba5.js @@ -1 +1 @@ -(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2076],{4241:(e,t,n)=>{var o={"./de/common.json":[7680,7680],"./de/daysOfWeek.json":[2335,2335],"./de/eventTiming.json":[6689,6689],"./de/unitsOfTime.json":[6616,6616],"./en/common.json":[1092,1092],"./en/daysOfWeek.json":[6891,6891],"./en/eventTiming.json":[1293,1293],"./en/unitsOfTime.json":[6492,6492],"./fr/common.json":[4305,4305],"./fr/daysOfWeek.json":[4858,4858],"./fr/eventTiming.json":[8842,8842],"./fr/unitsOfTime.json":[47,47],"./nl/common.json":[2031,2031],"./nl/daysOfWeek.json":[7748,7748],"./nl/eventTiming.json":[404,404],"./nl/unitsOfTime.json":[1465,1465]};function i(e){if(!n.o(o,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=o[e],i=t[0];return n.e(t[1]).then((()=>n.t(i,19)))}i.keys=()=>Object.keys(o),i.id=4241,e.exports=i},6300:(e,t,n)=>{"use strict";n.d(t,{A:()=>Be});const o={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class i{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||o,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),n=0;n{this.observers[e]||(this.observers[e]=new Map);const 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])}emit(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o{let[t,o]=e;for(let i=0;i{let[o,i]=t;for(let s=0;s{e=n,t=o}));return n.resolve=e,n.reject=t,n}function l(e){return null==e?"":""+e}const u=/###/g;function c(e,t,n){function o(e){return e&&e.indexOf("###")>-1?e.replace(u,"."):e}function i(){return!e||"string"==typeof e}const s="string"!=typeof t?t:t.split(".");let r=0;for(;r":">",'"':""","'":"'","/":"/"};function m(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(e=>f[e])):e}const v=[" ",",","?","!",";"],y=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(void 0!==t)return t;const 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}}(20);function b(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];const o=t.split(n);let i=e;for(let s=0;s-1&&r0?e.replace("_","-"):e}class k extends r{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator,s=void 0!==o.ignoreJSONStructure?o.ignoreJSONStructure:this.options.ignoreJSONStructure;let r;e.indexOf(".")>-1?r=e.split("."):(r=[e,t],n&&(Array.isArray(n)?r.push(...n):"string"==typeof n&&i?r.push(...n.split(i)):r.push(n)));const a=g(this.data,r);return!a&&!t&&!n&&e.indexOf(".")>-1&&(e=r[0],t=r[1],n=r.slice(2).join(".")),a||!s||"string"!=typeof n?a:b(this.data&&this.data[e]&&this.data[e][t],n,i)}addResource(e,t,n,o){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1};const s=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator;let r=[e,t];n&&(r=r.concat(s?n.split(s):n)),e.indexOf(".")>-1&&(r=e.split("."),o=t,t=r[1]),this.addNamespaces(t),d(this.data,r,o),i.silent||this.emit("added",e,t,n,o)}addResources(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(const i in n)"string"!=typeof n[i]&&"[object Array]"!==Object.prototype.toString.apply(n[i])||this.addResource(e,t,i,n[i],{silent:!0});o.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,o,i){let s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},r=[e,t];e.indexOf(".")>-1&&(r=e.split("."),o=n,n=t,t=r[1]),this.addNamespaces(t);let a=g(this.data,r)||{};s.skipCopy||(n=JSON.parse(JSON.stringify(n))),o?h(a,n,i):a={...a,...n},d(this.data,r,a),s.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 void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((e=>t[e]&&Object.keys(t[e]).length>0))}toJSON(){return this.data}}var S={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,o,i){return e.forEach((e=>{this.processors[e]&&(t=this.processors[e].process(t,n,o,i))})),t}};const w={};class O extends r{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),function(e,t,n){e.forEach((e=>{t[e]&&(n[e]=t[e])}))}(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=s.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;const n=this.resolve(e,t);return n&&void 0!==n.res}extractFromKey(e,t){let n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");const o=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator;let i=t.ns||this.options.defaultNS||[];const s=n&&e.indexOf(n)>-1,r=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||function(e,t,n){t=t||"",n=n||"";const o=v.filter((e=>t.indexOf(e)<0&&n.indexOf(e)<0));if(0===o.length)return!0;const i=y.getRegExp(`(${o.map((e=>"?"===e?"\\?":e)).join("|")})`);let s=!i.test(e);if(!s){const t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(s=!0)}return s}(e,n,o));if(s&&!r){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:i};const s=e.split(n);(n!==o||n===o&&this.options.ns.indexOf(s[0])>-1)&&(i=s.shift()),e=s.join(o)}return"string"==typeof i&&(i=[i]),{key:e,namespaces:i}}translate(e,t,n){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);const o=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:s,namespaces:r}=this.extractFromKey(e[e.length-1],t),a=r[r.length-1],l=t.lng||this.language,u=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(l&&"cimode"===l.toLowerCase()){if(u){const e=t.nsSeparator||this.options.nsSeparator;return o?{res:`${a}${e}${s}`,usedKey:s,exactUsedKey:s,usedLng:l,usedNS:a,usedParams:this.getUsedParamsDetails(t)}:`${a}${e}${s}`}return o?{res:s,usedKey:s,exactUsedKey:s,usedLng:l,usedNS:a,usedParams:this.getUsedParamsDetails(t)}:s}const c=this.resolve(e,t);let d=c&&c.res;const g=c&&c.usedKey||s,h=c&&c.exactUsedKey||s,p=Object.prototype.toString.apply(d),f=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,m=!this.i18nFormat||this.i18nFormat.handleAsObject;if(m&&d&&("string"!=typeof d&&"boolean"!=typeof d&&"number"!=typeof d)&&["[object Number]","[object Function]","[object RegExp]"].indexOf(p)<0&&("string"!=typeof f||"[object Array]"!==p)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,d,{...t,ns:r}):`key '${s} (${this.language})' returned an object instead of string.`;return o?(c.res=e,c.usedParams=this.getUsedParamsDetails(t),c):e}if(i){const e="[object Array]"===p,n=e?[]:{},o=e?h:g;for(const s in d)if(Object.prototype.hasOwnProperty.call(d,s)){const e=`${o}${i}${s}`;n[s]=this.translate(e,{...t,joinArrays:!1,ns:r}),n[s]===e&&(n[s]=d[s])}d=n}}else if(m&&"string"==typeof f&&"[object Array]"===p)d=d.join(f),d&&(d=this.extendTranslation(d,e,t,n));else{let o=!1,r=!1;const u=void 0!==t.count&&"string"!=typeof t.count,g=O.hasDefaultValue(t),h=u?this.pluralResolver.getSuffix(l,t.count,t):"",p=t.ordinal&&u?this.pluralResolver.getSuffix(l,t.count,{ordinal:!1}):"",f=u&&!t.ordinal&&0===t.count&&this.pluralResolver.shouldUseIntlApi(),m=f&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${h}`]||t[`defaultValue${p}`]||t.defaultValue;!this.isValidLookup(d)&&g&&(o=!0,d=m),this.isValidLookup(d)||(r=!0,d=s);const v=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&r?void 0:d,y=g&&m!==d&&this.options.updateMissing;if(r||o||y){if(this.logger.log(y?"updateKey":"missingKey",l,a,s,y?m:d),i){const e=this.resolve(s,{...t,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=[];const n=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&n&&n[0])for(let t=0;t{const i=g&&o!==d?o:v;this.options.missingKeyHandler?this.options.missingKeyHandler(e,a,n,i,y,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,a,n,i,y,t),this.emit("missingKey",e,a,n,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&u?e.forEach((e=>{const n=this.pluralResolver.getSuffixes(e,t);f&&t[`defaultValue${this.options.pluralSeparator}zero`]&&n.indexOf(`${this.options.pluralSeparator}zero`)<0&&n.push(`${this.options.pluralSeparator}zero`),n.forEach((n=>{o([e],s+n,t[`defaultValue${n}`]||m)}))})):o(e,s,m))}d=this.extendTranslation(d,e,t,c,n),r&&d===s&&this.options.appendNamespaceToMissingKey&&(d=`${a}:${s}`),(r||o)&&this.options.parseMissingKeyHandler&&(d="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${a}:${s}`:s,o?d:void 0):this.options.parseMissingKeyHandler(d))}return o?(c.res=d,c.usedParams=this.getUsedParamsDetails(t),c):d}extendTranslation(e,t,n,o,i){var s=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||o.usedLng,o.usedNS,o.usedKey,{resolved:o});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const r="string"==typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let a;if(r){const t=e.match(this.interpolator.nestingRegexp);a=t&&t.length}let l=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),e=this.interpolator.interpolate(e,l,n.lng||this.language,n),r){const t=e.match(this.interpolator.nestingRegexp);a<(t&&t.length)&&(n.nest=!1)}!n.lng&&"v1"!==this.options.compatibilityAPI&&o&&o.res&&(n.lng=o.usedLng),!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,o=new Array(e),r=0;r1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((e=>{if(this.isValidLookup(t))return;const a=this.extractFromKey(e,r),l=a.key;n=l;let u=a.namespaces;this.options.fallbackNS&&(u=u.concat(this.options.fallbackNS));const c=void 0!==r.count&&"string"!=typeof r.count,d=c&&!r.ordinal&&0===r.count&&this.pluralResolver.shouldUseIntlApi(),g=void 0!==r.context&&("string"==typeof r.context||"number"==typeof r.context)&&""!==r.context,h=r.lngs?r.lngs:this.languageUtils.toResolveHierarchy(r.lng||this.language,r.fallbackLng);u.forEach((e=>{this.isValidLookup(t)||(s=e,!w[`${h[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(s)&&(w[`${h[0]}-${e}`]=!0,this.logger.warn(`key "${n}" for languages "${h.join(", ")}" won't get resolved as namespace "${s}" 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!!!")),h.forEach((n=>{if(this.isValidLookup(t))return;i=n;const s=[l];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(s,l,n,e,r);else{let e;c&&(e=this.pluralResolver.getSuffix(n,r.count,r));const t=`${this.options.pluralSeparator}zero`,o=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(c&&(s.push(l+e),r.ordinal&&0===e.indexOf(o)&&s.push(l+e.replace(o,this.options.pluralSeparator)),d&&s.push(l+t)),g){const n=`${l}${this.options.contextSeparator}${r.context}`;s.push(n),c&&(s.push(n+e),r.ordinal&&0===e.indexOf(o)&&s.push(n+e.replace(o,this.options.pluralSeparator)),d&&s.push(n+t))}}let a;for(;a=s.pop();)this.isValidLookup(t)||(o=a,t=this.getResource(n,e,a,r))})))}))})),{res:t,usedKey:n,exactUsedKey:o,usedLng:i,usedNS:s}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,o):this.resourceStore.getResource(e,t,n,o)}getUsedParamsDetails(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=e.replace&&"string"!=typeof e.replace;let o=n?e.replace:e;if(n&&void 0!==e.count&&(o.count=e.count),this.options.interpolation.defaultVariables&&(o={...this.options.interpolation.defaultVariables,...o}),!n){o={...o};for(const e of t)delete o[e]}return o}static hasDefaultValue(e){const t="defaultValue";for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,12)&&void 0!==e[n])return!0;return!1}}function L(e){return e.charAt(0).toUpperCase()+e.slice(1)}class j{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=s.create("languageUtils")}getScriptPartFromCode(e){if(!(e=x(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=x(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if("string"==typeof e&&e.indexOf("-")>-1){const t=["hans","hant","latn","cyrl","cans","mong","arab"];let n=e.split("-");return this.options.lowerCaseLng?n=n.map((e=>e.toLowerCase())):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=L(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=L(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=L(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach((e=>{if(t)return;const n=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(n)||(t=n)})),!t&&this.options.supportedLngs&&e.forEach((e=>{if(t)return;const n=this.getLanguagePartFromCode(e);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find((e=>e===n?e:e.indexOf("-")<0&&n.indexOf("-")<0?void 0:e.indexOf("-")>0&&n.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===n||0===e.indexOf(n)&&n.length>1?e:void 0))})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];let n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}toResolveHierarchy(e,t){const n=this.getFallbackCodes(t||this.options.fallbackLng||[],e),o=[],i=e=>{e&&(this.isSupportedCode(e)?o.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return"string"==typeof e&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"==typeof e&&i(this.formatLanguageCode(e)),n.forEach((e=>{o.indexOf(e)<0&&i(this.formatLanguageCode(e))})),o}}let N=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],C={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}};const R=["v1","v2","v3"],P=["v4"],$={zero:0,one:1,two:2,few:3,many:4,other:5};class T{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=s.create("pluralResolver"),this.options.compatibilityJSON&&!P.includes(this.options.compatibilityJSON)||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=function(){const e={};return N.forEach((t=>{t.lngs.forEach((n=>{e[n]={numbers:t.nr,plurals:C[t.fc]}}))})),e}()}addRule(e,t){this.rules[e]=t}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(x("dev"===e?"en":e),{type:t.ordinal?"ordinal":"cardinal"})}catch(n){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}getPluralFormsOfKey(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((e=>`${t}${e}`))}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.getRule(e,t);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort(((e,t)=>$[e]-$[t])).map((e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`)):n.numbers.map((n=>this.getSuffix(e,n,t))):[]}getSuffix(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o=this.getRule(e,n);return o?this.shouldUseIntlApi()?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${o.select(t)}`:this.getSuffixRetroCompatible(o,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){const n=e.noAbs?e.plurals(t):e.plurals(Math.abs(t));let o=e.numbers[n];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===o?o="plural":1===o&&(o=""));const i=()=>this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString();return"v1"===this.options.compatibilityJSON?1===o?"":"number"==typeof o?`_plural_${o.toString()}`:i():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?i():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}shouldUseIntlApi(){return!R.includes(this.options.compatibilityJSON)}}function E(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=function(e,t,n){const o=g(e,n);return void 0!==o?o:g(t,n)}(e,t,n);return!s&&i&&"string"==typeof n&&(s=b(e,n,o),void 0===s&&(s=b(t,n,o))),s}class I{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=s.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const t=e.interpolation;this.escape=void 0!==t.escape?t.escape:m,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?p(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?p(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?p(t.nestingPrefix):t.nestingPrefixEscaped||p("$t("),this.nestingSuffix=t.nestingSuffix?p(t.nestingSuffix):t.nestingSuffixEscaped||p(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(e,t)=>e&&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,o){let i,s,r;const a=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(e){return e.replace(/\$/g,"$$$$")}const c=e=>{if(e.indexOf(this.formatSeparator)<0){const i=E(t,a,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...o,...t,interpolationkey:e}):i}const i=e.split(this.formatSeparator),s=i.shift().trim(),r=i.join(this.formatSeparator).trim();return this.format(E(t,a,s,this.options.keySeparator,this.options.ignoreJSONStructure),r,n,{...o,...t,interpolationkey:s})};this.resetRegExp();const d=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,g=o&&o.interpolation&&void 0!==o.interpolation.skipOnVariables?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>u(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?u(this.escape(e)):u(e)}].forEach((t=>{for(r=0;i=t.regex.exec(e);){const n=i[1].trim();if(s=c(n),void 0===s)if("function"==typeof d){const t=d(e,i,o);s="string"==typeof t?t:""}else if(o&&Object.prototype.hasOwnProperty.call(o,n))s="";else{if(g){s=i[0];continue}this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),s=""}else"string"==typeof s||this.useRawValueToEscape||(s=l(s));const a=t.safeValue(s);if(e=e.replace(i[0],a),g?(t.regex.lastIndex+=s.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,r++,r>=this.maxReplaces)break}})),e}nest(e,t){let n,o,i,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function r(e,t){const n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;const o=e.split(new RegExp(`${n}[ ]*{`));let s=`{${o[1]}`;e=o[0],s=this.interpolate(s,i);const r=s.match(/'/g),a=s.match(/"/g);(r&&r.length%2==0&&!a||a.length%2!=0)&&(s=s.replace(/'/g,'"'));try{i=JSON.parse(s),t&&(i={...t,...i})}catch(l){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,l),`${e}${n}${s}`}return delete i.defaultValue,e}for(;n=this.nestingRegexp.exec(e);){let a=[];i={...s},i=i.replace&&"string"!=typeof i.replace?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;let u=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){const e=n[1].split(this.formatSeparator).map((e=>e.trim()));n[1]=e.shift(),a=e,u=!0}if(o=t(r.call(this,n[1].trim(),i),i),o&&n[0]===e&&"string"!=typeof o)return o;"string"!=typeof o&&(o=l(o)),o||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),o=""),u&&(o=a.reduce(((e,t)=>this.format(e,t,s.lng,{...s,interpolationkey:n[1].trim()})),o.trim())),e=e.replace(n[0],o),this.regexp.lastIndex=0}return e}}function A(e){const t={};return function(n,o,i){const s=o+JSON.stringify(i);let r=t[s];return r||(r=e(x(o),i),t[s]=r),r(n)}}class D{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=s.create("formatter"),this.options=e,this.formats={number:A(((e,t)=>{const n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)})),currency:A(((e,t)=>{const n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)})),datetime:A(((e,t)=>{const n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)})),relativetime:A(((e,t)=>{const n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")})),list:A(((e,t)=>{const n=new Intl.ListFormat(e,{...t});return e=>n.format(e)}))},this.init(e)}init(e){const t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=A(t)}format(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return t.split(this.formatSeparator).reduce(((e,t)=>{const{formatName:i,formatOptions:s}=function(e){let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const o=e.split("(");t=o[0].toLowerCase().trim();const i=o[1].substring(0,o[1].length-1);"currency"===t&&i.indexOf(":")<0?n.currency||(n.currency=i.trim()):"relativetime"===t&&i.indexOf(":")<0?n.range||(n.range=i.trim()):i.split(";").forEach((e=>{if(!e)return;const[t,...o]=e.split(":"),i=o.join(":").trim().replace(/^'+|'+$/g,"");n[t.trim()]||(n[t.trim()]=i),"false"===i&&(n[t.trim()]=!1),"true"===i&&(n[t.trim()]=!0),isNaN(i)||(n[t.trim()]=parseInt(i,10))}))}return{formatName:t,formatOptions:n}}(t);if(this.formats[i]){let t=e;try{const r=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{},a=r.locale||r.lng||o.locale||o.lng||n;t=this.formats[i](e,a,{...s,...o,...r})}catch(r){this.logger.warn(r)}return t}return this.logger.warn(`there was no format function for ${i}`),e}),e)}}class B extends r{constructor(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=o,this.logger=s.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=o.maxParallelReads||10,this.readingCalls=0,this.maxRetries=o.maxRetries>=0?o.maxRetries:5,this.retryTimeout=o.retryTimeout>=1?o.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(n,o.backend,o)}queueLoad(e,t,n,o){const i={},s={},r={},a={};return e.forEach((e=>{let o=!0;t.forEach((t=>{const r=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[r]=2:this.state[r]<0||(1===this.state[r]?void 0===s[r]&&(s[r]=!0):(this.state[r]=1,o=!1,void 0===s[r]&&(s[r]=!0),void 0===i[r]&&(i[r]=!0),void 0===a[t]&&(a[t]=!0)))})),o||(r[e]=!0)})),(Object.keys(i).length||Object.keys(s).length)&&this.queue.push({pending:s,pendingCount:Object.keys(s).length,loaded:{},errors:[],callback:o}),{toLoad:Object.keys(i),pending:Object.keys(s),toLoadLanguages:Object.keys(r),toLoadNamespaces:Object.keys(a)}}loaded(e,t,n){const o=e.split("|"),i=o[0],s=o[1];t&&this.emit("failedLoading",i,s,t),n&&this.store.addResourceBundle(i,s,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2;const r={};this.queue.forEach((n=>{!function(e,t,n,o){const{obj:i,k:s}=c(e,t,Object);i[s]=i[s]||[],o&&(i[s]=i[s].concat(n)),o||i[s].push(n)}(n.loaded,[i],s),function(e,t){void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)}(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach((e=>{r[e]||(r[e]={});const t=n.loaded[e];t.length&&t.forEach((t=>{void 0===r[e][t]&&(r[e][t]=!0)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",r),this.queue=this.queue.filter((e=>!e.done))}read(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,s=arguments.length>5?arguments[5]:void 0;if(!e.length)return s(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:o,wait:i,callback:s});this.readingCalls++;const r=(r,a)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}r&&a&&o{this.read.call(this,e,t,n,o+1,2*i,s)}),i):s(r,a)},a=this.backend[n].bind(this.backend);if(2!==a.length)return a(e,t,r);try{const n=a(e,t);n&&"function"==typeof n.then?n.then((e=>r(null,e))).catch(r):r(null,n)}catch(l){r(l)}}prepareLoading(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);const i=this.queueLoad(e,t,n,o);if(!i.toLoad.length)return i.pending.length||o(),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){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=e.split("|"),o=n[0],i=n[1];this.read(o,i,"read",void 0,void 0,((n,s)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${o} failed`,n),!n&&s&&this.logger.log(`${t}loaded namespace ${i} for language ${o}`,s),this.loaded(e,n,s)}))}saveMissing(e,t,n,o,i){let s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},r=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&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(null!=n&&""!==n){if(this.backend&&this.backend.create){const l={...s,isUpdate:i},u=this.backend.create.bind(this.backend);if(u.length<6)try{let i;i=5===u.length?u(e,t,n,o,l):u(e,t,n,o),i&&"function"==typeof i.then?i.then((e=>r(null,e))).catch(r):r(null,i)}catch(a){r(a)}else u(e,t,n,o,r,l)}e&&e[0]&&this.store.addResource(e[0],t,n,o)}}}function F(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",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:function(e){let t={};if("object"==typeof e[1]&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const n=e[3]||e[2];Object.keys(n).forEach((e=>{t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function M(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function V(){}class U extends r{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;var n;if(super(),this.options=M(e),this.services={},this.logger=s,this.modules={external:[]},n=this,Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach((e=>{"function"==typeof n[e]&&(n[e]=n[e].bind(n))})),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout((()=>{this.init(e,t)}),0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const o=F();function i(e){return e?"function"==typeof e?new e:e:null}if(this.options={...o,...this.options,...M(t)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...o.interpolation,...this.options.interpolation}),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){let t;this.modules.logger?s.init(i(this.modules.logger),this.options):s.init(null,this.options),this.modules.formatter?t=this.modules.formatter:"undefined"!=typeof Intl&&(t=D);const n=new j(this.options);this.store=new k(this.options.resources,this.options);const r=this.services;r.logger=s,r.resourceStore=this.store,r.languageUtils=n,r.pluralResolver=new T(n,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!t||this.options.interpolation.format&&this.options.interpolation.format!==o.interpolation.format||(r.formatter=i(t),r.formatter.init(r,this.options),this.options.interpolation.format=r.formatter.format.bind(r.formatter)),r.interpolator=new I(this.options),r.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},r.backendConnector=new B(i(this.modules.backend),r.resourceStore,r,this.options),r.backendConnector.on("*",(function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i1?n-1:0),i=1;i{e.init&&e.init(this)}))}if(this.format=this.options.interpolation.format,n||(n=V),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(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((t=>{this[t]=function(){return e.store[t](...arguments)}}));["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((t=>{this[t]=function(){return e.store[t](...arguments),e}}));const r=a(),l=()=>{const e=(e,t)=>{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),r.resolve(t),n(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?l():setTimeout(l,0),r}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:V;const n="string"==typeof e?e:this.language;if("function"==typeof e&&(t=e),!this.options.resources||this.options.partialBundledLanguages){if(n&&"cimode"===n.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return t();const e=[],o=t=>{if(!t)return;if("cimode"===t)return;this.services.languageUtils.toResolveHierarchy(t).forEach((t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)}))};if(n)o(n);else{this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((e=>o(e)))}this.options.preload&&this.options.preload.forEach((e=>o(e))),this.services.backendConnector.load(e,this.options.ns,(e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),t(e)}))}else t(null)}reloadResources(e,t,n){const o=a();return e||(e=this.languages),t||(t=this.options.ns),n||(n=V),this.services.backendConnector.reload(e,t,(e=>{o.resolve(),n(e)})),o}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&S.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let t=0;t-1)&&this.store.hasLanguageSomeTranslations(e)){this.resolvedLanguage=e;break}}}changeLanguage(e,t){var n=this;this.isLanguageChangingTo=e;const o=a();this.emit("languageChanging",e);const i=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},s=(e,s)=>{s?(i(s),this.translator.changeLanguage(s),this.isLanguageChangingTo=void 0,this.emit("languageChanged",s),this.logger.log("languageChanged",s)):this.isLanguageChangingTo=void 0,o.resolve((function(){return n.t(...arguments)})),t&&t(e,(function(){return n.t(...arguments)}))},r=t=>{e||t||!this.services.languageDetector||(t=[]);const n="string"==typeof t?t:this.services.languageUtils.getBestMatchFromCodes(t);n&&(this.language||i(n),this.translator.language||this.translator.changeLanguage(n),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(n)),this.loadResources(n,(e=>{s(e,n)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(r):this.services.languageDetector.detect(r):r(e):r(this.services.languageDetector.detect()),o}getFixedT(e,t,n){var o=this;const i=function(e,t){let s;if("object"!=typeof t){for(var r=arguments.length,a=new Array(r>2?r-2:0),l=2;l`${s.keyPrefix}${u}${e}`)):s.keyPrefix?`${s.keyPrefix}${u}${e}`:e,o.t(c,s)};return"string"==typeof e?i.lng=e:i.lngs=e,i.ns=t,i.keyPrefix=n,i}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};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;const n=t.lng||this.resolvedLanguage||this.languages[0],o=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;const s=(e,t)=>{const n=this.services.backendConnector.state[`${e}|${t}`];return-1===n||2===n};if(t.precheck){const e=t.precheck(this,s);if(void 0!==e)return e}return!!this.hasResourceBundle(n,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!s(n,e)||o&&!s(i,e)))}loadNamespaces(e,t){const n=a();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)})),this.loadResources((e=>{n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){const n=a();"string"==typeof e&&(e=[e]);const o=this.options.preload||[],i=e.filter((e=>o.indexOf(e)<0));return i.length?(this.options.preload=o.concat(i),this.loadResources((e=>{n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";const t=this.services&&this.services.languageUtils||new j(F());return["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"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){return new U(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:V;const n=e.forkResourceStore;n&&delete e.forkResourceStore;const o={...this.options,...e,isClone:!0},i=new U(o);void 0===e.debug&&void 0===e.prefix||(i.logger=i.logger.clone(e));return["store","services","language"].forEach((e=>{i[e]=this[e]})),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},n&&(i.store=new k(this.store.data,o),i.services.resourceStore=i.store),i.translator=new O(i.services,o),i.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.backends=[],this.type="backend",this.allOptions=o,this.init(t,n)}var t,n,o;return t=e,n=[{key:"init",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=function(e){return z.call(J.call(arguments,1),(function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])})),e}(n,this.options||{},{handleEmptyResourcesAsFailed:!0,cacheHitMode:"none"}),this.allOptions=o,this.options.backends&&this.options.backends.forEach((function(n,i){var s;t.backends[i]=t.backends[i]||((s=n)?"function"==typeof s?new s:s:null),t.backends[i].init(e,t.options.backendOptions&&t.options.backendOptions[i]||{},o)})),this.services&&this.options.reloadInterval&&setInterval((function(){return t.reload()}),this.options.reloadInterval)}},{key:"read",value:function(e,t,n){var o=this,i=this.backends.length,s=function n(i,s){if(!(i<0)){var r=o.backends[i];r.save?(r.save(e,t,s),n(i-1,s)):n(i-1,s)}};!function r(a){if(a>=i)return n(new Error("non of the backend loaded data",!0));var l=a===i-1,u=o.options.handleEmptyResourcesAsFailed&&!l?0:-1,c=o.backends[a];c.read?Q(c,e,t,(function(i,l,d){if(!i&&l&&Object.keys(l).length>u){if(n(null,l,a),s(a-1,l),c.save&&o.options.cacheHitMode&&["refresh","refreshAndUpdateStore"].indexOf(o.options.cacheHitMode)>-1){if(d&&o.options.refreshExpirationTime&&d+o.options.refreshExpirationTime>Date.now())return;var g=o.backends[a+1];g&&g.read&&Q(g,e,t,(function(n,i){n||i&&(Object.keys(i).length<=u||(s(a,i),"refreshAndUpdateStore"===o.options.cacheHitMode&&o.services&&o.services.resourceStore&&o.services.resourceStore.addResourceBundle(e,t,i)))}))}}else r(a+1)})):r(a+1)}(0)}},{key:"create",value:function(e,t,n,o){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){},s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.backends.forEach((function(r){if(r.create){var a=r.create.bind(r);if(a.length<6)try{var l;(l=5===a.length?a(e,t,n,o,s):a(e,t,n,o))&&"function"==typeof l.then?l.then((function(e){return i(null,e)})).catch(i):i(null,l)}catch(u){i(u)}else a(e,t,n,o,i,s)}}))}},{key:"reload",value:function(){var e=this,t=this.services,n=t.backendConnector,o=t.languageUtils,i=t.logger,s=n.language;if(!s||"cimode"!==s.toLowerCase()){var r=[],a=function(e){o.toResolveHierarchy(e).forEach((function(e){r.indexOf(e)<0&&r.push(e)}))};a(s),this.allOptions.preload&&this.allOptions.preload.forEach((function(e){return a(e)})),r.forEach((function(t){e.allOptions.ns.forEach((function(e){n.read(t,e,"read",null,null,(function(o,s){o&&i.warn("loading namespace ".concat(e," for language ").concat(t," failed"),o),!o&&s&&i.log("loaded namespace ".concat(e," for language ").concat(t),s),n.loaded("".concat(t,"|").concat(e),o,s)}))}))}))}}}],n&&K(t.prototype,n),o&&K(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();Y.type="backend";function G(e,t){if(void 0===e.doseAndRate)return;let n=e.doseAndRate.find((e=>void 0!==e[t]));return void 0!==n?n[t]:void 0}function Z(e){let{config:t,dos:n,i18next:o}=e,i=G(n,"doseQuantity");if(void 0===i)return;let s=i.value||1,r=t.fromFHIRQuantityUnitToString({language:t.language,quantity:i});return o.t("fields.doseQuantity",{quantity:s,unit:r})}function X(e){let{range:t,config:n,i18next:o}=e;const{low:i,high:s}=t,r=i?.value,a=s?.value;let l=s||i,u=void 0!==l?.unit||void 0!==l?.code;if(void 0===r&&void 0===a)return;let c=u?function(e,t,n){let o=t.value;if("http://hl7.org/fhir/ValueSet/duration-units"===t.system){let n=t.code;return e.t(`unitsOfTime:withoutCount.${n}`,{count:o})}return n.fromFHIRQuantityUnitToString({language:n.language,quantity:t})}(o,l,n):"",d=u?"withUnit":"withoutUnit";return void 0!==r&&void 0!==a?o.t(`amount.range.${d}.lowAndHigh`,{low:r,high:a,unit:c}):void 0!==a?o.t(`amount.range.${d}.onlyHigh`,{high:a,unit:c}):o.t(`amount.range.${d}.onlyLow`,{low:r,unit:c})}function ee(e){let{dos:t,config:n,i18next:o}=e,i=G(t,"doseRange");if(void 0===i)return;const s=X({range:i,config:n,i18next:o});return void 0!==s?o.t("fields.doseRange",{rangeText:s}):void 0}function te(e){let{dos:t,config:n,i18next:o}=e,i=G(t,"rateQuantity");if(void 0===i)return;let s=i.value||1,r=n.fromFHIRQuantityUnitToString({language:n.language,quantity:i});return o.t("fields.rateQuantity",{quantity:s,unit:r})}function ne(e){let{dos:t,config:n,i18next:o}=e,i=G(t,"rateRange");if(void 0===i)return;const s=X({range:i,config:n,i18next:o});return void 0!==s?o.t("fields.rateRange",{rangeText:s}):void 0}function oe(e){return void 0!==(e?.unit||e?.code)}function ie(e){let{ratio:t,config:n,i18next:o}=e;const{denominator:i,numerator:s}=t;let r=oe(s)?n.fromFHIRQuantityUnitToString({language:n.language,quantity:s}):void 0,a=oe(i)?n.fromFHIRQuantityUnitToString({language:n.language,quantity:i}):void 0,l=s?.value,u=i?.value;const c=[];if(void 0!==l){let e=void 0!==r?"withUnit":"withoutUnit";const t=o.t(`amount.ratio.${e}.numerator`,{count:l,numeratorUnit:r});c.push(t)}if(void 0!==u){let e=void 0!==a?"withUnit":"withoutUnit";const t=o.t(`amount.ratio.${e}.denominator`,{count:u,denominatorUnit:a});c.push(t)}return 0===c.length?void 0:c.join(" ")}function se(e){let{dos:t,config:n,i18next:o}=e,i=G(t,"rateRatio");if(void 0===i)return;const s=ie({config:n,i18next:o,ratio:i});return void 0!==s?o.t("fields.rateRatio",{ratioText:s}):void 0}function re(e){if(void 0!==e.timing&&void 0!==e.timing.repeat)return e.timing.repeat}function ae(e){let{dos:t,i18next:n}=e,o=re(t);if(void 0===o)return;let i=o.duration,s=o.durationMax,r=o.durationUnit;return void 0===r?void 0:[void 0!==i&&n.t("fields.duration",{durationText:n.t(`unitsOfTime:withCount.${r}`,{count:i})}),void 0!==s&&n.t("fields.durationMax",{durationMaxText:n.t(`unitsOfTime:withCount.${r}`,{count:s})})].filter((e=>!1!==e)).join(" ")}function le(e){let{dos:t,i18next:n}=e,o=re(t);if(void 0===o)return;let i=o.frequency,s=o.frequencyMax;return void 0===i&&void 0===s?void 0:void 0!==i&&void 0!==s?n.t("fields.frequency.withfrequencyMax",{count:s,frequency:i}):void 0!==s?n.t("fields.frequencyMax.frequencyMax",{count:s}):n.t("fields.frequency.onlyFrequency",{count:i})}function ue(e){let{dos:t,i18next:n}=e,o=re(t);if(void 0===o)return;let i=o.period,s=o.periodMax,r=o.periodUnit;return void 0===r?void 0:void 0!==i&&void 0!==s?n.t("fields.periodMax.withPeriod",{period:i,count:s,unit:n.t(`unitsOfTime:withoutCount.${r}`,{count:s})}):void 0!==s?n.t("fields.periodMax.onlyPeriodMax",{count:s,unit:n.t(`unitsOfTime:withoutCount.${r}`,{count:s})}):n.t("fields.period.period",{count:i,unit:n.t(`unitsOfTime:withoutCount.${r}`,{count:i})})}const ce={and:"linkwords.and",then:"linkwords.then"};function de(e,t,n){void 0===n&&(n="and");const o=t.slice(0,-1).join(", "),i=t.slice(-1).join(""),s=ce[n];return o+(t.length>1?` ${e.t(s)} `:"")+i}function ge(e,t){if(void 0===t||t<=0)return;let n=(o=t,{days:Math.floor(o/1440),hours:Math.floor(o%1440/60),minutes:o%60});var o;return[n.days>0?e.t("unitsOfTime:withCount.d",{count:n.days}):void 0,n.hours>0?e.t("unitsOfTime:withCount.h",{count:n.hours}):void 0,n.minutes>0?e.t("unitsOfTime:withCount.min",{count:n.minutes}):void 0].filter((e=>void 0!==e)).join(" ")}function he(e,t){if(void 0===t||0===t.length)return;const n=t.map((t=>e.t(`eventTiming:${t}`)));return de(e,n)}function pe(e){let{dos:t,i18next:n}=e,o=re(t);if(void 0===o)return;let i=o.offset,s=o.when;return void 0!==i||void 0!==s?[ge(n,i),he(n,s)].filter((e=>void 0!==e)).join(" "):void 0}function fe(e){let{dos:t,i18next:n}=e,o=re(t);if(void 0===o)return;let i=o.dayOfWeek;if(void 0!==i&&0!==i.length){const e=i.map((e=>n.t(`daysOfWeek:${e}`))),t=de(n,e);return n.t("fields.dayOfWeek.dayOfWeek",{count:i.length,dayOfWeek:t})}}function me(e){var t=e.split(":");return t.length>2&&"00"===t[2]&&t.pop(),t.join(":")}function ve(e){let{dos:t,i18next:n}=e,o=re(t);if(void 0===o)return;let i=o.timeOfDay;if(void 0!==i&&0!==i.length){const e=i.map(me),t=de(n,e);return n.t("fields.timeOfDay",{timeOfDay:t,count:e.length})}}function ye(e,t,n){return de(e,t.map((e=>n.fromCodeableConceptToString({code:e,language:n.language}))).filter((e=>void 0!==e)))}function be(e){let{dos:t,config:n,i18next:o}=e,i=t.asNeededBoolean,s=t.asNeededCodeableConcept,r=t.asNeededFor,a=t.asNeeded,l=r||(void 0!==s?[s]:[]);if(l.length>0)return o.t("fields.asNeededFor",{reasons:ye(o,l,n)});return i||a||!1?o.t("fields.asNeeded"):void 0}function xe(e){let{dos:t,config:n,i18next:o}=e,i=re(t);if(void 0===i)return;let s=i.boundsDuration;if(void 0!==s){let e=function(e,t,n){let o=t.value;if("http://hl7.org/fhir/ValueSet/duration-units"===t.system){let n=t.code;return e.t(`unitsOfTime:withCount.${n}`,{count:o})}return`${o} ${n.fromFHIRQuantityUnitToString({language:n.language,quantity:t})}`}(o,s,n);return o.t("fields.boundsDuration",{durationText:e})}}function ke(e){let{dos:t,config:n,i18next:o}=e,i=re(t);if(void 0===i)return;let s=i.boundsRange;if(void 0!==s){const e=X({range:s,config:n,i18next:o});if(void 0===e)return;return o.t("fields.boundsRange",{rangeText:e})}}function Se(e){let{dos:t,i18next:n}=e,o=re(t);if(void 0===o)return;let i=o.count,s=o.countMax;return void 0===i&&void 0===s?void 0:void 0!==i&&void 0!==s?n.t("fields.countMax.countMax",{count:s,low:i}):void 0!==s?n.t("fields.count.count",{count:s}):n.t("fields.count.count",{count:i})}function we(e){return{year:void 0===e.dateStyle?e.year||"numeric":void 0,month:void 0===e.dateStyle?e.month||"2-digit":void 0,day:void 0===e.dateStyle?e.day||"2-digit":void 0,weekday:void 0===e.dateStyle?e.weekday:void 0}}function Oe(e){return{hour:void 0===e.timeStyle?e.hour||"2-digit":void 0,minute:void 0===e.timeStyle?e.minute||"2-digit":void 0,second:void 0===e.timeStyle?e.second||"2-digit":void 0}}function Le(e){let{config:t,datetimes:n}=e,o=t.dateTimeFormatOptions;return n.map((e=>{let t=new Date(e),n=e.includes("T"),o=e.split("-").length-1;return{date:t,hasTimePart:n,hasMonths:o>=1,hasDays:o>=2}})).map((e=>{let{date:n,hasTimePart:i,hasMonths:s,hasDays:r}=e;if(!s){return new Intl.DateTimeFormat(t.language,{year:"numeric"}).format(n)}if(!r){return new Intl.DateTimeFormat(t.language,{year:"numeric",month:"long"}).format(n)}if(!i){return new Intl.DateTimeFormat(t.language,{dateStyle:o.dateStyle,...we(o)}).format(n)}return new Intl.DateTimeFormat(t.language,{dateStyle:o.dateStyle,timeStyle:o.timeStyle,...we(o),...Oe(o)}).format(n)}))}function je(e){let{config:t,datetime:n}=e;if(void 0===n)return;return Le({config:t,datetimes:[n]})[0]}function Ne(e){let{dos:t,config:n,i18next:o}=e;if(void 0===t.timing||void 0===t.timing.event||0===t.timing.event.length)return;let i=t.timing.event,s=de(o,Le({config:n,datetimes:i}));return o.t("fields.event.event",{count:i.length,event:s})}function Ce(e){let{dos:t,config:n,i18next:o}=e;if(void 0!==t.additionalInstruction&&0!==t.additionalInstruction.length)return de(o,t.additionalInstruction.map((e=>n.fromCodeableConceptToString({code:e,language:n.language}))).filter((e=>void 0!==e)))}function Re(e){let{dos:t,config:n,i18next:o}=e;if(void 0===t.maxDosePerLifetime)return;const i=t.maxDosePerLifetime;let s=n.fromFHIRQuantityUnitToString({language:n.language,quantity:i});return o.t("fields.maxDosePerLifetime",{count:i.value||1,unit:s})}function Pe(e){let{dos:t,config:n,i18next:o}=e;if(void 0===t.maxDosePerAdministration)return;const i=t.maxDosePerAdministration;let s=n.fromFHIRQuantityUnitToString({language:n.language,quantity:i});return o.t("fields.maxDosePerAdministration",{count:i.value||1,unit:s})}function $e(e){let{dos:t,config:n,i18next:o}=e;if(void 0===t.timing||void 0===t.timing.repeat||void 0===t.timing.repeat.boundsPeriod)return;const i=t.timing.repeat.boundsPeriod;let s=je({config:n,datetime:i.start}),r=je({config:n,datetime:i.end});return void 0!==s&&void 0!==r?o.t("fields.boundsPeriod.startAndEnd",{start:s,end:r}):void 0!==s?o.t("fields.boundsPeriod.onlyStart",{start:s}):o.t("fields.boundsPeriod.onlyEnd",{end:r})}function Te(e){let{dos:t,config:n,i18next:o}=e;if(void 0===t.maxDosePerPeriod)return;const i=t.maxDosePerPeriod,s=Array.isArray(i)?i:[i];if(0===s.length)return;const r=s.map((e=>ie({config:n,i18next:o,ratio:e}))).filter((e=>void 0!==e)),a=de(o,r);return o.t("fields.maxDosePerPeriod",{count:s.length,maxDosePerPeriodText:a})}const Ee={additionalInstruction:e=>Ce(e),asNeeded:e=>be(e),boundsDuration:e=>xe(e),boundsRange:e=>ke(e),boundsPeriod:e=>$e(e),code:e=>{let{dos:t,config:n}=e;return n.fromCodeableConceptToString({language:n.language,code:t.timing?.code})},countCountMax:e=>Se(e),dayOfWeek:e=>fe(e),doseQuantity:e=>Z(e),doseRange:e=>ee(e),durationDurationMax:e=>ae(e),event:e=>Ne(e),extension:e=>{let{dos:t,config:n}=e;return n.fromExtensionsToString({language:n.language,extensions:t.extension})},frequencyFrequencyMax:e=>le(e),frequencyFrequencyMaxPeriodPeriodMax:e=>{let t=[le(e),ue(e)].filter((e=>void 0!==e));return t.length>0?t.join(" "):void 0},maxDosePerAdministration:e=>Pe(e),maxDosePerLifetime:e=>Re(e),maxDosePerPeriod:e=>Te(e),method:e=>{let{dos:t,config:n}=e;return n.fromCodeableConceptToString({language:n.language,code:t.method})},offsetWhen:e=>pe(e),patientInstruction:e=>{let{dos:t}=e;return t.patientInstruction},periodPeriodMax:e=>ue(e),rateQuantity:e=>te(e),rateRange:e=>ne(e),rateRatio:e=>se(e),route:e=>{let{dos:t,config:n}=e;return n.fromCodeableConceptToString({language:n.language,code:t.route})},site:e=>{let{dos:t,config:n}=e;return n.fromCodeableConceptToString({language:n.language,code:t.site})},text:e=>{let{dos:t}=e;return t.text},timeOfDay:e=>ve(e)};function Ie(e){let{entry:t,...n}=e;return Ee[t](n)}const Ae={language:"en",fromFHIRQuantityUnitToString:function(e){let{quantity:t}=e;return void 0!==t.code?t.code:void 0!==t.unit?t.unit:""},fromCodeableConceptToString:function(e){let{code:t}=e;if(void 0===t)return;if(void 0!==t.text)return t.text;if(void 0===t.coding||0===t.coding.length)return;let n=t.coding[0];return n.display||n.code},fromExtensionsToString:function(e){let{extensions:t}=e;if(void 0!==t&&0!==t.length)return t.map((e=>JSON.stringify(e))).join(" ")},displayOrder:["method","doseQuantity","doseRange","rateRatio","rateQuantity","rateRange","durationDurationMax","frequencyFrequencyMaxPeriodPeriodMax","offsetWhen","dayOfWeek","timeOfDay","route","site","asNeeded","boundsDuration","boundsPeriod","boundsRange","countCountMax","event","code","maxDosePerPeriod","maxDosePerAdministration","maxDosePerLifetime","additionalInstruction","patientInstruction"],displaySeparator:" - ",dateTimeFormatOptions:{}};class De{constructor(e){this.config={...Ae,...e},this.i18nInstance=q.createInstance()}async init(){return await this.i18nInstance.use(Y).init({fallbackLng:"en",lng:this.config.language,ns:["common","daysOfWeek","eventTiming","unitsOfTime"],defaultNS:"common",backend:{backends:[(e=async(e,t)=>n(4241)(`./${e}/${t}.json`),{type:"backend",init:function(e,t,n){},read:function(t,n,o){if("function"!=typeof e)o(null,e&&e[t]&&e[t][n]);else{if(e.length<3){try{var i=e(t,n);i&&"function"==typeof i.then?i.then((function(e){return o(null,e&&e.default||e)})).catch(o):o(null,i)}catch(s){o(s)}return}e(t,n,o)}}})]}});var e}static async build(e){const t=new De(e);return await t.init(),t}async changeLanguage(e){return this.config={...this.config,language:e},this.i18nInstance.changeLanguage(e)}getLanguage(){return this.config.language}changeDisplayOrder(e){this.config={...this.config,displayOrder:e}}getDisplayOrder(){return this.config.displayOrder}getDisplaySeparator(){return this.config.displaySeparator}changeDisplaySeparator(e){this.config={...this.config,displaySeparator:e}}getDateTimeFormatOptions(){return this.config.dateTimeFormatOptions}changeDateTimeFormatOptions(e){this.config={...this.config,dateTimeFormatOptions:e}}getFields(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;oIe({config:this.config,dos:e,entry:t,i18next:this.i18nInstance}))).filter((e=>void 0!==e)).join(this.config.displaySeparator)}fromDosageToText(e){let t=this.config.displayOrder;return this.getFields(e,...t)}containsOnlySequentialInstructions(e){let t=e.map((e=>e.sequence)).filter((e=>void 0!==e)),n=new Set(t);return 0===n.size||n.size===e.length}groupBySequence(e){let t={},n=new Set;for(let o=0;ot[e]))}fromMultipleDosageToText(e){if(this.containsOnlySequentialInstructions(e)){const t=e.map((e=>this.fromDosageToText(e)));return de(this.i18nInstance,t,"then")}let t=this.groupBySequence(e).map((e=>{let t=e.map((e=>this.fromDosageToText(e)));return de(this.i18nInstance,t,"and")}));return de(this.i18nInstance,t,"then")}}var Be=De},1812:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>C});var o=n(6540),i=n(2303),s=n(4164),r=n(6058),a=n(7559),l=n(4291);const u={codeBlockContainer:"codeBlockContainer_Ckt0"};var c=n(4848);function d(e){let{as:t,...n}=e;const o=(0,r.A)(),i=(0,l.M$)(o);return(0,c.jsx)(t,{...n,style:i,className:(0,s.A)(n.className,u.codeBlockContainer,a.G.common.codeBlock)})}const g={codeBlockContent:"codeBlockContent_biex",codeBlockTitle:"codeBlockTitle_Ktv7",codeBlock:"codeBlock_bY9V",codeBlockStandalone:"codeBlockStandalone_MEMb",codeBlockLines:"codeBlockLines_e6Vv",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_o6Pm",buttonGroup:"buttonGroup__atx"};function h(e){let{children:t,className:n}=e;return(0,c.jsx)(d,{as:"pre",tabIndex:0,className:(0,s.A)(g.codeBlockStandalone,"thin-scrollbar",n),children:(0,c.jsx)("code",{className:g.codeBlockLines,children:t})})}var p=n(6342),f=n(6591),m=n(1765);const v={codeLine:"codeLine_lJS_",codeLineNumber:"codeLineNumber_Tfdd",codeLineContent:"codeLineContent_feaV"};function y(e){let{line:t,classNames:n,showLineNumbers:o,getLineProps:i,getTokenProps:r}=e;1===t.length&&"\n"===t[0].content&&(t[0].content="");const a=i({line:t,className:(0,s.A)(n,o&&v.codeLine)}),l=t.map(((e,t)=>(0,c.jsx)("span",{...r({token:e,key:t})},t)));return(0,c.jsxs)("span",{...a,children:[o?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("span",{className:v.codeLineNumber}),(0,c.jsx)("span",{className:v.codeLineContent,children:l})]}):l,(0,c.jsx)("br",{})]})}var b=n(1312);function x(e){return(0,c.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,c.jsx)("path",{fill:"currentColor",d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"})})}function k(e){return(0,c.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,c.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})}const S={copyButtonCopied:"copyButtonCopied_obH4",copyButtonIcons:"copyButtonIcons_eSgA",copyButtonIcon:"copyButtonIcon_y97N",copyButtonSuccessIcon:"copyButtonSuccessIcon_LjdS"};function w(e){let{code:t,className:n}=e;const[i,r]=(0,o.useState)(!1),a=(0,o.useRef)(void 0),l=(0,o.useCallback)((()=>{!function(e,t){let{target:n=document.body}=void 0===t?{}:t;if("string"!=typeof e)throw new TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof e}\`.`);const o=document.createElement("textarea"),i=document.activeElement;o.value=e,o.setAttribute("readonly",""),o.style.contain="strict",o.style.position="absolute",o.style.left="-9999px",o.style.fontSize="12pt";const s=document.getSelection(),r=s.rangeCount>0&&s.getRangeAt(0);n.append(o),o.select(),o.selectionStart=0,o.selectionEnd=e.length;let a=!1;try{a=document.execCommand("copy")}catch{}o.remove(),r&&(s.removeAllRanges(),s.addRange(r)),i&&i.focus()}(t),r(!0),a.current=window.setTimeout((()=>{r(!1)}),1e3)}),[t]);return(0,o.useEffect)((()=>()=>window.clearTimeout(a.current)),[]),(0,c.jsx)("button",{type:"button","aria-label":i?(0,b.T)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,b.T)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,b.T)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,s.A)("clean-btn",n,S.copyButton,i&&S.copyButtonCopied),onClick:l,children:(0,c.jsxs)("span",{className:S.copyButtonIcons,"aria-hidden":"true",children:[(0,c.jsx)(x,{className:S.copyButtonIcon}),(0,c.jsx)(k,{className:S.copyButtonSuccessIcon})]})})}function O(e){return(0,c.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,c.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}const L={wordWrapButtonIcon:"wordWrapButtonIcon_Bwma",wordWrapButtonEnabled:"wordWrapButtonEnabled_EoeP"};function j(e){let{className:t,onClick:n,isEnabled:o}=e;const i=(0,b.T)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,c.jsx)("button",{type:"button",onClick:n,className:(0,s.A)("clean-btn",t,o&&L.wordWrapButtonEnabled),"aria-label":i,title:i,children:(0,c.jsx)(O,{className:L.wordWrapButtonIcon,"aria-hidden":"true"})})}function N(e){let{children:t,className:n="",metastring:o,title:i,showLineNumbers:a,language:u}=e;const{prism:{defaultLanguage:h,magicComments:v}}=(0,p.p)(),b=function(e){return e?.toLowerCase()}(u??(0,l.Op)(n)??h),x=(0,r.A)(),k=(0,f.f)(),S=(0,l.wt)(o)||i,{lineClassNames:O,code:L}=(0,l.Li)(t,{metastring:o,language:b,magicComments:v}),N=a??(0,l._u)(o);return(0,c.jsxs)(d,{as:"div",className:(0,s.A)(n,b&&!n.includes(`language-${b}`)&&`language-${b}`),children:[S&&(0,c.jsx)("div",{className:g.codeBlockTitle,children:S}),(0,c.jsxs)("div",{className:g.codeBlockContent,children:[(0,c.jsx)(m.f4,{theme:x,code:L,language:b??"text",children:e=>{let{className:t,style:n,tokens:o,getLineProps:i,getTokenProps:r}=e;return(0,c.jsx)("pre",{tabIndex:0,ref:k.codeBlockRef,className:(0,s.A)(t,g.codeBlock,"thin-scrollbar"),style:n,children:(0,c.jsx)("code",{className:(0,s.A)(g.codeBlockLines,N&&g.codeBlockLinesWithNumbering),children:o.map(((e,t)=>(0,c.jsx)(y,{line:e,getLineProps:i,getTokenProps:r,classNames:O[t],showLineNumbers:N},t)))})})}}),(0,c.jsxs)("div",{className:g.buttonGroup,children:[(k.isEnabled||k.isCodeScrollable)&&(0,c.jsx)(j,{className:g.codeButton,onClick:()=>k.toggle(),isEnabled:k.isEnabled}),(0,c.jsx)(w,{className:g.codeButton,code:L})]})]})]})}function C(e){let{children:t,...n}=e;const s=(0,i.A)(),r=function(e){return o.Children.toArray(e).some((e=>(0,o.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),a="string"==typeof r?N:h;return(0,c.jsx)(a,{...n,children:r},String(s))}},9365:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});n(6540);var o=n(4164);const i={tabItem:"tabItem_Ymn6"};var s=n(4848);function r(e){let{children:t,hidden:n,className:r}=e;return(0,s.jsx)("div",{role:"tabpanel",className:(0,o.A)(i.tabItem,r),hidden:n,children:t})}},4865:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var o=n(6540),i=n(4164),s=n(3104),r=n(7751),a=n(2303);const l={tabList:"tabList__CuJ",tabItem:"tabItem_LNqP"};var u=n(4848);function c(e){let{className:t,block:n,selectedValue:o,selectValue:r,tabValues:a}=e;const c=[],{blockElementScrollPositionUntilNextRender:d}=(0,s.a_)(),g=e=>{const t=e.currentTarget,n=c.indexOf(t),i=a[n].value;i!==o&&(d(t),r(i))},h=e=>{let t=null;switch(e.key){case"Enter":g(e);break;case"ArrowRight":{const n=c.indexOf(e.currentTarget)+1;t=c[n]??c[0];break}case"ArrowLeft":{const n=c.indexOf(e.currentTarget)-1;t=c[n]??c[c.length-1];break}}t?.focus()};return(0,u.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,i.A)("tabs",{"tabs--block":n},t),children:a.map((e=>{let{value:t,label:n,attributes:s}=e;return(0,u.jsx)("li",{role:"tab",tabIndex:o===t?0:-1,"aria-selected":o===t,ref:e=>c.push(e),onKeyDown:h,onClick:g,...s,className:(0,i.A)("tabs__item",l.tabItem,s?.className,{"tabs__item--active":o===t}),children:n??t},t)}))})}function d(e){let{lazy:t,children:n,selectedValue:i}=e;const s=(Array.isArray(n)?n:[n]).filter(Boolean);if(t){const e=s.find((e=>e.props.value===i));return e?(0,o.cloneElement)(e,{className:"margin-top--md"}):null}return(0,u.jsx)("div",{className:"margin-top--md",children:s.map(((e,t)=>(0,o.cloneElement)(e,{key:t,hidden:e.props.value!==i})))})}function g(e){const t=(0,r.u)(e);return(0,u.jsxs)("div",{className:(0,i.A)("tabs-container",l.tabList),children:[(0,u.jsx)(c,{...e,...t}),(0,u.jsx)(d,{...e,...t})]})}function h(e){const t=(0,a.A)();return(0,u.jsx)(g,{...e,children:(0,r.v)(e.children)},String(t))}},6591:(e,t,n)=>{"use strict";n.d(t,{f:()=>a});var o=n(6540),i=n(9532);const s={attributes:!0,characterData:!0,childList:!0,subtree:!0};function r(e,t){const[n,r]=(0,o.useState)(),a=(0,o.useCallback)((()=>{r(e.current?.closest("[role=tabpanel][hidden]"))}),[e,r]);(0,o.useEffect)((()=>{a()}),[a]),function(e,t,n){void 0===n&&(n=s);const r=(0,i._q)(t),a=(0,i.Be)(n);(0,o.useEffect)((()=>{const t=new MutationObserver(r);return e&&t.observe(e,a),()=>t.disconnect()}),[e,r,a])}(n,(e=>{e.forEach((e=>{"attributes"===e.type&&"hidden"===e.attributeName&&(t(),a())}))}),{attributes:!0,characterData:!1,childList:!1,subtree:!1})}function a(){const[e,t]=(0,o.useState)(!1),[n,i]=(0,o.useState)(!1),s=(0,o.useRef)(null),a=(0,o.useCallback)((()=>{const n=s.current.querySelector("code");e?n.removeAttribute("style"):(n.style.whiteSpace="pre-wrap",n.style.overflowWrap="anywhere"),t((e=>!e))}),[s,e]),l=(0,o.useCallback)((()=>{const{scrollWidth:e,clientWidth:t}=s.current,n=e>t||s.current.querySelector("code").hasAttribute("style");i(n)}),[s]);return r(s,l),(0,o.useEffect)((()=>{l()}),[e,l]),(0,o.useEffect)((()=>(window.addEventListener("resize",l,{passive:!0}),()=>{window.removeEventListener("resize",l)})),[l]),{codeBlockRef:s,isEnabled:e,isCodeScrollable:n,toggle:a}}},6058:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var o=n(5293),i=n(6342);function s(){const{prism:e}=(0,i.p)(),{colorMode:t}=(0,o.G)(),n=e.theme,s=e.darkTheme||n;return"dark"===t?s:n}},4291:(e,t,n)=>{"use strict";n.d(t,{Li:()=>p,M$:()=>f,Op:()=>h,_u:()=>g,wt:()=>d});var o=n(8426),i=n.n(o);const s=/title=(?["'])(?.*?)\1/,r=/\{(?<range>[\d,-]+)\}/,a={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},l={...a,lua:{start:"--",end:""},wasm:{start:"\\;\\;",end:""},tex:{start:"%",end:""},vb:{start:"['\u2018\u2019]",end:""},vbnet:{start:"(?:_\\s*)?['\u2018\u2019]",end:""},rem:{start:"[Rr][Ee][Mm]\\b",end:""},f90:{start:"!",end:""},ml:{start:"\\(\\*",end:"\\*\\)"},cobol:{start:"\\*>",end:""}},u=Object.keys(a);function c(e,t){const n=e.map((e=>{const{start:n,end:o}=l[e];return`(?:${n}\\s*(${t.flatMap((e=>[e.line,e.block?.start,e.block?.end].filter(Boolean))).join("|")})\\s*${o})`})).join("|");return new RegExp(`^\\s*(?:${n})\\s*$`)}function d(e){return e?.match(s)?.groups.title??""}function g(e){return Boolean(e?.includes("showLineNumbers"))}function h(e){const t=e.split(" ").find((e=>e.startsWith("language-")));return t?.replace(/language-/,"")}function p(e,t){let n=e.replace(/\n$/,"");const{language:o,magicComments:s,metastring:a}=t;if(a&&r.test(a)){const e=a.match(r).groups.range;if(0===s.length)throw new Error(`A highlight range has been given in code block's metastring (\`\`\` ${a}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);const t=s[0].className,o=i()(e).filter((e=>e>0)).map((e=>[e-1,[t]]));return{lineClassNames:Object.fromEntries(o),code:n}}if(void 0===o)return{lineClassNames:{},code:n};const l=function(e,t){switch(e){case"js":case"javascript":case"ts":case"typescript":return c(["js","jsBlock"],t);case"jsx":case"tsx":return c(["js","jsBlock","jsx"],t);case"html":return c(["js","jsBlock","html"],t);case"python":case"py":case"bash":return c(["bash"],t);case"markdown":case"md":return c(["html","jsx","bash"],t);case"tex":case"latex":case"matlab":return c(["tex"],t);case"lua":case"haskell":case"sql":return c(["lua"],t);case"wasm":return c(["wasm"],t);case"vb":case"vba":case"visual-basic":return c(["vb","rem"],t);case"vbnet":return c(["vbnet","rem"],t);case"batch":return c(["rem"],t);case"basic":return c(["rem","f90"],t);case"fsharp":return c(["js","ml"],t);case"ocaml":case"sml":return c(["ml"],t);case"fortran":return c(["f90"],t);case"cobol":return c(["cobol"],t);default:return c(u,t)}}(o,s),d=n.split("\n"),g=Object.fromEntries(s.map((e=>[e.className,{start:0,range:""}]))),h=Object.fromEntries(s.filter((e=>e.line)).map((e=>{let{className:t,line:n}=e;return[n,t]}))),p=Object.fromEntries(s.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.start,t]}))),f=Object.fromEntries(s.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.end,t]})));for(let i=0;i<d.length;){const e=d[i].match(l);if(!e){i+=1;continue}const t=e.slice(1).find((e=>void 0!==e));h[t]?g[h[t]].range+=`${i},`:p[t]?g[p[t]].start=i:f[t]&&(g[f[t]].range+=`${g[f[t]].start}-${i-1},`),d.splice(i,1)}n=d.join("\n");const m={};return Object.entries(g).forEach((e=>{let[t,{range:n}]=e;i()(n).forEach((e=>{m[e]??=[],m[e].push(t)}))})),{lineClassNames:m,code:n}}function f(e){const t={color:"--prism-color",backgroundColor:"--prism-background-color"},n={};return Object.entries(e.plain).forEach((e=>{let[o,i]=e;const s=t[o];s&&"string"==typeof i&&(n[s]=i)})),n}},7751:(e,t,n)=>{"use strict";n.d(t,{u:()=>h,v:()=>u});var o=n(6540),i=n(6347),s=n(205),r=n(7485),a=n(1682),l=n(9466);function u(e){return o.Children.toArray(e).filter((e=>"\n"!==e)).map((e=>{if(!e||(0,o.isValidElement)(e)&&function(e){const{props:t}=e;return!!t&&"object"==typeof t&&"value"in t}(e))return e;throw new Error(`Docusaurus error: Bad <Tabs> child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the <Tabs> component should be <TabItem>, and every <TabItem> should have a unique "value" prop.`)}))?.filter(Boolean)??[]}function c(e){const{values:t,children:n}=e;return(0,o.useMemo)((()=>{const e=t??function(e){return u(e).map((e=>{let{props:{value:t,label:n,attributes:o,default:i}}=e;return{value:t,label:n,attributes:o,default:i}}))}(n);return function(e){const t=(0,a.X)(e,((e,t)=>e.value===t.value));if(t.length>0)throw new Error(`Docusaurus error: Duplicate values "${t.map((e=>e.value)).join(", ")}" found in <Tabs>. Every value needs to be unique.`)}(e),e}),[t,n])}function d(e){let{value:t,tabValues:n}=e;return n.some((e=>e.value===t))}function g(e){let{queryString:t=!1,groupId:n}=e;const s=(0,i.W6)(),a=function(e){let{queryString:t=!1,groupId:n}=e;if("string"==typeof t)return t;if(!1===t)return null;if(!0===t&&!n)throw new Error('Docusaurus error: The <Tabs> component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return n??null}({queryString:t,groupId:n});return[(0,r.aZ)(a),(0,o.useCallback)((e=>{if(!a)return;const t=new URLSearchParams(s.location.search);t.set(a,e),s.replace({...s.location,search:t.toString()})}),[a,s])]}function h(e){const{defaultValue:t,queryString:n=!1,groupId:i}=e,r=c(e),[a,u]=(0,o.useState)((()=>function(e){let{defaultValue:t,tabValues:n}=e;if(0===n.length)throw new Error("Docusaurus error: the <Tabs> component requires at least one <TabItem> children component");if(t){if(!d({value:t,tabValues:n}))throw new Error(`Docusaurus error: The <Tabs> has a defaultValue "${t}" but none of its children has the corresponding value. Available values are: ${n.map((e=>e.value)).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return t}const o=n.find((e=>e.default))??n[0];if(!o)throw new Error("Unexpected error: 0 tabValues");return o.value}({defaultValue:t,tabValues:r}))),[h,p]=g({queryString:n,groupId:i}),[f,m]=function(e){let{groupId:t}=e;const n=function(e){return e?`docusaurus.tab.${e}`:null}(t),[i,s]=(0,l.Dv)(n);return[i,(0,o.useCallback)((e=>{n&&s.set(e)}),[n,s])]}({groupId:i}),v=(()=>{const e=h??f;return d({value:e,tabValues:r})?e:null})();(0,s.A)((()=>{v&&u(v)}),[v]);return{selectedValue:a,selectValue:(0,o.useCallback)((e=>{if(!d({value:e,tabValues:r}))throw new Error(`Can't select invalid tab value=${e}`);u(e),p(e),m(e)}),[p,m,r]),tabValues:r}}},8426:(e,t)=>{function n(e){let t,n=[];for(let o of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(o))n.push(parseInt(o,10));else if(t=o.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,o,i,s]=t;if(o&&s){o=parseInt(o),s=parseInt(s);const e=o<s?1:-1;"-"!==i&&".."!==i&&"\u2025"!==i||(s+=e);for(let t=o;t!==s;t+=e)n.push(t)}}return n}t.default=n,e.exports=n},8453:(e,t,n)=>{"use strict";n.d(t,{R:()=>r,x:()=>a});var o=n(6540);const i={},s=o.createContext(i);function r(e){const t=o.useContext(s);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),o.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file +(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2076],{4241:(e,t,n)=>{var o={"./de/common.json":[7680,7680],"./de/daysOfWeek.json":[2335,2335],"./de/eventTiming.json":[6689,6689],"./de/unitsOfTime.json":[6616,6616],"./en/common.json":[1092,1092],"./en/daysOfWeek.json":[6891,6891],"./en/eventTiming.json":[1293,1293],"./en/unitsOfTime.json":[6492,6492],"./fr/common.json":[4305,4305],"./fr/daysOfWeek.json":[4858,4858],"./fr/eventTiming.json":[8842,8842],"./fr/unitsOfTime.json":[47,47],"./nl/common.json":[2031,2031],"./nl/daysOfWeek.json":[7748,7748],"./nl/eventTiming.json":[404,404],"./nl/unitsOfTime.json":[1465,1465]};function i(e){if(!n.o(o,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=o[e],i=t[0];return n.e(t[1]).then((()=>n.t(i,19)))}i.keys=()=>Object.keys(o),i.id=4241,e.exports=i},6300:(e,t,n)=>{"use strict";n.d(t,{A:()=>Ve});const o={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class i{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||o,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}warn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}error(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}deprecate(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,n,o){return o&&!this.debug?null:("string"==typeof e[0]&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new i(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new i(this.logger,e)}}var s=new i;class r{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach((e=>{this.observers[e]||(this.observers[e]=new Map);const 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])}emit(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];if(this.observers[e]){Array.from(this.observers[e].entries()).forEach((e=>{let[t,o]=e;for(let i=0;i<o;i++)t(...n)}))}if(this.observers["*"]){Array.from(this.observers["*"].entries()).forEach((t=>{let[o,i]=t;for(let s=0;s<i;s++)o.apply(o,[e,...n])}))}}}function a(){let e,t;const n=new Promise(((n,o)=>{e=n,t=o}));return n.resolve=e,n.reject=t,n}function l(e){return null==e?"":""+e}const u=/###/g;function c(e,t,n){function o(e){return e&&e.indexOf("###")>-1?e.replace(u,"."):e}function i(){return!e||"string"==typeof e}const s="string"!=typeof t?t:t.split(".");let r=0;for(;r<s.length-1;){if(i())return{};const t=o(s[r]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++r}return i()?{}:{obj:e,k:o(s[r])}}function d(e,t,n){const{obj:o,k:i}=c(e,t,Object);if(void 0!==o||1===t.length)return void(o[i]=n);let s=t[t.length-1],r=t.slice(0,t.length-1),a=c(e,r,Object);for(;void 0===a.obj&&r.length;)s=`${r[r.length-1]}.${s}`,r=r.slice(0,r.length-1),a=c(e,r,Object),a&&a.obj&&void 0!==a.obj[`${a.k}.${s}`]&&(a.obj=void 0);a.obj[`${a.k}.${s}`]=n}function g(e,t){const{obj:n,k:o}=c(e,t);if(n)return n[o]}function h(e,t,n){for(const o in t)"__proto__"!==o&&"constructor"!==o&&(o in e?"string"==typeof e[o]||e[o]instanceof String||"string"==typeof t[o]||t[o]instanceof String?n&&(e[o]=t[o]):h(e[o],t[o],n):e[o]=t[o]);return e}function p(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var f={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function m(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(e=>f[e])):e}const v=[" ",",","?","!",";"],y=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(void 0!==t)return t;const 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}}(20);function b(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];const o=t.split(n);let i=e;for(let s=0;s<o.length;){if(!i||"object"!=typeof i)return;let e,t="";for(let r=s;r<o.length;++r)if(r!==s&&(t+=n),t+=o[r],e=i[t],void 0!==e){if(["string","number","boolean"].indexOf(typeof e)>-1&&r<o.length-1)continue;s+=r-s+1;break}i=e}return i}function x(e){return e&&e.indexOf("_")>0?e.replace("_","-"):e}class k extends r{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator,s=void 0!==o.ignoreJSONStructure?o.ignoreJSONStructure:this.options.ignoreJSONStructure;let r;e.indexOf(".")>-1?r=e.split("."):(r=[e,t],n&&(Array.isArray(n)?r.push(...n):"string"==typeof n&&i?r.push(...n.split(i)):r.push(n)));const a=g(this.data,r);return!a&&!t&&!n&&e.indexOf(".")>-1&&(e=r[0],t=r[1],n=r.slice(2).join(".")),a||!s||"string"!=typeof n?a:b(this.data&&this.data[e]&&this.data[e][t],n,i)}addResource(e,t,n,o){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1};const s=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator;let r=[e,t];n&&(r=r.concat(s?n.split(s):n)),e.indexOf(".")>-1&&(r=e.split("."),o=t,t=r[1]),this.addNamespaces(t),d(this.data,r,o),i.silent||this.emit("added",e,t,n,o)}addResources(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(const i in n)"string"!=typeof n[i]&&"[object Array]"!==Object.prototype.toString.apply(n[i])||this.addResource(e,t,i,n[i],{silent:!0});o.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,o,i){let s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},r=[e,t];e.indexOf(".")>-1&&(r=e.split("."),o=n,n=t,t=r[1]),this.addNamespaces(t);let a=g(this.data,r)||{};s.skipCopy||(n=JSON.parse(JSON.stringify(n))),o?h(a,n,i):a={...a,...n},d(this.data,r,a),s.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 void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((e=>t[e]&&Object.keys(t[e]).length>0))}toJSON(){return this.data}}var S={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,o,i){return e.forEach((e=>{this.processors[e]&&(t=this.processors[e].process(t,n,o,i))})),t}};const w={};class O extends r{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),function(e,t,n){e.forEach((e=>{t[e]&&(n[e]=t[e])}))}(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=s.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;const n=this.resolve(e,t);return n&&void 0!==n.res}extractFromKey(e,t){let n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");const o=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator;let i=t.ns||this.options.defaultNS||[];const s=n&&e.indexOf(n)>-1,r=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||function(e,t,n){t=t||"",n=n||"";const o=v.filter((e=>t.indexOf(e)<0&&n.indexOf(e)<0));if(0===o.length)return!0;const i=y.getRegExp(`(${o.map((e=>"?"===e?"\\?":e)).join("|")})`);let s=!i.test(e);if(!s){const t=e.indexOf(n);t>0&&!i.test(e.substring(0,t))&&(s=!0)}return s}(e,n,o));if(s&&!r){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:i};const s=e.split(n);(n!==o||n===o&&this.options.ns.indexOf(s[0])>-1)&&(i=s.shift()),e=s.join(o)}return"string"==typeof i&&(i=[i]),{key:e,namespaces:i}}translate(e,t,n){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);const o=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:s,namespaces:r}=this.extractFromKey(e[e.length-1],t),a=r[r.length-1],l=t.lng||this.language,u=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(l&&"cimode"===l.toLowerCase()){if(u){const e=t.nsSeparator||this.options.nsSeparator;return o?{res:`${a}${e}${s}`,usedKey:s,exactUsedKey:s,usedLng:l,usedNS:a,usedParams:this.getUsedParamsDetails(t)}:`${a}${e}${s}`}return o?{res:s,usedKey:s,exactUsedKey:s,usedLng:l,usedNS:a,usedParams:this.getUsedParamsDetails(t)}:s}const c=this.resolve(e,t);let d=c&&c.res;const g=c&&c.usedKey||s,h=c&&c.exactUsedKey||s,p=Object.prototype.toString.apply(d),f=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,m=!this.i18nFormat||this.i18nFormat.handleAsObject;if(m&&d&&("string"!=typeof d&&"boolean"!=typeof d&&"number"!=typeof d)&&["[object Number]","[object Function]","[object RegExp]"].indexOf(p)<0&&("string"!=typeof f||"[object Array]"!==p)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,d,{...t,ns:r}):`key '${s} (${this.language})' returned an object instead of string.`;return o?(c.res=e,c.usedParams=this.getUsedParamsDetails(t),c):e}if(i){const e="[object Array]"===p,n=e?[]:{},o=e?h:g;for(const s in d)if(Object.prototype.hasOwnProperty.call(d,s)){const e=`${o}${i}${s}`;n[s]=this.translate(e,{...t,joinArrays:!1,ns:r}),n[s]===e&&(n[s]=d[s])}d=n}}else if(m&&"string"==typeof f&&"[object Array]"===p)d=d.join(f),d&&(d=this.extendTranslation(d,e,t,n));else{let o=!1,r=!1;const u=void 0!==t.count&&"string"!=typeof t.count,g=O.hasDefaultValue(t),h=u?this.pluralResolver.getSuffix(l,t.count,t):"",p=t.ordinal&&u?this.pluralResolver.getSuffix(l,t.count,{ordinal:!1}):"",f=u&&!t.ordinal&&0===t.count&&this.pluralResolver.shouldUseIntlApi(),m=f&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${h}`]||t[`defaultValue${p}`]||t.defaultValue;!this.isValidLookup(d)&&g&&(o=!0,d=m),this.isValidLookup(d)||(r=!0,d=s);const v=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&r?void 0:d,y=g&&m!==d&&this.options.updateMissing;if(r||o||y){if(this.logger.log(y?"updateKey":"missingKey",l,a,s,y?m:d),i){const e=this.resolve(s,{...t,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=[];const n=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&n&&n[0])for(let t=0;t<n.length;t++)e.push(n[t]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(t.lng||this.language):e.push(t.lng||this.language);const o=(e,n,o)=>{const i=g&&o!==d?o:v;this.options.missingKeyHandler?this.options.missingKeyHandler(e,a,n,i,y,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,a,n,i,y,t),this.emit("missingKey",e,a,n,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&u?e.forEach((e=>{const n=this.pluralResolver.getSuffixes(e,t);f&&t[`defaultValue${this.options.pluralSeparator}zero`]&&n.indexOf(`${this.options.pluralSeparator}zero`)<0&&n.push(`${this.options.pluralSeparator}zero`),n.forEach((n=>{o([e],s+n,t[`defaultValue${n}`]||m)}))})):o(e,s,m))}d=this.extendTranslation(d,e,t,c,n),r&&d===s&&this.options.appendNamespaceToMissingKey&&(d=`${a}:${s}`),(r||o)&&this.options.parseMissingKeyHandler&&(d="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${a}:${s}`:s,o?d:void 0):this.options.parseMissingKeyHandler(d))}return o?(c.res=d,c.usedParams=this.getUsedParamsDetails(t),c):d}extendTranslation(e,t,n,o,i){var s=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||o.usedLng,o.usedNS,o.usedKey,{resolved:o});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const r="string"==typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let a;if(r){const t=e.match(this.interpolator.nestingRegexp);a=t&&t.length}let l=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),e=this.interpolator.interpolate(e,l,n.lng||this.language,n),r){const t=e.match(this.interpolator.nestingRegexp);a<(t&&t.length)&&(n.nest=!1)}!n.lng&&"v1"!==this.options.compatibilityAPI&&o&&o.res&&(n.lng=o.usedLng),!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];return i&&i[0]===o[0]&&!n.context?(s.logger.warn(`It seems you are nesting recursively key: ${o[0]} in key: ${t[0]}`),null):s.translate(...o,t)}),n)),n.interpolation&&this.interpolator.reset()}const r=n.postProcess||this.options.postProcess,a="string"==typeof r?[r]:r;return null!=e&&a&&a.length&&!1!==n.applyPostProcessor&&(e=S.handle(a,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...o,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e){let t,n,o,i,s,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((e=>{if(this.isValidLookup(t))return;const a=this.extractFromKey(e,r),l=a.key;n=l;let u=a.namespaces;this.options.fallbackNS&&(u=u.concat(this.options.fallbackNS));const c=void 0!==r.count&&"string"!=typeof r.count,d=c&&!r.ordinal&&0===r.count&&this.pluralResolver.shouldUseIntlApi(),g=void 0!==r.context&&("string"==typeof r.context||"number"==typeof r.context)&&""!==r.context,h=r.lngs?r.lngs:this.languageUtils.toResolveHierarchy(r.lng||this.language,r.fallbackLng);u.forEach((e=>{this.isValidLookup(t)||(s=e,!w[`${h[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(s)&&(w[`${h[0]}-${e}`]=!0,this.logger.warn(`key "${n}" for languages "${h.join(", ")}" won't get resolved as namespace "${s}" 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!!!")),h.forEach((n=>{if(this.isValidLookup(t))return;i=n;const s=[l];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(s,l,n,e,r);else{let e;c&&(e=this.pluralResolver.getSuffix(n,r.count,r));const t=`${this.options.pluralSeparator}zero`,o=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(c&&(s.push(l+e),r.ordinal&&0===e.indexOf(o)&&s.push(l+e.replace(o,this.options.pluralSeparator)),d&&s.push(l+t)),g){const n=`${l}${this.options.contextSeparator}${r.context}`;s.push(n),c&&(s.push(n+e),r.ordinal&&0===e.indexOf(o)&&s.push(n+e.replace(o,this.options.pluralSeparator)),d&&s.push(n+t))}}let a;for(;a=s.pop();)this.isValidLookup(t)||(o=a,t=this.getResource(n,e,a,r))})))}))})),{res:t,usedKey:n,exactUsedKey:o,usedLng:i,usedNS:s}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,o):this.resourceStore.getResource(e,t,n,o)}getUsedParamsDetails(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=e.replace&&"string"!=typeof e.replace;let o=n?e.replace:e;if(n&&void 0!==e.count&&(o.count=e.count),this.options.interpolation.defaultVariables&&(o={...this.options.interpolation.defaultVariables,...o}),!n){o={...o};for(const e of t)delete o[e]}return o}static hasDefaultValue(e){const t="defaultValue";for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,12)&&void 0!==e[n])return!0;return!1}}function L(e){return e.charAt(0).toUpperCase()+e.slice(1)}class j{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=s.create("languageUtils")}getScriptPartFromCode(e){if(!(e=x(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=x(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if("string"==typeof e&&e.indexOf("-")>-1){const t=["hans","hant","latn","cyrl","cans","mong","arab"];let n=e.split("-");return this.options.lowerCaseLng?n=n.map((e=>e.toLowerCase())):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=L(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=L(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=L(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach((e=>{if(t)return;const n=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(n)||(t=n)})),!t&&this.options.supportedLngs&&e.forEach((e=>{if(t)return;const n=this.getLanguagePartFromCode(e);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find((e=>e===n?e:e.indexOf("-")<0&&n.indexOf("-")<0?void 0:e.indexOf("-")>0&&n.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===n||0===e.indexOf(n)&&n.length>1?e:void 0))})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];let n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}toResolveHierarchy(e,t){const n=this.getFallbackCodes(t||this.options.fallbackLng||[],e),o=[],i=e=>{e&&(this.isSupportedCode(e)?o.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return"string"==typeof e&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"==typeof e&&i(this.formatLanguageCode(e)),n.forEach((e=>{o.indexOf(e)<0&&i(this.formatLanguageCode(e))})),o}}let N=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],C={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}};const R=["v1","v2","v3"],P=["v4"],$={zero:0,one:1,two:2,few:3,many:4,other:5};class T{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=s.create("pluralResolver"),this.options.compatibilityJSON&&!P.includes(this.options.compatibilityJSON)||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=function(){const e={};return N.forEach((t=>{t.lngs.forEach((n=>{e[n]={numbers:t.nr,plurals:C[t.fc]}}))})),e}()}addRule(e,t){this.rules[e]=t}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(x("dev"===e?"en":e),{type:t.ordinal?"ordinal":"cardinal"})}catch(n){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}getPluralFormsOfKey(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((e=>`${t}${e}`))}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.getRule(e,t);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort(((e,t)=>$[e]-$[t])).map((e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`)):n.numbers.map((n=>this.getSuffix(e,n,t))):[]}getSuffix(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o=this.getRule(e,n);return o?this.shouldUseIntlApi()?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${o.select(t)}`:this.getSuffixRetroCompatible(o,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){const n=e.noAbs?e.plurals(t):e.plurals(Math.abs(t));let o=e.numbers[n];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===o?o="plural":1===o&&(o=""));const i=()=>this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString();return"v1"===this.options.compatibilityJSON?1===o?"":"number"==typeof o?`_plural_${o.toString()}`:i():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?i():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}shouldUseIntlApi(){return!R.includes(this.options.compatibilityJSON)}}function E(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=function(e,t,n){const o=g(e,n);return void 0!==o?o:g(t,n)}(e,t,n);return!s&&i&&"string"==typeof n&&(s=b(e,n,o),void 0===s&&(s=b(t,n,o))),s}class I{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=s.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const t=e.interpolation;this.escape=void 0!==t.escape?t.escape:m,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?p(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?p(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?p(t.nestingPrefix):t.nestingPrefixEscaped||p("$t("),this.nestingSuffix=t.nestingSuffix?p(t.nestingSuffix):t.nestingSuffixEscaped||p(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(e,t)=>e&&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,o){let i,s,r;const a=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(e){return e.replace(/\$/g,"$$$$")}const c=e=>{if(e.indexOf(this.formatSeparator)<0){const i=E(t,a,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,{...o,...t,interpolationkey:e}):i}const i=e.split(this.formatSeparator),s=i.shift().trim(),r=i.join(this.formatSeparator).trim();return this.format(E(t,a,s,this.options.keySeparator,this.options.ignoreJSONStructure),r,n,{...o,...t,interpolationkey:s})};this.resetRegExp();const d=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,g=o&&o.interpolation&&void 0!==o.interpolation.skipOnVariables?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>u(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?u(this.escape(e)):u(e)}].forEach((t=>{for(r=0;i=t.regex.exec(e);){const n=i[1].trim();if(s=c(n),void 0===s)if("function"==typeof d){const t=d(e,i,o);s="string"==typeof t?t:""}else if(o&&Object.prototype.hasOwnProperty.call(o,n))s="";else{if(g){s=i[0];continue}this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),s=""}else"string"==typeof s||this.useRawValueToEscape||(s=l(s));const a=t.safeValue(s);if(e=e.replace(i[0],a),g?(t.regex.lastIndex+=s.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,r++,r>=this.maxReplaces)break}})),e}nest(e,t){let n,o,i,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function r(e,t){const n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;const o=e.split(new RegExp(`${n}[ ]*{`));let s=`{${o[1]}`;e=o[0],s=this.interpolate(s,i);const r=s.match(/'/g),a=s.match(/"/g);(r&&r.length%2==0&&!a||a.length%2!=0)&&(s=s.replace(/'/g,'"'));try{i=JSON.parse(s),t&&(i={...t,...i})}catch(l){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,l),`${e}${n}${s}`}return delete i.defaultValue,e}for(;n=this.nestingRegexp.exec(e);){let a=[];i={...s},i=i.replace&&"string"!=typeof i.replace?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;let u=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){const e=n[1].split(this.formatSeparator).map((e=>e.trim()));n[1]=e.shift(),a=e,u=!0}if(o=t(r.call(this,n[1].trim(),i),i),o&&n[0]===e&&"string"!=typeof o)return o;"string"!=typeof o&&(o=l(o)),o||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),o=""),u&&(o=a.reduce(((e,t)=>this.format(e,t,s.lng,{...s,interpolationkey:n[1].trim()})),o.trim())),e=e.replace(n[0],o),this.regexp.lastIndex=0}return e}}function A(e){const t={};return function(n,o,i){const s=o+JSON.stringify(i);let r=t[s];return r||(r=e(x(o),i),t[s]=r),r(n)}}class D{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=s.create("formatter"),this.options=e,this.formats={number:A(((e,t)=>{const n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)})),currency:A(((e,t)=>{const n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)})),datetime:A(((e,t)=>{const n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)})),relativetime:A(((e,t)=>{const n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")})),list:A(((e,t)=>{const n=new Intl.ListFormat(e,{...t});return e=>n.format(e)}))},this.init(e)}init(e){const t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=A(t)}format(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return t.split(this.formatSeparator).reduce(((e,t)=>{const{formatName:i,formatOptions:s}=function(e){let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const o=e.split("(");t=o[0].toLowerCase().trim();const i=o[1].substring(0,o[1].length-1);"currency"===t&&i.indexOf(":")<0?n.currency||(n.currency=i.trim()):"relativetime"===t&&i.indexOf(":")<0?n.range||(n.range=i.trim()):i.split(";").forEach((e=>{if(!e)return;const[t,...o]=e.split(":"),i=o.join(":").trim().replace(/^'+|'+$/g,"");n[t.trim()]||(n[t.trim()]=i),"false"===i&&(n[t.trim()]=!1),"true"===i&&(n[t.trim()]=!0),isNaN(i)||(n[t.trim()]=parseInt(i,10))}))}return{formatName:t,formatOptions:n}}(t);if(this.formats[i]){let t=e;try{const r=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{},a=r.locale||r.lng||o.locale||o.lng||n;t=this.formats[i](e,a,{...s,...o,...r})}catch(r){this.logger.warn(r)}return t}return this.logger.warn(`there was no format function for ${i}`),e}),e)}}class B extends r{constructor(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=o,this.logger=s.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=o.maxParallelReads||10,this.readingCalls=0,this.maxRetries=o.maxRetries>=0?o.maxRetries:5,this.retryTimeout=o.retryTimeout>=1?o.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(n,o.backend,o)}queueLoad(e,t,n,o){const i={},s={},r={},a={};return e.forEach((e=>{let o=!0;t.forEach((t=>{const r=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[r]=2:this.state[r]<0||(1===this.state[r]?void 0===s[r]&&(s[r]=!0):(this.state[r]=1,o=!1,void 0===s[r]&&(s[r]=!0),void 0===i[r]&&(i[r]=!0),void 0===a[t]&&(a[t]=!0)))})),o||(r[e]=!0)})),(Object.keys(i).length||Object.keys(s).length)&&this.queue.push({pending:s,pendingCount:Object.keys(s).length,loaded:{},errors:[],callback:o}),{toLoad:Object.keys(i),pending:Object.keys(s),toLoadLanguages:Object.keys(r),toLoadNamespaces:Object.keys(a)}}loaded(e,t,n){const o=e.split("|"),i=o[0],s=o[1];t&&this.emit("failedLoading",i,s,t),n&&this.store.addResourceBundle(i,s,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2;const r={};this.queue.forEach((n=>{!function(e,t,n,o){const{obj:i,k:s}=c(e,t,Object);i[s]=i[s]||[],o&&(i[s]=i[s].concat(n)),o||i[s].push(n)}(n.loaded,[i],s),function(e,t){void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)}(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach((e=>{r[e]||(r[e]={});const t=n.loaded[e];t.length&&t.forEach((t=>{void 0===r[e][t]&&(r[e][t]=!0)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",r),this.queue=this.queue.filter((e=>!e.done))}read(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,s=arguments.length>5?arguments[5]:void 0;if(!e.length)return s(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:o,wait:i,callback:s});this.readingCalls++;const r=(r,a)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}r&&a&&o<this.maxRetries?setTimeout((()=>{this.read.call(this,e,t,n,o+1,2*i,s)}),i):s(r,a)},a=this.backend[n].bind(this.backend);if(2!==a.length)return a(e,t,r);try{const n=a(e,t);n&&"function"==typeof n.then?n.then((e=>r(null,e))).catch(r):r(null,n)}catch(l){r(l)}}prepareLoading(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);const i=this.queueLoad(e,t,n,o);if(!i.toLoad.length)return i.pending.length||o(),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){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=e.split("|"),o=n[0],i=n[1];this.read(o,i,"read",void 0,void 0,((n,s)=>{n&&this.logger.warn(`${t}loading namespace ${i} for language ${o} failed`,n),!n&&s&&this.logger.log(`${t}loaded namespace ${i} for language ${o}`,s),this.loaded(e,n,s)}))}saveMissing(e,t,n,o,i){let s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},r=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&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(null!=n&&""!==n){if(this.backend&&this.backend.create){const l={...s,isUpdate:i},u=this.backend.create.bind(this.backend);if(u.length<6)try{let i;i=5===u.length?u(e,t,n,o,l):u(e,t,n,o),i&&"function"==typeof i.then?i.then((e=>r(null,e))).catch(r):r(null,i)}catch(a){r(a)}else u(e,t,n,o,r,l)}e&&e[0]&&this.store.addResource(e[0],t,n,o)}}}function F(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",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:function(e){let t={};if("object"==typeof e[1]&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const n=e[3]||e[2];Object.keys(n).forEach((e=>{t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function M(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function V(){}class U extends r{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;var n;if(super(),this.options=M(e),this.services={},this.logger=s,this.modules={external:[]},n=this,Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach((e=>{"function"==typeof n[e]&&(n[e]=n[e].bind(n))})),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout((()=>{this.init(e,t)}),0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const o=F();function i(e){return e?"function"==typeof e?new e:e:null}if(this.options={...o,...this.options,...M(t)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...o.interpolation,...this.options.interpolation}),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){let t;this.modules.logger?s.init(i(this.modules.logger),this.options):s.init(null,this.options),this.modules.formatter?t=this.modules.formatter:"undefined"!=typeof Intl&&(t=D);const n=new j(this.options);this.store=new k(this.options.resources,this.options);const r=this.services;r.logger=s,r.resourceStore=this.store,r.languageUtils=n,r.pluralResolver=new T(n,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!t||this.options.interpolation.format&&this.options.interpolation.format!==o.interpolation.format||(r.formatter=i(t),r.formatter.init(r,this.options),this.options.interpolation.format=r.formatter.format.bind(r.formatter)),r.interpolator=new I(this.options),r.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},r.backendConnector=new B(i(this.modules.backend),r.resourceStore,r,this.options),r.backendConnector.on("*",(function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];e.emit(t,...o)})),this.modules.languageDetector&&(r.languageDetector=i(this.modules.languageDetector),r.languageDetector.init&&r.languageDetector.init(r,this.options.detection,this.options)),this.modules.i18nFormat&&(r.i18nFormat=i(this.modules.i18nFormat),r.i18nFormat.init&&r.i18nFormat.init(this)),this.translator=new O(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];e.emit(t,...o)})),this.modules.external.forEach((e=>{e.init&&e.init(this)}))}if(this.format=this.options.interpolation.format,n||(n=V),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(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((t=>{this[t]=function(){return e.store[t](...arguments)}}));["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((t=>{this[t]=function(){return e.store[t](...arguments),e}}));const r=a(),l=()=>{const e=(e,t)=>{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),r.resolve(t),n(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?l():setTimeout(l,0),r}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:V;const n="string"==typeof e?e:this.language;if("function"==typeof e&&(t=e),!this.options.resources||this.options.partialBundledLanguages){if(n&&"cimode"===n.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return t();const e=[],o=t=>{if(!t)return;if("cimode"===t)return;this.services.languageUtils.toResolveHierarchy(t).forEach((t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)}))};if(n)o(n);else{this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((e=>o(e)))}this.options.preload&&this.options.preload.forEach((e=>o(e))),this.services.backendConnector.load(e,this.options.ns,(e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),t(e)}))}else t(null)}reloadResources(e,t,n){const o=a();return e||(e=this.languages),t||(t=this.options.ns),n||(n=V),this.services.backendConnector.reload(e,t,(e=>{o.resolve(),n(e)})),o}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&S.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let t=0;t<this.languages.length;t++){const e=this.languages[t];if(!(["cimode","dev"].indexOf(e)>-1)&&this.store.hasLanguageSomeTranslations(e)){this.resolvedLanguage=e;break}}}changeLanguage(e,t){var n=this;this.isLanguageChangingTo=e;const o=a();this.emit("languageChanging",e);const i=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},s=(e,s)=>{s?(i(s),this.translator.changeLanguage(s),this.isLanguageChangingTo=void 0,this.emit("languageChanged",s),this.logger.log("languageChanged",s)):this.isLanguageChangingTo=void 0,o.resolve((function(){return n.t(...arguments)})),t&&t(e,(function(){return n.t(...arguments)}))},r=t=>{e||t||!this.services.languageDetector||(t=[]);const n="string"==typeof t?t:this.services.languageUtils.getBestMatchFromCodes(t);n&&(this.language||i(n),this.translator.language||this.translator.changeLanguage(n),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(n)),this.loadResources(n,(e=>{s(e,n)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(r):this.services.languageDetector.detect(r):r(e):r(this.services.languageDetector.detect()),o}getFixedT(e,t,n){var o=this;const i=function(e,t){let s;if("object"!=typeof t){for(var r=arguments.length,a=new Array(r>2?r-2:0),l=2;l<r;l++)a[l-2]=arguments[l];s=o.options.overloadTranslationOptionHandler([e,t].concat(a))}else s={...t};s.lng=s.lng||i.lng,s.lngs=s.lngs||i.lngs,s.ns=s.ns||i.ns,s.keyPrefix=s.keyPrefix||n||i.keyPrefix;const u=o.options.keySeparator||".";let c;return c=s.keyPrefix&&Array.isArray(e)?e.map((e=>`${s.keyPrefix}${u}${e}`)):s.keyPrefix?`${s.keyPrefix}${u}${e}`:e,o.t(c,s)};return"string"==typeof e?i.lng=e:i.lngs=e,i.ns=t,i.keyPrefix=n,i}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};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;const n=t.lng||this.resolvedLanguage||this.languages[0],o=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;const s=(e,t)=>{const n=this.services.backendConnector.state[`${e}|${t}`];return-1===n||2===n};if(t.precheck){const e=t.precheck(this,s);if(void 0!==e)return e}return!!this.hasResourceBundle(n,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!s(n,e)||o&&!s(i,e)))}loadNamespaces(e,t){const n=a();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)})),this.loadResources((e=>{n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){const n=a();"string"==typeof e&&(e=[e]);const o=this.options.preload||[],i=e.filter((e=>o.indexOf(e)<0));return i.length?(this.options.preload=o.concat(i),this.loadResources((e=>{n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";const t=this.services&&this.services.languageUtils||new j(F());return["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"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){return new U(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:V;const n=e.forkResourceStore;n&&delete e.forkResourceStore;const o={...this.options,...e,isClone:!0},i=new U(o);void 0===e.debug&&void 0===e.prefix||(i.logger=i.logger.clone(e));return["store","services","language"].forEach((e=>{i[e]=this[e]})),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},n&&(i.store=new k(this.store.data,o),i.services.resourceStore=i.store),i.translator=new O(i.services,o),i.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];i.emit(e,...n)})),i.init(o,t),i.translator.options=o,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const q=U.createInstance();q.createInstance=U.createInstance;q.createInstance,q.dir,q.init,q.loadResources,q.reloadResources,q.use,q.changeLanguage,q.getFixedT,q.t,q.exists,q.setDefaultNamespace,q.hasLoadedNamespace,q.loadNamespaces,q.loadLanguages;function H(e){return H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},H(e)}function _(e){var t=function(e,t){if("object"!=H(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=H(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==H(t)?t:t+""}function K(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_(o.key),o)}}var W=[],z=W.forEach,J=W.slice;function Q(e,t,n,o){var i=e.read.bind(e);if(2!==i.length)i(t,n,o);else try{var s=i(t,n);s&&"function"==typeof s.then?s.then((function(e){return o(null,e)})).catch(o):o(null,s)}catch(r){o(r)}}var Y=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.backends=[],this.type="backend",this.allOptions=o,this.init(t,n)}var t,n,o;return t=e,n=[{key:"init",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=function(e){return z.call(J.call(arguments,1),(function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])})),e}(n,this.options||{},{handleEmptyResourcesAsFailed:!0,cacheHitMode:"none"}),this.allOptions=o,this.options.backends&&this.options.backends.forEach((function(n,i){var s;t.backends[i]=t.backends[i]||((s=n)?"function"==typeof s?new s:s:null),t.backends[i].init(e,t.options.backendOptions&&t.options.backendOptions[i]||{},o)})),this.services&&this.options.reloadInterval&&setInterval((function(){return t.reload()}),this.options.reloadInterval)}},{key:"read",value:function(e,t,n){var o=this,i=this.backends.length,s=function n(i,s){if(!(i<0)){var r=o.backends[i];r.save?(r.save(e,t,s),n(i-1,s)):n(i-1,s)}};!function r(a){if(a>=i)return n(new Error("non of the backend loaded data",!0));var l=a===i-1,u=o.options.handleEmptyResourcesAsFailed&&!l?0:-1,c=o.backends[a];c.read?Q(c,e,t,(function(i,l,d){if(!i&&l&&Object.keys(l).length>u){if(n(null,l,a),s(a-1,l),c.save&&o.options.cacheHitMode&&["refresh","refreshAndUpdateStore"].indexOf(o.options.cacheHitMode)>-1){if(d&&o.options.refreshExpirationTime&&d+o.options.refreshExpirationTime>Date.now())return;var g=o.backends[a+1];g&&g.read&&Q(g,e,t,(function(n,i){n||i&&(Object.keys(i).length<=u||(s(a,i),"refreshAndUpdateStore"===o.options.cacheHitMode&&o.services&&o.services.resourceStore&&o.services.resourceStore.addResourceBundle(e,t,i)))}))}}else r(a+1)})):r(a+1)}(0)}},{key:"create",value:function(e,t,n,o){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){},s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.backends.forEach((function(r){if(r.create){var a=r.create.bind(r);if(a.length<6)try{var l;(l=5===a.length?a(e,t,n,o,s):a(e,t,n,o))&&"function"==typeof l.then?l.then((function(e){return i(null,e)})).catch(i):i(null,l)}catch(u){i(u)}else a(e,t,n,o,i,s)}}))}},{key:"reload",value:function(){var e=this,t=this.services,n=t.backendConnector,o=t.languageUtils,i=t.logger,s=n.language;if(!s||"cimode"!==s.toLowerCase()){var r=[],a=function(e){o.toResolveHierarchy(e).forEach((function(e){r.indexOf(e)<0&&r.push(e)}))};a(s),this.allOptions.preload&&this.allOptions.preload.forEach((function(e){return a(e)})),r.forEach((function(t){e.allOptions.ns.forEach((function(e){n.read(t,e,"read",null,null,(function(o,s){o&&i.warn("loading namespace ".concat(e," for language ").concat(t," failed"),o),!o&&s&&i.log("loaded namespace ".concat(e," for language ").concat(t),s),n.loaded("".concat(t,"|").concat(e),o,s)}))}))}))}}}],n&&K(t.prototype,n),o&&K(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}();Y.type="backend";const G={language:"en",fromFHIRQuantityUnitToString:function(e){let{quantity:t}=e;return void 0!==t.code?t.code:void 0!==t.unit?t.unit:""},fromCodeableConceptToString:function(e){let{code:t}=e;if(void 0===t)return;if(void 0!==t.text)return t.text;if(void 0===t.coding||0===t.coding.length)return;let n=t.coding[0];return n.display||n.code},fromExtensionsToString:function(e){let{extensions:t}=e;if(void 0!==t&&0!==t.length)return t.map((e=>JSON.stringify(e))).join(" ")},displayOrder:["method","doseQuantity","doseRange","rateRatio","rateQuantity","rateRange","durationDurationMax","frequencyFrequencyMaxPeriodPeriodMax","offsetWhen","dayOfWeek","timeOfDay","route","site","asNeeded","boundsDuration","boundsPeriod","boundsRange","countCountMax","event","code","maxDosePerPeriod","maxDosePerAdministration","maxDosePerLifetime","additionalInstruction","patientInstruction"],displaySeparator:" - ",dateTimeFormatOptions:{}};class Z{constructor(e,t){this.config={...G,...e},this.i18nConfig={fallbackLng:"en",lng:this.config.language,ns:["common","daysOfWeek","eventTiming","unitsOfTime"],defaultNS:"common",...t},this.i18nInstance=q.createInstance()}async init(){return await this.i18nInstance.use(Y).init(this.i18nConfig)}async changeLanguage(e){return this.config={...this.config,language:e},this.i18nInstance.changeLanguage(e)}getLanguage(){return this.config.language}changeDisplayOrder(e){this.config={...this.config,displayOrder:e}}getDisplayOrder(){return this.config.displayOrder}getDisplaySeparator(){return this.config.displaySeparator}changeDisplaySeparator(e){this.config={...this.config,displaySeparator:e}}getDateTimeFormatOptions(){return this.config.dateTimeFormatOptions}changeDateTimeFormatOptions(e){this.config={...this.config,dateTimeFormatOptions:e}}}function X(e,t){if(void 0===e.doseAndRate)return;let n=e.doseAndRate.find((e=>void 0!==e[t]));return void 0!==n?n[t]:void 0}function ee(e){let{config:t,dos:n,i18next:o}=e,i=X(n,"doseQuantity");if(void 0===i)return;let s=i.value||1,r=t.fromFHIRQuantityUnitToString({language:t.language,quantity:i});return o.t("fields.doseQuantity",{quantity:s,unit:r})}function te(e){let{range:t,config:n,i18next:o}=e;const{low:i,high:s}=t,r=i?.value,a=s?.value;let l=s||i,u=void 0!==l?.unit||void 0!==l?.code;if(void 0===r&&void 0===a)return;let c=u?function(e,t,n){let o=t.value;if("http://hl7.org/fhir/ValueSet/duration-units"===t.system){let n=t.code;return e.t(`unitsOfTime:withoutCount.${n}`,{count:o})}return n.fromFHIRQuantityUnitToString({language:n.language,quantity:t})}(o,l,n):"",d=u?"withUnit":"withoutUnit";return void 0!==r&&void 0!==a?o.t(`amount.range.${d}.lowAndHigh`,{low:r,high:a,unit:c}):void 0!==a?o.t(`amount.range.${d}.onlyHigh`,{high:a,unit:c}):o.t(`amount.range.${d}.onlyLow`,{low:r,unit:c})}function ne(e){let{dos:t,config:n,i18next:o}=e,i=X(t,"doseRange");if(void 0===i)return;const s=te({range:i,config:n,i18next:o});return void 0!==s?o.t("fields.doseRange",{rangeText:s}):void 0}function oe(e){let{dos:t,config:n,i18next:o}=e,i=X(t,"rateQuantity");if(void 0===i)return;let s=i.value||1,r=n.fromFHIRQuantityUnitToString({language:n.language,quantity:i});return o.t("fields.rateQuantity",{quantity:s,unit:r})}function ie(e){let{dos:t,config:n,i18next:o}=e,i=X(t,"rateRange");if(void 0===i)return;const s=te({range:i,config:n,i18next:o});return void 0!==s?o.t("fields.rateRange",{rangeText:s}):void 0}function se(e){return void 0!==(e?.unit||e?.code)}function re(e){let{ratio:t,config:n,i18next:o}=e;const{denominator:i,numerator:s}=t;let r=se(s)?n.fromFHIRQuantityUnitToString({language:n.language,quantity:s}):void 0,a=se(i)?n.fromFHIRQuantityUnitToString({language:n.language,quantity:i}):void 0,l=s?.value,u=i?.value;const c=[];if(void 0!==l){let e=void 0!==r?"withUnit":"withoutUnit";const t=o.t(`amount.ratio.${e}.numerator`,{count:l,numeratorUnit:r});c.push(t)}if(void 0!==u){let e=void 0!==a?"withUnit":"withoutUnit";const t=o.t(`amount.ratio.${e}.denominator`,{count:u,denominatorUnit:a});c.push(t)}return 0===c.length?void 0:c.join(" ")}function ae(e){let{dos:t,config:n,i18next:o}=e,i=X(t,"rateRatio");if(void 0===i)return;const s=re({config:n,i18next:o,ratio:i});return void 0!==s?o.t("fields.rateRatio",{ratioText:s}):void 0}function le(e){if(void 0!==e.timing&&void 0!==e.timing.repeat)return e.timing.repeat}function ue(e){let{dos:t,i18next:n}=e,o=le(t);if(void 0===o)return;let i=o.duration,s=o.durationMax,r=o.durationUnit;return void 0===r?void 0:[void 0!==i&&n.t("fields.duration",{durationText:n.t(`unitsOfTime:withCount.${r}`,{count:i})}),void 0!==s&&n.t("fields.durationMax",{durationMaxText:n.t(`unitsOfTime:withCount.${r}`,{count:s})})].filter((e=>!1!==e)).join(" ")}function ce(e){let{dos:t,i18next:n}=e,o=le(t);if(void 0===o)return;let i=o.frequency,s=o.frequencyMax;return void 0===i&&void 0===s?void 0:void 0!==i&&void 0!==s?n.t("fields.frequency.withfrequencyMax",{count:s,frequency:i}):void 0!==s?n.t("fields.frequencyMax.frequencyMax",{count:s}):n.t("fields.frequency.onlyFrequency",{count:i})}function de(e){let{dos:t,i18next:n}=e,o=le(t);if(void 0===o)return;let i=o.period,s=o.periodMax,r=o.periodUnit;return void 0===r?void 0:void 0!==i&&void 0!==s?n.t("fields.periodMax.withPeriod",{period:i,count:s,unit:n.t(`unitsOfTime:withoutCount.${r}`,{count:s})}):void 0!==s?n.t("fields.periodMax.onlyPeriodMax",{count:s,unit:n.t(`unitsOfTime:withoutCount.${r}`,{count:s})}):n.t("fields.period.period",{count:i,unit:n.t(`unitsOfTime:withoutCount.${r}`,{count:i})})}const ge={and:"linkwords.and",then:"linkwords.then"};function he(e,t,n){void 0===n&&(n="and");const o=t.slice(0,-1).join(", "),i=t.slice(-1).join(""),s=ge[n];return o+(t.length>1?` ${e.t(s)} `:"")+i}function pe(e,t){if(void 0===t||t<=0)return;let n=(o=t,{days:Math.floor(o/1440),hours:Math.floor(o%1440/60),minutes:o%60});var o;return[n.days>0?e.t("unitsOfTime:withCount.d",{count:n.days}):void 0,n.hours>0?e.t("unitsOfTime:withCount.h",{count:n.hours}):void 0,n.minutes>0?e.t("unitsOfTime:withCount.min",{count:n.minutes}):void 0].filter((e=>void 0!==e)).join(" ")}function fe(e,t){if(void 0===t||0===t.length)return;const n=t.map((t=>e.t(`eventTiming:${t}`)));return he(e,n)}function me(e){let{dos:t,i18next:n}=e,o=le(t);if(void 0===o)return;let i=o.offset,s=o.when;return void 0!==i||void 0!==s?[pe(n,i),fe(n,s)].filter((e=>void 0!==e)).join(" "):void 0}function ve(e){let{dos:t,i18next:n}=e,o=le(t);if(void 0===o)return;let i=o.dayOfWeek;if(void 0!==i&&0!==i.length){const e=i.map((e=>n.t(`daysOfWeek:${e}`))),t=he(n,e);return n.t("fields.dayOfWeek.dayOfWeek",{count:i.length,dayOfWeek:t})}}function ye(e){var t=e.split(":");return t.length>2&&"00"===t[2]&&t.pop(),t.join(":")}function be(e){let{dos:t,i18next:n}=e,o=le(t);if(void 0===o)return;let i=o.timeOfDay;if(void 0!==i&&0!==i.length){const e=i.map(ye),t=he(n,e);return n.t("fields.timeOfDay",{timeOfDay:t,count:e.length})}}function xe(e,t,n){return he(e,t.map((e=>n.fromCodeableConceptToString({code:e,language:n.language}))).filter((e=>void 0!==e)))}function ke(e){let{dos:t,config:n,i18next:o}=e,i=t.asNeededBoolean,s=t.asNeededCodeableConcept,r=t.asNeededFor,a=t.asNeeded,l=r||(void 0!==s?[s]:[]);if(l.length>0)return o.t("fields.asNeededFor",{reasons:xe(o,l,n)});return i||a||!1?o.t("fields.asNeeded"):void 0}function Se(e){let{dos:t,config:n,i18next:o}=e,i=le(t);if(void 0===i)return;let s=i.boundsDuration;if(void 0!==s){let e=function(e,t,n){let o=t.value;if("http://hl7.org/fhir/ValueSet/duration-units"===t.system){let n=t.code;return e.t(`unitsOfTime:withCount.${n}`,{count:o})}return`${o} ${n.fromFHIRQuantityUnitToString({language:n.language,quantity:t})}`}(o,s,n);return o.t("fields.boundsDuration",{durationText:e})}}function we(e){let{dos:t,config:n,i18next:o}=e,i=le(t);if(void 0===i)return;let s=i.boundsRange;if(void 0!==s){const e=te({range:s,config:n,i18next:o});if(void 0===e)return;return o.t("fields.boundsRange",{rangeText:e})}}function Oe(e){let{dos:t,i18next:n}=e,o=le(t);if(void 0===o)return;let i=o.count,s=o.countMax;return void 0===i&&void 0===s?void 0:void 0!==i&&void 0!==s?n.t("fields.countMax.countMax",{count:s,low:i}):void 0!==s?n.t("fields.count.count",{count:s}):n.t("fields.count.count",{count:i})}function Le(e){return{year:void 0===e.dateStyle?e.year||"numeric":void 0,month:void 0===e.dateStyle?e.month||"2-digit":void 0,day:void 0===e.dateStyle?e.day||"2-digit":void 0,weekday:void 0===e.dateStyle?e.weekday:void 0}}function je(e){return{hour:void 0===e.timeStyle?e.hour||"2-digit":void 0,minute:void 0===e.timeStyle?e.minute||"2-digit":void 0,second:void 0===e.timeStyle?e.second||"2-digit":void 0}}function Ne(e){let{config:t,datetimes:n}=e,o=t.dateTimeFormatOptions;return n.map((e=>{let t=new Date(e),n=e.includes("T"),o=e.split("-").length-1;return{date:t,hasTimePart:n,hasMonths:o>=1,hasDays:o>=2}})).map((e=>{let{date:n,hasTimePart:i,hasMonths:s,hasDays:r}=e;if(!s){return new Intl.DateTimeFormat(t.language,{year:"numeric"}).format(n)}if(!r){return new Intl.DateTimeFormat(t.language,{year:"numeric",month:"long"}).format(n)}if(!i){return new Intl.DateTimeFormat(t.language,{dateStyle:o.dateStyle,...Le(o)}).format(n)}return new Intl.DateTimeFormat(t.language,{dateStyle:o.dateStyle,timeStyle:o.timeStyle,...Le(o),...je(o)}).format(n)}))}function Ce(e){let{config:t,datetime:n}=e;if(void 0===n)return;return Ne({config:t,datetimes:[n]})[0]}function Re(e){let{dos:t,config:n,i18next:o}=e;if(void 0===t.timing||void 0===t.timing.event||0===t.timing.event.length)return;let i=t.timing.event,s=he(o,Ne({config:n,datetimes:i}));return o.t("fields.event.event",{count:i.length,event:s})}function Pe(e){let{dos:t,config:n,i18next:o}=e;if(void 0!==t.additionalInstruction&&0!==t.additionalInstruction.length)return he(o,t.additionalInstruction.map((e=>n.fromCodeableConceptToString({code:e,language:n.language}))).filter((e=>void 0!==e)))}function $e(e){let{dos:t,config:n,i18next:o}=e;if(void 0===t.maxDosePerLifetime)return;const i=t.maxDosePerLifetime;let s=n.fromFHIRQuantityUnitToString({language:n.language,quantity:i});return o.t("fields.maxDosePerLifetime",{count:i.value||1,unit:s})}function Te(e){let{dos:t,config:n,i18next:o}=e;if(void 0===t.maxDosePerAdministration)return;const i=t.maxDosePerAdministration;let s=n.fromFHIRQuantityUnitToString({language:n.language,quantity:i});return o.t("fields.maxDosePerAdministration",{count:i.value||1,unit:s})}function Ee(e){let{dos:t,config:n,i18next:o}=e;if(void 0===t.timing||void 0===t.timing.repeat||void 0===t.timing.repeat.boundsPeriod)return;const i=t.timing.repeat.boundsPeriod;let s=Ce({config:n,datetime:i.start}),r=Ce({config:n,datetime:i.end});return void 0!==s&&void 0!==r?o.t("fields.boundsPeriod.startAndEnd",{start:s,end:r}):void 0!==s?o.t("fields.boundsPeriod.onlyStart",{start:s}):o.t("fields.boundsPeriod.onlyEnd",{end:r})}function Ie(e){let{dos:t,config:n,i18next:o}=e;if(void 0===t.maxDosePerPeriod)return;const i=t.maxDosePerPeriod,s=Array.isArray(i)?i:[i];if(0===s.length)return;const r=s.map((e=>re({config:n,i18next:o,ratio:e}))).filter((e=>void 0!==e)),a=he(o,r);return o.t("fields.maxDosePerPeriod",{count:s.length,maxDosePerPeriodText:a})}const Ae={additionalInstruction:e=>Pe(e),asNeeded:e=>ke(e),boundsDuration:e=>Se(e),boundsRange:e=>we(e),boundsPeriod:e=>Ee(e),code:e=>{let{dos:t,config:n}=e;return n.fromCodeableConceptToString({language:n.language,code:t.timing?.code})},countCountMax:e=>Oe(e),dayOfWeek:e=>ve(e),doseQuantity:e=>ee(e),doseRange:e=>ne(e),durationDurationMax:e=>ue(e),event:e=>Re(e),extension:e=>{let{dos:t,config:n}=e;return n.fromExtensionsToString({language:n.language,extensions:t.extension})},frequencyFrequencyMax:e=>ce(e),frequencyFrequencyMaxPeriodPeriodMax:e=>{let t=[ce(e),de(e)].filter((e=>void 0!==e));return t.length>0?t.join(" "):void 0},maxDosePerAdministration:e=>Te(e),maxDosePerLifetime:e=>$e(e),maxDosePerPeriod:e=>Ie(e),method:e=>{let{dos:t,config:n}=e;return n.fromCodeableConceptToString({language:n.language,code:t.method})},offsetWhen:e=>me(e),patientInstruction:e=>{let{dos:t}=e;return t.patientInstruction},periodPeriodMax:e=>de(e),rateQuantity:e=>oe(e),rateRange:e=>ie(e),rateRatio:e=>ae(e),route:e=>{let{dos:t,config:n}=e;return n.fromCodeableConceptToString({language:n.language,code:t.route})},site:e=>{let{dos:t,config:n}=e;return n.fromCodeableConceptToString({language:n.language,code:t.site})},text:e=>{let{dos:t}=e;return t.text},timeOfDay:e=>be(e)};function De(e){let{entry:t,...n}=e;return Ae[t](n)}const Be={backend:{backends:[(Fe=async(e,t)=>n(4241)(`./${e}/${t}.json`),{type:"backend",init:function(e,t,n){},read:function(e,t,n){if("function"!=typeof Fe)n(null,Fe&&Fe[e]&&Fe[e][t]);else{if(Fe.length<3){try{var o=Fe(e,t);o&&"function"==typeof o.then?o.then((function(e){return n(null,e&&e.default||e)})).catch(n):n(null,o)}catch(i){n(i)}return}Fe(e,t,n)}}})]}};var Fe;class Me extends Z{static async build(e,t){void 0===t&&(t=Be);const n=new Me(e,t);return await n.init(),n}containsOnlySequentialInstructions(e){let t=e.map((e=>e.sequence)).filter((e=>void 0!==e)),n=new Set(t);return 0===n.size||n.size===e.length}groupBySequence(e){let t={},n=new Set;for(let o=0;o<e.length;o++){const i=e[o];let s=i.sequence||o+1,r=t[s]||[];r.push(i),t[s]=r,n.add(s)}return[...n.values()].map((e=>t[e]))}getFields(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return n.map((t=>De({config:this.config,dos:e,entry:t,i18next:this.i18nInstance}))).filter((e=>void 0!==e)).join(this.config.displaySeparator)}fromDosageToText(e){let t=this.config.displayOrder;return this.getFields(e,...t)}fromMultipleDosageToText(e){if(this.containsOnlySequentialInstructions(e)){const t=e.map((e=>this.fromDosageToText(e)));return he(this.i18nInstance,t,"then")}let t=this.groupBySequence(e).map((e=>{let t=e.map((e=>this.fromDosageToText(e)));return he(this.i18nInstance,t,"and")}));return he(this.i18nInstance,t,"then")}}var Ve=Me},1812:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>C});var o=n(6540),i=n(2303),s=n(4164),r=n(6058),a=n(7559),l=n(4291);const u={codeBlockContainer:"codeBlockContainer_Ckt0"};var c=n(4848);function d(e){let{as:t,...n}=e;const o=(0,r.A)(),i=(0,l.M$)(o);return(0,c.jsx)(t,{...n,style:i,className:(0,s.A)(n.className,u.codeBlockContainer,a.G.common.codeBlock)})}const g={codeBlockContent:"codeBlockContent_biex",codeBlockTitle:"codeBlockTitle_Ktv7",codeBlock:"codeBlock_bY9V",codeBlockStandalone:"codeBlockStandalone_MEMb",codeBlockLines:"codeBlockLines_e6Vv",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_o6Pm",buttonGroup:"buttonGroup__atx"};function h(e){let{children:t,className:n}=e;return(0,c.jsx)(d,{as:"pre",tabIndex:0,className:(0,s.A)(g.codeBlockStandalone,"thin-scrollbar",n),children:(0,c.jsx)("code",{className:g.codeBlockLines,children:t})})}var p=n(6342),f=n(6591),m=n(1765);const v={codeLine:"codeLine_lJS_",codeLineNumber:"codeLineNumber_Tfdd",codeLineContent:"codeLineContent_feaV"};function y(e){let{line:t,classNames:n,showLineNumbers:o,getLineProps:i,getTokenProps:r}=e;1===t.length&&"\n"===t[0].content&&(t[0].content="");const a=i({line:t,className:(0,s.A)(n,o&&v.codeLine)}),l=t.map(((e,t)=>(0,c.jsx)("span",{...r({token:e,key:t})},t)));return(0,c.jsxs)("span",{...a,children:[o?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("span",{className:v.codeLineNumber}),(0,c.jsx)("span",{className:v.codeLineContent,children:l})]}):l,(0,c.jsx)("br",{})]})}var b=n(1312);function x(e){return(0,c.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,c.jsx)("path",{fill:"currentColor",d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"})})}function k(e){return(0,c.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,c.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})}const S={copyButtonCopied:"copyButtonCopied_obH4",copyButtonIcons:"copyButtonIcons_eSgA",copyButtonIcon:"copyButtonIcon_y97N",copyButtonSuccessIcon:"copyButtonSuccessIcon_LjdS"};function w(e){let{code:t,className:n}=e;const[i,r]=(0,o.useState)(!1),a=(0,o.useRef)(void 0),l=(0,o.useCallback)((()=>{!function(e,t){let{target:n=document.body}=void 0===t?{}:t;if("string"!=typeof e)throw new TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof e}\`.`);const o=document.createElement("textarea"),i=document.activeElement;o.value=e,o.setAttribute("readonly",""),o.style.contain="strict",o.style.position="absolute",o.style.left="-9999px",o.style.fontSize="12pt";const s=document.getSelection(),r=s.rangeCount>0&&s.getRangeAt(0);n.append(o),o.select(),o.selectionStart=0,o.selectionEnd=e.length;let a=!1;try{a=document.execCommand("copy")}catch{}o.remove(),r&&(s.removeAllRanges(),s.addRange(r)),i&&i.focus()}(t),r(!0),a.current=window.setTimeout((()=>{r(!1)}),1e3)}),[t]);return(0,o.useEffect)((()=>()=>window.clearTimeout(a.current)),[]),(0,c.jsx)("button",{type:"button","aria-label":i?(0,b.T)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,b.T)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,b.T)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,s.A)("clean-btn",n,S.copyButton,i&&S.copyButtonCopied),onClick:l,children:(0,c.jsxs)("span",{className:S.copyButtonIcons,"aria-hidden":"true",children:[(0,c.jsx)(x,{className:S.copyButtonIcon}),(0,c.jsx)(k,{className:S.copyButtonSuccessIcon})]})})}function O(e){return(0,c.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,c.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}const L={wordWrapButtonIcon:"wordWrapButtonIcon_Bwma",wordWrapButtonEnabled:"wordWrapButtonEnabled_EoeP"};function j(e){let{className:t,onClick:n,isEnabled:o}=e;const i=(0,b.T)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,c.jsx)("button",{type:"button",onClick:n,className:(0,s.A)("clean-btn",t,o&&L.wordWrapButtonEnabled),"aria-label":i,title:i,children:(0,c.jsx)(O,{className:L.wordWrapButtonIcon,"aria-hidden":"true"})})}function N(e){let{children:t,className:n="",metastring:o,title:i,showLineNumbers:a,language:u}=e;const{prism:{defaultLanguage:h,magicComments:v}}=(0,p.p)(),b=function(e){return e?.toLowerCase()}(u??(0,l.Op)(n)??h),x=(0,r.A)(),k=(0,f.f)(),S=(0,l.wt)(o)||i,{lineClassNames:O,code:L}=(0,l.Li)(t,{metastring:o,language:b,magicComments:v}),N=a??(0,l._u)(o);return(0,c.jsxs)(d,{as:"div",className:(0,s.A)(n,b&&!n.includes(`language-${b}`)&&`language-${b}`),children:[S&&(0,c.jsx)("div",{className:g.codeBlockTitle,children:S}),(0,c.jsxs)("div",{className:g.codeBlockContent,children:[(0,c.jsx)(m.f4,{theme:x,code:L,language:b??"text",children:e=>{let{className:t,style:n,tokens:o,getLineProps:i,getTokenProps:r}=e;return(0,c.jsx)("pre",{tabIndex:0,ref:k.codeBlockRef,className:(0,s.A)(t,g.codeBlock,"thin-scrollbar"),style:n,children:(0,c.jsx)("code",{className:(0,s.A)(g.codeBlockLines,N&&g.codeBlockLinesWithNumbering),children:o.map(((e,t)=>(0,c.jsx)(y,{line:e,getLineProps:i,getTokenProps:r,classNames:O[t],showLineNumbers:N},t)))})})}}),(0,c.jsxs)("div",{className:g.buttonGroup,children:[(k.isEnabled||k.isCodeScrollable)&&(0,c.jsx)(j,{className:g.codeButton,onClick:()=>k.toggle(),isEnabled:k.isEnabled}),(0,c.jsx)(w,{className:g.codeButton,code:L})]})]})]})}function C(e){let{children:t,...n}=e;const s=(0,i.A)(),r=function(e){return o.Children.toArray(e).some((e=>(0,o.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),a="string"==typeof r?N:h;return(0,c.jsx)(a,{...n,children:r},String(s))}},9365:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});n(6540);var o=n(4164);const i={tabItem:"tabItem_Ymn6"};var s=n(4848);function r(e){let{children:t,hidden:n,className:r}=e;return(0,s.jsx)("div",{role:"tabpanel",className:(0,o.A)(i.tabItem,r),hidden:n,children:t})}},4865:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var o=n(6540),i=n(4164),s=n(3104),r=n(7751),a=n(2303);const l={tabList:"tabList__CuJ",tabItem:"tabItem_LNqP"};var u=n(4848);function c(e){let{className:t,block:n,selectedValue:o,selectValue:r,tabValues:a}=e;const c=[],{blockElementScrollPositionUntilNextRender:d}=(0,s.a_)(),g=e=>{const t=e.currentTarget,n=c.indexOf(t),i=a[n].value;i!==o&&(d(t),r(i))},h=e=>{let t=null;switch(e.key){case"Enter":g(e);break;case"ArrowRight":{const n=c.indexOf(e.currentTarget)+1;t=c[n]??c[0];break}case"ArrowLeft":{const n=c.indexOf(e.currentTarget)-1;t=c[n]??c[c.length-1];break}}t?.focus()};return(0,u.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,i.A)("tabs",{"tabs--block":n},t),children:a.map((e=>{let{value:t,label:n,attributes:s}=e;return(0,u.jsx)("li",{role:"tab",tabIndex:o===t?0:-1,"aria-selected":o===t,ref:e=>c.push(e),onKeyDown:h,onClick:g,...s,className:(0,i.A)("tabs__item",l.tabItem,s?.className,{"tabs__item--active":o===t}),children:n??t},t)}))})}function d(e){let{lazy:t,children:n,selectedValue:i}=e;const s=(Array.isArray(n)?n:[n]).filter(Boolean);if(t){const e=s.find((e=>e.props.value===i));return e?(0,o.cloneElement)(e,{className:"margin-top--md"}):null}return(0,u.jsx)("div",{className:"margin-top--md",children:s.map(((e,t)=>(0,o.cloneElement)(e,{key:t,hidden:e.props.value!==i})))})}function g(e){const t=(0,r.u)(e);return(0,u.jsxs)("div",{className:(0,i.A)("tabs-container",l.tabList),children:[(0,u.jsx)(c,{...e,...t}),(0,u.jsx)(d,{...e,...t})]})}function h(e){const t=(0,a.A)();return(0,u.jsx)(g,{...e,children:(0,r.v)(e.children)},String(t))}},6591:(e,t,n)=>{"use strict";n.d(t,{f:()=>a});var o=n(6540),i=n(9532);const s={attributes:!0,characterData:!0,childList:!0,subtree:!0};function r(e,t){const[n,r]=(0,o.useState)(),a=(0,o.useCallback)((()=>{r(e.current?.closest("[role=tabpanel][hidden]"))}),[e,r]);(0,o.useEffect)((()=>{a()}),[a]),function(e,t,n){void 0===n&&(n=s);const r=(0,i._q)(t),a=(0,i.Be)(n);(0,o.useEffect)((()=>{const t=new MutationObserver(r);return e&&t.observe(e,a),()=>t.disconnect()}),[e,r,a])}(n,(e=>{e.forEach((e=>{"attributes"===e.type&&"hidden"===e.attributeName&&(t(),a())}))}),{attributes:!0,characterData:!1,childList:!1,subtree:!1})}function a(){const[e,t]=(0,o.useState)(!1),[n,i]=(0,o.useState)(!1),s=(0,o.useRef)(null),a=(0,o.useCallback)((()=>{const n=s.current.querySelector("code");e?n.removeAttribute("style"):(n.style.whiteSpace="pre-wrap",n.style.overflowWrap="anywhere"),t((e=>!e))}),[s,e]),l=(0,o.useCallback)((()=>{const{scrollWidth:e,clientWidth:t}=s.current,n=e>t||s.current.querySelector("code").hasAttribute("style");i(n)}),[s]);return r(s,l),(0,o.useEffect)((()=>{l()}),[e,l]),(0,o.useEffect)((()=>(window.addEventListener("resize",l,{passive:!0}),()=>{window.removeEventListener("resize",l)})),[l]),{codeBlockRef:s,isEnabled:e,isCodeScrollable:n,toggle:a}}},6058:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var o=n(5293),i=n(6342);function s(){const{prism:e}=(0,i.p)(),{colorMode:t}=(0,o.G)(),n=e.theme,s=e.darkTheme||n;return"dark"===t?s:n}},4291:(e,t,n)=>{"use strict";n.d(t,{Li:()=>p,M$:()=>f,Op:()=>h,_u:()=>g,wt:()=>d});var o=n(8426),i=n.n(o);const s=/title=(?<quote>["'])(?<title>.*?)\1/,r=/\{(?<range>[\d,-]+)\}/,a={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},l={...a,lua:{start:"--",end:""},wasm:{start:"\\;\\;",end:""},tex:{start:"%",end:""},vb:{start:"['\u2018\u2019]",end:""},vbnet:{start:"(?:_\\s*)?['\u2018\u2019]",end:""},rem:{start:"[Rr][Ee][Mm]\\b",end:""},f90:{start:"!",end:""},ml:{start:"\\(\\*",end:"\\*\\)"},cobol:{start:"\\*>",end:""}},u=Object.keys(a);function c(e,t){const n=e.map((e=>{const{start:n,end:o}=l[e];return`(?:${n}\\s*(${t.flatMap((e=>[e.line,e.block?.start,e.block?.end].filter(Boolean))).join("|")})\\s*${o})`})).join("|");return new RegExp(`^\\s*(?:${n})\\s*$`)}function d(e){return e?.match(s)?.groups.title??""}function g(e){return Boolean(e?.includes("showLineNumbers"))}function h(e){const t=e.split(" ").find((e=>e.startsWith("language-")));return t?.replace(/language-/,"")}function p(e,t){let n=e.replace(/\n$/,"");const{language:o,magicComments:s,metastring:a}=t;if(a&&r.test(a)){const e=a.match(r).groups.range;if(0===s.length)throw new Error(`A highlight range has been given in code block's metastring (\`\`\` ${a}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);const t=s[0].className,o=i()(e).filter((e=>e>0)).map((e=>[e-1,[t]]));return{lineClassNames:Object.fromEntries(o),code:n}}if(void 0===o)return{lineClassNames:{},code:n};const l=function(e,t){switch(e){case"js":case"javascript":case"ts":case"typescript":return c(["js","jsBlock"],t);case"jsx":case"tsx":return c(["js","jsBlock","jsx"],t);case"html":return c(["js","jsBlock","html"],t);case"python":case"py":case"bash":return c(["bash"],t);case"markdown":case"md":return c(["html","jsx","bash"],t);case"tex":case"latex":case"matlab":return c(["tex"],t);case"lua":case"haskell":case"sql":return c(["lua"],t);case"wasm":return c(["wasm"],t);case"vb":case"vba":case"visual-basic":return c(["vb","rem"],t);case"vbnet":return c(["vbnet","rem"],t);case"batch":return c(["rem"],t);case"basic":return c(["rem","f90"],t);case"fsharp":return c(["js","ml"],t);case"ocaml":case"sml":return c(["ml"],t);case"fortran":return c(["f90"],t);case"cobol":return c(["cobol"],t);default:return c(u,t)}}(o,s),d=n.split("\n"),g=Object.fromEntries(s.map((e=>[e.className,{start:0,range:""}]))),h=Object.fromEntries(s.filter((e=>e.line)).map((e=>{let{className:t,line:n}=e;return[n,t]}))),p=Object.fromEntries(s.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.start,t]}))),f=Object.fromEntries(s.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.end,t]})));for(let i=0;i<d.length;){const e=d[i].match(l);if(!e){i+=1;continue}const t=e.slice(1).find((e=>void 0!==e));h[t]?g[h[t]].range+=`${i},`:p[t]?g[p[t]].start=i:f[t]&&(g[f[t]].range+=`${g[f[t]].start}-${i-1},`),d.splice(i,1)}n=d.join("\n");const m={};return Object.entries(g).forEach((e=>{let[t,{range:n}]=e;i()(n).forEach((e=>{m[e]??=[],m[e].push(t)}))})),{lineClassNames:m,code:n}}function f(e){const t={color:"--prism-color",backgroundColor:"--prism-background-color"},n={};return Object.entries(e.plain).forEach((e=>{let[o,i]=e;const s=t[o];s&&"string"==typeof i&&(n[s]=i)})),n}},7751:(e,t,n)=>{"use strict";n.d(t,{u:()=>h,v:()=>u});var o=n(6540),i=n(6347),s=n(205),r=n(7485),a=n(1682),l=n(9466);function u(e){return o.Children.toArray(e).filter((e=>"\n"!==e)).map((e=>{if(!e||(0,o.isValidElement)(e)&&function(e){const{props:t}=e;return!!t&&"object"==typeof t&&"value"in t}(e))return e;throw new Error(`Docusaurus error: Bad <Tabs> child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the <Tabs> component should be <TabItem>, and every <TabItem> should have a unique "value" prop.`)}))?.filter(Boolean)??[]}function c(e){const{values:t,children:n}=e;return(0,o.useMemo)((()=>{const e=t??function(e){return u(e).map((e=>{let{props:{value:t,label:n,attributes:o,default:i}}=e;return{value:t,label:n,attributes:o,default:i}}))}(n);return function(e){const t=(0,a.X)(e,((e,t)=>e.value===t.value));if(t.length>0)throw new Error(`Docusaurus error: Duplicate values "${t.map((e=>e.value)).join(", ")}" found in <Tabs>. Every value needs to be unique.`)}(e),e}),[t,n])}function d(e){let{value:t,tabValues:n}=e;return n.some((e=>e.value===t))}function g(e){let{queryString:t=!1,groupId:n}=e;const s=(0,i.W6)(),a=function(e){let{queryString:t=!1,groupId:n}=e;if("string"==typeof t)return t;if(!1===t)return null;if(!0===t&&!n)throw new Error('Docusaurus error: The <Tabs> component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return n??null}({queryString:t,groupId:n});return[(0,r.aZ)(a),(0,o.useCallback)((e=>{if(!a)return;const t=new URLSearchParams(s.location.search);t.set(a,e),s.replace({...s.location,search:t.toString()})}),[a,s])]}function h(e){const{defaultValue:t,queryString:n=!1,groupId:i}=e,r=c(e),[a,u]=(0,o.useState)((()=>function(e){let{defaultValue:t,tabValues:n}=e;if(0===n.length)throw new Error("Docusaurus error: the <Tabs> component requires at least one <TabItem> children component");if(t){if(!d({value:t,tabValues:n}))throw new Error(`Docusaurus error: The <Tabs> has a defaultValue "${t}" but none of its children has the corresponding value. Available values are: ${n.map((e=>e.value)).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return t}const o=n.find((e=>e.default))??n[0];if(!o)throw new Error("Unexpected error: 0 tabValues");return o.value}({defaultValue:t,tabValues:r}))),[h,p]=g({queryString:n,groupId:i}),[f,m]=function(e){let{groupId:t}=e;const n=function(e){return e?`docusaurus.tab.${e}`:null}(t),[i,s]=(0,l.Dv)(n);return[i,(0,o.useCallback)((e=>{n&&s.set(e)}),[n,s])]}({groupId:i}),v=(()=>{const e=h??f;return d({value:e,tabValues:r})?e:null})();(0,s.A)((()=>{v&&u(v)}),[v]);return{selectedValue:a,selectValue:(0,o.useCallback)((e=>{if(!d({value:e,tabValues:r}))throw new Error(`Can't select invalid tab value=${e}`);u(e),p(e),m(e)}),[p,m,r]),tabValues:r}}},8426:(e,t)=>{function n(e){let t,n=[];for(let o of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(o))n.push(parseInt(o,10));else if(t=o.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,o,i,s]=t;if(o&&s){o=parseInt(o),s=parseInt(s);const e=o<s?1:-1;"-"!==i&&".."!==i&&"\u2025"!==i||(s+=e);for(let t=o;t!==s;t+=e)n.push(t)}}return n}t.default=n,e.exports=n},8453:(e,t,n)=>{"use strict";n.d(t,{R:()=>r,x:()=>a});var o=n(6540);const i={},s=o.createContext(i);function r(e){const t=o.useContext(s);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),o.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/d026f85a.cf00f2b3.js b/assets/js/d026f85a.cf00f2b3.js new file mode 100644 index 00000000..723c67e4 --- /dev/null +++ b/assets/js/d026f85a.cf00f2b3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9307],{8298:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>l,contentTitle:()=>a,default:()=>m,frontMatter:()=>s,metadata:()=>o,toc:()=>u});var n=i(4848),r=i(8453);const s={slug:"empowerment",title:"Customizing i18next Configuration in Our Library",authors:["jy95"],tags:["features"]},a=void 0,o={permalink:"/fhir-dosage-utils/blog/empowerment",editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2024-04-20-empowerment.mdx",source:"@site/blog/2024-04-20-empowerment.mdx",title:"Customizing i18next Configuration in Our Library",description:"We're thrilled to announce a new feature in our library that empowers users to tailor i18next configuration to their preferences.",date:"2024-04-20T00:00:00.000Z",formattedDate:"April 20, 2024",tags:[{label:"features",permalink:"/fhir-dosage-utils/blog/tags/features"}],readingTime:.5,hasTruncateMarker:!1,authors:[{name:"Jacques Yakoub",title:"Creator",url:"https://github.com/jy95",imageURL:"https://avatars.githubusercontent.com/u/9306961?v=4",key:"jy95"}],frontMatter:{slug:"empowerment",title:"Customizing i18next Configuration in Our Library",authors:["jy95"],tags:["features"]},unlisted:!1,nextItem:{title:"Welcome",permalink:"/fhir-dosage-utils/blog/welcome"}},l={authorsImageUrls:[void 0]},u=[];function c(e){const t={li:"li",p:"p",strong:"strong",ul:"ul",...(0,r.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.p,{children:"We're thrilled to announce a new feature in our library that empowers users to tailor i18next configuration to their preferences.\ni18next, the internationalization framework, plays a crucial role in facilitating multilingual support. Now, with this enhancement, users have greater control over how i18next behaves within our system."}),"\n",(0,n.jsx)(t.p,{children:"Benefits :"}),"\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.strong,{children:"Flexibility"})," : Users can adapt i18next settings to suit their project's needs, ensuring a seamless internationalization experience."]}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.strong,{children:"Customization"})," : Fine-tune language-related functionalities, such as pluralization rules or date formatting, to match project specifications."]}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.strong,{children:"Ease of Integration"})," : Our library seamlessly integrates with existing i18next workflows, minimizing implementation hurdles."]}),"\n"]})]})}function m(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(c,{...e})}):c(e)}}}]); \ No newline at end of file diff --git a/assets/js/d0a7fa20.1a3095ad.js b/assets/js/d0a7fa20.1a3095ad.js deleted file mode 100644 index 604bb6cf..00000000 --- a/assets/js/d0a7fa20.1a3095ad.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3462],{8484:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>f,contentTitle:()=>d,default:()=>m,frontMatter:()=>u,metadata:()=>h,toc:()=>g});var s=t(4848),i=t(8453),a=t(1812);const l=JSON.parse('{"timing":{"repeat":{"when":["MORN"]}}}');var r=t(4865),o=t(9365),c=t(816);const u={description:"when - single item",title:"\ud83d\udd52 When (Single item)"},d=void 0,h={id:"specs/offsetWhen/when/single_item",title:"\ud83d\udd52 When (Single item)",description:"when - single item",source:"@site/docs/specs/offsetWhen/when/single_item.mdx",sourceDirName:"specs/offsetWhen/when",slug:"/specs/offsetWhen/when/single_item",permalink:"/fhir-dosage-utils/docs/specs/offsetWhen/when/single_item",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/offsetWhen/when/single_item.mdx",tags:[],version:"current",frontMatter:{description:"when - single item",title:"\ud83d\udd52 When (Single item)"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udd52 When (Multiple items)",permalink:"/fhir-dosage-utils/docs/specs/offsetWhen/when/multiple_items"},next:{title:"\ud83d\udd52 offset and when",permalink:"/fhir-dosage-utils/docs/specs/offsetWhen/when_and_offset"}},f={},g=[];function p(e){return(0,s.jsxs)(r.A,{children:[(0,s.jsx)(o.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(c.A,{dosage:l})}),(0,s.jsx)(o.A,{value:"json",label:"Dosage",children:(0,s.jsx)(a.default,{language:"json",children:JSON.stringify(l,null,2)})})]})}function m(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(p,{...e})}):p()}},816:(e,n,t)=>{t.d(n,{A:()=>r});var s=t(6540),i=t(6300),a=t(1812),l=t(4848);function r(e){let{dosage:n,config:t}=e;const[r,o]=(0,s.useState)(""),[c,u]=(0,s.useState)(t?.language||"en"),[d,h]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await i.A.build(t);h(e)}()}),[t]),(0,s.useEffect)((()=>{!async function(){if(d){const e=d.fromDosageToText(n);o(e)}}()}),[n,d]);return(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{style:{display:"flex"},children:[(0,l.jsxs)("select",{value:c,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,l.jsx)("option",{value:"en",children:"English"}),(0,l.jsx)("option",{value:"fr",children:"French"}),(0,l.jsx)("option",{value:"nl",children:"Dutch"}),(0,l.jsx)("option",{value:"de",children:"German"})]}),(0,l.jsx)("button",{onClick:async()=>{if(d){await d.changeLanguage(c);const e=d.fromDosageToText(n);o(e)}},children:"Confirm"})]}),(0,l.jsx)("div",{style:{marginTop:"10px"},children:(0,l.jsx)(a.default,{language:"markup",children:(f=r,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/d0a7fa20.7778fb49.js b/assets/js/d0a7fa20.7778fb49.js new file mode 100644 index 00000000..d40631cd --- /dev/null +++ b/assets/js/d0a7fa20.7778fb49.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3462],{8484:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>h,contentTitle:()=>d,default:()=>m,frontMatter:()=>u,metadata:()=>f,toc:()=>g});var s=t(4848),i=t(8453),a=t(1812);const l=JSON.parse('{"timing":{"repeat":{"when":["MORN"]}}}');var o=t(4865),r=t(9365),c=t(816);const u={description:"when - single item",title:"\ud83d\udd52 When (Single item)"},d=void 0,f={id:"specs/offsetWhen/when/single_item",title:"\ud83d\udd52 When (Single item)",description:"when - single item",source:"@site/docs/specs/offsetWhen/when/single_item.mdx",sourceDirName:"specs/offsetWhen/when",slug:"/specs/offsetWhen/when/single_item",permalink:"/fhir-dosage-utils/docs/specs/offsetWhen/when/single_item",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/offsetWhen/when/single_item.mdx",tags:[],version:"current",frontMatter:{description:"when - single item",title:"\ud83d\udd52 When (Single item)"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udd52 When (Multiple items)",permalink:"/fhir-dosage-utils/docs/specs/offsetWhen/when/multiple_items"},next:{title:"\ud83d\udd52 offset and when",permalink:"/fhir-dosage-utils/docs/specs/offsetWhen/when_and_offset"}},h={},g=[];function p(e){return(0,s.jsxs)(o.A,{children:[(0,s.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(c.A,{dosage:l})}),(0,s.jsx)(r.A,{value:"json",label:"Dosage",children:(0,s.jsx)(a.default,{language:"json",children:JSON.stringify(l,null,2)})})]})}function m(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(p,{...e})}):p()}},816:(e,n,t)=>{t.d(n,{A:()=>o});var s=t(6540),i=t(6300),a=t(1812),l=t(4848);function o(e){let{dosage:n,config:t,i18nConfig:o}=e;const[r,c]=(0,s.useState)(""),[u,d]=(0,s.useState)(t?.language||"en"),[f,h]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await i.A.build(t,o);h(e)}()}),[t]),(0,s.useEffect)((()=>{!async function(){if(f){const e=f.fromDosageToText(n);c(e)}}()}),[n,f]);return(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{style:{display:"flex"},children:[(0,l.jsxs)("select",{value:u,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,l.jsx)("option",{value:"en",children:"English"}),(0,l.jsx)("option",{value:"fr",children:"French"}),(0,l.jsx)("option",{value:"nl",children:"Dutch"}),(0,l.jsx)("option",{value:"de",children:"German"})]}),(0,l.jsx)("button",{onClick:async()=>{if(f){await f.changeLanguage(u);const e=f.fromDosageToText(n);c(e)}},children:"Confirm"})]}),(0,l.jsx)("div",{style:{marginTop:"10px"},children:(0,l.jsx)(a.default,{language:"markup",children:(g=r,g.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/d5205798.64b0a49a.js b/assets/js/d5205798.dd9dfda2.js similarity index 56% rename from assets/js/d5205798.64b0a49a.js rename to assets/js/d5205798.dd9dfda2.js index 6d97ccbe..a8a20b15 100644 --- a/assets/js/d5205798.64b0a49a.js +++ b/assets/js/d5205798.dd9dfda2.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3920],{3472:(e,n,t)=>{t.d(n,{A:()=>U});t(6540);var i=t(8473),o=t(4164),r=t(1312),a=t(7559);const d={admonition:"admonition_xJq3",admonitionHeading:"admonitionHeading_Gvgb",admonitionIcon:"admonitionIcon_Rf37",admonitionContent:"admonitionContent_BuS1"};var s=t(4848);function l(e){let{type:n,className:t,children:i}=e;return(0,s.jsx)("div",{className:(0,o.A)(a.G.common.admonition,a.G.common.admonitionType(n),d.admonition,t),children:i})}function c(e){let{icon:n,title:t}=e;return(0,s.jsxs)("div",{className:d.admonitionHeading,children:[(0,s.jsx)("span",{className:d.admonitionIcon,children:n}),t]})}function u(e){let{children:n}=e;return n?(0,s.jsx)("div",{className:d.admonitionContent,children:n}):null}function h(e){const{type:n,icon:t,title:i,children:o,className:r}=e;return(0,s.jsxs)(l,{type:n,className:r,children:[(0,s.jsx)(c,{title:i,icon:t}),(0,s.jsx)(u,{children:o})]})}function m(e){return(0,s.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"})})}const f={icon:(0,s.jsx)(m,{}),title:(0,s.jsx)(r.A,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function p(e){return(0,s.jsx)(h,{...f,...e,className:(0,o.A)("alert alert--secondary",e.className),children:e.children})}function g(e){return(0,s.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})})}const x={icon:(0,s.jsx)(g,{}),title:(0,s.jsx)(r.A,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function j(e){return(0,s.jsx)(h,{...x,...e,className:(0,o.A)("alert alert--success",e.className),children:e.children})}function y(e){return(0,s.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"})})}const v={icon:(0,s.jsx)(y,{}),title:(0,s.jsx)(r.A,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function A(e){return(0,s.jsx)(h,{...v,...e,className:(0,o.A)("alert alert--info",e.className),children:e.children})}function b(e){return(0,s.jsx)("svg",{viewBox:"0 0 16 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})})}const w={icon:(0,s.jsx)(b,{}),title:(0,s.jsx)(r.A,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})};function T(e){return(0,s.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"})})}const C={icon:(0,s.jsx)(T,{}),title:(0,s.jsx)(r.A,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})};const N={icon:(0,s.jsx)(b,{}),title:(0,s.jsx)(r.A,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})};const M={...{note:p,tip:j,info:A,warning:function(e){return(0,s.jsx)(h,{...w,...e,className:(0,o.A)("alert alert--warning",e.className),children:e.children})},danger:function(e){return(0,s.jsx)(h,{...C,...e,className:(0,o.A)("alert alert--danger",e.className),children:e.children})}},...{secondary:e=>(0,s.jsx)(p,{title:"secondary",...e}),important:e=>(0,s.jsx)(A,{title:"important",...e}),success:e=>(0,s.jsx)(j,{title:"success",...e}),caution:function(e){return(0,s.jsx)(h,{...N,...e,className:(0,o.A)("alert alert--warning",e.className),children:e.children})}}};function U(e){const n=(0,i.c)(e),t=(o=n.type,M[o]||(console.warn(`No admonition component found for admonition type "${o}". Using Info as fallback.`),M.info));var o;return(0,s.jsx)(t,{...n})}},8473:(e,n,t)=>{t.d(n,{c:()=>r});var i=t(6540),o=t(4848);function r(e){const{mdxAdmonitionTitle:n,rest:t}=function(e){const n=i.Children.toArray(e),t=n.find((e=>i.isValidElement(e)&&"mdxAdmonitionTitle"===e.type)),r=n.filter((e=>e!==t)),a=t?.props.children;return{mdxAdmonitionTitle:a,rest:r.length>0?(0,o.jsx)(o.Fragment,{children:r}):null}}(e.children),r=e.title??n;return{...e,...r&&{title:r},children:t}}},816:(e,n,t)=>{t.d(n,{A:()=>d});var i=t(6540),o=t(6300),r=t(1812),a=t(4848);function d(e){let{dosage:n,config:t}=e;const[d,s]=(0,i.useState)(""),[l,c]=(0,i.useState)(t?.language||"en"),[u,h]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await o.A.build(t);h(e)}()}),[t]),(0,i.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(n);s(e)}}()}),[n,u]);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{style:{display:"flex"},children:[(0,a.jsxs)("select",{value:l,onChange:e=>c(e.target.value),style:{marginRight:"10px"},children:[(0,a.jsx)("option",{value:"en",children:"English"}),(0,a.jsx)("option",{value:"fr",children:"French"}),(0,a.jsx)("option",{value:"nl",children:"Dutch"}),(0,a.jsx)("option",{value:"de",children:"German"})]}),(0,a.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(l);const e=u.fromDosageToText(n);s(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(r.default,{language:"markup",children:(m=d,m.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var m}},9309:(e,n,t)=>{t.r(n),t.d(n,{default:()=>u});t(6540);var i=t(7747),o=t(4865),r=t(9365),a=t(1812),d=t(3472),s=t(816),l=t(4848);const c=[{title:"Every 8 hours",dosage:{timing:{repeat:{frequency:1,period:8,periodUnit:"h"}}}},{title:"Every 7 days",dosage:{timing:{repeat:{frequency:1,period:7,periodUnit:"d"}}}},{title:"3 times a day",dosage:{timing:{repeat:{frequency:3,period:1,periodUnit:"d"}}}},{title:"3-4 times a day",dosage:{timing:{repeat:{frequency:3,frequencyMax:4,period:1,periodUnit:"d"}}}},{title:"Every 4-6 hours",dosage:{timing:{repeat:{frequency:1,period:4,periodMax:6,periodUnit:"h"}}}},{title:"Every 21 days for 1 hour",dosage:{timing:{repeat:{duration:1,durationUnit:"h",frequency:1,period:21,periodUnit:"d"}}}},{title:"Three times a week for 0.5 hour",dosage:{timing:{repeat:{duration:.5,durationUnit:"h",frequency:3,period:1,periodUnit:"wk"}}}},{title:"With breakfast",dosage:{timing:{repeat:{when:["CM"]}}}},{title:"For 5 minutes, 10 minutes before meals",dosage:{timing:{repeat:{duration:5,durationUnit:"min",when:["AC"],offset:10}}}},{title:"1 tablet 3 times daily, 30 minutes before meals",dosage:{doseAndRate:[{doseQuantity:{value:1,unit:"tablet"}}],timing:{repeat:{frequency:3,period:1,periodUnit:"d",when:["AC"],offset:30}}}},{title:"BID, 30 mins before meal, for next 10 days",dosage:{timing:{repeat:{frequency:2,period:1,periodUnit:"d",when:["AC"],offset:30,boundsDuration:{value:10,code:"d",system:"http://hl7.org/fhir/ValueSet/duration-units"}}}}},{title:"TID, for 14 days",dosage:{timing:{repeat:{frequency:3,period:1,periodUnit:"d",boundsDuration:{value:14,code:"d",system:"http://hl7.org/fhir/ValueSet/duration-units"}}}}},{title:"BID, start on 7/1/2015 at 1:00 PM",dosage:{timing:{repeat:{frequency:2,period:1,periodUnit:"d",boundsPeriod:{start:"2015-07-01T13:00:00"}}}}},{title:"Mon, Wed, Fri Morning",dosage:{timing:{repeat:{frequency:1,period:1,periodUnit:"d",dayOfWeek:["mon","wed","fri"],when:["MORN"]}}}},{title:"Every day at 10am",dosage:{timing:{repeat:{frequency:1,period:1,periodUnit:"d",timeOfDay:["10:00:00"]}}}},{title:"Take once, at any time",dosage:{timing:{repeat:{count:1}}}},{title:"Take every second day, in the morning, until 20 have been taken",dosage:{timing:{repeat:{frequency:1,period:2,periodUnit:"d",when:["MORN"],count:20}}}}];function u(){return(0,l.jsxs)(i.A,{title:"\u231a Timing",description:"Scenarios listed on https://build.fhir.org/datatypes.html#Timing",children:[(0,l.jsx)(d.A,{type:"info",children:(0,l.jsxs)("p",{children:["Thanks to"," ",(0,l.jsx)("a",{href:"https://build.fhir.org/datatypes.html#Timing",children:"FHIR HL7"})," ","for the examples"]})}),(0,l.jsxs)("table",{children:[(0,l.jsxs)("thead",{children:[(0,l.jsx)("th",{children:"Summary"}),(0,l.jsx)("th",{})]}),(0,l.jsx)("tbody",{children:c.map((e=>(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:e.title}),(0,l.jsx)("td",{children:(0,l.jsxs)(o.A,{children:[(0,l.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,l.jsx)(s.A,{dosage:e.dosage})}),(0,l.jsx)(r.A,{value:"json",label:"Dosage",children:(0,l.jsx)(a.default,{language:"json",children:JSON.stringify(e.dosage,null,2)})})]})})]})))})]})]})}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3920],{3472:(e,n,t)=>{t.d(n,{A:()=>U});t(6540);var i=t(8473),o=t(4164),r=t(1312),a=t(7559);const d={admonition:"admonition_xJq3",admonitionHeading:"admonitionHeading_Gvgb",admonitionIcon:"admonitionIcon_Rf37",admonitionContent:"admonitionContent_BuS1"};var s=t(4848);function l(e){let{type:n,className:t,children:i}=e;return(0,s.jsx)("div",{className:(0,o.A)(a.G.common.admonition,a.G.common.admonitionType(n),d.admonition,t),children:i})}function c(e){let{icon:n,title:t}=e;return(0,s.jsxs)("div",{className:d.admonitionHeading,children:[(0,s.jsx)("span",{className:d.admonitionIcon,children:n}),t]})}function u(e){let{children:n}=e;return n?(0,s.jsx)("div",{className:d.admonitionContent,children:n}):null}function h(e){const{type:n,icon:t,title:i,children:o,className:r}=e;return(0,s.jsxs)(l,{type:n,className:r,children:[(0,s.jsx)(c,{title:i,icon:t}),(0,s.jsx)(u,{children:o})]})}function m(e){return(0,s.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"})})}const f={icon:(0,s.jsx)(m,{}),title:(0,s.jsx)(r.A,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function p(e){return(0,s.jsx)(h,{...f,...e,className:(0,o.A)("alert alert--secondary",e.className),children:e.children})}function g(e){return(0,s.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})})}const x={icon:(0,s.jsx)(g,{}),title:(0,s.jsx)(r.A,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function j(e){return(0,s.jsx)(h,{...x,...e,className:(0,o.A)("alert alert--success",e.className),children:e.children})}function y(e){return(0,s.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"})})}const v={icon:(0,s.jsx)(y,{}),title:(0,s.jsx)(r.A,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function A(e){return(0,s.jsx)(h,{...v,...e,className:(0,o.A)("alert alert--info",e.className),children:e.children})}function b(e){return(0,s.jsx)("svg",{viewBox:"0 0 16 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})})}const w={icon:(0,s.jsx)(b,{}),title:(0,s.jsx)(r.A,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})};function C(e){return(0,s.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"})})}const T={icon:(0,s.jsx)(C,{}),title:(0,s.jsx)(r.A,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})};const N={icon:(0,s.jsx)(b,{}),title:(0,s.jsx)(r.A,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})};const M={...{note:p,tip:j,info:A,warning:function(e){return(0,s.jsx)(h,{...w,...e,className:(0,o.A)("alert alert--warning",e.className),children:e.children})},danger:function(e){return(0,s.jsx)(h,{...T,...e,className:(0,o.A)("alert alert--danger",e.className),children:e.children})}},...{secondary:e=>(0,s.jsx)(p,{title:"secondary",...e}),important:e=>(0,s.jsx)(A,{title:"important",...e}),success:e=>(0,s.jsx)(j,{title:"success",...e}),caution:function(e){return(0,s.jsx)(h,{...N,...e,className:(0,o.A)("alert alert--warning",e.className),children:e.children})}}};function U(e){const n=(0,i.c)(e),t=(o=n.type,M[o]||(console.warn(`No admonition component found for admonition type "${o}". Using Info as fallback.`),M.info));var o;return(0,s.jsx)(t,{...n})}},8473:(e,n,t)=>{t.d(n,{c:()=>r});var i=t(6540),o=t(4848);function r(e){const{mdxAdmonitionTitle:n,rest:t}=function(e){const n=i.Children.toArray(e),t=n.find((e=>i.isValidElement(e)&&"mdxAdmonitionTitle"===e.type)),r=n.filter((e=>e!==t)),a=t?.props.children;return{mdxAdmonitionTitle:a,rest:r.length>0?(0,o.jsx)(o.Fragment,{children:r}):null}}(e.children),r=e.title??n;return{...e,...r&&{title:r},children:t}}},816:(e,n,t)=>{t.d(n,{A:()=>d});var i=t(6540),o=t(6300),r=t(1812),a=t(4848);function d(e){let{dosage:n,config:t,i18nConfig:d}=e;const[s,l]=(0,i.useState)(""),[c,u]=(0,i.useState)(t?.language||"en"),[h,m]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await o.A.build(t,d);m(e)}()}),[t]),(0,i.useEffect)((()=>{!async function(){if(h){const e=h.fromDosageToText(n);l(e)}}()}),[n,h]);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{style:{display:"flex"},children:[(0,a.jsxs)("select",{value:c,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,a.jsx)("option",{value:"en",children:"English"}),(0,a.jsx)("option",{value:"fr",children:"French"}),(0,a.jsx)("option",{value:"nl",children:"Dutch"}),(0,a.jsx)("option",{value:"de",children:"German"})]}),(0,a.jsx)("button",{onClick:async()=>{if(h){await h.changeLanguage(c);const e=h.fromDosageToText(n);l(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(r.default,{language:"markup",children:(f=s,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var f}},9309:(e,n,t)=>{t.r(n),t.d(n,{default:()=>u});t(6540);var i=t(7747),o=t(4865),r=t(9365),a=t(1812),d=t(3472),s=t(816),l=t(4848);const c=[{title:"Every 8 hours",dosage:{timing:{repeat:{frequency:1,period:8,periodUnit:"h"}}}},{title:"Every 7 days",dosage:{timing:{repeat:{frequency:1,period:7,periodUnit:"d"}}}},{title:"3 times a day",dosage:{timing:{repeat:{frequency:3,period:1,periodUnit:"d"}}}},{title:"3-4 times a day",dosage:{timing:{repeat:{frequency:3,frequencyMax:4,period:1,periodUnit:"d"}}}},{title:"Every 4-6 hours",dosage:{timing:{repeat:{frequency:1,period:4,periodMax:6,periodUnit:"h"}}}},{title:"Every 21 days for 1 hour",dosage:{timing:{repeat:{duration:1,durationUnit:"h",frequency:1,period:21,periodUnit:"d"}}}},{title:"Three times a week for 0.5 hour",dosage:{timing:{repeat:{duration:.5,durationUnit:"h",frequency:3,period:1,periodUnit:"wk"}}}},{title:"With breakfast",dosage:{timing:{repeat:{when:["CM"]}}}},{title:"For 5 minutes, 10 minutes before meals",dosage:{timing:{repeat:{duration:5,durationUnit:"min",when:["AC"],offset:10}}}},{title:"1 tablet 3 times daily, 30 minutes before meals",dosage:{doseAndRate:[{doseQuantity:{value:1,unit:"tablet"}}],timing:{repeat:{frequency:3,period:1,periodUnit:"d",when:["AC"],offset:30}}}},{title:"BID, 30 mins before meal, for next 10 days",dosage:{timing:{repeat:{frequency:2,period:1,periodUnit:"d",when:["AC"],offset:30,boundsDuration:{value:10,code:"d",system:"http://hl7.org/fhir/ValueSet/duration-units"}}}}},{title:"TID, for 14 days",dosage:{timing:{repeat:{frequency:3,period:1,periodUnit:"d",boundsDuration:{value:14,code:"d",system:"http://hl7.org/fhir/ValueSet/duration-units"}}}}},{title:"BID, start on 7/1/2015 at 1:00 PM",dosage:{timing:{repeat:{frequency:2,period:1,periodUnit:"d",boundsPeriod:{start:"2015-07-01T13:00:00"}}}}},{title:"Mon, Wed, Fri Morning",dosage:{timing:{repeat:{frequency:1,period:1,periodUnit:"d",dayOfWeek:["mon","wed","fri"],when:["MORN"]}}}},{title:"Every day at 10am",dosage:{timing:{repeat:{frequency:1,period:1,periodUnit:"d",timeOfDay:["10:00:00"]}}}},{title:"Take once, at any time",dosage:{timing:{repeat:{count:1}}}},{title:"Take every second day, in the morning, until 20 have been taken",dosage:{timing:{repeat:{frequency:1,period:2,periodUnit:"d",when:["MORN"],count:20}}}}];function u(){return(0,l.jsxs)(i.A,{title:"\u231a Timing",description:"Scenarios listed on https://build.fhir.org/datatypes.html#Timing",children:[(0,l.jsx)(d.A,{type:"info",children:(0,l.jsxs)("p",{children:["Thanks to"," ",(0,l.jsx)("a",{href:"https://build.fhir.org/datatypes.html#Timing",children:"FHIR HL7"})," ","for the examples"]})}),(0,l.jsxs)("table",{children:[(0,l.jsxs)("thead",{children:[(0,l.jsx)("th",{children:"Summary"}),(0,l.jsx)("th",{})]}),(0,l.jsx)("tbody",{children:c.map((e=>(0,l.jsxs)("tr",{children:[(0,l.jsx)("td",{children:e.title}),(0,l.jsx)("td",{children:(0,l.jsxs)(o.A,{children:[(0,l.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,l.jsx)(s.A,{dosage:e.dosage})}),(0,l.jsx)(r.A,{value:"json",label:"Dosage",children:(0,l.jsx)(a.default,{language:"json",children:JSON.stringify(e.dosage,null,2)})})]})})]})))})]})]})}}}]); \ No newline at end of file diff --git a/assets/js/d9a0709a.87052afd.js b/assets/js/d9a0709a.e9b12c89.js similarity index 58% rename from assets/js/d9a0709a.87052afd.js rename to assets/js/d9a0709a.e9b12c89.js index 97d07882..a67f126c 100644 --- a/assets/js/d9a0709a.87052afd.js +++ b/assets/js/d9a0709a.e9b12c89.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8154],{5056:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>x,contentTitle:()=>u,default:()=>f,frontMatter:()=>l,metadata:()=>m,toc:()=>p});var n=i(4848),a=i(8453),r=i(1812);const s=JSON.parse('[{"sequence":1,"text":"Take one tablet daily as directed"}]');var o=i(4865),d=i(9365),c=i(8264);const l={description:"Order for a medication that includes the dosage of a prescription in text",title:"medrx002"},u=void 0,m={id:"examples/medicationrequest/medrx002",title:"medrx002",description:"Order for a medication that includes the dosage of a prescription in text",source:"@site/docs/examples/medicationrequest/medrx002.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx002",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx002",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx002.mdx",tags:[],version:"current",frontMatter:{description:"Order for a medication that includes the dosage of a prescription in text",title:"medrx002"},sidebar:"tutorialSidebar",previous:{title:"\ud83c\udf0c MedicationRequest",permalink:"/fhir-dosage-utils/docs/demo/examples/medicationrequest"},next:{title:"medrx003",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx003"}},x={},p=[];function h(e){const t={a:"a",admonition:"admonition",p:"p",...(0,a.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.admonition,{type:"info",children:(0,n.jsxs)(t.p,{children:["Source: ",(0,n.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequestexample2.html",children:"HL7"}),' - "Order for a medication that includes the dosage of a prescription in text"']})}),"\n",(0,n.jsxs)(o.A,{children:[(0,n.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(c.A,{dosages:s,config:{displayOrder:["text"]}})}),(0,n.jsx)(d.A,{value:"json",label:"Dosage",children:(0,n.jsx)(r.default,{language:"json",children:JSON.stringify(s,null,2)})})]})]})}function f(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(h,{...e})}):h(e)}},8264:(e,t,i)=>{i.d(t,{A:()=>o});var n=i(6540),a=i(6300),r=i(1812),s=i(4848);function o(e){let{dosages:t,config:i}=e;const[o,d]=(0,n.useState)(""),[c,l]=(0,n.useState)(i?.language||"en"),[u,m]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await a.A.build(i);m(e)}()}),[i]),(0,n.useEffect)((()=>{!async function(){if(u){const e=u.fromMultipleDosageToText(t);d(e)}}()}),[t,u]);return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{style:{display:"flex"},children:[(0,s.jsxs)("select",{value:c,onChange:e=>l(e.target.value),style:{marginRight:"10px"},children:[(0,s.jsx)("option",{value:"en",children:"English"}),(0,s.jsx)("option",{value:"fr",children:"French"}),(0,s.jsx)("option",{value:"nl",children:"Dutch"}),(0,s.jsx)("option",{value:"de",children:"German"})]}),(0,s.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(c);const e=u.fromMultipleDosageToText(t);d(e)}},children:"Confirm"})]}),(0,s.jsx)("div",{style:{marginTop:"10px"},children:(0,s.jsx)(r.default,{language:"markup",children:(x=o,x.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var x}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8154],{5056:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>x,contentTitle:()=>u,default:()=>h,frontMatter:()=>l,metadata:()=>m,toc:()=>p});var n=i(4848),a=i(8453),r=i(1812);const s=JSON.parse('[{"sequence":1,"text":"Take one tablet daily as directed"}]');var o=i(4865),d=i(9365),c=i(8264);const l={description:"Order for a medication that includes the dosage of a prescription in text",title:"medrx002"},u=void 0,m={id:"examples/medicationrequest/medrx002",title:"medrx002",description:"Order for a medication that includes the dosage of a prescription in text",source:"@site/docs/examples/medicationrequest/medrx002.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx002",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx002",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx002.mdx",tags:[],version:"current",frontMatter:{description:"Order for a medication that includes the dosage of a prescription in text",title:"medrx002"},sidebar:"tutorialSidebar",previous:{title:"\ud83c\udf0c MedicationRequest",permalink:"/fhir-dosage-utils/docs/demo/examples/medicationrequest"},next:{title:"medrx003",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx003"}},x={},p=[];function f(e){const t={a:"a",admonition:"admonition",p:"p",...(0,a.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.admonition,{type:"info",children:(0,n.jsxs)(t.p,{children:["Source: ",(0,n.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequestexample2.html",children:"HL7"}),' - "Order for a medication that includes the dosage of a prescription in text"']})}),"\n",(0,n.jsxs)(o.A,{children:[(0,n.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(c.A,{dosages:s,config:{displayOrder:["text"]}})}),(0,n.jsx)(d.A,{value:"json",label:"Dosage",children:(0,n.jsx)(r.default,{language:"json",children:JSON.stringify(s,null,2)})})]})]})}function h(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(f,{...e})}):f(e)}},8264:(e,t,i)=>{i.d(t,{A:()=>o});var n=i(6540),a=i(6300),r=i(1812),s=i(4848);function o(e){let{dosages:t,config:i,i18nConfig:o}=e;const[d,c]=(0,n.useState)(""),[l,u]=(0,n.useState)(i?.language||"en"),[m,x]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await a.A.build(i,o);x(e)}()}),[i]),(0,n.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);c(e)}}()}),[t,m]);return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{style:{display:"flex"},children:[(0,s.jsxs)("select",{value:l,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,s.jsx)("option",{value:"en",children:"English"}),(0,s.jsx)("option",{value:"fr",children:"French"}),(0,s.jsx)("option",{value:"nl",children:"Dutch"}),(0,s.jsx)("option",{value:"de",children:"German"})]}),(0,s.jsx)("button",{onClick:async()=>{if(m){await m.changeLanguage(l);const e=m.fromMultipleDosageToText(t);c(e)}},children:"Confirm"})]}),(0,s.jsx)("div",{style:{marginTop:"10px"},children:(0,s.jsx)(r.default,{language:"markup",children:(p=d,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/e3948197.c323cc8c.js b/assets/js/e3948197.c323cc8c.js new file mode 100644 index 00000000..410a1900 --- /dev/null +++ b/assets/js/e3948197.c323cc8c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3733],{2297:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>l,contentTitle:()=>a,default:()=>m,frontMatter:()=>s,metadata:()=>o,toc:()=>u});var n=i(4848),r=i(8453);const s={slug:"empowerment",title:"Customizing i18next Configuration in Our Library",authors:["jy95"],tags:["features"]},a=void 0,o={permalink:"/fhir-dosage-utils/blog/empowerment",editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2024-04-20-empowerment.mdx",source:"@site/blog/2024-04-20-empowerment.mdx",title:"Customizing i18next Configuration in Our Library",description:"We're thrilled to announce a new feature in our library that empowers users to tailor i18next configuration to their preferences.",date:"2024-04-20T00:00:00.000Z",formattedDate:"April 20, 2024",tags:[{label:"features",permalink:"/fhir-dosage-utils/blog/tags/features"}],readingTime:.5,hasTruncateMarker:!1,authors:[{name:"Jacques Yakoub",title:"Creator",url:"https://github.com/jy95",imageURL:"https://avatars.githubusercontent.com/u/9306961?v=4",key:"jy95"}],frontMatter:{slug:"empowerment",title:"Customizing i18next Configuration in Our Library",authors:["jy95"],tags:["features"]},unlisted:!1,nextItem:{title:"Welcome",permalink:"/fhir-dosage-utils/blog/welcome"}},l={authorsImageUrls:[void 0]},u=[];function c(e){const t={li:"li",p:"p",strong:"strong",ul:"ul",...(0,r.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.p,{children:"We're thrilled to announce a new feature in our library that empowers users to tailor i18next configuration to their preferences.\ni18next, the internationalization framework, plays a crucial role in facilitating multilingual support. Now, with this enhancement, users have greater control over how i18next behaves within our system."}),"\n",(0,n.jsx)(t.p,{children:"Benefits :"}),"\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.strong,{children:"Flexibility"})," : Users can adapt i18next settings to suit their project's needs, ensuring a seamless internationalization experience."]}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.strong,{children:"Customization"})," : Fine-tune language-related functionalities, such as pluralization rules or date formatting, to match project specifications."]}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.strong,{children:"Ease of Integration"})," : Our library seamlessly integrates with existing i18next workflows, minimizing implementation hurdles."]}),"\n"]})]})}function m(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(c,{...e})}):c(e)}}}]); \ No newline at end of file diff --git a/assets/js/e8ce008f.eae78d58.js b/assets/js/e8ce008f.51992a1e.js similarity index 53% rename from assets/js/e8ce008f.eae78d58.js rename to assets/js/e8ce008f.51992a1e.js index 561409c6..19c7d4c3 100644 --- a/assets/js/e8ce008f.eae78d58.js +++ b/assets/js/e8ce008f.51992a1e.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2122],{4497:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>h,contentTitle:()=>u,default:()=>x,frontMatter:()=>d,metadata:()=>g,toc:()=>p});var t=s(4848),a=s(8453),o=s(1812);const i=JSON.parse('{"doseAndRate":[{"doseRange":{"high":{"value":5,"unit":"pills"}}}]}');var r=s(4865),l=s(9365),c=s(816);const d={description:"High only",title:"\ud83d\udccf doseRange (High only)"},u=void 0,g={id:"specs/doseRange/high_only",title:"\ud83d\udccf doseRange (High only)",description:"High only",source:"@site/docs/specs/doseRange/high_only.mdx",sourceDirName:"specs/doseRange",slug:"/specs/doseRange/high_only",permalink:"/fhir-dosage-utils/docs/specs/doseRange/high_only",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/doseRange/high_only.mdx",tags:[],version:"current",frontMatter:{description:"High only",title:"\ud83d\udccf doseRange (High only)"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udccf doseRange",permalink:"/fhir-dosage-utils/docs/category/-doserange"},next:{title:"\ud83d\udccf doseRange (Low & High)",permalink:"/fhir-dosage-utils/docs/specs/doseRange/low_and_high"}},h={},p=[];function f(e){const n={a:"a",admonition:"admonition",p:"p",...(0,a.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(r.A,{children:[(0,t.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,t.jsx)(c.A,{dosage:i})}),(0,t.jsx)(l.A,{value:"json",label:"Dosage",children:(0,t.jsx)(o.default,{language:"json",children:JSON.stringify(i,null,2)})})]}),"\n",(0,t.jsx)(n.admonition,{type:"tip",children:(0,t.jsxs)(n.p,{children:["Don't forget you can use ",(0,t.jsx)(n.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(f,{...e})}):f(e)}},816:(e,n,s)=>{s.d(n,{A:()=>r});var t=s(6540),a=s(6300),o=s(1812),i=s(4848);function r(e){let{dosage:n,config:s}=e;const[r,l]=(0,t.useState)(""),[c,d]=(0,t.useState)(s?.language||"en"),[u,g]=(0,t.useState)(null);(0,t.useEffect)((()=>{!async function(){const e=await a.A.build(s);g(e)}()}),[s]),(0,t.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(n);l(e)}}()}),[n,u]);return(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{style:{display:"flex"},children:[(0,i.jsxs)("select",{value:c,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,i.jsx)("option",{value:"en",children:"English"}),(0,i.jsx)("option",{value:"fr",children:"French"}),(0,i.jsx)("option",{value:"nl",children:"Dutch"}),(0,i.jsx)("option",{value:"de",children:"German"})]}),(0,i.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(c);const e=u.fromDosageToText(n);l(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(o.default,{language:"markup",children:(h=r,h.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var h}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[2122],{4497:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>h,contentTitle:()=>u,default:()=>x,frontMatter:()=>d,metadata:()=>g,toc:()=>p});var t=s(4848),o=s(8453),a=s(1812);const i=JSON.parse('{"doseAndRate":[{"doseRange":{"high":{"value":5,"unit":"pills"}}}]}');var r=s(4865),l=s(9365),c=s(816);const d={description:"High only",title:"\ud83d\udccf doseRange (High only)"},u=void 0,g={id:"specs/doseRange/high_only",title:"\ud83d\udccf doseRange (High only)",description:"High only",source:"@site/docs/specs/doseRange/high_only.mdx",sourceDirName:"specs/doseRange",slug:"/specs/doseRange/high_only",permalink:"/fhir-dosage-utils/docs/specs/doseRange/high_only",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/doseRange/high_only.mdx",tags:[],version:"current",frontMatter:{description:"High only",title:"\ud83d\udccf doseRange (High only)"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udccf doseRange",permalink:"/fhir-dosage-utils/docs/category/-doserange"},next:{title:"\ud83d\udccf doseRange (Low & High)",permalink:"/fhir-dosage-utils/docs/specs/doseRange/low_and_high"}},h={},p=[];function f(e){const n={a:"a",admonition:"admonition",p:"p",...(0,o.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(r.A,{children:[(0,t.jsx)(l.A,{value:"text",label:"Human readable text",default:!0,children:(0,t.jsx)(c.A,{dosage:i})}),(0,t.jsx)(l.A,{value:"json",label:"Dosage",children:(0,t.jsx)(a.default,{language:"json",children:JSON.stringify(i,null,2)})})]}),"\n",(0,t.jsx)(n.admonition,{type:"tip",children:(0,t.jsxs)(n.p,{children:["Don't forget you can use ",(0,t.jsx)(n.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(f,{...e})}):f(e)}},816:(e,n,s)=>{s.d(n,{A:()=>r});var t=s(6540),o=s(6300),a=s(1812),i=s(4848);function r(e){let{dosage:n,config:s,i18nConfig:r}=e;const[l,c]=(0,t.useState)(""),[d,u]=(0,t.useState)(s?.language||"en"),[g,h]=(0,t.useState)(null);(0,t.useEffect)((()=>{!async function(){const e=await o.A.build(s,r);h(e)}()}),[s]),(0,t.useEffect)((()=>{!async function(){if(g){const e=g.fromDosageToText(n);c(e)}}()}),[n,g]);return(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{style:{display:"flex"},children:[(0,i.jsxs)("select",{value:d,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,i.jsx)("option",{value:"en",children:"English"}),(0,i.jsx)("option",{value:"fr",children:"French"}),(0,i.jsx)("option",{value:"nl",children:"Dutch"}),(0,i.jsx)("option",{value:"de",children:"German"})]}),(0,i.jsx)("button",{onClick:async()=>{if(g){await g.changeLanguage(d);const e=g.fromDosageToText(n);c(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(a.default,{language:"markup",children:(p=l,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/e9832d3c.3789b8c5.js b/assets/js/e9832d3c.3789b8c5.js deleted file mode 100644 index 201b9097..00000000 --- a/assets/js/e9832d3c.3789b8c5.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6554],{9925:(e,o,r)=>{r.r(o),r.d(o,{assets:()=>x,contentTitle:()=>p,default:()=>h,frontMatter:()=>c,metadata:()=>u,toc:()=>f});var i=r(4848),a=r(8453),t=r(1812);const n=JSON.parse('{"timing":{"repeat":{"periodMax":3,"periodUnit":"d"}}}');var s=r(4865),d=r(9365),l=r(816);const c={description:"periodMax (only)",title:"\u267b\ufe0f periodMax (only)"},p=void 0,u={id:"specs/periodPeriodMax/periodMax_only",title:"\u267b\ufe0f periodMax (only)",description:"periodMax (only)",source:"@site/docs/specs/periodPeriodMax/periodMax_only.mdx",sourceDirName:"specs/periodPeriodMax",slug:"/specs/periodPeriodMax/periodMax_only",permalink:"/fhir-dosage-utils/docs/specs/periodPeriodMax/periodMax_only",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/periodPeriodMax/periodMax_only.mdx",tags:[],version:"current",frontMatter:{description:"periodMax (only)",title:"\u267b\ufe0f periodMax (only)"},sidebar:"tutorialSidebar",previous:{title:"\u267b\ufe0f periodPeriodMax",permalink:"/fhir-dosage-utils/docs/category/\ufe0f-periodperiodmax"},next:{title:"\u267b\ufe0f period & periodMax",permalink:"/fhir-dosage-utils/docs/specs/periodPeriodMax/period_and_periodMax"}},x={},f=[];function g(e){return(0,i.jsxs)(s.A,{children:[(0,i.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(l.A,{dosage:n})}),(0,i.jsx)(d.A,{value:"json",label:"Dosage",children:(0,i.jsx)(t.default,{language:"json",children:JSON.stringify(n,null,2)})})]})}function h(e={}){const{wrapper:o}={...(0,a.R)(),...e.components};return o?(0,i.jsx)(o,{...e,children:(0,i.jsx)(g,{...e})}):g()}},816:(e,o,r)=>{r.d(o,{A:()=>s});var i=r(6540),a=r(6300),t=r(1812),n=r(4848);function s(e){let{dosage:o,config:r}=e;const[s,d]=(0,i.useState)(""),[l,c]=(0,i.useState)(r?.language||"en"),[p,u]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await a.A.build(r);u(e)}()}),[r]),(0,i.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(o);d(e)}}()}),[o,p]);return(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{style:{display:"flex"},children:[(0,n.jsxs)("select",{value:l,onChange:e=>c(e.target.value),style:{marginRight:"10px"},children:[(0,n.jsx)("option",{value:"en",children:"English"}),(0,n.jsx)("option",{value:"fr",children:"French"}),(0,n.jsx)("option",{value:"nl",children:"Dutch"}),(0,n.jsx)("option",{value:"de",children:"German"})]}),(0,n.jsx)("button",{onClick:async()=>{if(p){await p.changeLanguage(l);const e=p.fromDosageToText(o);d(e)}},children:"Confirm"})]}),(0,n.jsx)("div",{style:{marginTop:"10px"},children:(0,n.jsx)(t.default,{language:"markup",children:(x=s,x.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,o){return String.fromCharCode(o)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,o){return String.fromCharCode(parseInt(o,16))})))})})]});var x}}}]); \ No newline at end of file diff --git a/assets/js/e9832d3c.930adc88.js b/assets/js/e9832d3c.930adc88.js new file mode 100644 index 00000000..3bbd5dbc --- /dev/null +++ b/assets/js/e9832d3c.930adc88.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6554],{9925:(e,o,i)=>{i.r(o),i.d(o,{assets:()=>x,contentTitle:()=>p,default:()=>h,frontMatter:()=>c,metadata:()=>u,toc:()=>f});var r=i(4848),a=i(8453),n=i(1812);const t=JSON.parse('{"timing":{"repeat":{"periodMax":3,"periodUnit":"d"}}}');var s=i(4865),d=i(9365),l=i(816);const c={description:"periodMax (only)",title:"\u267b\ufe0f periodMax (only)"},p=void 0,u={id:"specs/periodPeriodMax/periodMax_only",title:"\u267b\ufe0f periodMax (only)",description:"periodMax (only)",source:"@site/docs/specs/periodPeriodMax/periodMax_only.mdx",sourceDirName:"specs/periodPeriodMax",slug:"/specs/periodPeriodMax/periodMax_only",permalink:"/fhir-dosage-utils/docs/specs/periodPeriodMax/periodMax_only",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/periodPeriodMax/periodMax_only.mdx",tags:[],version:"current",frontMatter:{description:"periodMax (only)",title:"\u267b\ufe0f periodMax (only)"},sidebar:"tutorialSidebar",previous:{title:"\u267b\ufe0f periodPeriodMax",permalink:"/fhir-dosage-utils/docs/category/\ufe0f-periodperiodmax"},next:{title:"\u267b\ufe0f period & periodMax",permalink:"/fhir-dosage-utils/docs/specs/periodPeriodMax/period_and_periodMax"}},x={},f=[];function g(e){return(0,r.jsxs)(s.A,{children:[(0,r.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,r.jsx)(l.A,{dosage:t})}),(0,r.jsx)(d.A,{value:"json",label:"Dosage",children:(0,r.jsx)(n.default,{language:"json",children:JSON.stringify(t,null,2)})})]})}function h(e={}){const{wrapper:o}={...(0,a.R)(),...e.components};return o?(0,r.jsx)(o,{...e,children:(0,r.jsx)(g,{...e})}):g()}},816:(e,o,i)=>{i.d(o,{A:()=>s});var r=i(6540),a=i(6300),n=i(1812),t=i(4848);function s(e){let{dosage:o,config:i,i18nConfig:s}=e;const[d,l]=(0,r.useState)(""),[c,p]=(0,r.useState)(i?.language||"en"),[u,x]=(0,r.useState)(null);(0,r.useEffect)((()=>{!async function(){const e=await a.A.build(i,s);x(e)}()}),[i]),(0,r.useEffect)((()=>{!async function(){if(u){const e=u.fromDosageToText(o);l(e)}}()}),[o,u]);return(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{style:{display:"flex"},children:[(0,t.jsxs)("select",{value:c,onChange:e=>p(e.target.value),style:{marginRight:"10px"},children:[(0,t.jsx)("option",{value:"en",children:"English"}),(0,t.jsx)("option",{value:"fr",children:"French"}),(0,t.jsx)("option",{value:"nl",children:"Dutch"}),(0,t.jsx)("option",{value:"de",children:"German"})]}),(0,t.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(c);const e=u.fromDosageToText(o);l(e)}},children:"Confirm"})]}),(0,t.jsx)("div",{style:{marginTop:"10px"},children:(0,t.jsx)(n.default,{language:"markup",children:(f=d,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,o){return String.fromCharCode(o)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,o){return String.fromCharCode(parseInt(o,16))})))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/ebb1249f.b77a8037.js b/assets/js/ebb1249f.f394ca10.js similarity index 57% rename from assets/js/ebb1249f.b77a8037.js rename to assets/js/ebb1249f.f394ca10.js index 248bba0f..0e821841 100644 --- a/assets/js/ebb1249f.b77a8037.js +++ b/assets/js/ebb1249f.f394ca10.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3678],{5551:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>f,frontMatter:()=>c,metadata:()=>m,toc:()=>g});var s=o(4848),n=o(8453),i=o(1812);const r=JSON.parse('[{"sequence":1,"text":"Insert one suppository into the vagina daily at bedtime","timing":{"repeat":{"boundsPeriod":{"start":"2015-01-16","end":"2015-01-18"},"frequency":1,"period":1,"periodUnit":"d"}},"route":{"coding":[{"system":"http://snomed.info/sct","code":"16857009","display":"Vaginal Route"}]},"method":{"coding":[{"system":"http://snomed.info/sct","code":"421257003","display":"Insert"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":1,"unit":"VAGTAB","system":"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","code":"VAGTAB"}}]},{"sequence":1,"text":"Apply to vaginal area topically once daily","timing":{"repeat":{"boundsPeriod":{"start":"2015-01-16","end":"2015-01-18"},"frequency":1,"period":1,"periodUnit":"d"}},"route":{"coding":[{"system":"http://snomed.info/sct","code":"6064005","display":"Topical Route"}]},"method":{"coding":[{"system":"http://snomed.info/sct","code":"417924000","display":"Apply - dosing instruction imperative (qualifier value)"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]}}]}]');var a=o(4865),d=o(9365),l=o(8264);const c={description:"Request for a product that contains multiple dosage forms",title:"medrx0339"},u=void 0,m={id:"examples/medicationrequest/medrx0339",title:"medrx0339",description:"Request for a product that contains multiple dosage forms",source:"@site/docs/examples/medicationrequest/medrx0339.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx0339",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0339",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx0339.mdx",tags:[],version:"current",frontMatter:{description:"Request for a product that contains multiple dosage forms",title:"medrx0339"},sidebar:"tutorialSidebar",previous:{title:"medrx0331",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0331"},next:{title:"\ud83e\udde9 Contributing",permalink:"/fhir-dosage-utils/docs/contributing"}},p={},g=[];function h(e){const t={a:"a",admonition:"admonition",p:"p",...(0,n.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.admonition,{type:"info",children:(0,s.jsxs)(t.p,{children:["Source: ",(0,s.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequest0339.html",children:"HL7"}),' - "Request for a product that contains multiple dosage forms"']})}),"\n",(0,s.jsxs)(a.A,{children:[(0,s.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(l.A,{dosages:r,config:{}})}),(0,s.jsx)(d.A,{value:"json",label:"Dosage",children:(0,s.jsx)(i.default,{language:"json",children:JSON.stringify(r,null,2)})})]})]})}function f(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},8264:(e,t,o)=>{o.d(t,{A:()=>a});var s=o(6540),n=o(6300),i=o(1812),r=o(4848);function a(e){let{dosages:t,config:o}=e;const[a,d]=(0,s.useState)(""),[l,c]=(0,s.useState)(o?.language||"en"),[u,m]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await n.A.build(o);m(e)}()}),[o]),(0,s.useEffect)((()=>{!async function(){if(u){const e=u.fromMultipleDosageToText(t);d(e)}}()}),[t,u]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:l,onChange:e=>c(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(l);const e=u.fromMultipleDosageToText(t);d(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(i.default,{language:"markup",children:(p=a,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var p}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3678],{5551:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>f,frontMatter:()=>c,metadata:()=>m,toc:()=>g});var n=o(4848),s=o(8453),i=o(1812);const r=JSON.parse('[{"sequence":1,"text":"Insert one suppository into the vagina daily at bedtime","timing":{"repeat":{"boundsPeriod":{"start":"2015-01-16","end":"2015-01-18"},"frequency":1,"period":1,"periodUnit":"d"}},"route":{"coding":[{"system":"http://snomed.info/sct","code":"16857009","display":"Vaginal Route"}]},"method":{"coding":[{"system":"http://snomed.info/sct","code":"421257003","display":"Insert"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":1,"unit":"VAGTAB","system":"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm","code":"VAGTAB"}}]},{"sequence":1,"text":"Apply to vaginal area topically once daily","timing":{"repeat":{"boundsPeriod":{"start":"2015-01-16","end":"2015-01-18"},"frequency":1,"period":1,"periodUnit":"d"}},"route":{"coding":[{"system":"http://snomed.info/sct","code":"6064005","display":"Topical Route"}]},"method":{"coding":[{"system":"http://snomed.info/sct","code":"417924000","display":"Apply - dosing instruction imperative (qualifier value)"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]}}]}]');var a=o(4865),d=o(9365),l=o(8264);const c={description:"Request for a product that contains multiple dosage forms",title:"medrx0339"},u=void 0,m={id:"examples/medicationrequest/medrx0339",title:"medrx0339",description:"Request for a product that contains multiple dosage forms",source:"@site/docs/examples/medicationrequest/medrx0339.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx0339",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0339",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx0339.mdx",tags:[],version:"current",frontMatter:{description:"Request for a product that contains multiple dosage forms",title:"medrx0339"},sidebar:"tutorialSidebar",previous:{title:"medrx0331",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0331"},next:{title:"\ud83e\udde9 Contributing",permalink:"/fhir-dosage-utils/docs/contributing"}},p={},g=[];function h(e){const t={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.admonition,{type:"info",children:(0,n.jsxs)(t.p,{children:["Source: ",(0,n.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequest0339.html",children:"HL7"}),' - "Request for a product that contains multiple dosage forms"']})}),"\n",(0,n.jsxs)(a.A,{children:[(0,n.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(l.A,{dosages:r,config:{}})}),(0,n.jsx)(d.A,{value:"json",label:"Dosage",children:(0,n.jsx)(i.default,{language:"json",children:JSON.stringify(r,null,2)})})]})]})}function f(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(h,{...e})}):h(e)}},8264:(e,t,o)=>{o.d(t,{A:()=>a});var n=o(6540),s=o(6300),i=o(1812),r=o(4848);function a(e){let{dosages:t,config:o,i18nConfig:a}=e;const[d,l]=(0,n.useState)(""),[c,u]=(0,n.useState)(o?.language||"en"),[m,p]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await s.A.build(o,a);p(e)}()}),[o]),(0,n.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);l(e)}}()}),[t,m]);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{style:{display:"flex"},children:[(0,r.jsxs)("select",{value:c,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,r.jsx)("option",{value:"en",children:"English"}),(0,r.jsx)("option",{value:"fr",children:"French"}),(0,r.jsx)("option",{value:"nl",children:"Dutch"}),(0,r.jsx)("option",{value:"de",children:"German"})]}),(0,r.jsx)("button",{onClick:async()=>{if(m){await m.changeLanguage(c);const e=m.fromMultipleDosageToText(t);l(e)}},children:"Confirm"})]}),(0,r.jsx)("div",{style:{marginTop:"10px"},children:(0,r.jsx)(i.default,{language:"markup",children:(g=d,g.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/ece64983.6fe88848.js b/assets/js/ece64983.6fe88848.js new file mode 100644 index 00000000..df672fc1 --- /dev/null +++ b/assets/js/ece64983.6fe88848.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1932],{7786:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>m,contentTitle:()=>d,default:()=>h,frontMatter:()=>u,metadata:()=>p,toc:()=>f});var i=n(4848),s=n(8453),a=n(1812);const l=JSON.parse('{"timing":{"event":["2018","1973-06","1905-08-23"]}}');var r=n(4865),o=n(9365),c=n(816);const u={description:"Multiple items",title:"\u2795 Multiple items"},d=void 0,p={id:"specs/event/multiple_items",title:"\u2795 Multiple items",description:"Multiple items",source:"@site/docs/specs/event/multiple_items.mdx",sourceDirName:"specs/event",slug:"/specs/event/multiple_items",permalink:"/fhir-dosage-utils/docs/specs/event/multiple_items",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/event/multiple_items.mdx",tags:[],version:"current",frontMatter:{description:"Multiple items",title:"\u2795 Multiple items"},sidebar:"tutorialSidebar",previous:{title:"\ud83c\udf89 event",permalink:"/fhir-dosage-utils/docs/category/-event"},next:{title:"\u274c Single item",permalink:"/fhir-dosage-utils/docs/specs/event/single_item"}},m={},f=[];function g(e){const t={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(r.A,{children:[(0,i.jsx)(o.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(c.A,{dosage:l})}),(0,i.jsx)(o.A,{value:"json",label:"Dosage",children:(0,i.jsx)(a.default,{language:"json",children:JSON.stringify(l,null,2)})})]}),"\n",(0,i.jsx)(t.admonition,{type:"tip",children:(0,i.jsxs)(t.p,{children:["Don't forget you can use ",(0,i.jsx)(t.a,{href:"/api/interface/Params",children:"dateTimeFormatOptions"})," option to fit your needs"]})})]})}function h(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(g,{...e})}):g(e)}},816:(e,t,n)=>{n.d(t,{A:()=>r});var i=n(6540),s=n(6300),a=n(1812),l=n(4848);function r(e){let{dosage:t,config:n,i18nConfig:r}=e;const[o,c]=(0,i.useState)(""),[u,d]=(0,i.useState)(n?.language||"en"),[p,m]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await s.A.build(n,r);m(e)}()}),[n]),(0,i.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(t);c(e)}}()}),[t,p]);return(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{style:{display:"flex"},children:[(0,l.jsxs)("select",{value:u,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,l.jsx)("option",{value:"en",children:"English"}),(0,l.jsx)("option",{value:"fr",children:"French"}),(0,l.jsx)("option",{value:"nl",children:"Dutch"}),(0,l.jsx)("option",{value:"de",children:"German"})]}),(0,l.jsx)("button",{onClick:async()=>{if(p){await p.changeLanguage(u);const e=p.fromDosageToText(t);c(e)}},children:"Confirm"})]}),(0,l.jsx)("div",{style:{marginTop:"10px"},children:(0,l.jsx)(a.default,{language:"markup",children:(f=o,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/ece64983.7f542022.js b/assets/js/ece64983.7f542022.js deleted file mode 100644 index 0362fd65..00000000 --- a/assets/js/ece64983.7f542022.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1932],{7786:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>m,contentTitle:()=>d,default:()=>h,frontMatter:()=>u,metadata:()=>p,toc:()=>f});var s=n(4848),i=n(8453),a=n(1812);const l=JSON.parse('{"timing":{"event":["2018","1973-06","1905-08-23"]}}');var r=n(4865),o=n(9365),c=n(816);const u={description:"Multiple items",title:"\u2795 Multiple items"},d=void 0,p={id:"specs/event/multiple_items",title:"\u2795 Multiple items",description:"Multiple items",source:"@site/docs/specs/event/multiple_items.mdx",sourceDirName:"specs/event",slug:"/specs/event/multiple_items",permalink:"/fhir-dosage-utils/docs/specs/event/multiple_items",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/event/multiple_items.mdx",tags:[],version:"current",frontMatter:{description:"Multiple items",title:"\u2795 Multiple items"},sidebar:"tutorialSidebar",previous:{title:"\ud83c\udf89 event",permalink:"/fhir-dosage-utils/docs/category/-event"},next:{title:"\u274c Single item",permalink:"/fhir-dosage-utils/docs/specs/event/single_item"}},m={},f=[];function g(e){const t={a:"a",admonition:"admonition",p:"p",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(r.A,{children:[(0,s.jsx)(o.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(c.A,{dosage:l})}),(0,s.jsx)(o.A,{value:"json",label:"Dosage",children:(0,s.jsx)(a.default,{language:"json",children:JSON.stringify(l,null,2)})})]}),"\n",(0,s.jsx)(t.admonition,{type:"tip",children:(0,s.jsxs)(t.p,{children:["Don't forget you can use ",(0,s.jsx)(t.a,{href:"/api/interface/Params",children:"dateTimeFormatOptions"})," option to fit your needs"]})})]})}function h(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(g,{...e})}):g(e)}},816:(e,t,n)=>{n.d(t,{A:()=>r});var s=n(6540),i=n(6300),a=n(1812),l=n(4848);function r(e){let{dosage:t,config:n}=e;const[r,o]=(0,s.useState)(""),[c,u]=(0,s.useState)(n?.language||"en"),[d,p]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await i.A.build(n);p(e)}()}),[n]),(0,s.useEffect)((()=>{!async function(){if(d){const e=d.fromDosageToText(t);o(e)}}()}),[t,d]);return(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{style:{display:"flex"},children:[(0,l.jsxs)("select",{value:c,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,l.jsx)("option",{value:"en",children:"English"}),(0,l.jsx)("option",{value:"fr",children:"French"}),(0,l.jsx)("option",{value:"nl",children:"Dutch"}),(0,l.jsx)("option",{value:"de",children:"German"})]}),(0,l.jsx)("button",{onClick:async()=>{if(d){await d.changeLanguage(c);const e=d.fromDosageToText(t);o(e)}},children:"Confirm"})]}),(0,l.jsx)("div",{style:{marginTop:"10px"},children:(0,l.jsx)(a.default,{language:"markup",children:(m=r,m.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var m}}}]); \ No newline at end of file diff --git a/assets/js/ee929032.4d2a176f.js b/assets/js/ee929032.57c0c6ef.js similarity index 54% rename from assets/js/ee929032.4d2a176f.js rename to assets/js/ee929032.57c0c6ef.js index d7b8b298..eb8a39b9 100644 --- a/assets/js/ee929032.4d2a176f.js +++ b/assets/js/ee929032.57c0c6ef.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[5236],{1939:(e,t,a)=>{a.r(t),a.d(t,{assets:()=>f,contentTitle:()=>d,default:()=>m,frontMatter:()=>u,metadata:()=>p,toc:()=>g});var n=a(4848),r=a(8453),i=a(1812);const o=JSON.parse('{"doseAndRate":[{"rateRatio":{"numerator":{"value":3,"unit":"pills"},"denominator":{"value":5,"unit":"hours"}}}]}');var s=a(4865),c=a(9365),l=a(816);const u={description:"rateRatio",title:"\ud83d\udcc8 rateRatio"},d=void 0,p={id:"specs/rateRatio/rateRatio",title:"\ud83d\udcc8 rateRatio",description:"rateRatio",source:"@site/docs/specs/rateRatio/rateRatio.mdx",sourceDirName:"specs/rateRatio",slug:"/specs/rateRatio/",permalink:"/fhir-dosage-utils/docs/specs/rateRatio/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/rateRatio/rateRatio.mdx",tags:[],version:"current",frontMatter:{description:"rateRatio",title:"\ud83d\udcc8 rateRatio"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udcc8 rateRatio",permalink:"/fhir-dosage-utils/docs/category/-rateratio"},next:{title:"\ud83d\udee3\ufe0f route",permalink:"/fhir-dosage-utils/docs/category/\ufe0f-route"}},f={},g=[];function h(e){const t={a:"a",admonition:"admonition",p:"p",...(0,r.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(s.A,{children:[(0,n.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(l.A,{dosage:o})}),(0,n.jsx)(c.A,{value:"json",label:"Dosage",children:(0,n.jsx)(i.default,{language:"json",children:JSON.stringify(o,null,2)})})]}),"\n",(0,n.jsx)(t.admonition,{type:"tip",children:(0,n.jsxs)(t.p,{children:["Don't forget you can use ",(0,n.jsx)(t.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function m(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(h,{...e})}):h(e)}},816:(e,t,a)=>{a.d(t,{A:()=>s});var n=a(6540),r=a(6300),i=a(1812),o=a(4848);function s(e){let{dosage:t,config:a}=e;const[s,c]=(0,n.useState)(""),[l,u]=(0,n.useState)(a?.language||"en"),[d,p]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await r.A.build(a);p(e)}()}),[a]),(0,n.useEffect)((()=>{!async function(){if(d){const e=d.fromDosageToText(t);c(e)}}()}),[t,d]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:l,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,o.jsx)("option",{value:"en",children:"English"}),(0,o.jsx)("option",{value:"fr",children:"French"}),(0,o.jsx)("option",{value:"nl",children:"Dutch"}),(0,o.jsx)("option",{value:"de",children:"German"})]}),(0,o.jsx)("button",{onClick:async()=>{if(d){await d.changeLanguage(l);const e=d.fromDosageToText(t);c(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(i.default,{language:"markup",children:(f=s,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var f}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[5236],{1939:(e,t,a)=>{a.r(t),a.d(t,{assets:()=>f,contentTitle:()=>d,default:()=>m,frontMatter:()=>u,metadata:()=>p,toc:()=>g});var n=a(4848),i=a(8453),r=a(1812);const o=JSON.parse('{"doseAndRate":[{"rateRatio":{"numerator":{"value":3,"unit":"pills"},"denominator":{"value":5,"unit":"hours"}}}]}');var s=a(4865),c=a(9365),l=a(816);const u={description:"rateRatio",title:"\ud83d\udcc8 rateRatio"},d=void 0,p={id:"specs/rateRatio/rateRatio",title:"\ud83d\udcc8 rateRatio",description:"rateRatio",source:"@site/docs/specs/rateRatio/rateRatio.mdx",sourceDirName:"specs/rateRatio",slug:"/specs/rateRatio/",permalink:"/fhir-dosage-utils/docs/specs/rateRatio/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/rateRatio/rateRatio.mdx",tags:[],version:"current",frontMatter:{description:"rateRatio",title:"\ud83d\udcc8 rateRatio"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udcc8 rateRatio",permalink:"/fhir-dosage-utils/docs/category/-rateratio"},next:{title:"\ud83d\udee3\ufe0f route",permalink:"/fhir-dosage-utils/docs/category/\ufe0f-route"}},f={},g=[];function h(e){const t={a:"a",admonition:"admonition",p:"p",...(0,i.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(s.A,{children:[(0,n.jsx)(c.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(l.A,{dosage:o})}),(0,n.jsx)(c.A,{value:"json",label:"Dosage",children:(0,n.jsx)(r.default,{language:"json",children:JSON.stringify(o,null,2)})})]}),"\n",(0,n.jsx)(t.admonition,{type:"tip",children:(0,n.jsxs)(t.p,{children:["Don't forget you can use ",(0,n.jsx)(t.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function m(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(h,{...e})}):h(e)}},816:(e,t,a)=>{a.d(t,{A:()=>s});var n=a(6540),i=a(6300),r=a(1812),o=a(4848);function s(e){let{dosage:t,config:a,i18nConfig:s}=e;const[c,l]=(0,n.useState)(""),[u,d]=(0,n.useState)(a?.language||"en"),[p,f]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await i.A.build(a,s);f(e)}()}),[a]),(0,n.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(t);l(e)}}()}),[t,p]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:u,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,o.jsx)("option",{value:"en",children:"English"}),(0,o.jsx)("option",{value:"fr",children:"French"}),(0,o.jsx)("option",{value:"nl",children:"Dutch"}),(0,o.jsx)("option",{value:"de",children:"German"})]}),(0,o.jsx)("button",{onClick:async()=>{if(p){await p.changeLanguage(u);const e=p.fromDosageToText(t);l(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(r.default,{language:"markup",children:(g=c,g.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/ef54304a.09a84e1e.js b/assets/js/ef54304a.09a84e1e.js deleted file mode 100644 index 378f1297..00000000 --- a/assets/js/ef54304a.09a84e1e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3157],{9839:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>h,frontMatter:()=>c,metadata:()=>m,toc:()=>g});var s=n(4848),i=n(8453),a=n(1812);const o=JSON.parse('[{"sequence":1,"text":"Administer in 100cc NS as follows: First treatment infuse over 90 minutes, if no reaction then second treatment infuse over 60 minutes, if no reaction then on third and following treatments give over 30 minutes.","timing":{"event":["2023-01-18T00:00:00.000Z"]},"route":{"coding":[{"system":"http://flatiron.com/CodeSystem/Route","code":"IV"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":5,"unit":"mg/kg"}},{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"calculated","display":"Calculated"}]},"doseQuantity":{"value":340,"unit":"mg"}}]}]');var r=n(4865),d=n(9365),l=n(8264);const c={description:"Request with multiple dosages and timings",title:"medrx004"},u=void 0,m={id:"examples/medicationrequest/medrx004",title:"medrx004",description:"Request with multiple dosages and timings",source:"@site/docs/examples/medicationrequest/medrx004.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx004",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx004",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx004.mdx",tags:[],version:"current",frontMatter:{description:"Request with multiple dosages and timings",title:"medrx004"},sidebar:"tutorialSidebar",previous:{title:"medrx003",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx003"},next:{title:"medrx0301",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0301"}},p={},g=[];function x(e){const t={a:"a",admonition:"admonition",p:"p",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.admonition,{type:"info",children:(0,s.jsxs)(t.p,{children:["Source: ",(0,s.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequestexample4.html",children:"HL7"}),' - "Request with multiple dosages and timings"']})}),"\n",(0,s.jsxs)(r.A,{children:[(0,s.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(l.A,{dosages:o,config:{}})}),(0,s.jsx)(d.A,{value:"json",label:"Dosage",children:(0,s.jsx)(a.default,{language:"json",children:JSON.stringify(o,null,2)})})]})]})}function h(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(x,{...e})}):x(e)}},8264:(e,t,n)=>{n.d(t,{A:()=>r});var s=n(6540),i=n(6300),a=n(1812),o=n(4848);function r(e){let{dosages:t,config:n}=e;const[r,d]=(0,s.useState)(""),[l,c]=(0,s.useState)(n?.language||"en"),[u,m]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await i.A.build(n);m(e)}()}),[n]),(0,s.useEffect)((()=>{!async function(){if(u){const e=u.fromMultipleDosageToText(t);d(e)}}()}),[t,u]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:l,onChange:e=>c(e.target.value),style:{marginRight:"10px"},children:[(0,o.jsx)("option",{value:"en",children:"English"}),(0,o.jsx)("option",{value:"fr",children:"French"}),(0,o.jsx)("option",{value:"nl",children:"Dutch"}),(0,o.jsx)("option",{value:"de",children:"German"})]}),(0,o.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(l);const e=u.fromMultipleDosageToText(t);d(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(a.default,{language:"markup",children:(p=r,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/ef54304a.1e2dbed9.js b/assets/js/ef54304a.1e2dbed9.js new file mode 100644 index 00000000..d267d4d7 --- /dev/null +++ b/assets/js/ef54304a.1e2dbed9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[3157],{9:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>h,frontMatter:()=>c,metadata:()=>m,toc:()=>g});var i=n(4848),s=n(8453),a=n(1812),o=n(9763),r=n(4865),d=n(9365),l=n(8264);const c={description:"Request with multiple dosages and timings",title:"medrx004"},u=void 0,m={id:"examples/medicationrequest/medrx004",title:"medrx004",description:"Request with multiple dosages and timings",source:"@site/docs/examples/medicationrequest/medrx004.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx004",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx004",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx004.mdx",tags:[],version:"current",frontMatter:{description:"Request with multiple dosages and timings",title:"medrx004"},sidebar:"tutorialSidebar",previous:{title:"medrx003",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx003"},next:{title:"medrx0301",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0301"}},p={},g=[];function x(e){const t={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.admonition,{type:"info",children:(0,i.jsxs)(t.p,{children:["Source: ",(0,i.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequestexample4.html",children:"HL7"}),' - "Request with multiple dosages and timings"']})}),"\n",(0,i.jsxs)(r.A,{children:[(0,i.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,i.jsx)(l.A,{dosages:o,config:{}})}),(0,i.jsx)(d.A,{value:"json",label:"Dosage",children:(0,i.jsx)(a.default,{language:"json",children:JSON.stringify(o,null,2)})})]})]})}function h(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(x,{...e})}):x(e)}},8264:(e,t,n)=>{n.d(t,{A:()=>r});var i=n(6540),s=n(6300),a=n(1812),o=n(4848);function r(e){let{dosages:t,config:n,i18nConfig:r}=e;const[d,l]=(0,i.useState)(""),[c,u]=(0,i.useState)(n?.language||"en"),[m,p]=(0,i.useState)(null);(0,i.useEffect)((()=>{!async function(){const e=await s.A.build(n,r);p(e)}()}),[n]),(0,i.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);l(e)}}()}),[t,m]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:c,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,o.jsx)("option",{value:"en",children:"English"}),(0,o.jsx)("option",{value:"fr",children:"French"}),(0,o.jsx)("option",{value:"nl",children:"Dutch"}),(0,o.jsx)("option",{value:"de",children:"German"})]}),(0,o.jsx)("button",{onClick:async()=>{if(m){await m.changeLanguage(c);const e=m.fromMultipleDosageToText(t);l(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(a.default,{language:"markup",children:(g=d,g.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var g}},9763:e=>{e.exports=JSON.parse('[{"sequence":1,"text":"Administer in 100cc NS as follows: First treatment infuse over 90 minutes, if no reaction then second treatment infuse over 60 minutes, if no reaction then on third and following treatments give over 30 minutes.","timing":{"event":["2023-01-18T00:00:00.000Z"]},"route":{"coding":[{"system":"http://flatiron.com/CodeSystem/Route","code":"IV"}]},"doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"Ordered"}]},"doseQuantity":{"value":5,"unit":"mg/kg"}},{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"calculated","display":"Calculated"}]},"doseQuantity":{"value":340,"unit":"mg"}}]}]')}}]); \ No newline at end of file diff --git a/assets/js/f58af7d8.31a053b4.js b/assets/js/f58af7d8.741d1f90.js similarity index 60% rename from assets/js/f58af7d8.31a053b4.js rename to assets/js/f58af7d8.741d1f90.js index 05fdd644..31b14165 100644 --- a/assets/js/f58af7d8.31a053b4.js +++ b/assets/js/f58af7d8.741d1f90.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4056],{1877:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>p,contentTitle:()=>d,default:()=>h,frontMatter:()=>u,metadata:()=>m,toc:()=>f});var s=i(4848),a=i(8453),n=i(1812);const l=JSON.parse('{"timing":{"repeat":{"timeOfDay":["15:00:00","12:12:12"]}}}');var r=i(4865),o=i(9365),c=i(816);const u={description:"Multiple items",title:"\u2795 Multiple items"},d=void 0,m={id:"specs/timeOfDay/multiple_items",title:"\u2795 Multiple items",description:"Multiple items",source:"@site/docs/specs/timeOfDay/multiple_items.mdx",sourceDirName:"specs/timeOfDay",slug:"/specs/timeOfDay/multiple_items",permalink:"/fhir-dosage-utils/docs/specs/timeOfDay/multiple_items",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/timeOfDay/multiple_items.mdx",tags:[],version:"current",frontMatter:{description:"Multiple items",title:"\u2795 Multiple items"},sidebar:"tutorialSidebar",previous:{title:"\u231a timeOfDay",permalink:"/fhir-dosage-utils/docs/category/-timeofday"},next:{title:"\u274c Single item",permalink:"/fhir-dosage-utils/docs/specs/timeOfDay/single_item"}},p={},f=[];function g(e){return(0,s.jsxs)(r.A,{children:[(0,s.jsx)(o.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(c.A,{dosage:l})}),(0,s.jsx)(o.A,{value:"json",label:"Dosage",children:(0,s.jsx)(n.default,{language:"json",children:JSON.stringify(l,null,2)})})]})}function h(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(g,{...e})}):g()}},816:(e,t,i)=>{i.d(t,{A:()=>r});var s=i(6540),a=i(6300),n=i(1812),l=i(4848);function r(e){let{dosage:t,config:i}=e;const[r,o]=(0,s.useState)(""),[c,u]=(0,s.useState)(i?.language||"en"),[d,m]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await a.A.build(i);m(e)}()}),[i]),(0,s.useEffect)((()=>{!async function(){if(d){const e=d.fromDosageToText(t);o(e)}}()}),[t,d]);return(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{style:{display:"flex"},children:[(0,l.jsxs)("select",{value:c,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,l.jsx)("option",{value:"en",children:"English"}),(0,l.jsx)("option",{value:"fr",children:"French"}),(0,l.jsx)("option",{value:"nl",children:"Dutch"}),(0,l.jsx)("option",{value:"de",children:"German"})]}),(0,l.jsx)("button",{onClick:async()=>{if(d){await d.changeLanguage(c);const e=d.fromDosageToText(t);o(e)}},children:"Confirm"})]}),(0,l.jsx)("div",{style:{marginTop:"10px"},children:(0,l.jsx)(n.default,{language:"markup",children:(p=r,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var p}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[4056],{1877:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>p,contentTitle:()=>d,default:()=>h,frontMatter:()=>u,metadata:()=>m,toc:()=>f});var s=i(4848),a=i(8453),n=i(1812);const l=JSON.parse('{"timing":{"repeat":{"timeOfDay":["15:00:00","12:12:12"]}}}');var r=i(4865),o=i(9365),c=i(816);const u={description:"Multiple items",title:"\u2795 Multiple items"},d=void 0,m={id:"specs/timeOfDay/multiple_items",title:"\u2795 Multiple items",description:"Multiple items",source:"@site/docs/specs/timeOfDay/multiple_items.mdx",sourceDirName:"specs/timeOfDay",slug:"/specs/timeOfDay/multiple_items",permalink:"/fhir-dosage-utils/docs/specs/timeOfDay/multiple_items",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/timeOfDay/multiple_items.mdx",tags:[],version:"current",frontMatter:{description:"Multiple items",title:"\u2795 Multiple items"},sidebar:"tutorialSidebar",previous:{title:"\u231a timeOfDay",permalink:"/fhir-dosage-utils/docs/category/-timeofday"},next:{title:"\u274c Single item",permalink:"/fhir-dosage-utils/docs/specs/timeOfDay/single_item"}},p={},f=[];function g(e){return(0,s.jsxs)(r.A,{children:[(0,s.jsx)(o.A,{value:"text",label:"Human readable text",default:!0,children:(0,s.jsx)(c.A,{dosage:l})}),(0,s.jsx)(o.A,{value:"json",label:"Dosage",children:(0,s.jsx)(n.default,{language:"json",children:JSON.stringify(l,null,2)})})]})}function h(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(g,{...e})}):g()}},816:(e,t,i)=>{i.d(t,{A:()=>r});var s=i(6540),a=i(6300),n=i(1812),l=i(4848);function r(e){let{dosage:t,config:i,i18nConfig:r}=e;const[o,c]=(0,s.useState)(""),[u,d]=(0,s.useState)(i?.language||"en"),[m,p]=(0,s.useState)(null);(0,s.useEffect)((()=>{!async function(){const e=await a.A.build(i,r);p(e)}()}),[i]),(0,s.useEffect)((()=>{!async function(){if(m){const e=m.fromDosageToText(t);c(e)}}()}),[t,m]);return(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{style:{display:"flex"},children:[(0,l.jsxs)("select",{value:u,onChange:e=>d(e.target.value),style:{marginRight:"10px"},children:[(0,l.jsx)("option",{value:"en",children:"English"}),(0,l.jsx)("option",{value:"fr",children:"French"}),(0,l.jsx)("option",{value:"nl",children:"Dutch"}),(0,l.jsx)("option",{value:"de",children:"German"})]}),(0,l.jsx)("button",{onClick:async()=>{if(m){await m.changeLanguage(u);const e=m.fromDosageToText(t);c(e)}},children:"Confirm"})]}),(0,l.jsx)("div",{style:{marginTop:"10px"},children:(0,l.jsx)(n.default,{language:"markup",children:(f=o,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/f71da0e1.22b12679.js b/assets/js/f71da0e1.22b12679.js new file mode 100644 index 00000000..769f9a40 --- /dev/null +++ b/assets/js/f71da0e1.22b12679.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6720],{697:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>i,contentTitle:()=>n,default:()=>h,frontMatter:()=>a,metadata:()=>l,toc:()=>c});var o=s(4848),r=s(8453);const a={slug:"welcome",title:"Welcome",authors:["jy95"],tags:["welcome"]},n=void 0,l={permalink:"/fhir-dosage-utils/blog/welcome",editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2024-03-29-welcome.mdx",source:"@site/blog/2024-03-29-welcome.mdx",title:"Welcome",description:"Welcome to fhir-dosage-utils.",date:"2024-03-29T00:00:00.000Z",formattedDate:"March 29, 2024",tags:[{label:"welcome",permalink:"/fhir-dosage-utils/blog/tags/welcome"}],readingTime:.23,hasTruncateMarker:!1,authors:[{name:"Jacques Yakoub",title:"Creator",url:"https://github.com/jy95",imageURL:"https://avatars.githubusercontent.com/u/9306961?v=4",key:"jy95"}],frontMatter:{slug:"welcome",title:"Welcome",authors:["jy95"],tags:["welcome"]},unlisted:!1,prevItem:{title:"Customizing i18next Configuration in Our Library",permalink:"/fhir-dosage-utils/blog/empowerment"}},i={authorsImageUrls:[void 0]},c=[];function d(e){const t={a:"a",br:"br",code:"code",li:"li",p:"p",strong:"strong",ul:"ul",...(0,r.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(t.p,{children:["Welcome to ",(0,o.jsx)(t.code,{children:"fhir-dosage-utils"}),".",(0,o.jsx)(t.br,{}),"\n","Key Features:"]}),"\n",(0,o.jsxs)(t.ul,{children:["\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"Compatible:"})," Works with ",(0,o.jsx)(t.a,{href:"https://hl7.org/fhir/R4/dosage.html",children:"Dosage R4"})," and ",(0,o.jsx)(t.a,{href:"https://hl7.org/fhir/R5/dosage.html",children:"Dosage R5"})]}),"\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"Extensibility"})," Easily adaptable and extendable to accommodate your requirements"]}),"\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"Internationalization"})," Seamlessly extendable to other languages with ",(0,o.jsx)(t.code,{children:"i18next"})]}),"\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"Integration Ease"})," Works effortlessly in various environments like the browser, Node.js, ..."]}),"\n"]})]})}function h(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}}}]); \ No newline at end of file diff --git a/assets/js/f71da0e1.e4804045.js b/assets/js/f71da0e1.e4804045.js deleted file mode 100644 index 439f1313..00000000 --- a/assets/js/f71da0e1.e4804045.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[6720],{697:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>i,contentTitle:()=>l,default:()=>h,frontMatter:()=>a,metadata:()=>n,toc:()=>c});var o=s(4848),r=s(8453);const a={slug:"welcome",title:"Welcome",authors:["jy95"],tags:["welcome"]},l=void 0,n={permalink:"/fhir-dosage-utils/blog/welcome",editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2024-03-29-welcome.mdx",source:"@site/blog/2024-03-29-welcome.mdx",title:"Welcome",description:"Welcome to fhir-dosage-utils.",date:"2024-03-29T00:00:00.000Z",formattedDate:"March 29, 2024",tags:[{label:"welcome",permalink:"/fhir-dosage-utils/blog/tags/welcome"}],readingTime:.23,hasTruncateMarker:!1,authors:[{name:"Jacques Yakoub",title:"Creator",url:"https://github.com/jy95",imageURL:"https://avatars.githubusercontent.com/u/9306961?v=4",key:"jy95"}],frontMatter:{slug:"welcome",title:"Welcome",authors:["jy95"],tags:["welcome"]},unlisted:!1},i={authorsImageUrls:[void 0]},c=[];function d(e){const t={a:"a",br:"br",code:"code",li:"li",p:"p",strong:"strong",ul:"ul",...(0,r.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(t.p,{children:["Welcome to ",(0,o.jsx)(t.code,{children:"fhir-dosage-utils"}),".",(0,o.jsx)(t.br,{}),"\n","Key Features:"]}),"\n",(0,o.jsxs)(t.ul,{children:["\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"Compatible:"})," Works with ",(0,o.jsx)(t.a,{href:"https://hl7.org/fhir/R4/dosage.html",children:"Dosage R4"})," and ",(0,o.jsx)(t.a,{href:"https://hl7.org/fhir/R5/dosage.html",children:"Dosage R5"})]}),"\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"Extensibility"})," Easily adaptable and extendable to accommodate your requirements"]}),"\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"Internationalization"})," Seamlessly extendable to other languages with ",(0,o.jsx)(t.code,{children:"i18next"})]}),"\n",(0,o.jsxs)(t.li,{children:[(0,o.jsx)(t.strong,{children:"Integration Ease"})," Works effortlessly in various environments like the browser, Node.js, ..."]}),"\n"]})]})}function h(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}}}]); \ No newline at end of file diff --git a/assets/js/f7adbe59.25ccf043.js b/assets/js/f7adbe59.25ccf043.js new file mode 100644 index 00000000..dbaaf0aa --- /dev/null +++ b/assets/js/f7adbe59.25ccf043.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9280],{310:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>f,contentTitle:()=>l,default:()=>x,frontMatter:()=>c,metadata:()=>p,toc:()=>g});var o=t(4848),s=t(8453),a=t(1812),i=t(7622),r=t(4865),u=t(9365),d=t(816);const c={description:"boundsDuration",title:"\ud83d\udd70\ufe0f boundsDuration"},l=void 0,p={id:"specs/boundsDuration/boundsDuration",title:"\ud83d\udd70\ufe0f boundsDuration",description:"boundsDuration",source:"@site/docs/specs/boundsDuration/boundsDuration.mdx",sourceDirName:"specs/boundsDuration",slug:"/specs/boundsDuration/",permalink:"/fhir-dosage-utils/docs/specs/boundsDuration/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/boundsDuration/boundsDuration.mdx",tags:[],version:"current",frontMatter:{description:"boundsDuration",title:"\ud83d\udd70\ufe0f boundsDuration"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udd70\ufe0f boundsDuration",permalink:"/fhir-dosage-utils/docs/category/\ufe0f-boundsduration"},next:{title:"\u23f3 boundsPeriod",permalink:"/fhir-dosage-utils/docs/category/-boundsperiod"}},f={},g=[];function h(e){const n={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(r.A,{children:[(0,o.jsx)(u.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(d.A,{dosage:i})}),(0,o.jsx)(u.A,{value:"json",label:"Dosage",children:(0,o.jsx)(a.default,{language:"json",children:JSON.stringify(i,null,2)})})]}),"\n",(0,o.jsx)(n.admonition,{type:"tip",children:(0,o.jsxs)(n.p,{children:["Don't forget you can use ",(0,o.jsx)(n.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function x(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(h,{...e})}):h(e)}},816:(e,n,t)=>{t.d(n,{A:()=>r});var o=t(6540),s=t(6300),a=t(1812),i=t(4848);function r(e){let{dosage:n,config:t,i18nConfig:r}=e;const[u,d]=(0,o.useState)(""),[c,l]=(0,o.useState)(t?.language||"en"),[p,f]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await s.A.build(t,r);f(e)}()}),[t]),(0,o.useEffect)((()=>{!async function(){if(p){const e=p.fromDosageToText(n);d(e)}}()}),[n,p]);return(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{style:{display:"flex"},children:[(0,i.jsxs)("select",{value:c,onChange:e=>l(e.target.value),style:{marginRight:"10px"},children:[(0,i.jsx)("option",{value:"en",children:"English"}),(0,i.jsx)("option",{value:"fr",children:"French"}),(0,i.jsx)("option",{value:"nl",children:"Dutch"}),(0,i.jsx)("option",{value:"de",children:"German"})]}),(0,i.jsx)("button",{onClick:async()=>{if(p){await p.changeLanguage(c);const e=p.fromDosageToText(n);d(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(a.default,{language:"markup",children:(g=u,g.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var g}},7622:e=>{e.exports=JSON.parse('{"timing":{"repeat":{"boundsDuration":{"system":"http://hl7.org/fhir/ValueSet/duration-units","value":3,"code":"d"}}}}')}}]); \ No newline at end of file diff --git a/assets/js/f7adbe59.31a806bf.js b/assets/js/f7adbe59.31a806bf.js deleted file mode 100644 index 1f323862..00000000 --- a/assets/js/f7adbe59.31a806bf.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[9280],{925:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>f,contentTitle:()=>l,default:()=>m,frontMatter:()=>c,metadata:()=>p,toc:()=>g});var o=t(4848),s=t(8453),a=t(1812);const i=JSON.parse('{"timing":{"repeat":{"boundsDuration":{"system":"http://hl7.org/fhir/ValueSet/duration-units","value":3,"code":"d"}}}}');var r=t(4865),u=t(9365),d=t(816);const c={description:"boundsDuration",title:"\ud83d\udd70\ufe0f boundsDuration"},l=void 0,p={id:"specs/boundsDuration/boundsDuration",title:"\ud83d\udd70\ufe0f boundsDuration",description:"boundsDuration",source:"@site/docs/specs/boundsDuration/boundsDuration.mdx",sourceDirName:"specs/boundsDuration",slug:"/specs/boundsDuration/",permalink:"/fhir-dosage-utils/docs/specs/boundsDuration/",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/boundsDuration/boundsDuration.mdx",tags:[],version:"current",frontMatter:{description:"boundsDuration",title:"\ud83d\udd70\ufe0f boundsDuration"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udd70\ufe0f boundsDuration",permalink:"/fhir-dosage-utils/docs/category/\ufe0f-boundsduration"},next:{title:"\u23f3 boundsPeriod",permalink:"/fhir-dosage-utils/docs/category/-boundsperiod"}},f={},g=[];function h(e){const n={a:"a",admonition:"admonition",p:"p",...(0,s.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(r.A,{children:[(0,o.jsx)(u.A,{value:"text",label:"Human readable text",default:!0,children:(0,o.jsx)(d.A,{dosage:i})}),(0,o.jsx)(u.A,{value:"json",label:"Dosage",children:(0,o.jsx)(a.default,{language:"json",children:JSON.stringify(i,null,2)})})]}),"\n",(0,o.jsx)(n.admonition,{type:"tip",children:(0,o.jsxs)(n.p,{children:["Don't forget you can use ",(0,o.jsx)(n.a,{href:"/api/interface/Params",children:"fromFHIRQuantityUnitToString"})," option to fit your needs"]})})]})}function m(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(h,{...e})}):h(e)}},816:(e,n,t)=>{t.d(n,{A:()=>r});var o=t(6540),s=t(6300),a=t(1812),i=t(4848);function r(e){let{dosage:n,config:t}=e;const[r,u]=(0,o.useState)(""),[d,c]=(0,o.useState)(t?.language||"en"),[l,p]=(0,o.useState)(null);(0,o.useEffect)((()=>{!async function(){const e=await s.A.build(t);p(e)}()}),[t]),(0,o.useEffect)((()=>{!async function(){if(l){const e=l.fromDosageToText(n);u(e)}}()}),[n,l]);return(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{style:{display:"flex"},children:[(0,i.jsxs)("select",{value:d,onChange:e=>c(e.target.value),style:{marginRight:"10px"},children:[(0,i.jsx)("option",{value:"en",children:"English"}),(0,i.jsx)("option",{value:"fr",children:"French"}),(0,i.jsx)("option",{value:"nl",children:"Dutch"}),(0,i.jsx)("option",{value:"de",children:"German"})]}),(0,i.jsx)("button",{onClick:async()=>{if(l){await l.changeLanguage(d);const e=l.fromDosageToText(n);u(e)}},children:"Confirm"})]}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(a.default,{language:"markup",children:(f=r,f.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(n)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,n){return String.fromCharCode(parseInt(n,16))})))})})]});var f}}}]); \ No newline at end of file diff --git a/assets/js/fa572d46.92258ec5.js b/assets/js/fa572d46.92258ec5.js deleted file mode 100644 index e29e191d..00000000 --- a/assets/js/fa572d46.92258ec5.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1616],{6634:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>h,contentTitle:()=>l,default:()=>m,frontMatter:()=>c,metadata:()=>d,toc:()=>p});var n=t(4848),o=t(8453),i=t(1812);const a=JSON.parse('{"timing":{"repeat":{"offset":15}}}');var r=t(4865),f=t(9365),u=t(816);const c={description:"offset, expressing minute(s)",title:"\ud83d\udd52 offset (Minutes)"},l=void 0,d={id:"specs/offsetWhen/offset/offset_minutes",title:"\ud83d\udd52 offset (Minutes)",description:"offset, expressing minute(s)",source:"@site/docs/specs/offsetWhen/offset/offset_minutes.mdx",sourceDirName:"specs/offsetWhen/offset",slug:"/specs/offsetWhen/offset/offset_minutes",permalink:"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_minutes",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/offsetWhen/offset/offset_minutes.mdx",tags:[],version:"current",frontMatter:{description:"offset, expressing minute(s)",title:"\ud83d\udd52 offset (Minutes)"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udd52 offset (Hours)",permalink:"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_hours"},next:{title:"\ud83d\udd52 when",permalink:"/fhir-dosage-utils/docs/category/-when"}},h={},p=[];function g(e){return(0,n.jsxs)(r.A,{children:[(0,n.jsx)(f.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(u.A,{dosage:a})}),(0,n.jsx)(f.A,{value:"json",label:"Dosage",children:(0,n.jsx)(i.default,{language:"json",children:JSON.stringify(a,null,2)})})]})}function m(e={}){const{wrapper:s}={...(0,o.R)(),...e.components};return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(g,{...e})}):g()}},816:(e,s,t)=>{t.d(s,{A:()=>r});var n=t(6540),o=t(6300),i=t(1812),a=t(4848);function r(e){let{dosage:s,config:t}=e;const[r,f]=(0,n.useState)(""),[u,c]=(0,n.useState)(t?.language||"en"),[l,d]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await o.A.build(t);d(e)}()}),[t]),(0,n.useEffect)((()=>{!async function(){if(l){const e=l.fromDosageToText(s);f(e)}}()}),[s,l]);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{style:{display:"flex"},children:[(0,a.jsxs)("select",{value:u,onChange:e=>c(e.target.value),style:{marginRight:"10px"},children:[(0,a.jsx)("option",{value:"en",children:"English"}),(0,a.jsx)("option",{value:"fr",children:"French"}),(0,a.jsx)("option",{value:"nl",children:"Dutch"}),(0,a.jsx)("option",{value:"de",children:"German"})]}),(0,a.jsx)("button",{onClick:async()=>{if(l){await l.changeLanguage(u);const e=l.fromDosageToText(s);f(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(i.default,{language:"markup",children:(h=r,h.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,s){return String.fromCharCode(s)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,s){return String.fromCharCode(parseInt(s,16))})))})})]});var h}}}]); \ No newline at end of file diff --git a/assets/js/fa572d46.960f8560.js b/assets/js/fa572d46.960f8560.js new file mode 100644 index 00000000..7ddac623 --- /dev/null +++ b/assets/js/fa572d46.960f8560.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[1616],{6634:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>h,contentTitle:()=>l,default:()=>m,frontMatter:()=>c,metadata:()=>d,toc:()=>p});var n=t(4848),o=t(8453),i=t(1812);const a=JSON.parse('{"timing":{"repeat":{"offset":15}}}');var f=t(4865),r=t(9365),u=t(816);const c={description:"offset, expressing minute(s)",title:"\ud83d\udd52 offset (Minutes)"},l=void 0,d={id:"specs/offsetWhen/offset/offset_minutes",title:"\ud83d\udd52 offset (Minutes)",description:"offset, expressing minute(s)",source:"@site/docs/specs/offsetWhen/offset/offset_minutes.mdx",sourceDirName:"specs/offsetWhen/offset",slug:"/specs/offsetWhen/offset/offset_minutes",permalink:"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_minutes",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/specs/offsetWhen/offset/offset_minutes.mdx",tags:[],version:"current",frontMatter:{description:"offset, expressing minute(s)",title:"\ud83d\udd52 offset (Minutes)"},sidebar:"tutorialSidebar",previous:{title:"\ud83d\udd52 offset (Hours)",permalink:"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_hours"},next:{title:"\ud83d\udd52 when",permalink:"/fhir-dosage-utils/docs/category/-when"}},h={},p=[];function g(e){return(0,n.jsxs)(f.A,{children:[(0,n.jsx)(r.A,{value:"text",label:"Human readable text",default:!0,children:(0,n.jsx)(u.A,{dosage:a})}),(0,n.jsx)(r.A,{value:"json",label:"Dosage",children:(0,n.jsx)(i.default,{language:"json",children:JSON.stringify(a,null,2)})})]})}function m(e={}){const{wrapper:s}={...(0,o.R)(),...e.components};return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(g,{...e})}):g()}},816:(e,s,t)=>{t.d(s,{A:()=>f});var n=t(6540),o=t(6300),i=t(1812),a=t(4848);function f(e){let{dosage:s,config:t,i18nConfig:f}=e;const[r,u]=(0,n.useState)(""),[c,l]=(0,n.useState)(t?.language||"en"),[d,h]=(0,n.useState)(null);(0,n.useEffect)((()=>{!async function(){const e=await o.A.build(t,f);h(e)}()}),[t]),(0,n.useEffect)((()=>{!async function(){if(d){const e=d.fromDosageToText(s);u(e)}}()}),[s,d]);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{style:{display:"flex"},children:[(0,a.jsxs)("select",{value:c,onChange:e=>l(e.target.value),style:{marginRight:"10px"},children:[(0,a.jsx)("option",{value:"en",children:"English"}),(0,a.jsx)("option",{value:"fr",children:"French"}),(0,a.jsx)("option",{value:"nl",children:"Dutch"}),(0,a.jsx)("option",{value:"de",children:"German"})]}),(0,a.jsx)("button",{onClick:async()=>{if(d){await d.changeLanguage(c);const e=d.fromDosageToText(s);u(e)}},children:"Confirm"})]}),(0,a.jsx)("div",{style:{marginTop:"10px"},children:(0,a.jsx)(i.default,{language:"markup",children:(p=r,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,s){return String.fromCharCode(s)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,s){return String.fromCharCode(parseInt(s,16))})))})})]});var p}}}]); \ No newline at end of file diff --git a/assets/js/fdba5499.af488abb.js b/assets/js/fdba5499.52f5d4e0.js similarity index 59% rename from assets/js/fdba5499.af488abb.js rename to assets/js/fdba5499.52f5d4e0.js index 770c0846..eb2f0299 100644 --- a/assets/js/fdba5499.af488abb.js +++ b/assets/js/fdba5499.52f5d4e0.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[743],{1299:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>x,frontMatter:()=>c,metadata:()=>m,toc:()=>g});var a=s(4848),n=s(8453),r=s(1812);const o=JSON.parse('[{"sequence":1,"text":"1800 mg (1000 mg/m2) orally twice daily from days 1-14 of cycle","doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"calculated","display":"Calculated"}]},"doseQuantity":{"value":1800,"unit":"mg/m2","system":"http://unitsofmeasure.org","code":"mg/m2"}},{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"ordered"}]},"doseQuantity":{"value":1000,"unit":"mg","system":"http://unitsofmeasure.org","code":"mg"}}]}]');var d=s(4865),i=s(9365),l=s(8264);const c={description:"Request that uses both calculated and ordered dosage",title:"medrx003"},u=void 0,m={id:"examples/medicationrequest/medrx003",title:"medrx003",description:"Request that uses both calculated and ordered dosage",source:"@site/docs/examples/medicationrequest/medrx003.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx003",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx003",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx003.mdx",tags:[],version:"current",frontMatter:{description:"Request that uses both calculated and ordered dosage",title:"medrx003"},sidebar:"tutorialSidebar",previous:{title:"medrx002",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx002"},next:{title:"medrx004",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx004"}},p={},g=[];function h(e){const t={a:"a",admonition:"admonition",p:"p",...(0,n.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(t.admonition,{type:"info",children:(0,a.jsxs)(t.p,{children:["Source: ",(0,a.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequestexample3.html",children:"HL7"}),' - "Request that uses both calculated and ordered dosage"']})}),"\n",(0,a.jsxs)(d.A,{children:[(0,a.jsx)(i.A,{value:"text",label:"Human readable text",default:!0,children:(0,a.jsx)(l.A,{dosages:o,config:{}})}),(0,a.jsx)(i.A,{value:"json",label:"Dosage",children:(0,a.jsx)(r.default,{language:"json",children:JSON.stringify(o,null,2)})})]})]})}function x(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(h,{...e})}):h(e)}},8264:(e,t,s)=>{s.d(t,{A:()=>d});var a=s(6540),n=s(6300),r=s(1812),o=s(4848);function d(e){let{dosages:t,config:s}=e;const[d,i]=(0,a.useState)(""),[l,c]=(0,a.useState)(s?.language||"en"),[u,m]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const e=await n.A.build(s);m(e)}()}),[s]),(0,a.useEffect)((()=>{!async function(){if(u){const e=u.fromMultipleDosageToText(t);i(e)}}()}),[t,u]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:l,onChange:e=>c(e.target.value),style:{marginRight:"10px"},children:[(0,o.jsx)("option",{value:"en",children:"English"}),(0,o.jsx)("option",{value:"fr",children:"French"}),(0,o.jsx)("option",{value:"nl",children:"Dutch"}),(0,o.jsx)("option",{value:"de",children:"German"})]}),(0,o.jsx)("button",{onClick:async()=>{if(u){await u.changeLanguage(l);const e=u.fromMultipleDosageToText(t);i(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(r.default,{language:"markup",children:(p=d,p.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var p}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[743],{1299:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>p,contentTitle:()=>u,default:()=>x,frontMatter:()=>c,metadata:()=>m,toc:()=>g});var a=s(4848),n=s(8453),r=s(1812);const o=JSON.parse('[{"sequence":1,"text":"1800 mg (1000 mg/m2) orally twice daily from days 1-14 of cycle","doseAndRate":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"calculated","display":"Calculated"}]},"doseQuantity":{"value":1800,"unit":"mg/m2","system":"http://unitsofmeasure.org","code":"mg/m2"}},{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/dose-rate-type","code":"ordered","display":"ordered"}]},"doseQuantity":{"value":1000,"unit":"mg","system":"http://unitsofmeasure.org","code":"mg"}}]}]');var i=s(4865),d=s(9365),l=s(8264);const c={description:"Request that uses both calculated and ordered dosage",title:"medrx003"},u=void 0,m={id:"examples/medicationrequest/medrx003",title:"medrx003",description:"Request that uses both calculated and ordered dosage",source:"@site/docs/examples/medicationrequest/medrx003.mdx",sourceDirName:"examples/medicationrequest",slug:"/examples/medicationrequest/medrx003",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx003",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/examples/medicationrequest/medrx003.mdx",tags:[],version:"current",frontMatter:{description:"Request that uses both calculated and ordered dosage",title:"medrx003"},sidebar:"tutorialSidebar",previous:{title:"medrx002",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx002"},next:{title:"medrx004",permalink:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx004"}},p={},g=[];function h(e){const t={a:"a",admonition:"admonition",p:"p",...(0,n.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(t.admonition,{type:"info",children:(0,a.jsxs)(t.p,{children:["Source: ",(0,a.jsx)(t.a,{href:"https://www.hl7.org/fhir/medicationrequestexample3.html",children:"HL7"}),' - "Request that uses both calculated and ordered dosage"']})}),"\n",(0,a.jsxs)(i.A,{children:[(0,a.jsx)(d.A,{value:"text",label:"Human readable text",default:!0,children:(0,a.jsx)(l.A,{dosages:o,config:{}})}),(0,a.jsx)(d.A,{value:"json",label:"Dosage",children:(0,a.jsx)(r.default,{language:"json",children:JSON.stringify(o,null,2)})})]})]})}function x(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(h,{...e})}):h(e)}},8264:(e,t,s)=>{s.d(t,{A:()=>i});var a=s(6540),n=s(6300),r=s(1812),o=s(4848);function i(e){let{dosages:t,config:s,i18nConfig:i}=e;const[d,l]=(0,a.useState)(""),[c,u]=(0,a.useState)(s?.language||"en"),[m,p]=(0,a.useState)(null);(0,a.useEffect)((()=>{!async function(){const e=await n.A.build(s,i);p(e)}()}),[s]),(0,a.useEffect)((()=>{!async function(){if(m){const e=m.fromMultipleDosageToText(t);l(e)}}()}),[t,m]);return(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{style:{display:"flex"},children:[(0,o.jsxs)("select",{value:c,onChange:e=>u(e.target.value),style:{marginRight:"10px"},children:[(0,o.jsx)("option",{value:"en",children:"English"}),(0,o.jsx)("option",{value:"fr",children:"French"}),(0,o.jsx)("option",{value:"nl",children:"Dutch"}),(0,o.jsx)("option",{value:"de",children:"German"})]}),(0,o.jsx)("button",{onClick:async()=>{if(m){await m.changeLanguage(c);const e=m.fromMultipleDosageToText(t);l(e)}},children:"Confirm"})]}),(0,o.jsx)("div",{style:{marginTop:"10px"},children:(0,o.jsx)(r.default,{language:"markup",children:(g=d,g.replace(/"/g,'"').replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(t)})).replace(/&#x([0-9A-Fa-f]+);/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))})})]});var g}}}]); \ No newline at end of file diff --git a/assets/js/main.71497cf7.js b/assets/js/main.71497cf7.js deleted file mode 100644 index 2c4040f8..00000000 --- a/assets/js/main.71497cf7.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see main.71497cf7.js.LICENSE.txt */ -(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8792],{9188:(e,t,n)=>{"use strict";n.d(t,{W:()=>a});var r=n(6540);function a(){return r.createElement("svg",{width:"20",height:"20",className:"DocSearch-Search-Icon",viewBox:"0 0 20 20","aria-hidden":"true"},r.createElement("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}},8328:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});n(6540);var r=n(3259),a=n.n(r),o=n(4054);const i={"01a85c17":[()=>Promise.all([n.e(1869),n.e(8209)]).then(n.bind(n,2463)),"@theme/BlogTagsListPage",2463],"01aca802":[()=>Promise.all([n.e(1869),n.e(2076),n.e(2079)]).then(n.bind(n,8519)),"@site/docs/examples/medicationrequest/medrx0314.mdx",8519],"01e1ca65":[()=>n.e(1539).then(n.t.bind(n,1424,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-boundsperiod-showcases-857.json",1424],"03620de3":[()=>Promise.all([n.e(1869),n.e(2076),n.e(2460)]).then(n.bind(n,4845)),"@site/docs/specs/rateRange/high_only.mdx",4845],"04716c54":[()=>Promise.all([n.e(1869),n.e(2076),n.e(8945)]).then(n.bind(n,5943)),"@site/docs/specs/boundsRange/low_only.mdx",5943],"04baef29":[()=>Promise.all([n.e(1869),n.e(7498)]).then(n.t.bind(n,7440,23)),"/home/runner/work/fhir-dosage-utils/fhir-dosage-utils/documentation/node_modules/docusaurus-plugin-typedoc-api/lib/components/ApiPage.js",7440],"052ceecb":[()=>n.e(4294).then(n.t.bind(n,6594,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-\ufe0f-raterange-showcases-1ae.json",6594],"0530b1c5":[()=>Promise.all([n.e(1869),n.e(2076),n.e(7032)]).then(n.bind(n,559)),"@site/docs/specs/offsetWhen/offset/offset_hours.mdx",559],"06a006fb":[()=>Promise.all([n.e(1869),n.e(2076),n.e(4936)]).then(n.bind(n,3583)),"@site/docs/specs/maxDosePerAdministration/maxDosePerAdministration.mdx",3583],"091b5925":[()=>n.e(4386).then(n.t.bind(n,5292,19)),"~blog/default/fhir-dosage-utils-blog-archive-83d.json",5292],"0931abdb":[()=>n.e(6745).then(n.t.bind(n,3027,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-dayofweekx-showcases-684.json",3027],"118e00e5":[()=>Promise.all([n.e(1869),n.e(2076),n.e(2914)]).then(n.bind(n,6977)),"@site/docs/specs/asNeeded/asNeededCodeableConcept.mdx",6977],"124c4f9d":[()=>Promise.all([n.e(1869),n.e(2076),n.e(2188)]).then(n.bind(n,2809)),"@site/docs/specs/timeOfDay/single_item.mdx",2809],"12564d99":[()=>Promise.all([n.e(1869),n.e(2076),n.e(8937)]).then(n.bind(n,6288)),"@site/docs/specs/additionalInstruction/single_item.mdx",6288],"133d1207":[()=>Promise.all([n.e(1869),n.e(2076),n.e(5276)]).then(n.bind(n,2596)),"@site/docs/specs/frequencyFrequencyMax/frequencyMax_only.mdx",2596],"139f9fbc":[()=>Promise.all([n.e(1869),n.e(2076),n.e(578)]).then(n.bind(n,4697)),"@site/docs/specs/periodPeriodMax/period_only.mdx",4697],"14b7973a":[()=>n.e(8441).then(n.t.bind(n,4442,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-text-showcases-421.json",4442],"14eb3368":[()=>Promise.all([n.e(1869),n.e(6969)]).then(n.bind(n,4136)),"@theme/DocCategoryGeneratedIndexPage",4136],"162bd28d":[()=>Promise.all([n.e(1869),n.e(2076),n.e(1740)]).then(n.bind(n,9300)),"@site/docs/specs/boundsRange/high_only.mdx",9300],"1668a7c3":[()=>Promise.all([n.e(1869),n.e(2076),n.e(3790)]).then(n.bind(n,7141)),"@site/docs/specs/boundsPeriod/end_only.mdx",7141],17896441:[()=>Promise.all([n.e(1869),n.e(2076),n.e(9761),n.e(1611),n.e(8401)]).then(n.bind(n,400)),"@theme/DocItem",400],"17baba0b":[()=>Promise.all([n.e(1869),n.e(2076),n.e(3709)]).then(n.bind(n,2092)),"@site/docs/specs/additionalInstruction/multiple_items.mdx",2092],"1a4e3797":[()=>Promise.all([n.e(1869),n.e(2138)]).then(n.bind(n,4604)),"@theme/SearchPage",4604],"1b34e59a":[()=>n.e(5411).then(n.t.bind(n,9146,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-rateratio-showcases-cf8.json",9146],"1c1d0071":[()=>Promise.all([n.e(1869),n.e(2076),n.e(9748)]).then(n.bind(n,6693)),"@site/docs/specs/offsetWhen/when/multiple_items.mdx",6693],"1cae87f6":[()=>n.e(554).then(n.t.bind(n,8417,19)),"/home/runner/work/fhir-dosage-utils/fhir-dosage-utils/documentation/.docusaurus/docusaurus-plugin-typedoc-api/default/packages-current.json",8417],"1cd656ab":[()=>Promise.all([n.e(1869),n.e(2076),n.e(4697)]).then(n.bind(n,1553)),"@site/docs/specs/site/site.mdx",1553],"1d61667d":[()=>n.e(3534).then(n.t.bind(n,4112,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-\ufe0f-route-showcases-5e1.json",4112],"1df93b7f":[()=>Promise.all([n.e(1869),n.e(4583)]).then(n.bind(n,9008)),"@site/src/pages/index.tsx",9008],"1f927e7e":[()=>Promise.all([n.e(1869),n.e(2076),n.e(4471)]).then(n.bind(n,6558)),"@site/docs/specs/offsetWhen/when_and_offset.mdx",6558],"201e0385":[()=>Promise.all([n.e(1869),n.e(2076),n.e(4081)]).then(n.bind(n,5368)),"@site/docs/examples/medicationrequest/medrx0321.mdx",5368],"20a65861":[()=>Promise.all([n.e(1869),n.e(2076),n.e(1796)]).then(n.bind(n,1300)),"@site/docs/examples/medicationrequest/medrx0308.mdx",1300],"20b5be5c":[()=>Promise.all([n.e(1869),n.e(2076),n.e(6193)]).then(n.bind(n,7189)),"@site/docs/specs/offsetWhen/offset/offset_days.mdx",7189],21119077:[()=>Promise.all([n.e(1869),n.e(2076),n.e(6499)]).then(n.bind(n,8310)),"@site/docs/examples/medicationrequest/medrx0317.mdx",8310],"254404d2":[()=>Promise.all([n.e(1869),n.e(2076),n.e(7762)]).then(n.bind(n,1088)),"@site/docs/specs/boundsPeriod/start_and_end.mdx",1088],"265a61ea":[()=>Promise.all([n.e(1869),n.e(2076),n.e(5184)]).then(n.bind(n,904)),"@site/docs/examples/medicationrequest/medrx0319.mdx",904],"28886c38":[()=>n.e(3809).then(n.t.bind(n,8283,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-additionalinstruction-showcases-91b.json",8283],"2a331aeb":[()=>Promise.all([n.e(1869),n.e(2076),n.e(5317)]).then(n.bind(n,6358)),"@site/docs/specs/countCountMax/count.mdx",6358],"2b9b0bac":[()=>n.e(4052).then(n.t.bind(n,3801,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-offset-showcases-b3a.json",3801],"2c4b321a":[()=>Promise.all([n.e(1869),n.e(2076),n.e(585)]).then(n.bind(n,7954)),"@site/docs/specs/boundsRange/low_and_high.mdx",7954],"2e7d5b3b":[()=>n.e(9603).then(n.t.bind(n,6798,19)),"~blog/default/fhir-dosage-utils-blog-tags-welcome-2e0.json",6798],"30320f60":[()=>n.e(7157).then(n.t.bind(n,4807,19)),"~blog/default/fhir-dosage-utils-blog-tags-tags-7b8.json",4807],"3216d4c8":[()=>Promise.all([n.e(1869),n.e(2076),n.e(4892)]).then(n.bind(n,5614)),"@site/docs/specs/method/method.mdx",5614],"36cdde70":[()=>Promise.all([n.e(1869),n.e(2076),n.e(2229)]).then(n.bind(n,1027)),"@site/docs/examples/medicationrequest/medrx0301.mdx",1027],"3766ff12":[()=>Promise.all([n.e(1869),n.e(2076),n.e(8952)]).then(n.bind(n,4184)),"@site/docs/examples/medicationrequest/medrx0310.mdx",4184],"38ae24f3":[()=>Promise.all([n.e(1869),n.e(2076),n.e(8035)]).then(n.bind(n,4229)),"@site/docs/specs/countCountMax/count_and_countMax.mdx",4229],"3903b0d4":[()=>Promise.all([n.e(1869),n.e(2076),n.e(4726)]).then(n.bind(n,2129)),"@site/docs/specs/asNeeded/asNeededFor.mdx",2129],"3a65aa90":[()=>n.e(4093).then(n.t.bind(n,2945,19)),"/home/runner/work/fhir-dosage-utils/fhir-dosage-utils/documentation/.docusaurus/docusaurus-plugin-content-blog/default/plugin-route-context-module-100.json",2945],"3c4bff03":[()=>n.e(9812).then(n.t.bind(n,7815,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-frequency-frequencymax-showcases-2f2.json",7815],"3d23bc21":[()=>Promise.all([n.e(1869),n.e(2076),n.e(85)]).then(n.bind(n,8566)),"@site/docs/specs/sequence/concurrent_instructions.mdx",8566],"3f237283":[()=>Promise.all([n.e(1869),n.e(2076),n.e(2309)]).then(n.bind(n,566)),"@site/docs/specs/rateRange/low_and_high.mdx",566],"3fb26655":[()=>Promise.all([n.e(1869),n.e(2076),n.e(8678)]).then(n.bind(n,1334)),"@site/docs/specs/maxDosePerPeriod/r5.mdx",1334],"40c0f713":[()=>Promise.all([n.e(1869),n.e(2076),n.e(5251)]).then(n.bind(n,8531)),"@site/docs/specs/boundsPeriod/start_only.mdx",8531],"41e66423":[()=>n.e(4004).then(n.t.bind(n,2394,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-doserange-showcases-1ef.json",2394],"4246bee9":[()=>n.e(5826).then(n.t.bind(n,1966,19)),"/home/runner/work/fhir-dosage-utils/fhir-dosage-utils/documentation/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json",1966],"4287e57f":[()=>n.e(9243).then(n.t.bind(n,3677,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-medicationrequest-examples-d9a.json",3677],"430bd102":[()=>Promise.all([n.e(1869),n.e(2076),n.e(2485)]).then(n.bind(n,4539)),"@site/docs/custom/fromFHIRQuantityUnitToString.mdx",4539],"447f614c":[()=>n.e(7956).then(n.t.bind(n,3919,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-maxdoseperlifetime-showcases-07b.json",3919],"460a5c5b":[()=>Promise.all([n.e(1869),n.e(2076),n.e(2453)]).then(n.bind(n,2253)),"@site/docs/specs/durationDurationMax/duration_and_durationMax.mdx",2253],"4628893b":[()=>Promise.all([n.e(1869),n.e(2076),n.e(2857)]).then(n.bind(n,3433)),"@site/docs/examples/medicationrequest/medrx0305.mdx",3433],"49044b90":[()=>Promise.all([n.e(1869),n.e(2076),n.e(1659)]).then(n.bind(n,2584)),"@site/docs/specs/dayOfWeek/multiple_items.mdx",2584],"4cbe19c8":[()=>Promise.all([n.e(1869),n.e(2076),n.e(9832)]).then(n.bind(n,5311)),"@site/docs/specs/sequence/sequential_instructions_2.mdx",5311],"4d15c614":[()=>n.e(397).then(n.t.bind(n,9987,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-timeofday-showcases-e82.json",9987],"4e847481":[()=>Promise.all([n.e(1869),n.e(2076),n.e(9646)]).then(n.bind(n,3123)),"@site/docs/examples/medicationrequest/medrx0307.mdx",3123],"4eb59f15":[()=>Promise.all([n.e(1869),n.e(2076),n.e(9218)]).then(n.bind(n,4353)),"@site/docs/examples/medicationrequest/medrx0331.mdx",4353],"4ed72121":[()=>n.e(57).then(n.t.bind(n,1911,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-\ufe0f-sequence-showcases-2e3.json",1911],"4f5b57b4":[()=>n.e(4574).then(n.t.bind(n,5131,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-specifications-showcases-af4.json",5131],"4faaf014":[()=>Promise.all([n.e(1869),n.e(2076),n.e(6734)]).then(n.bind(n,8659)),"@site/docs/examples/medicationrequest/medrx0302.mdx",8659],"533a8e17":[()=>Promise.all([n.e(1869),n.e(2076),n.e(1290)]).then(n.bind(n,1193)),"@site/docs/custom/fromCodeableConceptToString.mdx",1193],"55373fd9":[()=>Promise.all([n.e(1869),n.e(2076),n.e(5461)]).then(n.bind(n,542)),"@site/docs/specs/asNeeded/asNeededBoolean.mdx",542],"5c187a43":[()=>n.e(6547).then(n.t.bind(n,7157,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-\ufe0f-ratequantity-showcases-d02.json",7157],"5c2c208f":[()=>Promise.all([n.e(1869),n.e(2076),n.e(3970)]).then(n.bind(n,5269)),"@site/docs/specs/asNeeded/asNeeded.mdx",5269],"5d75ee92":[()=>n.e(947).then(n.t.bind(n,9796,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-\ufe0f-period-periodmax-showcases-b23.json",9796],"5e95c892":[()=>n.e(9647).then(n.bind(n,7121)),"@theme/DocsRoot",7121],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,4784)),"@generated/docusaurus.config",4784],"5f46c019":[()=>Promise.all([n.e(1869),n.e(2076),n.e(9059)]).then(n.bind(n,7133)),"@site/docs/specs/route/route.mdx",7133],"634f877e":[()=>n.e(779).then(n.t.bind(n,6868,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-\ufe0f-boundsduration-showcases-4c6.json",6868],"667c56e4":[()=>n.e(3843).then(n.t.bind(n,782,19)),"/home/runner/work/fhir-dosage-utils/fhir-dosage-utils/documentation/.docusaurus/docusaurus-plugin-typedoc-api/default/options.json",782],"6875c492":[()=>Promise.all([n.e(1869),n.e(2076),n.e(9761),n.e(8382),n.e(4813)]).then(n.bind(n,3069)),"@theme/BlogTagsPostsPage",3069],"6a4d8b82":[()=>Promise.all([n.e(1869),n.e(2076),n.e(9232)]).then(n.bind(n,4402)),"@site/docs/examples/medicationrequest/medrx0313.mdx",4402],"6bccb6a0":[()=>Promise.all([n.e(1869),n.e(2076),n.e(1286)]).then(n.bind(n,677)),"@site/docs/specs/durationDurationMax/duration_only.mdx",677],"6eeea2b6":[()=>n.e(2279).then(n.t.bind(n,9078,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-patientinstruction-showcases-289.json",9078],"6f133880":[()=>n.e(3426).then(n.t.bind(n,1508,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-showcases-of-the-library-4a3.json",1508],"72a427b3":[()=>Promise.all([n.e(2076),n.e(5643)]).then(n.bind(n,4580)),"@site/docs/contributing.mdx",4580],"74cb3b1c":[()=>n.e(3906).then(n.t.bind(n,2278,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-event-showcases-8e5.json",2278],"7614ce18":[()=>Promise.all([n.e(1869),n.e(2076),n.e(1444)]).then(n.bind(n,3339)),"@site/docs/specs/maxDosePerLifetime/maxDosePerLifetime.mdx",3339],"76aa043d":[()=>Promise.all([n.e(1869),n.e(2076),n.e(6751)]).then(n.bind(n,6692)),"@site/docs/specs/sequence/sequential_instructions_1.mdx",6692],"774b774e":[()=>Promise.all([n.e(1869),n.e(2076),n.e(5648)]).then(n.bind(n,553)),"@site/docs/specs/frequencyFrequencyMax/frequency_only.mdx",553],"79da1881":[()=>n.e(9588).then(n.t.bind(n,3772,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-count-countmax-showcases-739.json",3772],"7ebf62b0":[()=>Promise.all([n.e(1869),n.e(2076),n.e(417)]).then(n.bind(n,6787)),"@site/docs/specs/doseQuantity/doseQuantity.mdx",6787],"7ff2ef1f":[()=>n.e(7368).then(n.t.bind(n,5295,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-when-showcases-bdc.json",5295],"814f3328":[()=>n.e(7472).then(n.t.bind(n,5513,19)),"~blog/default/blog-post-list-prop-default.json",5513],"829c17da":[()=>Promise.all([n.e(1869),n.e(2076),n.e(8516)]).then(n.bind(n,3510)),"@site/docs/specs/countCountMax/countMax_only.mdx",3510],"8472a9bd":[()=>n.e(9848).then(n.t.bind(n,4421,19)),"~blog/default/fhir-dosage-utils-blog-tags-welcome-2e0-list.json",4421],87294416:[()=>Promise.all([n.e(1869),n.e(2076),n.e(1250)]).then(n.bind(n,7326)),"@site/docs/specs/durationDurationMax/durationMax_only.mdx",7326],"883bfc27":[()=>Promise.all([n.e(1869),n.e(2076),n.e(4812)]).then(n.bind(n,4359)),"@site/docs/specs/code/code.mdx",4359],"8926b418":[()=>Promise.all([n.e(1869),n.e(2076),n.e(9333),n.e(3663)]).then(n.bind(n,4190)),"@site/src/pages/playground/index.tsx",4190],"8cbc1f65":[()=>n.e(2215).then(n.t.bind(n,7757,19)),"/home/runner/work/fhir-dosage-utils/fhir-dosage-utils/documentation/.docusaurus/docusaurus-theme-search-algolia/default/plugin-route-context-module-100.json",7757],"90795d4d":[()=>n.e(7003).then(n.t.bind(n,4061,19)),"/home/runner/work/fhir-dosage-utils/fhir-dosage-utils/documentation/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json",4061],"915d2175":[()=>Promise.all([n.e(1869),n.e(2076),n.e(7829)]).then(n.bind(n,9591)),"@site/docs/specs/dayOfWeek/single_item.mdx",9591],"91e5c259":[()=>n.e(5970).then(n.t.bind(n,6010,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-offset-when-showcases-df6.json",6010],"92f3c933":[()=>n.e(8581).then(n.t.bind(n,5618,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-dosequantity-showcases-a3b.json",5618],"933cb006":[()=>n.e(581).then(n.t.bind(n,8392,19)),"/home/runner/work/fhir-dosage-utils/fhir-dosage-utils/documentation/.docusaurus/docusaurus-plugin-typedoc-api/default/version-current.json",8392],"935f2afb":[()=>n.e(962).then(n.t.bind(n,5610,19)),"~docs/default/version-current-metadata-prop-751.json",5610],"96e7b265":[()=>Promise.all([n.e(1869),n.e(2076),n.e(3301)]).then(n.bind(n,7398)),"@site/docs/specs/doseRange/low_and_high.mdx",7398],97031957:[()=>Promise.all([n.e(1869),n.e(2076),n.e(4222)]).then(n.bind(n,3416)),"@site/docs/specs/frequencyFrequencyMax/frequency_and_frequencyMax.mdx",3416],"9caecde7":[()=>Promise.all([n.e(1869),n.e(2076),n.e(980)]).then(n.bind(n,3293)),"@site/docs/examples/medicationrequest/medrx0303.mdx",3293],"9e4087bc":[()=>n.e(2711).then(n.bind(n,9331)),"@theme/BlogArchivePage",9331],a6743c64:[()=>n.e(7275).then(n.t.bind(n,8052,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-duration-durationmax-showcases-250.json",8052],a6aa9e1f:[()=>Promise.all([n.e(1869),n.e(2076),n.e(9761),n.e(8382),n.e(7643)]).then(n.bind(n,7785)),"@theme/BlogListPage",7785],a7bd4aaa:[()=>n.e(7098).then(n.bind(n,4532)),"@theme/DocVersionRoot",4532],a94703ab:[()=>Promise.all([n.e(1869),n.e(9048)]).then(n.bind(n,5738)),"@theme/DocRoot",5738],aa77b6a8:[()=>Promise.all([n.e(1869),n.e(2076),n.e(4048)]).then(n.bind(n,8585)),"@site/docs/specs/patientInstruction/patientInstruction.mdx",8585],aa8d6d0b:[()=>Promise.all([n.e(2076),n.e(3281)]).then(n.bind(n,5364)),"@site/blog/2024-03-29-welcome.mdx",5364],ab10b176:[()=>Promise.all([n.e(1869),n.e(2076),n.e(3421)]).then(n.bind(n,909)),"@site/docs/specs/periodPeriodMax/period_and_periodMax.mdx",909],ad90b1c0:[()=>Promise.all([n.e(1869),n.e(2076),n.e(513)]).then(n.bind(n,2223)),"@site/docs/specs/rateQuantity/rateQuantity.mdx",2223],afe92c27:[()=>Promise.all([n.e(1869),n.e(2076),n.e(4088)]).then(n.bind(n,2390)),"@site/docs/specs/maxDosePerPeriod/r4.mdx",2390],b30e43e1:[()=>Promise.all([n.e(1869),n.e(2076),n.e(1146)]).then(n.bind(n,7874)),"@site/docs/specs/doseRange/low_only.mdx",7874],b3272642:[()=>n.e(1085).then(n.t.bind(n,9781,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-asneeded-showcases-b55.json",9781],b52bbddc:[()=>Promise.all([n.e(1869),n.e(2076),n.e(3361)]).then(n.bind(n,5950)),"@site/docs/specs/rateRange/low_only.mdx",5950],b6b32736:[()=>n.e(1664).then(n.t.bind(n,6181,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-site-showcases-019.json",6181],b83c006f:[()=>n.e(3143).then(n.t.bind(n,4253,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-boundsrange-showcases-a2b.json",4253],bc0994c2:[()=>Promise.all([n.e(1869),n.e(2076),n.e(9643)]).then(n.bind(n,4008)),"@site/docs/specs/event/single_item.mdx",4008],bcc42c6c:[()=>n.e(4071).then(n.t.bind(n,4978,19)),"/home/runner/work/fhir-dosage-utils/fhir-dosage-utils/documentation/.docusaurus/docusaurus-plugin-typedoc-api/default/plugin-route-context-module-100.json",4978],c0086ef4:[()=>Promise.all([n.e(1869),n.e(2076),n.e(2495)]).then(n.bind(n,5333)),"@site/docs/examples/medicationrequest/medrx0315.mdx",5333],c0f1940f:[()=>n.e(3244).then(n.t.bind(n,2521,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-maxdoseperadministration-showcases-f0a.json",2521],c179f821:[()=>Promise.all([n.e(1869),n.e(2076),n.e(1110)]).then(n.bind(n,5160)),"@site/docs/quick-start.mdx",5160],c20bb7f9:[()=>n.e(5308).then(n.t.bind(n,7014,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-code-showcases-22a.json",7014],c36217b7:[()=>Promise.all([n.e(1869),n.e(2076),n.e(6016)]).then(n.bind(n,3403)),"@site/docs/specs/text/text.mdx",3403],c578995c:[()=>Promise.all([n.e(1869),n.e(2076),n.e(9761),n.e(1611),n.e(5772)]).then(n.t.bind(n,9332,23)),"/home/runner/work/fhir-dosage-utils/fhir-dosage-utils/documentation/node_modules/docusaurus-plugin-typedoc-api/lib/components/ApiItem.js",9332],c6db0fe6:[()=>n.e(8637).then(n.t.bind(n,5560,19)),"~blog/default/fhir-dosage-utils-blog-25a.json",5560],c9387e11:[()=>Promise.all([n.e(1869),n.e(2076),n.e(3140)]).then(n.bind(n,459)),"@site/docs/custom/dateTimeFormatOptions.mdx",459],ccc49370:[()=>Promise.all([n.e(1869),n.e(2076),n.e(9761),n.e(8382),n.e(3249)]).then(n.bind(n,4029)),"@theme/BlogPostPage",4029],cd12752c:[()=>Promise.all([n.e(1869),n.e(2076),n.e(6614)]).then(n.bind(n,844)),"@site/docs/custom/fromExtensionsToString.mdx",844],ce6de2dc:[()=>n.e(8147).then(n.t.bind(n,6998,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-\ufe0f-real-word-examples-56c.json",6998],d0a7fa20:[()=>Promise.all([n.e(1869),n.e(2076),n.e(3462)]).then(n.bind(n,8484)),"@site/docs/specs/offsetWhen/when/single_item.mdx",8484],d5205798:[()=>Promise.all([n.e(1869),n.e(2076),n.e(3920)]).then(n.bind(n,9309)),"@site/src/pages/examples/timing/index.tsx",9309],d9a0709a:[()=>Promise.all([n.e(1869),n.e(2076),n.e(8154)]).then(n.bind(n,5056)),"@site/docs/examples/medicationrequest/medrx002.mdx",5056],da14fb93:[()=>n.e(3585).then(n.t.bind(n,718,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-maxdoseperperiod-showcases-a7c.json",718],e388e5ed:[()=>n.e(7806).then(n.t.bind(n,735,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-\ufe0f-method-showcases-cf7.json",735],e8ce008f:[()=>Promise.all([n.e(1869),n.e(2076),n.e(2122)]).then(n.bind(n,4497)),"@site/docs/specs/doseRange/high_only.mdx",4497],e9832d3c:[()=>Promise.all([n.e(1869),n.e(2076),n.e(6554)]).then(n.bind(n,9925)),"@site/docs/specs/periodPeriodMax/periodMax_only.mdx",9925],ea313555:[()=>Promise.all([n.e(2076),n.e(1011)]).then(n.bind(n,2362)),"@site/docs/faq.mdx",2362],ebb1249f:[()=>Promise.all([n.e(1869),n.e(2076),n.e(3678)]).then(n.bind(n,5551)),"@site/docs/examples/medicationrequest/medrx0339.mdx",5551],ec99730f:[()=>Promise.all([n.e(2076),n.e(2209)]).then(n.bind(n,6865)),"@site/docs/next-steps.mdx",6865],ece64983:[()=>Promise.all([n.e(1869),n.e(2076),n.e(1932)]).then(n.bind(n,7786)),"@site/docs/specs/event/multiple_items.mdx",7786],ee929032:[()=>Promise.all([n.e(1869),n.e(2076),n.e(5236)]).then(n.bind(n,1939)),"@site/docs/specs/rateRatio/rateRatio.mdx",1939],ef54304a:[()=>Promise.all([n.e(1869),n.e(2076),n.e(3157)]).then(n.bind(n,9839)),"@site/docs/examples/medicationrequest/medrx004.mdx",9839],f2d946fd:[()=>n.e(4234).then(n.t.bind(n,4718,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-\ufe0f-customizations-showcases-f24.json",4718],f58af7d8:[()=>Promise.all([n.e(1869),n.e(2076),n.e(4056)]).then(n.bind(n,1877)),"@site/docs/specs/timeOfDay/multiple_items.mdx",1877],f71da0e1:[()=>Promise.all([n.e(2076),n.e(6720)]).then(n.bind(n,697)),"@site/blog/2024-03-29-welcome.mdx?truncated=true",697],f7adbe59:[()=>Promise.all([n.e(1869),n.e(2076),n.e(9280)]).then(n.bind(n,925)),"@site/docs/specs/boundsDuration/boundsDuration.mdx",925],fa572d46:[()=>Promise.all([n.e(1869),n.e(2076),n.e(1616)]).then(n.bind(n,6634)),"@site/docs/specs/offsetWhen/offset/offset_minutes.mdx",6634],fdba5499:[()=>Promise.all([n.e(1869),n.e(2076),n.e(743)]).then(n.bind(n,1299)),"@site/docs/examples/medicationrequest/medrx003.mdx",1299]};var s=n(4848);function l(e){let{error:t,retry:n,pastDelay:r}=e;return t?(0,s.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,s.jsx)("p",{children:String(t)}),(0,s.jsx)("div",{children:(0,s.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):r?(0,s.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,s.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,s.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,s.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var c=n(6921),u=n(3102);function d(e,t){if("*"===e)return a()({loading:l,loader:()=>n.e(2237).then(n.bind(n,2237)),modules:["@theme/NotFound"],webpack:()=>[2237],render(e,t){const n=e.default;return(0,s.jsx)(u.W,{value:{plugin:{name:"native",id:"default"}},children:(0,s.jsx)(n,{...t})})}});const r=o[`${e}-${t}`],d={},f=[],p=[],h=(0,c.A)(r);return Object.entries(h).forEach((e=>{let[t,n]=e;const r=i[n];r&&(d[t]=r[0],f.push(r[1]),p.push(r[2]))})),a().Map({loading:l,loader:d,modules:f,webpack:()=>p,render(t,n){const a=JSON.parse(JSON.stringify(r));Object.entries(t).forEach((t=>{let[n,r]=t;const o=r.default;if(!o)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof o&&"function"!=typeof o||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{o[e]=r[e]}));let i=a;const s=n.split(".");s.slice(0,-1).forEach((e=>{i=i[e]})),i[s[s.length-1]]=o}));const o=a.__comp;delete a.__comp;const i=a.__context;return delete a.__context,(0,s.jsx)(u.W,{value:i,children:(0,s.jsx)(o,{...a,...n})})}})}const f=[{path:"/fhir-dosage-utils/blog",component:d("/fhir-dosage-utils/blog","5f4"),exact:!0},{path:"/fhir-dosage-utils/blog/archive",component:d("/fhir-dosage-utils/blog/archive","62b"),exact:!0},{path:"/fhir-dosage-utils/blog/tags",component:d("/fhir-dosage-utils/blog/tags","127"),exact:!0},{path:"/fhir-dosage-utils/blog/tags/welcome",component:d("/fhir-dosage-utils/blog/tags/welcome","7ca"),exact:!0},{path:"/fhir-dosage-utils/blog/welcome",component:d("/fhir-dosage-utils/blog/welcome","f9e"),exact:!0},{path:"/fhir-dosage-utils/examples/timing",component:d("/fhir-dosage-utils/examples/timing","e70"),exact:!0},{path:"/fhir-dosage-utils/playground",component:d("/fhir-dosage-utils/playground","b93"),exact:!0},{path:"/fhir-dosage-utils/search",component:d("/fhir-dosage-utils/search","898"),exact:!0},{path:"/fhir-dosage-utils/api",component:d("/fhir-dosage-utils/api","c53"),routes:[{path:"/fhir-dosage-utils/api",component:d("/fhir-dosage-utils/api","90e"),routes:[{path:"/fhir-dosage-utils/api",component:d("/fhir-dosage-utils/api","ca1"),routes:[{path:"/fhir-dosage-utils/api",component:d("/fhir-dosage-utils/api","72f"),exact:!0,sidebar:"api",id:0},{path:"/fhir-dosage-utils/api/class/default",component:d("/fhir-dosage-utils/api/class/default","a83"),exact:!0,sidebar:"api",id:39},{path:"/fhir-dosage-utils/api/enum/DisplayOrderEnum",component:d("/fhir-dosage-utils/api/enum/DisplayOrderEnum","c2f"),exact:!0,sidebar:"api",id:9},{path:"/fhir-dosage-utils/api/interface/Params",component:d("/fhir-dosage-utils/api/interface/Params","bdc"),exact:!0,sidebar:"api",id:1}]}]}]},{path:"/fhir-dosage-utils/docs",component:d("/fhir-dosage-utils/docs","0bd"),routes:[{path:"/fhir-dosage-utils/docs",component:d("/fhir-dosage-utils/docs","8fa"),routes:[{path:"/fhir-dosage-utils/docs",component:d("/fhir-dosage-utils/docs","d0e"),routes:[{path:"/fhir-dosage-utils/docs/category/-additionalinstruction",component:d("/fhir-dosage-utils/docs/category/-additionalinstruction","742"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-asneeded",component:d("/fhir-dosage-utils/docs/category/-asneeded","b99"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/\ufe0f-boundsduration",component:d("/fhir-dosage-utils/docs/category/\ufe0f-boundsduration","5a2"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-boundsperiod",component:d("/fhir-dosage-utils/docs/category/-boundsperiod","064"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-boundsrange",component:d("/fhir-dosage-utils/docs/category/-boundsrange","7af"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-code",component:d("/fhir-dosage-utils/docs/category/-code","67e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-count--countmax",component:d("/fhir-dosage-utils/docs/category/-count--countmax","759"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-dayofweek",component:d("/fhir-dosage-utils/docs/category/-dayofweek","5e7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-dosequantity",component:d("/fhir-dosage-utils/docs/category/-dosequantity","724"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-doserange",component:d("/fhir-dosage-utils/docs/category/-doserange","b54"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-durationdurationmax",component:d("/fhir-dosage-utils/docs/category/-durationdurationmax","256"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-event",component:d("/fhir-dosage-utils/docs/category/-event","336"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-frequencyfrequencymax",component:d("/fhir-dosage-utils/docs/category/-frequencyfrequencymax","a92"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-maxdoseperadministration",component:d("/fhir-dosage-utils/docs/category/-maxdoseperadministration","a78"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-maxdoseperlifetime",component:d("/fhir-dosage-utils/docs/category/-maxdoseperlifetime","7bc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-maxdoseperperiod",component:d("/fhir-dosage-utils/docs/category/-maxdoseperperiod","0fb"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/\ufe0f-method",component:d("/fhir-dosage-utils/docs/category/\ufe0f-method","e28"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-offset",component:d("/fhir-dosage-utils/docs/category/-offset","d99"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-offset-when",component:d("/fhir-dosage-utils/docs/category/-offset-when","f85"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-patientinstruction",component:d("/fhir-dosage-utils/docs/category/-patientinstruction","f71"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/\ufe0f-periodperiodmax",component:d("/fhir-dosage-utils/docs/category/\ufe0f-periodperiodmax","25d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/\ufe0f-ratequantity",component:d("/fhir-dosage-utils/docs/category/\ufe0f-ratequantity","1d3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/\ufe0f-raterange",component:d("/fhir-dosage-utils/docs/category/\ufe0f-raterange","ff7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-rateratio",component:d("/fhir-dosage-utils/docs/category/-rateratio","972"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/\ufe0f-route",component:d("/fhir-dosage-utils/docs/category/\ufe0f-route","66b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/\ufe0f-sequence",component:d("/fhir-dosage-utils/docs/category/\ufe0f-sequence","30e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-site",component:d("/fhir-dosage-utils/docs/category/-site","2a9"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-text",component:d("/fhir-dosage-utils/docs/category/-text","100"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-timeofday",component:d("/fhir-dosage-utils/docs/category/-timeofday","a63"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-when",component:d("/fhir-dosage-utils/docs/category/-when","bac"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/contributing",component:d("/fhir-dosage-utils/docs/contributing","6d0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/custom/dateTimeFormatOptions",component:d("/fhir-dosage-utils/docs/custom/dateTimeFormatOptions","174"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/custom/fromCodeableConceptToString",component:d("/fhir-dosage-utils/docs/custom/fromCodeableConceptToString","025"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/custom/fromExtensionsToString",component:d("/fhir-dosage-utils/docs/custom/fromExtensionsToString","435"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/custom/fromFHIRQuantityUnitToString",component:d("/fhir-dosage-utils/docs/custom/fromFHIRQuantityUnitToString","57f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/demo",component:d("/fhir-dosage-utils/docs/demo","b12"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/demo/custom",component:d("/fhir-dosage-utils/docs/demo/custom","f72"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/demo/examples",component:d("/fhir-dosage-utils/docs/demo/examples","611"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/demo/examples/medicationrequest",component:d("/fhir-dosage-utils/docs/demo/examples/medicationrequest","e6b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/demo/specs",component:d("/fhir-dosage-utils/docs/demo/specs","3fd"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx002",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx002","b9f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx003",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx003","24a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx004",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx004","15b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0301",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0301","4cc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0302",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0302","ed1"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0303",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0303","fcd"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0305",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0305","283"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0307",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0307","295"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0308",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0308","767"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0310",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0310","7f2"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0313",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0313","17c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0314",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0314","312"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0315",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0315","cd0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0317",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0317","511"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0319",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0319","264"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0321",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0321","cf4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0331",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0331","be5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0339",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0339","b74"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/faq",component:d("/fhir-dosage-utils/docs/faq","377"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/next-steps",component:d("/fhir-dosage-utils/docs/next-steps","609"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/quick-start",component:d("/fhir-dosage-utils/docs/quick-start","887"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/additionalInstruction/multiple_items",component:d("/fhir-dosage-utils/docs/specs/additionalInstruction/multiple_items","6cc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/additionalInstruction/single_item",component:d("/fhir-dosage-utils/docs/specs/additionalInstruction/single_item","c14"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/asNeeded",component:d("/fhir-dosage-utils/docs/specs/asNeeded","93e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/asNeeded/asNeededBoolean",component:d("/fhir-dosage-utils/docs/specs/asNeeded/asNeededBoolean","558"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/asNeeded/asNeededCodeableConcept",component:d("/fhir-dosage-utils/docs/specs/asNeeded/asNeededCodeableConcept","05d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/asNeeded/asNeededFor",component:d("/fhir-dosage-utils/docs/specs/asNeeded/asNeededFor","ed5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/boundsDuration",component:d("/fhir-dosage-utils/docs/specs/boundsDuration","2f2"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/boundsPeriod/end_only",component:d("/fhir-dosage-utils/docs/specs/boundsPeriod/end_only","907"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/boundsPeriod/start_and_end",component:d("/fhir-dosage-utils/docs/specs/boundsPeriod/start_and_end","d91"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/boundsPeriod/start_only",component:d("/fhir-dosage-utils/docs/specs/boundsPeriod/start_only","e93"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/boundsRange/high_only",component:d("/fhir-dosage-utils/docs/specs/boundsRange/high_only","91c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/boundsRange/low_and_high",component:d("/fhir-dosage-utils/docs/specs/boundsRange/low_and_high","a6b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/boundsRange/low_only",component:d("/fhir-dosage-utils/docs/specs/boundsRange/low_only","682"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/code",component:d("/fhir-dosage-utils/docs/specs/code","cb2"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/countCountMax/count",component:d("/fhir-dosage-utils/docs/specs/countCountMax/count","7b1"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/countCountMax/count_and_countMax",component:d("/fhir-dosage-utils/docs/specs/countCountMax/count_and_countMax","b6c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/countCountMax/countMax_only",component:d("/fhir-dosage-utils/docs/specs/countCountMax/countMax_only","4e2"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/dayOfWeek/multiple_items",component:d("/fhir-dosage-utils/docs/specs/dayOfWeek/multiple_items","56a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/dayOfWeek/single_item",component:d("/fhir-dosage-utils/docs/specs/dayOfWeek/single_item","6bc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/doseQuantity",component:d("/fhir-dosage-utils/docs/specs/doseQuantity","5f5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/doseRange/high_only",component:d("/fhir-dosage-utils/docs/specs/doseRange/high_only","856"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/doseRange/low_and_high",component:d("/fhir-dosage-utils/docs/specs/doseRange/low_and_high","9a6"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/doseRange/low_only",component:d("/fhir-dosage-utils/docs/specs/doseRange/low_only","43a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/durationDurationMax/duration_and_durationMax",component:d("/fhir-dosage-utils/docs/specs/durationDurationMax/duration_and_durationMax","5d3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/durationDurationMax/duration_only",component:d("/fhir-dosage-utils/docs/specs/durationDurationMax/duration_only","1f9"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/durationDurationMax/durationMax_only",component:d("/fhir-dosage-utils/docs/specs/durationDurationMax/durationMax_only","b96"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/event/multiple_items",component:d("/fhir-dosage-utils/docs/specs/event/multiple_items","98a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/event/single_item",component:d("/fhir-dosage-utils/docs/specs/event/single_item","1c8"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_and_frequencyMax",component:d("/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_and_frequencyMax","2dc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_only",component:d("/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_only","ca7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequencyMax_only",component:d("/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequencyMax_only","657"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/maxDosePerAdministration",component:d("/fhir-dosage-utils/docs/specs/maxDosePerAdministration","a2e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/maxDosePerLifetime",component:d("/fhir-dosage-utils/docs/specs/maxDosePerLifetime","43e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r4",component:d("/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r4","e7f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r5",component:d("/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r5","ef5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/method",component:d("/fhir-dosage-utils/docs/specs/method","b9f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_days",component:d("/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_days","88d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_hours",component:d("/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_hours","541"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_minutes",component:d("/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_minutes","eec"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/offsetWhen/when_and_offset",component:d("/fhir-dosage-utils/docs/specs/offsetWhen/when_and_offset","04e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/offsetWhen/when/multiple_items",component:d("/fhir-dosage-utils/docs/specs/offsetWhen/when/multiple_items","d44"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/offsetWhen/when/single_item",component:d("/fhir-dosage-utils/docs/specs/offsetWhen/when/single_item","ad0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/patientInstruction",component:d("/fhir-dosage-utils/docs/specs/patientInstruction","614"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/periodPeriodMax/period_and_periodMax",component:d("/fhir-dosage-utils/docs/specs/periodPeriodMax/period_and_periodMax","e71"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/periodPeriodMax/period_only",component:d("/fhir-dosage-utils/docs/specs/periodPeriodMax/period_only","091"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/periodPeriodMax/periodMax_only",component:d("/fhir-dosage-utils/docs/specs/periodPeriodMax/periodMax_only","8b4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/rateQuantity",component:d("/fhir-dosage-utils/docs/specs/rateQuantity","77a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/rateRange/high_only",component:d("/fhir-dosage-utils/docs/specs/rateRange/high_only","d95"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/rateRange/low_and_high",component:d("/fhir-dosage-utils/docs/specs/rateRange/low_and_high","ec3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/rateRange/low_only",component:d("/fhir-dosage-utils/docs/specs/rateRange/low_only","3ec"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/rateRatio",component:d("/fhir-dosage-utils/docs/specs/rateRatio","ff8"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/route",component:d("/fhir-dosage-utils/docs/specs/route","ad7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/sequence/concurrent_instructions",component:d("/fhir-dosage-utils/docs/specs/sequence/concurrent_instructions","f09"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_1",component:d("/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_1","9ee"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_2",component:d("/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_2","c7b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/site",component:d("/fhir-dosage-utils/docs/specs/site","d67"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/text",component:d("/fhir-dosage-utils/docs/specs/text","5d5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/timeOfDay/multiple_items",component:d("/fhir-dosage-utils/docs/specs/timeOfDay/multiple_items","29c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/timeOfDay/single_item",component:d("/fhir-dosage-utils/docs/specs/timeOfDay/single_item","f7b"),exact:!0,sidebar:"tutorialSidebar"}]}]}]},{path:"/fhir-dosage-utils/",component:d("/fhir-dosage-utils/","3e2"),exact:!0},{path:"*",component:d("*")}]},6125:(e,t,n)=>{"use strict";n.d(t,{o:()=>o,x:()=>i});var r=n(6540),a=n(4848);const o=r.createContext(!1);function i(e){let{children:t}=e;const[n,i]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i(!0)}),[]),(0,a.jsx)(o.Provider,{value:n,children:t})}},8536:(e,t,n)=>{"use strict";var r=n(6540),a=n(5338),o=n(4625),i=n(545),s=n(8193);const l=[n(119),n(6134),n(6294),n(1043)];var c=n(8328),u=n(6347),d=n(2831),f=n(4848);function p(e){let{children:t}=e;return(0,f.jsx)(f.Fragment,{children:t})}var h=n(5260),g=n(4586),m=n(6025),b=n(6342),y=n(9024),v=n(2131),x=n(4090),w=n(2967),k=n(440),S=n(1463);function _(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,g.default)(),r=(0,v.o)(),a=n[e].htmlLang,o=e=>e.replace("-","_");return(0,f.jsxs)(h.A,{children:[Object.entries(n).map((e=>{let[t,{htmlLang:n}]=e;return(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)})),(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,f.jsx)("meta",{property:"og:locale",content:o(a)}),Object.values(n).filter((e=>a!==e.htmlLang)).map((e=>(0,f.jsx)("meta",{property:"og:locale:alternate",content:o(e.htmlLang)},`meta-og-${e.htmlLang}`)))]})}function E(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,g.default)(),r=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,g.default)(),{pathname:r}=(0,u.zy)();return e+(0,k.applyTrailingSlash)((0,m.A)(r),{trailingSlash:n,baseUrl:t})}(),a=t?`${n}${t}`:r;return(0,f.jsxs)(h.A,{children:[(0,f.jsx)("meta",{property:"og:url",content:a}),(0,f.jsx)("link",{rel:"canonical",href:a})]})}function C(){const{i18n:{currentLocale:e}}=(0,g.default)(),{metadata:t,image:n}=(0,b.p)();return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(h.A,{children:[(0,f.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,f.jsx)("body",{className:x.w})]}),n&&(0,f.jsx)(y.be,{image:n}),(0,f.jsx)(E,{}),(0,f.jsx)(_,{}),(0,f.jsx)(S.A,{tag:w.Cy,locale:e}),(0,f.jsx)(h.A,{children:t.map(((e,t)=>(0,f.jsx)("meta",{...e},t)))})]})}const T=new Map;function A(e){if(T.has(e.pathname))return{...e,pathname:T.get(e.pathname)};if((0,d.u)(c.A,e.pathname).some((e=>{let{route:t}=e;return!0===t.exact})))return T.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return T.set(e.pathname,t),{...e,pathname:t}}var P=n(6125),N=n(6988),j=n(205);function R(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];const a=l.map((t=>{const r=t.default?.[e]??t[e];return r?.(...n)}));return()=>a.forEach((e=>e?.()))}const L=function(e){let{children:t,location:n,previousLocation:r}=e;return(0,j.A)((()=>{r!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;const r=t.pathname===n.pathname,a=t.hash===n.hash,o=t.search===n.search;if(r&&a&&!o)return;const{hash:i}=t;if(i){const e=decodeURIComponent(i.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:r}),R("onRouteDidUpdate",{previousLocation:r,location:n}))}),[r,n]),t};function O(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,d.u)(c.A,e))).flat();return Promise.all(t.map((e=>e.route.component.preload?.())))}class M extends r.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=s.A.canUseDOM?R("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=R("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),O(n.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:t}=this.props;return(0,f.jsx)(L,{previousLocation:this.previousLocation,location:t,children:(0,f.jsx)(u.qh,{location:t,render:()=>e})})}}const I=M,D="__docusaurus-base-url-issue-banner-container",F="__docusaurus-base-url-issue-banner",B="__docusaurus-base-url-issue-banner-suggestion-container";function z(e){return`\ndocument.addEventListener('DOMContentLoaded', function maybeInsertBanner() {\n var shouldInsert = typeof window['docusaurus'] === 'undefined';\n shouldInsert && insertBanner();\n});\n\nfunction insertBanner() {\n var bannerContainer = document.createElement('div');\n bannerContainer.id = '${D}';\n var bannerHtml = ${JSON.stringify(function(e){return`\n<div id="${F}" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">\n <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>\n <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseUrl" style="font-weight: bold;">baseUrl configuration</a>.</p>\n <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">${e}</span> ${"/"===e?" (default value)":""}</p>\n <p>We suggest trying baseUrl = <span id="${B}" style="font-weight: bold; color: green;"></span></p>\n</div>\n`}(e)).replace(/</g,"\\<")};\n bannerContainer.innerHTML = bannerHtml;\n document.body.prepend(bannerContainer);\n var suggestionContainer = document.getElementById('${B}');\n var actualHomePagePath = window.location.pathname;\n var suggestedBaseUrl = actualHomePagePath.substr(-1) === '/'\n ? actualHomePagePath\n : actualHomePagePath + '/';\n suggestionContainer.innerHTML = suggestedBaseUrl;\n}\n`}function q(){const{siteConfig:{baseUrl:e}}=(0,g.default)();return(0,f.jsx)(f.Fragment,{children:!s.A.canUseDOM&&(0,f.jsx)(h.A,{children:(0,f.jsx)("script",{children:z(e)})})})}function $(){const{siteConfig:{baseUrl:e,baseUrlIssueBanner:t}}=(0,g.default)(),{pathname:n}=(0,u.zy)();return t&&n===e?(0,f.jsx)(q,{}):null}function U(){const{siteConfig:{favicon:e,title:t,noIndex:n},i18n:{currentLocale:r,localeConfigs:a}}=(0,g.default)(),o=(0,m.A)(e),{htmlLang:i,direction:s}=a[r];return(0,f.jsxs)(h.A,{children:[(0,f.jsx)("html",{lang:i,dir:s}),(0,f.jsx)("title",{children:t}),(0,f.jsx)("meta",{property:"og:title",content:t}),(0,f.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&(0,f.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),e&&(0,f.jsx)("link",{rel:"icon",href:o})]})}var W=n(7489),H=n(2303);function V(){const e=(0,H.A)();return(0,f.jsx)(h.A,{children:(0,f.jsx)("html",{"data-has-hydrated":e})})}function G(){const e=(0,d.v)(c.A),t=(0,u.zy)();return(0,f.jsx)(W.A,{children:(0,f.jsx)(N.l,{children:(0,f.jsxs)(P.x,{children:[(0,f.jsxs)(p,{children:[(0,f.jsx)(U,{}),(0,f.jsx)(C,{}),(0,f.jsx)($,{}),(0,f.jsx)(I,{location:A(t),children:e})]}),(0,f.jsx)(V,{})]})})})}var Q=n(4054);const K=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise(((t,n)=>{if("undefined"==typeof document)return void n();const r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();const a=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;a?.appendChild(r)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)}))};var Y=n(6921);const Z=new Set,X=new Set,J=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,ee={prefetch(e){if(!(e=>!J()&&!X.has(e)&&!Z.has(e))(e))return!1;Z.add(e);const t=(0,d.u)(c.A,e).flatMap((e=>{return t=e.route.path,Object.entries(Q).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,Y.A)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?K(t).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!J()&&!X.has(e))(e)&&(X.add(e),O(e))},te=Object.freeze(ee),ne=Boolean(!0);if(s.A.canUseDOM){window.docusaurus=te;const e=document.getElementById("__docusaurus"),t=(0,f.jsx)(i.vd,{children:(0,f.jsx)(o.Kd,{children:(0,f.jsx)(G,{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},s=()=>{if(ne)r.startTransition((()=>{a.hydrateRoot(e,t,{onRecoverableError:n})}));else{const o=a.createRoot(e,{onRecoverableError:n});r.startTransition((()=>{o.render(t)}))}};O(window.location.pathname).then(s)}},6988:(e,t,n)=>{"use strict";n.d(t,{o:()=>d,l:()=>f});var r=n(6540),a=n(4784);const o=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/fhir-dosage-utils/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/fhir-dosage-utils/docs","mainDocId":"quick-start","docs":[{"id":"contributing","path":"/fhir-dosage-utils/docs/contributing","sidebar":"tutorialSidebar"},{"id":"custom/dateTimeFormatOptions","path":"/fhir-dosage-utils/docs/custom/dateTimeFormatOptions","sidebar":"tutorialSidebar"},{"id":"custom/fromCodeableConceptToString","path":"/fhir-dosage-utils/docs/custom/fromCodeableConceptToString","sidebar":"tutorialSidebar"},{"id":"custom/fromExtensionsToString","path":"/fhir-dosage-utils/docs/custom/fromExtensionsToString","sidebar":"tutorialSidebar"},{"id":"custom/fromFHIRQuantityUnitToString","path":"/fhir-dosage-utils/docs/custom/fromFHIRQuantityUnitToString","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx002","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx002","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx003","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx003","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx004","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx004","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx0301","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0301","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx0302","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0302","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx0303","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0303","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx0305","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0305","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx0307","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0307","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx0308","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0308","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx0310","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0310","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx0313","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0313","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx0314","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0314","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx0315","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0315","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx0317","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0317","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx0319","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0319","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx0321","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0321","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx0331","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0331","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx0339","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0339","sidebar":"tutorialSidebar"},{"id":"faq","path":"/fhir-dosage-utils/docs/faq","sidebar":"tutorialSidebar"},{"id":"next-steps","path":"/fhir-dosage-utils/docs/next-steps","sidebar":"tutorialSidebar"},{"id":"quick-start","path":"/fhir-dosage-utils/docs/quick-start","sidebar":"tutorialSidebar"},{"id":"specs/additionalInstruction/multiple_items","path":"/fhir-dosage-utils/docs/specs/additionalInstruction/multiple_items","sidebar":"tutorialSidebar"},{"id":"specs/additionalInstruction/single_item","path":"/fhir-dosage-utils/docs/specs/additionalInstruction/single_item","sidebar":"tutorialSidebar"},{"id":"specs/asNeeded/asNeeded","path":"/fhir-dosage-utils/docs/specs/asNeeded/","sidebar":"tutorialSidebar"},{"id":"specs/asNeeded/asNeededBoolean","path":"/fhir-dosage-utils/docs/specs/asNeeded/asNeededBoolean","sidebar":"tutorialSidebar"},{"id":"specs/asNeeded/asNeededCodeableConcept","path":"/fhir-dosage-utils/docs/specs/asNeeded/asNeededCodeableConcept","sidebar":"tutorialSidebar"},{"id":"specs/asNeeded/asNeededFor","path":"/fhir-dosage-utils/docs/specs/asNeeded/asNeededFor","sidebar":"tutorialSidebar"},{"id":"specs/boundsDuration/boundsDuration","path":"/fhir-dosage-utils/docs/specs/boundsDuration/","sidebar":"tutorialSidebar"},{"id":"specs/boundsPeriod/end_only","path":"/fhir-dosage-utils/docs/specs/boundsPeriod/end_only","sidebar":"tutorialSidebar"},{"id":"specs/boundsPeriod/start_and_end","path":"/fhir-dosage-utils/docs/specs/boundsPeriod/start_and_end","sidebar":"tutorialSidebar"},{"id":"specs/boundsPeriod/start_only","path":"/fhir-dosage-utils/docs/specs/boundsPeriod/start_only","sidebar":"tutorialSidebar"},{"id":"specs/boundsRange/high_only","path":"/fhir-dosage-utils/docs/specs/boundsRange/high_only","sidebar":"tutorialSidebar"},{"id":"specs/boundsRange/low_and_high","path":"/fhir-dosage-utils/docs/specs/boundsRange/low_and_high","sidebar":"tutorialSidebar"},{"id":"specs/boundsRange/low_only","path":"/fhir-dosage-utils/docs/specs/boundsRange/low_only","sidebar":"tutorialSidebar"},{"id":"specs/code/code","path":"/fhir-dosage-utils/docs/specs/code/","sidebar":"tutorialSidebar"},{"id":"specs/countCountMax/count","path":"/fhir-dosage-utils/docs/specs/countCountMax/count","sidebar":"tutorialSidebar"},{"id":"specs/countCountMax/count_and_countMax","path":"/fhir-dosage-utils/docs/specs/countCountMax/count_and_countMax","sidebar":"tutorialSidebar"},{"id":"specs/countCountMax/countMax_only","path":"/fhir-dosage-utils/docs/specs/countCountMax/countMax_only","sidebar":"tutorialSidebar"},{"id":"specs/dayOfWeek/multiple_items","path":"/fhir-dosage-utils/docs/specs/dayOfWeek/multiple_items","sidebar":"tutorialSidebar"},{"id":"specs/dayOfWeek/single_item","path":"/fhir-dosage-utils/docs/specs/dayOfWeek/single_item","sidebar":"tutorialSidebar"},{"id":"specs/doseQuantity/doseQuantity","path":"/fhir-dosage-utils/docs/specs/doseQuantity/","sidebar":"tutorialSidebar"},{"id":"specs/doseRange/high_only","path":"/fhir-dosage-utils/docs/specs/doseRange/high_only","sidebar":"tutorialSidebar"},{"id":"specs/doseRange/low_and_high","path":"/fhir-dosage-utils/docs/specs/doseRange/low_and_high","sidebar":"tutorialSidebar"},{"id":"specs/doseRange/low_only","path":"/fhir-dosage-utils/docs/specs/doseRange/low_only","sidebar":"tutorialSidebar"},{"id":"specs/durationDurationMax/duration_and_durationMax","path":"/fhir-dosage-utils/docs/specs/durationDurationMax/duration_and_durationMax","sidebar":"tutorialSidebar"},{"id":"specs/durationDurationMax/duration_only","path":"/fhir-dosage-utils/docs/specs/durationDurationMax/duration_only","sidebar":"tutorialSidebar"},{"id":"specs/durationDurationMax/durationMax_only","path":"/fhir-dosage-utils/docs/specs/durationDurationMax/durationMax_only","sidebar":"tutorialSidebar"},{"id":"specs/event/multiple_items","path":"/fhir-dosage-utils/docs/specs/event/multiple_items","sidebar":"tutorialSidebar"},{"id":"specs/event/single_item","path":"/fhir-dosage-utils/docs/specs/event/single_item","sidebar":"tutorialSidebar"},{"id":"specs/frequencyFrequencyMax/frequency_and_frequencyMax","path":"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_and_frequencyMax","sidebar":"tutorialSidebar"},{"id":"specs/frequencyFrequencyMax/frequency_only","path":"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_only","sidebar":"tutorialSidebar"},{"id":"specs/frequencyFrequencyMax/frequencyMax_only","path":"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequencyMax_only","sidebar":"tutorialSidebar"},{"id":"specs/maxDosePerAdministration/maxDosePerAdministration","path":"/fhir-dosage-utils/docs/specs/maxDosePerAdministration/","sidebar":"tutorialSidebar"},{"id":"specs/maxDosePerLifetime/maxDosePerLifetime","path":"/fhir-dosage-utils/docs/specs/maxDosePerLifetime/","sidebar":"tutorialSidebar"},{"id":"specs/maxDosePerPeriod/r4","path":"/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r4","sidebar":"tutorialSidebar"},{"id":"specs/maxDosePerPeriod/r5","path":"/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r5","sidebar":"tutorialSidebar"},{"id":"specs/method/method","path":"/fhir-dosage-utils/docs/specs/method/","sidebar":"tutorialSidebar"},{"id":"specs/offsetWhen/offset/offset_days","path":"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_days","sidebar":"tutorialSidebar"},{"id":"specs/offsetWhen/offset/offset_hours","path":"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_hours","sidebar":"tutorialSidebar"},{"id":"specs/offsetWhen/offset/offset_minutes","path":"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_minutes","sidebar":"tutorialSidebar"},{"id":"specs/offsetWhen/when_and_offset","path":"/fhir-dosage-utils/docs/specs/offsetWhen/when_and_offset","sidebar":"tutorialSidebar"},{"id":"specs/offsetWhen/when/multiple_items","path":"/fhir-dosage-utils/docs/specs/offsetWhen/when/multiple_items","sidebar":"tutorialSidebar"},{"id":"specs/offsetWhen/when/single_item","path":"/fhir-dosage-utils/docs/specs/offsetWhen/when/single_item","sidebar":"tutorialSidebar"},{"id":"specs/patientInstruction/patientInstruction","path":"/fhir-dosage-utils/docs/specs/patientInstruction/","sidebar":"tutorialSidebar"},{"id":"specs/periodPeriodMax/period_and_periodMax","path":"/fhir-dosage-utils/docs/specs/periodPeriodMax/period_and_periodMax","sidebar":"tutorialSidebar"},{"id":"specs/periodPeriodMax/period_only","path":"/fhir-dosage-utils/docs/specs/periodPeriodMax/period_only","sidebar":"tutorialSidebar"},{"id":"specs/periodPeriodMax/periodMax_only","path":"/fhir-dosage-utils/docs/specs/periodPeriodMax/periodMax_only","sidebar":"tutorialSidebar"},{"id":"specs/rateQuantity/rateQuantity","path":"/fhir-dosage-utils/docs/specs/rateQuantity/","sidebar":"tutorialSidebar"},{"id":"specs/rateRange/high_only","path":"/fhir-dosage-utils/docs/specs/rateRange/high_only","sidebar":"tutorialSidebar"},{"id":"specs/rateRange/low_and_high","path":"/fhir-dosage-utils/docs/specs/rateRange/low_and_high","sidebar":"tutorialSidebar"},{"id":"specs/rateRange/low_only","path":"/fhir-dosage-utils/docs/specs/rateRange/low_only","sidebar":"tutorialSidebar"},{"id":"specs/rateRatio/rateRatio","path":"/fhir-dosage-utils/docs/specs/rateRatio/","sidebar":"tutorialSidebar"},{"id":"specs/route/route","path":"/fhir-dosage-utils/docs/specs/route/","sidebar":"tutorialSidebar"},{"id":"specs/sequence/concurrent_instructions","path":"/fhir-dosage-utils/docs/specs/sequence/concurrent_instructions","sidebar":"tutorialSidebar"},{"id":"specs/sequence/sequential_instructions_1","path":"/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_1","sidebar":"tutorialSidebar"},{"id":"specs/sequence/sequential_instructions_2","path":"/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_2","sidebar":"tutorialSidebar"},{"id":"specs/site/site","path":"/fhir-dosage-utils/docs/specs/site/","sidebar":"tutorialSidebar"},{"id":"specs/text/text","path":"/fhir-dosage-utils/docs/specs/text/","sidebar":"tutorialSidebar"},{"id":"specs/timeOfDay/multiple_items","path":"/fhir-dosage-utils/docs/specs/timeOfDay/multiple_items","sidebar":"tutorialSidebar"},{"id":"specs/timeOfDay/single_item","path":"/fhir-dosage-utils/docs/specs/timeOfDay/single_item","sidebar":"tutorialSidebar"},{"id":"/demo","path":"/fhir-dosage-utils/docs/demo","sidebar":"tutorialSidebar"},{"id":"/demo/specs","path":"/fhir-dosage-utils/docs/demo/specs","sidebar":"tutorialSidebar"},{"id":"/category/-additionalinstruction","path":"/fhir-dosage-utils/docs/category/-additionalinstruction","sidebar":"tutorialSidebar"},{"id":"/category/-asneeded","path":"/fhir-dosage-utils/docs/category/-asneeded","sidebar":"tutorialSidebar"},{"id":"/category/\ufe0f-boundsduration","path":"/fhir-dosage-utils/docs/category/\ufe0f-boundsduration","sidebar":"tutorialSidebar"},{"id":"/category/-boundsperiod","path":"/fhir-dosage-utils/docs/category/-boundsperiod","sidebar":"tutorialSidebar"},{"id":"/category/-boundsrange","path":"/fhir-dosage-utils/docs/category/-boundsrange","sidebar":"tutorialSidebar"},{"id":"/category/-code","path":"/fhir-dosage-utils/docs/category/-code","sidebar":"tutorialSidebar"},{"id":"/category/-count--countmax","path":"/fhir-dosage-utils/docs/category/-count--countmax","sidebar":"tutorialSidebar"},{"id":"/category/-dayofweek","path":"/fhir-dosage-utils/docs/category/-dayofweek","sidebar":"tutorialSidebar"},{"id":"/category/-dosequantity","path":"/fhir-dosage-utils/docs/category/-dosequantity","sidebar":"tutorialSidebar"},{"id":"/category/-doserange","path":"/fhir-dosage-utils/docs/category/-doserange","sidebar":"tutorialSidebar"},{"id":"/category/-durationdurationmax","path":"/fhir-dosage-utils/docs/category/-durationdurationmax","sidebar":"tutorialSidebar"},{"id":"/category/-event","path":"/fhir-dosage-utils/docs/category/-event","sidebar":"tutorialSidebar"},{"id":"/category/-frequencyfrequencymax","path":"/fhir-dosage-utils/docs/category/-frequencyfrequencymax","sidebar":"tutorialSidebar"},{"id":"/category/-maxdoseperadministration","path":"/fhir-dosage-utils/docs/category/-maxdoseperadministration","sidebar":"tutorialSidebar"},{"id":"/category/-maxdoseperlifetime","path":"/fhir-dosage-utils/docs/category/-maxdoseperlifetime","sidebar":"tutorialSidebar"},{"id":"/category/-maxdoseperperiod","path":"/fhir-dosage-utils/docs/category/-maxdoseperperiod","sidebar":"tutorialSidebar"},{"id":"/category/\ufe0f-method","path":"/fhir-dosage-utils/docs/category/\ufe0f-method","sidebar":"tutorialSidebar"},{"id":"/category/-offset-when","path":"/fhir-dosage-utils/docs/category/-offset-when","sidebar":"tutorialSidebar"},{"id":"/category/-offset","path":"/fhir-dosage-utils/docs/category/-offset","sidebar":"tutorialSidebar"},{"id":"/category/-when","path":"/fhir-dosage-utils/docs/category/-when","sidebar":"tutorialSidebar"},{"id":"/category/-patientinstruction","path":"/fhir-dosage-utils/docs/category/-patientinstruction","sidebar":"tutorialSidebar"},{"id":"/category/\ufe0f-periodperiodmax","path":"/fhir-dosage-utils/docs/category/\ufe0f-periodperiodmax","sidebar":"tutorialSidebar"},{"id":"/category/\ufe0f-ratequantity","path":"/fhir-dosage-utils/docs/category/\ufe0f-ratequantity","sidebar":"tutorialSidebar"},{"id":"/category/\ufe0f-raterange","path":"/fhir-dosage-utils/docs/category/\ufe0f-raterange","sidebar":"tutorialSidebar"},{"id":"/category/-rateratio","path":"/fhir-dosage-utils/docs/category/-rateratio","sidebar":"tutorialSidebar"},{"id":"/category/\ufe0f-route","path":"/fhir-dosage-utils/docs/category/\ufe0f-route","sidebar":"tutorialSidebar"},{"id":"/category/\ufe0f-sequence","path":"/fhir-dosage-utils/docs/category/\ufe0f-sequence","sidebar":"tutorialSidebar"},{"id":"/category/-site","path":"/fhir-dosage-utils/docs/category/-site","sidebar":"tutorialSidebar"},{"id":"/category/-text","path":"/fhir-dosage-utils/docs/category/-text","sidebar":"tutorialSidebar"},{"id":"/category/-timeofday","path":"/fhir-dosage-utils/docs/category/-timeofday","sidebar":"tutorialSidebar"},{"id":"/demo/custom","path":"/fhir-dosage-utils/docs/demo/custom","sidebar":"tutorialSidebar"},{"id":"/demo/examples","path":"/fhir-dosage-utils/docs/demo/examples","sidebar":"tutorialSidebar"},{"id":"/demo/examples/medicationrequest","path":"/fhir-dosage-utils/docs/demo/examples/medicationrequest","sidebar":"tutorialSidebar"}],"draftIds":[],"sidebars":{"tutorialSidebar":{"link":{"path":"/fhir-dosage-utils/docs/quick-start","label":"quick-start"}}}}],"breadcrumbs":true}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var s=n(2654);const l=JSON.parse('{"docusaurusVersion":"3.1.1","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.1.1"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"3.1.1"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.1.1"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.1.1"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.1.1"},"docusaurus-theme-search-algolia":{"type":"package","name":"@docusaurus/theme-search-algolia","version":"3.1.1"},"docusaurus-plugin-typedoc-api":{"type":"package","name":"docusaurus-plugin-typedoc-api","version":"4.2.0"},"monaco-plugin":{"type":"project"}}}');var c=n(4848);const u={siteConfig:a.default,siteMetadata:l,globalData:o,i18n:i,codeTranslations:s},d=r.createContext(u);function f(e){let{children:t}=e;return(0,c.jsx)(d.Provider,{value:u,children:t})}},7489:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(6540),a=n(8193),o=n(5260),i=n(440),s=n(7747),l=n(4848);function c(e){let{error:t,tryAgain:n}=e;return(0,l.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,l.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,l.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,l.jsx)(u,{error:t})]})}function u(e){let{error:t}=e;const n=(0,i.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,l.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function d(e){let{error:t,tryAgain:n}=e;return(0,l.jsxs)(p,{fallback:()=>(0,l.jsx)(c,{error:t,tryAgain:n}),children:[(0,l.jsx)(o.A,{children:(0,l.jsx)("title",{children:"Page Error"})}),(0,l.jsx)(s.A,{children:(0,l.jsx)(c,{error:t,tryAgain:n})})]})}const f=e=>(0,l.jsx)(d,{...e});class p extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){a.A.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){const e={error:t,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??f)(e)}return e??null}}},8193:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,a={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},5260:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(6540);var r=n(545),a=n(4848);function o(e){return(0,a.jsx)(r.mg,{...e})}},8774:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var r=n(6540),a=n(4625),o=n(440),i=n(4586),s=n(6654),l=n(8193),c=n(3427),u=n(6025),d=n(4848);function f(e,t){let{isNavLink:n,to:f,href:p,activeClassName:h,isActive:g,"data-noBrokenLinkCheck":m,autoAddBaseUrl:b=!0,...y}=e;const{siteConfig:{trailingSlash:v,baseUrl:x}}=(0,i.default)(),{withBaseUrl:w}=(0,u.h)(),k=(0,c.default)(),S=(0,r.useRef)(null);(0,r.useImperativeHandle)(t,(()=>S.current));const _=f||p;const E=(0,s.A)(_),C=_?.replace("pathname://","");let T=void 0!==C?(A=C,b&&(e=>e.startsWith("/"))(A)?w(A):A):void 0;var A;T&&E&&(T=(0,o.applyTrailingSlash)(T,{trailingSlash:v,baseUrl:x}));const P=(0,r.useRef)(!1),N=n?a.k2:a.N_,j=l.A.canUseIntersectionObserver,R=(0,r.useRef)(),L=()=>{P.current||null==T||(window.docusaurus.preload(T),P.current=!0)};(0,r.useEffect)((()=>(!j&&E&&null!=T&&window.docusaurus.prefetch(T),()=>{j&&R.current&&R.current.disconnect()})),[R,T,j,E]);const O=T?.startsWith("#")??!1,M=!y.target||"_self"===y.target,I=!T||!E||!M||O;return m||!O&&I||k.collectLink(T),y.id&&k.collectAnchor(y.id),I?(0,d.jsx)("a",{ref:S,href:T,..._&&!E&&{target:"_blank",rel:"noopener noreferrer"},...y}):(0,d.jsx)(N,{...y,onMouseEnter:L,onTouchStart:L,innerRef:e=>{S.current=e,j&&e&&E&&(R.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(R.current.unobserve(e),R.current.disconnect(),null!=T&&window.docusaurus.prefetch(T))}))})),R.current.observe(e))},to:T,...n&&{isActive:g,activeClassName:h}})}const p=r.forwardRef(f)},1312:(e,t,n)=>{"use strict";n.d(t,{A:()=>c,T:()=>l});var r=n(6540),a=n(4848);function o(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e}));return n.some((e=>(0,r.isValidElement)(e)))?n.map(((e,t)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e)).filter((e=>""!==e)):n.join("")}var i=n(2654);function s(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[t??n]??n??t}function l(e,t){let{message:n,id:r}=e;return o(s({message:n,id:r}),t)}function c(e){let{children:t,id:n,values:r}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal <Translate> children",t),new Error("The Docusaurus <Translate> component only accept simple string values");const i=s({message:t,id:n});return(0,a.jsx)(a.Fragment,{children:o(i,r)})}},7065:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});const r="default"},6654:(e,t,n)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function a(e){return void 0!==e&&!r(e)}n.d(t,{A:()=>a,z:()=>r})},6025:(e,t,n)=>{"use strict";n.d(t,{A:()=>s,h:()=>i});var r=n(6540),a=n(4586),o=n(6654);function i(){const{siteConfig:{baseUrl:e,url:t}}=(0,a.default)(),n=(0,r.useCallback)(((n,r)=>function(e,t,n,r){let{forcePrependBaseUrl:a=!1,absolute:i=!1}=void 0===r?{}:r;if(!n||n.startsWith("#")||(0,o.z)(n))return n;if(a)return t+n.replace(/^\//,"");if(n===t.replace(/\/$/,""))return t;const s=n.startsWith(t)?n:t+n.replace(/^\//,"");return i?e+s:s}(t,e,n,r)),[t,e]);return{withBaseUrl:n}}function s(e,t){void 0===t&&(t={});const{withBaseUrl:n}=i();return n(e,t)}},3427:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(6540);n(4848);const a=r.createContext({collectAnchor:()=>{},collectLink:()=>{}}),o=()=>(0,r.useContext)(a);function i(){return o()}},4586:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(6540),a=n(6988);function o(){return(0,r.useContext)(a.o)}},2303:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6540),a=n(6125);function o(){return(0,r.useContext)(a.o)}},205:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(6540);const a=n(8193).A.canUseDOM?r.useLayoutEffect:r.useEffect},6921:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});const r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function a(e){const t={};return function e(n,a){Object.entries(n).forEach((n=>{let[o,i]=n;const s=a?`${a}.${o}`:o;r(i)?e(i,s):t[s]=i}))}(e),t}},3102:(e,t,n)=>{"use strict";n.d(t,{W:()=>i,o:()=>o});var r=n(6540),a=n(4848);const o=r.createContext(null);function i(e){let{children:t,value:n}=e;const i=r.useContext(o),s=(0,r.useMemo)((()=>function(e){let{parent:t,value:n}=e;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}const r={...t.data,...n?.data};return{plugin:t.plugin,data:r}}({parent:i,value:n})),[i,n]);return(0,a.jsx)(o.Provider,{value:s,children:t})}},4070:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useActiveDocContext:()=>y,useActivePlugin:()=>p,useActivePluginAndVersion:()=>h,useActiveVersion:()=>b,useAllDocsData:()=>d,useDocVersionSuggestions:()=>v,useDocsData:()=>f,useLatestVersion:()=>m,useVersions:()=>g});var r=n(6347),a=n(4586),o=n(7065);function i(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,a.default)();return e}()[e];if(!n&&t.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}const s=e=>e.versions.find((e=>e.isLast));function l(e,t){const n=s(e);return[...e.versions.filter((e=>e!==n)),n].find((e=>!!(0,r.B6)(t,{path:e.path,exact:!1,strict:!1})))}function c(e,t){const n=l(e,t),a=n?.docs.find((e=>!!(0,r.B6)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:a,alternateDocVersions:a?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(a.id):{}}}const u={},d=()=>i("docusaurus-plugin-content-docs")??u,f=e=>function(e,t,n){void 0===t&&(t=o.W),void 0===n&&(n={});const r=i(e),a=r?.[t];if(!a&&n.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return a}("docusaurus-plugin-content-docs",e,{failfast:!0});function p(e){void 0===e&&(e={});const t=d(),{pathname:n}=(0,r.zy)();return function(e,t,n){void 0===n&&(n={});const a=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.B6)(t,{path:n.path,exact:!1,strict:!1})})),o=a?{pluginId:a[0],pluginData:a[1]}:void 0;if(!o&&n.failfast)throw new Error(`Can't find active docs plugin for "${t}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map((e=>e.path)).join(", ")}`);return o}(t,n,e)}function h(e){void 0===e&&(e={});const t=p(e),{pathname:n}=(0,r.zy)();if(!t)return;return{activePlugin:t,activeVersion:l(t.pluginData,n)}}function g(e){return f(e).versions}function m(e){const t=f(e);return s(t)}function b(e){const t=f(e),{pathname:n}=(0,r.zy)();return l(t,n)}function y(e){const t=f(e),{pathname:n}=(0,r.zy)();return c(t,n)}function v(e){const t=f(e),{pathname:n}=(0,r.zy)();return function(e,t){const n=s(e);return{latestDocSuggestion:c(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},6294:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(5947),a=n.n(r);a().configure({showSpinner:!1});const o={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){const e=window.setTimeout((()=>{a().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){a().done()}}},6134:(e,t,n)=>{"use strict";n.r(t);var r=n(1765),a=n(4784);!function(e){const{themeConfig:{prism:t}}=a.default,{additionalLanguages:r}=t;globalThis.Prism=e,r.forEach((e=>{"php"===e&&n(9700),n(9874)(`./prism-${e}`)})),delete globalThis.Prism}(r.My)},1107:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});n(6540);var r=n(4164),a=n(1312),o=n(6342),i=n(8774),s=n(3427);const l={anchorWithStickyNavbar:"anchorWithStickyNavbar_LWe7",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_WYt5"};var c=n(4848);function u(e){let{as:t,id:n,...u}=e;const d=(0,s.default)(),{navbar:{hideOnScroll:f}}=(0,o.p)();if("h1"===t||!n)return(0,c.jsx)(t,{...u,id:void 0});d.collectAnchor(n);const p=(0,a.T)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof u.children?u.children:n});return(0,c.jsxs)(t,{...u,className:(0,r.A)("anchor",f?l.anchorWithHideOnScrollNavbar:l.anchorWithStickyNavbar,u.className),id:n,children:[u.children,(0,c.jsx)(i.default,{className:"hash-link",to:`#${n}`,"aria-label":p,title:p,children:"\u200b"})]})}},3186:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(6540);const r={iconExternalLink:"iconExternalLink_nPIU"};var a=n(4848);function o(e){let{width:t=13.5,height:n=13.5}=e;return(0,a.jsx)("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:r.iconExternalLink,children:(0,a.jsx)("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"})})}},7747:(e,t,n)=>{"use strict";n.d(t,{A:()=>_t});var r=n(6540),a=n(4164),o=n(7489),i=n(9024),s=n(5236),l=n(7559),c=n(4090);const u={skipToContent:"skipToContent_fXgn"};var d=n(4848);function f(){return(0,d.jsx)(s.K,{className:u.skipToContent})}var p=n(6342),h=n(5041),g=n(1312);function m(e){let{width:t=21,height:n=21,color:r="currentColor",strokeWidth:a=1.2,className:o,...i}=e;return(0,d.jsx)("svg",{viewBox:"0 0 15 15",width:t,height:n,...i,children:(0,d.jsx)("g",{stroke:r,strokeWidth:a,children:(0,d.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}const b={closeButton:"closeButton_CVFx"};function y(e){return(0,d.jsx)("button",{type:"button","aria-label":(0,g.T)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,a.A)("clean-btn close",b.closeButton,e.className),children:(0,d.jsx)(m,{width:14,height:14,strokeWidth:3.1})})}const v={content:"content_knG7"};function x(e){const{announcementBar:t}=(0,p.p)(),{content:n}=t;return(0,d.jsx)("div",{...e,className:(0,a.A)(v.content,e.className),dangerouslySetInnerHTML:{__html:n}})}const w={announcementBar:"announcementBar_mb4j",announcementBarPlaceholder:"announcementBarPlaceholder_vyr4",announcementBarClose:"announcementBarClose_gvF7",announcementBarContent:"announcementBarContent_xLdY"};function k(){const{announcementBar:e}=(0,p.p)(),{isActive:t,close:n}=(0,h.Mj)();if(!t)return null;const{backgroundColor:r,textColor:a,isCloseable:o}=e;return(0,d.jsxs)("div",{className:w.announcementBar,style:{backgroundColor:r,color:a},role:"banner",children:[o&&(0,d.jsx)("div",{className:w.announcementBarPlaceholder}),(0,d.jsx)(x,{className:w.announcementBarContent}),o&&(0,d.jsx)(y,{onClick:n,className:w.announcementBarClose})]})}var S=n(2069),_=n(1182),E=n(3458),C=n(8695);function T(e){let{header:t,primaryMenu:n,secondaryMenu:r}=e;const{shown:o}=(0,C.T)();return(0,d.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,d.jsxs)("div",{className:(0,a.A)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":o}),children:[(0,d.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,d.jsx)("div",{className:"navbar-sidebar__item menu",children:r})]})]})}var A=n(5293),P=n(2303);function N(e){return(0,d.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,d.jsx)("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"})})}function j(e){return(0,d.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,d.jsx)("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"})})}const R={toggle:"toggle_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"};function L(e){let{className:t,buttonClassName:n,value:r,onChange:o}=e;const i=(0,P.A)(),s=(0,g.T)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===r?(0,g.T)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,g.T)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,d.jsx)("div",{className:(0,a.A)(R.toggle,t),children:(0,d.jsxs)("button",{className:(0,a.A)("clean-btn",R.toggleButton,!i&&R.toggleButtonDisabled,n),type:"button",onClick:()=>o("dark"===r?"light":"dark"),disabled:!i,title:s,"aria-label":s,"aria-live":"polite",children:[(0,d.jsx)(N,{className:(0,a.A)(R.toggleIcon,R.lightToggleIcon)}),(0,d.jsx)(j,{className:(0,a.A)(R.toggleIcon,R.darkToggleIcon)})]})})}const O=r.memo(L),M={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_X3D1"};function I(e){let{className:t}=e;const n=(0,p.p)().navbar.style,r=(0,p.p)().colorMode.disableSwitch,{colorMode:a,setColorMode:o}=(0,A.G)();return r?null:(0,d.jsx)(O,{className:t,buttonClassName:"dark"===n?M.darkNavbarColorModeToggle:void 0,value:a,onChange:o})}var D=n(3465);function F(){return(0,d.jsx)(D.A,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function B(){const e=(0,S.M)();return(0,d.jsx)("button",{type:"button","aria-label":(0,g.T)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle(),children:(0,d.jsx)(m,{color:"var(--ifm-color-emphasis-600)"})})}function z(){return(0,d.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,d.jsx)(F,{}),(0,d.jsx)(I,{className:"margin-right--md"}),(0,d.jsx)(B,{})]})}var q=n(8774),$=n(6025),U=n(6654),W=n(1252),H=n(3186);function V(e){let{activeBasePath:t,activeBaseRegex:n,to:r,href:a,label:o,html:i,isDropdownLink:s,prependBaseUrlToHref:l,...c}=e;const u=(0,$.A)(r),f=(0,$.A)(t),p=(0,$.A)(a,{forcePrependBaseUrl:!0}),h=o&&a&&!(0,U.A)(a),g=i?{dangerouslySetInnerHTML:{__html:i}}:{children:(0,d.jsxs)(d.Fragment,{children:[o,h&&(0,d.jsx)(H.A,{...s&&{width:12,height:12}})]})};return a?(0,d.jsx)(q.default,{href:l?p:a,...c,...g}):(0,d.jsx)(q.default,{to:u,isNavLink:!0,...(t||n)&&{isActive:(e,t)=>n?(0,W.G)(n,t.pathname):t.pathname.startsWith(f)},...c,...g})}function G(e){let{className:t,isDropdownItem:n=!1,...r}=e;const o=(0,d.jsx)(V,{className:(0,a.A)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n,...r});return n?(0,d.jsx)("li",{children:o}):o}function Q(e){let{className:t,isDropdownItem:n,...r}=e;return(0,d.jsx)("li",{className:"menu__list-item",children:(0,d.jsx)(V,{className:(0,a.A)("menu__link",t),...r})})}function K(e){let{mobile:t=!1,position:n,...r}=e;const a=t?Q:G;return(0,d.jsx)(a,{...r,activeClassName:r.activeClassName??(t?"menu__link--active":"navbar__link--active")})}var Y=n(1422),Z=n(9169),X=n(9342);const J={dropdownNavbarItemMobile:"dropdownNavbarItemMobile_S0Fm"};function ee(e,t){return e.some((e=>function(e,t){return!!(0,Z.ys)(e.to,t)||!!(0,W.G)(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function te(e){let{items:t,position:n,className:o,onClick:i,...s}=e;const l=(0,r.useRef)(null),[c,u]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{l.current&&!l.current.contains(e.target)&&u(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}}),[l]),(0,d.jsxs)("div",{ref:l,className:(0,a.A)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":c}),children:[(0,d.jsx)(V,{"aria-haspopup":"true","aria-expanded":c,role:"button",href:s.to?void 0:"#",className:(0,a.A)("navbar__link",o),...s,onClick:s.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),u(!c))},children:s.children??s.label}),(0,d.jsx)("ul",{className:"dropdown__menu",children:t.map(((e,t)=>(0,r.createElement)(De,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:t})))})]})}function ne(e){let{items:t,className:n,position:o,onClick:i,...s}=e;const l=(0,X.B)(),c=ee(t,l),{collapsed:u,toggleCollapsed:f,setCollapsed:p}=(0,Y.u)({initialState:()=>!c});return(0,r.useEffect)((()=>{c&&p(!c)}),[l,c,p]),(0,d.jsxs)("li",{className:(0,a.A)("menu__list-item",{"menu__list-item--collapsed":u}),children:[(0,d.jsx)(V,{role:"button",className:(0,a.A)(J.dropdownNavbarItemMobile,"menu__link menu__link--sublist menu__link--sublist-caret",n),...s,onClick:e=>{e.preventDefault(),f()},children:s.children??s.label}),(0,d.jsx)(Y.N,{lazy:!0,as:"ul",className:"menu__list",collapsed:u,children:t.map(((e,t)=>(0,r.createElement)(De,{mobile:!0,isDropdownItem:!0,onClick:i,activeClassName:"menu__link--active",...e,key:t})))})]})}function re(e){let{mobile:t=!1,...n}=e;const r=t?ne:te;return(0,d.jsx)(r,{...n})}var ae=n(4586),oe=n(2131),ie=n(6347);function se(e){let{width:t=20,height:n=20,...r}=e;return(0,d.jsx)("svg",{viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0,...r,children:(0,d.jsx)("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"})})}const le="iconLanguage_nlXk";var ce=n(961);function ue(){return r.createElement("svg",{width:"15",height:"15",className:"DocSearch-Control-Key-Icon"},r.createElement("path",{d:"M4.505 4.496h2M5.505 5.496v5M8.216 4.496l.055 5.993M10 7.5c.333.333.5.667.5 1v2M12.326 4.5v5.996M8.384 4.496c1.674 0 2.116 0 2.116 1.5s-.442 1.5-2.116 1.5M3.205 9.303c-.09.448-.277 1.21-1.241 1.203C1 10.5.5 9.513.5 8V7c0-1.57.5-2.5 1.464-2.494.964.006 1.134.598 1.24 1.342M12.553 10.5h1.953",strokeWidth:"1.2",stroke:"currentColor",fill:"none",strokeLinecap:"square"}))}var de=n(9188),fe=["translations"];function pe(){return pe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pe.apply(this,arguments)}function he(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(l){s=!0,a=l}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ge(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ge(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ge(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function me(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var be="Ctrl";var ye=r.forwardRef((function(e,t){var n=e.translations,a=void 0===n?{}:n,o=me(e,fe),i=a.buttonText,s=void 0===i?"Search":i,l=a.buttonAriaLabel,c=void 0===l?"Search":l,u=he((0,r.useState)(null),2),d=u[0],f=u[1];return(0,r.useEffect)((function(){"undefined"!=typeof navigator&&(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?f("\u2318"):f(be))}),[]),r.createElement("button",pe({type:"button",className:"DocSearch DocSearch-Button","aria-label":c},o,{ref:t}),r.createElement("span",{className:"DocSearch-Button-Container"},r.createElement(de.W,null),r.createElement("span",{className:"DocSearch-Button-Placeholder"},s)),r.createElement("span",{className:"DocSearch-Button-Keys"},null!==d&&r.createElement(r.Fragment,null,r.createElement(ve,{reactsToKey:d===be?be:"Meta"},d===be?r.createElement(ue,null):d),r.createElement(ve,{reactsToKey:"k"},"K"))))}));function ve(e){var t=e.reactsToKey,n=e.children,a=he((0,r.useState)(!1),2),o=a[0],i=a[1];return(0,r.useEffect)((function(){if(t)return window.addEventListener("keydown",e),window.addEventListener("keyup",n),function(){window.removeEventListener("keydown",e),window.removeEventListener("keyup",n)};function e(e){e.key===t&&i(!0)}function n(e){e.key!==t&&"Meta"!==e.key||i(!1)}}),[t]),r.createElement("kbd",{className:o?"DocSearch-Button-Key DocSearch-Button-Key--pressed":"DocSearch-Button-Key"},n)}var xe=n(5260),we=n(4255),ke=n(1062),Se=n(2967);const _e={button:{buttonText:(0,g.T)({id:"theme.SearchBar.label",message:"Search",description:"The ARIA label and placeholder for search button"}),buttonAriaLabel:(0,g.T)({id:"theme.SearchBar.label",message:"Search",description:"The ARIA label and placeholder for search button"})},modal:{searchBox:{resetButtonTitle:(0,g.T)({id:"theme.SearchModal.searchBox.resetButtonTitle",message:"Clear the query",description:"The label and ARIA label for search box reset button"}),resetButtonAriaLabel:(0,g.T)({id:"theme.SearchModal.searchBox.resetButtonTitle",message:"Clear the query",description:"The label and ARIA label for search box reset button"}),cancelButtonText:(0,g.T)({id:"theme.SearchModal.searchBox.cancelButtonText",message:"Cancel",description:"The label and ARIA label for search box cancel button"}),cancelButtonAriaLabel:(0,g.T)({id:"theme.SearchModal.searchBox.cancelButtonText",message:"Cancel",description:"The label and ARIA label for search box cancel button"})},startScreen:{recentSearchesTitle:(0,g.T)({id:"theme.SearchModal.startScreen.recentSearchesTitle",message:"Recent",description:"The title for recent searches"}),noRecentSearchesText:(0,g.T)({id:"theme.SearchModal.startScreen.noRecentSearchesText",message:"No recent searches",description:"The text when no recent searches"}),saveRecentSearchButtonTitle:(0,g.T)({id:"theme.SearchModal.startScreen.saveRecentSearchButtonTitle",message:"Save this search",description:"The label for save recent search button"}),removeRecentSearchButtonTitle:(0,g.T)({id:"theme.SearchModal.startScreen.removeRecentSearchButtonTitle",message:"Remove this search from history",description:"The label for remove recent search button"}),favoriteSearchesTitle:(0,g.T)({id:"theme.SearchModal.startScreen.favoriteSearchesTitle",message:"Favorite",description:"The title for favorite searches"}),removeFavoriteSearchButtonTitle:(0,g.T)({id:"theme.SearchModal.startScreen.removeFavoriteSearchButtonTitle",message:"Remove this search from favorites",description:"The label for remove favorite search button"})},errorScreen:{titleText:(0,g.T)({id:"theme.SearchModal.errorScreen.titleText",message:"Unable to fetch results",description:"The title for error screen of search modal"}),helpText:(0,g.T)({id:"theme.SearchModal.errorScreen.helpText",message:"You might want to check your network connection.",description:"The help text for error screen of search modal"})},footer:{selectText:(0,g.T)({id:"theme.SearchModal.footer.selectText",message:"to select",description:"The explanatory text of the action for the enter key"}),selectKeyAriaLabel:(0,g.T)({id:"theme.SearchModal.footer.selectKeyAriaLabel",message:"Enter key",description:"The ARIA label for the Enter key button that makes the selection"}),navigateText:(0,g.T)({id:"theme.SearchModal.footer.navigateText",message:"to navigate",description:"The explanatory text of the action for the Arrow up and Arrow down key"}),navigateUpKeyAriaLabel:(0,g.T)({id:"theme.SearchModal.footer.navigateUpKeyAriaLabel",message:"Arrow up",description:"The ARIA label for the Arrow up key button that makes the navigation"}),navigateDownKeyAriaLabel:(0,g.T)({id:"theme.SearchModal.footer.navigateDownKeyAriaLabel",message:"Arrow down",description:"The ARIA label for the Arrow down key button that makes the navigation"}),closeText:(0,g.T)({id:"theme.SearchModal.footer.closeText",message:"to close",description:"The explanatory text of the action for Escape key"}),closeKeyAriaLabel:(0,g.T)({id:"theme.SearchModal.footer.closeKeyAriaLabel",message:"Escape key",description:"The ARIA label for the Escape key button that close the modal"}),searchByText:(0,g.T)({id:"theme.SearchModal.footer.searchByText",message:"Search by",description:"The text explain that the search is making by Algolia"})},noResultsScreen:{noResultsText:(0,g.T)({id:"theme.SearchModal.noResultsScreen.noResultsText",message:"No results for",description:"The text explains that there are no results for the following search"}),suggestedQueryText:(0,g.T)({id:"theme.SearchModal.noResultsScreen.suggestedQueryText",message:"Try searching for",description:"The text for the suggested query when no results are found for the following search"}),reportMissingResultsText:(0,g.T)({id:"theme.SearchModal.noResultsScreen.reportMissingResultsText",message:"Believe this query should return results?",description:"The text for the question where the user thinks there are missing results"}),reportMissingResultsLinkText:(0,g.T)({id:"theme.SearchModal.noResultsScreen.reportMissingResultsLinkText",message:"Let us know.",description:"The text for the link to report missing results"})}},placeholder:(0,g.T)({id:"theme.SearchModal.placeholder",message:"Search docs",description:"The placeholder of the input of the DocSearch pop-up modal"})};let Ee=null;function Ce(e){let{hit:t,children:n}=e;return(0,d.jsx)(q.default,{to:t.url,children:n})}function Te(e){let{state:t,onClose:n}=e;const r=(0,we.w)();return(0,d.jsx)(q.default,{to:r(t.query),onClick:n,children:(0,d.jsx)(g.A,{id:"theme.SearchBar.seeAll",values:{count:t.context.nbHits},children:"See all {count} results"})})}function Ae(e){let{contextualSearch:t,externalUrlRegex:a,...o}=e;const{siteMetadata:i}=(0,ae.default)(),s=(0,ke.C)(),l=function(){const{locale:e,tags:t}=(0,Se.af)();return[`language:${e}`,t.map((e=>`docusaurus_tag:${e}`))]}(),c=o.searchParameters?.facetFilters??[],u=t?function(e,t){const n=e=>"string"==typeof e?[e]:e;return[...n(e),...n(t)]}(l,c):c,f={...o.searchParameters,facetFilters:u},p=(0,ie.W6)(),h=(0,r.useRef)(null),g=(0,r.useRef)(null),[m,b]=(0,r.useState)(!1),[y,v]=(0,r.useState)(void 0),x=(0,r.useCallback)((()=>Ee?Promise.resolve():Promise.all([n.e(9462).then(n.bind(n,9462)),Promise.all([n.e(1869),n.e(8913)]).then(n.bind(n,8913)),Promise.all([n.e(1869),n.e(416)]).then(n.bind(n,416))]).then((e=>{let[{DocSearchModal:t}]=e;Ee=t}))),[]),w=(0,r.useCallback)((()=>{x().then((()=>{h.current=document.createElement("div"),document.body.insertBefore(h.current,document.body.firstChild),b(!0)}))}),[x,b]),k=(0,r.useCallback)((()=>{b(!1),h.current?.remove()}),[b]),S=(0,r.useCallback)((e=>{x().then((()=>{b(!0),v(e.key)}))}),[x,b,v]),_=(0,r.useRef)({navigate(e){let{itemUrl:t}=e;(0,W.G)(a,t)?window.location.href=t:p.push(t)}}).current,E=(0,r.useRef)((e=>o.transformItems?o.transformItems(e):e.map((e=>({...e,url:s(e.url)}))))).current,C=(0,r.useMemo)((()=>e=>(0,d.jsx)(Te,{...e,onClose:k})),[k]),T=(0,r.useCallback)((e=>(e.addAlgoliaAgent("docusaurus",i.docusaurusVersion),e)),[i.docusaurusVersion]);return function(e){var t=e.isOpen,n=e.onOpen,a=e.onClose,o=e.onInput,i=e.searchButtonRef;r.useEffect((function(){function e(e){var r;(27===e.keyCode&&t||"k"===(null===(r=e.key)||void 0===r?void 0:r.toLowerCase())&&(e.metaKey||e.ctrlKey)||!function(e){var t=e.target,n=t.tagName;return t.isContentEditable||"INPUT"===n||"SELECT"===n||"TEXTAREA"===n}(e)&&"/"===e.key&&!t)&&(e.preventDefault(),t?a():document.body.classList.contains("DocSearch--active")||document.body.classList.contains("DocSearch--active")||n()),i&&i.current===document.activeElement&&o&&/[a-zA-Z0-9]/.test(String.fromCharCode(e.keyCode))&&o(e)}return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[t,n,a,o,i])}({isOpen:m,onOpen:w,onClose:k,onInput:S,searchButtonRef:g}),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(xe.A,{children:(0,d.jsx)("link",{rel:"preconnect",href:`https://${o.appId}-dsn.algolia.net`,crossOrigin:"anonymous"})}),(0,d.jsx)(ye,{onTouchStart:x,onFocus:x,onMouseOver:x,onClick:w,ref:g,translations:_e.button}),m&&Ee&&h.current&&(0,ce.createPortal)((0,d.jsx)(Ee,{onClose:k,initialScrollY:window.scrollY,initialQuery:y,navigator:_,transformItems:E,hitComponent:Ce,transformSearchClient:T,...o.searchPagePath&&{resultsFooterComponent:C},...o,searchParameters:f,placeholder:_e.placeholder,translations:_e.modal}),h.current)]})}function Pe(){const{siteConfig:e}=(0,ae.default)();return(0,d.jsx)(Ae,{...e.themeConfig.algolia})}const Ne={navbarSearchContainer:"navbarSearchContainer_Bca1"};function je(e){let{children:t,className:n}=e;return(0,d.jsx)("div",{className:(0,a.A)(n,Ne.navbarSearchContainer),children:t})}var Re=n(4070),Le=n(4142);var Oe=n(5597);const Me=e=>e.docs.find((t=>t.id===e.mainDocId));const Ie={default:K,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:r,queryString:a="",...o}=e;const{i18n:{currentLocale:i,locales:s,localeConfigs:l}}=(0,ae.default)(),c=(0,oe.o)(),{search:u,hash:f}=(0,ie.zy)(),p=[...n,...s.map((e=>{const n=`${`pathname://${c.createUrl({locale:e,fullyQualified:!1})}`}${u}${f}${a}`;return{label:l[e].label,lang:l[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===i?t?"menu__link--active":"dropdown__link--active":""}})),...r],h=t?(0,g.T)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):l[i].label;return(0,d.jsx)(re,{...o,mobile:t,label:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(se,{className:le}),h]}),items:p})},search:function(e){let{mobile:t,className:n}=e;return t?null:(0,d.jsx)(je,{className:n,children:(0,d.jsx)(Pe,{})})},dropdown:re,html:function(e){let{value:t,className:n,mobile:r=!1,isDropdownItem:o=!1}=e;const i=o?"li":"div";return(0,d.jsx)(i,{className:(0,a.A)({navbar__item:!r&&!o,"menu__list-item":r},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:r,...a}=e;const{activeDoc:o}=(0,Re.useActiveDocContext)(r),i=(0,Le.QB)(t,r),s=o?.path===i?.path;return null===i||i.unlisted&&!s?null:(0,d.jsx)(K,{exact:!0,...a,isActive:()=>s||!!o?.sidebar&&o.sidebar===i.sidebar,label:n??i.id,to:i.path})},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:r,...a}=e;const{activeDoc:o}=(0,Re.useActiveDocContext)(r),i=(0,Le.fW)(t,r).link;if(!i)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return(0,d.jsx)(K,{exact:!0,...a,isActive:()=>o?.sidebar===t,label:n??i.label,to:i.path})},docsVersion:function(e){let{label:t,to:n,docsPluginId:r,...a}=e;const o=(0,Le.Vd)(r)[0],i=t??o.label,s=n??(e=>e.docs.find((t=>t.id===e.mainDocId)))(o).path;return(0,d.jsx)(K,{...a,label:i,to:s})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:r,dropdownItemsBefore:a,dropdownItemsAfter:o,...i}=e;const{search:s,hash:l}=(0,ie.zy)(),c=(0,Re.useActiveDocContext)(n),u=(0,Re.useVersions)(n),{savePreferredVersionName:f}=(0,Oe.g1)(n),p=[...a,...u.map((e=>{const t=c.alternateDocVersions[e.name]??Me(e);return{label:e.label,to:`${t.path}${s}${l}`,isActive:()=>e===c.activeVersion,onClick:()=>f(e.name)}})),...o],h=(0,Le.Vd)(n)[0],m=t&&p.length>1?(0,g.T)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):h.label,b=t&&p.length>1?void 0:Me(h).path;return p.length<=1?(0,d.jsx)(K,{...i,mobile:t,label:m,to:b,isActive:r?()=>!1:void 0}):(0,d.jsx)(re,{...i,mobile:t,label:m,to:b,items:p,isActive:r?()=>!1:void 0})}};function De(e){let{type:t,...n}=e;const r=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),a=Ie[r];if(!a)throw new Error(`No NavbarItem component found for type "${t}".`);return(0,d.jsx)(a,{...n})}function Fe(){const e=(0,S.M)(),t=(0,p.p)().navbar.items;return(0,d.jsx)("ul",{className:"menu__list",children:t.map(((t,n)=>(0,r.createElement)(De,{mobile:!0,...t,onClick:()=>e.toggle(),key:n})))})}function Be(e){return(0,d.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,d.jsx)(g.A,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)",children:"\u2190 Back to main menu"})})}function ze(){const e=0===(0,p.p)().navbar.items.length,t=(0,C.T)();return(0,d.jsxs)(d.Fragment,{children:[!e&&(0,d.jsx)(Be,{onClick:()=>t.hide()}),t.content]})}function qe(){const e=(0,S.M)();return(0,E._)(e.shown),e.shouldRender?(0,d.jsx)(T,{header:(0,d.jsx)(z,{}),primaryMenu:(0,d.jsx)(Fe,{}),secondaryMenu:(0,d.jsx)(ze,{})}):null}const $e={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function Ue(e){return(0,d.jsx)("div",{role:"presentation",...e,className:(0,a.A)("navbar-sidebar__backdrop",e.className)})}function We(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:r}}=(0,p.p)(),o=(0,S.M)(),{navbarRef:i,isNavbarVisible:s}=(0,_.S)(n);return(0,d.jsxs)("nav",{ref:i,"aria-label":(0,g.T)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,a.A)("navbar","navbar--fixed-top",n&&[$e.navbarHideable,!s&&$e.navbarHidden],{"navbar--dark":"dark"===r,"navbar--primary":"primary"===r,"navbar-sidebar--show":o.shown}),children:[t,(0,d.jsx)(Ue,{onClick:o.toggle}),(0,d.jsx)(qe,{})]})}var He=n(2181),Ve=n(6305);function Ge(e){let{width:t=30,height:n=30,className:r,...a}=e;return(0,d.jsx)("svg",{className:r,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...a,children:(0,d.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function Qe(){const{toggle:e,shown:t}=(0,S.M)();return(0,d.jsx)("button",{onClick:e,"aria-label":(0,g.T)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button",children:(0,d.jsx)(Ge,{})})}const Ke={colorModeToggle:"colorModeToggle_DEke"};function Ye(e){let{items:t}=e;return(0,d.jsx)(d.Fragment,{children:t.map(((e,t)=>(0,d.jsx)(He.k2,{onError:t=>new Error(`A theme navbar item failed to render.\nPlease double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:\n${JSON.stringify(e,null,2)}`,{cause:t}),children:(0,d.jsx)(De,{...e})},t)))})}function Ze(e){let{left:t,right:n}=e;return(0,d.jsxs)("div",{className:"navbar__inner",children:[(0,d.jsx)("div",{className:"navbar__items",children:t}),(0,d.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function Xe(){const e=(0,S.M)(),t=(0,p.p)().navbar.items,[n,r]=(0,Ve.D)(t),a=t.find((e=>"search"===e.type));return(0,d.jsx)(Ze,{left:(0,d.jsxs)(d.Fragment,{children:[!e.disabled&&(0,d.jsx)(Qe,{}),(0,d.jsx)(F,{}),(0,d.jsx)(Ye,{items:n})]}),right:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(Ye,{items:r}),(0,d.jsx)(I,{className:Ke.colorModeToggle}),!a&&(0,d.jsx)(je,{children:(0,d.jsx)(Pe,{})})]})})}function Je(){return(0,d.jsx)(We,{children:(0,d.jsx)(Xe,{})})}var et=n(3106);function tt(e){let{item:t}=e;const{to:n,href:r,label:a,prependBaseUrlToHref:o,...i}=t,s=(0,$.A)(n),l=(0,$.A)(r,{forcePrependBaseUrl:!0});return(0,d.jsxs)(q.default,{className:"footer__link-item",...r?{href:o?l:r}:{to:s},...i,children:[a,r&&!(0,U.A)(r)&&(0,d.jsx)(H.A,{})]})}function nt(e){let{item:t}=e;return t.html?(0,d.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):(0,d.jsx)("li",{className:"footer__item",children:(0,d.jsx)(tt,{item:t})},t.href??t.to)}function rt(e){let{column:t}=e;return(0,d.jsxs)("div",{className:"col footer__col",children:[(0,d.jsx)("div",{className:"footer__title",children:t.title}),(0,d.jsx)("ul",{className:"footer__items clean-list",children:t.items.map(((e,t)=>(0,d.jsx)(nt,{item:e},t)))})]})}function at(e){let{columns:t}=e;return(0,d.jsx)("div",{className:"row footer__links",children:t.map(((e,t)=>(0,d.jsx)(rt,{column:e},t)))})}function ot(){return(0,d.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function it(e){let{item:t}=e;return t.html?(0,d.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,d.jsx)(tt,{item:t})}function st(e){let{links:t}=e;return(0,d.jsx)("div",{className:"footer__links text--center",children:(0,d.jsx)("div",{className:"footer__links",children:t.map(((e,n)=>(0,d.jsxs)(r.Fragment,{children:[(0,d.jsx)(it,{item:e}),t.length!==n+1&&(0,d.jsx)(ot,{})]},n)))})})}function lt(e){let{links:t}=e;return(0,et.C)(t)?(0,d.jsx)(at,{columns:t}):(0,d.jsx)(st,{links:t})}var ct=n(5626);const ut={footerLogoLink:"footerLogoLink_BH7S"};function dt(e){let{logo:t}=e;const{withBaseUrl:n}=(0,$.h)(),r={light:n(t.src),dark:n(t.srcDark??t.src)};return(0,d.jsx)(ct.A,{className:(0,a.A)("footer__logo",t.className),alt:t.alt,sources:r,width:t.width,height:t.height,style:t.style})}function ft(e){let{logo:t}=e;return t.href?(0,d.jsx)(q.default,{href:t.href,className:ut.footerLogoLink,target:t.target,children:(0,d.jsx)(dt,{logo:t})}):(0,d.jsx)(dt,{logo:t})}function pt(e){let{copyright:t}=e;return(0,d.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function ht(e){let{style:t,links:n,logo:r,copyright:o}=e;return(0,d.jsx)("footer",{className:(0,a.A)("footer",{"footer--dark":"dark"===t}),children:(0,d.jsxs)("div",{className:"container container-fluid",children:[n,(r||o)&&(0,d.jsxs)("div",{className:"footer__bottom text--center",children:[r&&(0,d.jsx)("div",{className:"margin-bottom--sm",children:r}),o]})]})})}function gt(){const{footer:e}=(0,p.p)();if(!e)return null;const{copyright:t,links:n,logo:r,style:a}=e;return(0,d.jsx)(ht,{style:a,links:n&&n.length>0&&(0,d.jsx)(lt,{links:n}),logo:r&&(0,d.jsx)(ft,{logo:r}),copyright:t&&(0,d.jsx)(pt,{copyright:t})})}const mt=r.memo(gt);var bt=n(9532),yt=n(3104);const vt=(0,bt.fM)([A.a,h.oq,yt.Tv,Oe.VQ,i.Jx,Ve.G]);function xt(e){let{children:t}=e;return(0,d.jsx)(vt,{children:t})}var wt=n(1107);function kt(e){let{error:t,tryAgain:n}=e;return(0,d.jsx)("main",{className:"container margin-vert--xl",children:(0,d.jsx)("div",{className:"row",children:(0,d.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,d.jsx)(wt.default,{as:"h1",className:"hero__title",children:(0,d.jsx)(g.A,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,d.jsx)("div",{className:"margin-vert--lg",children:(0,d.jsx)(He.a2,{onClick:n,className:"button button--primary shadow--lw"})}),(0,d.jsx)("hr",{}),(0,d.jsx)("div",{className:"margin-vert--md",children:(0,d.jsx)(He.bq,{error:t})})]})})})}const St={mainWrapper:"mainWrapper_z2l0"};function _t(e){const{children:t,noFooter:n,wrapperClassName:r,title:u,description:p}=e;return(0,c.J)(),(0,d.jsxs)(xt,{children:[(0,d.jsx)(i.be,{title:u,description:p}),(0,d.jsx)(f,{}),(0,d.jsx)(k,{}),(0,d.jsx)(Je,{}),(0,d.jsx)("div",{id:s.j,className:(0,a.A)(l.G.wrapper.main,St.mainWrapper,r),children:(0,d.jsx)(o.A,{fallback:e=>(0,d.jsx)(kt,{...e}),children:t})}),!n&&(0,d.jsx)(mt,{})]})}},3465:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});n(6540);var r=n(8774),a=n(6025),o=n(4586),i=n(6342),s=n(5626),l=n(4848);function c(e){let{logo:t,alt:n,imageClassName:r}=e;const o={light:(0,a.A)(t.src),dark:(0,a.A)(t.srcDark||t.src)},i=(0,l.jsx)(s.A,{className:t.className,sources:o,height:t.height,width:t.width,alt:n,style:t.style});return r?(0,l.jsx)("div",{className:r,children:i}):i}function u(e){const{siteConfig:{title:t}}=(0,o.default)(),{navbar:{title:n,logo:s}}=(0,i.p)(),{imageClassName:u,titleClassName:d,...f}=e,p=(0,a.A)(s?.href||"/"),h=n?"":t,g=s?.alt??h;return(0,l.jsxs)(r.default,{to:p,...f,...s?.target&&{target:s.target},children:[s&&(0,l.jsx)(c,{logo:s,alt:g,imageClassName:u}),null!=n&&(0,l.jsx)("b",{className:d,children:n})]})}},1463:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(6540);var r=n(5260),a=n(4848);function o(e){let{locale:t,version:n,tag:o}=e;const i=t;return(0,a.jsxs)(r.A,{children:[t&&(0,a.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,a.jsx)("meta",{name:"docusaurus_version",content:n}),o&&(0,a.jsx)("meta",{name:"docusaurus_tag",content:o}),i&&(0,a.jsx)("meta",{name:"docsearch:language",content:i}),n&&(0,a.jsx)("meta",{name:"docsearch:version",content:n}),o&&(0,a.jsx)("meta",{name:"docsearch:docusaurus_tag",content:o})]})}},5626:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(6540);var r=n(9967),a=n(4848);function o(e){const{sources:t,className:n,alt:o,...i}=e;return(0,a.jsx)(r.A,{className:n,children:e=>{let{theme:n,className:r}=e;return(0,a.jsx)("img",{src:t[n],alt:o,className:r,...i})}})}},1422:(e,t,n)=>{"use strict";n.d(t,{N:()=>b,u:()=>c});var r=n(6540),a=n(8193),o=n(205),i=n(3109),s=n(4848);const l="ease-in-out";function c(e){let{initialState:t}=e;const[n,a]=(0,r.useState)(t??!1),o=(0,r.useCallback)((()=>{a((e=>!e))}),[]);return{collapsed:n,setCollapsed:a,toggleCollapsed:o}}const u={display:"none",overflow:"hidden",height:"0px"},d={display:"block",overflow:"visible",height:"auto"};function f(e,t){const n=t?u:d;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function p(e){let{collapsibleRef:t,collapsed:n,animation:a}=e;const o=(0,r.useRef)(!1);(0,r.useEffect)((()=>{const e=t.current;function r(){const t=e.scrollHeight,n=a?.duration??function(e){if((0,i.O)())return 1;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}(t);return{transition:`height ${n}ms ${a?.easing??l}`,height:`${t}px`}}function s(){const t=r();e.style.transition=t.transition,e.style.height=t.height}if(!o.current)return f(e,n),void(o.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(s(),requestAnimationFrame((()=>{e.style.height=u.height,e.style.overflow=u.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{s()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,a])}function h(e){if(!a.A.canUseDOM)return e?u:d}function g(e){let{as:t="div",collapsed:n,children:a,animation:o,onCollapseTransitionEnd:i,className:l,disableSSRStyle:c}=e;const u=(0,r.useRef)(null);return p({collapsibleRef:u,collapsed:n,animation:o}),(0,s.jsx)(t,{ref:u,style:c?void 0:h(n),onTransitionEnd:e=>{"height"===e.propertyName&&(f(u.current,n),i?.(n))},className:l,children:a})}function m(e){let{collapsed:t,...n}=e;const[a,i]=(0,r.useState)(!t),[l,c]=(0,r.useState)(t);return(0,o.A)((()=>{t||i(!0)}),[t]),(0,o.A)((()=>{a&&c(t)}),[a,t]),a?(0,s.jsx)(g,{...n,collapsed:l}):null}function b(e){let{lazy:t,...n}=e;const r=t?m:g;return(0,s.jsx)(r,{...n})}},9967:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(6540),a=n(4164),o=n(2303),i=n(5293);const s={themedComponent:"themedComponent_mlkZ","themedComponent--light":"themedComponent--light_NVdE","themedComponent--dark":"themedComponent--dark_xIcU"};var l=n(4848);function c(e){let{className:t,children:n}=e;const c=(0,o.A)(),{colorMode:u}=(0,i.G)();return(0,l.jsx)(l.Fragment,{children:(c?"dark"===u?["dark"]:["light"]:["light","dark"]).map((e=>{const o=n({theme:e,className:(0,a.A)(t,s.themedComponent,s[`themedComponent--${e}`])});return(0,l.jsx)(r.Fragment,{children:o},e)}))})}},5041:(e,t,n)=>{"use strict";n.d(t,{Mj:()=>g,oq:()=>h});var r=n(6540),a=n(2303),o=n(9466),i=n(9532),s=n(6342),l=n(4848);const c=(0,o.Wf)("docusaurus.announcement.dismiss"),u=(0,o.Wf)("docusaurus.announcement.id"),d=()=>"true"===c.get(),f=e=>c.set(String(e)),p=r.createContext(null);function h(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,s.p)(),t=(0,a.A)(),[n,o]=(0,r.useState)((()=>!!t&&d()));(0,r.useEffect)((()=>{o(d())}),[]);const i=(0,r.useCallback)((()=>{f(!0),o(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=u.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;u.set(t),r&&f(!1),!r&&d()||o(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:i})),[e,n,i])}();return(0,l.jsx)(p.Provider,{value:n,children:t})}function g(){const e=(0,r.useContext)(p);if(!e)throw new i.dV("AnnouncementBarProvider");return e}},5293:(e,t,n)=>{"use strict";n.d(t,{G:()=>b,a:()=>m});var r=n(6540),a=n(8193),o=n(9532),i=n(9466),s=n(6342),l=n(4848);const c=r.createContext(void 0),u="theme",d=(0,i.Wf)(u),f={light:"light",dark:"dark"},p=e=>e===f.dark?f.dark:f.light,h=e=>a.A.canUseDOM?p(document.documentElement.getAttribute("data-theme")):p(e),g=e=>{d.set(p(e))};function m(e){let{children:t}=e;const n=function(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,s.p)(),[a,o]=(0,r.useState)(h(e));(0,r.useEffect)((()=>{t&&d.del()}),[t]);const i=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:a=!0}=r;t?(o(t),a&&g(t)):(o(n?window.matchMedia("(prefers-color-scheme: dark)").matches?f.dark:f.light:e),d.del())}),[n,e]);(0,r.useEffect)((()=>{document.documentElement.setAttribute("data-theme",p(a))}),[a]),(0,r.useEffect)((()=>{if(t)return;const e=e=>{if(e.key!==u)return;const t=d.get();null!==t&&i(p(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,i]);const l=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{if(t&&!n)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{window.matchMedia("print").matches||l.current?l.current=window.matchMedia("print").matches:i(null)};return e.addListener(r),()=>e.removeListener(r)}),[i,t,n]),(0,r.useMemo)((()=>({colorMode:a,setColorMode:i,get isDarkTheme(){return a===f.dark},setLightTheme(){i(f.light)},setDarkTheme(){i(f.dark)}})),[a,i])}();return(0,l.jsx)(c.Provider,{value:n,children:t})}function b(){const e=(0,r.useContext)(c);if(null==e)throw new o.dV("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},5597:(e,t,n)=>{"use strict";n.d(t,{VQ:()=>b,XK:()=>x,g1:()=>v});var r=n(6540),a=n(4070),o=n(7065),i=n(6342),s=n(4142),l=n(9532),c=n(9466),u=n(4848);const d=e=>`docs-preferred-version-${e}`,f={save:(e,t,n)=>{(0,c.Wf)(d(e),{persistence:t}).set(n)},read:(e,t)=>(0,c.Wf)(d(e),{persistence:t}).get(),clear:(e,t)=>{(0,c.Wf)(d(e),{persistence:t}).del()}},p=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const h=r.createContext(null);function g(){const e=(0,a.useAllDocsData)(),t=(0,i.p)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[o,s]=(0,r.useState)((()=>p(n)));(0,r.useEffect)((()=>{s(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;function a(e){const t=f.read(e,n);return r[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(f.clear(e,n),{preferredVersionName:null})}return Object.fromEntries(t.map((e=>[e,a(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[o,(0,r.useMemo)((()=>({savePreferredVersion:function(e,n){f.save(e,t,n),s((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function m(e){let{children:t}=e;const n=g();return(0,u.jsx)(h.Provider,{value:n,children:t})}function b(e){let{children:t}=e;return s.C5?(0,u.jsx)(m,{children:t}):(0,u.jsx)(u.Fragment,{children:t})}function y(){const e=(0,r.useContext)(h);if(!e)throw new l.dV("DocsPreferredVersionContextProvider");return e}function v(e){void 0===e&&(e=o.W);const t=(0,a.useDocsData)(e),[n,i]=y(),{preferredVersionName:s}=n[e];return{preferredVersion:t.versions.find((e=>e.name===s))??null,savePreferredVersionName:(0,r.useCallback)((t=>{i.savePreferredVersion(e,t)}),[i,e])}}function x(){const e=(0,a.useAllDocsData)(),[t]=y();function n(n){const r=e[n],{preferredVersionName:a}=t[n];return r.versions.find((e=>e.name===a))??null}const r=Object.keys(e);return Object.fromEntries(r.map((e=>[e,n(e)])))}},6588:(e,t,n)=>{"use strict";n.d(t,{V:()=>l,t:()=>c});var r=n(6540),a=n(9532),o=n(4848);const i=Symbol("EmptyContext"),s=r.createContext(i);function l(e){let{children:t,name:n,items:a}=e;const i=(0,r.useMemo)((()=>n&&a?{name:n,items:a}:null),[n,a]);return(0,o.jsx)(s.Provider,{value:i,children:t})}function c(){const e=(0,r.useContext)(s);if(e===i)throw new a.dV("DocsSidebarProvider");return e}},2252:(e,t,n)=>{"use strict";n.d(t,{n:()=>s,r:()=>l});var r=n(6540),a=n(9532),o=n(4848);const i=r.createContext(null);function s(e){let{children:t,version:n}=e;return(0,o.jsx)(i.Provider,{value:n,children:t})}function l(){const e=(0,r.useContext)(i);if(null===e)throw new a.dV("DocsVersionProvider");return e}},2069:(e,t,n)=>{"use strict";n.d(t,{M:()=>p,e:()=>f});var r=n(6540),a=n(5600),o=n(4581),i=n(7485),s=n(6342),l=n(9532),c=n(4848);const u=r.createContext(void 0);function d(){const e=function(){const e=(0,a.YL)(),{items:t}=(0,s.p)().navbar;return 0===t.length&&!e.component}(),t=(0,o.l)(),n=!e&&"mobile"===t,[l,c]=(0,r.useState)(!1);(0,i.$Z)((()=>{if(l)return c(!1),!1}));const u=(0,r.useCallback)((()=>{c((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&c(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:u,shown:l})),[e,n,u,l])}function f(e){let{children:t}=e;const n=d();return(0,c.jsx)(u.Provider,{value:n,children:t})}function p(){const e=r.useContext(u);if(void 0===e)throw new l.dV("NavbarMobileSidebarProvider");return e}},5600:(e,t,n)=>{"use strict";n.d(t,{GX:()=>c,YL:()=>l,y_:()=>s});var r=n(6540),a=n(9532),o=n(4848);const i=r.createContext(null);function s(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return(0,o.jsx)(i.Provider,{value:n,children:t})}function l(){const e=(0,r.useContext)(i);if(!e)throw new a.dV("NavbarSecondaryMenuContentProvider");return e[0]}function c(e){let{component:t,props:n}=e;const o=(0,r.useContext)(i);if(!o)throw new a.dV("NavbarSecondaryMenuContentProvider");const[,s]=o,l=(0,a.Be)(n);return(0,r.useEffect)((()=>{s({component:t,props:l})}),[s,t,l]),(0,r.useEffect)((()=>()=>s({component:null,props:null})),[s]),null}},8695:(e,t,n)=>{"use strict";n.d(t,{N:()=>c,T:()=>d});var r=n(6540),a=n(9532),o=n(2069),i=n(5600),s=n(4848);const l=r.createContext(null);function c(e){let{children:t}=e;const n=function(){const e=(0,o.M)(),t=(0,i.YL)(),[n,s]=(0,r.useState)(!1),l=null!==t.component,c=(0,a.ZC)(l);return(0,r.useEffect)((()=>{l&&!c&&s(!0)}),[l,c]),(0,r.useEffect)((()=>{l?e.shown||s(!0):s(!1)}),[e.shown,l]),(0,r.useMemo)((()=>[n,s]),[n])}();return(0,s.jsx)(l.Provider,{value:n,children:t})}function u(e){if(e.component){const t=e.component;return(0,s.jsx)(t,{...e.props})}}function d(){const e=(0,r.useContext)(l);if(!e)throw new a.dV("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,o=(0,r.useCallback)((()=>n(!1)),[n]),s=(0,i.YL)();return(0,r.useMemo)((()=>({shown:t,hide:o,content:u(s)})),[o,s,t])}},1182:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(6540),a=n(5062),o=n(3104);function i(e){const[t,n]=(0,r.useState)(e),i=(0,r.useRef)(!1),s=(0,r.useRef)(0),l=(0,r.useCallback)((e=>{null!==e&&(s.current=e.getBoundingClientRect().height)}),[]);return(0,o.Mq)(((t,r)=>{let{scrollY:a}=t;if(!e)return;if(a<s.current)return void n(!0);if(i.current)return void(i.current=!1);const o=r?.scrollY,l=document.documentElement.scrollHeight-s.current,c=window.innerHeight;o&&a>=o?n(!1):a+c<l&&n(!0)})),(0,a.$)((t=>{if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return i.current=!0,void n(!1);n(!0)})),{navbarRef:l,isNavbarVisible:t}}},4090:(e,t,n)=>{"use strict";n.d(t,{w:()=>a,J:()=>o});var r=n(6540);const a="navigation-with-keyboard";function o(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(a),"mousedown"===e.type&&document.body.classList.remove(a)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(a),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},3458:(e,t,n)=>{"use strict";n.d(t,{_:()=>a});var r=n(6540);function a(e){void 0===e&&(e=!0),(0,r.useEffect)((()=>(document.body.style.overflow=e?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[e])}},4255:(e,t,n)=>{"use strict";n.d(t,{b:()=>s,w:()=>l});var r=n(6540),a=n(4586),o=n(7485);const i="q";function s(){return(0,o.l)(i)}function l(){const{siteConfig:{baseUrl:e,themeConfig:t}}=(0,a.default)(),{algolia:{searchPagePath:n}}=t;return(0,r.useCallback)((t=>`${e}${n}?${i}=${encodeURIComponent(t)}`),[e,n])}},4581:(e,t,n)=>{"use strict";n.d(t,{l:()=>s});var r=n(6540),a=n(8193);const o={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function s(e){let{desktopBreakpoint:t=i}=void 0===e?{}:e;const[n,s]=(0,r.useState)((()=>"ssr"));return(0,r.useEffect)((()=>{function e(){s(function(e){if(!a.A.canUseDOM)throw new Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?o.desktop:o.mobile}(t))}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[t]),n}},7559:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});const r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",unlistedBanner:"theme-unlisted-banner",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{}}},3109:(e,t,n)=>{"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{O:()=>r})},4142:(e,t,n)=>{"use strict";n.d(t,{$S:()=>m,B5:()=>T,C5:()=>f,Nr:()=>g,OF:()=>S,QB:()=>C,Se:()=>x,Vd:()=>_,Y:()=>w,_j:()=>h,cC:()=>p,d1:()=>A,fW:()=>E,w8:()=>v});var r=n(6540),a=n(6347),o=n(2831),i=n(4070),s=n(5597),l=n(2252),c=n(6588),u=n(1682),d=n(9169);const f=!!i.useAllDocsData;function p(e){const t=(0,l.r)();if(!e)return;const n=t.docs[e];if(!n)throw new Error(`no version doc found by id=${e}`);return n}function h(e,t){for(const n of e)if("category"===n.type){if(t(n))return n;const e=h(n.items,t);if(e)return e}}function g(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(const t of e.items){const e=g(t);if(e)return e}}(e):void 0:e.href}function m(){const{pathname:e}=(0,a.zy)(),t=(0,c.t)();if(!t)throw new Error("Unexpected: cant find current sidebar in context");const n=k({sidebarItems:t.items,pathname:e,onlyCategories:!0}).slice(-1)[0];if(!n)throw new Error(`${e} is not associated with a category. useCurrentSidebarCategory() should only be used on category index pages.`);return n}const b=(e,t)=>void 0!==e&&(0,d.ys)(e,t),y=(e,t)=>e.some((e=>v(e,t)));function v(e,t){return"link"===e.type?b(e.href,t):"category"===e.type&&(b(e.href,t)||y(e.items,t))}function x(e,t){switch(e.type){case"category":return v(e,t)||e.items.some((e=>x(e,t)));case"link":return!e.unlisted||v(e,t);default:return!0}}function w(e,t){return(0,r.useMemo)((()=>e.filter((e=>x(e,t)))),[e,t])}function k(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e;const a=[];return function e(t){for(const o of t)if("category"===o.type&&((0,d.ys)(o.href,n)||e(o.items))||"link"===o.type&&(0,d.ys)(o.href,n)){return r&&"category"!==o.type||a.unshift(o),!0}return!1}(t),a}function S(){const e=(0,c.t)(),{pathname:t}=(0,a.zy)(),n=(0,i.useActivePlugin)()?.pluginData.breadcrumbs;return!1!==n&&e?k({sidebarItems:e.items,pathname:t}):null}function _(e){const{activeVersion:t}=(0,i.useActiveDocContext)(e),{preferredVersion:n}=(0,s.g1)(e),a=(0,i.useLatestVersion)(e);return(0,r.useMemo)((()=>(0,u.s)([t,n,a].filter(Boolean))),[t,n,a])}function E(e,t){const n=_(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=t.find((t=>t[0]===e));if(!r)throw new Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map((e=>e.name)).join(", ")}".\nAvailable sidebar ids are:\n- ${t.map((e=>e[0])).join("\n- ")}`);return r[1]}),[e,n])}function C(e,t){const n=_(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.docs)),r=t.find((t=>t.id===e));if(!r){if(n.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error(`Couldn't find any doc with id "${e}" in version${n.length>1?"s":""} "${n.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${(0,u.s)(t.map((e=>e.id))).join("\n- ")}`)}return r}),[e,n])}function T(e){let{route:t}=e;const n=(0,a.zy)(),r=(0,l.r)(),i=t.routes,s=i.find((e=>(0,a.B6)(n.pathname,e)));if(!s)return null;const c=s.sidebar,u=c?r.docsSidebars[c]:void 0;return{docElement:(0,o.v)(i),sidebarName:c,sidebarItems:u}}function A(e){return e.filter((e=>!("category"===e.type||"link"===e.type)||!!g(e)))}},2181:(e,t,n)=>{"use strict";n.d(t,{bq:()=>u,MN:()=>c,a2:()=>l,k2:()=>d});var r=n(6540),a=n(1312),o=n(440);const i={errorBoundaryError:"errorBoundaryError_a6uf",errorBoundaryFallback:"errorBoundaryFallback_VBag"};var s=n(4848);function l(e){return(0,s.jsx)("button",{type:"button",...e,children:(0,s.jsx)(a.A,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function c(e){let{error:t,tryAgain:n}=e;return(0,s.jsxs)("div",{className:i.errorBoundaryFallback,children:[(0,s.jsx)("p",{children:t.message}),(0,s.jsx)(l,{onClick:n})]})}function u(e){let{error:t}=e;const n=(0,o.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,s.jsx)("p",{className:i.errorBoundaryError,children:n})}class d extends r.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}},3106:(e,t,n)=>{"use strict";function r(e){return"title"in e[0]}n.d(t,{C:()=>r})},481:(e,t,n)=>{"use strict";n.d(t,{s:()=>a});var r=n(4586);function a(e){const{siteConfig:t}=(0,r.default)(),{title:n,titleDelimiter:a}=t;return e?.trim().length?`${e.trim()} ${a} ${n}`:n}},7485:(e,t,n)=>{"use strict";n.d(t,{$Z:()=>i,Hl:()=>s,aZ:()=>l,l:()=>c});var r=n(6540),a=n(6347),o=n(9532);function i(e){!function(e){const t=(0,a.W6)(),n=(0,o._q)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}function s(e){const t=(0,a.W6)();return(0,r.useSyncExternalStore)(t.listen,(()=>e(t)),(()=>e(t)))}function l(e){return s((t=>null===e?null:new URLSearchParams(t.location.search).get(e)))}function c(e){const t=l(e)??"",n=function(){const e=(0,a.W6)();return(0,r.useCallback)(((t,n,r)=>{const a=new URLSearchParams(e.location.search);n?a.set(t,n):a.delete(t),(r?.push?e.push:e.replace)({search:a.toString()})}),[e])}();return[t,(0,r.useCallback)(((t,r)=>{n(e,t,r)}),[n,e])]}},1682:(e,t,n)=>{"use strict";function r(e,t){return void 0===t&&(t=(e,t)=>e===t),e.filter(((n,r)=>e.findIndex((e=>t(e,n)))!==r))}function a(e){return Array.from(new Set(e))}n.d(t,{X:()=>r,s:()=>a})},9024:(e,t,n)=>{"use strict";n.d(t,{e3:()=>p,be:()=>d,Jx:()=>h});var r=n(6540),a=n(4164),o=n(5260),i=n(3102);function s(){const e=r.useContext(i.o);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var l=n(6025),c=n(481),u=n(4848);function d(e){let{title:t,description:n,keywords:r,image:a,children:i}=e;const s=(0,c.s)(t),{withBaseUrl:d}=(0,l.h)(),f=a?d(a,{absolute:!0}):void 0;return(0,u.jsxs)(o.A,{children:[t&&(0,u.jsx)("title",{children:s}),t&&(0,u.jsx)("meta",{property:"og:title",content:s}),n&&(0,u.jsx)("meta",{name:"description",content:n}),n&&(0,u.jsx)("meta",{property:"og:description",content:n}),r&&(0,u.jsx)("meta",{name:"keywords",content:Array.isArray(r)?r.join(","):r}),f&&(0,u.jsx)("meta",{property:"og:image",content:f}),f&&(0,u.jsx)("meta",{name:"twitter:image",content:f}),i]})}const f=r.createContext(void 0);function p(e){let{className:t,children:n}=e;const i=r.useContext(f),s=(0,a.A)(i,t);return(0,u.jsxs)(f.Provider,{value:s,children:[(0,u.jsx)(o.A,{children:(0,u.jsx)("html",{className:s})}),n]})}function h(e){let{children:t}=e;const n=s(),r=`plugin-${n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const o=`plugin-id-${n.plugin.id}`;return(0,u.jsx)(p,{className:(0,a.A)(r,o),children:t})}},6305:(e,t,n)=>{"use strict";n.d(t,{D:()=>l,G:()=>c});n(6540);var r=n(2069),a=n(5600),o=n(8695),i=n(4848);const s="right";function l(e){function t(e){return"left"===(e.position??s)}return[e.filter(t),e.filter((e=>!t(e)))]}function c(e){let{children:t}=e;return(0,i.jsx)(a.y_,{children:(0,i.jsx)(r.e,{children:(0,i.jsx)(o.N,{children:t})})})}},9532:(e,t,n)=>{"use strict";n.d(t,{Be:()=>c,ZC:()=>s,_q:()=>i,dV:()=>l,fM:()=>u});var r=n(6540),a=n(205),o=n(4848);function i(e){const t=(0,r.useRef)(e);return(0,a.A)((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function s(e){const t=(0,r.useRef)();return(0,a.A)((()=>{t.current=e})),t.current}class l extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?<name>\w+)/)?.groups.name??""} is called outside the <${e}>. ${t??""}`}}function c(e){const t=Object.entries(e);return t.sort(((e,t)=>e[0].localeCompare(t[0]))),(0,r.useMemo)((()=>e),t.flat())}function u(e){return t=>{let{children:n}=t;return(0,o.jsx)(o.Fragment,{children:e.reduceRight(((e,t)=>(0,o.jsx)(t,{children:e})),n)})}}},1252:(e,t,n)=>{"use strict";function r(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}n.d(t,{G:()=>r})},9169:(e,t,n)=>{"use strict";n.d(t,{Dt:()=>s,ys:()=>i});var r=n(6540),a=n(8328),o=n(4586);function i(e,t){const n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function s(){const{baseUrl:e}=(0,o.default)().siteConfig;return(0,r.useMemo)((()=>function(e){let{baseUrl:t,routes:n}=e;function r(e){return e.path===t&&!0===e.exact}function a(e){return e.path===t&&!e.exact}return function e(t){if(0===t.length)return;return t.find(r)||e(t.filter(a).flatMap((e=>e.routes??[])))}(n)}({routes:a.A,baseUrl:e})),[e])}},3104:(e,t,n)=>{"use strict";n.d(t,{Mq:()=>p,Tv:()=>u,a_:()=>h,gk:()=>g,n1:()=>d});var r=n(6540),a=n(8193),o=n(2303),i=n(205),s=n(9532),l=n(4848);const c=r.createContext(void 0);function u(e){let{children:t}=e;const n=function(){const e=(0,r.useRef)(!0);return(0,r.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return(0,l.jsx)(c.Provider,{value:n,children:t})}function d(){const e=(0,r.useContext)(c);if(null==e)throw new s.dV("ScrollControllerProvider");return e}const f=()=>a.A.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function p(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=d(),a=(0,r.useRef)(f()),o=(0,s._q)(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=f();o(e,a.current),a.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)}),[o,n,...t])}function h(){const e=d(),t=function(){const e=(0,r.useRef)({elem:null,top:0}),t=(0,r.useCallback)((t=>{e.current={elem:t,top:t.getBoundingClientRect().top}}),[]),n=(0,r.useCallback)((()=>{const{current:{elem:t,top:n}}=e;if(!t)return{restored:!1};const r=t.getBoundingClientRect().top-n;return r&&window.scrollBy({left:0,top:r}),e.current={elem:null,top:0},{restored:0!==r}}),[]);return(0,r.useMemo)((()=>({save:t,restore:n})),[n,t])}(),n=(0,r.useRef)(void 0),a=(0,r.useCallback)((r=>{t.save(r),e.disableScrollEvents(),n.current=()=>{const{restored:r}=t.restore();if(n.current=void 0,r){const t=()=>{e.enableScrollEvents(),window.removeEventListener("scroll",t)};window.addEventListener("scroll",t)}else e.enableScrollEvents()}}),[e,t]);return(0,i.A)((()=>{queueMicrotask((()=>n.current?.()))})),{blockElementScrollPositionUntilNextRender:a}}function g(){const e=(0,r.useRef)(null),t=(0,o.A)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(n):function(e){let t=null;const n=document.documentElement.scrollTop>e;return function r(){const a=document.documentElement.scrollTop;(n&&a>e||!n&&a<e)&&(t=requestAnimationFrame(r),window.scrollTo(0,Math.floor(.85*(a-e))+e))}(),()=>t&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>e.current?.()}}},2967:(e,t,n)=>{"use strict";n.d(t,{Cy:()=>i,af:()=>l,tU:()=>s});var r=n(4070),a=n(4586),o=n(5597);const i="default";function s(e,t){return`docs-${e}-${t}`}function l(){const{i18n:e}=(0,a.default)(),t=(0,r.useAllDocsData)(),n=(0,r.useActivePluginAndVersion)(),l=(0,o.XK)();const c=[i,...Object.keys(t).map((function(e){const r=n?.activePlugin.pluginId===e?n.activeVersion:void 0,a=l[e],o=t[e].versions.find((e=>e.isLast));return s(e,(r??a??o).name)}))];return{locale:e.currentLocale,tags:c}}},5236:(e,t,n)=>{"use strict";n.d(t,{K:()=>f,j:()=>l});var r=n(6540),a=n(6347),o=n(1312),i=n(5062),s=n(4848);const l="__docusaurus_skipToContent_fallback";function c(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function u(){const e=(0,r.useRef)(null),{action:t}=(0,a.W6)(),n=(0,r.useCallback)((e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")??document.getElementById(l);t&&c(t)}),[]);return(0,i.$)((n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&c(e.current)})),{containerRef:e,onClick:n}}const d=(0,o.T)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function f(e){const t=e.children??d,{containerRef:n,onClick:r}=u();return(0,s.jsx)("div",{ref:n,role:"region","aria-label":d,children:(0,s.jsx)("a",{...e,href:`#${l}`,onClick:r,children:t})})}},9466:(e,t,n)=>{"use strict";n.d(t,{Dv:()=>u,Eo:()=>d,Wf:()=>c});var r=n(6540);const a="localStorage";function o(e){let{key:t,oldValue:n,newValue:r,storage:a}=e;if(n===r)return;const o=document.createEvent("StorageEvent");o.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,a),window.dispatchEvent(o)}function i(e){if(void 0===e&&(e=a),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,s||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),s=!0),null}var t}let s=!1;const l={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function c(e,t){if("undefined"==typeof window)return function(e){function t(){throw new Error(`Illegal storage API usage for storage key "${e}".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.`)}return{get:t,set:t,del:t,listen:t}}(e);const n=i(t?.persistence);return null===n?l:{get:()=>{try{return n.getItem(e)}catch(t){return console.error(`Docusaurus storage error, can't get key=${e}`,t),null}},set:t=>{try{const r=n.getItem(e);n.setItem(e,t),o({key:e,oldValue:r,newValue:t,storage:n})}catch(r){console.error(`Docusaurus storage error, can't set ${e}=${t}`,r)}},del:()=>{try{const t=n.getItem(e);n.removeItem(e),o({key:e,oldValue:t,newValue:null,storage:n})}catch(t){console.error(`Docusaurus storage error, can't delete key=${e}`,t)}},listen:t=>{try{const r=r=>{r.storageArea===n&&r.key===e&&t(r)};return window.addEventListener("storage",r),()=>window.removeEventListener("storage",r)}catch(r){return console.error(`Docusaurus storage error, can't listen for changes of key=${e}`,r),()=>{}}}}}function u(e,t){const n=(0,r.useRef)((()=>null===e?l:c(e,t))).current(),a=(0,r.useCallback)((e=>"undefined"==typeof window?()=>{}:n.listen(e)),[n]);return[(0,r.useSyncExternalStore)(a,(()=>"undefined"==typeof window?null:n.get()),(()=>null)),n]}function d(e){void 0===e&&(e=a);const t=i(e);if(!t)return[];const n=[];for(let r=0;r<t.length;r+=1){const e=t.key(r);null!==e&&n.push(e)}return n}},2131:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(4586),a=n(6347),o=n(440);function i(){const{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:i,currentLocale:s}}=(0,r.default)(),{pathname:l}=(0,a.zy)(),c=(0,o.applyTrailingSlash)(l,{trailingSlash:n,baseUrl:e}),u=s===i?e:e.replace(`/${s}/`,"/"),d=c.replace(e,"");return{createUrl:function(e){let{locale:n,fullyQualified:r}=e;return`${r?t:""}${function(e){return e===i?`${u}`:`${u}${e}/`}(n)}${d}`}}}},9342:(e,t,n)=>{"use strict";n.d(t,{B:()=>o});var r=n(6347),a=n(4586);function o(){const{siteConfig:{baseUrl:e}}=(0,a.default)(),{pathname:t}=(0,r.zy)();return t.replace(e,"/")}},5062:(e,t,n)=>{"use strict";n.d(t,{$:()=>i});var r=n(6540),a=n(6347),o=n(9532);function i(e){const t=(0,a.zy)(),n=(0,o.ZC)(t),i=(0,o._q)(e);(0,r.useEffect)((()=>{n&&t!==n&&i({location:t,previousLocation:n})}),[i,t,n])}},6342:(e,t,n)=>{"use strict";n.d(t,{p:()=>a});var r=n(4586);function a(){return(0,r.default)().siteConfig.themeConfig}},8126:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(4586);function a(){const{siteConfig:{themeConfig:e}}=(0,r.default)();return e}},1062:(e,t,n)=>{"use strict";n.d(t,{C:()=>s});var r=n(6540),a=n(1252),o=n(6025),i=n(8126);function s(){const{withBaseUrl:e}=(0,o.h)(),{algolia:{externalUrlRegex:t,replaceSearchResultPathname:n}}=(0,i.c)();return(0,r.useCallback)((r=>{const o=new URL(r);if((0,a.G)(t,o.href))return r;const i=`${o.pathname+o.hash}`;return e(function(e,t){return t?e.replaceAll(new RegExp(t.from,"g"),t.to):e}(i,n))}),[e,t,n])}},2983:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[a]=e.split(/[#?]/),o="/"===a||a===r?a:(i=a,n?function(e){return e.endsWith("/")?e:`${e}/`}(i):function(e){return e.endsWith("/")?e.slice(0,-1):e}(i));var i;return e.replace(a,o)}},253:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},440:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="__blog-post-container";var a=n(2983);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(a).default}});var o=n(253);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return o.getErrorCausalChain}})},1513:(e,t,n)=>{"use strict";n.d(t,{zR:()=>x,TM:()=>C,yJ:()=>p,sC:()=>A,AO:()=>f});var r=n(8168);function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r<a;n+=1,r+=1)e[n]=e[r];e.pop()}const i=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],s=e&&a(e),l=t&&a(t),c=s||l;if(e&&a(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var u=i[i.length-1];n="."===u||".."===u||""===u}else n=!1;for(var d=0,f=i.length;f>=0;f--){var p=i[f];"."===p?o(i,f):".."===p?(o(i,f),d++):d&&(o(i,f),d--)}if(!c)for(;d--;d)i.unshift("..");!c||""===i[0]||i[0]&&a(i[0])||i.unshift("");var h=i.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};var s=n(1561);function l(e){return"/"===e.charAt(0)?e:"/"+e}function c(e){return"/"===e.charAt(0)?e.substr(1):e}function u(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function f(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function p(e,t,n,a){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=(0,r.A)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function h(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var g=!("undefined"==typeof window||!window.document||!window.document.createElement);function m(e,t){t(window.confirm(e))}var b="popstate",y="hashchange";function v(){try{return window.history.state||{}}catch(e){return{}}}function x(e){void 0===e&&(e={}),g||(0,s.A)(!1);var t,n=window.history,a=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,c=i.forceRefresh,x=void 0!==c&&c,w=i.getUserConfirmation,k=void 0===w?m:w,S=i.keyLength,_=void 0===S?6:S,E=e.basename?d(l(e.basename)):"";function C(e){var t=e||{},n=t.key,r=t.state,a=window.location,o=a.pathname+a.search+a.hash;return E&&(o=u(o,E)),p(o,r,n)}function T(){return Math.random().toString(36).substr(2,_)}var A=h();function P(e){(0,r.A)(q,e),q.length=n.length,A.notifyListeners(q.location,q.action)}function N(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||L(C(e.state))}function j(){L(C(v()))}var R=!1;function L(e){if(R)R=!1,P();else{A.confirmTransitionTo(e,"POP",k,(function(t){t?P({action:"POP",location:e}):function(e){var t=q.location,n=M.indexOf(t.key);-1===n&&(n=0);var r=M.indexOf(e.key);-1===r&&(r=0);var a=n-r;a&&(R=!0,D(a))}(e)}))}}var O=C(v()),M=[O.key];function I(e){return E+f(e)}function D(e){n.go(e)}var F=0;function B(e){1===(F+=e)&&1===e?(window.addEventListener(b,N),o&&window.addEventListener(y,j)):0===F&&(window.removeEventListener(b,N),o&&window.removeEventListener(y,j))}var z=!1;var q={length:n.length,action:"POP",location:O,createHref:I,push:function(e,t){var r="PUSH",o=p(e,t,T(),q.location);A.confirmTransitionTo(o,r,k,(function(e){if(e){var t=I(o),i=o.key,s=o.state;if(a)if(n.pushState({key:i,state:s},null,t),x)window.location.href=t;else{var l=M.indexOf(q.location.key),c=M.slice(0,l+1);c.push(o.key),M=c,P({action:r,location:o})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",o=p(e,t,T(),q.location);A.confirmTransitionTo(o,r,k,(function(e){if(e){var t=I(o),i=o.key,s=o.state;if(a)if(n.replaceState({key:i,state:s},null,t),x)window.location.replace(t);else{var l=M.indexOf(q.location.key);-1!==l&&(M[l]=o.key),P({action:r,location:o})}else window.location.replace(t)}}))},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=A.setPrompt(e);return z||(B(1),z=!0),function(){return z&&(z=!1,B(-1)),t()}},listen:function(e){var t=A.appendListener(e);return B(1),function(){B(-1),t()}}};return q}var w="hashchange",k={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+c(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:c,decodePath:l},slash:{encodePath:l,decodePath:l}};function S(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function _(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function E(e){window.location.replace(S(window.location.href)+"#"+e)}function C(e){void 0===e&&(e={}),g||(0,s.A)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),a=n.getUserConfirmation,o=void 0===a?m:a,i=n.hashType,c=void 0===i?"slash":i,b=e.basename?d(l(e.basename)):"",y=k[c],v=y.encodePath,x=y.decodePath;function C(){var e=x(_());return b&&(e=u(e,b)),p(e)}var T=h();function A(e){(0,r.A)(z,e),z.length=t.length,T.notifyListeners(z.location,z.action)}var P=!1,N=null;function j(){var e,t,n=_(),r=v(n);if(n!==r)E(r);else{var a=C(),i=z.location;if(!P&&(t=a,(e=i).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(N===f(a))return;N=null,function(e){if(P)P=!1,A();else{var t="POP";T.confirmTransitionTo(e,t,o,(function(n){n?A({action:t,location:e}):function(e){var t=z.location,n=M.lastIndexOf(f(t));-1===n&&(n=0);var r=M.lastIndexOf(f(e));-1===r&&(r=0);var a=n-r;a&&(P=!0,I(a))}(e)}))}}(a)}}var R=_(),L=v(R);R!==L&&E(L);var O=C(),M=[f(O)];function I(e){t.go(e)}var D=0;function F(e){1===(D+=e)&&1===e?window.addEventListener(w,j):0===D&&window.removeEventListener(w,j)}var B=!1;var z={length:t.length,action:"POP",location:O,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+v(b+f(e))},push:function(e,t){var n="PUSH",r=p(e,void 0,void 0,z.location);T.confirmTransitionTo(r,n,o,(function(e){if(e){var t=f(r),a=v(b+t);if(_()!==a){N=t,function(e){window.location.hash=e}(a);var o=M.lastIndexOf(f(z.location)),i=M.slice(0,o+1);i.push(t),M=i,A({action:n,location:r})}else A()}}))},replace:function(e,t){var n="REPLACE",r=p(e,void 0,void 0,z.location);T.confirmTransitionTo(r,n,o,(function(e){if(e){var t=f(r),a=v(b+t);_()!==a&&(N=t,E(a));var o=M.indexOf(f(z.location));-1!==o&&(M[o]=t),A({action:n,location:r})}}))},go:I,goBack:function(){I(-1)},goForward:function(){I(1)},block:function(e){void 0===e&&(e=!1);var t=T.setPrompt(e);return B||(F(1),B=!0),function(){return B&&(B=!1,F(-1)),t()}},listen:function(e){var t=T.appendListener(e);return F(1),function(){F(-1),t()}}};return z}function T(e,t,n){return Math.min(Math.max(e,t),n)}function A(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,a=t.initialEntries,o=void 0===a?["/"]:a,i=t.initialIndex,s=void 0===i?0:i,l=t.keyLength,c=void 0===l?6:l,u=h();function d(e){(0,r.A)(x,e),x.length=x.entries.length,u.notifyListeners(x.location,x.action)}function g(){return Math.random().toString(36).substr(2,c)}var m=T(s,0,o.length-1),b=o.map((function(e){return p(e,void 0,"string"==typeof e?g():e.key||g())})),y=f;function v(e){var t=T(x.index+e,0,x.entries.length-1),r=x.entries[t];u.confirmTransitionTo(r,"POP",n,(function(e){e?d({action:"POP",location:r,index:t}):d()}))}var x={length:b.length,action:"POP",location:b[m],index:m,entries:b,createHref:y,push:function(e,t){var r="PUSH",a=p(e,t,g(),x.location);u.confirmTransitionTo(a,r,n,(function(e){if(e){var t=x.index+1,n=x.entries.slice(0);n.length>t?n.splice(t,n.length-t,a):n.push(a),d({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=p(e,t,g(),x.location);u.confirmTransitionTo(a,r,n,(function(e){e&&(x.entries[x.index]=a,d({action:r,location:a}))}))},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(e){var t=x.index+e;return t>=0&&t<x.entries.length},block:function(e){return void 0===e&&(e=!1),u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return x}},4146:(e,t,n)=>{"use strict";var r=n(4363),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||a}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var a=p(n);a&&a!==h&&e(t,a,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var s=l(t),g=l(n),m=0;m<i.length;++m){var b=i[m];if(!(o[b]||r&&r[b]||g&&g[b]||s&&s[b])){var y=f(n,b);try{c(t,b,y)}catch(v){}}}}return t}},311:e=>{"use strict";e.exports=function(e,t,n,r,a,o,i,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,a,o,i,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},4634:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},119:(e,t,n)=>{"use strict";n.r(t)},1043:(e,t,n)=>{"use strict";n.r(t)},5947:function(e,t,n){var r,a;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function a(e,t,n){return e<t?t:e>n?n:e}function o(e){return 100*(-1+e)}function i(e,t,n){var a;return(a="translate3d"===r.positionUsing?{transform:"translate3d("+o(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+o(e)+"%,0)"}:{"margin-left":o(e)+"%"}).transition="all "+t+"ms "+n,a}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=a(e,r.minimum,1),n.status=1===e?null:e;var o=n.render(!t),c=o.querySelector(r.barSelector),u=r.speed,d=r.easing;return o.offsetWidth,s((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),l(c,i(e,u,d)),1===e?(l(o,{transition:"none",opacity:1}),o.offsetWidth,setTimeout((function(){l(o,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),u)}),u)):setTimeout(t,u)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*a(Math.random()*t,.1,.95)),t=a(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var a,i=t.querySelector(r.barSelector),s=e?"-100":o(n.status||0),c=document.querySelector(r.parent);return l(i,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),r.showSpinner||(a=t.querySelector(r.spinnerSelector))&&p(a),c!=document.body&&u(c,"nprogress-custom-parent"),c.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var s=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),l=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}function a(e){return e=n(e),t[e]||(t[e]=r(e))}function o(e,t,n){t=a(t),e.style[t]=n}return function(e,t){var n,r,a=arguments;if(2==a.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&o(e,n,r);else o(e,a[1],a[2])}}();function c(e,t){return("string"==typeof e?e:f(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=f(e),r=n+t;c(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=f(e);c(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function f(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(a="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=a)},5302:(e,t,n)=>{var r=n(4634);e.exports=p,e.exports.parse=o,e.exports.compile=function(e,t){return s(o(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=f;var a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,i=0,s="",u=t&&t.delimiter||"/";null!=(n=a.exec(e));){var d=n[0],f=n[1],p=n.index;if(s+=e.slice(i,p),i=p+d.length,f)s+=f[1];else{var h=e[i],g=n[2],m=n[3],b=n[4],y=n[5],v=n[6],x=n[7];s&&(r.push(s),s="");var w=null!=g&&null!=h&&h!==g,k="+"===v||"*"===v,S="?"===v||"*"===v,_=n[2]||u,E=b||y;r.push({name:m||o++,prefix:g||"",delimiter:_,optional:S,repeat:k,partial:w,asterisk:!!x,pattern:E?c(E):x?".*":"[^"+l(_)+"]+?"})}}return i<e.length&&(s+=e.substr(i)),s&&r.push(s),r}function i(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function s(e,t){for(var n=new Array(e.length),a=0;a<e.length;a++)"object"==typeof e[a]&&(n[a]=new RegExp("^(?:"+e[a].pattern+")$",d(t)));return function(t,a){for(var o="",s=t||{},l=(a||{}).pretty?i:encodeURIComponent,c=0;c<e.length;c++){var u=e[c];if("string"!=typeof u){var d,f=s[u.name];if(null==f){if(u.optional){u.partial&&(o+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(r(f)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var p=0;p<f.length;p++){if(d=l(f[p]),!n[c].test(d))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(d)+"`");o+=(0===p?u.prefix:u.delimiter)+d}}else{if(d=u.asterisk?encodeURI(f).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):l(f),!n[c].test(d))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+d+'"');o+=u.prefix+d}}else o+=u}return o}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function u(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function f(e,t,n){r(t)||(n=t||n,t=[]);for(var a=(n=n||{}).strict,o=!1!==n.end,i="",s=0;s<e.length;s++){var c=e[s];if("string"==typeof c)i+=l(c);else{var f=l(c.prefix),p="(?:"+c.pattern+")";t.push(c),c.repeat&&(p+="(?:"+f+p+")*"),i+=p=c.optional?c.partial?f+"("+p+")?":"(?:"+f+"("+p+"))?":f+"("+p+")"}}var h=l(n.delimiter||"/"),g=i.slice(-h.length)===h;return a||(i=(g?i.slice(0,-h.length):i)+"(?:"+h+"(?=$))?"),i+=o?"$":a&&g?"":"(?="+h+"|$)",u(new RegExp("^"+i,d(n)),t)}function p(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return u(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],a=0;a<e.length;a++)r.push(p(e[a],t,n).source);return u(new RegExp("(?:"+r.join("|")+")",d(n)),t)}(e,t,n):function(e,t,n){return f(o(e,n),t,n)}(e,t,n)}},2514:()=>{Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},Prism.languages.webmanifest=Prism.languages.json},9700:()=>{!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"==typeof o&&!o(e))return e;for(var a,s=i.length;-1!==n.code.indexOf(a=t(r,s));)++s;return i[s]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(s){for(var l=0;l<s.length&&!(a>=o.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=o[a],d=n.tokenStack[u],f="string"==typeof c?c:c.content,p=t(r,u),h=f.indexOf(p);if(h>-1){++a;var g=f.substring(0,h),m=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),b=f.substring(h+p.length),y=[];g&&y.push.apply(y,i([g])),y.push(m),b&&y.push.apply(y,i([b])),"string"==typeof c?s.splice.apply(s,[l,1].concat(y)):c.content=y}}else c.content&&i(c.content)}return s}(n.tokens)}}}})}(Prism)},9874:(e,t,n)=>{var r={"./prism-json":2514};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=9874},2694:(e,t,n)=>{"use strict";var r=n(6925);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2551:(e,t,n)=>{"use strict";var r=n(6540),a=n(9982);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,s={};function l(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(s[e]=t,e=0;e<t.length;e++)i.add(t[e])}var u=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},h={};function g(e,t,n,r,a,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){m[e]=new g(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];m[t]=new g(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){m[e]=new g(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){m[e]=new g(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){m[e]=new g(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){m[e]=new g(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){m[e]=new g(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){m[e]=new g(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){m[e]=new g(e,5,!1,e.toLowerCase(),null,!1,!1)}));var b=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function v(e,t,n,r){var a=m.hasOwnProperty(t)?m[t]:null;(null!==a?0!==a.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!d.call(h,e)||!d.call(p,e)&&(f.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(b,y);m[t]=new g(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(b,y);m[t]=new g(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(b,y);m[t]=new g(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)})),m.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)}));var x=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),k=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),T=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),N=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),R=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var L=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var O=Symbol.iterator;function M(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=O&&e[O]||e["@@iterator"])?e:null}var I,D=Object.assign;function F(e){if(void 0===I)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);I=t&&t[1]||""}return"\n"+I+e}var B=!1;function z(e,t){if(!e||B)return"";B=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&"string"==typeof c.stack){for(var a=c.stack.split("\n"),o=r.stack.split("\n"),i=a.length-1,s=o.length-1;1<=i&&0<=s&&a[i]!==o[s];)s--;for(;1<=i&&0<=s;i--,s--)if(a[i]!==o[s]){if(1!==i||1!==s)do{if(i--,0>--s||a[i]!==o[s]){var l="\n"+a[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=i&&0<=s);break}}}finally{B=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?F(e):""}function q(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return e=z(e.type,!1);case 11:return e=z(e.type.render,!1);case 1:return e=z(e.type,!0);default:return""}}function $(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case S:return"Fragment";case k:return"Portal";case E:return"Profiler";case _:return"StrictMode";case P:return"Suspense";case N:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case T:return(e.displayName||"Context")+".Consumer";case C:return(e._context.displayName||"Context")+".Provider";case A:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case j:return null!==(t=e.displayName||null)?t:$(e.type)||"Memo";case R:t=e._payload,e=e._init;try{return $(e(t))}catch(n){}}return null}function U(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return $(t);case 8:return t===_?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function W(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function H(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function V(e){e._valueTracker||(e._valueTracker=function(e){var t=H(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function G(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=H(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Q(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function K(e,t){var n=t.checked;return D({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Y(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=W(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Z(e,t){null!=(t=t.checked)&&v(e,"checked",t,!1)}function X(e,t){Z(e,t);var n=W(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,W(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&Q(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+W(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return D({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ae(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(te(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:W(n)}}function oe(e,t){var n=W(t.value),r=W(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,de=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ue(e,t)}))}:ue);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function ge(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function me(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=ge(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var be=D({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(be[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(o(62))}}function ve(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var xe=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ke=null,Se=null,_e=null;function Ee(e){if(e=va(e)){if("function"!=typeof ke)throw Error(o(280));var t=e.stateNode;t&&(t=wa(t),ke(e.stateNode,e.type,t))}}function Ce(e){Se?_e?_e.push(e):_e=[e]:Se=e}function Te(){if(Se){var e=Se,t=_e;if(_e=Se=null,Ee(e),t)for(e=0;e<t.length;e++)Ee(t[e])}}function Ae(e,t){return e(t)}function Pe(){}var Ne=!1;function je(e,t,n){if(Ne)return e(t,n);Ne=!0;try{return Ae(e,t,n)}finally{Ne=!1,(null!==Se||null!==_e)&&(Pe(),Te())}}function Re(e,t){var n=e.stateNode;if(null===n)return null;var r=wa(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(o(231,t,typeof n));return n}var Le=!1;if(u)try{var Oe={};Object.defineProperty(Oe,"passive",{get:function(){Le=!0}}),window.addEventListener("test",Oe,Oe),window.removeEventListener("test",Oe,Oe)}catch(ue){Le=!1}function Me(e,t,n,r,a,o,i,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(u){this.onError(u)}}var Ie=!1,De=null,Fe=!1,Be=null,ze={onError:function(e){Ie=!0,De=e}};function qe(e,t,n,r,a,o,i,s,l){Ie=!1,De=null,Me.apply(ze,arguments)}function $e(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ue(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function We(e){if($e(e)!==e)throw Error(o(188))}function He(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=$e(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var i=a.alternate;if(null===i){if(null!==(r=a.return)){n=r;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===n)return We(a),e;if(i===r)return We(a),t;i=i.sibling}throw Error(o(188))}if(n.return!==r.return)n=a,r=i;else{for(var s=!1,l=a.child;l;){if(l===n){s=!0,n=a,r=i;break}if(l===r){s=!0,r=a,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,r=a;break}if(l===r){s=!0,r=i,n=a;break}l=l.sibling}if(!s)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e))?Ve(e):null}function Ve(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ve(e);if(null!==t)return t;e=e.sibling}return null}var Ge=a.unstable_scheduleCallback,Qe=a.unstable_cancelCallback,Ke=a.unstable_shouldYield,Ye=a.unstable_requestPaint,Ze=a.unstable_now,Xe=a.unstable_getCurrentPriorityLevel,Je=a.unstable_ImmediatePriority,et=a.unstable_UserBlockingPriority,tt=a.unstable_NormalPriority,nt=a.unstable_LowPriority,rt=a.unstable_IdlePriority,at=null,ot=null;var it=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2;var ct=64,ut=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,i=268435455&n;if(0!==i){var s=i&~a;0!==s?r=dt(s):0!==(o&=i)&&(r=dt(o))}else 0!==(i=n&~a)?r=dt(i):0!==o&&(r=dt(o));if(0===r)return 0;if(0!==t&&t!==r&&!(t&a)&&((a=r&-r)>=(o=t&-t)||16===a&&4194240&o))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-it(t)),r|=e[n],t&=~a;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function gt(){var e=ct;return!(4194240&(ct<<=1))&&(ct=64),e}function mt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function bt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}var vt=0;function xt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var wt,kt,St,_t,Et,Ct=!1,Tt=[],At=null,Pt=null,Nt=null,jt=new Map,Rt=new Map,Lt=[],Ot="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Mt(e,t){switch(e){case"focusin":case"focusout":At=null;break;case"dragenter":case"dragleave":Pt=null;break;case"mouseover":case"mouseout":Nt=null;break;case"pointerover":case"pointerout":jt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Rt.delete(t.pointerId)}}function It(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[a]},null!==t&&(null!==(t=va(t))&&kt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function Dt(e){var t=ya(e.target);if(null!==t){var n=$e(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ue(n)))return e.blockedOn=t,void Et(e.priority,(function(){St(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Ft(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Kt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=va(n))&&kt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);xe=r,n.target.dispatchEvent(r),xe=null,t.shift()}return!0}function Bt(e,t,n){Ft(e)&&n.delete(t)}function zt(){Ct=!1,null!==At&&Ft(At)&&(At=null),null!==Pt&&Ft(Pt)&&(Pt=null),null!==Nt&&Ft(Nt)&&(Nt=null),jt.forEach(Bt),Rt.forEach(Bt)}function qt(e,t){e.blockedOn===t&&(e.blockedOn=null,Ct||(Ct=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,zt)))}function $t(e){function t(t){return qt(t,e)}if(0<Tt.length){qt(Tt[0],e);for(var n=1;n<Tt.length;n++){var r=Tt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==At&&qt(At,e),null!==Pt&&qt(Pt,e),null!==Nt&&qt(Nt,e),jt.forEach(t),Rt.forEach(t),n=0;n<Lt.length;n++)(r=Lt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Lt.length&&null===(n=Lt[0]).blockedOn;)Dt(n),null===n.blockedOn&&Lt.shift()}var Ut=x.ReactCurrentBatchConfig,Wt=!0;function Ht(e,t,n,r){var a=vt,o=Ut.transition;Ut.transition=null;try{vt=1,Gt(e,t,n,r)}finally{vt=a,Ut.transition=o}}function Vt(e,t,n,r){var a=vt,o=Ut.transition;Ut.transition=null;try{vt=4,Gt(e,t,n,r)}finally{vt=a,Ut.transition=o}}function Gt(e,t,n,r){if(Wt){var a=Kt(e,t,n,r);if(null===a)Wr(e,t,r,Qt,n),Mt(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return At=It(At,e,t,n,r,a),!0;case"dragenter":return Pt=It(Pt,e,t,n,r,a),!0;case"mouseover":return Nt=It(Nt,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return jt.set(o,It(jt.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,Rt.set(o,It(Rt.get(o)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(Mt(e,r),4&t&&-1<Ot.indexOf(e)){for(;null!==a;){var o=va(a);if(null!==o&&wt(o),null===(o=Kt(e,t,n,r))&&Wr(e,t,r,Qt,n),o===a)break;a=o}null!==a&&r.stopPropagation()}else Wr(e,t,r,null,n)}}var Qt=null;function Kt(e,t,n,r){if(Qt=null,null!==(e=ya(e=we(r))))if(null===(t=$e(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ue(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Qt=e,null}function Yt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Zt=null,Xt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Xt,r=n.length,a="value"in Zt?Zt.value:Zt.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===a[o-t];t++);return Jt=a.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function an(e){function t(t,n,r,a,o){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return D(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var on,sn,ln,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=an(cn),dn=D({},cn,{view:0,detail:0}),fn=an(dn),pn=D({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:En,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(on=e.screenX-ln.screenX,sn=e.screenY-ln.screenY):sn=on=0,ln=e),on)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),hn=an(pn),gn=an(D({},pn,{dataTransfer:0})),mn=an(D({},dn,{relatedTarget:0})),bn=an(D({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=D({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vn=an(yn),xn=an(D({},cn,{data:0})),wn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _n(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function En(){return _n}var Cn=D({},dn,{key:function(e){if(e.key){var t=wn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?kn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:En,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Tn=an(Cn),An=an(D({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Pn=an(D({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:En})),Nn=an(D({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),jn=D({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Rn=an(jn),Ln=[9,13,27,32],On=u&&"CompositionEvent"in window,Mn=null;u&&"documentMode"in document&&(Mn=document.documentMode);var In=u&&"TextEvent"in window&&!Mn,Dn=u&&(!On||Mn&&8<Mn&&11>=Mn),Fn=String.fromCharCode(32),Bn=!1;function zn(e,t){switch(e){case"keyup":return-1!==Ln.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function qn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var $n=!1;var Un={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Wn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Un[e.type]:"textarea"===t}function Hn(e,t,n,r){Ce(r),0<(t=Vr(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Vn=null,Gn=null;function Qn(e){Fr(e,0)}function Kn(e){if(G(xa(e)))return e}function Yn(e,t){if("change"===e)return t}var Zn=!1;if(u){var Xn;if(u){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"==typeof er.oninput}Xn=Jn}else Xn=!1;Zn=Xn&&(!document.documentMode||9<document.documentMode)}function tr(){Vn&&(Vn.detachEvent("onpropertychange",nr),Gn=Vn=null)}function nr(e){if("value"===e.propertyName&&Kn(Gn)){var t=[];Hn(t,Gn,e,we(e)),je(Qn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Gn=n,(Vn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Kn(Gn)}function or(e,t){if("click"===e)return Kn(t)}function ir(e,t){if("input"===e||"change"===e)return Kn(t)}var sr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function lr(e,t){if(sr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var a=n[r];if(!d.call(t,a)||!sr(e[a],t[a]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=Q();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=Q((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=n.textContent.length,o=Math.min(r.start,a);r=void 0===r.end?o:Math.min(r.end,a),!e.extend&&o>r&&(a=r,r=o,o=a),a=ur(n,o);var i=ur(n,r);a&&i&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var gr=u&&"documentMode"in document&&11>=document.documentMode,mr=null,br=null,yr=null,vr=!1;function xr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;vr||null==mr||mr!==Q(r)||("selectionStart"in(r=mr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&lr(yr,r)||(yr=r,0<(r=Vr(br,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=mr)))}function wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var kr={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},Sr={},_r={};function Er(e){if(Sr[e])return Sr[e];if(!kr[e])return e;var t,n=kr[e];for(t in n)if(n.hasOwnProperty(t)&&t in _r)return Sr[e]=n[t];return e}u&&(_r=document.createElement("div").style,"AnimationEvent"in window||(delete kr.animationend.animation,delete kr.animationiteration.animation,delete kr.animationstart.animation),"TransitionEvent"in window||delete kr.transitionend.transition);var Cr=Er("animationend"),Tr=Er("animationiteration"),Ar=Er("animationstart"),Pr=Er("transitionend"),Nr=new Map,jr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Rr(e,t){Nr.set(e,t),l(t,[e])}for(var Lr=0;Lr<jr.length;Lr++){var Or=jr[Lr];Rr(Or.toLowerCase(),"on"+(Or[0].toUpperCase()+Or.slice(1)))}Rr(Cr,"onAnimationEnd"),Rr(Tr,"onAnimationIteration"),Rr(Ar,"onAnimationStart"),Rr("dblclick","onDoubleClick"),Rr("focusin","onFocus"),Rr("focusout","onBlur"),Rr(Pr,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Mr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ir=new Set("cancel close invalid load scroll toggle".split(" ").concat(Mr));function Dr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,i,s,l,c){if(qe.apply(this,arguments),Ie){if(!Ie)throw Error(o(198));var u=De;Ie=!1,De=null,Fe||(Fe=!0,Be=u)}}(r,t,void 0,e),e.currentTarget=null}function Fr(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var i=r.length-1;0<=i;i--){var s=r[i],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==o&&a.isPropagationStopped())break e;Dr(a,s,c),o=l}else for(i=0;i<r.length;i++){if(l=(s=r[i]).instance,c=s.currentTarget,s=s.listener,l!==o&&a.isPropagationStopped())break e;Dr(a,s,c),o=l}}}if(Fe)throw e=Be,Fe=!1,Be=null,e}function Br(e,t){var n=t[ga];void 0===n&&(n=t[ga]=new Set);var r=e+"__bubble";n.has(r)||(Ur(t,e,2,!1),n.add(r))}function zr(e,t,n){var r=0;t&&(r|=4),Ur(n,e,r,t)}var qr="_reactListening"+Math.random().toString(36).slice(2);function $r(e){if(!e[qr]){e[qr]=!0,i.forEach((function(t){"selectionchange"!==t&&(Ir.has(t)||zr(t,!1,e),zr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[qr]||(t[qr]=!0,zr("selectionchange",!1,t))}}function Ur(e,t,n,r){switch(Yt(t)){case 1:var a=Ht;break;case 4:a=Vt;break;default:a=Gt}n=a.bind(null,t,n,e),a=void 0,!Le||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function Wr(e,t,n,r,a){var o=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var s=r.stateNode.containerInfo;if(s===a||8===s.nodeType&&s.parentNode===a)break;if(4===i)for(i=r.return;null!==i;){var l=i.tag;if((3===l||4===l)&&((l=i.stateNode.containerInfo)===a||8===l.nodeType&&l.parentNode===a))return;i=i.return}for(;null!==s;){if(null===(i=ya(s)))return;if(5===(l=i.tag)||6===l){r=o=i;continue e}s=s.parentNode}}r=r.return}je((function(){var r=o,a=we(n),i=[];e:{var s=Nr.get(e);if(void 0!==s){var l=un,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=Tn;break;case"focusin":c="focus",l=mn;break;case"focusout":c="blur",l=mn;break;case"beforeblur":case"afterblur":l=mn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=gn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Pn;break;case Cr:case Tr:case Ar:l=bn;break;case Pr:l=Nn;break;case"scroll":l=fn;break;case"wheel":l=Rn;break;case"copy":case"cut":case"paste":l=vn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=An}var u=!!(4&t),d=!u&&"scroll"===e,f=u?null!==s?s+"Capture":null:s;u=[];for(var p,h=r;null!==h;){var g=(p=h).stateNode;if(5===p.tag&&null!==g&&(p=g,null!==f&&(null!=(g=Re(h,f))&&u.push(Hr(h,g,p)))),d)break;h=h.return}0<u.length&&(s=new l(s,c,null,n,a),i.push({event:s,listeners:u}))}}if(!(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===xe||!(c=n.relatedTarget||n.fromElement)||!ya(c)&&!c[ha])&&(l||s)&&(s=a.window===a?a:(s=a.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?ya(c):null)&&(c!==(d=$e(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=hn,g="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(u=An,g="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==l?s:xa(l),p=null==c?s:xa(c),(s=new u(g,h+"leave",l,n,a)).target=d,s.relatedTarget=p,g=null,ya(a)===r&&((u=new u(f,h+"enter",c,n,a)).target=p,u.relatedTarget=d,g=u),d=g,l&&c)e:{for(f=c,h=0,p=u=l;p;p=Gr(p))h++;for(p=0,g=f;g;g=Gr(g))p++;for(;0<h-p;)u=Gr(u),h--;for(;0<p-h;)f=Gr(f),p--;for(;h--;){if(u===f||null!==f&&u===f.alternate)break e;u=Gr(u),f=Gr(f)}u=null}else u=null;null!==l&&Qr(i,s,l,u,!1),null!==c&&null!==d&&Qr(i,d,c,u,!0)}if("select"===(l=(s=r?xa(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var m=Yn;else if(Wn(s))if(Zn)m=ir;else{m=ar;var b=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(m=or);switch(m&&(m=m(e,r))?Hn(i,m,n,a):(b&&b(e,s,r),"focusout"===e&&(b=s._wrapperState)&&b.controlled&&"number"===s.type&&ee(s,"number",s.value)),b=r?xa(r):window,e){case"focusin":(Wn(b)||"true"===b.contentEditable)&&(mr=b,br=r,yr=null);break;case"focusout":yr=br=mr=null;break;case"mousedown":vr=!0;break;case"contextmenu":case"mouseup":case"dragend":vr=!1,xr(i,n,a);break;case"selectionchange":if(gr)break;case"keydown":case"keyup":xr(i,n,a)}var y;if(On)e:{switch(e){case"compositionstart":var v="onCompositionStart";break e;case"compositionend":v="onCompositionEnd";break e;case"compositionupdate":v="onCompositionUpdate";break e}v=void 0}else $n?zn(e,n)&&(v="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(v="onCompositionStart");v&&(Dn&&"ko"!==n.locale&&($n||"onCompositionStart"!==v?"onCompositionEnd"===v&&$n&&(y=en()):(Xt="value"in(Zt=a)?Zt.value:Zt.textContent,$n=!0)),0<(b=Vr(r,v)).length&&(v=new xn(v,e,null,n,a),i.push({event:v,listeners:b}),y?v.data=y:null!==(y=qn(n))&&(v.data=y))),(y=In?function(e,t){switch(e){case"compositionend":return qn(t);case"keypress":return 32!==t.which?null:(Bn=!0,Fn);case"textInput":return(e=t.data)===Fn&&Bn?null:e;default:return null}}(e,n):function(e,t){if($n)return"compositionend"===e||!On&&zn(e,t)?(e=en(),Jt=Xt=Zt=null,$n=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Dn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Vr(r,"onBeforeInput")).length&&(a=new xn("onBeforeInput","beforeinput",null,n,a),i.push({event:a,listeners:r}),a.data=y))}Fr(i,t)}))}function Hr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Vr(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,o=a.stateNode;5===a.tag&&null!==o&&(a=o,null!=(o=Re(e,n))&&r.unshift(Hr(e,o,a)),null!=(o=Re(e,t))&&r.push(Hr(e,o,a))),e=e.return}return r}function Gr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Qr(e,t,n,r,a){for(var o=t._reactName,i=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,a?null!=(l=Re(n,o))&&i.unshift(Hr(n,l,s)):a||null!=(l=Re(n,o))&&i.push(Hr(n,l,s))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Kr=/\r\n?/g,Yr=/\u0000|\uFFFD/g;function Zr(e){return("string"==typeof e?e:""+e).replace(Kr,"\n").replace(Yr,"")}function Xr(e,t,n){if(t=Zr(t),Zr(e)!==t&&n)throw Error(o(425))}function Jr(){}var ea=null,ta=null;function na(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ra="function"==typeof setTimeout?setTimeout:void 0,aa="function"==typeof clearTimeout?clearTimeout:void 0,oa="function"==typeof Promise?Promise:void 0,ia="function"==typeof queueMicrotask?queueMicrotask:void 0!==oa?function(e){return oa.resolve(null).then(e).catch(sa)}:ra;function sa(e){setTimeout((function(){throw e}))}function la(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)){if(0===r)return e.removeChild(a),void $t(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=a}while(n);$t(t)}function ca(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ua(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var da=Math.random().toString(36).slice(2),fa="__reactFiber$"+da,pa="__reactProps$"+da,ha="__reactContainer$"+da,ga="__reactEvents$"+da,ma="__reactListeners$"+da,ba="__reactHandles$"+da;function ya(e){var t=e[fa];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ha]||n[fa]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ua(e);null!==e;){if(n=e[fa])return n;e=ua(e)}return t}n=(e=n).parentNode}return null}function va(e){return!(e=e[fa]||e[ha])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function xa(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function wa(e){return e[pa]||null}var ka=[],Sa=-1;function _a(e){return{current:e}}function Ea(e){0>Sa||(e.current=ka[Sa],ka[Sa]=null,Sa--)}function Ca(e,t){Sa++,ka[Sa]=e.current,e.current=t}var Ta={},Aa=_a(Ta),Pa=_a(!1),Na=Ta;function ja(e,t){var n=e.type.contextTypes;if(!n)return Ta;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ra(e){return null!=(e=e.childContextTypes)}function La(){Ea(Pa),Ea(Aa)}function Oa(e,t,n){if(Aa.current!==Ta)throw Error(o(168));Ca(Aa,t),Ca(Pa,n)}function Ma(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(o(108,U(e)||"Unknown",a));return D({},n,r)}function Ia(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ta,Na=Aa.current,Ca(Aa,e),Ca(Pa,Pa.current),!0}function Da(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Ma(e,t,Na),r.__reactInternalMemoizedMergedChildContext=e,Ea(Pa),Ea(Aa),Ca(Aa,e)):Ea(Pa),Ca(Pa,n)}var Fa=null,Ba=!1,za=!1;function qa(e){null===Fa?Fa=[e]:Fa.push(e)}function $a(){if(!za&&null!==Fa){za=!0;var e=0,t=vt;try{var n=Fa;for(vt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Fa=null,Ba=!1}catch(a){throw null!==Fa&&(Fa=Fa.slice(e+1)),Ge(Je,$a),a}finally{vt=t,za=!1}}return null}var Ua=[],Wa=0,Ha=null,Va=0,Ga=[],Qa=0,Ka=null,Ya=1,Za="";function Xa(e,t){Ua[Wa++]=Va,Ua[Wa++]=Ha,Ha=e,Va=t}function Ja(e,t,n){Ga[Qa++]=Ya,Ga[Qa++]=Za,Ga[Qa++]=Ka,Ka=e;var r=Ya;e=Za;var a=32-it(r)-1;r&=~(1<<a),n+=1;var o=32-it(t)+a;if(30<o){var i=a-a%5;o=(r&(1<<i)-1).toString(32),r>>=i,a-=i,Ya=1<<32-it(t)+a|n<<a|r,Za=o+e}else Ya=1<<o|n<<a|r,Za=e}function eo(e){null!==e.return&&(Xa(e,1),Ja(e,1,0))}function to(e){for(;e===Ha;)Ha=Ua[--Wa],Ua[Wa]=null,Va=Ua[--Wa],Ua[Wa]=null;for(;e===Ka;)Ka=Ga[--Qa],Ga[Qa]=null,Za=Ga[--Qa],Ga[Qa]=null,Ya=Ga[--Qa],Ga[Qa]=null}var no=null,ro=null,ao=!1,oo=null;function io(e,t){var n=Rc(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function so(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,no=e,ro=ca(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,no=e,ro=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ka?{id:Ya,overflow:Za}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Rc(18,null,null,0)).stateNode=t,n.return=e,e.child=n,no=e,ro=null,!0);default:return!1}}function lo(e){return!(!(1&e.mode)||128&e.flags)}function co(e){if(ao){var t=ro;if(t){var n=t;if(!so(e,t)){if(lo(e))throw Error(o(418));t=ca(n.nextSibling);var r=no;t&&so(e,t)?io(r,n):(e.flags=-4097&e.flags|2,ao=!1,no=e)}}else{if(lo(e))throw Error(o(418));e.flags=-4097&e.flags|2,ao=!1,no=e}}}function uo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;no=e}function fo(e){if(e!==no)return!1;if(!ao)return uo(e),ao=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!na(e.type,e.memoizedProps)),t&&(t=ro)){if(lo(e))throw po(),Error(o(418));for(;t;)io(e,t),t=ca(t.nextSibling)}if(uo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ro=ca(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ro=null}}else ro=no?ca(e.stateNode.nextSibling):null;return!0}function po(){for(var e=ro;e;)e=ca(e.nextSibling)}function ho(){ro=no=null,ao=!1}function go(e){null===oo?oo=[e]:oo.push(e)}var mo=x.ReactCurrentBatchConfig;function bo(e,t){if(e&&e.defaultProps){for(var n in t=D({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var yo=_a(null),vo=null,xo=null,wo=null;function ko(){wo=xo=vo=null}function So(e){var t=yo.current;Ea(yo),e._currentValue=t}function _o(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Eo(e,t){vo=e,wo=xo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&t)&&(xs=!0),e.firstContext=null)}function Co(e){var t=e._currentValue;if(wo!==e)if(e={context:e,memoizedValue:t,next:null},null===xo){if(null===vo)throw Error(o(308));xo=e,vo.dependencies={lanes:0,firstContext:e}}else xo=xo.next=e;return t}var To=null;function Ao(e){null===To?To=[e]:To.push(e)}function Po(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,Ao(t)):(n.next=a.next,a.next=n),t.interleaved=n,No(e,r)}function No(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var jo=!1;function Ro(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Lo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Oo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Mo(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&Pl){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,No(e,n)}return null===(a=r.interleaved)?(t.next=t,Ao(r)):(t.next=a.next,a.next=t),r.interleaved=t,No(e,n)}function Io(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function Do(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?a=o=i:o=o.next=i,n=n.next}while(null!==n);null===o?a=o=t:o=o.next=t}else a=o=t;return n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Fo(e,t,n,r){var a=e.updateQueue;jo=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,s=a.shared.pending;if(null!==s){a.shared.pending=null;var l=s,c=l.next;l.next=null,null===i?o=c:i.next=c,i=l;var u=e.alternate;null!==u&&((s=(u=u.updateQueue).lastBaseUpdate)!==i&&(null===s?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l))}if(null!==o){var d=a.baseState;for(i=0,u=c=l=null,s=o;;){var f=s.lane,p=s.eventTime;if((r&f)===f){null!==u&&(u=u.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,g=s;switch(f=t,p=n,g.tag){case 1:if("function"==typeof(h=g.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=g.payload)?h.call(p,d,f):h))break e;d=D({},d,f);break e;case 2:jo=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(f=a.effects)?a.effects=[s]:f.push(s))}else p={eventTime:p,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===u?(c=u=p,l=d):u=u.next=p,i|=f;if(null===(s=s.next)){if(null===(s=a.shared.pending))break;s=(f=s).next,f.next=null,a.lastBaseUpdate=f,a.shared.pending=null}}if(null===u&&(l=d),a.baseState=l,a.firstBaseUpdate=c,a.lastBaseUpdate=u,null!==(t=a.shared.interleaved)){a=t;do{i|=a.lane,a=a.next}while(a!==t)}else null===o&&(a.shared.lanes=0);Dl|=i,e.lanes=i,e.memoizedState=d}}function Bo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=n,"function"!=typeof a)throw Error(o(191,a));a.call(r)}}}var zo=(new r.Component).refs;function qo(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:D({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var $o={isMounted:function(e){return!!(e=e._reactInternals)&&$e(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tc(),a=nc(e),o=Oo(r,a);o.payload=t,null!=n&&(o.callback=n),null!==(t=Mo(e,o,a))&&(rc(t,e,a,r),Io(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tc(),a=nc(e),o=Oo(r,a);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=Mo(e,o,a))&&(rc(t,e,a,r),Io(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tc(),r=nc(e),a=Oo(n,r);a.tag=2,null!=t&&(a.callback=t),null!==(t=Mo(e,a,r))&&(rc(t,e,r,n),Io(t,e,r))}};function Uo(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||(!lr(n,r)||!lr(a,o))}function Wo(e,t,n){var r=!1,a=Ta,o=t.contextType;return"object"==typeof o&&null!==o?o=Co(o):(a=Ra(t)?Na:Aa.current,o=(r=null!=(r=t.contextTypes))?ja(e,a):Ta),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=$o,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function Ho(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&$o.enqueueReplaceState(t,t.state,null)}function Vo(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=zo,Ro(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=Co(o):(o=Ra(t)?Na:Aa.current,a.context=ja(e,o)),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(qo(e,t,o,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&$o.enqueueReplaceState(a,a.state,null),Fo(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4194308)}function Go(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var a=r,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=a.refs;t===zo&&(t=a.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function Qo(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ko(e){return(0,e._init)(e._payload)}function Yo(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=Oc(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Fc(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function c(e,t,n,r){var o=n.type;return o===S?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===R&&Ko(o)===t.type)?((r=a(t,n.props)).ref=Go(e,t,n),r.return=e,r):((r=Mc(n.type,n.key,n.props,null,e.mode,r)).ref=Go(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Bc(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Ic(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Fc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Mc(t.type,t.key,t.props,null,e.mode,n)).ref=Go(e,null,t),n.return=e,n;case k:return(t=Bc(t,e.mode,n)).return=e,t;case R:return f(e,(0,t._init)(t._payload),n)}if(te(t)||M(t))return(t=Ic(t,e.mode,n,null)).return=e,t;Qo(e,t)}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==a?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===a?c(e,t,n,r):null;case k:return n.key===a?u(e,t,n,r):null;case R:return p(e,t,(a=n._init)(n._payload),r)}if(te(n)||M(n))return null!==a?null:d(e,t,n,r,null);Qo(e,n)}return null}function h(e,t,n,r,a){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case w:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case k:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a);case R:return h(e,t,n,(0,r._init)(r._payload),a)}if(te(r)||M(r))return d(t,e=e.get(n)||null,r,a,null);Qo(t,r)}return null}function g(a,o,s,l){for(var c=null,u=null,d=o,g=o=0,m=null;null!==d&&g<s.length;g++){d.index>g?(m=d,d=null):m=d.sibling;var b=p(a,d,s[g],l);if(null===b){null===d&&(d=m);break}e&&d&&null===b.alternate&&t(a,d),o=i(b,o,g),null===u?c=b:u.sibling=b,u=b,d=m}if(g===s.length)return n(a,d),ao&&Xa(a,g),c;if(null===d){for(;g<s.length;g++)null!==(d=f(a,s[g],l))&&(o=i(d,o,g),null===u?c=d:u.sibling=d,u=d);return ao&&Xa(a,g),c}for(d=r(a,d);g<s.length;g++)null!==(m=h(d,a,g,s[g],l))&&(e&&null!==m.alternate&&d.delete(null===m.key?g:m.key),o=i(m,o,g),null===u?c=m:u.sibling=m,u=m);return e&&d.forEach((function(e){return t(a,e)})),ao&&Xa(a,g),c}function m(a,s,l,c){var u=M(l);if("function"!=typeof u)throw Error(o(150));if(null==(l=u.call(l)))throw Error(o(151));for(var d=u=null,g=s,m=s=0,b=null,y=l.next();null!==g&&!y.done;m++,y=l.next()){g.index>m?(b=g,g=null):b=g.sibling;var v=p(a,g,y.value,c);if(null===v){null===g&&(g=b);break}e&&g&&null===v.alternate&&t(a,g),s=i(v,s,m),null===d?u=v:d.sibling=v,d=v,g=b}if(y.done)return n(a,g),ao&&Xa(a,m),u;if(null===g){for(;!y.done;m++,y=l.next())null!==(y=f(a,y.value,c))&&(s=i(y,s,m),null===d?u=y:d.sibling=y,d=y);return ao&&Xa(a,m),u}for(g=r(a,g);!y.done;m++,y=l.next())null!==(y=h(g,a,m,y.value,c))&&(e&&null!==y.alternate&&g.delete(null===y.key?m:y.key),s=i(y,s,m),null===d?u=y:d.sibling=y,d=y);return e&&g.forEach((function(e){return t(a,e)})),ao&&Xa(a,m),u}return function e(r,o,i,l){if("object"==typeof i&&null!==i&&i.type===S&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case w:e:{for(var c=i.key,u=o;null!==u;){if(u.key===c){if((c=i.type)===S){if(7===u.tag){n(r,u.sibling),(o=a(u,i.props.children)).return=r,r=o;break e}}else if(u.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===R&&Ko(c)===u.type){n(r,u.sibling),(o=a(u,i.props)).ref=Go(r,u,i),o.return=r,r=o;break e}n(r,u);break}t(r,u),u=u.sibling}i.type===S?((o=Ic(i.props.children,r.mode,l,i.key)).return=r,r=o):((l=Mc(i.type,i.key,i.props,null,r.mode,l)).ref=Go(r,o,i),l.return=r,r=l)}return s(r);case k:e:{for(u=i.key;null!==o;){if(o.key===u){if(4===o.tag&&o.stateNode.containerInfo===i.containerInfo&&o.stateNode.implementation===i.implementation){n(r,o.sibling),(o=a(o,i.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=Bc(i,r.mode,l)).return=r,r=o}return s(r);case R:return e(r,o,(u=i._init)(i._payload),l)}if(te(i))return g(r,o,i,l);if(M(i))return m(r,o,i,l);Qo(r,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==o&&6===o.tag?(n(r,o.sibling),(o=a(o,i)).return=r,r=o):(n(r,o),(o=Fc(i,r.mode,l)).return=r,r=o),s(r)):n(r,o)}}var Zo=Yo(!0),Xo=Yo(!1),Jo={},ei=_a(Jo),ti=_a(Jo),ni=_a(Jo);function ri(e){if(e===Jo)throw Error(o(174));return e}function ai(e,t){switch(Ca(ni,t),Ca(ti,e),Ca(ei,Jo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ea(ei),Ca(ei,t)}function oi(){Ea(ei),Ea(ti),Ea(ni)}function ii(e){ri(ni.current);var t=ri(ei.current),n=le(t,e.type);t!==n&&(Ca(ti,e),Ca(ei,n))}function si(e){ti.current===e&&(Ea(ei),Ea(ti))}var li=_a(0);function ci(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ui=[];function di(){for(var e=0;e<ui.length;e++)ui[e]._workInProgressVersionPrimary=null;ui.length=0}var fi=x.ReactCurrentDispatcher,pi=x.ReactCurrentBatchConfig,hi=0,gi=null,mi=null,bi=null,yi=!1,vi=!1,xi=0,wi=0;function ki(){throw Error(o(321))}function Si(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function _i(e,t,n,r,a,i){if(hi=i,gi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fi.current=null===e||null===e.memoizedState?ss:ls,e=n(r,a),vi){i=0;do{if(vi=!1,xi=0,25<=i)throw Error(o(301));i+=1,bi=mi=null,t.updateQueue=null,fi.current=cs,e=n(r,a)}while(vi)}if(fi.current=is,t=null!==mi&&null!==mi.next,hi=0,bi=mi=gi=null,yi=!1,t)throw Error(o(300));return e}function Ei(){var e=0!==xi;return xi=0,e}function Ci(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===bi?gi.memoizedState=bi=e:bi=bi.next=e,bi}function Ti(){if(null===mi){var e=gi.alternate;e=null!==e?e.memoizedState:null}else e=mi.next;var t=null===bi?gi.memoizedState:bi.next;if(null!==t)bi=t,mi=e;else{if(null===e)throw Error(o(310));e={memoizedState:(mi=e).memoizedState,baseState:mi.baseState,baseQueue:mi.baseQueue,queue:mi.queue,next:null},null===bi?gi.memoizedState=bi=e:bi=bi.next=e}return bi}function Ai(e,t){return"function"==typeof t?t(e):t}function Pi(e){var t=Ti(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=mi,a=r.baseQueue,i=n.pending;if(null!==i){if(null!==a){var s=a.next;a.next=i.next,i.next=s}r.baseQueue=a=i,n.pending=null}if(null!==a){i=a.next,r=r.baseState;var l=s=null,c=null,u=i;do{var d=u.lane;if((hi&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(l=c=f,s=r):c=c.next=f,gi.lanes|=d,Dl|=d}u=u.next}while(null!==u&&u!==i);null===c?s=r:c.next=l,sr(r,t.memoizedState)||(xs=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){a=e;do{i=a.lane,gi.lanes|=i,Dl|=i,a=a.next}while(a!==e)}else null===a&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ni(e){var t=Ti(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,i=t.memoizedState;if(null!==a){n.pending=null;var s=a=a.next;do{i=e(i,s.action),s=s.next}while(s!==a);sr(i,t.memoizedState)||(xs=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function ji(){}function Ri(e,t){var n=gi,r=Ti(),a=t(),i=!sr(r.memoizedState,a);if(i&&(r.memoizedState=a,xs=!0),r=r.queue,Wi(Mi.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==bi&&1&bi.memoizedState.tag){if(n.flags|=2048,Bi(9,Oi.bind(null,n,r,a,t),void 0,null),null===Nl)throw Error(o(349));30&hi||Li(n,t,a)}return a}function Li(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=gi.updateQueue)?(t={lastEffect:null,stores:null},gi.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Oi(e,t,n,r){t.value=n,t.getSnapshot=r,Ii(t)&&Di(e)}function Mi(e,t,n){return n((function(){Ii(t)&&Di(e)}))}function Ii(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(r){return!0}}function Di(e){var t=No(e,1);null!==t&&rc(t,e,1,-1)}function Fi(e){var t=Ci();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ai,lastRenderedState:e},t.queue=e,e=e.dispatch=ns.bind(null,gi,e),[t.memoizedState,e]}function Bi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=gi.updateQueue)?(t={lastEffect:null,stores:null},gi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function zi(){return Ti().memoizedState}function qi(e,t,n,r){var a=Ci();gi.flags|=e,a.memoizedState=Bi(1|t,n,void 0,void 0===r?null:r)}function $i(e,t,n,r){var a=Ti();r=void 0===r?null:r;var o=void 0;if(null!==mi){var i=mi.memoizedState;if(o=i.destroy,null!==r&&Si(r,i.deps))return void(a.memoizedState=Bi(t,n,o,r))}gi.flags|=e,a.memoizedState=Bi(1|t,n,o,r)}function Ui(e,t){return qi(8390656,8,e,t)}function Wi(e,t){return $i(2048,8,e,t)}function Hi(e,t){return $i(4,2,e,t)}function Vi(e,t){return $i(4,4,e,t)}function Gi(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Qi(e,t,n){return n=null!=n?n.concat([e]):null,$i(4,4,Gi.bind(null,t,e),n)}function Ki(){}function Yi(e,t){var n=Ti();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Si(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Zi(e,t){var n=Ti();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Si(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Xi(e,t,n){return 21&hi?(sr(n,t)||(n=gt(),gi.lanes|=n,Dl|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,xs=!0),e.memoizedState=n)}function Ji(e,t){var n=vt;vt=0!==n&&4>n?n:4,e(!0);var r=pi.transition;pi.transition={};try{e(!1),t()}finally{vt=n,pi.transition=r}}function es(){return Ti().memoizedState}function ts(e,t,n){var r=nc(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rs(e))as(t,n);else if(null!==(n=Po(e,t,n,r))){rc(n,e,r,tc()),os(n,t,r)}}function ns(e,t,n){var r=nc(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rs(e))as(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,s=o(i,n);if(a.hasEagerState=!0,a.eagerState=s,sr(s,i)){var l=t.interleaved;return null===l?(a.next=a,Ao(t)):(a.next=l.next,l.next=a),void(t.interleaved=a)}}catch(c){}null!==(n=Po(e,t,a,r))&&(rc(n,e,r,a=tc()),os(n,t,r))}}function rs(e){var t=e.alternate;return e===gi||null!==t&&t===gi}function as(e,t){vi=yi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function os(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var is={readContext:Co,useCallback:ki,useContext:ki,useEffect:ki,useImperativeHandle:ki,useInsertionEffect:ki,useLayoutEffect:ki,useMemo:ki,useReducer:ki,useRef:ki,useState:ki,useDebugValue:ki,useDeferredValue:ki,useTransition:ki,useMutableSource:ki,useSyncExternalStore:ki,useId:ki,unstable_isNewReconciler:!1},ss={readContext:Co,useCallback:function(e,t){return Ci().memoizedState=[e,void 0===t?null:t],e},useContext:Co,useEffect:Ui,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,qi(4194308,4,Gi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return qi(4194308,4,e,t)},useInsertionEffect:function(e,t){return qi(4,2,e,t)},useMemo:function(e,t){var n=Ci();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ci();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ts.bind(null,gi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ci().memoizedState=e},useState:Fi,useDebugValue:Ki,useDeferredValue:function(e){return Ci().memoizedState=e},useTransition:function(){var e=Fi(!1),t=e[0];return e=Ji.bind(null,e[1]),Ci().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=gi,a=Ci();if(ao){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===Nl)throw Error(o(349));30&hi||Li(r,t,n)}a.memoizedState=n;var i={value:n,getSnapshot:t};return a.queue=i,Ui(Mi.bind(null,r,i,e),[e]),r.flags|=2048,Bi(9,Oi.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Ci(),t=Nl.identifierPrefix;if(ao){var n=Za;t=":"+t+"R"+(n=(Ya&~(1<<32-it(Ya)-1)).toString(32)+n),0<(n=xi++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=wi++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ls={readContext:Co,useCallback:Yi,useContext:Co,useEffect:Wi,useImperativeHandle:Qi,useInsertionEffect:Hi,useLayoutEffect:Vi,useMemo:Zi,useReducer:Pi,useRef:zi,useState:function(){return Pi(Ai)},useDebugValue:Ki,useDeferredValue:function(e){return Xi(Ti(),mi.memoizedState,e)},useTransition:function(){return[Pi(Ai)[0],Ti().memoizedState]},useMutableSource:ji,useSyncExternalStore:Ri,useId:es,unstable_isNewReconciler:!1},cs={readContext:Co,useCallback:Yi,useContext:Co,useEffect:Wi,useImperativeHandle:Qi,useInsertionEffect:Hi,useLayoutEffect:Vi,useMemo:Zi,useReducer:Ni,useRef:zi,useState:function(){return Ni(Ai)},useDebugValue:Ki,useDeferredValue:function(e){var t=Ti();return null===mi?t.memoizedState=e:Xi(t,mi.memoizedState,e)},useTransition:function(){return[Ni(Ai)[0],Ti().memoizedState]},useMutableSource:ji,useSyncExternalStore:Ri,useId:es,unstable_isNewReconciler:!1};function us(e,t){try{var n="",r=t;do{n+=q(r),r=r.return}while(r);var a=n}catch(o){a="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:a,digest:null}}function ds(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fs(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var ps="function"==typeof WeakMap?WeakMap:Map;function hs(e,t,n){(n=Oo(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Hl||(Hl=!0,Vl=r),fs(0,t)},n}function gs(e,t,n){(n=Oo(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){fs(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){fs(0,t),"function"!=typeof r&&(null===Gl?Gl=new Set([this]):Gl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ms(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new ps;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=Cc.bind(null,e,t,n),t.then(e,e))}function bs(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function ys(e,t,n,r,a){return 1&e.mode?(e.flags|=65536,e.lanes=a,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Oo(-1,1)).tag=2,Mo(n,t,1))),n.lanes|=1),e)}var vs=x.ReactCurrentOwner,xs=!1;function ws(e,t,n,r){t.child=null===e?Xo(t,null,n,r):Zo(t,e.child,n,r)}function ks(e,t,n,r,a){n=n.render;var o=t.ref;return Eo(t,a),r=_i(e,t,n,r,o,a),n=Ei(),null===e||xs?(ao&&n&&eo(t),t.flags|=1,ws(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Hs(e,t,a))}function Ss(e,t,n,r,a){if(null===e){var o=n.type;return"function"!=typeof o||Lc(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Mc(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,_s(e,t,o,r,a))}if(o=e.child,!(e.lanes&a)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(i,r)&&e.ref===t.ref)return Hs(e,t,a)}return t.flags|=1,(e=Oc(o,r)).ref=t.ref,e.return=t,t.child=e}function _s(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(lr(o,r)&&e.ref===t.ref){if(xs=!1,t.pendingProps=r=o,!(e.lanes&a))return t.lanes=e.lanes,Hs(e,t,a);131072&e.flags&&(xs=!0)}}return Ts(e,t,n,r,a)}function Es(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ca(Ol,Ll),Ll|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Ca(Ol,Ll),Ll|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ca(Ol,Ll),Ll|=n;else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Ca(Ol,Ll),Ll|=r;return ws(e,t,a,n),t.child}function Cs(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ts(e,t,n,r,a){var o=Ra(n)?Na:Aa.current;return o=ja(t,o),Eo(t,a),n=_i(e,t,n,r,o,a),r=Ei(),null===e||xs?(ao&&r&&eo(t),t.flags|=1,ws(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Hs(e,t,a))}function As(e,t,n,r,a){if(Ra(n)){var o=!0;Ia(t)}else o=!1;if(Eo(t,a),null===t.stateNode)Ws(e,t),Wo(t,n,r),Vo(t,n,r,a),r=!0;else if(null===e){var i=t.stateNode,s=t.memoizedProps;i.props=s;var l=i.context,c=n.contextType;"object"==typeof c&&null!==c?c=Co(c):c=ja(t,c=Ra(n)?Na:Aa.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==r||l!==c)&&Ho(t,i,r,c),jo=!1;var f=t.memoizedState;i.state=f,Fo(t,r,i,a),l=t.memoizedState,s!==r||f!==l||Pa.current||jo?("function"==typeof u&&(qo(t,n,u,r),l=t.memoizedState),(s=jo||Uo(t,n,s,r,f,l,c))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),i.props=r,i.state=l,i.context=c,r=s):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Lo(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:bo(t.type,s),i.props=c,d=t.pendingProps,f=i.context,"object"==typeof(l=n.contextType)&&null!==l?l=Co(l):l=ja(t,l=Ra(n)?Na:Aa.current);var p=n.getDerivedStateFromProps;(u="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==d||f!==l)&&Ho(t,i,r,l),jo=!1,f=t.memoizedState,i.state=f,Fo(t,r,i,a);var h=t.memoizedState;s!==d||f!==h||Pa.current||jo?("function"==typeof p&&(qo(t,n,p,r),h=t.memoizedState),(c=jo||Uo(t,n,c,r,f,h,l)||!1)?(u||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,l),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,i.context=l,r=c):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Ps(e,t,n,r,o,a)}function Ps(e,t,n,r,a,o){Cs(e,t);var i=!!(128&t.flags);if(!r&&!i)return a&&Da(t,n,!1),Hs(e,t,o);r=t.stateNode,vs.current=t;var s=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Zo(t,e.child,null,o),t.child=Zo(t,null,s,o)):ws(e,t,s,o),t.memoizedState=r.state,a&&Da(t,n,!0),t.child}function Ns(e){var t=e.stateNode;t.pendingContext?Oa(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Oa(0,t.context,!1),ai(e,t.containerInfo)}function js(e,t,n,r,a){return ho(),go(a),t.flags|=256,ws(e,t,n,r),t.child}var Rs,Ls,Os,Ms,Is={dehydrated:null,treeContext:null,retryLane:0};function Ds(e){return{baseLanes:e,cachePool:null,transitions:null}}function Fs(e,t,n){var r,a=t.pendingProps,i=li.current,s=!1,l=!!(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&!!(2&i)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Ca(li,1&i),null===e)return co(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=a.children,e=a.fallback,s?(a=t.mode,s=t.child,l={mode:"hidden",children:l},1&a||null===s?s=Dc(l,a,0,null):(s.childLanes=0,s.pendingProps=l),e=Ic(e,a,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Ds(n),t.memoizedState=Is,e):Bs(t,l));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,a,i,s){if(n)return 256&t.flags?(t.flags&=-257,zs(e,t,s,r=ds(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,a=t.mode,r=Dc({mode:"visible",children:r.children},a,0,null),(i=Ic(i,a,s,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,1&t.mode&&Zo(t,e.child,null,s),t.child.memoizedState=Ds(s),t.memoizedState=Is,i);if(!(1&t.mode))return zs(e,t,s,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var l=r.dgst;return r=l,zs(e,t,s,r=ds(i=Error(o(419)),r,void 0))}if(l=!!(s&e.childLanes),xs||l){if(null!==(r=Nl)){switch(s&-s){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=a&(r.suspendedLanes|s)?0:a)&&a!==i.retryLane&&(i.retryLane=a,No(e,a),rc(r,e,a,-1))}return mc(),zs(e,t,s,r=ds(Error(o(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=Ac.bind(null,e),a._reactRetry=t,null):(e=i.treeContext,ro=ca(a.nextSibling),no=t,ao=!0,oo=null,null!==e&&(Ga[Qa++]=Ya,Ga[Qa++]=Za,Ga[Qa++]=Ka,Ya=e.id,Za=e.overflow,Ka=t),t=Bs(t,r.children),t.flags|=4096,t)}(e,t,l,a,r,i,n);if(s){s=a.fallback,l=t.mode,r=(i=e.child).sibling;var c={mode:"hidden",children:a.children};return 1&l||t.child===i?(a=Oc(i,c)).subtreeFlags=14680064&i.subtreeFlags:((a=t.child).childLanes=0,a.pendingProps=c,t.deletions=null),null!==r?s=Oc(r,s):(s=Ic(s,l,n,null)).flags|=2,s.return=t,a.return=t,a.sibling=s,t.child=a,a=s,s=t.child,l=null===(l=e.child.memoizedState)?Ds(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Is,a}return e=(s=e.child).sibling,a=Oc(s,{mode:"visible",children:a.children}),!(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function Bs(e,t){return(t=Dc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function zs(e,t,n,r){return null!==r&&go(r),Zo(t,e.child,null,n),(e=Bs(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function qs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),_o(e.return,t,n)}function $s(e,t,n,r,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a)}function Us(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(ws(e,t,r.children,n),2&(r=li.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&qs(e,n,t);else if(19===e.tag)qs(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ca(li,r),1&t.mode)switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===ci(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),$s(t,!1,a,n,o);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===ci(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}$s(t,!0,n,null,o);break;case"together":$s(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Ws(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Hs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Dl|=t.lanes,!(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Oc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Oc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Vs(e,t){if(!ao)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Gs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=14680064&a.subtreeFlags,r|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Qs(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Gs(t),null;case 1:case 17:return Ra(t.type)&&La(),Gs(t),null;case 3:return r=t.stateNode,oi(),Ea(Pa),Ea(Aa),di(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fo(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==oo&&(sc(oo),oo=null))),Ls(e,t),Gs(t),null;case 5:si(t);var a=ri(ni.current);if(n=t.type,null!==e&&null!=t.stateNode)Os(e,t,n,r,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return Gs(t),null}if(e=ri(ei.current),fo(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[fa]=t,r[pa]=i,e=!!(1&t.mode),n){case"dialog":Br("cancel",r),Br("close",r);break;case"iframe":case"object":case"embed":Br("load",r);break;case"video":case"audio":for(a=0;a<Mr.length;a++)Br(Mr[a],r);break;case"source":Br("error",r);break;case"img":case"image":case"link":Br("error",r),Br("load",r);break;case"details":Br("toggle",r);break;case"input":Y(r,i),Br("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Br("invalid",r);break;case"textarea":ae(r,i),Br("invalid",r)}for(var l in ye(n,i),a=null,i)if(i.hasOwnProperty(l)){var c=i[l];"children"===l?"string"==typeof c?r.textContent!==c&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,c,e),a=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,c,e),a=["children",""+c]):s.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&Br("scroll",r)}switch(n){case"input":V(r),J(r,i,!0);break;case"textarea":V(r),ie(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=Jr)}r=a,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[fa]=t,e[pa]=r,Rs(e,t,!1,!1),t.stateNode=e;e:{switch(l=ve(n,r),n){case"dialog":Br("cancel",e),Br("close",e),a=r;break;case"iframe":case"object":case"embed":Br("load",e),a=r;break;case"video":case"audio":for(a=0;a<Mr.length;a++)Br(Mr[a],e);a=r;break;case"source":Br("error",e),a=r;break;case"img":case"image":case"link":Br("error",e),Br("load",e),a=r;break;case"details":Br("toggle",e),a=r;break;case"input":Y(e,r),a=K(e,r),Br("invalid",e);break;case"option":default:a=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=D({},r,{value:void 0}),Br("invalid",e);break;case"textarea":ae(e,r),a=re(e,r),Br("invalid",e)}for(i in ye(n,a),c=a)if(c.hasOwnProperty(i)){var u=c[i];"style"===i?me(e,u):"dangerouslySetInnerHTML"===i?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===i?"string"==typeof u?("textarea"!==n||""!==u)&&fe(e,u):"number"==typeof u&&fe(e,""+u):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(s.hasOwnProperty(i)?null!=u&&"onScroll"===i&&Br("scroll",e):null!=u&&v(e,i,u,l))}switch(n){case"input":V(e),J(e,r,!1);break;case"textarea":V(e),ie(e);break;case"option":null!=r.value&&e.setAttribute("value",""+W(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?ne(e,!!r.multiple,i,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof a.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Gs(t),null;case 6:if(e&&null!=t.stateNode)Ms(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(o(166));if(n=ri(ni.current),ri(ei.current),fo(t)){if(r=t.stateNode,n=t.memoizedProps,r[fa]=t,(i=r.nodeValue!==n)&&null!==(e=no))switch(e.tag){case 3:Xr(r.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xr(r.nodeValue,n,!!(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[fa]=t,t.stateNode=r}return Gs(t),null;case 13:if(Ea(li),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ao&&null!==ro&&1&t.mode&&!(128&t.flags))po(),ho(),t.flags|=98560,i=!1;else if(i=fo(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(o(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(o(317));i[fa]=t}else ho(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Gs(t),i=!1}else null!==oo&&(sc(oo),oo=null),i=!0;if(!i)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,1&t.mode&&(null===e||1&li.current?0===Ml&&(Ml=3):mc())),null!==t.updateQueue&&(t.flags|=4),Gs(t),null);case 4:return oi(),Ls(e,t),null===e&&$r(t.stateNode.containerInfo),Gs(t),null;case 10:return So(t.type._context),Gs(t),null;case 19:if(Ea(li),null===(i=t.memoizedState))return Gs(t),null;if(r=!!(128&t.flags),null===(l=i.rendering))if(r)Vs(i,!1);else{if(0!==Ml||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(l=ci(e))){for(t.flags|=128,Vs(i,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(l=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=l.childLanes,i.lanes=l.lanes,i.child=l.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=l.memoizedProps,i.memoizedState=l.memoizedState,i.updateQueue=l.updateQueue,i.type=l.type,e=l.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ca(li,1&li.current|2),t.child}e=e.sibling}null!==i.tail&&Ze()>Ul&&(t.flags|=128,r=!0,Vs(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ci(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Vs(i,!0),null===i.tail&&"hidden"===i.tailMode&&!l.alternate&&!ao)return Gs(t),null}else 2*Ze()-i.renderingStartTime>Ul&&1073741824!==n&&(t.flags|=128,r=!0,Vs(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=i.last)?n.sibling=l:t.child=l,i.last=l)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ze(),t.sibling=null,n=li.current,Ca(li,r?1&n|2:1&n),t):(Gs(t),null);case 22:case 23:return fc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?!!(1073741824&Ll)&&(Gs(t),6&t.subtreeFlags&&(t.flags|=8192)):Gs(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Ks(e,t){switch(to(t),t.tag){case 1:return Ra(t.type)&&La(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return oi(),Ea(Pa),Ea(Aa),di(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return si(t),null;case 13:if(Ea(li),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));ho()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ea(li),null;case 4:return oi(),null;case 10:return So(t.type._context),null;case 22:case 23:return fc(),null;default:return null}}Rs=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ls=function(){},Os=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,ri(ei.current);var o,i=null;switch(n){case"input":a=K(e,a),r=K(e,r),i=[];break;case"select":a=D({},a,{value:void 0}),r=D({},r,{value:void 0}),i=[];break;case"textarea":a=re(e,a),r=re(e,r),i=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=Jr)}for(u in ye(n,r),n=null,a)if(!r.hasOwnProperty(u)&&a.hasOwnProperty(u)&&null!=a[u])if("style"===u){var l=a[u];for(o in l)l.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(s.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var c=r[u];if(l=null!=a?a[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(null!=c||null!=l))if("style"===u)if(l){for(o in l)!l.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in c)c.hasOwnProperty(o)&&l[o]!==c[o]&&(n||(n={}),n[o]=c[o])}else n||(i||(i=[]),i.push(u,n)),n=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(i=i||[]).push(u,c)):"children"===u?"string"!=typeof c&&"number"!=typeof c||(i=i||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(s.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&Br("scroll",e),i||l===c||(i=[])):(i=i||[]).push(u,c))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}},Ms=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ys=!1,Zs=!1,Xs="function"==typeof WeakSet?WeakSet:Set,Js=null;function el(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(r){Ec(e,t,r)}else n.current=null}function tl(e,t,n){try{n()}catch(r){Ec(e,t,r)}}var nl=!1;function rl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,void 0!==o&&tl(t,n,o)}a=a.next}while(a!==r)}}function al(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ol(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function il(e){var t=e.alternate;null!==t&&(e.alternate=null,il(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[fa],delete t[pa],delete t[ga],delete t[ma],delete t[ba])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sl(e){return 5===e.tag||3===e.tag||4===e.tag}function ll(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||sl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function cl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}function ul(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(ul(e,t,n),e=e.sibling;null!==e;)ul(e,t,n),e=e.sibling}var dl=null,fl=!1;function pl(e,t,n){for(n=n.child;null!==n;)hl(e,t,n),n=n.sibling}function hl(e,t,n){if(ot&&"function"==typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(at,n)}catch(s){}switch(n.tag){case 5:Zs||el(n,t);case 6:var r=dl,a=fl;dl=null,pl(e,t,n),fl=a,null!==(dl=r)&&(fl?(e=dl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):dl.removeChild(n.stateNode));break;case 18:null!==dl&&(fl?(e=dl,n=n.stateNode,8===e.nodeType?la(e.parentNode,n):1===e.nodeType&&la(e,n),$t(e)):la(dl,n.stateNode));break;case 4:r=dl,a=fl,dl=n.stateNode.containerInfo,fl=!0,pl(e,t,n),dl=r,fl=a;break;case 0:case 11:case 14:case 15:if(!Zs&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){a=r=r.next;do{var o=a,i=o.destroy;o=o.tag,void 0!==i&&(2&o||4&o)&&tl(n,t,i),a=a.next}while(a!==r)}pl(e,t,n);break;case 1:if(!Zs&&(el(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Ec(n,t,s)}pl(e,t,n);break;case 21:pl(e,t,n);break;case 22:1&n.mode?(Zs=(r=Zs)||null!==n.memoizedState,pl(e,t,n),Zs=r):pl(e,t,n);break;default:pl(e,t,n)}}function gl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Xs),t.forEach((function(t){var r=Pc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function ml(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];try{var i=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:dl=l.stateNode,fl=!1;break e;case 3:case 4:dl=l.stateNode.containerInfo,fl=!0;break e}l=l.return}if(null===dl)throw Error(o(160));hl(i,s,a),dl=null,fl=!1;var c=a.alternate;null!==c&&(c.return=null),a.return=null}catch(u){Ec(a,t,u)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)bl(t,e),t=t.sibling}function bl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ml(t,e),yl(e),4&r){try{rl(3,e,e.return),al(3,e)}catch(m){Ec(e,e.return,m)}try{rl(5,e,e.return)}catch(m){Ec(e,e.return,m)}}break;case 1:ml(t,e),yl(e),512&r&&null!==n&&el(n,n.return);break;case 5:if(ml(t,e),yl(e),512&r&&null!==n&&el(n,n.return),32&e.flags){var a=e.stateNode;try{fe(a,"")}catch(m){Ec(e,e.return,m)}}if(4&r&&null!=(a=e.stateNode)){var i=e.memoizedProps,s=null!==n?n.memoizedProps:i,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===i.type&&null!=i.name&&Z(a,i),ve(l,s);var u=ve(l,i);for(s=0;s<c.length;s+=2){var d=c[s],f=c[s+1];"style"===d?me(a,f):"dangerouslySetInnerHTML"===d?de(a,f):"children"===d?fe(a,f):v(a,d,f,u)}switch(l){case"input":X(a,i);break;case"textarea":oe(a,i);break;case"select":var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!i.multiple;var h=i.value;null!=h?ne(a,!!i.multiple,h,!1):p!==!!i.multiple&&(null!=i.defaultValue?ne(a,!!i.multiple,i.defaultValue,!0):ne(a,!!i.multiple,i.multiple?[]:"",!1))}a[pa]=i}catch(m){Ec(e,e.return,m)}}break;case 6:if(ml(t,e),yl(e),4&r){if(null===e.stateNode)throw Error(o(162));a=e.stateNode,i=e.memoizedProps;try{a.nodeValue=i}catch(m){Ec(e,e.return,m)}}break;case 3:if(ml(t,e),yl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{$t(t.containerInfo)}catch(m){Ec(e,e.return,m)}break;case 4:default:ml(t,e),yl(e);break;case 13:ml(t,e),yl(e),8192&(a=e.child).flags&&(i=null!==a.memoizedState,a.stateNode.isHidden=i,!i||null!==a.alternate&&null!==a.alternate.memoizedState||($l=Ze())),4&r&&gl(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Zs=(u=Zs)||d,ml(t,e),Zs=u):ml(t,e),yl(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&1&e.mode)for(Js=e,d=e.child;null!==d;){for(f=Js=d;null!==Js;){switch(h=(p=Js).child,p.tag){case 0:case 11:case 14:case 15:rl(4,p,p.return);break;case 1:el(p,p.return);var g=p.stateNode;if("function"==typeof g.componentWillUnmount){r=p,n=p.return;try{t=r,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(m){Ec(r,n,m)}}break;case 5:el(p,p.return);break;case 22:if(null!==p.memoizedState){kl(f);continue}}null!==h?(h.return=p,Js=h):kl(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{a=f.stateNode,u?"function"==typeof(i=a.style).setProperty?i.setProperty("display","none","important"):i.display="none":(l=f.stateNode,s=null!=(c=f.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,l.style.display=ge("display",s))}catch(m){Ec(e,e.return,m)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(m){Ec(e,e.return,m)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:ml(t,e),yl(e),4&r&&gl(e);case 21:}}function yl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(sl(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var a=r.stateNode;32&r.flags&&(fe(a,""),r.flags&=-33),ul(e,ll(e),a);break;case 3:case 4:var i=r.stateNode.containerInfo;cl(e,ll(e),i);break;default:throw Error(o(161))}}catch(s){Ec(e,e.return,s)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function vl(e,t,n){Js=e,xl(e,t,n)}function xl(e,t,n){for(var r=!!(1&e.mode);null!==Js;){var a=Js,o=a.child;if(22===a.tag&&r){var i=null!==a.memoizedState||Ys;if(!i){var s=a.alternate,l=null!==s&&null!==s.memoizedState||Zs;s=Ys;var c=Zs;if(Ys=i,(Zs=l)&&!c)for(Js=a;null!==Js;)l=(i=Js).child,22===i.tag&&null!==i.memoizedState?Sl(a):null!==l?(l.return=i,Js=l):Sl(a);for(;null!==o;)Js=o,xl(o,t,n),o=o.sibling;Js=a,Ys=s,Zs=c}wl(e)}else 8772&a.subtreeFlags&&null!==o?(o.return=a,Js=o):wl(e)}}function wl(e){for(;null!==Js;){var t=Js;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Zs||al(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Zs)if(null===n)r.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:bo(t.type,n.memoizedProps);r.componentDidUpdate(a,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Bo(t,i,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Bo(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&$t(f)}}}break;default:throw Error(o(163))}Zs||512&t.flags&&ol(t)}catch(p){Ec(t,t.return,p)}}if(t===e){Js=null;break}if(null!==(n=t.sibling)){n.return=t.return,Js=n;break}Js=t.return}}function kl(e){for(;null!==Js;){var t=Js;if(t===e){Js=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Js=n;break}Js=t.return}}function Sl(e){for(;null!==Js;){var t=Js;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{al(4,t)}catch(l){Ec(t,n,l)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var a=t.return;try{r.componentDidMount()}catch(l){Ec(t,a,l)}}var o=t.return;try{ol(t)}catch(l){Ec(t,o,l)}break;case 5:var i=t.return;try{ol(t)}catch(l){Ec(t,i,l)}}}catch(l){Ec(t,t.return,l)}if(t===e){Js=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Js=s;break}Js=t.return}}var _l,El=Math.ceil,Cl=x.ReactCurrentDispatcher,Tl=x.ReactCurrentOwner,Al=x.ReactCurrentBatchConfig,Pl=0,Nl=null,jl=null,Rl=0,Ll=0,Ol=_a(0),Ml=0,Il=null,Dl=0,Fl=0,Bl=0,zl=null,ql=null,$l=0,Ul=1/0,Wl=null,Hl=!1,Vl=null,Gl=null,Ql=!1,Kl=null,Yl=0,Zl=0,Xl=null,Jl=-1,ec=0;function tc(){return 6&Pl?Ze():-1!==Jl?Jl:Jl=Ze()}function nc(e){return 1&e.mode?2&Pl&&0!==Rl?Rl&-Rl:null!==mo.transition?(0===ec&&(ec=gt()),ec):0!==(e=vt)?e:e=void 0===(e=window.event)?16:Yt(e.type):1}function rc(e,t,n,r){if(50<Zl)throw Zl=0,Xl=null,Error(o(185));bt(e,n,r),2&Pl&&e===Nl||(e===Nl&&(!(2&Pl)&&(Fl|=n),4===Ml&&lc(e,Rl)),ac(e,r),1===n&&0===Pl&&!(1&t.mode)&&(Ul=Ze()+500,Ba&&$a()))}function ac(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-it(o),s=1<<i,l=a[i];-1===l?s&n&&!(s&r)||(a[i]=pt(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}}(e,t);var r=ft(e,e===Nl?Rl:0);if(0===r)null!==n&&Qe(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Qe(n),1===t)0===e.tag?function(e){Ba=!0,qa(e)}(cc.bind(null,e)):qa(cc.bind(null,e)),ia((function(){!(6&Pl)&&$a()})),n=null;else{switch(xt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Nc(n,oc.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function oc(e,t){if(Jl=-1,ec=0,6&Pl)throw Error(o(327));var n=e.callbackNode;if(Sc()&&e.callbackNode!==n)return null;var r=ft(e,e===Nl?Rl:0);if(0===r)return null;if(30&r||r&e.expiredLanes||t)t=bc(e,r);else{t=r;var a=Pl;Pl|=2;var i=gc();for(Nl===e&&Rl===t||(Wl=null,Ul=Ze()+500,pc(e,t));;)try{vc();break}catch(l){hc(e,l)}ko(),Cl.current=i,Pl=a,null!==jl?t=0:(Nl=null,Rl=0,t=Ml)}if(0!==t){if(2===t&&(0!==(a=ht(e))&&(r=a,t=ic(e,a))),1===t)throw n=Il,pc(e,0),lc(e,r),ac(e,Ze()),n;if(6===t)lc(e,r);else{if(a=e.current.alternate,!(30&r||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],o=a.getSnapshot;a=a.value;try{if(!sr(o(),a))return!1}catch(s){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)||(t=bc(e,r),2===t&&(i=ht(e),0!==i&&(r=i,t=ic(e,i))),1!==t)))throw n=Il,pc(e,0),lc(e,r),ac(e,Ze()),n;switch(e.finishedWork=a,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:kc(e,ql,Wl);break;case 3:if(lc(e,r),(130023424&r)===r&&10<(t=$l+500-Ze())){if(0!==ft(e,0))break;if(((a=e.suspendedLanes)&r)!==r){tc(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=ra(kc.bind(null,e,ql,Wl),t);break}kc(e,ql,Wl);break;case 4:if(lc(e,r),(4194240&r)===r)break;for(t=e.eventTimes,a=-1;0<r;){var s=31-it(r);i=1<<s,(s=t[s])>a&&(a=s),r&=~i}if(r=a,10<(r=(120>(r=Ze()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*El(r/1960))-r)){e.timeoutHandle=ra(kc.bind(null,e,ql,Wl),r);break}kc(e,ql,Wl);break;default:throw Error(o(329))}}}return ac(e,Ze()),e.callbackNode===n?oc.bind(null,e):null}function ic(e,t){var n=zl;return e.current.memoizedState.isDehydrated&&(pc(e,t).flags|=256),2!==(e=bc(e,t))&&(t=ql,ql=n,null!==t&&sc(t)),e}function sc(e){null===ql?ql=e:ql.push.apply(ql,e)}function lc(e,t){for(t&=~Bl,t&=~Fl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-it(t),r=1<<n;e[n]=-1,t&=~r}}function cc(e){if(6&Pl)throw Error(o(327));Sc();var t=ft(e,0);if(!(1&t))return ac(e,Ze()),null;var n=bc(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=ic(e,r))}if(1===n)throw n=Il,pc(e,0),lc(e,t),ac(e,Ze()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,kc(e,ql,Wl),ac(e,Ze()),null}function uc(e,t){var n=Pl;Pl|=1;try{return e(t)}finally{0===(Pl=n)&&(Ul=Ze()+500,Ba&&$a())}}function dc(e){null!==Kl&&0===Kl.tag&&!(6&Pl)&&Sc();var t=Pl;Pl|=1;var n=Al.transition,r=vt;try{if(Al.transition=null,vt=1,e)return e()}finally{vt=r,Al.transition=n,!(6&(Pl=t))&&$a()}}function fc(){Ll=Ol.current,Ea(Ol)}function pc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,aa(n)),null!==jl)for(n=jl.return;null!==n;){var r=n;switch(to(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&La();break;case 3:oi(),Ea(Pa),Ea(Aa),di();break;case 5:si(r);break;case 4:oi();break;case 13:case 19:Ea(li);break;case 10:So(r.type._context);break;case 22:case 23:fc()}n=n.return}if(Nl=e,jl=e=Oc(e.current,null),Rl=Ll=t,Ml=0,Il=null,Bl=Fl=Dl=0,ql=zl=null,null!==To){for(t=0;t<To.length;t++)if(null!==(r=(n=To[t]).interleaved)){n.interleaved=null;var a=r.next,o=n.pending;if(null!==o){var i=o.next;o.next=a,r.next=i}n.pending=r}To=null}return e}function hc(e,t){for(;;){var n=jl;try{if(ko(),fi.current=is,yi){for(var r=gi.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}yi=!1}if(hi=0,bi=mi=gi=null,vi=!1,xi=0,Tl.current=null,null===n||null===n.return){Ml=1,Il=t,jl=null;break}e:{var i=e,s=n.return,l=n,c=t;if(t=Rl,l.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var u=c,d=l,f=d.tag;if(!(1&d.mode||0!==f&&11!==f&&15!==f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=bs(s);if(null!==h){h.flags&=-257,ys(h,s,l,0,t),1&h.mode&&ms(i,u,t),c=u;var g=(t=h).updateQueue;if(null===g){var m=new Set;m.add(c),t.updateQueue=m}else g.add(c);break e}if(!(1&t)){ms(i,u,t),mc();break e}c=Error(o(426))}else if(ao&&1&l.mode){var b=bs(s);if(null!==b){!(65536&b.flags)&&(b.flags|=256),ys(b,s,l,0,t),go(us(c,l));break e}}i=c=us(c,l),4!==Ml&&(Ml=2),null===zl?zl=[i]:zl.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Do(i,hs(0,c,t));break e;case 1:l=c;var y=i.type,v=i.stateNode;if(!(128&i.flags||"function"!=typeof y.getDerivedStateFromError&&(null===v||"function"!=typeof v.componentDidCatch||null!==Gl&&Gl.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t,Do(i,gs(i,l,t));break e}}i=i.return}while(null!==i)}wc(n)}catch(x){t=x,jl===n&&null!==n&&(jl=n=n.return);continue}break}}function gc(){var e=Cl.current;return Cl.current=is,null===e?is:e}function mc(){0!==Ml&&3!==Ml&&2!==Ml||(Ml=4),null===Nl||!(268435455&Dl)&&!(268435455&Fl)||lc(Nl,Rl)}function bc(e,t){var n=Pl;Pl|=2;var r=gc();for(Nl===e&&Rl===t||(Wl=null,pc(e,t));;)try{yc();break}catch(a){hc(e,a)}if(ko(),Pl=n,Cl.current=r,null!==jl)throw Error(o(261));return Nl=null,Rl=0,Ml}function yc(){for(;null!==jl;)xc(jl)}function vc(){for(;null!==jl&&!Ke();)xc(jl)}function xc(e){var t=_l(e.alternate,e,Ll);e.memoizedProps=e.pendingProps,null===t?wc(e):jl=t,Tl.current=null}function wc(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Ks(n,t)))return n.flags&=32767,void(jl=n);if(null===e)return Ml=6,void(jl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=Qs(n,t,Ll)))return void(jl=n);if(null!==(t=t.sibling))return void(jl=t);jl=t=e}while(null!==t);0===Ml&&(Ml=5)}function kc(e,t,n){var r=vt,a=Al.transition;try{Al.transition=null,vt=1,function(e,t,n,r){do{Sc()}while(null!==Kl);if(6&Pl)throw Error(o(327));n=e.finishedWork;var a=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var a=31-it(n),o=1<<a;t[a]=0,r[a]=-1,e[a]=-1,n&=~o}}(e,i),e===Nl&&(jl=Nl=null,Rl=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||Ql||(Ql=!0,Nc(tt,(function(){return Sc(),null}))),i=!!(15990&n.flags),!!(15990&n.subtreeFlags)||i){i=Al.transition,Al.transition=null;var s=vt;vt=1;var l=Pl;Pl|=4,Tl.current=null,function(e,t){if(ea=Wt,pr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(w){n=null;break e}var s=0,l=-1,c=-1,u=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||0!==a&&3!==f.nodeType||(l=s+a),f!==i||0!==r&&3!==f.nodeType||(c=s+r),3===f.nodeType&&(s+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++u===a&&(l=s),p===i&&++d===r&&(c=s),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(ta={focusedElem:e,selectionRange:n},Wt=!1,Js=t;null!==Js;)if(e=(t=Js).child,1028&t.subtreeFlags&&null!==e)e.return=t,Js=e;else for(;null!==Js;){t=Js;try{var g=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==g){var m=g.memoizedProps,b=g.memoizedState,y=t.stateNode,v=y.getSnapshotBeforeUpdate(t.elementType===t.type?m:bo(t.type,m),b);y.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var x=t.stateNode.containerInfo;1===x.nodeType?x.textContent="":9===x.nodeType&&x.documentElement&&x.removeChild(x.documentElement);break;default:throw Error(o(163))}}catch(w){Ec(t,t.return,w)}if(null!==(e=t.sibling)){e.return=t.return,Js=e;break}Js=t.return}g=nl,nl=!1}(e,n),bl(n,e),hr(ta),Wt=!!ea,ta=ea=null,e.current=n,vl(n,e,a),Ye(),Pl=l,vt=s,Al.transition=i}else e.current=n;if(Ql&&(Ql=!1,Kl=e,Yl=a),i=e.pendingLanes,0===i&&(Gl=null),function(e){if(ot&&"function"==typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(at,e,void 0,!(128&~e.current.flags))}catch(t){}}(n.stateNode),ac(e,Ze()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],r(a.value,{componentStack:a.stack,digest:a.digest});if(Hl)throw Hl=!1,e=Vl,Vl=null,e;!!(1&Yl)&&0!==e.tag&&Sc(),i=e.pendingLanes,1&i?e===Xl?Zl++:(Zl=0,Xl=e):Zl=0,$a()}(e,t,n,r)}finally{Al.transition=a,vt=r}return null}function Sc(){if(null!==Kl){var e=xt(Yl),t=Al.transition,n=vt;try{if(Al.transition=null,vt=16>e?16:e,null===Kl)var r=!1;else{if(e=Kl,Kl=null,Yl=0,6&Pl)throw Error(o(331));var a=Pl;for(Pl|=4,Js=e.current;null!==Js;){var i=Js,s=i.child;if(16&Js.flags){var l=i.deletions;if(null!==l){for(var c=0;c<l.length;c++){var u=l[c];for(Js=u;null!==Js;){var d=Js;switch(d.tag){case 0:case 11:case 15:rl(8,d,i)}var f=d.child;if(null!==f)f.return=d,Js=f;else for(;null!==Js;){var p=(d=Js).sibling,h=d.return;if(il(d),d===u){Js=null;break}if(null!==p){p.return=h,Js=p;break}Js=h}}}var g=i.alternate;if(null!==g){var m=g.child;if(null!==m){g.child=null;do{var b=m.sibling;m.sibling=null,m=b}while(null!==m)}}Js=i}}if(2064&i.subtreeFlags&&null!==s)s.return=i,Js=s;else e:for(;null!==Js;){if(2048&(i=Js).flags)switch(i.tag){case 0:case 11:case 15:rl(9,i,i.return)}var y=i.sibling;if(null!==y){y.return=i.return,Js=y;break e}Js=i.return}}var v=e.current;for(Js=v;null!==Js;){var x=(s=Js).child;if(2064&s.subtreeFlags&&null!==x)x.return=s,Js=x;else e:for(s=v;null!==Js;){if(2048&(l=Js).flags)try{switch(l.tag){case 0:case 11:case 15:al(9,l)}}catch(k){Ec(l,l.return,k)}if(l===s){Js=null;break e}var w=l.sibling;if(null!==w){w.return=l.return,Js=w;break e}Js=l.return}}if(Pl=a,$a(),ot&&"function"==typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(at,e)}catch(k){}r=!0}return r}finally{vt=n,Al.transition=t}}return!1}function _c(e,t,n){e=Mo(e,t=hs(0,t=us(n,t),1),1),t=tc(),null!==e&&(bt(e,1,t),ac(e,t))}function Ec(e,t,n){if(3===e.tag)_c(e,e,n);else for(;null!==t;){if(3===t.tag){_c(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Gl||!Gl.has(r))){t=Mo(t,e=gs(t,e=us(n,e),1),1),e=tc(),null!==t&&(bt(t,1,e),ac(t,e));break}}t=t.return}}function Cc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tc(),e.pingedLanes|=e.suspendedLanes&n,Nl===e&&(Rl&n)===n&&(4===Ml||3===Ml&&(130023424&Rl)===Rl&&500>Ze()-$l?pc(e,0):Bl|=n),ac(e,t)}function Tc(e,t){0===t&&(1&e.mode?(t=ut,!(130023424&(ut<<=1))&&(ut=4194304)):t=1);var n=tc();null!==(e=No(e,t))&&(bt(e,t,n),ac(e,n))}function Ac(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Tc(e,n)}function Pc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),Tc(e,n)}function Nc(e,t){return Ge(e,t)}function jc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Rc(e,t,n,r){return new jc(e,t,n,r)}function Lc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Oc(e,t){var n=e.alternate;return null===n?((n=Rc(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Mc(e,t,n,r,a,i){var s=2;if(r=e,"function"==typeof e)Lc(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case S:return Ic(n.children,a,i,t);case _:s=8,a|=8;break;case E:return(e=Rc(12,n,t,2|a)).elementType=E,e.lanes=i,e;case P:return(e=Rc(13,n,t,a)).elementType=P,e.lanes=i,e;case N:return(e=Rc(19,n,t,a)).elementType=N,e.lanes=i,e;case L:return Dc(n,a,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case C:s=10;break e;case T:s=9;break e;case A:s=11;break e;case j:s=14;break e;case R:s=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Rc(s,n,t,a)).elementType=e,t.type=r,t.lanes=i,t}function Ic(e,t,n,r){return(e=Rc(7,e,r,t)).lanes=n,e}function Dc(e,t,n,r){return(e=Rc(22,e,r,t)).elementType=L,e.lanes=n,e.stateNode={isHidden:!1},e}function Fc(e,t,n){return(e=Rc(6,e,null,t)).lanes=n,e}function Bc(e,t,n){return(t=Rc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zc(e,t,n,r,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=mt(0),this.expirationTimes=mt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mt(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function qc(e,t,n,r,a,o,i,s,l){return e=new zc(e,t,n,s,l),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Rc(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ro(o),e}function $c(e){if(!e)return Ta;e:{if($e(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ra(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(Ra(n))return Ma(e,n,t)}return t}function Uc(e,t,n,r,a,o,i,s,l){return(e=qc(n,r,!0,e,0,o,0,s,l)).context=$c(null),n=e.current,(o=Oo(r=tc(),a=nc(n))).callback=null!=t?t:null,Mo(n,o,a),e.current.lanes=a,bt(e,a,r),ac(e,r),e}function Wc(e,t,n,r){var a=t.current,o=tc(),i=nc(a);return n=$c(n),null===t.context?t.context=n:t.pendingContext=n,(t=Oo(o,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Mo(a,t,i))&&(rc(e,a,i,o),Io(e,a,i)),i}function Hc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Vc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Gc(e,t){Vc(e,t),(e=e.alternate)&&Vc(e,t)}_l=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Pa.current)xs=!0;else{if(!(e.lanes&n||128&t.flags))return xs=!1,function(e,t,n){switch(t.tag){case 3:Ns(t),ho();break;case 5:ii(t);break;case 1:Ra(t.type)&&Ia(t);break;case 4:ai(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;Ca(yo,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Ca(li,1&li.current),t.flags|=128,null):n&t.child.childLanes?Fs(e,t,n):(Ca(li,1&li.current),null!==(e=Hs(e,t,n))?e.sibling:null);Ca(li,1&li.current);break;case 19:if(r=!!(n&t.childLanes),128&e.flags){if(r)return Us(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),Ca(li,li.current),r)break;return null;case 22:case 23:return t.lanes=0,Es(e,t,n)}return Hs(e,t,n)}(e,t,n);xs=!!(131072&e.flags)}else xs=!1,ao&&1048576&t.flags&&Ja(t,Va,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ws(e,t),e=t.pendingProps;var a=ja(t,Aa.current);Eo(t,n),a=_i(null,t,r,e,a,n);var i=Ei();return t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ra(r)?(i=!0,Ia(t)):i=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,Ro(t),a.updater=$o,t.stateNode=a,a._reactInternals=t,Vo(t,r,e,n),t=Ps(null,t,r,!0,i,n)):(t.tag=0,ao&&i&&eo(t),ws(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ws(e,t),e=t.pendingProps,r=(a=r._init)(r._payload),t.type=r,a=t.tag=function(e){if("function"==typeof e)return Lc(e)?1:0;if(null!=e){if((e=e.$$typeof)===A)return 11;if(e===j)return 14}return 2}(r),e=bo(r,e),a){case 0:t=Ts(null,t,r,e,n);break e;case 1:t=As(null,t,r,e,n);break e;case 11:t=ks(null,t,r,e,n);break e;case 14:t=Ss(null,t,r,bo(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,Ts(e,t,r,a=t.elementType===r?a:bo(r,a),n);case 1:return r=t.type,a=t.pendingProps,As(e,t,r,a=t.elementType===r?a:bo(r,a),n);case 3:e:{if(Ns(t),null===e)throw Error(o(387));r=t.pendingProps,a=(i=t.memoizedState).element,Lo(e,t),Fo(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=js(e,t,r,n,a=us(Error(o(423)),t));break e}if(r!==a){t=js(e,t,r,n,a=us(Error(o(424)),t));break e}for(ro=ca(t.stateNode.containerInfo.firstChild),no=t,ao=!0,oo=null,n=Xo(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(ho(),r===a){t=Hs(e,t,n);break e}ws(e,t,r,n)}t=t.child}return t;case 5:return ii(t),null===e&&co(t),r=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,s=a.children,na(r,a)?s=null:null!==i&&na(r,i)&&(t.flags|=32),Cs(e,t),ws(e,t,s,n),t.child;case 6:return null===e&&co(t),null;case 13:return Fs(e,t,n);case 4:return ai(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Zo(t,null,r,n):ws(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,ks(e,t,r,a=t.elementType===r?a:bo(r,a),n);case 7:return ws(e,t,t.pendingProps,n),t.child;case 8:case 12:return ws(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,i=t.memoizedProps,s=a.value,Ca(yo,r._currentValue),r._currentValue=s,null!==i)if(sr(i.value,s)){if(i.children===a.children&&!Pa.current){t=Hs(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var l=i.dependencies;if(null!==l){s=i.child;for(var c=l.firstContext;null!==c;){if(c.context===r){if(1===i.tag){(c=Oo(-1,n&-n)).tag=2;var u=i.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}i.lanes|=n,null!==(c=i.alternate)&&(c.lanes|=n),_o(i.return,n,t),l.lanes|=n;break}c=c.next}}else if(10===i.tag)s=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(s=i.return))throw Error(o(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),_o(s,n,t),s=i.sibling}else s=i.child;if(null!==s)s.return=i;else for(s=i;null!==s;){if(s===t){s=null;break}if(null!==(i=s.sibling)){i.return=s.return,s=i;break}s=s.return}i=s}ws(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,Eo(t,n),r=r(a=Co(a)),t.flags|=1,ws(e,t,r,n),t.child;case 14:return a=bo(r=t.type,t.pendingProps),Ss(e,t,r,a=bo(r.type,a),n);case 15:return _s(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:bo(r,a),Ws(e,t),t.tag=1,Ra(r)?(e=!0,Ia(t)):e=!1,Eo(t,n),Wo(t,r,a),Vo(t,r,a,n),Ps(null,t,r,!0,e,n);case 19:return Us(e,t,n);case 22:return Es(e,t,n)}throw Error(o(156,t.tag))};var Qc="function"==typeof reportError?reportError:function(e){console.error(e)};function Kc(e){this._internalRoot=e}function Yc(e){this._internalRoot=e}function Zc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Xc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Jc(){}function eu(e,t,n,r,a){var o=n._reactRootContainer;if(o){var i=o;if("function"==typeof a){var s=a;a=function(){var e=Hc(i);s.call(e)}}Wc(t,i,e,a)}else i=function(e,t,n,r,a){if(a){if("function"==typeof r){var o=r;r=function(){var e=Hc(i);o.call(e)}}var i=Uc(t,r,e,0,null,!1,0,"",Jc);return e._reactRootContainer=i,e[ha]=i.current,$r(8===e.nodeType?e.parentNode:e),dc(),i}for(;a=e.lastChild;)e.removeChild(a);if("function"==typeof r){var s=r;r=function(){var e=Hc(l);s.call(e)}}var l=qc(e,0,!1,null,0,!1,0,"",Jc);return e._reactRootContainer=l,e[ha]=l.current,$r(8===e.nodeType?e.parentNode:e),dc((function(){Wc(t,l,n,r)})),l}(n,t,e,a,r);return Hc(i)}Yc.prototype.render=Kc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));Wc(e,t,null,null)},Yc.prototype.unmount=Kc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;dc((function(){Wc(null,e,null,null)})),t[ha]=null}},Yc.prototype.unstable_scheduleHydration=function(e){if(e){var t=_t();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Lt.length&&0!==t&&t<Lt[n].priority;n++);Lt.splice(n,0,e),0===n&&Dt(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(yt(t,1|n),ac(t,Ze()),!(6&Pl)&&(Ul=Ze()+500,$a()))}break;case 13:dc((function(){var t=No(e,1);if(null!==t){var n=tc();rc(t,e,1,n)}})),Gc(e,1)}},kt=function(e){if(13===e.tag){var t=No(e,134217728);if(null!==t)rc(t,e,134217728,tc());Gc(e,134217728)}},St=function(e){if(13===e.tag){var t=nc(e),n=No(e,t);if(null!==n)rc(n,e,t,tc());Gc(e,t)}},_t=function(){return vt},Et=function(e,t){var n=vt;try{return vt=e,t()}finally{vt=n}},ke=function(e,t,n){switch(t){case"input":if(X(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=wa(r);if(!a)throw Error(o(90));G(r),X(r,a)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Ae=uc,Pe=dc;var tu={usingClientEntryPoint:!1,Events:[va,xa,wa,Ce,Te,uc]},nu={findFiberByHostInstance:ya,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},ru={bundleType:nu.bundleType,version:nu.version,rendererPackageName:nu.rendererPackageName,rendererConfig:nu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=He(e))?null:e.stateNode},findFiberByHostInstance:nu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var au=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!au.isDisabled&&au.supportsFiber)try{at=au.inject(ru),ot=au}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tu,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Zc(t))throw Error(o(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:k,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Zc(e))throw Error(o(299));var n=!1,r="",a=Qc;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=qc(e,1,!1,null,0,n,0,r,a),e[ha]=t.current,$r(8===e.nodeType?e.parentNode:e),new Kc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return e=null===(e=He(t))?null:e.stateNode},t.flushSync=function(e){return dc(e)},t.hydrate=function(e,t,n){if(!Xc(t))throw Error(o(200));return eu(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Zc(e))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,a=!1,i="",s=Qc;if(null!=n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Uc(t,null,e,1,null!=n?n:null,a,0,i,s),e[ha]=t.current,$r(e),r)for(e=0;e<r.length;e++)a=(a=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new Yc(t)},t.render=function(e,t,n){if(!Xc(t))throw Error(o(200));return eu(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Xc(e))throw Error(o(40));return!!e._reactRootContainer&&(dc((function(){eu(null,null,e,!1,(function(){e._reactRootContainer=null,e[ha]=null}))})),!0)},t.unstable_batchedUpdates=uc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Xc(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return eu(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},5338:(e,t,n)=>{"use strict";var r=n(961);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},961:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(2551)},115:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var s,l,c,u;if(Array.isArray(e)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(!o(e[l],i[l]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!i.has(l.value[0]))return!1;for(u=e.entries();!(l=u.next()).done;)if(!o(l.value[1],i.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!i.has(l.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(e[l]!==i[l])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof i.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof i.toString)return e.toString()===i.toString();if((s=(c=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(i,c[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!e.$$typeof)&&!o(e[c[l]],i[c[l]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return o(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},545:(e,t,n)=>{"use strict";n.d(t,{mg:()=>J,vd:()=>H});var r=n(6540),a=n(5556),o=n.n(a),i=n(115),s=n.n(i),l=n(311),c=n.n(l),u=n(2833),d=n.n(u);function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}function p(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function g(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(a[n]=e[n]);return a}var m={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},b={rel:["amphtml","canonical","alternate"]},y={type:["application/ld+json"]},v={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},x=Object.keys(m).map((function(e){return m[e]})),w={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},k=Object.keys(w).reduce((function(e,t){return e[w[t]]=t,e}),{}),S=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},_=function(e){var t=S(e,m.TITLE),n=S(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,(function(){return t}));var r=S(e,"defaultTitle");return t||r||void 0},E=function(e){return S(e,"onChangeClientState")||function(){}},C=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return f({},e,t)}),{})},T=function(e,t){return t.filter((function(e){return void 0!==e[m.BASE]})).map((function(e){return e[m.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),a=0;a<r.length;a+=1){var o=r[a].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t}),[])},A=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var a={};n.filter((function(e){for(var n,o=Object.keys(e),i=0;i<o.length;i+=1){var s=o[i],l=s.toLowerCase();-1===t.indexOf(l)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===l&&"stylesheet"===e[l].toLowerCase()||(n=l),-1===t.indexOf(s)||"innerHTML"!==s&&"cssText"!==s&&"itemprop"!==s||(n=s)}if(!n||!e[n])return!1;var c=e[n].toLowerCase();return r[n]||(r[n]={}),a[n]||(a[n]={}),!r[n][c]&&(a[n][c]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(a),i=0;i<o.length;i+=1){var s=o[i],l=f({},r[s],a[s]);r[s]=l}return e}),[]).reverse()},P=function(e,t){if(Array.isArray(e)&&e.length)for(var n=0;n<e.length;n+=1)if(e[n][t])return!0;return!1},N=function(e){return Array.isArray(e)?e.join(""):e},j=function(e,t){return Array.isArray(e)?e.reduce((function(e,n){return function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1}(n,t)?e.priority.push(n):e.default.push(n),e}),{priority:[],default:[]}):{default:e}},R=function(e,t){var n;return f({},e,((n={})[t]=void 0,n))},L=[m.NOSCRIPT,m.SCRIPT,m.STYLE],O=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},M=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},I=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,n){return t[w[n]||n]=e[n],t}),t)},D=function(e,t){return t.map((function(t,n){var a,o=((a={key:n})["data-rh"]=!0,a);return Object.keys(t).forEach((function(e){var n=w[e]||e;"innerHTML"===n||"cssText"===n?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]})),r.createElement(e,o)}))},F=function(e,t,n){switch(e){case m.TITLE:return{toComponent:function(){return n=t.titleAttributes,(a={key:e=t.title})["data-rh"]=!0,o=I(n,a),[r.createElement(m.TITLE,o,e)];var e,n,a,o},toString:function(){return function(e,t,n,r){var a=M(n),o=N(t);return a?"<"+e+' data-rh="true" '+a+">"+O(o,r)+"</"+e+">":"<"+e+' data-rh="true">'+O(o,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return I(t)},toString:function(){return M(t)}};default:return{toComponent:function(){return D(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var a=Object.keys(r).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var a=void 0===r[t]?t:t+'="'+O(r[t],n)+'"';return e?e+" "+a:a}),""),o=r.innerHTML||r.cssText||"",i=-1===L.indexOf(e);return t+"<"+e+' data-rh="true" '+a+(i?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}},B=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,a=e.htmlAttributes,o=e.noscriptTags,i=e.styleTags,s=e.title,l=void 0===s?"":s,c=e.titleAttributes,u=e.linkTags,d=e.metaTags,f=e.scriptTags,p={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var h=function(e){var t=e.linkTags,n=e.scriptTags,r=e.encode,a=j(e.metaTags,v),o=j(t,b),i=j(n,y);return{priorityMethods:{toComponent:function(){return[].concat(D(m.META,a.priority),D(m.LINK,o.priority),D(m.SCRIPT,i.priority))},toString:function(){return F(m.META,a.priority,r)+" "+F(m.LINK,o.priority,r)+" "+F(m.SCRIPT,i.priority,r)}},metaTags:a.default,linkTags:o.default,scriptTags:i.default}}(e);p=h.priorityMethods,u=h.linkTags,d=h.metaTags,f=h.scriptTags}return{priority:p,base:F(m.BASE,t,r),bodyAttributes:F("bodyAttributes",n,r),htmlAttributes:F("htmlAttributes",a,r),link:F(m.LINK,u,r),meta:F(m.META,d,r),noscript:F(m.NOSCRIPT,o,r),script:F(m.SCRIPT,f,r),style:F(m.STYLE,i,r),title:F(m.TITLE,{title:l,titleAttributes:c},r)}},z=[],q=function(e,t){var n=this;void 0===t&&(t="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?z:n.instances},add:function(e){(n.canUseDOM?z:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?z:n.instances).indexOf(e);(n.canUseDOM?z:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=B({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},$=r.createContext({}),U=o().shape({setHelmet:o().func,helmetInstances:o().shape({get:o().func,add:o().func,remove:o().func})}),W="undefined"!=typeof document,H=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new q(r.props.context,t.canUseDOM),r}return p(t,e),t.prototype.render=function(){return r.createElement($.Provider,{value:this.helmetData.value},this.props.children)},t}(r.Component);H.canUseDOM=W,H.propTypes={context:o().shape({helmet:o().shape()}),children:o().node.isRequired},H.defaultProps={context:{}},H.displayName="HelmetProvider";var V=function(e,t){var n,r=document.head||document.querySelector(m.HEAD),a=r.querySelectorAll(e+"[data-rh]"),o=[].slice.call(a),i=[];return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&("innerHTML"===a?r.innerHTML=t.innerHTML:"cssText"===a?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(a,void 0===t[a]?"":t[a]));r.setAttribute("data-rh","true"),o.some((function(e,t){return n=t,r.isEqualNode(e)}))?o.splice(n,1):i.push(r)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return r.appendChild(e)})),{oldTags:o,newTags:i}},G=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),a=r?r.split(","):[],o=[].concat(a),i=Object.keys(t),s=0;s<i.length;s+=1){var l=i[s],c=t[l]||"";n.getAttribute(l)!==c&&n.setAttribute(l,c),-1===a.indexOf(l)&&a.push(l);var u=o.indexOf(l);-1!==u&&o.splice(u,1)}for(var d=o.length-1;d>=0;d-=1)n.removeAttribute(o[d]);a.length===o.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==i.join(",")&&n.setAttribute("data-rh",i.join(","))}},Q=function(e,t){var n=e.baseTag,r=e.htmlAttributes,a=e.linkTags,o=e.metaTags,i=e.noscriptTags,s=e.onChangeClientState,l=e.scriptTags,c=e.styleTags,u=e.title,d=e.titleAttributes;G(m.BODY,e.bodyAttributes),G(m.HTML,r),function(e,t){void 0!==e&&document.title!==e&&(document.title=N(e)),G(m.TITLE,t)}(u,d);var f={baseTag:V(m.BASE,n),linkTags:V(m.LINK,a),metaTags:V(m.META,o),noscriptTags:V(m.NOSCRIPT,i),scriptTags:V(m.SCRIPT,l),styleTags:V(m.STYLE,c)},p={},h={};Object.keys(f).forEach((function(e){var t=f[e],n=t.newTags,r=t.oldTags;n.length&&(p[e]=n),r.length&&(h[e]=f[e].oldTags)})),t&&t(),s(e,p,h)},K=null,Y=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).rendered=!1,t}p(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!d()(e,this.props)},n.componentDidUpdate=function(){this.emitChange()},n.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},n.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,a=null,o=(e=n.helmetInstances.get().map((function(e){var t=f({},e.props);return delete t.context,t})),{baseTag:T(["href"],e),bodyAttributes:C("bodyAttributes",e),defer:S(e,"defer"),encode:S(e,"encodeSpecialCharacters"),htmlAttributes:C("htmlAttributes",e),linkTags:A(m.LINK,["rel","href"],e),metaTags:A(m.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:A(m.NOSCRIPT,["innerHTML"],e),onChangeClientState:E(e),scriptTags:A(m.SCRIPT,["src","innerHTML"],e),styleTags:A(m.STYLE,["cssText"],e),title:_(e),titleAttributes:C("titleAttributes",e),prioritizeSeoTags:P(e,"prioritizeSeoTags")});H.canUseDOM?(t=o,K&&cancelAnimationFrame(K),t.defer?K=requestAnimationFrame((function(){Q(t,(function(){K=null}))})):(Q(t),K=null)):B&&(a=B(o)),r(a)},n.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},n.render=function(){return this.init(),null},t}(r.Component);Y.propTypes={context:U.isRequired},Y.displayName="HelmetDispatcher";var Z=["children"],X=["children"],J=function(e){function t(){return e.apply(this,arguments)||this}p(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!s()(R(this.props,"helmetData"),R(e,"helmetData"))},n.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case m.SCRIPT:case m.NOSCRIPT:return{innerHTML:t};case m.STYLE:return{cssText:t};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return f({},r,((t={})[n.type]=[].concat(r[n.type]||[],[f({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,a=e.newProps,o=e.newChildProps,i=e.nestedChildren;switch(r.type){case m.TITLE:return f({},a,((t={})[r.type]=i,t.titleAttributes=f({},o),t));case m.BODY:return f({},a,{bodyAttributes:f({},o)});case m.HTML:return f({},a,{htmlAttributes:f({},o)});default:return f({},a,((n={})[r.type]=f({},o),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=f({},t);return Object.keys(e).forEach((function(t){var r;n=f({},n,((r={})[t]=e[t],r))})),n},n.warnOnInvalidChildren=function(e,t){return c()(x.some((function(t){return e.type===t})),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+x.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),c()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(e,t){var n=this,a={};return r.Children.forEach(e,(function(e){if(e&&e.props){var r=e.props,o=r.children,i=g(r,Z),s=Object.keys(i).reduce((function(e,t){return e[k[t]||t]=i[t],e}),{}),l=e.type;switch("symbol"==typeof l?l=l.toString():n.warnOnInvalidChildren(e,o),l){case m.FRAGMENT:t=n.mapChildrenToProps(o,t);break;case m.LINK:case m.META:case m.NOSCRIPT:case m.SCRIPT:case m.STYLE:a=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:a,newChildProps:s,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:s,nestedChildren:o})}}})),this.mapArrayTypeChildrenToProps(a,t)},n.render=function(){var e=this.props,t=e.children,n=g(e,X),a=f({},n),o=n.helmetData;return t&&(a=this.mapChildrenToProps(t,a)),!o||o instanceof q||(o=new q(o.context,o.instances)),o?r.createElement(Y,f({},a,{context:o.value,helmetData:void 0})):r.createElement($.Consumer,null,(function(e){return r.createElement(Y,f({},a,{context:e}))}))},t}(r.Component);J.propTypes={base:o().object,bodyAttributes:o().object,children:o().oneOfType([o().arrayOf(o().node),o().node]),defaultTitle:o().string,defer:o().bool,encodeSpecialCharacters:o().bool,htmlAttributes:o().object,link:o().arrayOf(o().object),meta:o().arrayOf(o().object),noscript:o().arrayOf(o().object),onChangeClientState:o().func,script:o().arrayOf(o().object),style:o().arrayOf(o().object),title:o().string,titleAttributes:o().object,titleTemplate:o().string,prioritizeSeoTags:o().bool,helmetData:o().object},J.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},J.displayName="Helmet"},2799:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,b=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case o:case s:case i:case p:return e;default:switch(e=e&&e.$$typeof){case c:case f:case m:case g:case l:return e;default:return t}}case a:return t}}}function k(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=m,t.Memo=g,t.Portal=a,t.Profiler=s,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return k(e)||w(e)===u},t.isConcurrentMode=k,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===o},t.isLazy=function(e){return w(e)===m},t.isMemo=function(e){return w(e)===g},t.isPortal=function(e){return w(e)===a},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===i||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===y||e.$$typeof===v||e.$$typeof===x||e.$$typeof===b)},t.typeOf=w},4363:(e,t,n)=>{"use strict";e.exports=n(2799)},3259:(e,t,n)=>{"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}var s=n(6540),l=n(5556),c=[],u=[];function d(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}function f(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var a=d(e[r]);a.loading?t.loading=!0:(t.loaded[r]=a.loaded,t.error=a.error),n.push(a.promise),a.promise.then((function(e){t.loaded[r]=e})).catch((function(e){t.error=e}))}))}catch(r){t.error=r}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e})).catch((function(e){throw t.loading=!1,e})),t}function p(e,t){return s.createElement((n=e)&&n.__esModule?n.default:n,t);var n}function h(e,t){var d,f;if(!t.loading)throw new Error("react-loadable requires a `loading` component");var h=i({loader:null,loading:null,delay:200,timeout:null,render:p,webpack:null,modules:null},t),g=null;function m(){return g||(g=e(h.loader)),g.promise}return c.push(m),"function"==typeof h.webpack&&u.push((function(){if((0,h.webpack)().every((function(e){return void 0!==e&&void 0!==n.m[e]})))return m()})),f=d=function(t){function n(n){var r;return o(a(a(r=t.call(this,n)||this)),"retry",(function(){r.setState({error:null,loading:!0,timedOut:!1}),g=e(h.loader),r._loadModule()})),m(),r.state={error:g.error,pastDelay:!1,timedOut:!1,loading:g.loading,loaded:g.loaded},r}r(n,t),n.preload=function(){return m()};var i=n.prototype;return i.UNSAFE_componentWillMount=function(){this._loadModule()},i.componentDidMount=function(){this._mounted=!0},i._loadModule=function(){var e=this;if(this.context.loadable&&Array.isArray(h.modules)&&h.modules.forEach((function(t){e.context.loadable.report(t)})),g.loading){var t=function(t){e._mounted&&e.setState(t)};"number"==typeof h.delay&&(0===h.delay?this.setState({pastDelay:!0}):this._delay=setTimeout((function(){t({pastDelay:!0})}),h.delay)),"number"==typeof h.timeout&&(this._timeout=setTimeout((function(){t({timedOut:!0})}),h.timeout));var n=function(){t({error:g.error,loaded:g.loaded,loading:g.loading}),e._clearTimeouts()};g.promise.then((function(){return n(),null})).catch((function(e){return n(),null}))}},i.componentWillUnmount=function(){this._mounted=!1,this._clearTimeouts()},i._clearTimeouts=function(){clearTimeout(this._delay),clearTimeout(this._timeout)},i.render=function(){return this.state.loading||this.state.error?s.createElement(h.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?h.render(this.state.loaded,this.props):null},n}(s.Component),o(d,"contextTypes",{loadable:l.shape({report:l.func.isRequired})}),f}function g(e){return h(d,e)}g.Map=function(e){if("function"!=typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return h(f,e)};var m=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var n=t.prototype;return n.getChildContext=function(){return{loadable:{report:this.props.report}}},n.render=function(){return s.Children.only(this.props.children)},t}(s.Component);function b(e){for(var t=[];e.length;){var n=e.pop();t.push(n())}return Promise.all(t).then((function(){if(e.length)return b(e)}))}o(m,"propTypes",{report:l.func.isRequired}),o(m,"childContextTypes",{loadable:l.shape({report:l.func.isRequired}).isRequired}),g.Capture=m,g.preloadAll=function(){return new Promise((function(e,t){b(c).then(e,t)}))},g.preloadReady=function(){return new Promise((function(e,t){b(u).then(e,e)}))},e.exports=g},2831:(e,t,n)=>{"use strict";n.d(t,{u:()=>i,v:()=>s});var r=n(6347),a=n(8168),o=n(6540);function i(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var a=e.path?(0,r.B6)(t,e):n.length?n[n.length-1].match:r.Ix.computeRootMatch(t);return a&&(n.push({route:e,match:a}),e.routes&&i(e.routes,t,n)),a})),n}function s(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?o.createElement(r.dO,n,e.map((function(e,n){return o.createElement(r.qh,{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render((0,a.A)({},n,{},t,{route:e})):o.createElement(e.component,(0,a.A)({},n,t,{route:e}))}})}))):null}},4625:(e,t,n)=>{"use strict";n.d(t,{Kd:()=>u,N_:()=>m,k2:()=>v});var r=n(6347),a=n(2892),o=n(6540),i=n(1513),s=n(8168),l=n(8587),c=n(1561),u=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.zR)(t.props),t}return(0,a.A)(t,e),t.prototype.render=function(){return o.createElement(r.Ix,{history:this.history,children:this.props.children})},t}(o.Component);o.Component;var d=function(e,t){return"function"==typeof e?e(t):e},f=function(e,t){return"string"==typeof e?(0,i.yJ)(e,null,null,t):e},p=function(e){return e},h=o.forwardRef;void 0===h&&(h=p);var g=h((function(e,t){var n=e.innerRef,r=e.navigate,a=e.onClick,i=(0,l.A)(e,["innerRef","navigate","onClick"]),c=i.target,u=(0,s.A)({},i,{onClick:function(e){try{a&&a(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||c&&"_self"!==c||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return u.ref=p!==h&&t||n,o.createElement("a",u)}));var m=h((function(e,t){var n=e.component,a=void 0===n?g:n,u=e.replace,m=e.to,b=e.innerRef,y=(0,l.A)(e,["component","replace","to","innerRef"]);return o.createElement(r.XZ.Consumer,null,(function(e){e||(0,c.A)(!1);var n=e.history,r=f(d(m,e.location),e.location),l=r?n.createHref(r):"",g=(0,s.A)({},y,{href:l,navigate:function(){var t=d(m,e.location),r=(0,i.AO)(e.location)===(0,i.AO)(f(t));(u||r?n.replace:n.push)(t)}});return p!==h?g.ref=t||b:g.innerRef=b,o.createElement(a,g)}))})),b=function(e){return e},y=o.forwardRef;void 0===y&&(y=b);var v=y((function(e,t){var n=e["aria-current"],a=void 0===n?"page":n,i=e.activeClassName,u=void 0===i?"active":i,p=e.activeStyle,h=e.className,g=e.exact,v=e.isActive,x=e.location,w=e.sensitive,k=e.strict,S=e.style,_=e.to,E=e.innerRef,C=(0,l.A)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return o.createElement(r.XZ.Consumer,null,(function(e){e||(0,c.A)(!1);var n=x||e.location,i=f(d(_,n),n),l=i.pathname,T=l&&l.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),A=T?(0,r.B6)(n.pathname,{path:T,exact:g,sensitive:w,strict:k}):null,P=!!(v?v(A,n):A),N="function"==typeof h?h(P):h,j="function"==typeof S?S(P):S;P&&(N=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(N,u),j=(0,s.A)({},j,p));var R=(0,s.A)({"aria-current":P&&a||null,className:N,style:j,to:i},C);return b!==y?R.ref=t||E:R.innerRef=E,o.createElement(m,R)}))}))},6347:(e,t,n)=>{"use strict";n.d(t,{B6:()=>S,Ix:()=>v,W6:()=>R,XZ:()=>y,dO:()=>N,qh:()=>_,zy:()=>L});var r=n(2892),a=n(6540),o=n(5556),i=n.n(o),s=n(1513),l=n(1561),c=n(8168),u=n(5302),d=n.n(u),f=(n(4363),n(8587)),p=(n(4146),1073741823),h="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};var g=a.createContext||function(e,t){var n,o,s="__create-react-context-"+function(){var e="__global_unique_id__";return h[e]=(h[e]||0)+1}()+"__",l=function(e){function n(){for(var t,n,r,a=arguments.length,o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];return(t=e.call.apply(e,[this].concat(o))||this).emitter=(n=t.props.value,r=[],{on:function(e){r.push(e)},off:function(e){r=r.filter((function(t){return t!==e}))},get:function(){return n},set:function(e,t){n=e,r.forEach((function(e){return e(n,t)}))}}),t}(0,r.A)(n,e);var a=n.prototype;return a.getChildContext=function(){var e;return(e={})[s]=this.emitter,e},a.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,a=e.value;((o=r)===(i=a)?0!==o||1/o==1/i:o!=o&&i!=i)?n=0:(n="function"==typeof t?t(r,a):p,0!==(n|=0)&&this.emitter.set(e.value,n))}var o,i},a.render=function(){return this.props.children},n}(a.Component);l.childContextTypes=((n={})[s]=i().object.isRequired,n);var c=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){(0|e.observedBits)&n&&e.setState({value:e.getValue()})},e}(0,r.A)(n,t);var a=n.prototype;return a.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?p:t},a.componentDidMount=function(){this.context[s]&&this.context[s].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?p:e},a.componentWillUnmount=function(){this.context[s]&&this.context[s].off(this.onUpdate)},a.getValue=function(){return this.context[s]?this.context[s].get():e},a.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(a.Component);return c.contextTypes=((o={})[s]=i().object,o),{Provider:l,Consumer:c}},m=function(e){var t=g();return t.displayName=e,t},b=m("Router-History"),y=m("Router"),v=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._pendingLocation=e}))),n}(0,r.A)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return a.createElement(y.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.createElement(b.Provider,{children:this.props.children||null,value:this.props.history}))},t}(a.Component);a.Component;a.Component;var x={},w=1e4,k=0;function S(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,a=n.exact,o=void 0!==a&&a,i=n.strict,s=void 0!==i&&i,l=n.sensitive,c=void 0!==l&&l;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=x[n]||(x[n]={});if(r[e])return r[e];var a=[],o={regexp:d()(e,a,t),keys:a};return k<w&&(r[e]=o,k++),o}(n,{end:o,strict:s,sensitive:c}),a=r.regexp,i=r.keys,l=a.exec(e);if(!l)return null;var u=l[0],f=l.slice(1),p=e===u;return o&&!p?null:{path:n,url:"/"===n&&""===u?"/":u,isExact:p,params:i.reduce((function(e,t,n){return e[t.name]=f[n],e}),{})}}),null)}var _=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){var e=this;return a.createElement(y.Consumer,null,(function(t){t||(0,l.A)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?S(n.pathname,e.props):t.match,o=(0,c.A)({},t,{location:n,match:r}),i=e.props,s=i.children,u=i.component,d=i.render;return Array.isArray(s)&&function(e){return 0===a.Children.count(e)}(s)&&(s=null),a.createElement(y.Provider,{value:o},o.match?s?"function"==typeof s?s(o):s:u?a.createElement(u,o):d?d(o):null:"function"==typeof s?s(o):null)}))},t}(a.Component);function E(e){return"/"===e.charAt(0)?e:"/"+e}function C(e,t){if(!e)return t;var n=E(e);return 0!==t.pathname.indexOf(n)?t:(0,c.A)({},t,{pathname:t.pathname.substr(n.length)})}function T(e){return"string"==typeof e?e:(0,s.AO)(e)}function A(e){return function(){(0,l.A)(!1)}}function P(){}a.Component;var N=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){var e=this;return a.createElement(y.Consumer,null,(function(t){t||(0,l.A)(!1);var n,r,o=e.props.location||t.location;return a.Children.forEach(e.props.children,(function(e){if(null==r&&a.isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?S(o.pathname,(0,c.A)({},e.props,{path:i})):t.match}})),r?a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(a.Component);var j=a.useContext;function R(){return j(b)}function L(){return j(y).location}},1020:(e,t,n)=>{"use strict";var r=n(6540),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:a,type:e,key:c,ref:u,props:o,_owner:s.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},5287:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,m={};function b(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}function y(){}function v(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=b.prototype;var x=v.prototype=new y;x.constructor=v,g(x,b.prototype),x.isPureReactComponent=!0;var w=Array.isArray,k=Object.prototype.hasOwnProperty,S={current:null},_={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,r){var a,o={},i=null,s=null;if(null!=t)for(a in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(i=""+t.key),t)k.call(t,a)&&!_.hasOwnProperty(a)&&(o[a]=t[a]);var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(a in l=e.defaultProps)void 0===o[a]&&(o[a]=l[a]);return{$$typeof:n,type:e,key:i,ref:s,props:o,_owner:S.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var T=/\/+/g;function A(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function P(e,t,a,o,i){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return i=i(l=e),e=""===o?"."+A(l,0):o,w(i)?(a="",null!=e&&(a=e.replace(T,"$&/")+"/"),P(i,t,a,"",(function(e){return e}))):null!=i&&(C(i)&&(i=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,a+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(T,"$&/")+"/")+e)),t.push(i)),1;if(l=0,o=""===o?".":o+":",w(e))for(var c=0;c<e.length;c++){var u=o+A(s=e[c],c);l+=P(s,t,a,u,i)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(s=e.next()).done;)l+=P(s=s.value,t,a,u=o+A(s,c++),i);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function N(e,t,n){if(null==e)return e;var r=[],a=0;return P(e,r,"","",(function(e){return t.call(n,e,a++)})),r}function j(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var R={current:null},L={transition:null},O={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:L,ReactCurrentOwner:S};t.Children={map:N,forEach:function(e,t,n){N(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return N(e,(function(){t++})),t},toArray:function(e){return N(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=b,t.Fragment=a,t.Profiler=i,t.PureComponent=v,t.StrictMode=o,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=O,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=g({},e.props),o=e.key,i=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,s=S.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)k.call(t,c)&&!_.hasOwnProperty(c)&&(a[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)a.children=r;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];a.children=l}return{$$typeof:n,type:e.type,key:o,ref:i,props:a,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:j}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=L.transition;L.transition={};try{e()}finally{L.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return R.current.useCallback(e,t)},t.useContext=function(e){return R.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return R.current.useDeferredValue(e)},t.useEffect=function(e,t){return R.current.useEffect(e,t)},t.useId=function(){return R.current.useId()},t.useImperativeHandle=function(e,t,n){return R.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return R.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return R.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return R.current.useMemo(e,t)},t.useReducer=function(e,t,n){return R.current.useReducer(e,t,n)},t.useRef=function(e){return R.current.useRef(e)},t.useState=function(e){return R.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return R.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return R.current.useTransition()},t.version="18.2.0"},6540:(e,t,n)=>{"use strict";e.exports=n(5287)},4848:(e,t,n)=>{"use strict";e.exports=n(1020)},7463:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<o(a,t)))break e;e[r]=t,e[n]=a,n=r}}function r(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,i=a>>>1;r<i;){var s=2*(r+1)-1,l=e[s],c=s+1,u=e[c];if(0>o(l,n))c<a&&0>o(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(c<a&&0>o(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],u=[],d=1,f=null,p=3,h=!1,g=!1,m=!1,b="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function x(e){for(var t=r(u);null!==t;){if(null===t.callback)a(u);else{if(!(t.startTime<=e))break;a(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function w(e){if(m=!1,x(e),!g)if(null!==r(c))g=!0,L(k);else{var t=r(u);null!==t&&O(w,t.startTime-e)}}function k(e,n){g=!1,m&&(m=!1,y(C),C=-1),h=!0;var o=p;try{for(x(n),f=r(c);null!==f&&(!(f.expirationTime>n)||e&&!P());){var i=f.callback;if("function"==typeof i){f.callback=null,p=f.priorityLevel;var s=i(f.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?f.callback=s:f===r(c)&&a(c),x(n)}else a(c);f=r(c)}if(null!==f)var l=!0;else{var d=r(u);null!==d&&O(w,d.startTime-n),l=!1}return l}finally{f=null,p=o,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,_=!1,E=null,C=-1,T=5,A=-1;function P(){return!(t.unstable_now()-A<T)}function N(){if(null!==E){var e=t.unstable_now();A=e;var n=!0;try{n=E(!0,e)}finally{n?S():(_=!1,E=null)}}else _=!1}if("function"==typeof v)S=function(){v(N)};else if("undefined"!=typeof MessageChannel){var j=new MessageChannel,R=j.port2;j.port1.onmessage=N,S=function(){R.postMessage(null)}}else S=function(){b(N,0)};function L(e){E=e,_||(_=!0,S())}function O(e,n){C=b((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){g||h||(g=!0,L(k))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,a,o){var i=t.unstable_now();switch("object"==typeof o&&null!==o?o="number"==typeof(o=o.delay)&&0<o?i+o:i:o=i,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:a,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>i?(e.sortIndex=o,n(u,e),null===r(c)&&e===r(u)&&(m?(y(C),C=-1):m=!0,O(w,o-i))):(e.sortIndex=s,n(c,e),g||h||(g=!0,L(k))),e},t.unstable_shouldYield=P,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},9982:(e,t,n)=>{"use strict";e.exports=n(7463)},2833:e=>{e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<o.length;l++){var c=o[l];if(!s(c))return!1;var u=e[c],d=t[c];if(!1===(a=n?n.call(r,u,d,c):void 0)||void 0===a&&u!==d)return!1}return!0}},4784:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={title:"FHIR Dosage Utils",tagline:"From Data to Understandable Text and More",favicon:"img/favicon.ico",url:"https://jy95.github.io",baseUrl:"/fhir-dosage-utils/",organizationName:"jy95",projectName:"fhir-dosage-utils",onBrokenLinks:"throw",onBrokenMarkdownLinks:"warn",trailingSlash:!1,i18n:{defaultLocale:"en",locales:["en"],path:"i18n",localeConfigs:{}},plugins:[["docusaurus-plugin-typedoc-api",{projectRoot:"/home/runner/work/fhir-dosage-utils/fhir-dosage-utils",packages:["."]}],"./src/plugins/monacco.ts"],presets:[["classic",{docs:{remarkPlugins:[[null,{sync:!0}]],sidebarPath:"./sidebars.ts",editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/"},blog:{showReadingTime:!0,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/"},theme:{customCss:"./src/css/custom.css"}}]],themeConfig:{algolia:{appId:"A0H5ESUA6U",apiKey:"ed5931b0de2e3754e2da8e0f843443bd",indexName:"jy95io",contextualSearch:!0,searchParameters:{},searchPagePath:"search"},navbar:{title:"FHIR Dosage utils",logo:{alt:"FHIR Dosage utils Logo",src:"img/logo.svg"},items:[{type:"docSidebar",sidebarId:"tutorialSidebar",position:"left",label:"Tutorial"},{to:"api",label:"API",position:"left"},{to:"playground",label:"Playground",position:"left"},{to:"/blog",label:"Blog",position:"right"},{href:"https://github.com/jy95/fhir-dosage-utils",label:"GitHub",position:"right"}],hideOnScroll:!1},footer:{style:"dark",links:[],copyright:"Copyright \xa9 2024 Jacques Yakoub. Built with Docusaurus."},prism:{theme:{plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},darkTheme:{plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},additionalLanguages:["json"],magicComments:[{className:"theme-code-block-highlighted-line",line:"highlight-next-line",block:{start:"highlight-start",end:"highlight-end"}}]},colorMode:{defaultMode:"light",disableSwitch:!1,respectPrefersColorScheme:!1},docs:{versionPersistence:"localStorage",sidebar:{hideable:!1,autoCollapseCategories:!1}},metadata:[],tableOfContents:{minHeadingLevel:2,maxHeadingLevel:3}},baseUrlIssueBanner:!0,onBrokenAnchors:"warn",onDuplicateRoutes:"warn",staticDirectories:["static"],customFields:{},themes:[],scripts:[],headTags:[],stylesheets:[],clientModules:[],titleDelimiter:"|",noIndex:!1,markdown:{format:"mdx",mermaid:!1,mdx1Compat:{comments:!0,admonitions:!0,headingIds:!0}}}},8168:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},2892:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{A:()=>a})},8587:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}n.d(t,{A:()=>r})},4164:(e,t,n)=>{"use strict";function r(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=r(e[t]))&&(a&&(a+=" "),a+=n)}else for(n in e)e[n]&&(a&&(a+=" "),a+=n);return a}n.d(t,{A:()=>a});const a=function(){for(var e,t,n=0,a="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=r(e))&&(a&&(a+=" "),a+=t);return a}},1765:(e,t,n)=>{"use strict";n.d(t,{My:()=>T,f4:()=>ee});var r,a,o,i,s,l,c,u=n(6540),d=n(4164),f=Object.create,p=Object.defineProperty,h=Object.defineProperties,g=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertyNames,y=Object.getOwnPropertySymbols,v=Object.getPrototypeOf,x=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,k=(e,t,n)=>t in e?p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,S=(e,t)=>{for(var n in t||(t={}))x.call(t,n)&&k(e,n,t[n]);if(y)for(var n of y(t))w.call(t,n)&&k(e,n,t[n]);return e},_=(e,t)=>h(e,m(t)),E=(e,t)=>{var n={};for(var r in e)x.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&y)for(var r of y(e))t.indexOf(r)<0&&w.call(e,r)&&(n[r]=e[r]);return n},C=(r={"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var n=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function e(t,n){var a,o;switch(n=n||{},r.util.type(t)){case"Object":if(o=r.util.objId(t),n[o])return n[o];for(var i in a={},n[o]=a,t)t.hasOwnProperty(i)&&(a[i]=e(t[i],n));return a;case"Array":return o=r.util.objId(t),n[o]?n[o]:(a=[],n[o]=a,t.forEach((function(t,r){a[r]=e(t,n)})),a);default:return t}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},isActive:function(e,t,n){for(var r="no-"+t;e;){var a=e.classList;if(a.contains(t))return!0;if(a.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var a in t)n[a]=t[a];return n},insertBefore:function(e,t,n,a){var o=(a=a||r.languages)[e],i={};for(var s in o)if(o.hasOwnProperty(s)){if(s==t)for(var l in n)n.hasOwnProperty(l)&&(i[l]=n[l]);n.hasOwnProperty(s)||(i[s]=o[s])}var c=a[e];return a[e]=i,r.languages.DFS(r.languages,(function(t,n){n===c&&t!=e&&(this[t]=i)})),i},DFS:function e(t,n,a,o){o=o||{};var i=r.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],a||s);var l=t[s],c=r.util.type(l);"Object"!==c||o[i(l)]?"Array"!==c||o[i(l)]||(o[i(l)]=!0,e(l,n,s,o)):(o[i(l)]=!0,e(l,n,null,o))}}},plugins:{},highlight:function(e,t,n){var o={code:e,grammar:t,language:n};if(r.hooks.run("before-tokenize",o),!o.grammar)throw new Error('The language "'+o.language+'" has no grammar.');return o.tokens=r.tokenize(o.code,o.grammar),r.hooks.run("after-tokenize",o),a.stringify(r.util.encode(o.tokens),o.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var a=new s;return l(a,a.head,e),i(e,a,t,a.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(a)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var a,o=0;a=n[o++];)a(t)}},Token:a};function a(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var o=a[1].length;a.index+=o,a[0]=a[0].slice(o)}return a}function i(e,t,n,s,u,d){for(var f in n)if(n.hasOwnProperty(f)&&n[f]){var p=n[f];p=Array.isArray(p)?p:[p];for(var h=0;h<p.length;++h){if(d&&d.cause==f+","+h)return;var g=p[h],m=g.inside,b=!!g.lookbehind,y=!!g.greedy,v=g.alias;if(y&&!g.pattern.global){var x=g.pattern.toString().match(/[imsuy]*$/)[0];g.pattern=RegExp(g.pattern.source,x+"g")}for(var w=g.pattern||g,k=s.next,S=u;k!==t.tail&&!(d&&S>=d.reach);S+=k.value.length,k=k.next){var _=k.value;if(t.length>e.length)return;if(!(_ instanceof a)){var E,C=1;if(y){if(!(E=o(w,S,e,b))||E.index>=e.length)break;var T=E.index,A=E.index+E[0].length,P=S;for(P+=k.value.length;T>=P;)P+=(k=k.next).value.length;if(S=P-=k.value.length,k.value instanceof a)continue;for(var N=k;N!==t.tail&&(P<A||"string"==typeof N.value);N=N.next)C++,P+=N.value.length;C--,_=e.slice(S,P),E.index-=S}else if(!(E=o(w,0,_,b)))continue;T=E.index;var j=E[0],R=_.slice(0,T),L=_.slice(T+j.length),O=S+_.length;d&&O>d.reach&&(d.reach=O);var M=k.prev;if(R&&(M=l(t,M,R),S+=R.length),c(t,M,C),k=l(t,M,new a(f,m?r.tokenize(j,m):j,v,j)),L&&l(t,k,L),C>1){var I={cause:f+","+h,reach:O};i(e,t,n,k.prev,S,I),d&&I.reach>d.reach&&(d.reach=I.reach)}}}}}}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}function c(e,t,n){for(var r=t.next,a=0;a<n&&r!==e.tail;a++)r=r.next;t.next=r,r.prev=t,e.length-=a}return a.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var a="";return t.forEach((function(t){a+=e(t,n)})),a}var o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(o.classes,i):o.classes.push(i)),r.hooks.run("wrap",o);var s="";for(var l in o.attributes)s+=" "+l+'="'+(o.attributes[l]||"").replace(/"/g,""")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+s+">"+o.content+"</"+o.tag+">"},r}();t.exports=n,n.default=n}},function(){return a||(0,r[b(r)[0]])((a={exports:{}}).exports,a),a.exports}),T=((e,t,n)=>(n=null!=e?f(v(e)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of b(t))x.call(e,a)||a===n||p(e,a,{get:()=>t[a],enumerable:!(r=g(t,a))||r.enumerable});return e})(!t&&e&&e.__esModule?n:p(n,"default",{value:e,enumerable:!0}),e)))(C());T.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},T.languages.markup.tag.inside["attr-value"].inside.entity=T.languages.markup.entity,T.languages.markup.doctype.inside["internal-subset"].inside=T.languages.markup,T.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(T.languages.markup.tag,"addInlined",{value:function(e,t){var n;(t=((n=((n={})["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:T.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}}))["language-"+t]={pattern:/[\s\S]+/,inside:T.languages[t]},{}))[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:n},T.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(T.languages.markup.tag,"addAttribute",{value:function(e,t){T.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:T.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),T.languages.html=T.languages.markup,T.languages.mathml=T.languages.markup,T.languages.svg=T.languages.markup,T.languages.xml=T.languages.extend("markup",{}),T.languages.ssml=T.languages.xml,T.languages.atom=T.languages.xml,T.languages.rss=T.languages.xml,o=T,i={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},l="(?:[^\\\\-]|"+(s=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")",l=RegExp(l+"-"+l),c={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},o.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:l,inside:{escape:s,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":i,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:s}},"special-escape":i,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":c}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:s,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":c}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}},T.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},T.languages.javascript=T.languages.extend("clike",{"class-name":[T.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),T.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,T.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:T.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:T.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:T.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:T.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:T.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),T.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:T.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),T.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),T.languages.markup&&(T.languages.markup.tag.addInlined("script","javascript"),T.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),T.languages.js=T.languages.javascript,T.languages.actionscript=T.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),T.languages.actionscript["class-name"].alias="function",delete T.languages.actionscript.parameter,delete T.languages.actionscript["literal-property"],T.languages.markup&&T.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:T.languages.markup}}),function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(T),function(e){var t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(t,"addSupport",{value:function(t,n){(t="string"==typeof t?[t]:t).forEach((function(t){var r=function(e){e.inside||(e.inside={}),e.inside.rest=n},a="doc-comment";if(o=e.languages[t]){var o,i=o[a];if((i=i||(o=e.languages.insertBefore(t,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[a])instanceof RegExp&&(i=o[a]={pattern:i}),Array.isArray(i))for(var s=0,l=i.length;s<l;s++)i[s]instanceof RegExp&&(i[s]={pattern:i[s]}),r(i[s]);else r(i)}}))}}),t.addSupport(["java","javascript","php"],t)}(T),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;(t=(e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,e.languages.markup))&&(t.tag.addInlined("style","css"),t.tag.addAttribute("style","css"))}(T),function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=(t=(e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+t.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[t,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),{pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0});e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:n})}(T),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<value>>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<key>>/g,(function(){return"(?:"+a+"|"+o+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(o),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(T),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,i=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var a,o=t[n];"code"!==o.type?e(o.content):(a=o.content[1],o=o.content[3],a&&o&&"code-language"===a.type&&"code-block"===o.type&&"string"==typeof a.content&&(a=a.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),a="language-"+(a=(/[a-z][\w-]*/i.exec(a)||[""])[0].toLowerCase()),o.alias?"string"==typeof o.alias?o.alias=[o.alias,a]:o.alias.push(a):o.alias=[a]))}}(e.tokens)})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var n="",r=0,a=t.classes.length;r<a;r++){var o=t.classes[r];if(o=/language-(.+)/.exec(o)){n=o[1];break}}var c,u=e.languages[n];u?t.content=e.highlight(t.content.replace(i,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;return"#"===(t=t.toLowerCase())[0]?(n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),l(n)):s[t]||e})),u,n):n&&"none"!==n&&e.plugins.autoloader&&(c="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random()),t.attributes.id=c,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(c);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))})))}})),RegExp(e.languages.markup.tag.pattern.source,"gi")),s={amp:"&",lt:"<",gt:">",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(T),T.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:T.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},T.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n<t.length;){var r=t[n++];if("keyword"===r.type&&"mutation"===r.content){var a=[];if(d(["definition-mutation","punctuation"])&&"("===u(1).content){n+=2;var o=f(/^\($/,/^\)$/);if(-1===o)continue;for(;n<o;n++){var i=u(0);"variable"===i.type&&(p(i,"variable-input"),a.push(i.content))}n=o+1}if(d(["punctuation","property-query"])&&"{"===u(0).content&&(n++,p(u(0),"property-mutation"),0<a.length)){var s=f(/^\{$/,/^\}$/);if(-1!==s)for(var l=n;l<s;l++){var c=t[l];"variable"===c.type&&0<=a.indexOf(c.content)&&p(c,"variable-input")}}}}function u(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n<e.length;n++){var r=u(n+t);if(!r||r.type!==e[n])return}return 1}function f(e,r){for(var a=1,o=n;o<t.length;o++){var i=t[o],s=i.content;if("punctuation"===i.type&&"string"==typeof s)if(e.test(s))a++;else if(r.test(s)&&0==--a)return o}return-1}function p(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}})),T.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function s(t,n,r){return t={code:t,grammar:n,language:r},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}function l(t,n,i){var l=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),c=0,u={},d=(l=s(l.map((function(e){if("string"==typeof e)return e;var n,r;for(e=e.content;-1!==t.indexOf((r=c++,n="___"+i.toUpperCase()+"_"+r+"___")););return u[n]=e,n})).join(""),n,i),Object.keys(u));return c=0,function t(n){for(var o=0;o<n.length;o++){if(c>=d.length)return;var i,l,f,p,h,g,m,b=n[o];"string"==typeof b||"string"==typeof b.content?(i=d[c],-1!==(m=(g="string"==typeof b?b:b.content).indexOf(i))&&(++c,l=g.substring(0,m),h=u[i],f=void 0,(p={})["interpolation-punctuation"]=a,3===(p=e.tokenize(h,p)).length&&((f=[1,1]).push.apply(f,s(p[1],e.languages.javascript,"javascript")),p.splice.apply(p,f)),f=new e.Token("interpolation",p,r.alias,h),p=g.substring(m+i.length),h=[],l&&h.push(l),h.push(f),p&&(t(g=[p]),h.push.apply(h,g)),"string"==typeof b?(n.splice.apply(n,[o,1].concat(h)),o+=h.length-1):b.content=h)):(m=b.content,Array.isArray(m)?t(m):t([m]))}}(l),new e.Token(i,l,"language-"+i,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var c={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function u(e){return"string"==typeof e?e:Array.isArray(e)?e.map(u).join(""):u(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in c&&function t(n){for(var r=0,a=n.length;r<a;r++){var o,i,s,c=n[r];"string"!=typeof c&&(o=c.content,Array.isArray(o)?"template-string"===c.type?(c=o[1],3===o.length&&"string"!=typeof c&&"embedded-code"===c.type&&(i=u(c),c=c.alias,c=Array.isArray(c)?c[0]:c,s=e.languages[c])&&(o[1]=l(i,s,c))):t(o):"string"!=typeof o&&t([o]))}}(t.tokens)}))}(T),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(T),function(e){var t=e.languages.javascript,n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,r="(@(?:arg|argument|param|property)\\s+(?:"+n+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(r+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(r+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,(function(){return n}))),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(T),function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(T),T.languages.n4js=T.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),T.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),T.languages.n4jsd=T.languages.n4js,function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r<n.length;r++){var a=n[r],o=e.languages.javascript[a];a=(o="RegExp"===e.util.type(o)?e.languages.javascript[a]={pattern:o}:o).inside||{};(o.inside=a)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(T),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,a=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function o(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return a})),RegExp(e,t)}function i(t){for(var n=[],r=0;r<t.length;r++){var a=t[r],o=!1;"string"!=typeof a&&("tag"===a.type&&a.content[0]&&"tag"===a.content[0].type?"</"===a.content[0].content[0].content?0<n.length&&n[n.length-1].tagName===s(a.content[0].content[1])&&n.pop():"/>"!==a.content[a.content.length-1].content&&n.push({tagName:s(a.content[0].content[1]),openedBraces:0}):0<n.length&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:0<n.length&&0<n[n.length-1].openedBraces&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:o=!0),(o||"string"==typeof a)&&0<n.length&&0===n[n.length-1].openedBraces&&(o=s(a),r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(o+=s(t[r+1]),t.splice(r+1,1)),0<r&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(o=s(t[r-1])+o,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",o,null,o)),a.content&&"string"!=typeof a.content&&i(a.content)}}a=o(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var s=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(s).join(""):""};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||i(e.tokens)}))}(T),function(e){var t=e.util.clone(e.languages.typescript);(t=(e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],e.languages.tsx.tag)).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+t.pattern.source+")",t.pattern.flags),t.lookbehind=!0}(T),T.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ \t]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},T.languages.swift["string-literal"].forEach((function(e){e.inside.interpolation.inside=T.languages.swift})),function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(T),T.languages.c=T.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),T.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),T.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},T.languages.c.string],char:T.languages.c.char,comment:T.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:T.languages.c}}}}),T.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete T.languages.c.boolean,T.languages.objectivec=T.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete T.languages.objectivec["class-name"],T.languages.objc=T.languages.objectivec,T.languages.reason=T.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),T.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete T.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,(function(){return t}));t=t.replace(/<self>/g,(function(){return/[^\s\S]/.source})),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(T),T.languages.go=T.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),T.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete T.languages.go["class-name"],function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(T),T.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},T.languages.python["string-interpolation"].inside.interpolation.inside.rest=T.languages.python,T.languages.py=T.languages.python;((e,t)=>{for(var n in t)p(e,n,{get:t[n],enumerable:!0})})({},{dracula:()=>A,duotoneDark:()=>P,duotoneLight:()=>N,github:()=>j,jettwaveDark:()=>W,jettwaveLight:()=>H,nightOwl:()=>R,nightOwlLight:()=>L,oceanicNext:()=>I,okaidia:()=>D,oneDark:()=>V,oneLight:()=>G,palenight:()=>F,shadesOfPurple:()=>B,synthwave84:()=>z,ultramin:()=>q,vsDark:()=>$,vsLight:()=>U});var A={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},P={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},N={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},j={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},R={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},L={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},O="#c5a5c5",M="#8dc891",I={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:O}},{types:["attr-value"],style:{color:M}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:"#999999"}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:"#5a9bcf"}},{types:["boolean"],style:{color:"#ff8b50"}},{types:["tag"],style:{color:"#fc929e"}},{types:["string"],style:{color:M}},{types:["punctuation"],style:{color:M}},{types:["selector","char","builtin","inserted"],style:{color:"#D8DEE9"}},{types:["function"],style:{color:"#79b6f2"}},{types:["operator","entity","url","variable"],style:{color:"#d7deea"}},{types:["keyword"],style:{color:O}},{types:["atrule","class-name"],style:{color:"#FAC863"}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},D={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},F={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},B={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},z={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},q={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},$={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},U={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},W={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},H={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},V={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},G={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},Q=(e,t)=>{const{plain:n}=e,r=e.styles.reduce(((e,n)=>{const{languages:r,style:a}=n;return r&&!r.includes(t)||n.types.forEach((t=>{const n=S(S({},e[t]),a);e[t]=n})),e}),{});return r.root=n,r.plain=_(S({},n),{backgroundColor:void 0}),r},K=/\r\n|\r|\n/,Y=e=>{0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},Z=(e,t)=>{const n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},X=e=>{const t=[[]],n=[e],r=[0],a=[e.length];let o=0,i=0,s=[];const l=[s];for(;i>-1;){for(;(o=r[i]++)<a[i];){let e,c=t[i];const u=n[i][o];if("string"==typeof u?(c=i>0?c:["plain"],e=u):(c=Z(c,u.type),u.alias&&(c=Z(c,u.alias)),e=u.content),"string"!=typeof e){i++,t.push(c),n.push(e),r.push(0),a.push(e.length);continue}const d=e.split(K),f=d.length;s.push({types:c,content:d[0]});for(let t=1;t<f;t++)Y(s),l.push(s=[]),s.push({types:c,content:d[t]})}i--,t.pop(),n.pop(),r.pop(),a.pop()}return Y(s),l},J=({children:e,language:t,code:n,theme:r,prism:a})=>{const o=t.toLowerCase(),i=((e,t)=>{const[n,r]=(0,u.useState)(Q(t,e)),a=(0,u.useRef)(),o=(0,u.useRef)();return(0,u.useEffect)((()=>{t===a.current&&e===o.current||(a.current=t,o.current=e,r(Q(t,e)))}),[e,t]),n})(o,r),s=(e=>(0,u.useCallback)((t=>{var n=t,{className:r,style:a,line:o}=n,i=E(n,["className","style","line"]);const s=_(S({},i),{className:(0,d.A)("token-line",r)});return"object"==typeof e&&"plain"in e&&(s.style=e.plain),"object"==typeof a&&(s.style=S(S({},s.style||{}),a)),s}),[e]))(i),l=(e=>{const t=(0,u.useCallback)((({types:t,empty:n})=>{if(null!=e)return 1===t.length&&"plain"===t[0]?null!=n?{display:"inline-block"}:void 0:1===t.length&&null!=n?e[t[0]]:Object.assign(null!=n?{display:"inline-block"}:{},...t.map((t=>e[t])))}),[e]);return(0,u.useCallback)((e=>{var n=e,{token:r,className:a,style:o}=n,i=E(n,["token","className","style"]);const s=_(S({},i),{className:(0,d.A)("token",...r.types,a),children:r.content,style:t(r)});return null!=o&&(s.style=S(S({},s.style||{}),o)),s}),[t])})(i),c=(({prism:e,code:t,grammar:n,language:r})=>{const a=(0,u.useRef)(e);return(0,u.useMemo)((()=>{if(null==n)return X([t]);const e={code:t,grammar:n,language:r,tokens:[]};return a.current.hooks.run("before-tokenize",e),e.tokens=a.current.tokenize(t,n),a.current.hooks.run("after-tokenize",e),X(e.tokens)}),[t,n,r])})({prism:a,language:o,code:n,grammar:a.languages[o]});return e({tokens:c,className:`prism-code language-${o}`,style:null!=i?i.root:{},getLineProps:s,getTokenProps:l})},ee=e=>(0,u.createElement)(J,_(S({},e),{prism:e.prism||T,theme:e.theme||$,code:e.code,language:e.language}))},1561:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=!0,a="Invariant failed";function o(e,t){if(!e){if(r)throw new Error(a);var n="function"==typeof t?t():t,o=n?"".concat(a,": ").concat(n):a;throw new Error(o)}}},2654:e=>{"use strict";e.exports={}},4054:e=>{"use strict";e.exports=JSON.parse('{"/fhir-dosage-utils/blog-5f4":{"__comp":"a6aa9e1f","__context":{"plugin":"3a65aa90"},"sidebar":"814f3328","items":[{"content":"f71da0e1"}],"metadata":"c6db0fe6"},"/fhir-dosage-utils/blog/archive-62b":{"__comp":"9e4087bc","__context":{"plugin":"3a65aa90"},"archive":"091b5925"},"/fhir-dosage-utils/blog/tags-127":{"__comp":"01a85c17","__context":{"plugin":"3a65aa90"},"sidebar":"814f3328","tags":"30320f60"},"/fhir-dosage-utils/blog/tags/welcome-7ca":{"__comp":"6875c492","__context":{"plugin":"3a65aa90"},"sidebar":"814f3328","items":[{"content":"f71da0e1"}],"tag":"2e7d5b3b","listMetadata":"8472a9bd"},"/fhir-dosage-utils/blog/welcome-f9e":{"__comp":"ccc49370","__context":{"plugin":"3a65aa90"},"sidebar":"814f3328","content":"aa8d6d0b"},"/fhir-dosage-utils/examples/timing-e70":{"__comp":"d5205798","__context":{"plugin":"90795d4d"},"config":"5e9f5e1a"},"/fhir-dosage-utils/playground-b93":{"__comp":"8926b418","__context":{"plugin":"90795d4d"},"config":"5e9f5e1a"},"/fhir-dosage-utils/search-898":{"__comp":"1a4e3797","__context":{"plugin":"8cbc1f65"}},"/fhir-dosage-utils/api-c53":{"__comp":"5e95c892","__context":{"plugin":"bcc42c6c"}},"/fhir-dosage-utils/api-90e":{"__comp":"a7bd4aaa","version":"933cb006"},"/fhir-dosage-utils/api-ca1":{"__comp":"04baef29","options":"667c56e4","packages":"1cae87f6"},"/fhir-dosage-utils/api-72f":{"__comp":"c578995c"},"/fhir-dosage-utils/api/class/default-a83":{"__comp":"c578995c"},"/fhir-dosage-utils/api/enum/DisplayOrderEnum-c2f":{"__comp":"c578995c"},"/fhir-dosage-utils/api/interface/Params-bdc":{"__comp":"c578995c"},"/fhir-dosage-utils/docs-0bd":{"__comp":"5e95c892","__context":{"plugin":"4246bee9"}},"/fhir-dosage-utils/docs-8fa":{"__comp":"a7bd4aaa","version":"935f2afb"},"/fhir-dosage-utils/docs-d0e":{"__comp":"a94703ab"},"/fhir-dosage-utils/docs/category/-additionalinstruction-742":{"__comp":"14eb3368","categoryGeneratedIndex":"28886c38"},"/fhir-dosage-utils/docs/category/-asneeded-b99":{"__comp":"14eb3368","categoryGeneratedIndex":"b3272642"},"/fhir-dosage-utils/docs/category/\ufe0f-boundsduration-5a2":{"__comp":"14eb3368","categoryGeneratedIndex":"634f877e"},"/fhir-dosage-utils/docs/category/-boundsperiod-064":{"__comp":"14eb3368","categoryGeneratedIndex":"01e1ca65"},"/fhir-dosage-utils/docs/category/-boundsrange-7af":{"__comp":"14eb3368","categoryGeneratedIndex":"b83c006f"},"/fhir-dosage-utils/docs/category/-code-67e":{"__comp":"14eb3368","categoryGeneratedIndex":"c20bb7f9"},"/fhir-dosage-utils/docs/category/-count--countmax-759":{"__comp":"14eb3368","categoryGeneratedIndex":"79da1881"},"/fhir-dosage-utils/docs/category/-dayofweek-5e7":{"__comp":"14eb3368","categoryGeneratedIndex":"0931abdb"},"/fhir-dosage-utils/docs/category/-dosequantity-724":{"__comp":"14eb3368","categoryGeneratedIndex":"92f3c933"},"/fhir-dosage-utils/docs/category/-doserange-b54":{"__comp":"14eb3368","categoryGeneratedIndex":"41e66423"},"/fhir-dosage-utils/docs/category/-durationdurationmax-256":{"__comp":"14eb3368","categoryGeneratedIndex":"a6743c64"},"/fhir-dosage-utils/docs/category/-event-336":{"__comp":"14eb3368","categoryGeneratedIndex":"74cb3b1c"},"/fhir-dosage-utils/docs/category/-frequencyfrequencymax-a92":{"__comp":"14eb3368","categoryGeneratedIndex":"3c4bff03"},"/fhir-dosage-utils/docs/category/-maxdoseperadministration-a78":{"__comp":"14eb3368","categoryGeneratedIndex":"c0f1940f"},"/fhir-dosage-utils/docs/category/-maxdoseperlifetime-7bc":{"__comp":"14eb3368","categoryGeneratedIndex":"447f614c"},"/fhir-dosage-utils/docs/category/-maxdoseperperiod-0fb":{"__comp":"14eb3368","categoryGeneratedIndex":"da14fb93"},"/fhir-dosage-utils/docs/category/\ufe0f-method-e28":{"__comp":"14eb3368","categoryGeneratedIndex":"e388e5ed"},"/fhir-dosage-utils/docs/category/-offset-d99":{"__comp":"14eb3368","categoryGeneratedIndex":"2b9b0bac"},"/fhir-dosage-utils/docs/category/-offset-when-f85":{"__comp":"14eb3368","categoryGeneratedIndex":"91e5c259"},"/fhir-dosage-utils/docs/category/-patientinstruction-f71":{"__comp":"14eb3368","categoryGeneratedIndex":"6eeea2b6"},"/fhir-dosage-utils/docs/category/\ufe0f-periodperiodmax-25d":{"__comp":"14eb3368","categoryGeneratedIndex":"5d75ee92"},"/fhir-dosage-utils/docs/category/\ufe0f-ratequantity-1d3":{"__comp":"14eb3368","categoryGeneratedIndex":"5c187a43"},"/fhir-dosage-utils/docs/category/\ufe0f-raterange-ff7":{"__comp":"14eb3368","categoryGeneratedIndex":"052ceecb"},"/fhir-dosage-utils/docs/category/-rateratio-972":{"__comp":"14eb3368","categoryGeneratedIndex":"1b34e59a"},"/fhir-dosage-utils/docs/category/\ufe0f-route-66b":{"__comp":"14eb3368","categoryGeneratedIndex":"1d61667d"},"/fhir-dosage-utils/docs/category/\ufe0f-sequence-30e":{"__comp":"14eb3368","categoryGeneratedIndex":"4ed72121"},"/fhir-dosage-utils/docs/category/-site-2a9":{"__comp":"14eb3368","categoryGeneratedIndex":"b6b32736"},"/fhir-dosage-utils/docs/category/-text-100":{"__comp":"14eb3368","categoryGeneratedIndex":"14b7973a"},"/fhir-dosage-utils/docs/category/-timeofday-a63":{"__comp":"14eb3368","categoryGeneratedIndex":"4d15c614"},"/fhir-dosage-utils/docs/category/-when-bac":{"__comp":"14eb3368","categoryGeneratedIndex":"7ff2ef1f"},"/fhir-dosage-utils/docs/contributing-6d0":{"__comp":"17896441","content":"72a427b3"},"/fhir-dosage-utils/docs/custom/dateTimeFormatOptions-174":{"__comp":"17896441","content":"c9387e11"},"/fhir-dosage-utils/docs/custom/fromCodeableConceptToString-025":{"__comp":"17896441","content":"533a8e17"},"/fhir-dosage-utils/docs/custom/fromExtensionsToString-435":{"__comp":"17896441","content":"cd12752c"},"/fhir-dosage-utils/docs/custom/fromFHIRQuantityUnitToString-57f":{"__comp":"17896441","content":"430bd102"},"/fhir-dosage-utils/docs/demo-b12":{"__comp":"14eb3368","categoryGeneratedIndex":"6f133880"},"/fhir-dosage-utils/docs/demo/custom-f72":{"__comp":"14eb3368","categoryGeneratedIndex":"f2d946fd"},"/fhir-dosage-utils/docs/demo/examples-611":{"__comp":"14eb3368","categoryGeneratedIndex":"ce6de2dc"},"/fhir-dosage-utils/docs/demo/examples/medicationrequest-e6b":{"__comp":"14eb3368","categoryGeneratedIndex":"4287e57f"},"/fhir-dosage-utils/docs/demo/specs-3fd":{"__comp":"14eb3368","categoryGeneratedIndex":"4f5b57b4"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx002-b9f":{"__comp":"17896441","content":"d9a0709a"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx003-24a":{"__comp":"17896441","content":"fdba5499"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx004-15b":{"__comp":"17896441","content":"ef54304a"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0301-4cc":{"__comp":"17896441","content":"36cdde70"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0302-ed1":{"__comp":"17896441","content":"4faaf014"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0303-fcd":{"__comp":"17896441","content":"9caecde7"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0305-283":{"__comp":"17896441","content":"4628893b"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0307-295":{"__comp":"17896441","content":"4e847481"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0308-767":{"__comp":"17896441","content":"20a65861"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0310-7f2":{"__comp":"17896441","content":"3766ff12"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0313-17c":{"__comp":"17896441","content":"6a4d8b82"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0314-312":{"__comp":"17896441","content":"01aca802"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0315-cd0":{"__comp":"17896441","content":"c0086ef4"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0317-511":{"__comp":"17896441","content":"21119077"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0319-264":{"__comp":"17896441","content":"265a61ea"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0321-cf4":{"__comp":"17896441","content":"201e0385"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0331-be5":{"__comp":"17896441","content":"4eb59f15"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0339-b74":{"__comp":"17896441","content":"ebb1249f"},"/fhir-dosage-utils/docs/faq-377":{"__comp":"17896441","content":"ea313555"},"/fhir-dosage-utils/docs/next-steps-609":{"__comp":"17896441","content":"ec99730f"},"/fhir-dosage-utils/docs/quick-start-887":{"__comp":"17896441","content":"c179f821"},"/fhir-dosage-utils/docs/specs/additionalInstruction/multiple_items-6cc":{"__comp":"17896441","content":"17baba0b"},"/fhir-dosage-utils/docs/specs/additionalInstruction/single_item-c14":{"__comp":"17896441","content":"12564d99"},"/fhir-dosage-utils/docs/specs/asNeeded-93e":{"__comp":"17896441","content":"5c2c208f"},"/fhir-dosage-utils/docs/specs/asNeeded/asNeededBoolean-558":{"__comp":"17896441","content":"55373fd9"},"/fhir-dosage-utils/docs/specs/asNeeded/asNeededCodeableConcept-05d":{"__comp":"17896441","content":"118e00e5"},"/fhir-dosage-utils/docs/specs/asNeeded/asNeededFor-ed5":{"__comp":"17896441","content":"3903b0d4"},"/fhir-dosage-utils/docs/specs/boundsDuration-2f2":{"__comp":"17896441","content":"f7adbe59"},"/fhir-dosage-utils/docs/specs/boundsPeriod/end_only-907":{"__comp":"17896441","content":"1668a7c3"},"/fhir-dosage-utils/docs/specs/boundsPeriod/start_and_end-d91":{"__comp":"17896441","content":"254404d2"},"/fhir-dosage-utils/docs/specs/boundsPeriod/start_only-e93":{"__comp":"17896441","content":"40c0f713"},"/fhir-dosage-utils/docs/specs/boundsRange/high_only-91c":{"__comp":"17896441","content":"162bd28d"},"/fhir-dosage-utils/docs/specs/boundsRange/low_and_high-a6b":{"__comp":"17896441","content":"2c4b321a"},"/fhir-dosage-utils/docs/specs/boundsRange/low_only-682":{"__comp":"17896441","content":"04716c54"},"/fhir-dosage-utils/docs/specs/code-cb2":{"__comp":"17896441","content":"883bfc27"},"/fhir-dosage-utils/docs/specs/countCountMax/count-7b1":{"__comp":"17896441","content":"2a331aeb"},"/fhir-dosage-utils/docs/specs/countCountMax/count_and_countMax-b6c":{"__comp":"17896441","content":"38ae24f3"},"/fhir-dosage-utils/docs/specs/countCountMax/countMax_only-4e2":{"__comp":"17896441","content":"829c17da"},"/fhir-dosage-utils/docs/specs/dayOfWeek/multiple_items-56a":{"__comp":"17896441","content":"49044b90"},"/fhir-dosage-utils/docs/specs/dayOfWeek/single_item-6bc":{"__comp":"17896441","content":"915d2175"},"/fhir-dosage-utils/docs/specs/doseQuantity-5f5":{"__comp":"17896441","content":"7ebf62b0"},"/fhir-dosage-utils/docs/specs/doseRange/high_only-856":{"__comp":"17896441","content":"e8ce008f"},"/fhir-dosage-utils/docs/specs/doseRange/low_and_high-9a6":{"__comp":"17896441","content":"96e7b265"},"/fhir-dosage-utils/docs/specs/doseRange/low_only-43a":{"__comp":"17896441","content":"b30e43e1"},"/fhir-dosage-utils/docs/specs/durationDurationMax/duration_and_durationMax-5d3":{"__comp":"17896441","content":"460a5c5b"},"/fhir-dosage-utils/docs/specs/durationDurationMax/duration_only-1f9":{"__comp":"17896441","content":"6bccb6a0"},"/fhir-dosage-utils/docs/specs/durationDurationMax/durationMax_only-b96":{"__comp":"17896441","content":"87294416"},"/fhir-dosage-utils/docs/specs/event/multiple_items-98a":{"__comp":"17896441","content":"ece64983"},"/fhir-dosage-utils/docs/specs/event/single_item-1c8":{"__comp":"17896441","content":"bc0994c2"},"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_and_frequencyMax-2dc":{"__comp":"17896441","content":"97031957"},"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_only-ca7":{"__comp":"17896441","content":"774b774e"},"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequencyMax_only-657":{"__comp":"17896441","content":"133d1207"},"/fhir-dosage-utils/docs/specs/maxDosePerAdministration-a2e":{"__comp":"17896441","content":"06a006fb"},"/fhir-dosage-utils/docs/specs/maxDosePerLifetime-43e":{"__comp":"17896441","content":"7614ce18"},"/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r4-e7f":{"__comp":"17896441","content":"afe92c27"},"/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r5-ef5":{"__comp":"17896441","content":"3fb26655"},"/fhir-dosage-utils/docs/specs/method-b9f":{"__comp":"17896441","content":"3216d4c8"},"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_days-88d":{"__comp":"17896441","content":"20b5be5c"},"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_hours-541":{"__comp":"17896441","content":"0530b1c5"},"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_minutes-eec":{"__comp":"17896441","content":"fa572d46"},"/fhir-dosage-utils/docs/specs/offsetWhen/when_and_offset-04e":{"__comp":"17896441","content":"1f927e7e"},"/fhir-dosage-utils/docs/specs/offsetWhen/when/multiple_items-d44":{"__comp":"17896441","content":"1c1d0071"},"/fhir-dosage-utils/docs/specs/offsetWhen/when/single_item-ad0":{"__comp":"17896441","content":"d0a7fa20"},"/fhir-dosage-utils/docs/specs/patientInstruction-614":{"__comp":"17896441","content":"aa77b6a8"},"/fhir-dosage-utils/docs/specs/periodPeriodMax/period_and_periodMax-e71":{"__comp":"17896441","content":"ab10b176"},"/fhir-dosage-utils/docs/specs/periodPeriodMax/period_only-091":{"__comp":"17896441","content":"139f9fbc"},"/fhir-dosage-utils/docs/specs/periodPeriodMax/periodMax_only-8b4":{"__comp":"17896441","content":"e9832d3c"},"/fhir-dosage-utils/docs/specs/rateQuantity-77a":{"__comp":"17896441","content":"ad90b1c0"},"/fhir-dosage-utils/docs/specs/rateRange/high_only-d95":{"__comp":"17896441","content":"03620de3"},"/fhir-dosage-utils/docs/specs/rateRange/low_and_high-ec3":{"__comp":"17896441","content":"3f237283"},"/fhir-dosage-utils/docs/specs/rateRange/low_only-3ec":{"__comp":"17896441","content":"b52bbddc"},"/fhir-dosage-utils/docs/specs/rateRatio-ff8":{"__comp":"17896441","content":"ee929032"},"/fhir-dosage-utils/docs/specs/route-ad7":{"__comp":"17896441","content":"5f46c019"},"/fhir-dosage-utils/docs/specs/sequence/concurrent_instructions-f09":{"__comp":"17896441","content":"3d23bc21"},"/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_1-9ee":{"__comp":"17896441","content":"76aa043d"},"/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_2-c7b":{"__comp":"17896441","content":"4cbe19c8"},"/fhir-dosage-utils/docs/specs/site-d67":{"__comp":"17896441","content":"1cd656ab"},"/fhir-dosage-utils/docs/specs/text-5d5":{"__comp":"17896441","content":"c36217b7"},"/fhir-dosage-utils/docs/specs/timeOfDay/multiple_items-29c":{"__comp":"17896441","content":"f58af7d8"},"/fhir-dosage-utils/docs/specs/timeOfDay/single_item-f7b":{"__comp":"17896441","content":"124c4f9d"},"/fhir-dosage-utils/-3e2":{"__comp":"1df93b7f","__context":{"plugin":"90795d4d"},"config":"5e9f5e1a"}}')}},e=>{e.O(0,[1869],(()=>{return t=8536,e(e.s=t);var t}));e.O()}]); \ No newline at end of file diff --git a/assets/js/main.a07d52ec.js b/assets/js/main.a07d52ec.js new file mode 100644 index 00000000..20586708 --- /dev/null +++ b/assets/js/main.a07d52ec.js @@ -0,0 +1,2 @@ +/*! For license information please see main.a07d52ec.js.LICENSE.txt */ +(self.webpackChunkdocumentation=self.webpackChunkdocumentation||[]).push([[8792],{9188:(e,t,n)=>{"use strict";n.d(t,{W:()=>a});var r=n(6540);function a(){return r.createElement("svg",{width:"20",height:"20",className:"DocSearch-Search-Icon",viewBox:"0 0 20 20","aria-hidden":"true"},r.createElement("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}},8328:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});n(6540);var r=n(3259),a=n.n(r),o=n(4054);const i={"01a85c17":[()=>Promise.all([n.e(1869),n.e(8209)]).then(n.bind(n,2463)),"@theme/BlogTagsListPage",2463],"01aca802":[()=>Promise.all([n.e(1869),n.e(2076),n.e(2079)]).then(n.bind(n,8519)),"@site/docs/examples/medicationrequest/medrx0314.mdx",8519],"01e1ca65":[()=>n.e(1539).then(n.t.bind(n,1424,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-boundsperiod-showcases-857.json",1424],"026611d2":[()=>Promise.all([n.e(1869),n.e(2076),n.e(9301)]).then(n.bind(n,9480)),"@site/docs/custom/i18nConfig.mdx",9480],"03620de3":[()=>Promise.all([n.e(1869),n.e(2076),n.e(2460)]).then(n.bind(n,4845)),"@site/docs/specs/rateRange/high_only.mdx",4845],"04716c54":[()=>Promise.all([n.e(1869),n.e(2076),n.e(8945)]).then(n.bind(n,5943)),"@site/docs/specs/boundsRange/low_only.mdx",5943],"04baef29":[()=>Promise.all([n.e(1869),n.e(7498)]).then(n.t.bind(n,7440,23)),"/home/runner/work/fhir-dosage-utils/fhir-dosage-utils/documentation/node_modules/docusaurus-plugin-typedoc-api/lib/components/ApiPage.js",7440],"052ceecb":[()=>n.e(4294).then(n.t.bind(n,6594,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-\ufe0f-raterange-showcases-1ae.json",6594],"0530b1c5":[()=>Promise.all([n.e(1869),n.e(2076),n.e(7032)]).then(n.bind(n,559)),"@site/docs/specs/offsetWhen/offset/offset_hours.mdx",559],"06a006fb":[()=>Promise.all([n.e(1869),n.e(2076),n.e(4936)]).then(n.bind(n,3583)),"@site/docs/specs/maxDosePerAdministration/maxDosePerAdministration.mdx",3583],"091b5925":[()=>n.e(4386).then(n.t.bind(n,5292,19)),"~blog/default/fhir-dosage-utils-blog-archive-83d.json",5292],"0931abdb":[()=>n.e(6745).then(n.t.bind(n,3027,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-dayofweekx-showcases-684.json",3027],"118e00e5":[()=>Promise.all([n.e(1869),n.e(2076),n.e(2914)]).then(n.bind(n,6977)),"@site/docs/specs/asNeeded/asNeededCodeableConcept.mdx",6977],"124c4f9d":[()=>Promise.all([n.e(1869),n.e(2076),n.e(2188)]).then(n.bind(n,2809)),"@site/docs/specs/timeOfDay/single_item.mdx",2809],"12564d99":[()=>Promise.all([n.e(1869),n.e(2076),n.e(8937)]).then(n.bind(n,6288)),"@site/docs/specs/additionalInstruction/single_item.mdx",6288],"133d1207":[()=>Promise.all([n.e(1869),n.e(2076),n.e(5276)]).then(n.bind(n,2596)),"@site/docs/specs/frequencyFrequencyMax/frequencyMax_only.mdx",2596],"139f9fbc":[()=>Promise.all([n.e(1869),n.e(2076),n.e(578)]).then(n.bind(n,4697)),"@site/docs/specs/periodPeriodMax/period_only.mdx",4697],"14b7973a":[()=>n.e(8441).then(n.t.bind(n,4442,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-text-showcases-421.json",4442],"14eb3368":[()=>Promise.all([n.e(1869),n.e(6969)]).then(n.bind(n,4136)),"@theme/DocCategoryGeneratedIndexPage",4136],"162bd28d":[()=>Promise.all([n.e(1869),n.e(2076),n.e(1740)]).then(n.bind(n,9300)),"@site/docs/specs/boundsRange/high_only.mdx",9300],"1668a7c3":[()=>Promise.all([n.e(1869),n.e(2076),n.e(3790)]).then(n.bind(n,7141)),"@site/docs/specs/boundsPeriod/end_only.mdx",7141],17896441:[()=>Promise.all([n.e(1869),n.e(2076),n.e(9761),n.e(1611),n.e(8401)]).then(n.bind(n,400)),"@theme/DocItem",400],"17baba0b":[()=>Promise.all([n.e(1869),n.e(2076),n.e(3709)]).then(n.bind(n,2092)),"@site/docs/specs/additionalInstruction/multiple_items.mdx",2092],"1a4e3797":[()=>Promise.all([n.e(1869),n.e(2138)]).then(n.bind(n,4604)),"@theme/SearchPage",4604],"1b34e59a":[()=>n.e(5411).then(n.t.bind(n,9146,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-rateratio-showcases-cf8.json",9146],"1c1d0071":[()=>Promise.all([n.e(1869),n.e(2076),n.e(9748)]).then(n.bind(n,6693)),"@site/docs/specs/offsetWhen/when/multiple_items.mdx",6693],"1cae87f6":[()=>n.e(554).then(n.t.bind(n,8417,19)),"/home/runner/work/fhir-dosage-utils/fhir-dosage-utils/documentation/.docusaurus/docusaurus-plugin-typedoc-api/default/packages-current.json",8417],"1cd656ab":[()=>Promise.all([n.e(1869),n.e(2076),n.e(4697)]).then(n.bind(n,1553)),"@site/docs/specs/site/site.mdx",1553],"1d61667d":[()=>n.e(3534).then(n.t.bind(n,4112,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-\ufe0f-route-showcases-5e1.json",4112],"1df93b7f":[()=>Promise.all([n.e(1869),n.e(4583)]).then(n.bind(n,9008)),"@site/src/pages/index.tsx",9008],"1f927e7e":[()=>Promise.all([n.e(1869),n.e(2076),n.e(4471)]).then(n.bind(n,6558)),"@site/docs/specs/offsetWhen/when_and_offset.mdx",6558],"201e0385":[()=>Promise.all([n.e(1869),n.e(2076),n.e(4081)]).then(n.bind(n,5368)),"@site/docs/examples/medicationrequest/medrx0321.mdx",5368],"20a65861":[()=>Promise.all([n.e(1869),n.e(2076),n.e(1796)]).then(n.bind(n,1300)),"@site/docs/examples/medicationrequest/medrx0308.mdx",1300],"20b5be5c":[()=>Promise.all([n.e(1869),n.e(2076),n.e(6193)]).then(n.bind(n,7189)),"@site/docs/specs/offsetWhen/offset/offset_days.mdx",7189],21119077:[()=>Promise.all([n.e(1869),n.e(2076),n.e(6499)]).then(n.bind(n,8310)),"@site/docs/examples/medicationrequest/medrx0317.mdx",8310],"254404d2":[()=>Promise.all([n.e(1869),n.e(2076),n.e(7762)]).then(n.bind(n,1088)),"@site/docs/specs/boundsPeriod/start_and_end.mdx",1088],"265a61ea":[()=>Promise.all([n.e(1869),n.e(2076),n.e(5184)]).then(n.bind(n,904)),"@site/docs/examples/medicationrequest/medrx0319.mdx",904],"28886c38":[()=>n.e(3809).then(n.t.bind(n,8283,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-additionalinstruction-showcases-91b.json",8283],"2a331aeb":[()=>Promise.all([n.e(1869),n.e(2076),n.e(5317)]).then(n.bind(n,6358)),"@site/docs/specs/countCountMax/count.mdx",6358],"2b9b0bac":[()=>n.e(4052).then(n.t.bind(n,3801,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-offset-showcases-b3a.json",3801],"2c4b321a":[()=>Promise.all([n.e(1869),n.e(2076),n.e(585)]).then(n.bind(n,7954)),"@site/docs/specs/boundsRange/low_and_high.mdx",7954],"2e7d5b3b":[()=>n.e(9603).then(n.t.bind(n,6798,19)),"~blog/default/fhir-dosage-utils-blog-tags-welcome-2e0.json",6798],"30320f60":[()=>n.e(7157).then(n.t.bind(n,4807,19)),"~blog/default/fhir-dosage-utils-blog-tags-tags-7b8.json",4807],"3216d4c8":[()=>Promise.all([n.e(1869),n.e(2076),n.e(4892)]).then(n.bind(n,5614)),"@site/docs/specs/method/method.mdx",5614],"3663b37e":[()=>n.e(9276).then(n.t.bind(n,8758,19)),"~blog/default/fhir-dosage-utils-blog-tags-features-822.json",8758],"36cdde70":[()=>Promise.all([n.e(1869),n.e(2076),n.e(2229)]).then(n.bind(n,1027)),"@site/docs/examples/medicationrequest/medrx0301.mdx",1027],"3766ff12":[()=>Promise.all([n.e(1869),n.e(2076),n.e(8952)]).then(n.bind(n,4184)),"@site/docs/examples/medicationrequest/medrx0310.mdx",4184],"38ae24f3":[()=>Promise.all([n.e(1869),n.e(2076),n.e(8035)]).then(n.bind(n,4229)),"@site/docs/specs/countCountMax/count_and_countMax.mdx",4229],"3903b0d4":[()=>Promise.all([n.e(1869),n.e(2076),n.e(4726)]).then(n.bind(n,2129)),"@site/docs/specs/asNeeded/asNeededFor.mdx",2129],"3a65aa90":[()=>n.e(4093).then(n.t.bind(n,2945,19)),"/home/runner/work/fhir-dosage-utils/fhir-dosage-utils/documentation/.docusaurus/docusaurus-plugin-content-blog/default/plugin-route-context-module-100.json",2945],"3c4bff03":[()=>n.e(9812).then(n.t.bind(n,7815,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-frequency-frequencymax-showcases-2f2.json",7815],"3d23bc21":[()=>Promise.all([n.e(1869),n.e(2076),n.e(85)]).then(n.bind(n,8566)),"@site/docs/specs/sequence/concurrent_instructions.mdx",8566],"3f237283":[()=>Promise.all([n.e(1869),n.e(2076),n.e(2309)]).then(n.bind(n,566)),"@site/docs/specs/rateRange/low_and_high.mdx",566],"3fb26655":[()=>Promise.all([n.e(1869),n.e(2076),n.e(8678)]).then(n.bind(n,1334)),"@site/docs/specs/maxDosePerPeriod/r5.mdx",1334],"40c0f713":[()=>Promise.all([n.e(1869),n.e(2076),n.e(5251)]).then(n.bind(n,8531)),"@site/docs/specs/boundsPeriod/start_only.mdx",8531],"41e66423":[()=>n.e(4004).then(n.t.bind(n,2394,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-doserange-showcases-1ef.json",2394],"4246bee9":[()=>n.e(5826).then(n.t.bind(n,1966,19)),"/home/runner/work/fhir-dosage-utils/fhir-dosage-utils/documentation/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json",1966],"4287e57f":[()=>n.e(9243).then(n.t.bind(n,3677,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-medicationrequest-examples-d9a.json",3677],"430bd102":[()=>Promise.all([n.e(1869),n.e(2076),n.e(2485)]).then(n.bind(n,4539)),"@site/docs/custom/fromFHIRQuantityUnitToString.mdx",4539],"447f614c":[()=>n.e(7956).then(n.t.bind(n,3919,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-maxdoseperlifetime-showcases-07b.json",3919],"460a5c5b":[()=>Promise.all([n.e(1869),n.e(2076),n.e(2453)]).then(n.bind(n,2253)),"@site/docs/specs/durationDurationMax/duration_and_durationMax.mdx",2253],"4628893b":[()=>Promise.all([n.e(1869),n.e(2076),n.e(2857)]).then(n.bind(n,3433)),"@site/docs/examples/medicationrequest/medrx0305.mdx",3433],"49044b90":[()=>Promise.all([n.e(1869),n.e(2076),n.e(1659)]).then(n.bind(n,2584)),"@site/docs/specs/dayOfWeek/multiple_items.mdx",2584],"4cbe19c8":[()=>Promise.all([n.e(1869),n.e(2076),n.e(9832)]).then(n.bind(n,5311)),"@site/docs/specs/sequence/sequential_instructions_2.mdx",5311],"4d15c614":[()=>n.e(397).then(n.t.bind(n,9987,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-timeofday-showcases-e82.json",9987],"4e847481":[()=>Promise.all([n.e(1869),n.e(2076),n.e(9646)]).then(n.bind(n,3123)),"@site/docs/examples/medicationrequest/medrx0307.mdx",3123],"4eb59f15":[()=>Promise.all([n.e(1869),n.e(2076),n.e(9218)]).then(n.bind(n,4353)),"@site/docs/examples/medicationrequest/medrx0331.mdx",4353],"4ed72121":[()=>n.e(57).then(n.t.bind(n,1911,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-\ufe0f-sequence-showcases-2e3.json",1911],"4f5b57b4":[()=>n.e(4574).then(n.t.bind(n,5131,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-specifications-showcases-af4.json",5131],"4faaf014":[()=>Promise.all([n.e(1869),n.e(2076),n.e(6734)]).then(n.bind(n,8659)),"@site/docs/examples/medicationrequest/medrx0302.mdx",8659],"533a8e17":[()=>Promise.all([n.e(1869),n.e(2076),n.e(1290)]).then(n.bind(n,1193)),"@site/docs/custom/fromCodeableConceptToString.mdx",1193],"55373fd9":[()=>Promise.all([n.e(1869),n.e(2076),n.e(5461)]).then(n.bind(n,542)),"@site/docs/specs/asNeeded/asNeededBoolean.mdx",542],"5c187a43":[()=>n.e(6547).then(n.t.bind(n,7157,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-\ufe0f-ratequantity-showcases-d02.json",7157],"5c2c208f":[()=>Promise.all([n.e(1869),n.e(2076),n.e(3970)]).then(n.bind(n,5269)),"@site/docs/specs/asNeeded/asNeeded.mdx",5269],"5d75ee92":[()=>n.e(947).then(n.t.bind(n,9796,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-\ufe0f-period-periodmax-showcases-b23.json",9796],"5e95c892":[()=>n.e(9647).then(n.bind(n,7121)),"@theme/DocsRoot",7121],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,4784)),"@generated/docusaurus.config",4784],"5f46c019":[()=>Promise.all([n.e(1869),n.e(2076),n.e(9059)]).then(n.bind(n,7133)),"@site/docs/specs/route/route.mdx",7133],"634f877e":[()=>n.e(779).then(n.t.bind(n,6868,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-\ufe0f-boundsduration-showcases-4c6.json",6868],"667c56e4":[()=>n.e(3843).then(n.t.bind(n,782,19)),"/home/runner/work/fhir-dosage-utils/fhir-dosage-utils/documentation/.docusaurus/docusaurus-plugin-typedoc-api/default/options.json",782],"6875c492":[()=>Promise.all([n.e(1869),n.e(2076),n.e(9761),n.e(8382),n.e(4813)]).then(n.bind(n,3069)),"@theme/BlogTagsPostsPage",3069],"6a4d8b82":[()=>Promise.all([n.e(1869),n.e(2076),n.e(9232)]).then(n.bind(n,4402)),"@site/docs/examples/medicationrequest/medrx0313.mdx",4402],"6bccb6a0":[()=>Promise.all([n.e(1869),n.e(2076),n.e(1286)]).then(n.bind(n,677)),"@site/docs/specs/durationDurationMax/duration_only.mdx",677],"6eeea2b6":[()=>n.e(2279).then(n.t.bind(n,9078,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-patientinstruction-showcases-289.json",9078],"6f133880":[()=>n.e(3426).then(n.t.bind(n,1508,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-showcases-of-the-library-4a3.json",1508],"72a427b3":[()=>Promise.all([n.e(2076),n.e(5643)]).then(n.bind(n,4580)),"@site/docs/contributing.mdx",4580],"74cb3b1c":[()=>n.e(3906).then(n.t.bind(n,2278,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-event-showcases-8e5.json",2278],"7614ce18":[()=>Promise.all([n.e(1869),n.e(2076),n.e(1444)]).then(n.bind(n,3339)),"@site/docs/specs/maxDosePerLifetime/maxDosePerLifetime.mdx",3339],"76aa043d":[()=>Promise.all([n.e(1869),n.e(2076),n.e(6751)]).then(n.bind(n,6692)),"@site/docs/specs/sequence/sequential_instructions_1.mdx",6692],"774b774e":[()=>Promise.all([n.e(1869),n.e(2076),n.e(5648)]).then(n.bind(n,553)),"@site/docs/specs/frequencyFrequencyMax/frequency_only.mdx",553],"78f84b63":[()=>Promise.all([n.e(1869),n.e(2076),n.e(2683)]).then(n.bind(n,5020)),"@site/docs/custom/displayOrder.mdx",5020],"79da1881":[()=>n.e(9588).then(n.t.bind(n,3772,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-count-countmax-showcases-739.json",3772],"7ebf62b0":[()=>Promise.all([n.e(1869),n.e(2076),n.e(417)]).then(n.bind(n,6787)),"@site/docs/specs/doseQuantity/doseQuantity.mdx",6787],"7ff2ef1f":[()=>n.e(7368).then(n.t.bind(n,5295,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-when-showcases-bdc.json",5295],"814f3328":[()=>n.e(7472).then(n.t.bind(n,5513,19)),"~blog/default/blog-post-list-prop-default.json",5513],"829c17da":[()=>Promise.all([n.e(1869),n.e(2076),n.e(8516)]).then(n.bind(n,3510)),"@site/docs/specs/countCountMax/countMax_only.mdx",3510],"8472a9bd":[()=>n.e(9848).then(n.t.bind(n,4421,19)),"~blog/default/fhir-dosage-utils-blog-tags-welcome-2e0-list.json",4421],87294416:[()=>Promise.all([n.e(1869),n.e(2076),n.e(1250)]).then(n.bind(n,7326)),"@site/docs/specs/durationDurationMax/durationMax_only.mdx",7326],"883bfc27":[()=>Promise.all([n.e(1869),n.e(2076),n.e(4812)]).then(n.bind(n,4359)),"@site/docs/specs/code/code.mdx",4359],"8926b418":[()=>Promise.all([n.e(1869),n.e(2076),n.e(9333),n.e(3663)]).then(n.bind(n,4190)),"@site/src/pages/playground/index.tsx",4190],"8cbc1f65":[()=>n.e(2215).then(n.t.bind(n,7757,19)),"/home/runner/work/fhir-dosage-utils/fhir-dosage-utils/documentation/.docusaurus/docusaurus-theme-search-algolia/default/plugin-route-context-module-100.json",7757],"90795d4d":[()=>n.e(7003).then(n.t.bind(n,4061,19)),"/home/runner/work/fhir-dosage-utils/fhir-dosage-utils/documentation/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json",4061],"915d2175":[()=>Promise.all([n.e(1869),n.e(2076),n.e(7829)]).then(n.bind(n,9591)),"@site/docs/specs/dayOfWeek/single_item.mdx",9591],"91e5c259":[()=>n.e(5970).then(n.t.bind(n,6010,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-offset-when-showcases-df6.json",6010],"92f3c933":[()=>n.e(8581).then(n.t.bind(n,5618,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-dosequantity-showcases-a3b.json",5618],"933cb006":[()=>n.e(581).then(n.t.bind(n,8392,19)),"/home/runner/work/fhir-dosage-utils/fhir-dosage-utils/documentation/.docusaurus/docusaurus-plugin-typedoc-api/default/version-current.json",8392],"935f2afb":[()=>n.e(962).then(n.t.bind(n,5610,19)),"~docs/default/version-current-metadata-prop-751.json",5610],"96e7b265":[()=>Promise.all([n.e(1869),n.e(2076),n.e(3301)]).then(n.bind(n,7398)),"@site/docs/specs/doseRange/low_and_high.mdx",7398],97031957:[()=>Promise.all([n.e(1869),n.e(2076),n.e(4222)]).then(n.bind(n,3416)),"@site/docs/specs/frequencyFrequencyMax/frequency_and_frequencyMax.mdx",3416],"9caecde7":[()=>Promise.all([n.e(1869),n.e(2076),n.e(980)]).then(n.bind(n,3293)),"@site/docs/examples/medicationrequest/medrx0303.mdx",3293],"9e4087bc":[()=>n.e(2711).then(n.bind(n,9331)),"@theme/BlogArchivePage",9331],a5e5ec5a:[()=>Promise.all([n.e(1869),n.e(2076),n.e(3253)]).then(n.bind(n,4861)),"@site/docs/custom/displaySeparator.mdx",4861],a6743c64:[()=>n.e(7275).then(n.t.bind(n,8052,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-duration-durationmax-showcases-250.json",8052],a6aa9e1f:[()=>Promise.all([n.e(1869),n.e(2076),n.e(9761),n.e(8382),n.e(7643)]).then(n.bind(n,7785)),"@theme/BlogListPage",7785],a7bd4aaa:[()=>n.e(7098).then(n.bind(n,4532)),"@theme/DocVersionRoot",4532],a94703ab:[()=>Promise.all([n.e(1869),n.e(9048)]).then(n.bind(n,5738)),"@theme/DocRoot",5738],aa77b6a8:[()=>Promise.all([n.e(1869),n.e(2076),n.e(4048)]).then(n.bind(n,8585)),"@site/docs/specs/patientInstruction/patientInstruction.mdx",8585],aa8d6d0b:[()=>Promise.all([n.e(2076),n.e(3281)]).then(n.bind(n,5364)),"@site/blog/2024-03-29-welcome.mdx",5364],ab10b176:[()=>Promise.all([n.e(1869),n.e(2076),n.e(3421)]).then(n.bind(n,909)),"@site/docs/specs/periodPeriodMax/period_and_periodMax.mdx",909],ad90b1c0:[()=>Promise.all([n.e(1869),n.e(2076),n.e(513)]).then(n.bind(n,2223)),"@site/docs/specs/rateQuantity/rateQuantity.mdx",2223],afe92c27:[()=>Promise.all([n.e(1869),n.e(2076),n.e(4088)]).then(n.bind(n,2390)),"@site/docs/specs/maxDosePerPeriod/r4.mdx",2390],b21f49cb:[()=>n.e(2896).then(n.t.bind(n,2029,19)),"~blog/default/fhir-dosage-utils-blog-tags-features-822-list.json",2029],b30e43e1:[()=>Promise.all([n.e(1869),n.e(2076),n.e(1146)]).then(n.bind(n,7874)),"@site/docs/specs/doseRange/low_only.mdx",7874],b3272642:[()=>n.e(1085).then(n.t.bind(n,9781,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-asneeded-showcases-b55.json",9781],b52bbddc:[()=>Promise.all([n.e(1869),n.e(2076),n.e(3361)]).then(n.bind(n,5950)),"@site/docs/specs/rateRange/low_only.mdx",5950],b6b32736:[()=>n.e(1664).then(n.t.bind(n,6181,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-site-showcases-019.json",6181],b83c006f:[()=>n.e(3143).then(n.t.bind(n,4253,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-boundsrange-showcases-a2b.json",4253],bc0994c2:[()=>Promise.all([n.e(1869),n.e(2076),n.e(9643)]).then(n.bind(n,4008)),"@site/docs/specs/event/single_item.mdx",4008],bcc42c6c:[()=>n.e(4071).then(n.t.bind(n,4978,19)),"/home/runner/work/fhir-dosage-utils/fhir-dosage-utils/documentation/.docusaurus/docusaurus-plugin-typedoc-api/default/plugin-route-context-module-100.json",4978],c0086ef4:[()=>Promise.all([n.e(1869),n.e(2076),n.e(2495)]).then(n.bind(n,5333)),"@site/docs/examples/medicationrequest/medrx0315.mdx",5333],c0f1940f:[()=>n.e(3244).then(n.t.bind(n,2521,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-maxdoseperadministration-showcases-f0a.json",2521],c179f821:[()=>Promise.all([n.e(1869),n.e(2076),n.e(1110)]).then(n.bind(n,5160)),"@site/docs/quick-start.mdx",5160],c20bb7f9:[()=>n.e(5308).then(n.t.bind(n,7014,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-code-showcases-22a.json",7014],c36217b7:[()=>Promise.all([n.e(1869),n.e(2076),n.e(6016)]).then(n.bind(n,3403)),"@site/docs/specs/text/text.mdx",3403],c578995c:[()=>Promise.all([n.e(1869),n.e(2076),n.e(9761),n.e(1611),n.e(5772)]).then(n.t.bind(n,9332,23)),"/home/runner/work/fhir-dosage-utils/fhir-dosage-utils/documentation/node_modules/docusaurus-plugin-typedoc-api/lib/components/ApiItem.js",9332],c6db0fe6:[()=>n.e(8637).then(n.t.bind(n,5560,19)),"~blog/default/fhir-dosage-utils-blog-25a.json",5560],c9387e11:[()=>Promise.all([n.e(1869),n.e(2076),n.e(3140)]).then(n.bind(n,459)),"@site/docs/custom/dateTimeFormatOptions.mdx",459],ccc49370:[()=>Promise.all([n.e(1869),n.e(2076),n.e(9761),n.e(8382),n.e(3249)]).then(n.bind(n,4029)),"@theme/BlogPostPage",4029],cd12752c:[()=>Promise.all([n.e(1869),n.e(2076),n.e(6614)]).then(n.bind(n,844)),"@site/docs/custom/fromExtensionsToString.mdx",844],ce6de2dc:[()=>n.e(8147).then(n.t.bind(n,6998,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-\ufe0f-real-word-examples-56c.json",6998],d026f85a:[()=>Promise.all([n.e(2076),n.e(9307)]).then(n.bind(n,8298)),"@site/blog/2024-04-20-empowerment.mdx?truncated=true",8298],d0a7fa20:[()=>Promise.all([n.e(1869),n.e(2076),n.e(3462)]).then(n.bind(n,8484)),"@site/docs/specs/offsetWhen/when/single_item.mdx",8484],d5205798:[()=>Promise.all([n.e(1869),n.e(2076),n.e(3920)]).then(n.bind(n,9309)),"@site/src/pages/examples/timing/index.tsx",9309],d9a0709a:[()=>Promise.all([n.e(1869),n.e(2076),n.e(8154)]).then(n.bind(n,5056)),"@site/docs/examples/medicationrequest/medrx002.mdx",5056],da14fb93:[()=>n.e(3585).then(n.t.bind(n,718,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-maxdoseperperiod-showcases-a7c.json",718],e388e5ed:[()=>n.e(7806).then(n.t.bind(n,735,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-\ufe0f-method-showcases-cf7.json",735],e3948197:[()=>Promise.all([n.e(2076),n.e(3733)]).then(n.bind(n,2297)),"@site/blog/2024-04-20-empowerment.mdx",2297],e8ce008f:[()=>Promise.all([n.e(1869),n.e(2076),n.e(2122)]).then(n.bind(n,4497)),"@site/docs/specs/doseRange/high_only.mdx",4497],e9832d3c:[()=>Promise.all([n.e(1869),n.e(2076),n.e(6554)]).then(n.bind(n,9925)),"@site/docs/specs/periodPeriodMax/periodMax_only.mdx",9925],ea313555:[()=>Promise.all([n.e(2076),n.e(1011)]).then(n.bind(n,2362)),"@site/docs/faq.mdx",2362],ebb1249f:[()=>Promise.all([n.e(1869),n.e(2076),n.e(3678)]).then(n.bind(n,5551)),"@site/docs/examples/medicationrequest/medrx0339.mdx",5551],ec99730f:[()=>Promise.all([n.e(2076),n.e(2209)]).then(n.bind(n,6865)),"@site/docs/next-steps.mdx",6865],ece64983:[()=>Promise.all([n.e(1869),n.e(2076),n.e(1932)]).then(n.bind(n,7786)),"@site/docs/specs/event/multiple_items.mdx",7786],ee929032:[()=>Promise.all([n.e(1869),n.e(2076),n.e(5236)]).then(n.bind(n,1939)),"@site/docs/specs/rateRatio/rateRatio.mdx",1939],ef54304a:[()=>Promise.all([n.e(1869),n.e(2076),n.e(3157)]).then(n.bind(n,9)),"@site/docs/examples/medicationrequest/medrx004.mdx",9],f2d946fd:[()=>n.e(4234).then(n.t.bind(n,4718,19)),"~docs/default/category-fhir-dosage-utilsdocs-tutorialsidebar-category-\ufe0f-customizations-showcases-f24.json",4718],f58af7d8:[()=>Promise.all([n.e(1869),n.e(2076),n.e(4056)]).then(n.bind(n,1877)),"@site/docs/specs/timeOfDay/multiple_items.mdx",1877],f71da0e1:[()=>Promise.all([n.e(2076),n.e(6720)]).then(n.bind(n,697)),"@site/blog/2024-03-29-welcome.mdx?truncated=true",697],f7adbe59:[()=>Promise.all([n.e(1869),n.e(2076),n.e(9280)]).then(n.bind(n,310)),"@site/docs/specs/boundsDuration/boundsDuration.mdx",310],fa572d46:[()=>Promise.all([n.e(1869),n.e(2076),n.e(1616)]).then(n.bind(n,6634)),"@site/docs/specs/offsetWhen/offset/offset_minutes.mdx",6634],fdba5499:[()=>Promise.all([n.e(1869),n.e(2076),n.e(743)]).then(n.bind(n,1299)),"@site/docs/examples/medicationrequest/medrx003.mdx",1299]};var s=n(4848);function l(e){let{error:t,retry:n,pastDelay:r}=e;return t?(0,s.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,s.jsx)("p",{children:String(t)}),(0,s.jsx)("div",{children:(0,s.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):r?(0,s.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,s.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,s.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,s.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var c=n(6921),u=n(3102);function d(e,t){if("*"===e)return a()({loading:l,loader:()=>n.e(2237).then(n.bind(n,2237)),modules:["@theme/NotFound"],webpack:()=>[2237],render(e,t){const n=e.default;return(0,s.jsx)(u.W,{value:{plugin:{name:"native",id:"default"}},children:(0,s.jsx)(n,{...t})})}});const r=o[`${e}-${t}`],d={},f=[],p=[],h=(0,c.A)(r);return Object.entries(h).forEach((e=>{let[t,n]=e;const r=i[n];r&&(d[t]=r[0],f.push(r[1]),p.push(r[2]))})),a().Map({loading:l,loader:d,modules:f,webpack:()=>p,render(t,n){const a=JSON.parse(JSON.stringify(r));Object.entries(t).forEach((t=>{let[n,r]=t;const o=r.default;if(!o)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof o&&"function"!=typeof o||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{o[e]=r[e]}));let i=a;const s=n.split(".");s.slice(0,-1).forEach((e=>{i=i[e]})),i[s[s.length-1]]=o}));const o=a.__comp;delete a.__comp;const i=a.__context;return delete a.__context,(0,s.jsx)(u.W,{value:i,children:(0,s.jsx)(o,{...a,...n})})}})}const f=[{path:"/fhir-dosage-utils/blog",component:d("/fhir-dosage-utils/blog","557"),exact:!0},{path:"/fhir-dosage-utils/blog/archive",component:d("/fhir-dosage-utils/blog/archive","62b"),exact:!0},{path:"/fhir-dosage-utils/blog/empowerment",component:d("/fhir-dosage-utils/blog/empowerment","d89"),exact:!0},{path:"/fhir-dosage-utils/blog/tags",component:d("/fhir-dosage-utils/blog/tags","127"),exact:!0},{path:"/fhir-dosage-utils/blog/tags/features",component:d("/fhir-dosage-utils/blog/tags/features","fb1"),exact:!0},{path:"/fhir-dosage-utils/blog/tags/welcome",component:d("/fhir-dosage-utils/blog/tags/welcome","7ca"),exact:!0},{path:"/fhir-dosage-utils/blog/welcome",component:d("/fhir-dosage-utils/blog/welcome","f9e"),exact:!0},{path:"/fhir-dosage-utils/examples/timing",component:d("/fhir-dosage-utils/examples/timing","e70"),exact:!0},{path:"/fhir-dosage-utils/playground",component:d("/fhir-dosage-utils/playground","b93"),exact:!0},{path:"/fhir-dosage-utils/search",component:d("/fhir-dosage-utils/search","898"),exact:!0},{path:"/fhir-dosage-utils/api",component:d("/fhir-dosage-utils/api","98e"),routes:[{path:"/fhir-dosage-utils/api",component:d("/fhir-dosage-utils/api","438"),routes:[{path:"/fhir-dosage-utils/api",component:d("/fhir-dosage-utils/api","027"),routes:[{path:"/fhir-dosage-utils/api",component:d("/fhir-dosage-utils/api","72f"),exact:!0,sidebar:"api",id:0},{path:"/fhir-dosage-utils/api/class/default",component:d("/fhir-dosage-utils/api/class/default","79a"),exact:!0,sidebar:"api",id:40},{path:"/fhir-dosage-utils/api/enum/DisplayOrderEnum",component:d("/fhir-dosage-utils/api/enum/DisplayOrderEnum","c2f"),exact:!0,sidebar:"api",id:9},{path:"/fhir-dosage-utils/api/interface/Params",component:d("/fhir-dosage-utils/api/interface/Params","bdc"),exact:!0,sidebar:"api",id:1}]}]}]},{path:"/fhir-dosage-utils/docs",component:d("/fhir-dosage-utils/docs","08d"),routes:[{path:"/fhir-dosage-utils/docs",component:d("/fhir-dosage-utils/docs","17d"),routes:[{path:"/fhir-dosage-utils/docs",component:d("/fhir-dosage-utils/docs","5a3"),routes:[{path:"/fhir-dosage-utils/docs/category/-additionalinstruction",component:d("/fhir-dosage-utils/docs/category/-additionalinstruction","742"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-asneeded",component:d("/fhir-dosage-utils/docs/category/-asneeded","b99"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/\ufe0f-boundsduration",component:d("/fhir-dosage-utils/docs/category/\ufe0f-boundsduration","5a2"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-boundsperiod",component:d("/fhir-dosage-utils/docs/category/-boundsperiod","064"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-boundsrange",component:d("/fhir-dosage-utils/docs/category/-boundsrange","7af"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-code",component:d("/fhir-dosage-utils/docs/category/-code","67e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-count--countmax",component:d("/fhir-dosage-utils/docs/category/-count--countmax","759"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-dayofweek",component:d("/fhir-dosage-utils/docs/category/-dayofweek","5e7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-dosequantity",component:d("/fhir-dosage-utils/docs/category/-dosequantity","724"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-doserange",component:d("/fhir-dosage-utils/docs/category/-doserange","b54"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-durationdurationmax",component:d("/fhir-dosage-utils/docs/category/-durationdurationmax","256"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-event",component:d("/fhir-dosage-utils/docs/category/-event","336"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-frequencyfrequencymax",component:d("/fhir-dosage-utils/docs/category/-frequencyfrequencymax","a92"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-maxdoseperadministration",component:d("/fhir-dosage-utils/docs/category/-maxdoseperadministration","a78"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-maxdoseperlifetime",component:d("/fhir-dosage-utils/docs/category/-maxdoseperlifetime","7bc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-maxdoseperperiod",component:d("/fhir-dosage-utils/docs/category/-maxdoseperperiod","0fb"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/\ufe0f-method",component:d("/fhir-dosage-utils/docs/category/\ufe0f-method","e28"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-offset",component:d("/fhir-dosage-utils/docs/category/-offset","d99"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-offset-when",component:d("/fhir-dosage-utils/docs/category/-offset-when","f85"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-patientinstruction",component:d("/fhir-dosage-utils/docs/category/-patientinstruction","f71"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/\ufe0f-periodperiodmax",component:d("/fhir-dosage-utils/docs/category/\ufe0f-periodperiodmax","25d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/\ufe0f-ratequantity",component:d("/fhir-dosage-utils/docs/category/\ufe0f-ratequantity","1d3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/\ufe0f-raterange",component:d("/fhir-dosage-utils/docs/category/\ufe0f-raterange","ff7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-rateratio",component:d("/fhir-dosage-utils/docs/category/-rateratio","972"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/\ufe0f-route",component:d("/fhir-dosage-utils/docs/category/\ufe0f-route","66b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/\ufe0f-sequence",component:d("/fhir-dosage-utils/docs/category/\ufe0f-sequence","30e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-site",component:d("/fhir-dosage-utils/docs/category/-site","2a9"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-text",component:d("/fhir-dosage-utils/docs/category/-text","100"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-timeofday",component:d("/fhir-dosage-utils/docs/category/-timeofday","a63"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/category/-when",component:d("/fhir-dosage-utils/docs/category/-when","bac"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/contributing",component:d("/fhir-dosage-utils/docs/contributing","6d0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/custom/dateTimeFormatOptions",component:d("/fhir-dosage-utils/docs/custom/dateTimeFormatOptions","174"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/custom/displayOrder",component:d("/fhir-dosage-utils/docs/custom/displayOrder","87d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/custom/displaySeparator",component:d("/fhir-dosage-utils/docs/custom/displaySeparator","26e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/custom/fromCodeableConceptToString",component:d("/fhir-dosage-utils/docs/custom/fromCodeableConceptToString","025"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/custom/fromExtensionsToString",component:d("/fhir-dosage-utils/docs/custom/fromExtensionsToString","435"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/custom/fromFHIRQuantityUnitToString",component:d("/fhir-dosage-utils/docs/custom/fromFHIRQuantityUnitToString","57f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/custom/i18nConfig",component:d("/fhir-dosage-utils/docs/custom/i18nConfig","68c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/demo",component:d("/fhir-dosage-utils/docs/demo","b12"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/demo/custom",component:d("/fhir-dosage-utils/docs/demo/custom","f72"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/demo/examples",component:d("/fhir-dosage-utils/docs/demo/examples","611"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/demo/examples/medicationrequest",component:d("/fhir-dosage-utils/docs/demo/examples/medicationrequest","e6b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/demo/specs",component:d("/fhir-dosage-utils/docs/demo/specs","3fd"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx002",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx002","b9f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx003",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx003","24a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx004",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx004","15b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0301",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0301","4cc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0302",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0302","ed1"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0303",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0303","fcd"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0305",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0305","283"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0307",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0307","295"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0308",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0308","767"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0310",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0310","7f2"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0313",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0313","17c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0314",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0314","312"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0315",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0315","cd0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0317",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0317","511"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0319",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0319","264"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0321",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0321","cf4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0331",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0331","be5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0339",component:d("/fhir-dosage-utils/docs/examples/medicationrequest/medrx0339","b74"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/faq",component:d("/fhir-dosage-utils/docs/faq","377"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/next-steps",component:d("/fhir-dosage-utils/docs/next-steps","609"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/quick-start",component:d("/fhir-dosage-utils/docs/quick-start","887"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/additionalInstruction/multiple_items",component:d("/fhir-dosage-utils/docs/specs/additionalInstruction/multiple_items","6cc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/additionalInstruction/single_item",component:d("/fhir-dosage-utils/docs/specs/additionalInstruction/single_item","c14"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/asNeeded",component:d("/fhir-dosage-utils/docs/specs/asNeeded","93e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/asNeeded/asNeededBoolean",component:d("/fhir-dosage-utils/docs/specs/asNeeded/asNeededBoolean","558"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/asNeeded/asNeededCodeableConcept",component:d("/fhir-dosage-utils/docs/specs/asNeeded/asNeededCodeableConcept","05d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/asNeeded/asNeededFor",component:d("/fhir-dosage-utils/docs/specs/asNeeded/asNeededFor","ed5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/boundsDuration",component:d("/fhir-dosage-utils/docs/specs/boundsDuration","2f2"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/boundsPeriod/end_only",component:d("/fhir-dosage-utils/docs/specs/boundsPeriod/end_only","907"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/boundsPeriod/start_and_end",component:d("/fhir-dosage-utils/docs/specs/boundsPeriod/start_and_end","d91"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/boundsPeriod/start_only",component:d("/fhir-dosage-utils/docs/specs/boundsPeriod/start_only","e93"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/boundsRange/high_only",component:d("/fhir-dosage-utils/docs/specs/boundsRange/high_only","91c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/boundsRange/low_and_high",component:d("/fhir-dosage-utils/docs/specs/boundsRange/low_and_high","a6b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/boundsRange/low_only",component:d("/fhir-dosage-utils/docs/specs/boundsRange/low_only","682"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/code",component:d("/fhir-dosage-utils/docs/specs/code","cb2"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/countCountMax/count",component:d("/fhir-dosage-utils/docs/specs/countCountMax/count","7b1"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/countCountMax/count_and_countMax",component:d("/fhir-dosage-utils/docs/specs/countCountMax/count_and_countMax","b6c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/countCountMax/countMax_only",component:d("/fhir-dosage-utils/docs/specs/countCountMax/countMax_only","4e2"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/dayOfWeek/multiple_items",component:d("/fhir-dosage-utils/docs/specs/dayOfWeek/multiple_items","56a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/dayOfWeek/single_item",component:d("/fhir-dosage-utils/docs/specs/dayOfWeek/single_item","6bc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/doseQuantity",component:d("/fhir-dosage-utils/docs/specs/doseQuantity","5f5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/doseRange/high_only",component:d("/fhir-dosage-utils/docs/specs/doseRange/high_only","856"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/doseRange/low_and_high",component:d("/fhir-dosage-utils/docs/specs/doseRange/low_and_high","9a6"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/doseRange/low_only",component:d("/fhir-dosage-utils/docs/specs/doseRange/low_only","43a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/durationDurationMax/duration_and_durationMax",component:d("/fhir-dosage-utils/docs/specs/durationDurationMax/duration_and_durationMax","5d3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/durationDurationMax/duration_only",component:d("/fhir-dosage-utils/docs/specs/durationDurationMax/duration_only","1f9"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/durationDurationMax/durationMax_only",component:d("/fhir-dosage-utils/docs/specs/durationDurationMax/durationMax_only","b96"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/event/multiple_items",component:d("/fhir-dosage-utils/docs/specs/event/multiple_items","98a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/event/single_item",component:d("/fhir-dosage-utils/docs/specs/event/single_item","1c8"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_and_frequencyMax",component:d("/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_and_frequencyMax","2dc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_only",component:d("/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_only","ca7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequencyMax_only",component:d("/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequencyMax_only","657"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/maxDosePerAdministration",component:d("/fhir-dosage-utils/docs/specs/maxDosePerAdministration","a2e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/maxDosePerLifetime",component:d("/fhir-dosage-utils/docs/specs/maxDosePerLifetime","43e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r4",component:d("/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r4","e7f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r5",component:d("/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r5","ef5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/method",component:d("/fhir-dosage-utils/docs/specs/method","b9f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_days",component:d("/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_days","88d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_hours",component:d("/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_hours","541"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_minutes",component:d("/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_minutes","eec"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/offsetWhen/when_and_offset",component:d("/fhir-dosage-utils/docs/specs/offsetWhen/when_and_offset","04e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/offsetWhen/when/multiple_items",component:d("/fhir-dosage-utils/docs/specs/offsetWhen/when/multiple_items","d44"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/offsetWhen/when/single_item",component:d("/fhir-dosage-utils/docs/specs/offsetWhen/when/single_item","ad0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/patientInstruction",component:d("/fhir-dosage-utils/docs/specs/patientInstruction","614"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/periodPeriodMax/period_and_periodMax",component:d("/fhir-dosage-utils/docs/specs/periodPeriodMax/period_and_periodMax","e71"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/periodPeriodMax/period_only",component:d("/fhir-dosage-utils/docs/specs/periodPeriodMax/period_only","091"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/periodPeriodMax/periodMax_only",component:d("/fhir-dosage-utils/docs/specs/periodPeriodMax/periodMax_only","8b4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/rateQuantity",component:d("/fhir-dosage-utils/docs/specs/rateQuantity","77a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/rateRange/high_only",component:d("/fhir-dosage-utils/docs/specs/rateRange/high_only","d95"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/rateRange/low_and_high",component:d("/fhir-dosage-utils/docs/specs/rateRange/low_and_high","ec3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/rateRange/low_only",component:d("/fhir-dosage-utils/docs/specs/rateRange/low_only","3ec"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/rateRatio",component:d("/fhir-dosage-utils/docs/specs/rateRatio","ff8"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/route",component:d("/fhir-dosage-utils/docs/specs/route","ad7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/sequence/concurrent_instructions",component:d("/fhir-dosage-utils/docs/specs/sequence/concurrent_instructions","f09"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_1",component:d("/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_1","9ee"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_2",component:d("/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_2","c7b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/site",component:d("/fhir-dosage-utils/docs/specs/site","d67"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/text",component:d("/fhir-dosage-utils/docs/specs/text","5d5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/timeOfDay/multiple_items",component:d("/fhir-dosage-utils/docs/specs/timeOfDay/multiple_items","29c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fhir-dosage-utils/docs/specs/timeOfDay/single_item",component:d("/fhir-dosage-utils/docs/specs/timeOfDay/single_item","f7b"),exact:!0,sidebar:"tutorialSidebar"}]}]}]},{path:"/fhir-dosage-utils/",component:d("/fhir-dosage-utils/","3e2"),exact:!0},{path:"*",component:d("*")}]},6125:(e,t,n)=>{"use strict";n.d(t,{o:()=>o,x:()=>i});var r=n(6540),a=n(4848);const o=r.createContext(!1);function i(e){let{children:t}=e;const[n,i]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i(!0)}),[]),(0,a.jsx)(o.Provider,{value:n,children:t})}},8536:(e,t,n)=>{"use strict";var r=n(6540),a=n(5338),o=n(4625),i=n(545),s=n(8193);const l=[n(119),n(6134),n(6294),n(1043)];var c=n(8328),u=n(6347),d=n(2831),f=n(4848);function p(e){let{children:t}=e;return(0,f.jsx)(f.Fragment,{children:t})}var h=n(5260),g=n(4586),m=n(6025),b=n(6342),y=n(9024),v=n(2131),x=n(4090),w=n(2967),k=n(440),S=n(1463);function _(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,g.default)(),r=(0,v.o)(),a=n[e].htmlLang,o=e=>e.replace("-","_");return(0,f.jsxs)(h.A,{children:[Object.entries(n).map((e=>{let[t,{htmlLang:n}]=e;return(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)})),(0,f.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,f.jsx)("meta",{property:"og:locale",content:o(a)}),Object.values(n).filter((e=>a!==e.htmlLang)).map((e=>(0,f.jsx)("meta",{property:"og:locale:alternate",content:o(e.htmlLang)},`meta-og-${e.htmlLang}`)))]})}function E(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,g.default)(),r=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,g.default)(),{pathname:r}=(0,u.zy)();return e+(0,k.applyTrailingSlash)((0,m.A)(r),{trailingSlash:n,baseUrl:t})}(),a=t?`${n}${t}`:r;return(0,f.jsxs)(h.A,{children:[(0,f.jsx)("meta",{property:"og:url",content:a}),(0,f.jsx)("link",{rel:"canonical",href:a})]})}function C(){const{i18n:{currentLocale:e}}=(0,g.default)(),{metadata:t,image:n}=(0,b.p)();return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(h.A,{children:[(0,f.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,f.jsx)("body",{className:x.w})]}),n&&(0,f.jsx)(y.be,{image:n}),(0,f.jsx)(E,{}),(0,f.jsx)(_,{}),(0,f.jsx)(S.A,{tag:w.Cy,locale:e}),(0,f.jsx)(h.A,{children:t.map(((e,t)=>(0,f.jsx)("meta",{...e},t)))})]})}const T=new Map;function A(e){if(T.has(e.pathname))return{...e,pathname:T.get(e.pathname)};if((0,d.u)(c.A,e.pathname).some((e=>{let{route:t}=e;return!0===t.exact})))return T.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return T.set(e.pathname,t),{...e,pathname:t}}var P=n(6125),N=n(6988),j=n(205);function R(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];const a=l.map((t=>{const r=t.default?.[e]??t[e];return r?.(...n)}));return()=>a.forEach((e=>e?.()))}const L=function(e){let{children:t,location:n,previousLocation:r}=e;return(0,j.A)((()=>{r!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;const r=t.pathname===n.pathname,a=t.hash===n.hash,o=t.search===n.search;if(r&&a&&!o)return;const{hash:i}=t;if(i){const e=decodeURIComponent(i.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:r}),R("onRouteDidUpdate",{previousLocation:r,location:n}))}),[r,n]),t};function O(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,d.u)(c.A,e))).flat();return Promise.all(t.map((e=>e.route.component.preload?.())))}class M extends r.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=s.A.canUseDOM?R("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=R("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),O(n.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:t}=this.props;return(0,f.jsx)(L,{previousLocation:this.previousLocation,location:t,children:(0,f.jsx)(u.qh,{location:t,render:()=>e})})}}const I=M,D="__docusaurus-base-url-issue-banner-container",F="__docusaurus-base-url-issue-banner",B="__docusaurus-base-url-issue-banner-suggestion-container";function z(e){return`\ndocument.addEventListener('DOMContentLoaded', function maybeInsertBanner() {\n var shouldInsert = typeof window['docusaurus'] === 'undefined';\n shouldInsert && insertBanner();\n});\n\nfunction insertBanner() {\n var bannerContainer = document.createElement('div');\n bannerContainer.id = '${D}';\n var bannerHtml = ${JSON.stringify(function(e){return`\n<div id="${F}" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">\n <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>\n <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseUrl" style="font-weight: bold;">baseUrl configuration</a>.</p>\n <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">${e}</span> ${"/"===e?" (default value)":""}</p>\n <p>We suggest trying baseUrl = <span id="${B}" style="font-weight: bold; color: green;"></span></p>\n</div>\n`}(e)).replace(/</g,"\\<")};\n bannerContainer.innerHTML = bannerHtml;\n document.body.prepend(bannerContainer);\n var suggestionContainer = document.getElementById('${B}');\n var actualHomePagePath = window.location.pathname;\n var suggestedBaseUrl = actualHomePagePath.substr(-1) === '/'\n ? actualHomePagePath\n : actualHomePagePath + '/';\n suggestionContainer.innerHTML = suggestedBaseUrl;\n}\n`}function q(){const{siteConfig:{baseUrl:e}}=(0,g.default)();return(0,f.jsx)(f.Fragment,{children:!s.A.canUseDOM&&(0,f.jsx)(h.A,{children:(0,f.jsx)("script",{children:z(e)})})})}function $(){const{siteConfig:{baseUrl:e,baseUrlIssueBanner:t}}=(0,g.default)(),{pathname:n}=(0,u.zy)();return t&&n===e?(0,f.jsx)(q,{}):null}function U(){const{siteConfig:{favicon:e,title:t,noIndex:n},i18n:{currentLocale:r,localeConfigs:a}}=(0,g.default)(),o=(0,m.A)(e),{htmlLang:i,direction:s}=a[r];return(0,f.jsxs)(h.A,{children:[(0,f.jsx)("html",{lang:i,dir:s}),(0,f.jsx)("title",{children:t}),(0,f.jsx)("meta",{property:"og:title",content:t}),(0,f.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&(0,f.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),e&&(0,f.jsx)("link",{rel:"icon",href:o})]})}var W=n(7489),H=n(2303);function V(){const e=(0,H.A)();return(0,f.jsx)(h.A,{children:(0,f.jsx)("html",{"data-has-hydrated":e})})}function G(){const e=(0,d.v)(c.A),t=(0,u.zy)();return(0,f.jsx)(W.A,{children:(0,f.jsx)(N.l,{children:(0,f.jsxs)(P.x,{children:[(0,f.jsxs)(p,{children:[(0,f.jsx)(U,{}),(0,f.jsx)(C,{}),(0,f.jsx)($,{}),(0,f.jsx)(I,{location:A(t),children:e})]}),(0,f.jsx)(V,{})]})})})}var Q=n(4054);const K=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise(((t,n)=>{if("undefined"==typeof document)return void n();const r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();const a=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;a?.appendChild(r)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)}))};var Y=n(6921);const Z=new Set,X=new Set,J=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,ee={prefetch(e){if(!(e=>!J()&&!X.has(e)&&!Z.has(e))(e))return!1;Z.add(e);const t=(0,d.u)(c.A,e).flatMap((e=>{return t=e.route.path,Object.entries(Q).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,Y.A)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?K(t).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!J()&&!X.has(e))(e)&&(X.add(e),O(e))},te=Object.freeze(ee),ne=Boolean(!0);if(s.A.canUseDOM){window.docusaurus=te;const e=document.getElementById("__docusaurus"),t=(0,f.jsx)(i.vd,{children:(0,f.jsx)(o.Kd,{children:(0,f.jsx)(G,{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},s=()=>{if(ne)r.startTransition((()=>{a.hydrateRoot(e,t,{onRecoverableError:n})}));else{const o=a.createRoot(e,{onRecoverableError:n});r.startTransition((()=>{o.render(t)}))}};O(window.location.pathname).then(s)}},6988:(e,t,n)=>{"use strict";n.d(t,{o:()=>d,l:()=>f});var r=n(6540),a=n(4784);const o=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/fhir-dosage-utils/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/fhir-dosage-utils/docs","mainDocId":"quick-start","docs":[{"id":"contributing","path":"/fhir-dosage-utils/docs/contributing","sidebar":"tutorialSidebar"},{"id":"custom/dateTimeFormatOptions","path":"/fhir-dosage-utils/docs/custom/dateTimeFormatOptions","sidebar":"tutorialSidebar"},{"id":"custom/displayOrder","path":"/fhir-dosage-utils/docs/custom/displayOrder","sidebar":"tutorialSidebar"},{"id":"custom/displaySeparator","path":"/fhir-dosage-utils/docs/custom/displaySeparator","sidebar":"tutorialSidebar"},{"id":"custom/fromCodeableConceptToString","path":"/fhir-dosage-utils/docs/custom/fromCodeableConceptToString","sidebar":"tutorialSidebar"},{"id":"custom/fromExtensionsToString","path":"/fhir-dosage-utils/docs/custom/fromExtensionsToString","sidebar":"tutorialSidebar"},{"id":"custom/fromFHIRQuantityUnitToString","path":"/fhir-dosage-utils/docs/custom/fromFHIRQuantityUnitToString","sidebar":"tutorialSidebar"},{"id":"custom/i18nConfig","path":"/fhir-dosage-utils/docs/custom/i18nConfig","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx002","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx002","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx003","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx003","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx004","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx004","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx0301","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0301","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx0302","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0302","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx0303","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0303","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx0305","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0305","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx0307","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0307","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx0308","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0308","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx0310","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0310","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx0313","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0313","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx0314","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0314","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx0315","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0315","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx0317","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0317","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx0319","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0319","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx0321","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0321","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx0331","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0331","sidebar":"tutorialSidebar"},{"id":"examples/medicationrequest/medrx0339","path":"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0339","sidebar":"tutorialSidebar"},{"id":"faq","path":"/fhir-dosage-utils/docs/faq","sidebar":"tutorialSidebar"},{"id":"next-steps","path":"/fhir-dosage-utils/docs/next-steps","sidebar":"tutorialSidebar"},{"id":"quick-start","path":"/fhir-dosage-utils/docs/quick-start","sidebar":"tutorialSidebar"},{"id":"specs/additionalInstruction/multiple_items","path":"/fhir-dosage-utils/docs/specs/additionalInstruction/multiple_items","sidebar":"tutorialSidebar"},{"id":"specs/additionalInstruction/single_item","path":"/fhir-dosage-utils/docs/specs/additionalInstruction/single_item","sidebar":"tutorialSidebar"},{"id":"specs/asNeeded/asNeeded","path":"/fhir-dosage-utils/docs/specs/asNeeded/","sidebar":"tutorialSidebar"},{"id":"specs/asNeeded/asNeededBoolean","path":"/fhir-dosage-utils/docs/specs/asNeeded/asNeededBoolean","sidebar":"tutorialSidebar"},{"id":"specs/asNeeded/asNeededCodeableConcept","path":"/fhir-dosage-utils/docs/specs/asNeeded/asNeededCodeableConcept","sidebar":"tutorialSidebar"},{"id":"specs/asNeeded/asNeededFor","path":"/fhir-dosage-utils/docs/specs/asNeeded/asNeededFor","sidebar":"tutorialSidebar"},{"id":"specs/boundsDuration/boundsDuration","path":"/fhir-dosage-utils/docs/specs/boundsDuration/","sidebar":"tutorialSidebar"},{"id":"specs/boundsPeriod/end_only","path":"/fhir-dosage-utils/docs/specs/boundsPeriod/end_only","sidebar":"tutorialSidebar"},{"id":"specs/boundsPeriod/start_and_end","path":"/fhir-dosage-utils/docs/specs/boundsPeriod/start_and_end","sidebar":"tutorialSidebar"},{"id":"specs/boundsPeriod/start_only","path":"/fhir-dosage-utils/docs/specs/boundsPeriod/start_only","sidebar":"tutorialSidebar"},{"id":"specs/boundsRange/high_only","path":"/fhir-dosage-utils/docs/specs/boundsRange/high_only","sidebar":"tutorialSidebar"},{"id":"specs/boundsRange/low_and_high","path":"/fhir-dosage-utils/docs/specs/boundsRange/low_and_high","sidebar":"tutorialSidebar"},{"id":"specs/boundsRange/low_only","path":"/fhir-dosage-utils/docs/specs/boundsRange/low_only","sidebar":"tutorialSidebar"},{"id":"specs/code/code","path":"/fhir-dosage-utils/docs/specs/code/","sidebar":"tutorialSidebar"},{"id":"specs/countCountMax/count","path":"/fhir-dosage-utils/docs/specs/countCountMax/count","sidebar":"tutorialSidebar"},{"id":"specs/countCountMax/count_and_countMax","path":"/fhir-dosage-utils/docs/specs/countCountMax/count_and_countMax","sidebar":"tutorialSidebar"},{"id":"specs/countCountMax/countMax_only","path":"/fhir-dosage-utils/docs/specs/countCountMax/countMax_only","sidebar":"tutorialSidebar"},{"id":"specs/dayOfWeek/multiple_items","path":"/fhir-dosage-utils/docs/specs/dayOfWeek/multiple_items","sidebar":"tutorialSidebar"},{"id":"specs/dayOfWeek/single_item","path":"/fhir-dosage-utils/docs/specs/dayOfWeek/single_item","sidebar":"tutorialSidebar"},{"id":"specs/doseQuantity/doseQuantity","path":"/fhir-dosage-utils/docs/specs/doseQuantity/","sidebar":"tutorialSidebar"},{"id":"specs/doseRange/high_only","path":"/fhir-dosage-utils/docs/specs/doseRange/high_only","sidebar":"tutorialSidebar"},{"id":"specs/doseRange/low_and_high","path":"/fhir-dosage-utils/docs/specs/doseRange/low_and_high","sidebar":"tutorialSidebar"},{"id":"specs/doseRange/low_only","path":"/fhir-dosage-utils/docs/specs/doseRange/low_only","sidebar":"tutorialSidebar"},{"id":"specs/durationDurationMax/duration_and_durationMax","path":"/fhir-dosage-utils/docs/specs/durationDurationMax/duration_and_durationMax","sidebar":"tutorialSidebar"},{"id":"specs/durationDurationMax/duration_only","path":"/fhir-dosage-utils/docs/specs/durationDurationMax/duration_only","sidebar":"tutorialSidebar"},{"id":"specs/durationDurationMax/durationMax_only","path":"/fhir-dosage-utils/docs/specs/durationDurationMax/durationMax_only","sidebar":"tutorialSidebar"},{"id":"specs/event/multiple_items","path":"/fhir-dosage-utils/docs/specs/event/multiple_items","sidebar":"tutorialSidebar"},{"id":"specs/event/single_item","path":"/fhir-dosage-utils/docs/specs/event/single_item","sidebar":"tutorialSidebar"},{"id":"specs/frequencyFrequencyMax/frequency_and_frequencyMax","path":"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_and_frequencyMax","sidebar":"tutorialSidebar"},{"id":"specs/frequencyFrequencyMax/frequency_only","path":"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_only","sidebar":"tutorialSidebar"},{"id":"specs/frequencyFrequencyMax/frequencyMax_only","path":"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequencyMax_only","sidebar":"tutorialSidebar"},{"id":"specs/maxDosePerAdministration/maxDosePerAdministration","path":"/fhir-dosage-utils/docs/specs/maxDosePerAdministration/","sidebar":"tutorialSidebar"},{"id":"specs/maxDosePerLifetime/maxDosePerLifetime","path":"/fhir-dosage-utils/docs/specs/maxDosePerLifetime/","sidebar":"tutorialSidebar"},{"id":"specs/maxDosePerPeriod/r4","path":"/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r4","sidebar":"tutorialSidebar"},{"id":"specs/maxDosePerPeriod/r5","path":"/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r5","sidebar":"tutorialSidebar"},{"id":"specs/method/method","path":"/fhir-dosage-utils/docs/specs/method/","sidebar":"tutorialSidebar"},{"id":"specs/offsetWhen/offset/offset_days","path":"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_days","sidebar":"tutorialSidebar"},{"id":"specs/offsetWhen/offset/offset_hours","path":"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_hours","sidebar":"tutorialSidebar"},{"id":"specs/offsetWhen/offset/offset_minutes","path":"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_minutes","sidebar":"tutorialSidebar"},{"id":"specs/offsetWhen/when_and_offset","path":"/fhir-dosage-utils/docs/specs/offsetWhen/when_and_offset","sidebar":"tutorialSidebar"},{"id":"specs/offsetWhen/when/multiple_items","path":"/fhir-dosage-utils/docs/specs/offsetWhen/when/multiple_items","sidebar":"tutorialSidebar"},{"id":"specs/offsetWhen/when/single_item","path":"/fhir-dosage-utils/docs/specs/offsetWhen/when/single_item","sidebar":"tutorialSidebar"},{"id":"specs/patientInstruction/patientInstruction","path":"/fhir-dosage-utils/docs/specs/patientInstruction/","sidebar":"tutorialSidebar"},{"id":"specs/periodPeriodMax/period_and_periodMax","path":"/fhir-dosage-utils/docs/specs/periodPeriodMax/period_and_periodMax","sidebar":"tutorialSidebar"},{"id":"specs/periodPeriodMax/period_only","path":"/fhir-dosage-utils/docs/specs/periodPeriodMax/period_only","sidebar":"tutorialSidebar"},{"id":"specs/periodPeriodMax/periodMax_only","path":"/fhir-dosage-utils/docs/specs/periodPeriodMax/periodMax_only","sidebar":"tutorialSidebar"},{"id":"specs/rateQuantity/rateQuantity","path":"/fhir-dosage-utils/docs/specs/rateQuantity/","sidebar":"tutorialSidebar"},{"id":"specs/rateRange/high_only","path":"/fhir-dosage-utils/docs/specs/rateRange/high_only","sidebar":"tutorialSidebar"},{"id":"specs/rateRange/low_and_high","path":"/fhir-dosage-utils/docs/specs/rateRange/low_and_high","sidebar":"tutorialSidebar"},{"id":"specs/rateRange/low_only","path":"/fhir-dosage-utils/docs/specs/rateRange/low_only","sidebar":"tutorialSidebar"},{"id":"specs/rateRatio/rateRatio","path":"/fhir-dosage-utils/docs/specs/rateRatio/","sidebar":"tutorialSidebar"},{"id":"specs/route/route","path":"/fhir-dosage-utils/docs/specs/route/","sidebar":"tutorialSidebar"},{"id":"specs/sequence/concurrent_instructions","path":"/fhir-dosage-utils/docs/specs/sequence/concurrent_instructions","sidebar":"tutorialSidebar"},{"id":"specs/sequence/sequential_instructions_1","path":"/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_1","sidebar":"tutorialSidebar"},{"id":"specs/sequence/sequential_instructions_2","path":"/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_2","sidebar":"tutorialSidebar"},{"id":"specs/site/site","path":"/fhir-dosage-utils/docs/specs/site/","sidebar":"tutorialSidebar"},{"id":"specs/text/text","path":"/fhir-dosage-utils/docs/specs/text/","sidebar":"tutorialSidebar"},{"id":"specs/timeOfDay/multiple_items","path":"/fhir-dosage-utils/docs/specs/timeOfDay/multiple_items","sidebar":"tutorialSidebar"},{"id":"specs/timeOfDay/single_item","path":"/fhir-dosage-utils/docs/specs/timeOfDay/single_item","sidebar":"tutorialSidebar"},{"id":"/demo","path":"/fhir-dosage-utils/docs/demo","sidebar":"tutorialSidebar"},{"id":"/demo/specs","path":"/fhir-dosage-utils/docs/demo/specs","sidebar":"tutorialSidebar"},{"id":"/category/-additionalinstruction","path":"/fhir-dosage-utils/docs/category/-additionalinstruction","sidebar":"tutorialSidebar"},{"id":"/category/-asneeded","path":"/fhir-dosage-utils/docs/category/-asneeded","sidebar":"tutorialSidebar"},{"id":"/category/\ufe0f-boundsduration","path":"/fhir-dosage-utils/docs/category/\ufe0f-boundsduration","sidebar":"tutorialSidebar"},{"id":"/category/-boundsperiod","path":"/fhir-dosage-utils/docs/category/-boundsperiod","sidebar":"tutorialSidebar"},{"id":"/category/-boundsrange","path":"/fhir-dosage-utils/docs/category/-boundsrange","sidebar":"tutorialSidebar"},{"id":"/category/-code","path":"/fhir-dosage-utils/docs/category/-code","sidebar":"tutorialSidebar"},{"id":"/category/-count--countmax","path":"/fhir-dosage-utils/docs/category/-count--countmax","sidebar":"tutorialSidebar"},{"id":"/category/-dayofweek","path":"/fhir-dosage-utils/docs/category/-dayofweek","sidebar":"tutorialSidebar"},{"id":"/category/-dosequantity","path":"/fhir-dosage-utils/docs/category/-dosequantity","sidebar":"tutorialSidebar"},{"id":"/category/-doserange","path":"/fhir-dosage-utils/docs/category/-doserange","sidebar":"tutorialSidebar"},{"id":"/category/-durationdurationmax","path":"/fhir-dosage-utils/docs/category/-durationdurationmax","sidebar":"tutorialSidebar"},{"id":"/category/-event","path":"/fhir-dosage-utils/docs/category/-event","sidebar":"tutorialSidebar"},{"id":"/category/-frequencyfrequencymax","path":"/fhir-dosage-utils/docs/category/-frequencyfrequencymax","sidebar":"tutorialSidebar"},{"id":"/category/-maxdoseperadministration","path":"/fhir-dosage-utils/docs/category/-maxdoseperadministration","sidebar":"tutorialSidebar"},{"id":"/category/-maxdoseperlifetime","path":"/fhir-dosage-utils/docs/category/-maxdoseperlifetime","sidebar":"tutorialSidebar"},{"id":"/category/-maxdoseperperiod","path":"/fhir-dosage-utils/docs/category/-maxdoseperperiod","sidebar":"tutorialSidebar"},{"id":"/category/\ufe0f-method","path":"/fhir-dosage-utils/docs/category/\ufe0f-method","sidebar":"tutorialSidebar"},{"id":"/category/-offset-when","path":"/fhir-dosage-utils/docs/category/-offset-when","sidebar":"tutorialSidebar"},{"id":"/category/-offset","path":"/fhir-dosage-utils/docs/category/-offset","sidebar":"tutorialSidebar"},{"id":"/category/-when","path":"/fhir-dosage-utils/docs/category/-when","sidebar":"tutorialSidebar"},{"id":"/category/-patientinstruction","path":"/fhir-dosage-utils/docs/category/-patientinstruction","sidebar":"tutorialSidebar"},{"id":"/category/\ufe0f-periodperiodmax","path":"/fhir-dosage-utils/docs/category/\ufe0f-periodperiodmax","sidebar":"tutorialSidebar"},{"id":"/category/\ufe0f-ratequantity","path":"/fhir-dosage-utils/docs/category/\ufe0f-ratequantity","sidebar":"tutorialSidebar"},{"id":"/category/\ufe0f-raterange","path":"/fhir-dosage-utils/docs/category/\ufe0f-raterange","sidebar":"tutorialSidebar"},{"id":"/category/-rateratio","path":"/fhir-dosage-utils/docs/category/-rateratio","sidebar":"tutorialSidebar"},{"id":"/category/\ufe0f-route","path":"/fhir-dosage-utils/docs/category/\ufe0f-route","sidebar":"tutorialSidebar"},{"id":"/category/\ufe0f-sequence","path":"/fhir-dosage-utils/docs/category/\ufe0f-sequence","sidebar":"tutorialSidebar"},{"id":"/category/-site","path":"/fhir-dosage-utils/docs/category/-site","sidebar":"tutorialSidebar"},{"id":"/category/-text","path":"/fhir-dosage-utils/docs/category/-text","sidebar":"tutorialSidebar"},{"id":"/category/-timeofday","path":"/fhir-dosage-utils/docs/category/-timeofday","sidebar":"tutorialSidebar"},{"id":"/demo/custom","path":"/fhir-dosage-utils/docs/demo/custom","sidebar":"tutorialSidebar"},{"id":"/demo/examples","path":"/fhir-dosage-utils/docs/demo/examples","sidebar":"tutorialSidebar"},{"id":"/demo/examples/medicationrequest","path":"/fhir-dosage-utils/docs/demo/examples/medicationrequest","sidebar":"tutorialSidebar"}],"draftIds":[],"sidebars":{"tutorialSidebar":{"link":{"path":"/fhir-dosage-utils/docs/quick-start","label":"quick-start"}}}}],"breadcrumbs":true}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var s=n(2654);const l=JSON.parse('{"docusaurusVersion":"3.1.1","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.1.1"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"3.1.1"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.1.1"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.1.1"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.1.1"},"docusaurus-theme-search-algolia":{"type":"package","name":"@docusaurus/theme-search-algolia","version":"3.1.1"},"docusaurus-plugin-typedoc-api":{"type":"package","name":"docusaurus-plugin-typedoc-api","version":"4.2.0"},"monaco-plugin":{"type":"project"}}}');var c=n(4848);const u={siteConfig:a.default,siteMetadata:l,globalData:o,i18n:i,codeTranslations:s},d=r.createContext(u);function f(e){let{children:t}=e;return(0,c.jsx)(d.Provider,{value:u,children:t})}},7489:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(6540),a=n(8193),o=n(5260),i=n(440),s=n(7747),l=n(4848);function c(e){let{error:t,tryAgain:n}=e;return(0,l.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,l.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,l.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,l.jsx)(u,{error:t})]})}function u(e){let{error:t}=e;const n=(0,i.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,l.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function d(e){let{error:t,tryAgain:n}=e;return(0,l.jsxs)(p,{fallback:()=>(0,l.jsx)(c,{error:t,tryAgain:n}),children:[(0,l.jsx)(o.A,{children:(0,l.jsx)("title",{children:"Page Error"})}),(0,l.jsx)(s.A,{children:(0,l.jsx)(c,{error:t,tryAgain:n})})]})}const f=e=>(0,l.jsx)(d,{...e});class p extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){a.A.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){const e={error:t,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??f)(e)}return e??null}}},8193:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,a={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},5260:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(6540);var r=n(545),a=n(4848);function o(e){return(0,a.jsx)(r.mg,{...e})}},8774:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var r=n(6540),a=n(4625),o=n(440),i=n(4586),s=n(6654),l=n(8193),c=n(3427),u=n(6025),d=n(4848);function f(e,t){let{isNavLink:n,to:f,href:p,activeClassName:h,isActive:g,"data-noBrokenLinkCheck":m,autoAddBaseUrl:b=!0,...y}=e;const{siteConfig:{trailingSlash:v,baseUrl:x}}=(0,i.default)(),{withBaseUrl:w}=(0,u.h)(),k=(0,c.default)(),S=(0,r.useRef)(null);(0,r.useImperativeHandle)(t,(()=>S.current));const _=f||p;const E=(0,s.A)(_),C=_?.replace("pathname://","");let T=void 0!==C?(A=C,b&&(e=>e.startsWith("/"))(A)?w(A):A):void 0;var A;T&&E&&(T=(0,o.applyTrailingSlash)(T,{trailingSlash:v,baseUrl:x}));const P=(0,r.useRef)(!1),N=n?a.k2:a.N_,j=l.A.canUseIntersectionObserver,R=(0,r.useRef)(),L=()=>{P.current||null==T||(window.docusaurus.preload(T),P.current=!0)};(0,r.useEffect)((()=>(!j&&E&&null!=T&&window.docusaurus.prefetch(T),()=>{j&&R.current&&R.current.disconnect()})),[R,T,j,E]);const O=T?.startsWith("#")??!1,M=!y.target||"_self"===y.target,I=!T||!E||!M||O;return m||!O&&I||k.collectLink(T),y.id&&k.collectAnchor(y.id),I?(0,d.jsx)("a",{ref:S,href:T,..._&&!E&&{target:"_blank",rel:"noopener noreferrer"},...y}):(0,d.jsx)(N,{...y,onMouseEnter:L,onTouchStart:L,innerRef:e=>{S.current=e,j&&e&&E&&(R.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(R.current.unobserve(e),R.current.disconnect(),null!=T&&window.docusaurus.prefetch(T))}))})),R.current.observe(e))},to:T,...n&&{isActive:g,activeClassName:h}})}const p=r.forwardRef(f)},1312:(e,t,n)=>{"use strict";n.d(t,{A:()=>c,T:()=>l});var r=n(6540),a=n(4848);function o(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e}));return n.some((e=>(0,r.isValidElement)(e)))?n.map(((e,t)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e)).filter((e=>""!==e)):n.join("")}var i=n(2654);function s(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[t??n]??n??t}function l(e,t){let{message:n,id:r}=e;return o(s({message:n,id:r}),t)}function c(e){let{children:t,id:n,values:r}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal <Translate> children",t),new Error("The Docusaurus <Translate> component only accept simple string values");const i=s({message:t,id:n});return(0,a.jsx)(a.Fragment,{children:o(i,r)})}},7065:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});const r="default"},6654:(e,t,n)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function a(e){return void 0!==e&&!r(e)}n.d(t,{A:()=>a,z:()=>r})},6025:(e,t,n)=>{"use strict";n.d(t,{A:()=>s,h:()=>i});var r=n(6540),a=n(4586),o=n(6654);function i(){const{siteConfig:{baseUrl:e,url:t}}=(0,a.default)(),n=(0,r.useCallback)(((n,r)=>function(e,t,n,r){let{forcePrependBaseUrl:a=!1,absolute:i=!1}=void 0===r?{}:r;if(!n||n.startsWith("#")||(0,o.z)(n))return n;if(a)return t+n.replace(/^\//,"");if(n===t.replace(/\/$/,""))return t;const s=n.startsWith(t)?n:t+n.replace(/^\//,"");return i?e+s:s}(t,e,n,r)),[t,e]);return{withBaseUrl:n}}function s(e,t){void 0===t&&(t={});const{withBaseUrl:n}=i();return n(e,t)}},3427:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(6540);n(4848);const a=r.createContext({collectAnchor:()=>{},collectLink:()=>{}}),o=()=>(0,r.useContext)(a);function i(){return o()}},4586:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(6540),a=n(6988);function o(){return(0,r.useContext)(a.o)}},2303:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6540),a=n(6125);function o(){return(0,r.useContext)(a.o)}},205:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(6540);const a=n(8193).A.canUseDOM?r.useLayoutEffect:r.useEffect},6921:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});const r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function a(e){const t={};return function e(n,a){Object.entries(n).forEach((n=>{let[o,i]=n;const s=a?`${a}.${o}`:o;r(i)?e(i,s):t[s]=i}))}(e),t}},3102:(e,t,n)=>{"use strict";n.d(t,{W:()=>i,o:()=>o});var r=n(6540),a=n(4848);const o=r.createContext(null);function i(e){let{children:t,value:n}=e;const i=r.useContext(o),s=(0,r.useMemo)((()=>function(e){let{parent:t,value:n}=e;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}const r={...t.data,...n?.data};return{plugin:t.plugin,data:r}}({parent:i,value:n})),[i,n]);return(0,a.jsx)(o.Provider,{value:s,children:t})}},4070:(e,t,n)=>{"use strict";n.r(t),n.d(t,{useActiveDocContext:()=>y,useActivePlugin:()=>p,useActivePluginAndVersion:()=>h,useActiveVersion:()=>b,useAllDocsData:()=>d,useDocVersionSuggestions:()=>v,useDocsData:()=>f,useLatestVersion:()=>m,useVersions:()=>g});var r=n(6347),a=n(4586),o=n(7065);function i(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,a.default)();return e}()[e];if(!n&&t.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}const s=e=>e.versions.find((e=>e.isLast));function l(e,t){const n=s(e);return[...e.versions.filter((e=>e!==n)),n].find((e=>!!(0,r.B6)(t,{path:e.path,exact:!1,strict:!1})))}function c(e,t){const n=l(e,t),a=n?.docs.find((e=>!!(0,r.B6)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:a,alternateDocVersions:a?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(a.id):{}}}const u={},d=()=>i("docusaurus-plugin-content-docs")??u,f=e=>function(e,t,n){void 0===t&&(t=o.W),void 0===n&&(n={});const r=i(e),a=r?.[t];if(!a&&n.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return a}("docusaurus-plugin-content-docs",e,{failfast:!0});function p(e){void 0===e&&(e={});const t=d(),{pathname:n}=(0,r.zy)();return function(e,t,n){void 0===n&&(n={});const a=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.B6)(t,{path:n.path,exact:!1,strict:!1})})),o=a?{pluginId:a[0],pluginData:a[1]}:void 0;if(!o&&n.failfast)throw new Error(`Can't find active docs plugin for "${t}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map((e=>e.path)).join(", ")}`);return o}(t,n,e)}function h(e){void 0===e&&(e={});const t=p(e),{pathname:n}=(0,r.zy)();if(!t)return;return{activePlugin:t,activeVersion:l(t.pluginData,n)}}function g(e){return f(e).versions}function m(e){const t=f(e);return s(t)}function b(e){const t=f(e),{pathname:n}=(0,r.zy)();return l(t,n)}function y(e){const t=f(e),{pathname:n}=(0,r.zy)();return c(t,n)}function v(e){const t=f(e),{pathname:n}=(0,r.zy)();return function(e,t){const n=s(e);return{latestDocSuggestion:c(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},6294:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(5947),a=n.n(r);a().configure({showSpinner:!1});const o={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){const e=window.setTimeout((()=>{a().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){a().done()}}},6134:(e,t,n)=>{"use strict";n.r(t);var r=n(1765),a=n(4784);!function(e){const{themeConfig:{prism:t}}=a.default,{additionalLanguages:r}=t;globalThis.Prism=e,r.forEach((e=>{"php"===e&&n(9700),n(9874)(`./prism-${e}`)})),delete globalThis.Prism}(r.My)},1107:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});n(6540);var r=n(4164),a=n(1312),o=n(6342),i=n(8774),s=n(3427);const l={anchorWithStickyNavbar:"anchorWithStickyNavbar_LWe7",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_WYt5"};var c=n(4848);function u(e){let{as:t,id:n,...u}=e;const d=(0,s.default)(),{navbar:{hideOnScroll:f}}=(0,o.p)();if("h1"===t||!n)return(0,c.jsx)(t,{...u,id:void 0});d.collectAnchor(n);const p=(0,a.T)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof u.children?u.children:n});return(0,c.jsxs)(t,{...u,className:(0,r.A)("anchor",f?l.anchorWithHideOnScrollNavbar:l.anchorWithStickyNavbar,u.className),id:n,children:[u.children,(0,c.jsx)(i.default,{className:"hash-link",to:`#${n}`,"aria-label":p,title:p,children:"\u200b"})]})}},3186:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(6540);const r={iconExternalLink:"iconExternalLink_nPIU"};var a=n(4848);function o(e){let{width:t=13.5,height:n=13.5}=e;return(0,a.jsx)("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:r.iconExternalLink,children:(0,a.jsx)("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"})})}},7747:(e,t,n)=>{"use strict";n.d(t,{A:()=>_t});var r=n(6540),a=n(4164),o=n(7489),i=n(9024),s=n(5236),l=n(7559),c=n(4090);const u={skipToContent:"skipToContent_fXgn"};var d=n(4848);function f(){return(0,d.jsx)(s.K,{className:u.skipToContent})}var p=n(6342),h=n(5041),g=n(1312);function m(e){let{width:t=21,height:n=21,color:r="currentColor",strokeWidth:a=1.2,className:o,...i}=e;return(0,d.jsx)("svg",{viewBox:"0 0 15 15",width:t,height:n,...i,children:(0,d.jsx)("g",{stroke:r,strokeWidth:a,children:(0,d.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}const b={closeButton:"closeButton_CVFx"};function y(e){return(0,d.jsx)("button",{type:"button","aria-label":(0,g.T)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,a.A)("clean-btn close",b.closeButton,e.className),children:(0,d.jsx)(m,{width:14,height:14,strokeWidth:3.1})})}const v={content:"content_knG7"};function x(e){const{announcementBar:t}=(0,p.p)(),{content:n}=t;return(0,d.jsx)("div",{...e,className:(0,a.A)(v.content,e.className),dangerouslySetInnerHTML:{__html:n}})}const w={announcementBar:"announcementBar_mb4j",announcementBarPlaceholder:"announcementBarPlaceholder_vyr4",announcementBarClose:"announcementBarClose_gvF7",announcementBarContent:"announcementBarContent_xLdY"};function k(){const{announcementBar:e}=(0,p.p)(),{isActive:t,close:n}=(0,h.Mj)();if(!t)return null;const{backgroundColor:r,textColor:a,isCloseable:o}=e;return(0,d.jsxs)("div",{className:w.announcementBar,style:{backgroundColor:r,color:a},role:"banner",children:[o&&(0,d.jsx)("div",{className:w.announcementBarPlaceholder}),(0,d.jsx)(x,{className:w.announcementBarContent}),o&&(0,d.jsx)(y,{onClick:n,className:w.announcementBarClose})]})}var S=n(2069),_=n(1182),E=n(3458),C=n(8695);function T(e){let{header:t,primaryMenu:n,secondaryMenu:r}=e;const{shown:o}=(0,C.T)();return(0,d.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,d.jsxs)("div",{className:(0,a.A)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":o}),children:[(0,d.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,d.jsx)("div",{className:"navbar-sidebar__item menu",children:r})]})]})}var A=n(5293),P=n(2303);function N(e){return(0,d.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,d.jsx)("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"})})}function j(e){return(0,d.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,d.jsx)("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"})})}const R={toggle:"toggle_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"};function L(e){let{className:t,buttonClassName:n,value:r,onChange:o}=e;const i=(0,P.A)(),s=(0,g.T)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===r?(0,g.T)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,g.T)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,d.jsx)("div",{className:(0,a.A)(R.toggle,t),children:(0,d.jsxs)("button",{className:(0,a.A)("clean-btn",R.toggleButton,!i&&R.toggleButtonDisabled,n),type:"button",onClick:()=>o("dark"===r?"light":"dark"),disabled:!i,title:s,"aria-label":s,"aria-live":"polite",children:[(0,d.jsx)(N,{className:(0,a.A)(R.toggleIcon,R.lightToggleIcon)}),(0,d.jsx)(j,{className:(0,a.A)(R.toggleIcon,R.darkToggleIcon)})]})})}const O=r.memo(L),M={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_X3D1"};function I(e){let{className:t}=e;const n=(0,p.p)().navbar.style,r=(0,p.p)().colorMode.disableSwitch,{colorMode:a,setColorMode:o}=(0,A.G)();return r?null:(0,d.jsx)(O,{className:t,buttonClassName:"dark"===n?M.darkNavbarColorModeToggle:void 0,value:a,onChange:o})}var D=n(3465);function F(){return(0,d.jsx)(D.A,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function B(){const e=(0,S.M)();return(0,d.jsx)("button",{type:"button","aria-label":(0,g.T)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle(),children:(0,d.jsx)(m,{color:"var(--ifm-color-emphasis-600)"})})}function z(){return(0,d.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,d.jsx)(F,{}),(0,d.jsx)(I,{className:"margin-right--md"}),(0,d.jsx)(B,{})]})}var q=n(8774),$=n(6025),U=n(6654),W=n(1252),H=n(3186);function V(e){let{activeBasePath:t,activeBaseRegex:n,to:r,href:a,label:o,html:i,isDropdownLink:s,prependBaseUrlToHref:l,...c}=e;const u=(0,$.A)(r),f=(0,$.A)(t),p=(0,$.A)(a,{forcePrependBaseUrl:!0}),h=o&&a&&!(0,U.A)(a),g=i?{dangerouslySetInnerHTML:{__html:i}}:{children:(0,d.jsxs)(d.Fragment,{children:[o,h&&(0,d.jsx)(H.A,{...s&&{width:12,height:12}})]})};return a?(0,d.jsx)(q.default,{href:l?p:a,...c,...g}):(0,d.jsx)(q.default,{to:u,isNavLink:!0,...(t||n)&&{isActive:(e,t)=>n?(0,W.G)(n,t.pathname):t.pathname.startsWith(f)},...c,...g})}function G(e){let{className:t,isDropdownItem:n=!1,...r}=e;const o=(0,d.jsx)(V,{className:(0,a.A)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n,...r});return n?(0,d.jsx)("li",{children:o}):o}function Q(e){let{className:t,isDropdownItem:n,...r}=e;return(0,d.jsx)("li",{className:"menu__list-item",children:(0,d.jsx)(V,{className:(0,a.A)("menu__link",t),...r})})}function K(e){let{mobile:t=!1,position:n,...r}=e;const a=t?Q:G;return(0,d.jsx)(a,{...r,activeClassName:r.activeClassName??(t?"menu__link--active":"navbar__link--active")})}var Y=n(1422),Z=n(9169),X=n(9342);const J={dropdownNavbarItemMobile:"dropdownNavbarItemMobile_S0Fm"};function ee(e,t){return e.some((e=>function(e,t){return!!(0,Z.ys)(e.to,t)||!!(0,W.G)(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function te(e){let{items:t,position:n,className:o,onClick:i,...s}=e;const l=(0,r.useRef)(null),[c,u]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{l.current&&!l.current.contains(e.target)&&u(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}}),[l]),(0,d.jsxs)("div",{ref:l,className:(0,a.A)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":c}),children:[(0,d.jsx)(V,{"aria-haspopup":"true","aria-expanded":c,role:"button",href:s.to?void 0:"#",className:(0,a.A)("navbar__link",o),...s,onClick:s.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),u(!c))},children:s.children??s.label}),(0,d.jsx)("ul",{className:"dropdown__menu",children:t.map(((e,t)=>(0,r.createElement)(De,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:t})))})]})}function ne(e){let{items:t,className:n,position:o,onClick:i,...s}=e;const l=(0,X.B)(),c=ee(t,l),{collapsed:u,toggleCollapsed:f,setCollapsed:p}=(0,Y.u)({initialState:()=>!c});return(0,r.useEffect)((()=>{c&&p(!c)}),[l,c,p]),(0,d.jsxs)("li",{className:(0,a.A)("menu__list-item",{"menu__list-item--collapsed":u}),children:[(0,d.jsx)(V,{role:"button",className:(0,a.A)(J.dropdownNavbarItemMobile,"menu__link menu__link--sublist menu__link--sublist-caret",n),...s,onClick:e=>{e.preventDefault(),f()},children:s.children??s.label}),(0,d.jsx)(Y.N,{lazy:!0,as:"ul",className:"menu__list",collapsed:u,children:t.map(((e,t)=>(0,r.createElement)(De,{mobile:!0,isDropdownItem:!0,onClick:i,activeClassName:"menu__link--active",...e,key:t})))})]})}function re(e){let{mobile:t=!1,...n}=e;const r=t?ne:te;return(0,d.jsx)(r,{...n})}var ae=n(4586),oe=n(2131),ie=n(6347);function se(e){let{width:t=20,height:n=20,...r}=e;return(0,d.jsx)("svg",{viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0,...r,children:(0,d.jsx)("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"})})}const le="iconLanguage_nlXk";var ce=n(961);function ue(){return r.createElement("svg",{width:"15",height:"15",className:"DocSearch-Control-Key-Icon"},r.createElement("path",{d:"M4.505 4.496h2M5.505 5.496v5M8.216 4.496l.055 5.993M10 7.5c.333.333.5.667.5 1v2M12.326 4.5v5.996M8.384 4.496c1.674 0 2.116 0 2.116 1.5s-.442 1.5-2.116 1.5M3.205 9.303c-.09.448-.277 1.21-1.241 1.203C1 10.5.5 9.513.5 8V7c0-1.57.5-2.5 1.464-2.494.964.006 1.134.598 1.24 1.342M12.553 10.5h1.953",strokeWidth:"1.2",stroke:"currentColor",fill:"none",strokeLinecap:"square"}))}var de=n(9188),fe=["translations"];function pe(){return pe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pe.apply(this,arguments)}function he(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(l){s=!0,a=l}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ge(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ge(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ge(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function me(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var be="Ctrl";var ye=r.forwardRef((function(e,t){var n=e.translations,a=void 0===n?{}:n,o=me(e,fe),i=a.buttonText,s=void 0===i?"Search":i,l=a.buttonAriaLabel,c=void 0===l?"Search":l,u=he((0,r.useState)(null),2),d=u[0],f=u[1];return(0,r.useEffect)((function(){"undefined"!=typeof navigator&&(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?f("\u2318"):f(be))}),[]),r.createElement("button",pe({type:"button",className:"DocSearch DocSearch-Button","aria-label":c},o,{ref:t}),r.createElement("span",{className:"DocSearch-Button-Container"},r.createElement(de.W,null),r.createElement("span",{className:"DocSearch-Button-Placeholder"},s)),r.createElement("span",{className:"DocSearch-Button-Keys"},null!==d&&r.createElement(r.Fragment,null,r.createElement(ve,{reactsToKey:d===be?be:"Meta"},d===be?r.createElement(ue,null):d),r.createElement(ve,{reactsToKey:"k"},"K"))))}));function ve(e){var t=e.reactsToKey,n=e.children,a=he((0,r.useState)(!1),2),o=a[0],i=a[1];return(0,r.useEffect)((function(){if(t)return window.addEventListener("keydown",e),window.addEventListener("keyup",n),function(){window.removeEventListener("keydown",e),window.removeEventListener("keyup",n)};function e(e){e.key===t&&i(!0)}function n(e){e.key!==t&&"Meta"!==e.key||i(!1)}}),[t]),r.createElement("kbd",{className:o?"DocSearch-Button-Key DocSearch-Button-Key--pressed":"DocSearch-Button-Key"},n)}var xe=n(5260),we=n(4255),ke=n(1062),Se=n(2967);const _e={button:{buttonText:(0,g.T)({id:"theme.SearchBar.label",message:"Search",description:"The ARIA label and placeholder for search button"}),buttonAriaLabel:(0,g.T)({id:"theme.SearchBar.label",message:"Search",description:"The ARIA label and placeholder for search button"})},modal:{searchBox:{resetButtonTitle:(0,g.T)({id:"theme.SearchModal.searchBox.resetButtonTitle",message:"Clear the query",description:"The label and ARIA label for search box reset button"}),resetButtonAriaLabel:(0,g.T)({id:"theme.SearchModal.searchBox.resetButtonTitle",message:"Clear the query",description:"The label and ARIA label for search box reset button"}),cancelButtonText:(0,g.T)({id:"theme.SearchModal.searchBox.cancelButtonText",message:"Cancel",description:"The label and ARIA label for search box cancel button"}),cancelButtonAriaLabel:(0,g.T)({id:"theme.SearchModal.searchBox.cancelButtonText",message:"Cancel",description:"The label and ARIA label for search box cancel button"})},startScreen:{recentSearchesTitle:(0,g.T)({id:"theme.SearchModal.startScreen.recentSearchesTitle",message:"Recent",description:"The title for recent searches"}),noRecentSearchesText:(0,g.T)({id:"theme.SearchModal.startScreen.noRecentSearchesText",message:"No recent searches",description:"The text when no recent searches"}),saveRecentSearchButtonTitle:(0,g.T)({id:"theme.SearchModal.startScreen.saveRecentSearchButtonTitle",message:"Save this search",description:"The label for save recent search button"}),removeRecentSearchButtonTitle:(0,g.T)({id:"theme.SearchModal.startScreen.removeRecentSearchButtonTitle",message:"Remove this search from history",description:"The label for remove recent search button"}),favoriteSearchesTitle:(0,g.T)({id:"theme.SearchModal.startScreen.favoriteSearchesTitle",message:"Favorite",description:"The title for favorite searches"}),removeFavoriteSearchButtonTitle:(0,g.T)({id:"theme.SearchModal.startScreen.removeFavoriteSearchButtonTitle",message:"Remove this search from favorites",description:"The label for remove favorite search button"})},errorScreen:{titleText:(0,g.T)({id:"theme.SearchModal.errorScreen.titleText",message:"Unable to fetch results",description:"The title for error screen of search modal"}),helpText:(0,g.T)({id:"theme.SearchModal.errorScreen.helpText",message:"You might want to check your network connection.",description:"The help text for error screen of search modal"})},footer:{selectText:(0,g.T)({id:"theme.SearchModal.footer.selectText",message:"to select",description:"The explanatory text of the action for the enter key"}),selectKeyAriaLabel:(0,g.T)({id:"theme.SearchModal.footer.selectKeyAriaLabel",message:"Enter key",description:"The ARIA label for the Enter key button that makes the selection"}),navigateText:(0,g.T)({id:"theme.SearchModal.footer.navigateText",message:"to navigate",description:"The explanatory text of the action for the Arrow up and Arrow down key"}),navigateUpKeyAriaLabel:(0,g.T)({id:"theme.SearchModal.footer.navigateUpKeyAriaLabel",message:"Arrow up",description:"The ARIA label for the Arrow up key button that makes the navigation"}),navigateDownKeyAriaLabel:(0,g.T)({id:"theme.SearchModal.footer.navigateDownKeyAriaLabel",message:"Arrow down",description:"The ARIA label for the Arrow down key button that makes the navigation"}),closeText:(0,g.T)({id:"theme.SearchModal.footer.closeText",message:"to close",description:"The explanatory text of the action for Escape key"}),closeKeyAriaLabel:(0,g.T)({id:"theme.SearchModal.footer.closeKeyAriaLabel",message:"Escape key",description:"The ARIA label for the Escape key button that close the modal"}),searchByText:(0,g.T)({id:"theme.SearchModal.footer.searchByText",message:"Search by",description:"The text explain that the search is making by Algolia"})},noResultsScreen:{noResultsText:(0,g.T)({id:"theme.SearchModal.noResultsScreen.noResultsText",message:"No results for",description:"The text explains that there are no results for the following search"}),suggestedQueryText:(0,g.T)({id:"theme.SearchModal.noResultsScreen.suggestedQueryText",message:"Try searching for",description:"The text for the suggested query when no results are found for the following search"}),reportMissingResultsText:(0,g.T)({id:"theme.SearchModal.noResultsScreen.reportMissingResultsText",message:"Believe this query should return results?",description:"The text for the question where the user thinks there are missing results"}),reportMissingResultsLinkText:(0,g.T)({id:"theme.SearchModal.noResultsScreen.reportMissingResultsLinkText",message:"Let us know.",description:"The text for the link to report missing results"})}},placeholder:(0,g.T)({id:"theme.SearchModal.placeholder",message:"Search docs",description:"The placeholder of the input of the DocSearch pop-up modal"})};let Ee=null;function Ce(e){let{hit:t,children:n}=e;return(0,d.jsx)(q.default,{to:t.url,children:n})}function Te(e){let{state:t,onClose:n}=e;const r=(0,we.w)();return(0,d.jsx)(q.default,{to:r(t.query),onClick:n,children:(0,d.jsx)(g.A,{id:"theme.SearchBar.seeAll",values:{count:t.context.nbHits},children:"See all {count} results"})})}function Ae(e){let{contextualSearch:t,externalUrlRegex:a,...o}=e;const{siteMetadata:i}=(0,ae.default)(),s=(0,ke.C)(),l=function(){const{locale:e,tags:t}=(0,Se.af)();return[`language:${e}`,t.map((e=>`docusaurus_tag:${e}`))]}(),c=o.searchParameters?.facetFilters??[],u=t?function(e,t){const n=e=>"string"==typeof e?[e]:e;return[...n(e),...n(t)]}(l,c):c,f={...o.searchParameters,facetFilters:u},p=(0,ie.W6)(),h=(0,r.useRef)(null),g=(0,r.useRef)(null),[m,b]=(0,r.useState)(!1),[y,v]=(0,r.useState)(void 0),x=(0,r.useCallback)((()=>Ee?Promise.resolve():Promise.all([n.e(9462).then(n.bind(n,9462)),Promise.all([n.e(1869),n.e(8913)]).then(n.bind(n,8913)),Promise.all([n.e(1869),n.e(416)]).then(n.bind(n,416))]).then((e=>{let[{DocSearchModal:t}]=e;Ee=t}))),[]),w=(0,r.useCallback)((()=>{x().then((()=>{h.current=document.createElement("div"),document.body.insertBefore(h.current,document.body.firstChild),b(!0)}))}),[x,b]),k=(0,r.useCallback)((()=>{b(!1),h.current?.remove()}),[b]),S=(0,r.useCallback)((e=>{x().then((()=>{b(!0),v(e.key)}))}),[x,b,v]),_=(0,r.useRef)({navigate(e){let{itemUrl:t}=e;(0,W.G)(a,t)?window.location.href=t:p.push(t)}}).current,E=(0,r.useRef)((e=>o.transformItems?o.transformItems(e):e.map((e=>({...e,url:s(e.url)}))))).current,C=(0,r.useMemo)((()=>e=>(0,d.jsx)(Te,{...e,onClose:k})),[k]),T=(0,r.useCallback)((e=>(e.addAlgoliaAgent("docusaurus",i.docusaurusVersion),e)),[i.docusaurusVersion]);return function(e){var t=e.isOpen,n=e.onOpen,a=e.onClose,o=e.onInput,i=e.searchButtonRef;r.useEffect((function(){function e(e){var r;(27===e.keyCode&&t||"k"===(null===(r=e.key)||void 0===r?void 0:r.toLowerCase())&&(e.metaKey||e.ctrlKey)||!function(e){var t=e.target,n=t.tagName;return t.isContentEditable||"INPUT"===n||"SELECT"===n||"TEXTAREA"===n}(e)&&"/"===e.key&&!t)&&(e.preventDefault(),t?a():document.body.classList.contains("DocSearch--active")||document.body.classList.contains("DocSearch--active")||n()),i&&i.current===document.activeElement&&o&&/[a-zA-Z0-9]/.test(String.fromCharCode(e.keyCode))&&o(e)}return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[t,n,a,o,i])}({isOpen:m,onOpen:w,onClose:k,onInput:S,searchButtonRef:g}),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(xe.A,{children:(0,d.jsx)("link",{rel:"preconnect",href:`https://${o.appId}-dsn.algolia.net`,crossOrigin:"anonymous"})}),(0,d.jsx)(ye,{onTouchStart:x,onFocus:x,onMouseOver:x,onClick:w,ref:g,translations:_e.button}),m&&Ee&&h.current&&(0,ce.createPortal)((0,d.jsx)(Ee,{onClose:k,initialScrollY:window.scrollY,initialQuery:y,navigator:_,transformItems:E,hitComponent:Ce,transformSearchClient:T,...o.searchPagePath&&{resultsFooterComponent:C},...o,searchParameters:f,placeholder:_e.placeholder,translations:_e.modal}),h.current)]})}function Pe(){const{siteConfig:e}=(0,ae.default)();return(0,d.jsx)(Ae,{...e.themeConfig.algolia})}const Ne={navbarSearchContainer:"navbarSearchContainer_Bca1"};function je(e){let{children:t,className:n}=e;return(0,d.jsx)("div",{className:(0,a.A)(n,Ne.navbarSearchContainer),children:t})}var Re=n(4070),Le=n(4142);var Oe=n(5597);const Me=e=>e.docs.find((t=>t.id===e.mainDocId));const Ie={default:K,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:r,queryString:a="",...o}=e;const{i18n:{currentLocale:i,locales:s,localeConfigs:l}}=(0,ae.default)(),c=(0,oe.o)(),{search:u,hash:f}=(0,ie.zy)(),p=[...n,...s.map((e=>{const n=`${`pathname://${c.createUrl({locale:e,fullyQualified:!1})}`}${u}${f}${a}`;return{label:l[e].label,lang:l[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===i?t?"menu__link--active":"dropdown__link--active":""}})),...r],h=t?(0,g.T)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):l[i].label;return(0,d.jsx)(re,{...o,mobile:t,label:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(se,{className:le}),h]}),items:p})},search:function(e){let{mobile:t,className:n}=e;return t?null:(0,d.jsx)(je,{className:n,children:(0,d.jsx)(Pe,{})})},dropdown:re,html:function(e){let{value:t,className:n,mobile:r=!1,isDropdownItem:o=!1}=e;const i=o?"li":"div";return(0,d.jsx)(i,{className:(0,a.A)({navbar__item:!r&&!o,"menu__list-item":r},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:r,...a}=e;const{activeDoc:o}=(0,Re.useActiveDocContext)(r),i=(0,Le.QB)(t,r),s=o?.path===i?.path;return null===i||i.unlisted&&!s?null:(0,d.jsx)(K,{exact:!0,...a,isActive:()=>s||!!o?.sidebar&&o.sidebar===i.sidebar,label:n??i.id,to:i.path})},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:r,...a}=e;const{activeDoc:o}=(0,Re.useActiveDocContext)(r),i=(0,Le.fW)(t,r).link;if(!i)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return(0,d.jsx)(K,{exact:!0,...a,isActive:()=>o?.sidebar===t,label:n??i.label,to:i.path})},docsVersion:function(e){let{label:t,to:n,docsPluginId:r,...a}=e;const o=(0,Le.Vd)(r)[0],i=t??o.label,s=n??(e=>e.docs.find((t=>t.id===e.mainDocId)))(o).path;return(0,d.jsx)(K,{...a,label:i,to:s})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:r,dropdownItemsBefore:a,dropdownItemsAfter:o,...i}=e;const{search:s,hash:l}=(0,ie.zy)(),c=(0,Re.useActiveDocContext)(n),u=(0,Re.useVersions)(n),{savePreferredVersionName:f}=(0,Oe.g1)(n),p=[...a,...u.map((e=>{const t=c.alternateDocVersions[e.name]??Me(e);return{label:e.label,to:`${t.path}${s}${l}`,isActive:()=>e===c.activeVersion,onClick:()=>f(e.name)}})),...o],h=(0,Le.Vd)(n)[0],m=t&&p.length>1?(0,g.T)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):h.label,b=t&&p.length>1?void 0:Me(h).path;return p.length<=1?(0,d.jsx)(K,{...i,mobile:t,label:m,to:b,isActive:r?()=>!1:void 0}):(0,d.jsx)(re,{...i,mobile:t,label:m,to:b,items:p,isActive:r?()=>!1:void 0})}};function De(e){let{type:t,...n}=e;const r=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),a=Ie[r];if(!a)throw new Error(`No NavbarItem component found for type "${t}".`);return(0,d.jsx)(a,{...n})}function Fe(){const e=(0,S.M)(),t=(0,p.p)().navbar.items;return(0,d.jsx)("ul",{className:"menu__list",children:t.map(((t,n)=>(0,r.createElement)(De,{mobile:!0,...t,onClick:()=>e.toggle(),key:n})))})}function Be(e){return(0,d.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,d.jsx)(g.A,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)",children:"\u2190 Back to main menu"})})}function ze(){const e=0===(0,p.p)().navbar.items.length,t=(0,C.T)();return(0,d.jsxs)(d.Fragment,{children:[!e&&(0,d.jsx)(Be,{onClick:()=>t.hide()}),t.content]})}function qe(){const e=(0,S.M)();return(0,E._)(e.shown),e.shouldRender?(0,d.jsx)(T,{header:(0,d.jsx)(z,{}),primaryMenu:(0,d.jsx)(Fe,{}),secondaryMenu:(0,d.jsx)(ze,{})}):null}const $e={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function Ue(e){return(0,d.jsx)("div",{role:"presentation",...e,className:(0,a.A)("navbar-sidebar__backdrop",e.className)})}function We(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:r}}=(0,p.p)(),o=(0,S.M)(),{navbarRef:i,isNavbarVisible:s}=(0,_.S)(n);return(0,d.jsxs)("nav",{ref:i,"aria-label":(0,g.T)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,a.A)("navbar","navbar--fixed-top",n&&[$e.navbarHideable,!s&&$e.navbarHidden],{"navbar--dark":"dark"===r,"navbar--primary":"primary"===r,"navbar-sidebar--show":o.shown}),children:[t,(0,d.jsx)(Ue,{onClick:o.toggle}),(0,d.jsx)(qe,{})]})}var He=n(2181),Ve=n(6305);function Ge(e){let{width:t=30,height:n=30,className:r,...a}=e;return(0,d.jsx)("svg",{className:r,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...a,children:(0,d.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function Qe(){const{toggle:e,shown:t}=(0,S.M)();return(0,d.jsx)("button",{onClick:e,"aria-label":(0,g.T)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button",children:(0,d.jsx)(Ge,{})})}const Ke={colorModeToggle:"colorModeToggle_DEke"};function Ye(e){let{items:t}=e;return(0,d.jsx)(d.Fragment,{children:t.map(((e,t)=>(0,d.jsx)(He.k2,{onError:t=>new Error(`A theme navbar item failed to render.\nPlease double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:\n${JSON.stringify(e,null,2)}`,{cause:t}),children:(0,d.jsx)(De,{...e})},t)))})}function Ze(e){let{left:t,right:n}=e;return(0,d.jsxs)("div",{className:"navbar__inner",children:[(0,d.jsx)("div",{className:"navbar__items",children:t}),(0,d.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function Xe(){const e=(0,S.M)(),t=(0,p.p)().navbar.items,[n,r]=(0,Ve.D)(t),a=t.find((e=>"search"===e.type));return(0,d.jsx)(Ze,{left:(0,d.jsxs)(d.Fragment,{children:[!e.disabled&&(0,d.jsx)(Qe,{}),(0,d.jsx)(F,{}),(0,d.jsx)(Ye,{items:n})]}),right:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(Ye,{items:r}),(0,d.jsx)(I,{className:Ke.colorModeToggle}),!a&&(0,d.jsx)(je,{children:(0,d.jsx)(Pe,{})})]})})}function Je(){return(0,d.jsx)(We,{children:(0,d.jsx)(Xe,{})})}var et=n(3106);function tt(e){let{item:t}=e;const{to:n,href:r,label:a,prependBaseUrlToHref:o,...i}=t,s=(0,$.A)(n),l=(0,$.A)(r,{forcePrependBaseUrl:!0});return(0,d.jsxs)(q.default,{className:"footer__link-item",...r?{href:o?l:r}:{to:s},...i,children:[a,r&&!(0,U.A)(r)&&(0,d.jsx)(H.A,{})]})}function nt(e){let{item:t}=e;return t.html?(0,d.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):(0,d.jsx)("li",{className:"footer__item",children:(0,d.jsx)(tt,{item:t})},t.href??t.to)}function rt(e){let{column:t}=e;return(0,d.jsxs)("div",{className:"col footer__col",children:[(0,d.jsx)("div",{className:"footer__title",children:t.title}),(0,d.jsx)("ul",{className:"footer__items clean-list",children:t.items.map(((e,t)=>(0,d.jsx)(nt,{item:e},t)))})]})}function at(e){let{columns:t}=e;return(0,d.jsx)("div",{className:"row footer__links",children:t.map(((e,t)=>(0,d.jsx)(rt,{column:e},t)))})}function ot(){return(0,d.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function it(e){let{item:t}=e;return t.html?(0,d.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,d.jsx)(tt,{item:t})}function st(e){let{links:t}=e;return(0,d.jsx)("div",{className:"footer__links text--center",children:(0,d.jsx)("div",{className:"footer__links",children:t.map(((e,n)=>(0,d.jsxs)(r.Fragment,{children:[(0,d.jsx)(it,{item:e}),t.length!==n+1&&(0,d.jsx)(ot,{})]},n)))})})}function lt(e){let{links:t}=e;return(0,et.C)(t)?(0,d.jsx)(at,{columns:t}):(0,d.jsx)(st,{links:t})}var ct=n(5626);const ut={footerLogoLink:"footerLogoLink_BH7S"};function dt(e){let{logo:t}=e;const{withBaseUrl:n}=(0,$.h)(),r={light:n(t.src),dark:n(t.srcDark??t.src)};return(0,d.jsx)(ct.A,{className:(0,a.A)("footer__logo",t.className),alt:t.alt,sources:r,width:t.width,height:t.height,style:t.style})}function ft(e){let{logo:t}=e;return t.href?(0,d.jsx)(q.default,{href:t.href,className:ut.footerLogoLink,target:t.target,children:(0,d.jsx)(dt,{logo:t})}):(0,d.jsx)(dt,{logo:t})}function pt(e){let{copyright:t}=e;return(0,d.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function ht(e){let{style:t,links:n,logo:r,copyright:o}=e;return(0,d.jsx)("footer",{className:(0,a.A)("footer",{"footer--dark":"dark"===t}),children:(0,d.jsxs)("div",{className:"container container-fluid",children:[n,(r||o)&&(0,d.jsxs)("div",{className:"footer__bottom text--center",children:[r&&(0,d.jsx)("div",{className:"margin-bottom--sm",children:r}),o]})]})})}function gt(){const{footer:e}=(0,p.p)();if(!e)return null;const{copyright:t,links:n,logo:r,style:a}=e;return(0,d.jsx)(ht,{style:a,links:n&&n.length>0&&(0,d.jsx)(lt,{links:n}),logo:r&&(0,d.jsx)(ft,{logo:r}),copyright:t&&(0,d.jsx)(pt,{copyright:t})})}const mt=r.memo(gt);var bt=n(9532),yt=n(3104);const vt=(0,bt.fM)([A.a,h.oq,yt.Tv,Oe.VQ,i.Jx,Ve.G]);function xt(e){let{children:t}=e;return(0,d.jsx)(vt,{children:t})}var wt=n(1107);function kt(e){let{error:t,tryAgain:n}=e;return(0,d.jsx)("main",{className:"container margin-vert--xl",children:(0,d.jsx)("div",{className:"row",children:(0,d.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,d.jsx)(wt.default,{as:"h1",className:"hero__title",children:(0,d.jsx)(g.A,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,d.jsx)("div",{className:"margin-vert--lg",children:(0,d.jsx)(He.a2,{onClick:n,className:"button button--primary shadow--lw"})}),(0,d.jsx)("hr",{}),(0,d.jsx)("div",{className:"margin-vert--md",children:(0,d.jsx)(He.bq,{error:t})})]})})})}const St={mainWrapper:"mainWrapper_z2l0"};function _t(e){const{children:t,noFooter:n,wrapperClassName:r,title:u,description:p}=e;return(0,c.J)(),(0,d.jsxs)(xt,{children:[(0,d.jsx)(i.be,{title:u,description:p}),(0,d.jsx)(f,{}),(0,d.jsx)(k,{}),(0,d.jsx)(Je,{}),(0,d.jsx)("div",{id:s.j,className:(0,a.A)(l.G.wrapper.main,St.mainWrapper,r),children:(0,d.jsx)(o.A,{fallback:e=>(0,d.jsx)(kt,{...e}),children:t})}),!n&&(0,d.jsx)(mt,{})]})}},3465:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});n(6540);var r=n(8774),a=n(6025),o=n(4586),i=n(6342),s=n(5626),l=n(4848);function c(e){let{logo:t,alt:n,imageClassName:r}=e;const o={light:(0,a.A)(t.src),dark:(0,a.A)(t.srcDark||t.src)},i=(0,l.jsx)(s.A,{className:t.className,sources:o,height:t.height,width:t.width,alt:n,style:t.style});return r?(0,l.jsx)("div",{className:r,children:i}):i}function u(e){const{siteConfig:{title:t}}=(0,o.default)(),{navbar:{title:n,logo:s}}=(0,i.p)(),{imageClassName:u,titleClassName:d,...f}=e,p=(0,a.A)(s?.href||"/"),h=n?"":t,g=s?.alt??h;return(0,l.jsxs)(r.default,{to:p,...f,...s?.target&&{target:s.target},children:[s&&(0,l.jsx)(c,{logo:s,alt:g,imageClassName:u}),null!=n&&(0,l.jsx)("b",{className:d,children:n})]})}},1463:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(6540);var r=n(5260),a=n(4848);function o(e){let{locale:t,version:n,tag:o}=e;const i=t;return(0,a.jsxs)(r.A,{children:[t&&(0,a.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,a.jsx)("meta",{name:"docusaurus_version",content:n}),o&&(0,a.jsx)("meta",{name:"docusaurus_tag",content:o}),i&&(0,a.jsx)("meta",{name:"docsearch:language",content:i}),n&&(0,a.jsx)("meta",{name:"docsearch:version",content:n}),o&&(0,a.jsx)("meta",{name:"docsearch:docusaurus_tag",content:o})]})}},5626:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(6540);var r=n(9967),a=n(4848);function o(e){const{sources:t,className:n,alt:o,...i}=e;return(0,a.jsx)(r.A,{className:n,children:e=>{let{theme:n,className:r}=e;return(0,a.jsx)("img",{src:t[n],alt:o,className:r,...i})}})}},1422:(e,t,n)=>{"use strict";n.d(t,{N:()=>b,u:()=>c});var r=n(6540),a=n(8193),o=n(205),i=n(3109),s=n(4848);const l="ease-in-out";function c(e){let{initialState:t}=e;const[n,a]=(0,r.useState)(t??!1),o=(0,r.useCallback)((()=>{a((e=>!e))}),[]);return{collapsed:n,setCollapsed:a,toggleCollapsed:o}}const u={display:"none",overflow:"hidden",height:"0px"},d={display:"block",overflow:"visible",height:"auto"};function f(e,t){const n=t?u:d;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function p(e){let{collapsibleRef:t,collapsed:n,animation:a}=e;const o=(0,r.useRef)(!1);(0,r.useEffect)((()=>{const e=t.current;function r(){const t=e.scrollHeight,n=a?.duration??function(e){if((0,i.O)())return 1;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}(t);return{transition:`height ${n}ms ${a?.easing??l}`,height:`${t}px`}}function s(){const t=r();e.style.transition=t.transition,e.style.height=t.height}if(!o.current)return f(e,n),void(o.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(s(),requestAnimationFrame((()=>{e.style.height=u.height,e.style.overflow=u.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{s()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,a])}function h(e){if(!a.A.canUseDOM)return e?u:d}function g(e){let{as:t="div",collapsed:n,children:a,animation:o,onCollapseTransitionEnd:i,className:l,disableSSRStyle:c}=e;const u=(0,r.useRef)(null);return p({collapsibleRef:u,collapsed:n,animation:o}),(0,s.jsx)(t,{ref:u,style:c?void 0:h(n),onTransitionEnd:e=>{"height"===e.propertyName&&(f(u.current,n),i?.(n))},className:l,children:a})}function m(e){let{collapsed:t,...n}=e;const[a,i]=(0,r.useState)(!t),[l,c]=(0,r.useState)(t);return(0,o.A)((()=>{t||i(!0)}),[t]),(0,o.A)((()=>{a&&c(t)}),[a,t]),a?(0,s.jsx)(g,{...n,collapsed:l}):null}function b(e){let{lazy:t,...n}=e;const r=t?m:g;return(0,s.jsx)(r,{...n})}},9967:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(6540),a=n(4164),o=n(2303),i=n(5293);const s={themedComponent:"themedComponent_mlkZ","themedComponent--light":"themedComponent--light_NVdE","themedComponent--dark":"themedComponent--dark_xIcU"};var l=n(4848);function c(e){let{className:t,children:n}=e;const c=(0,o.A)(),{colorMode:u}=(0,i.G)();return(0,l.jsx)(l.Fragment,{children:(c?"dark"===u?["dark"]:["light"]:["light","dark"]).map((e=>{const o=n({theme:e,className:(0,a.A)(t,s.themedComponent,s[`themedComponent--${e}`])});return(0,l.jsx)(r.Fragment,{children:o},e)}))})}},5041:(e,t,n)=>{"use strict";n.d(t,{Mj:()=>g,oq:()=>h});var r=n(6540),a=n(2303),o=n(9466),i=n(9532),s=n(6342),l=n(4848);const c=(0,o.Wf)("docusaurus.announcement.dismiss"),u=(0,o.Wf)("docusaurus.announcement.id"),d=()=>"true"===c.get(),f=e=>c.set(String(e)),p=r.createContext(null);function h(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,s.p)(),t=(0,a.A)(),[n,o]=(0,r.useState)((()=>!!t&&d()));(0,r.useEffect)((()=>{o(d())}),[]);const i=(0,r.useCallback)((()=>{f(!0),o(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=u.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;u.set(t),r&&f(!1),!r&&d()||o(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:i})),[e,n,i])}();return(0,l.jsx)(p.Provider,{value:n,children:t})}function g(){const e=(0,r.useContext)(p);if(!e)throw new i.dV("AnnouncementBarProvider");return e}},5293:(e,t,n)=>{"use strict";n.d(t,{G:()=>b,a:()=>m});var r=n(6540),a=n(8193),o=n(9532),i=n(9466),s=n(6342),l=n(4848);const c=r.createContext(void 0),u="theme",d=(0,i.Wf)(u),f={light:"light",dark:"dark"},p=e=>e===f.dark?f.dark:f.light,h=e=>a.A.canUseDOM?p(document.documentElement.getAttribute("data-theme")):p(e),g=e=>{d.set(p(e))};function m(e){let{children:t}=e;const n=function(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,s.p)(),[a,o]=(0,r.useState)(h(e));(0,r.useEffect)((()=>{t&&d.del()}),[t]);const i=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:a=!0}=r;t?(o(t),a&&g(t)):(o(n?window.matchMedia("(prefers-color-scheme: dark)").matches?f.dark:f.light:e),d.del())}),[n,e]);(0,r.useEffect)((()=>{document.documentElement.setAttribute("data-theme",p(a))}),[a]),(0,r.useEffect)((()=>{if(t)return;const e=e=>{if(e.key!==u)return;const t=d.get();null!==t&&i(p(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,i]);const l=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{if(t&&!n)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{window.matchMedia("print").matches||l.current?l.current=window.matchMedia("print").matches:i(null)};return e.addListener(r),()=>e.removeListener(r)}),[i,t,n]),(0,r.useMemo)((()=>({colorMode:a,setColorMode:i,get isDarkTheme(){return a===f.dark},setLightTheme(){i(f.light)},setDarkTheme(){i(f.dark)}})),[a,i])}();return(0,l.jsx)(c.Provider,{value:n,children:t})}function b(){const e=(0,r.useContext)(c);if(null==e)throw new o.dV("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},5597:(e,t,n)=>{"use strict";n.d(t,{VQ:()=>b,XK:()=>x,g1:()=>v});var r=n(6540),a=n(4070),o=n(7065),i=n(6342),s=n(4142),l=n(9532),c=n(9466),u=n(4848);const d=e=>`docs-preferred-version-${e}`,f={save:(e,t,n)=>{(0,c.Wf)(d(e),{persistence:t}).set(n)},read:(e,t)=>(0,c.Wf)(d(e),{persistence:t}).get(),clear:(e,t)=>{(0,c.Wf)(d(e),{persistence:t}).del()}},p=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const h=r.createContext(null);function g(){const e=(0,a.useAllDocsData)(),t=(0,i.p)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[o,s]=(0,r.useState)((()=>p(n)));(0,r.useEffect)((()=>{s(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;function a(e){const t=f.read(e,n);return r[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(f.clear(e,n),{preferredVersionName:null})}return Object.fromEntries(t.map((e=>[e,a(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[o,(0,r.useMemo)((()=>({savePreferredVersion:function(e,n){f.save(e,t,n),s((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function m(e){let{children:t}=e;const n=g();return(0,u.jsx)(h.Provider,{value:n,children:t})}function b(e){let{children:t}=e;return s.C5?(0,u.jsx)(m,{children:t}):(0,u.jsx)(u.Fragment,{children:t})}function y(){const e=(0,r.useContext)(h);if(!e)throw new l.dV("DocsPreferredVersionContextProvider");return e}function v(e){void 0===e&&(e=o.W);const t=(0,a.useDocsData)(e),[n,i]=y(),{preferredVersionName:s}=n[e];return{preferredVersion:t.versions.find((e=>e.name===s))??null,savePreferredVersionName:(0,r.useCallback)((t=>{i.savePreferredVersion(e,t)}),[i,e])}}function x(){const e=(0,a.useAllDocsData)(),[t]=y();function n(n){const r=e[n],{preferredVersionName:a}=t[n];return r.versions.find((e=>e.name===a))??null}const r=Object.keys(e);return Object.fromEntries(r.map((e=>[e,n(e)])))}},6588:(e,t,n)=>{"use strict";n.d(t,{V:()=>l,t:()=>c});var r=n(6540),a=n(9532),o=n(4848);const i=Symbol("EmptyContext"),s=r.createContext(i);function l(e){let{children:t,name:n,items:a}=e;const i=(0,r.useMemo)((()=>n&&a?{name:n,items:a}:null),[n,a]);return(0,o.jsx)(s.Provider,{value:i,children:t})}function c(){const e=(0,r.useContext)(s);if(e===i)throw new a.dV("DocsSidebarProvider");return e}},2252:(e,t,n)=>{"use strict";n.d(t,{n:()=>s,r:()=>l});var r=n(6540),a=n(9532),o=n(4848);const i=r.createContext(null);function s(e){let{children:t,version:n}=e;return(0,o.jsx)(i.Provider,{value:n,children:t})}function l(){const e=(0,r.useContext)(i);if(null===e)throw new a.dV("DocsVersionProvider");return e}},2069:(e,t,n)=>{"use strict";n.d(t,{M:()=>p,e:()=>f});var r=n(6540),a=n(5600),o=n(4581),i=n(7485),s=n(6342),l=n(9532),c=n(4848);const u=r.createContext(void 0);function d(){const e=function(){const e=(0,a.YL)(),{items:t}=(0,s.p)().navbar;return 0===t.length&&!e.component}(),t=(0,o.l)(),n=!e&&"mobile"===t,[l,c]=(0,r.useState)(!1);(0,i.$Z)((()=>{if(l)return c(!1),!1}));const u=(0,r.useCallback)((()=>{c((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&c(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:u,shown:l})),[e,n,u,l])}function f(e){let{children:t}=e;const n=d();return(0,c.jsx)(u.Provider,{value:n,children:t})}function p(){const e=r.useContext(u);if(void 0===e)throw new l.dV("NavbarMobileSidebarProvider");return e}},5600:(e,t,n)=>{"use strict";n.d(t,{GX:()=>c,YL:()=>l,y_:()=>s});var r=n(6540),a=n(9532),o=n(4848);const i=r.createContext(null);function s(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return(0,o.jsx)(i.Provider,{value:n,children:t})}function l(){const e=(0,r.useContext)(i);if(!e)throw new a.dV("NavbarSecondaryMenuContentProvider");return e[0]}function c(e){let{component:t,props:n}=e;const o=(0,r.useContext)(i);if(!o)throw new a.dV("NavbarSecondaryMenuContentProvider");const[,s]=o,l=(0,a.Be)(n);return(0,r.useEffect)((()=>{s({component:t,props:l})}),[s,t,l]),(0,r.useEffect)((()=>()=>s({component:null,props:null})),[s]),null}},8695:(e,t,n)=>{"use strict";n.d(t,{N:()=>c,T:()=>d});var r=n(6540),a=n(9532),o=n(2069),i=n(5600),s=n(4848);const l=r.createContext(null);function c(e){let{children:t}=e;const n=function(){const e=(0,o.M)(),t=(0,i.YL)(),[n,s]=(0,r.useState)(!1),l=null!==t.component,c=(0,a.ZC)(l);return(0,r.useEffect)((()=>{l&&!c&&s(!0)}),[l,c]),(0,r.useEffect)((()=>{l?e.shown||s(!0):s(!1)}),[e.shown,l]),(0,r.useMemo)((()=>[n,s]),[n])}();return(0,s.jsx)(l.Provider,{value:n,children:t})}function u(e){if(e.component){const t=e.component;return(0,s.jsx)(t,{...e.props})}}function d(){const e=(0,r.useContext)(l);if(!e)throw new a.dV("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,o=(0,r.useCallback)((()=>n(!1)),[n]),s=(0,i.YL)();return(0,r.useMemo)((()=>({shown:t,hide:o,content:u(s)})),[o,s,t])}},1182:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(6540),a=n(5062),o=n(3104);function i(e){const[t,n]=(0,r.useState)(e),i=(0,r.useRef)(!1),s=(0,r.useRef)(0),l=(0,r.useCallback)((e=>{null!==e&&(s.current=e.getBoundingClientRect().height)}),[]);return(0,o.Mq)(((t,r)=>{let{scrollY:a}=t;if(!e)return;if(a<s.current)return void n(!0);if(i.current)return void(i.current=!1);const o=r?.scrollY,l=document.documentElement.scrollHeight-s.current,c=window.innerHeight;o&&a>=o?n(!1):a+c<l&&n(!0)})),(0,a.$)((t=>{if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return i.current=!0,void n(!1);n(!0)})),{navbarRef:l,isNavbarVisible:t}}},4090:(e,t,n)=>{"use strict";n.d(t,{w:()=>a,J:()=>o});var r=n(6540);const a="navigation-with-keyboard";function o(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(a),"mousedown"===e.type&&document.body.classList.remove(a)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(a),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},3458:(e,t,n)=>{"use strict";n.d(t,{_:()=>a});var r=n(6540);function a(e){void 0===e&&(e=!0),(0,r.useEffect)((()=>(document.body.style.overflow=e?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[e])}},4255:(e,t,n)=>{"use strict";n.d(t,{b:()=>s,w:()=>l});var r=n(6540),a=n(4586),o=n(7485);const i="q";function s(){return(0,o.l)(i)}function l(){const{siteConfig:{baseUrl:e,themeConfig:t}}=(0,a.default)(),{algolia:{searchPagePath:n}}=t;return(0,r.useCallback)((t=>`${e}${n}?${i}=${encodeURIComponent(t)}`),[e,n])}},4581:(e,t,n)=>{"use strict";n.d(t,{l:()=>s});var r=n(6540),a=n(8193);const o={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function s(e){let{desktopBreakpoint:t=i}=void 0===e?{}:e;const[n,s]=(0,r.useState)((()=>"ssr"));return(0,r.useEffect)((()=>{function e(){s(function(e){if(!a.A.canUseDOM)throw new Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?o.desktop:o.mobile}(t))}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[t]),n}},7559:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});const r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",unlistedBanner:"theme-unlisted-banner",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{}}},3109:(e,t,n)=>{"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{O:()=>r})},4142:(e,t,n)=>{"use strict";n.d(t,{$S:()=>m,B5:()=>T,C5:()=>f,Nr:()=>g,OF:()=>S,QB:()=>C,Se:()=>x,Vd:()=>_,Y:()=>w,_j:()=>h,cC:()=>p,d1:()=>A,fW:()=>E,w8:()=>v});var r=n(6540),a=n(6347),o=n(2831),i=n(4070),s=n(5597),l=n(2252),c=n(6588),u=n(1682),d=n(9169);const f=!!i.useAllDocsData;function p(e){const t=(0,l.r)();if(!e)return;const n=t.docs[e];if(!n)throw new Error(`no version doc found by id=${e}`);return n}function h(e,t){for(const n of e)if("category"===n.type){if(t(n))return n;const e=h(n.items,t);if(e)return e}}function g(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(const t of e.items){const e=g(t);if(e)return e}}(e):void 0:e.href}function m(){const{pathname:e}=(0,a.zy)(),t=(0,c.t)();if(!t)throw new Error("Unexpected: cant find current sidebar in context");const n=k({sidebarItems:t.items,pathname:e,onlyCategories:!0}).slice(-1)[0];if(!n)throw new Error(`${e} is not associated with a category. useCurrentSidebarCategory() should only be used on category index pages.`);return n}const b=(e,t)=>void 0!==e&&(0,d.ys)(e,t),y=(e,t)=>e.some((e=>v(e,t)));function v(e,t){return"link"===e.type?b(e.href,t):"category"===e.type&&(b(e.href,t)||y(e.items,t))}function x(e,t){switch(e.type){case"category":return v(e,t)||e.items.some((e=>x(e,t)));case"link":return!e.unlisted||v(e,t);default:return!0}}function w(e,t){return(0,r.useMemo)((()=>e.filter((e=>x(e,t)))),[e,t])}function k(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e;const a=[];return function e(t){for(const o of t)if("category"===o.type&&((0,d.ys)(o.href,n)||e(o.items))||"link"===o.type&&(0,d.ys)(o.href,n)){return r&&"category"!==o.type||a.unshift(o),!0}return!1}(t),a}function S(){const e=(0,c.t)(),{pathname:t}=(0,a.zy)(),n=(0,i.useActivePlugin)()?.pluginData.breadcrumbs;return!1!==n&&e?k({sidebarItems:e.items,pathname:t}):null}function _(e){const{activeVersion:t}=(0,i.useActiveDocContext)(e),{preferredVersion:n}=(0,s.g1)(e),a=(0,i.useLatestVersion)(e);return(0,r.useMemo)((()=>(0,u.s)([t,n,a].filter(Boolean))),[t,n,a])}function E(e,t){const n=_(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=t.find((t=>t[0]===e));if(!r)throw new Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map((e=>e.name)).join(", ")}".\nAvailable sidebar ids are:\n- ${t.map((e=>e[0])).join("\n- ")}`);return r[1]}),[e,n])}function C(e,t){const n=_(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.docs)),r=t.find((t=>t.id===e));if(!r){if(n.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error(`Couldn't find any doc with id "${e}" in version${n.length>1?"s":""} "${n.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${(0,u.s)(t.map((e=>e.id))).join("\n- ")}`)}return r}),[e,n])}function T(e){let{route:t}=e;const n=(0,a.zy)(),r=(0,l.r)(),i=t.routes,s=i.find((e=>(0,a.B6)(n.pathname,e)));if(!s)return null;const c=s.sidebar,u=c?r.docsSidebars[c]:void 0;return{docElement:(0,o.v)(i),sidebarName:c,sidebarItems:u}}function A(e){return e.filter((e=>!("category"===e.type||"link"===e.type)||!!g(e)))}},2181:(e,t,n)=>{"use strict";n.d(t,{bq:()=>u,MN:()=>c,a2:()=>l,k2:()=>d});var r=n(6540),a=n(1312),o=n(440);const i={errorBoundaryError:"errorBoundaryError_a6uf",errorBoundaryFallback:"errorBoundaryFallback_VBag"};var s=n(4848);function l(e){return(0,s.jsx)("button",{type:"button",...e,children:(0,s.jsx)(a.A,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function c(e){let{error:t,tryAgain:n}=e;return(0,s.jsxs)("div",{className:i.errorBoundaryFallback,children:[(0,s.jsx)("p",{children:t.message}),(0,s.jsx)(l,{onClick:n})]})}function u(e){let{error:t}=e;const n=(0,o.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,s.jsx)("p",{className:i.errorBoundaryError,children:n})}class d extends r.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}},3106:(e,t,n)=>{"use strict";function r(e){return"title"in e[0]}n.d(t,{C:()=>r})},481:(e,t,n)=>{"use strict";n.d(t,{s:()=>a});var r=n(4586);function a(e){const{siteConfig:t}=(0,r.default)(),{title:n,titleDelimiter:a}=t;return e?.trim().length?`${e.trim()} ${a} ${n}`:n}},7485:(e,t,n)=>{"use strict";n.d(t,{$Z:()=>i,Hl:()=>s,aZ:()=>l,l:()=>c});var r=n(6540),a=n(6347),o=n(9532);function i(e){!function(e){const t=(0,a.W6)(),n=(0,o._q)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}function s(e){const t=(0,a.W6)();return(0,r.useSyncExternalStore)(t.listen,(()=>e(t)),(()=>e(t)))}function l(e){return s((t=>null===e?null:new URLSearchParams(t.location.search).get(e)))}function c(e){const t=l(e)??"",n=function(){const e=(0,a.W6)();return(0,r.useCallback)(((t,n,r)=>{const a=new URLSearchParams(e.location.search);n?a.set(t,n):a.delete(t),(r?.push?e.push:e.replace)({search:a.toString()})}),[e])}();return[t,(0,r.useCallback)(((t,r)=>{n(e,t,r)}),[n,e])]}},1682:(e,t,n)=>{"use strict";function r(e,t){return void 0===t&&(t=(e,t)=>e===t),e.filter(((n,r)=>e.findIndex((e=>t(e,n)))!==r))}function a(e){return Array.from(new Set(e))}n.d(t,{X:()=>r,s:()=>a})},9024:(e,t,n)=>{"use strict";n.d(t,{e3:()=>p,be:()=>d,Jx:()=>h});var r=n(6540),a=n(4164),o=n(5260),i=n(3102);function s(){const e=r.useContext(i.o);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var l=n(6025),c=n(481),u=n(4848);function d(e){let{title:t,description:n,keywords:r,image:a,children:i}=e;const s=(0,c.s)(t),{withBaseUrl:d}=(0,l.h)(),f=a?d(a,{absolute:!0}):void 0;return(0,u.jsxs)(o.A,{children:[t&&(0,u.jsx)("title",{children:s}),t&&(0,u.jsx)("meta",{property:"og:title",content:s}),n&&(0,u.jsx)("meta",{name:"description",content:n}),n&&(0,u.jsx)("meta",{property:"og:description",content:n}),r&&(0,u.jsx)("meta",{name:"keywords",content:Array.isArray(r)?r.join(","):r}),f&&(0,u.jsx)("meta",{property:"og:image",content:f}),f&&(0,u.jsx)("meta",{name:"twitter:image",content:f}),i]})}const f=r.createContext(void 0);function p(e){let{className:t,children:n}=e;const i=r.useContext(f),s=(0,a.A)(i,t);return(0,u.jsxs)(f.Provider,{value:s,children:[(0,u.jsx)(o.A,{children:(0,u.jsx)("html",{className:s})}),n]})}function h(e){let{children:t}=e;const n=s(),r=`plugin-${n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const o=`plugin-id-${n.plugin.id}`;return(0,u.jsx)(p,{className:(0,a.A)(r,o),children:t})}},6305:(e,t,n)=>{"use strict";n.d(t,{D:()=>l,G:()=>c});n(6540);var r=n(2069),a=n(5600),o=n(8695),i=n(4848);const s="right";function l(e){function t(e){return"left"===(e.position??s)}return[e.filter(t),e.filter((e=>!t(e)))]}function c(e){let{children:t}=e;return(0,i.jsx)(a.y_,{children:(0,i.jsx)(r.e,{children:(0,i.jsx)(o.N,{children:t})})})}},9532:(e,t,n)=>{"use strict";n.d(t,{Be:()=>c,ZC:()=>s,_q:()=>i,dV:()=>l,fM:()=>u});var r=n(6540),a=n(205),o=n(4848);function i(e){const t=(0,r.useRef)(e);return(0,a.A)((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function s(e){const t=(0,r.useRef)();return(0,a.A)((()=>{t.current=e})),t.current}class l extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?<name>\w+)/)?.groups.name??""} is called outside the <${e}>. ${t??""}`}}function c(e){const t=Object.entries(e);return t.sort(((e,t)=>e[0].localeCompare(t[0]))),(0,r.useMemo)((()=>e),t.flat())}function u(e){return t=>{let{children:n}=t;return(0,o.jsx)(o.Fragment,{children:e.reduceRight(((e,t)=>(0,o.jsx)(t,{children:e})),n)})}}},1252:(e,t,n)=>{"use strict";function r(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}n.d(t,{G:()=>r})},9169:(e,t,n)=>{"use strict";n.d(t,{Dt:()=>s,ys:()=>i});var r=n(6540),a=n(8328),o=n(4586);function i(e,t){const n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function s(){const{baseUrl:e}=(0,o.default)().siteConfig;return(0,r.useMemo)((()=>function(e){let{baseUrl:t,routes:n}=e;function r(e){return e.path===t&&!0===e.exact}function a(e){return e.path===t&&!e.exact}return function e(t){if(0===t.length)return;return t.find(r)||e(t.filter(a).flatMap((e=>e.routes??[])))}(n)}({routes:a.A,baseUrl:e})),[e])}},3104:(e,t,n)=>{"use strict";n.d(t,{Mq:()=>p,Tv:()=>u,a_:()=>h,gk:()=>g,n1:()=>d});var r=n(6540),a=n(8193),o=n(2303),i=n(205),s=n(9532),l=n(4848);const c=r.createContext(void 0);function u(e){let{children:t}=e;const n=function(){const e=(0,r.useRef)(!0);return(0,r.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return(0,l.jsx)(c.Provider,{value:n,children:t})}function d(){const e=(0,r.useContext)(c);if(null==e)throw new s.dV("ScrollControllerProvider");return e}const f=()=>a.A.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function p(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=d(),a=(0,r.useRef)(f()),o=(0,s._q)(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=f();o(e,a.current),a.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)}),[o,n,...t])}function h(){const e=d(),t=function(){const e=(0,r.useRef)({elem:null,top:0}),t=(0,r.useCallback)((t=>{e.current={elem:t,top:t.getBoundingClientRect().top}}),[]),n=(0,r.useCallback)((()=>{const{current:{elem:t,top:n}}=e;if(!t)return{restored:!1};const r=t.getBoundingClientRect().top-n;return r&&window.scrollBy({left:0,top:r}),e.current={elem:null,top:0},{restored:0!==r}}),[]);return(0,r.useMemo)((()=>({save:t,restore:n})),[n,t])}(),n=(0,r.useRef)(void 0),a=(0,r.useCallback)((r=>{t.save(r),e.disableScrollEvents(),n.current=()=>{const{restored:r}=t.restore();if(n.current=void 0,r){const t=()=>{e.enableScrollEvents(),window.removeEventListener("scroll",t)};window.addEventListener("scroll",t)}else e.enableScrollEvents()}}),[e,t]);return(0,i.A)((()=>{queueMicrotask((()=>n.current?.()))})),{blockElementScrollPositionUntilNextRender:a}}function g(){const e=(0,r.useRef)(null),t=(0,o.A)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(n):function(e){let t=null;const n=document.documentElement.scrollTop>e;return function r(){const a=document.documentElement.scrollTop;(n&&a>e||!n&&a<e)&&(t=requestAnimationFrame(r),window.scrollTo(0,Math.floor(.85*(a-e))+e))}(),()=>t&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>e.current?.()}}},2967:(e,t,n)=>{"use strict";n.d(t,{Cy:()=>i,af:()=>l,tU:()=>s});var r=n(4070),a=n(4586),o=n(5597);const i="default";function s(e,t){return`docs-${e}-${t}`}function l(){const{i18n:e}=(0,a.default)(),t=(0,r.useAllDocsData)(),n=(0,r.useActivePluginAndVersion)(),l=(0,o.XK)();const c=[i,...Object.keys(t).map((function(e){const r=n?.activePlugin.pluginId===e?n.activeVersion:void 0,a=l[e],o=t[e].versions.find((e=>e.isLast));return s(e,(r??a??o).name)}))];return{locale:e.currentLocale,tags:c}}},5236:(e,t,n)=>{"use strict";n.d(t,{K:()=>f,j:()=>l});var r=n(6540),a=n(6347),o=n(1312),i=n(5062),s=n(4848);const l="__docusaurus_skipToContent_fallback";function c(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function u(){const e=(0,r.useRef)(null),{action:t}=(0,a.W6)(),n=(0,r.useCallback)((e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")??document.getElementById(l);t&&c(t)}),[]);return(0,i.$)((n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&c(e.current)})),{containerRef:e,onClick:n}}const d=(0,o.T)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function f(e){const t=e.children??d,{containerRef:n,onClick:r}=u();return(0,s.jsx)("div",{ref:n,role:"region","aria-label":d,children:(0,s.jsx)("a",{...e,href:`#${l}`,onClick:r,children:t})})}},9466:(e,t,n)=>{"use strict";n.d(t,{Dv:()=>u,Eo:()=>d,Wf:()=>c});var r=n(6540);const a="localStorage";function o(e){let{key:t,oldValue:n,newValue:r,storage:a}=e;if(n===r)return;const o=document.createEvent("StorageEvent");o.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,a),window.dispatchEvent(o)}function i(e){if(void 0===e&&(e=a),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,s||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),s=!0),null}var t}let s=!1;const l={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function c(e,t){if("undefined"==typeof window)return function(e){function t(){throw new Error(`Illegal storage API usage for storage key "${e}".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.`)}return{get:t,set:t,del:t,listen:t}}(e);const n=i(t?.persistence);return null===n?l:{get:()=>{try{return n.getItem(e)}catch(t){return console.error(`Docusaurus storage error, can't get key=${e}`,t),null}},set:t=>{try{const r=n.getItem(e);n.setItem(e,t),o({key:e,oldValue:r,newValue:t,storage:n})}catch(r){console.error(`Docusaurus storage error, can't set ${e}=${t}`,r)}},del:()=>{try{const t=n.getItem(e);n.removeItem(e),o({key:e,oldValue:t,newValue:null,storage:n})}catch(t){console.error(`Docusaurus storage error, can't delete key=${e}`,t)}},listen:t=>{try{const r=r=>{r.storageArea===n&&r.key===e&&t(r)};return window.addEventListener("storage",r),()=>window.removeEventListener("storage",r)}catch(r){return console.error(`Docusaurus storage error, can't listen for changes of key=${e}`,r),()=>{}}}}}function u(e,t){const n=(0,r.useRef)((()=>null===e?l:c(e,t))).current(),a=(0,r.useCallback)((e=>"undefined"==typeof window?()=>{}:n.listen(e)),[n]);return[(0,r.useSyncExternalStore)(a,(()=>"undefined"==typeof window?null:n.get()),(()=>null)),n]}function d(e){void 0===e&&(e=a);const t=i(e);if(!t)return[];const n=[];for(let r=0;r<t.length;r+=1){const e=t.key(r);null!==e&&n.push(e)}return n}},2131:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(4586),a=n(6347),o=n(440);function i(){const{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:i,currentLocale:s}}=(0,r.default)(),{pathname:l}=(0,a.zy)(),c=(0,o.applyTrailingSlash)(l,{trailingSlash:n,baseUrl:e}),u=s===i?e:e.replace(`/${s}/`,"/"),d=c.replace(e,"");return{createUrl:function(e){let{locale:n,fullyQualified:r}=e;return`${r?t:""}${function(e){return e===i?`${u}`:`${u}${e}/`}(n)}${d}`}}}},9342:(e,t,n)=>{"use strict";n.d(t,{B:()=>o});var r=n(6347),a=n(4586);function o(){const{siteConfig:{baseUrl:e}}=(0,a.default)(),{pathname:t}=(0,r.zy)();return t.replace(e,"/")}},5062:(e,t,n)=>{"use strict";n.d(t,{$:()=>i});var r=n(6540),a=n(6347),o=n(9532);function i(e){const t=(0,a.zy)(),n=(0,o.ZC)(t),i=(0,o._q)(e);(0,r.useEffect)((()=>{n&&t!==n&&i({location:t,previousLocation:n})}),[i,t,n])}},6342:(e,t,n)=>{"use strict";n.d(t,{p:()=>a});var r=n(4586);function a(){return(0,r.default)().siteConfig.themeConfig}},8126:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var r=n(4586);function a(){const{siteConfig:{themeConfig:e}}=(0,r.default)();return e}},1062:(e,t,n)=>{"use strict";n.d(t,{C:()=>s});var r=n(6540),a=n(1252),o=n(6025),i=n(8126);function s(){const{withBaseUrl:e}=(0,o.h)(),{algolia:{externalUrlRegex:t,replaceSearchResultPathname:n}}=(0,i.c)();return(0,r.useCallback)((r=>{const o=new URL(r);if((0,a.G)(t,o.href))return r;const i=`${o.pathname+o.hash}`;return e(function(e,t){return t?e.replaceAll(new RegExp(t.from,"g"),t.to):e}(i,n))}),[e,t,n])}},2983:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[a]=e.split(/[#?]/),o="/"===a||a===r?a:(i=a,n?function(e){return e.endsWith("/")?e:`${e}/`}(i):function(e){return e.endsWith("/")?e.slice(0,-1):e}(i));var i;return e.replace(a,o)}},253:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},440:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="__blog-post-container";var a=n(2983);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(a).default}});var o=n(253);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return o.getErrorCausalChain}})},1513:(e,t,n)=>{"use strict";n.d(t,{zR:()=>x,TM:()=>C,yJ:()=>p,sC:()=>A,AO:()=>f});var r=n(8168);function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r<a;n+=1,r+=1)e[n]=e[r];e.pop()}const i=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],s=e&&a(e),l=t&&a(t),c=s||l;if(e&&a(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var u=i[i.length-1];n="."===u||".."===u||""===u}else n=!1;for(var d=0,f=i.length;f>=0;f--){var p=i[f];"."===p?o(i,f):".."===p?(o(i,f),d++):d&&(o(i,f),d--)}if(!c)for(;d--;d)i.unshift("..");!c||""===i[0]||i[0]&&a(i[0])||i.unshift("");var h=i.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};var s=n(1561);function l(e){return"/"===e.charAt(0)?e:"/"+e}function c(e){return"/"===e.charAt(0)?e.substr(1):e}function u(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function f(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function p(e,t,n,a){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=(0,r.A)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function h(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var g=!("undefined"==typeof window||!window.document||!window.document.createElement);function m(e,t){t(window.confirm(e))}var b="popstate",y="hashchange";function v(){try{return window.history.state||{}}catch(e){return{}}}function x(e){void 0===e&&(e={}),g||(0,s.A)(!1);var t,n=window.history,a=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,c=i.forceRefresh,x=void 0!==c&&c,w=i.getUserConfirmation,k=void 0===w?m:w,S=i.keyLength,_=void 0===S?6:S,E=e.basename?d(l(e.basename)):"";function C(e){var t=e||{},n=t.key,r=t.state,a=window.location,o=a.pathname+a.search+a.hash;return E&&(o=u(o,E)),p(o,r,n)}function T(){return Math.random().toString(36).substr(2,_)}var A=h();function P(e){(0,r.A)(q,e),q.length=n.length,A.notifyListeners(q.location,q.action)}function N(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||L(C(e.state))}function j(){L(C(v()))}var R=!1;function L(e){if(R)R=!1,P();else{A.confirmTransitionTo(e,"POP",k,(function(t){t?P({action:"POP",location:e}):function(e){var t=q.location,n=M.indexOf(t.key);-1===n&&(n=0);var r=M.indexOf(e.key);-1===r&&(r=0);var a=n-r;a&&(R=!0,D(a))}(e)}))}}var O=C(v()),M=[O.key];function I(e){return E+f(e)}function D(e){n.go(e)}var F=0;function B(e){1===(F+=e)&&1===e?(window.addEventListener(b,N),o&&window.addEventListener(y,j)):0===F&&(window.removeEventListener(b,N),o&&window.removeEventListener(y,j))}var z=!1;var q={length:n.length,action:"POP",location:O,createHref:I,push:function(e,t){var r="PUSH",o=p(e,t,T(),q.location);A.confirmTransitionTo(o,r,k,(function(e){if(e){var t=I(o),i=o.key,s=o.state;if(a)if(n.pushState({key:i,state:s},null,t),x)window.location.href=t;else{var l=M.indexOf(q.location.key),c=M.slice(0,l+1);c.push(o.key),M=c,P({action:r,location:o})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",o=p(e,t,T(),q.location);A.confirmTransitionTo(o,r,k,(function(e){if(e){var t=I(o),i=o.key,s=o.state;if(a)if(n.replaceState({key:i,state:s},null,t),x)window.location.replace(t);else{var l=M.indexOf(q.location.key);-1!==l&&(M[l]=o.key),P({action:r,location:o})}else window.location.replace(t)}}))},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=A.setPrompt(e);return z||(B(1),z=!0),function(){return z&&(z=!1,B(-1)),t()}},listen:function(e){var t=A.appendListener(e);return B(1),function(){B(-1),t()}}};return q}var w="hashchange",k={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+c(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:c,decodePath:l},slash:{encodePath:l,decodePath:l}};function S(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function _(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function E(e){window.location.replace(S(window.location.href)+"#"+e)}function C(e){void 0===e&&(e={}),g||(0,s.A)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),a=n.getUserConfirmation,o=void 0===a?m:a,i=n.hashType,c=void 0===i?"slash":i,b=e.basename?d(l(e.basename)):"",y=k[c],v=y.encodePath,x=y.decodePath;function C(){var e=x(_());return b&&(e=u(e,b)),p(e)}var T=h();function A(e){(0,r.A)(z,e),z.length=t.length,T.notifyListeners(z.location,z.action)}var P=!1,N=null;function j(){var e,t,n=_(),r=v(n);if(n!==r)E(r);else{var a=C(),i=z.location;if(!P&&(t=a,(e=i).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(N===f(a))return;N=null,function(e){if(P)P=!1,A();else{var t="POP";T.confirmTransitionTo(e,t,o,(function(n){n?A({action:t,location:e}):function(e){var t=z.location,n=M.lastIndexOf(f(t));-1===n&&(n=0);var r=M.lastIndexOf(f(e));-1===r&&(r=0);var a=n-r;a&&(P=!0,I(a))}(e)}))}}(a)}}var R=_(),L=v(R);R!==L&&E(L);var O=C(),M=[f(O)];function I(e){t.go(e)}var D=0;function F(e){1===(D+=e)&&1===e?window.addEventListener(w,j):0===D&&window.removeEventListener(w,j)}var B=!1;var z={length:t.length,action:"POP",location:O,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+v(b+f(e))},push:function(e,t){var n="PUSH",r=p(e,void 0,void 0,z.location);T.confirmTransitionTo(r,n,o,(function(e){if(e){var t=f(r),a=v(b+t);if(_()!==a){N=t,function(e){window.location.hash=e}(a);var o=M.lastIndexOf(f(z.location)),i=M.slice(0,o+1);i.push(t),M=i,A({action:n,location:r})}else A()}}))},replace:function(e,t){var n="REPLACE",r=p(e,void 0,void 0,z.location);T.confirmTransitionTo(r,n,o,(function(e){if(e){var t=f(r),a=v(b+t);_()!==a&&(N=t,E(a));var o=M.indexOf(f(z.location));-1!==o&&(M[o]=t),A({action:n,location:r})}}))},go:I,goBack:function(){I(-1)},goForward:function(){I(1)},block:function(e){void 0===e&&(e=!1);var t=T.setPrompt(e);return B||(F(1),B=!0),function(){return B&&(B=!1,F(-1)),t()}},listen:function(e){var t=T.appendListener(e);return F(1),function(){F(-1),t()}}};return z}function T(e,t,n){return Math.min(Math.max(e,t),n)}function A(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,a=t.initialEntries,o=void 0===a?["/"]:a,i=t.initialIndex,s=void 0===i?0:i,l=t.keyLength,c=void 0===l?6:l,u=h();function d(e){(0,r.A)(x,e),x.length=x.entries.length,u.notifyListeners(x.location,x.action)}function g(){return Math.random().toString(36).substr(2,c)}var m=T(s,0,o.length-1),b=o.map((function(e){return p(e,void 0,"string"==typeof e?g():e.key||g())})),y=f;function v(e){var t=T(x.index+e,0,x.entries.length-1),r=x.entries[t];u.confirmTransitionTo(r,"POP",n,(function(e){e?d({action:"POP",location:r,index:t}):d()}))}var x={length:b.length,action:"POP",location:b[m],index:m,entries:b,createHref:y,push:function(e,t){var r="PUSH",a=p(e,t,g(),x.location);u.confirmTransitionTo(a,r,n,(function(e){if(e){var t=x.index+1,n=x.entries.slice(0);n.length>t?n.splice(t,n.length-t,a):n.push(a),d({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=p(e,t,g(),x.location);u.confirmTransitionTo(a,r,n,(function(e){e&&(x.entries[x.index]=a,d({action:r,location:a}))}))},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(e){var t=x.index+e;return t>=0&&t<x.entries.length},block:function(e){return void 0===e&&(e=!1),u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return x}},4146:(e,t,n)=>{"use strict";var r=n(4363),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||a}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var a=p(n);a&&a!==h&&e(t,a,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var s=l(t),g=l(n),m=0;m<i.length;++m){var b=i[m];if(!(o[b]||r&&r[b]||g&&g[b]||s&&s[b])){var y=f(n,b);try{c(t,b,y)}catch(v){}}}}return t}},311:e=>{"use strict";e.exports=function(e,t,n,r,a,o,i,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,a,o,i,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},4634:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},119:(e,t,n)=>{"use strict";n.r(t)},1043:(e,t,n)=>{"use strict";n.r(t)},5947:function(e,t,n){var r,a;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function a(e,t,n){return e<t?t:e>n?n:e}function o(e){return 100*(-1+e)}function i(e,t,n){var a;return(a="translate3d"===r.positionUsing?{transform:"translate3d("+o(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+o(e)+"%,0)"}:{"margin-left":o(e)+"%"}).transition="all "+t+"ms "+n,a}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=a(e,r.minimum,1),n.status=1===e?null:e;var o=n.render(!t),c=o.querySelector(r.barSelector),u=r.speed,d=r.easing;return o.offsetWidth,s((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),l(c,i(e,u,d)),1===e?(l(o,{transition:"none",opacity:1}),o.offsetWidth,setTimeout((function(){l(o,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),u)}),u)):setTimeout(t,u)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*a(Math.random()*t,.1,.95)),t=a(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var a,i=t.querySelector(r.barSelector),s=e?"-100":o(n.status||0),c=document.querySelector(r.parent);return l(i,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),r.showSpinner||(a=t.querySelector(r.spinnerSelector))&&p(a),c!=document.body&&u(c,"nprogress-custom-parent"),c.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var s=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),l=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}function a(e){return e=n(e),t[e]||(t[e]=r(e))}function o(e,t,n){t=a(t),e.style[t]=n}return function(e,t){var n,r,a=arguments;if(2==a.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&o(e,n,r);else o(e,a[1],a[2])}}();function c(e,t){return("string"==typeof e?e:f(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=f(e),r=n+t;c(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=f(e);c(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function f(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(a="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=a)},5302:(e,t,n)=>{var r=n(4634);e.exports=p,e.exports.parse=o,e.exports.compile=function(e,t){return s(o(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=f;var a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,i=0,s="",u=t&&t.delimiter||"/";null!=(n=a.exec(e));){var d=n[0],f=n[1],p=n.index;if(s+=e.slice(i,p),i=p+d.length,f)s+=f[1];else{var h=e[i],g=n[2],m=n[3],b=n[4],y=n[5],v=n[6],x=n[7];s&&(r.push(s),s="");var w=null!=g&&null!=h&&h!==g,k="+"===v||"*"===v,S="?"===v||"*"===v,_=n[2]||u,E=b||y;r.push({name:m||o++,prefix:g||"",delimiter:_,optional:S,repeat:k,partial:w,asterisk:!!x,pattern:E?c(E):x?".*":"[^"+l(_)+"]+?"})}}return i<e.length&&(s+=e.substr(i)),s&&r.push(s),r}function i(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function s(e,t){for(var n=new Array(e.length),a=0;a<e.length;a++)"object"==typeof e[a]&&(n[a]=new RegExp("^(?:"+e[a].pattern+")$",d(t)));return function(t,a){for(var o="",s=t||{},l=(a||{}).pretty?i:encodeURIComponent,c=0;c<e.length;c++){var u=e[c];if("string"!=typeof u){var d,f=s[u.name];if(null==f){if(u.optional){u.partial&&(o+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(r(f)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var p=0;p<f.length;p++){if(d=l(f[p]),!n[c].test(d))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(d)+"`");o+=(0===p?u.prefix:u.delimiter)+d}}else{if(d=u.asterisk?encodeURI(f).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):l(f),!n[c].test(d))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+d+'"');o+=u.prefix+d}}else o+=u}return o}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function u(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function f(e,t,n){r(t)||(n=t||n,t=[]);for(var a=(n=n||{}).strict,o=!1!==n.end,i="",s=0;s<e.length;s++){var c=e[s];if("string"==typeof c)i+=l(c);else{var f=l(c.prefix),p="(?:"+c.pattern+")";t.push(c),c.repeat&&(p+="(?:"+f+p+")*"),i+=p=c.optional?c.partial?f+"("+p+")?":"(?:"+f+"("+p+"))?":f+"("+p+")"}}var h=l(n.delimiter||"/"),g=i.slice(-h.length)===h;return a||(i=(g?i.slice(0,-h.length):i)+"(?:"+h+"(?=$))?"),i+=o?"$":a&&g?"":"(?="+h+"|$)",u(new RegExp("^"+i,d(n)),t)}function p(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return u(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],a=0;a<e.length;a++)r.push(p(e[a],t,n).source);return u(new RegExp("(?:"+r.join("|")+")",d(n)),t)}(e,t,n):function(e,t,n){return f(o(e,n),t,n)}(e,t,n)}},2514:()=>{Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},Prism.languages.webmanifest=Prism.languages.json},9700:()=>{!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"==typeof o&&!o(e))return e;for(var a,s=i.length;-1!==n.code.indexOf(a=t(r,s));)++s;return i[s]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(s){for(var l=0;l<s.length&&!(a>=o.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=o[a],d=n.tokenStack[u],f="string"==typeof c?c:c.content,p=t(r,u),h=f.indexOf(p);if(h>-1){++a;var g=f.substring(0,h),m=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),b=f.substring(h+p.length),y=[];g&&y.push.apply(y,i([g])),y.push(m),b&&y.push.apply(y,i([b])),"string"==typeof c?s.splice.apply(s,[l,1].concat(y)):c.content=y}}else c.content&&i(c.content)}return s}(n.tokens)}}}})}(Prism)},9874:(e,t,n)=>{var r={"./prism-json":2514};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=9874},2694:(e,t,n)=>{"use strict";var r=n(6925);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2551:(e,t,n)=>{"use strict";var r=n(6540),a=n(9982);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,s={};function l(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(s[e]=t,e=0;e<t.length;e++)i.add(t[e])}var u=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},h={};function g(e,t,n,r,a,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){m[e]=new g(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];m[t]=new g(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){m[e]=new g(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){m[e]=new g(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){m[e]=new g(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){m[e]=new g(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){m[e]=new g(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){m[e]=new g(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){m[e]=new g(e,5,!1,e.toLowerCase(),null,!1,!1)}));var b=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function v(e,t,n,r){var a=m.hasOwnProperty(t)?m[t]:null;(null!==a?0!==a.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!d.call(h,e)||!d.call(p,e)&&(f.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(b,y);m[t]=new g(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(b,y);m[t]=new g(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(b,y);m[t]=new g(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)})),m.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){m[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)}));var x=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),k=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),T=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),N=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),R=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var L=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var O=Symbol.iterator;function M(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=O&&e[O]||e["@@iterator"])?e:null}var I,D=Object.assign;function F(e){if(void 0===I)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);I=t&&t[1]||""}return"\n"+I+e}var B=!1;function z(e,t){if(!e||B)return"";B=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&"string"==typeof c.stack){for(var a=c.stack.split("\n"),o=r.stack.split("\n"),i=a.length-1,s=o.length-1;1<=i&&0<=s&&a[i]!==o[s];)s--;for(;1<=i&&0<=s;i--,s--)if(a[i]!==o[s]){if(1!==i||1!==s)do{if(i--,0>--s||a[i]!==o[s]){var l="\n"+a[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=i&&0<=s);break}}}finally{B=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?F(e):""}function q(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return e=z(e.type,!1);case 11:return e=z(e.type.render,!1);case 1:return e=z(e.type,!0);default:return""}}function $(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case S:return"Fragment";case k:return"Portal";case E:return"Profiler";case _:return"StrictMode";case P:return"Suspense";case N:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case T:return(e.displayName||"Context")+".Consumer";case C:return(e._context.displayName||"Context")+".Provider";case A:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case j:return null!==(t=e.displayName||null)?t:$(e.type)||"Memo";case R:t=e._payload,e=e._init;try{return $(e(t))}catch(n){}}return null}function U(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return $(t);case 8:return t===_?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function W(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function H(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function V(e){e._valueTracker||(e._valueTracker=function(e){var t=H(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function G(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=H(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Q(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function K(e,t){var n=t.checked;return D({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Y(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=W(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Z(e,t){null!=(t=t.checked)&&v(e,"checked",t,!1)}function X(e,t){Z(e,t);var n=W(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,W(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&Q(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+W(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return D({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ae(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(te(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:W(n)}}function oe(e,t){var n=W(t.value),r=W(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,de=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ue(e,t)}))}:ue);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function ge(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function me(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=ge(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var be=D({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(be[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(o(62))}}function ve(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var xe=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ke=null,Se=null,_e=null;function Ee(e){if(e=va(e)){if("function"!=typeof ke)throw Error(o(280));var t=e.stateNode;t&&(t=wa(t),ke(e.stateNode,e.type,t))}}function Ce(e){Se?_e?_e.push(e):_e=[e]:Se=e}function Te(){if(Se){var e=Se,t=_e;if(_e=Se=null,Ee(e),t)for(e=0;e<t.length;e++)Ee(t[e])}}function Ae(e,t){return e(t)}function Pe(){}var Ne=!1;function je(e,t,n){if(Ne)return e(t,n);Ne=!0;try{return Ae(e,t,n)}finally{Ne=!1,(null!==Se||null!==_e)&&(Pe(),Te())}}function Re(e,t){var n=e.stateNode;if(null===n)return null;var r=wa(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(o(231,t,typeof n));return n}var Le=!1;if(u)try{var Oe={};Object.defineProperty(Oe,"passive",{get:function(){Le=!0}}),window.addEventListener("test",Oe,Oe),window.removeEventListener("test",Oe,Oe)}catch(ue){Le=!1}function Me(e,t,n,r,a,o,i,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(u){this.onError(u)}}var Ie=!1,De=null,Fe=!1,Be=null,ze={onError:function(e){Ie=!0,De=e}};function qe(e,t,n,r,a,o,i,s,l){Ie=!1,De=null,Me.apply(ze,arguments)}function $e(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ue(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function We(e){if($e(e)!==e)throw Error(o(188))}function He(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=$e(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var i=a.alternate;if(null===i){if(null!==(r=a.return)){n=r;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===n)return We(a),e;if(i===r)return We(a),t;i=i.sibling}throw Error(o(188))}if(n.return!==r.return)n=a,r=i;else{for(var s=!1,l=a.child;l;){if(l===n){s=!0,n=a,r=i;break}if(l===r){s=!0,r=a,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,r=a;break}if(l===r){s=!0,r=i,n=a;break}l=l.sibling}if(!s)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e))?Ve(e):null}function Ve(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ve(e);if(null!==t)return t;e=e.sibling}return null}var Ge=a.unstable_scheduleCallback,Qe=a.unstable_cancelCallback,Ke=a.unstable_shouldYield,Ye=a.unstable_requestPaint,Ze=a.unstable_now,Xe=a.unstable_getCurrentPriorityLevel,Je=a.unstable_ImmediatePriority,et=a.unstable_UserBlockingPriority,tt=a.unstable_NormalPriority,nt=a.unstable_LowPriority,rt=a.unstable_IdlePriority,at=null,ot=null;var it=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2;var ct=64,ut=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,i=268435455&n;if(0!==i){var s=i&~a;0!==s?r=dt(s):0!==(o&=i)&&(r=dt(o))}else 0!==(i=n&~a)?r=dt(i):0!==o&&(r=dt(o));if(0===r)return 0;if(0!==t&&t!==r&&!(t&a)&&((a=r&-r)>=(o=t&-t)||16===a&&4194240&o))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-it(t)),r|=e[n],t&=~a;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function gt(){var e=ct;return!(4194240&(ct<<=1))&&(ct=64),e}function mt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function bt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}var vt=0;function xt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var wt,kt,St,_t,Et,Ct=!1,Tt=[],At=null,Pt=null,Nt=null,jt=new Map,Rt=new Map,Lt=[],Ot="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Mt(e,t){switch(e){case"focusin":case"focusout":At=null;break;case"dragenter":case"dragleave":Pt=null;break;case"mouseover":case"mouseout":Nt=null;break;case"pointerover":case"pointerout":jt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Rt.delete(t.pointerId)}}function It(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[a]},null!==t&&(null!==(t=va(t))&&kt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function Dt(e){var t=ya(e.target);if(null!==t){var n=$e(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ue(n)))return e.blockedOn=t,void Et(e.priority,(function(){St(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Ft(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Kt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=va(n))&&kt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);xe=r,n.target.dispatchEvent(r),xe=null,t.shift()}return!0}function Bt(e,t,n){Ft(e)&&n.delete(t)}function zt(){Ct=!1,null!==At&&Ft(At)&&(At=null),null!==Pt&&Ft(Pt)&&(Pt=null),null!==Nt&&Ft(Nt)&&(Nt=null),jt.forEach(Bt),Rt.forEach(Bt)}function qt(e,t){e.blockedOn===t&&(e.blockedOn=null,Ct||(Ct=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,zt)))}function $t(e){function t(t){return qt(t,e)}if(0<Tt.length){qt(Tt[0],e);for(var n=1;n<Tt.length;n++){var r=Tt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==At&&qt(At,e),null!==Pt&&qt(Pt,e),null!==Nt&&qt(Nt,e),jt.forEach(t),Rt.forEach(t),n=0;n<Lt.length;n++)(r=Lt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Lt.length&&null===(n=Lt[0]).blockedOn;)Dt(n),null===n.blockedOn&&Lt.shift()}var Ut=x.ReactCurrentBatchConfig,Wt=!0;function Ht(e,t,n,r){var a=vt,o=Ut.transition;Ut.transition=null;try{vt=1,Gt(e,t,n,r)}finally{vt=a,Ut.transition=o}}function Vt(e,t,n,r){var a=vt,o=Ut.transition;Ut.transition=null;try{vt=4,Gt(e,t,n,r)}finally{vt=a,Ut.transition=o}}function Gt(e,t,n,r){if(Wt){var a=Kt(e,t,n,r);if(null===a)Wr(e,t,r,Qt,n),Mt(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return At=It(At,e,t,n,r,a),!0;case"dragenter":return Pt=It(Pt,e,t,n,r,a),!0;case"mouseover":return Nt=It(Nt,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return jt.set(o,It(jt.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,Rt.set(o,It(Rt.get(o)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(Mt(e,r),4&t&&-1<Ot.indexOf(e)){for(;null!==a;){var o=va(a);if(null!==o&&wt(o),null===(o=Kt(e,t,n,r))&&Wr(e,t,r,Qt,n),o===a)break;a=o}null!==a&&r.stopPropagation()}else Wr(e,t,r,null,n)}}var Qt=null;function Kt(e,t,n,r){if(Qt=null,null!==(e=ya(e=we(r))))if(null===(t=$e(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ue(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Qt=e,null}function Yt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Zt=null,Xt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Xt,r=n.length,a="value"in Zt?Zt.value:Zt.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===a[o-t];t++);return Jt=a.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function an(e){function t(t,n,r,a,o){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return D(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var on,sn,ln,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=an(cn),dn=D({},cn,{view:0,detail:0}),fn=an(dn),pn=D({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:En,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(on=e.screenX-ln.screenX,sn=e.screenY-ln.screenY):sn=on=0,ln=e),on)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),hn=an(pn),gn=an(D({},pn,{dataTransfer:0})),mn=an(D({},dn,{relatedTarget:0})),bn=an(D({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=D({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vn=an(yn),xn=an(D({},cn,{data:0})),wn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _n(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function En(){return _n}var Cn=D({},dn,{key:function(e){if(e.key){var t=wn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?kn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:En,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Tn=an(Cn),An=an(D({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Pn=an(D({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:En})),Nn=an(D({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),jn=D({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Rn=an(jn),Ln=[9,13,27,32],On=u&&"CompositionEvent"in window,Mn=null;u&&"documentMode"in document&&(Mn=document.documentMode);var In=u&&"TextEvent"in window&&!Mn,Dn=u&&(!On||Mn&&8<Mn&&11>=Mn),Fn=String.fromCharCode(32),Bn=!1;function zn(e,t){switch(e){case"keyup":return-1!==Ln.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function qn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var $n=!1;var Un={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Wn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Un[e.type]:"textarea"===t}function Hn(e,t,n,r){Ce(r),0<(t=Vr(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Vn=null,Gn=null;function Qn(e){Fr(e,0)}function Kn(e){if(G(xa(e)))return e}function Yn(e,t){if("change"===e)return t}var Zn=!1;if(u){var Xn;if(u){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"==typeof er.oninput}Xn=Jn}else Xn=!1;Zn=Xn&&(!document.documentMode||9<document.documentMode)}function tr(){Vn&&(Vn.detachEvent("onpropertychange",nr),Gn=Vn=null)}function nr(e){if("value"===e.propertyName&&Kn(Gn)){var t=[];Hn(t,Gn,e,we(e)),je(Qn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Gn=n,(Vn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Kn(Gn)}function or(e,t){if("click"===e)return Kn(t)}function ir(e,t){if("input"===e||"change"===e)return Kn(t)}var sr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function lr(e,t){if(sr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var a=n[r];if(!d.call(t,a)||!sr(e[a],t[a]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=Q();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=Q((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=n.textContent.length,o=Math.min(r.start,a);r=void 0===r.end?o:Math.min(r.end,a),!e.extend&&o>r&&(a=r,r=o,o=a),a=ur(n,o);var i=ur(n,r);a&&i&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var gr=u&&"documentMode"in document&&11>=document.documentMode,mr=null,br=null,yr=null,vr=!1;function xr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;vr||null==mr||mr!==Q(r)||("selectionStart"in(r=mr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&lr(yr,r)||(yr=r,0<(r=Vr(br,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=mr)))}function wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var kr={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},Sr={},_r={};function Er(e){if(Sr[e])return Sr[e];if(!kr[e])return e;var t,n=kr[e];for(t in n)if(n.hasOwnProperty(t)&&t in _r)return Sr[e]=n[t];return e}u&&(_r=document.createElement("div").style,"AnimationEvent"in window||(delete kr.animationend.animation,delete kr.animationiteration.animation,delete kr.animationstart.animation),"TransitionEvent"in window||delete kr.transitionend.transition);var Cr=Er("animationend"),Tr=Er("animationiteration"),Ar=Er("animationstart"),Pr=Er("transitionend"),Nr=new Map,jr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Rr(e,t){Nr.set(e,t),l(t,[e])}for(var Lr=0;Lr<jr.length;Lr++){var Or=jr[Lr];Rr(Or.toLowerCase(),"on"+(Or[0].toUpperCase()+Or.slice(1)))}Rr(Cr,"onAnimationEnd"),Rr(Tr,"onAnimationIteration"),Rr(Ar,"onAnimationStart"),Rr("dblclick","onDoubleClick"),Rr("focusin","onFocus"),Rr("focusout","onBlur"),Rr(Pr,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Mr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ir=new Set("cancel close invalid load scroll toggle".split(" ").concat(Mr));function Dr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,i,s,l,c){if(qe.apply(this,arguments),Ie){if(!Ie)throw Error(o(198));var u=De;Ie=!1,De=null,Fe||(Fe=!0,Be=u)}}(r,t,void 0,e),e.currentTarget=null}function Fr(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var i=r.length-1;0<=i;i--){var s=r[i],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==o&&a.isPropagationStopped())break e;Dr(a,s,c),o=l}else for(i=0;i<r.length;i++){if(l=(s=r[i]).instance,c=s.currentTarget,s=s.listener,l!==o&&a.isPropagationStopped())break e;Dr(a,s,c),o=l}}}if(Fe)throw e=Be,Fe=!1,Be=null,e}function Br(e,t){var n=t[ga];void 0===n&&(n=t[ga]=new Set);var r=e+"__bubble";n.has(r)||(Ur(t,e,2,!1),n.add(r))}function zr(e,t,n){var r=0;t&&(r|=4),Ur(n,e,r,t)}var qr="_reactListening"+Math.random().toString(36).slice(2);function $r(e){if(!e[qr]){e[qr]=!0,i.forEach((function(t){"selectionchange"!==t&&(Ir.has(t)||zr(t,!1,e),zr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[qr]||(t[qr]=!0,zr("selectionchange",!1,t))}}function Ur(e,t,n,r){switch(Yt(t)){case 1:var a=Ht;break;case 4:a=Vt;break;default:a=Gt}n=a.bind(null,t,n,e),a=void 0,!Le||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function Wr(e,t,n,r,a){var o=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var s=r.stateNode.containerInfo;if(s===a||8===s.nodeType&&s.parentNode===a)break;if(4===i)for(i=r.return;null!==i;){var l=i.tag;if((3===l||4===l)&&((l=i.stateNode.containerInfo)===a||8===l.nodeType&&l.parentNode===a))return;i=i.return}for(;null!==s;){if(null===(i=ya(s)))return;if(5===(l=i.tag)||6===l){r=o=i;continue e}s=s.parentNode}}r=r.return}je((function(){var r=o,a=we(n),i=[];e:{var s=Nr.get(e);if(void 0!==s){var l=un,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=Tn;break;case"focusin":c="focus",l=mn;break;case"focusout":c="blur",l=mn;break;case"beforeblur":case"afterblur":l=mn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=gn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Pn;break;case Cr:case Tr:case Ar:l=bn;break;case Pr:l=Nn;break;case"scroll":l=fn;break;case"wheel":l=Rn;break;case"copy":case"cut":case"paste":l=vn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=An}var u=!!(4&t),d=!u&&"scroll"===e,f=u?null!==s?s+"Capture":null:s;u=[];for(var p,h=r;null!==h;){var g=(p=h).stateNode;if(5===p.tag&&null!==g&&(p=g,null!==f&&(null!=(g=Re(h,f))&&u.push(Hr(h,g,p)))),d)break;h=h.return}0<u.length&&(s=new l(s,c,null,n,a),i.push({event:s,listeners:u}))}}if(!(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===xe||!(c=n.relatedTarget||n.fromElement)||!ya(c)&&!c[ha])&&(l||s)&&(s=a.window===a?a:(s=a.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?ya(c):null)&&(c!==(d=$e(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=hn,g="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(u=An,g="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==l?s:xa(l),p=null==c?s:xa(c),(s=new u(g,h+"leave",l,n,a)).target=d,s.relatedTarget=p,g=null,ya(a)===r&&((u=new u(f,h+"enter",c,n,a)).target=p,u.relatedTarget=d,g=u),d=g,l&&c)e:{for(f=c,h=0,p=u=l;p;p=Gr(p))h++;for(p=0,g=f;g;g=Gr(g))p++;for(;0<h-p;)u=Gr(u),h--;for(;0<p-h;)f=Gr(f),p--;for(;h--;){if(u===f||null!==f&&u===f.alternate)break e;u=Gr(u),f=Gr(f)}u=null}else u=null;null!==l&&Qr(i,s,l,u,!1),null!==c&&null!==d&&Qr(i,d,c,u,!0)}if("select"===(l=(s=r?xa(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var m=Yn;else if(Wn(s))if(Zn)m=ir;else{m=ar;var b=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(m=or);switch(m&&(m=m(e,r))?Hn(i,m,n,a):(b&&b(e,s,r),"focusout"===e&&(b=s._wrapperState)&&b.controlled&&"number"===s.type&&ee(s,"number",s.value)),b=r?xa(r):window,e){case"focusin":(Wn(b)||"true"===b.contentEditable)&&(mr=b,br=r,yr=null);break;case"focusout":yr=br=mr=null;break;case"mousedown":vr=!0;break;case"contextmenu":case"mouseup":case"dragend":vr=!1,xr(i,n,a);break;case"selectionchange":if(gr)break;case"keydown":case"keyup":xr(i,n,a)}var y;if(On)e:{switch(e){case"compositionstart":var v="onCompositionStart";break e;case"compositionend":v="onCompositionEnd";break e;case"compositionupdate":v="onCompositionUpdate";break e}v=void 0}else $n?zn(e,n)&&(v="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(v="onCompositionStart");v&&(Dn&&"ko"!==n.locale&&($n||"onCompositionStart"!==v?"onCompositionEnd"===v&&$n&&(y=en()):(Xt="value"in(Zt=a)?Zt.value:Zt.textContent,$n=!0)),0<(b=Vr(r,v)).length&&(v=new xn(v,e,null,n,a),i.push({event:v,listeners:b}),y?v.data=y:null!==(y=qn(n))&&(v.data=y))),(y=In?function(e,t){switch(e){case"compositionend":return qn(t);case"keypress":return 32!==t.which?null:(Bn=!0,Fn);case"textInput":return(e=t.data)===Fn&&Bn?null:e;default:return null}}(e,n):function(e,t){if($n)return"compositionend"===e||!On&&zn(e,t)?(e=en(),Jt=Xt=Zt=null,$n=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Dn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Vr(r,"onBeforeInput")).length&&(a=new xn("onBeforeInput","beforeinput",null,n,a),i.push({event:a,listeners:r}),a.data=y))}Fr(i,t)}))}function Hr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Vr(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,o=a.stateNode;5===a.tag&&null!==o&&(a=o,null!=(o=Re(e,n))&&r.unshift(Hr(e,o,a)),null!=(o=Re(e,t))&&r.push(Hr(e,o,a))),e=e.return}return r}function Gr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Qr(e,t,n,r,a){for(var o=t._reactName,i=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,a?null!=(l=Re(n,o))&&i.unshift(Hr(n,l,s)):a||null!=(l=Re(n,o))&&i.push(Hr(n,l,s))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Kr=/\r\n?/g,Yr=/\u0000|\uFFFD/g;function Zr(e){return("string"==typeof e?e:""+e).replace(Kr,"\n").replace(Yr,"")}function Xr(e,t,n){if(t=Zr(t),Zr(e)!==t&&n)throw Error(o(425))}function Jr(){}var ea=null,ta=null;function na(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ra="function"==typeof setTimeout?setTimeout:void 0,aa="function"==typeof clearTimeout?clearTimeout:void 0,oa="function"==typeof Promise?Promise:void 0,ia="function"==typeof queueMicrotask?queueMicrotask:void 0!==oa?function(e){return oa.resolve(null).then(e).catch(sa)}:ra;function sa(e){setTimeout((function(){throw e}))}function la(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)){if(0===r)return e.removeChild(a),void $t(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=a}while(n);$t(t)}function ca(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ua(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var da=Math.random().toString(36).slice(2),fa="__reactFiber$"+da,pa="__reactProps$"+da,ha="__reactContainer$"+da,ga="__reactEvents$"+da,ma="__reactListeners$"+da,ba="__reactHandles$"+da;function ya(e){var t=e[fa];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ha]||n[fa]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ua(e);null!==e;){if(n=e[fa])return n;e=ua(e)}return t}n=(e=n).parentNode}return null}function va(e){return!(e=e[fa]||e[ha])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function xa(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function wa(e){return e[pa]||null}var ka=[],Sa=-1;function _a(e){return{current:e}}function Ea(e){0>Sa||(e.current=ka[Sa],ka[Sa]=null,Sa--)}function Ca(e,t){Sa++,ka[Sa]=e.current,e.current=t}var Ta={},Aa=_a(Ta),Pa=_a(!1),Na=Ta;function ja(e,t){var n=e.type.contextTypes;if(!n)return Ta;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ra(e){return null!=(e=e.childContextTypes)}function La(){Ea(Pa),Ea(Aa)}function Oa(e,t,n){if(Aa.current!==Ta)throw Error(o(168));Ca(Aa,t),Ca(Pa,n)}function Ma(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(o(108,U(e)||"Unknown",a));return D({},n,r)}function Ia(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ta,Na=Aa.current,Ca(Aa,e),Ca(Pa,Pa.current),!0}function Da(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Ma(e,t,Na),r.__reactInternalMemoizedMergedChildContext=e,Ea(Pa),Ea(Aa),Ca(Aa,e)):Ea(Pa),Ca(Pa,n)}var Fa=null,Ba=!1,za=!1;function qa(e){null===Fa?Fa=[e]:Fa.push(e)}function $a(){if(!za&&null!==Fa){za=!0;var e=0,t=vt;try{var n=Fa;for(vt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Fa=null,Ba=!1}catch(a){throw null!==Fa&&(Fa=Fa.slice(e+1)),Ge(Je,$a),a}finally{vt=t,za=!1}}return null}var Ua=[],Wa=0,Ha=null,Va=0,Ga=[],Qa=0,Ka=null,Ya=1,Za="";function Xa(e,t){Ua[Wa++]=Va,Ua[Wa++]=Ha,Ha=e,Va=t}function Ja(e,t,n){Ga[Qa++]=Ya,Ga[Qa++]=Za,Ga[Qa++]=Ka,Ka=e;var r=Ya;e=Za;var a=32-it(r)-1;r&=~(1<<a),n+=1;var o=32-it(t)+a;if(30<o){var i=a-a%5;o=(r&(1<<i)-1).toString(32),r>>=i,a-=i,Ya=1<<32-it(t)+a|n<<a|r,Za=o+e}else Ya=1<<o|n<<a|r,Za=e}function eo(e){null!==e.return&&(Xa(e,1),Ja(e,1,0))}function to(e){for(;e===Ha;)Ha=Ua[--Wa],Ua[Wa]=null,Va=Ua[--Wa],Ua[Wa]=null;for(;e===Ka;)Ka=Ga[--Qa],Ga[Qa]=null,Za=Ga[--Qa],Ga[Qa]=null,Ya=Ga[--Qa],Ga[Qa]=null}var no=null,ro=null,ao=!1,oo=null;function io(e,t){var n=Rc(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function so(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,no=e,ro=ca(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,no=e,ro=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ka?{id:Ya,overflow:Za}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Rc(18,null,null,0)).stateNode=t,n.return=e,e.child=n,no=e,ro=null,!0);default:return!1}}function lo(e){return!(!(1&e.mode)||128&e.flags)}function co(e){if(ao){var t=ro;if(t){var n=t;if(!so(e,t)){if(lo(e))throw Error(o(418));t=ca(n.nextSibling);var r=no;t&&so(e,t)?io(r,n):(e.flags=-4097&e.flags|2,ao=!1,no=e)}}else{if(lo(e))throw Error(o(418));e.flags=-4097&e.flags|2,ao=!1,no=e}}}function uo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;no=e}function fo(e){if(e!==no)return!1;if(!ao)return uo(e),ao=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!na(e.type,e.memoizedProps)),t&&(t=ro)){if(lo(e))throw po(),Error(o(418));for(;t;)io(e,t),t=ca(t.nextSibling)}if(uo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ro=ca(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ro=null}}else ro=no?ca(e.stateNode.nextSibling):null;return!0}function po(){for(var e=ro;e;)e=ca(e.nextSibling)}function ho(){ro=no=null,ao=!1}function go(e){null===oo?oo=[e]:oo.push(e)}var mo=x.ReactCurrentBatchConfig;function bo(e,t){if(e&&e.defaultProps){for(var n in t=D({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var yo=_a(null),vo=null,xo=null,wo=null;function ko(){wo=xo=vo=null}function So(e){var t=yo.current;Ea(yo),e._currentValue=t}function _o(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Eo(e,t){vo=e,wo=xo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&t)&&(xs=!0),e.firstContext=null)}function Co(e){var t=e._currentValue;if(wo!==e)if(e={context:e,memoizedValue:t,next:null},null===xo){if(null===vo)throw Error(o(308));xo=e,vo.dependencies={lanes:0,firstContext:e}}else xo=xo.next=e;return t}var To=null;function Ao(e){null===To?To=[e]:To.push(e)}function Po(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,Ao(t)):(n.next=a.next,a.next=n),t.interleaved=n,No(e,r)}function No(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var jo=!1;function Ro(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Lo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Oo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Mo(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&Pl){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,No(e,n)}return null===(a=r.interleaved)?(t.next=t,Ao(r)):(t.next=a.next,a.next=t),r.interleaved=t,No(e,n)}function Io(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function Do(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?a=o=i:o=o.next=i,n=n.next}while(null!==n);null===o?a=o=t:o=o.next=t}else a=o=t;return n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Fo(e,t,n,r){var a=e.updateQueue;jo=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,s=a.shared.pending;if(null!==s){a.shared.pending=null;var l=s,c=l.next;l.next=null,null===i?o=c:i.next=c,i=l;var u=e.alternate;null!==u&&((s=(u=u.updateQueue).lastBaseUpdate)!==i&&(null===s?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l))}if(null!==o){var d=a.baseState;for(i=0,u=c=l=null,s=o;;){var f=s.lane,p=s.eventTime;if((r&f)===f){null!==u&&(u=u.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,g=s;switch(f=t,p=n,g.tag){case 1:if("function"==typeof(h=g.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=g.payload)?h.call(p,d,f):h))break e;d=D({},d,f);break e;case 2:jo=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(f=a.effects)?a.effects=[s]:f.push(s))}else p={eventTime:p,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===u?(c=u=p,l=d):u=u.next=p,i|=f;if(null===(s=s.next)){if(null===(s=a.shared.pending))break;s=(f=s).next,f.next=null,a.lastBaseUpdate=f,a.shared.pending=null}}if(null===u&&(l=d),a.baseState=l,a.firstBaseUpdate=c,a.lastBaseUpdate=u,null!==(t=a.shared.interleaved)){a=t;do{i|=a.lane,a=a.next}while(a!==t)}else null===o&&(a.shared.lanes=0);Dl|=i,e.lanes=i,e.memoizedState=d}}function Bo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=n,"function"!=typeof a)throw Error(o(191,a));a.call(r)}}}var zo=(new r.Component).refs;function qo(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:D({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var $o={isMounted:function(e){return!!(e=e._reactInternals)&&$e(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tc(),a=nc(e),o=Oo(r,a);o.payload=t,null!=n&&(o.callback=n),null!==(t=Mo(e,o,a))&&(rc(t,e,a,r),Io(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tc(),a=nc(e),o=Oo(r,a);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=Mo(e,o,a))&&(rc(t,e,a,r),Io(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tc(),r=nc(e),a=Oo(n,r);a.tag=2,null!=t&&(a.callback=t),null!==(t=Mo(e,a,r))&&(rc(t,e,r,n),Io(t,e,r))}};function Uo(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||(!lr(n,r)||!lr(a,o))}function Wo(e,t,n){var r=!1,a=Ta,o=t.contextType;return"object"==typeof o&&null!==o?o=Co(o):(a=Ra(t)?Na:Aa.current,o=(r=null!=(r=t.contextTypes))?ja(e,a):Ta),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=$o,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function Ho(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&$o.enqueueReplaceState(t,t.state,null)}function Vo(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=zo,Ro(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=Co(o):(o=Ra(t)?Na:Aa.current,a.context=ja(e,o)),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(qo(e,t,o,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&$o.enqueueReplaceState(a,a.state,null),Fo(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4194308)}function Go(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var a=r,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=a.refs;t===zo&&(t=a.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function Qo(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ko(e){return(0,e._init)(e._payload)}function Yo(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=Oc(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Fc(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function c(e,t,n,r){var o=n.type;return o===S?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===R&&Ko(o)===t.type)?((r=a(t,n.props)).ref=Go(e,t,n),r.return=e,r):((r=Mc(n.type,n.key,n.props,null,e.mode,r)).ref=Go(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Bc(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Ic(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Fc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Mc(t.type,t.key,t.props,null,e.mode,n)).ref=Go(e,null,t),n.return=e,n;case k:return(t=Bc(t,e.mode,n)).return=e,t;case R:return f(e,(0,t._init)(t._payload),n)}if(te(t)||M(t))return(t=Ic(t,e.mode,n,null)).return=e,t;Qo(e,t)}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==a?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===a?c(e,t,n,r):null;case k:return n.key===a?u(e,t,n,r):null;case R:return p(e,t,(a=n._init)(n._payload),r)}if(te(n)||M(n))return null!==a?null:d(e,t,n,r,null);Qo(e,n)}return null}function h(e,t,n,r,a){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case w:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case k:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a);case R:return h(e,t,n,(0,r._init)(r._payload),a)}if(te(r)||M(r))return d(t,e=e.get(n)||null,r,a,null);Qo(t,r)}return null}function g(a,o,s,l){for(var c=null,u=null,d=o,g=o=0,m=null;null!==d&&g<s.length;g++){d.index>g?(m=d,d=null):m=d.sibling;var b=p(a,d,s[g],l);if(null===b){null===d&&(d=m);break}e&&d&&null===b.alternate&&t(a,d),o=i(b,o,g),null===u?c=b:u.sibling=b,u=b,d=m}if(g===s.length)return n(a,d),ao&&Xa(a,g),c;if(null===d){for(;g<s.length;g++)null!==(d=f(a,s[g],l))&&(o=i(d,o,g),null===u?c=d:u.sibling=d,u=d);return ao&&Xa(a,g),c}for(d=r(a,d);g<s.length;g++)null!==(m=h(d,a,g,s[g],l))&&(e&&null!==m.alternate&&d.delete(null===m.key?g:m.key),o=i(m,o,g),null===u?c=m:u.sibling=m,u=m);return e&&d.forEach((function(e){return t(a,e)})),ao&&Xa(a,g),c}function m(a,s,l,c){var u=M(l);if("function"!=typeof u)throw Error(o(150));if(null==(l=u.call(l)))throw Error(o(151));for(var d=u=null,g=s,m=s=0,b=null,y=l.next();null!==g&&!y.done;m++,y=l.next()){g.index>m?(b=g,g=null):b=g.sibling;var v=p(a,g,y.value,c);if(null===v){null===g&&(g=b);break}e&&g&&null===v.alternate&&t(a,g),s=i(v,s,m),null===d?u=v:d.sibling=v,d=v,g=b}if(y.done)return n(a,g),ao&&Xa(a,m),u;if(null===g){for(;!y.done;m++,y=l.next())null!==(y=f(a,y.value,c))&&(s=i(y,s,m),null===d?u=y:d.sibling=y,d=y);return ao&&Xa(a,m),u}for(g=r(a,g);!y.done;m++,y=l.next())null!==(y=h(g,a,m,y.value,c))&&(e&&null!==y.alternate&&g.delete(null===y.key?m:y.key),s=i(y,s,m),null===d?u=y:d.sibling=y,d=y);return e&&g.forEach((function(e){return t(a,e)})),ao&&Xa(a,m),u}return function e(r,o,i,l){if("object"==typeof i&&null!==i&&i.type===S&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case w:e:{for(var c=i.key,u=o;null!==u;){if(u.key===c){if((c=i.type)===S){if(7===u.tag){n(r,u.sibling),(o=a(u,i.props.children)).return=r,r=o;break e}}else if(u.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===R&&Ko(c)===u.type){n(r,u.sibling),(o=a(u,i.props)).ref=Go(r,u,i),o.return=r,r=o;break e}n(r,u);break}t(r,u),u=u.sibling}i.type===S?((o=Ic(i.props.children,r.mode,l,i.key)).return=r,r=o):((l=Mc(i.type,i.key,i.props,null,r.mode,l)).ref=Go(r,o,i),l.return=r,r=l)}return s(r);case k:e:{for(u=i.key;null!==o;){if(o.key===u){if(4===o.tag&&o.stateNode.containerInfo===i.containerInfo&&o.stateNode.implementation===i.implementation){n(r,o.sibling),(o=a(o,i.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=Bc(i,r.mode,l)).return=r,r=o}return s(r);case R:return e(r,o,(u=i._init)(i._payload),l)}if(te(i))return g(r,o,i,l);if(M(i))return m(r,o,i,l);Qo(r,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==o&&6===o.tag?(n(r,o.sibling),(o=a(o,i)).return=r,r=o):(n(r,o),(o=Fc(i,r.mode,l)).return=r,r=o),s(r)):n(r,o)}}var Zo=Yo(!0),Xo=Yo(!1),Jo={},ei=_a(Jo),ti=_a(Jo),ni=_a(Jo);function ri(e){if(e===Jo)throw Error(o(174));return e}function ai(e,t){switch(Ca(ni,t),Ca(ti,e),Ca(ei,Jo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ea(ei),Ca(ei,t)}function oi(){Ea(ei),Ea(ti),Ea(ni)}function ii(e){ri(ni.current);var t=ri(ei.current),n=le(t,e.type);t!==n&&(Ca(ti,e),Ca(ei,n))}function si(e){ti.current===e&&(Ea(ei),Ea(ti))}var li=_a(0);function ci(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ui=[];function di(){for(var e=0;e<ui.length;e++)ui[e]._workInProgressVersionPrimary=null;ui.length=0}var fi=x.ReactCurrentDispatcher,pi=x.ReactCurrentBatchConfig,hi=0,gi=null,mi=null,bi=null,yi=!1,vi=!1,xi=0,wi=0;function ki(){throw Error(o(321))}function Si(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function _i(e,t,n,r,a,i){if(hi=i,gi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fi.current=null===e||null===e.memoizedState?ss:ls,e=n(r,a),vi){i=0;do{if(vi=!1,xi=0,25<=i)throw Error(o(301));i+=1,bi=mi=null,t.updateQueue=null,fi.current=cs,e=n(r,a)}while(vi)}if(fi.current=is,t=null!==mi&&null!==mi.next,hi=0,bi=mi=gi=null,yi=!1,t)throw Error(o(300));return e}function Ei(){var e=0!==xi;return xi=0,e}function Ci(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===bi?gi.memoizedState=bi=e:bi=bi.next=e,bi}function Ti(){if(null===mi){var e=gi.alternate;e=null!==e?e.memoizedState:null}else e=mi.next;var t=null===bi?gi.memoizedState:bi.next;if(null!==t)bi=t,mi=e;else{if(null===e)throw Error(o(310));e={memoizedState:(mi=e).memoizedState,baseState:mi.baseState,baseQueue:mi.baseQueue,queue:mi.queue,next:null},null===bi?gi.memoizedState=bi=e:bi=bi.next=e}return bi}function Ai(e,t){return"function"==typeof t?t(e):t}function Pi(e){var t=Ti(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=mi,a=r.baseQueue,i=n.pending;if(null!==i){if(null!==a){var s=a.next;a.next=i.next,i.next=s}r.baseQueue=a=i,n.pending=null}if(null!==a){i=a.next,r=r.baseState;var l=s=null,c=null,u=i;do{var d=u.lane;if((hi&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(l=c=f,s=r):c=c.next=f,gi.lanes|=d,Dl|=d}u=u.next}while(null!==u&&u!==i);null===c?s=r:c.next=l,sr(r,t.memoizedState)||(xs=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){a=e;do{i=a.lane,gi.lanes|=i,Dl|=i,a=a.next}while(a!==e)}else null===a&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ni(e){var t=Ti(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,i=t.memoizedState;if(null!==a){n.pending=null;var s=a=a.next;do{i=e(i,s.action),s=s.next}while(s!==a);sr(i,t.memoizedState)||(xs=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function ji(){}function Ri(e,t){var n=gi,r=Ti(),a=t(),i=!sr(r.memoizedState,a);if(i&&(r.memoizedState=a,xs=!0),r=r.queue,Wi(Mi.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==bi&&1&bi.memoizedState.tag){if(n.flags|=2048,Bi(9,Oi.bind(null,n,r,a,t),void 0,null),null===Nl)throw Error(o(349));30&hi||Li(n,t,a)}return a}function Li(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=gi.updateQueue)?(t={lastEffect:null,stores:null},gi.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Oi(e,t,n,r){t.value=n,t.getSnapshot=r,Ii(t)&&Di(e)}function Mi(e,t,n){return n((function(){Ii(t)&&Di(e)}))}function Ii(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(r){return!0}}function Di(e){var t=No(e,1);null!==t&&rc(t,e,1,-1)}function Fi(e){var t=Ci();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ai,lastRenderedState:e},t.queue=e,e=e.dispatch=ns.bind(null,gi,e),[t.memoizedState,e]}function Bi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=gi.updateQueue)?(t={lastEffect:null,stores:null},gi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function zi(){return Ti().memoizedState}function qi(e,t,n,r){var a=Ci();gi.flags|=e,a.memoizedState=Bi(1|t,n,void 0,void 0===r?null:r)}function $i(e,t,n,r){var a=Ti();r=void 0===r?null:r;var o=void 0;if(null!==mi){var i=mi.memoizedState;if(o=i.destroy,null!==r&&Si(r,i.deps))return void(a.memoizedState=Bi(t,n,o,r))}gi.flags|=e,a.memoizedState=Bi(1|t,n,o,r)}function Ui(e,t){return qi(8390656,8,e,t)}function Wi(e,t){return $i(2048,8,e,t)}function Hi(e,t){return $i(4,2,e,t)}function Vi(e,t){return $i(4,4,e,t)}function Gi(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Qi(e,t,n){return n=null!=n?n.concat([e]):null,$i(4,4,Gi.bind(null,t,e),n)}function Ki(){}function Yi(e,t){var n=Ti();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Si(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Zi(e,t){var n=Ti();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Si(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Xi(e,t,n){return 21&hi?(sr(n,t)||(n=gt(),gi.lanes|=n,Dl|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,xs=!0),e.memoizedState=n)}function Ji(e,t){var n=vt;vt=0!==n&&4>n?n:4,e(!0);var r=pi.transition;pi.transition={};try{e(!1),t()}finally{vt=n,pi.transition=r}}function es(){return Ti().memoizedState}function ts(e,t,n){var r=nc(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rs(e))as(t,n);else if(null!==(n=Po(e,t,n,r))){rc(n,e,r,tc()),os(n,t,r)}}function ns(e,t,n){var r=nc(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rs(e))as(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,s=o(i,n);if(a.hasEagerState=!0,a.eagerState=s,sr(s,i)){var l=t.interleaved;return null===l?(a.next=a,Ao(t)):(a.next=l.next,l.next=a),void(t.interleaved=a)}}catch(c){}null!==(n=Po(e,t,a,r))&&(rc(n,e,r,a=tc()),os(n,t,r))}}function rs(e){var t=e.alternate;return e===gi||null!==t&&t===gi}function as(e,t){vi=yi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function os(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var is={readContext:Co,useCallback:ki,useContext:ki,useEffect:ki,useImperativeHandle:ki,useInsertionEffect:ki,useLayoutEffect:ki,useMemo:ki,useReducer:ki,useRef:ki,useState:ki,useDebugValue:ki,useDeferredValue:ki,useTransition:ki,useMutableSource:ki,useSyncExternalStore:ki,useId:ki,unstable_isNewReconciler:!1},ss={readContext:Co,useCallback:function(e,t){return Ci().memoizedState=[e,void 0===t?null:t],e},useContext:Co,useEffect:Ui,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,qi(4194308,4,Gi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return qi(4194308,4,e,t)},useInsertionEffect:function(e,t){return qi(4,2,e,t)},useMemo:function(e,t){var n=Ci();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ci();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ts.bind(null,gi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ci().memoizedState=e},useState:Fi,useDebugValue:Ki,useDeferredValue:function(e){return Ci().memoizedState=e},useTransition:function(){var e=Fi(!1),t=e[0];return e=Ji.bind(null,e[1]),Ci().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=gi,a=Ci();if(ao){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===Nl)throw Error(o(349));30&hi||Li(r,t,n)}a.memoizedState=n;var i={value:n,getSnapshot:t};return a.queue=i,Ui(Mi.bind(null,r,i,e),[e]),r.flags|=2048,Bi(9,Oi.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Ci(),t=Nl.identifierPrefix;if(ao){var n=Za;t=":"+t+"R"+(n=(Ya&~(1<<32-it(Ya)-1)).toString(32)+n),0<(n=xi++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=wi++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ls={readContext:Co,useCallback:Yi,useContext:Co,useEffect:Wi,useImperativeHandle:Qi,useInsertionEffect:Hi,useLayoutEffect:Vi,useMemo:Zi,useReducer:Pi,useRef:zi,useState:function(){return Pi(Ai)},useDebugValue:Ki,useDeferredValue:function(e){return Xi(Ti(),mi.memoizedState,e)},useTransition:function(){return[Pi(Ai)[0],Ti().memoizedState]},useMutableSource:ji,useSyncExternalStore:Ri,useId:es,unstable_isNewReconciler:!1},cs={readContext:Co,useCallback:Yi,useContext:Co,useEffect:Wi,useImperativeHandle:Qi,useInsertionEffect:Hi,useLayoutEffect:Vi,useMemo:Zi,useReducer:Ni,useRef:zi,useState:function(){return Ni(Ai)},useDebugValue:Ki,useDeferredValue:function(e){var t=Ti();return null===mi?t.memoizedState=e:Xi(t,mi.memoizedState,e)},useTransition:function(){return[Ni(Ai)[0],Ti().memoizedState]},useMutableSource:ji,useSyncExternalStore:Ri,useId:es,unstable_isNewReconciler:!1};function us(e,t){try{var n="",r=t;do{n+=q(r),r=r.return}while(r);var a=n}catch(o){a="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:a,digest:null}}function ds(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fs(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var ps="function"==typeof WeakMap?WeakMap:Map;function hs(e,t,n){(n=Oo(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Hl||(Hl=!0,Vl=r),fs(0,t)},n}function gs(e,t,n){(n=Oo(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){fs(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){fs(0,t),"function"!=typeof r&&(null===Gl?Gl=new Set([this]):Gl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ms(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new ps;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=Cc.bind(null,e,t,n),t.then(e,e))}function bs(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function ys(e,t,n,r,a){return 1&e.mode?(e.flags|=65536,e.lanes=a,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Oo(-1,1)).tag=2,Mo(n,t,1))),n.lanes|=1),e)}var vs=x.ReactCurrentOwner,xs=!1;function ws(e,t,n,r){t.child=null===e?Xo(t,null,n,r):Zo(t,e.child,n,r)}function ks(e,t,n,r,a){n=n.render;var o=t.ref;return Eo(t,a),r=_i(e,t,n,r,o,a),n=Ei(),null===e||xs?(ao&&n&&eo(t),t.flags|=1,ws(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Hs(e,t,a))}function Ss(e,t,n,r,a){if(null===e){var o=n.type;return"function"!=typeof o||Lc(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Mc(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,_s(e,t,o,r,a))}if(o=e.child,!(e.lanes&a)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(i,r)&&e.ref===t.ref)return Hs(e,t,a)}return t.flags|=1,(e=Oc(o,r)).ref=t.ref,e.return=t,t.child=e}function _s(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(lr(o,r)&&e.ref===t.ref){if(xs=!1,t.pendingProps=r=o,!(e.lanes&a))return t.lanes=e.lanes,Hs(e,t,a);131072&e.flags&&(xs=!0)}}return Ts(e,t,n,r,a)}function Es(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ca(Ol,Ll),Ll|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Ca(Ol,Ll),Ll|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ca(Ol,Ll),Ll|=n;else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Ca(Ol,Ll),Ll|=r;return ws(e,t,a,n),t.child}function Cs(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ts(e,t,n,r,a){var o=Ra(n)?Na:Aa.current;return o=ja(t,o),Eo(t,a),n=_i(e,t,n,r,o,a),r=Ei(),null===e||xs?(ao&&r&&eo(t),t.flags|=1,ws(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Hs(e,t,a))}function As(e,t,n,r,a){if(Ra(n)){var o=!0;Ia(t)}else o=!1;if(Eo(t,a),null===t.stateNode)Ws(e,t),Wo(t,n,r),Vo(t,n,r,a),r=!0;else if(null===e){var i=t.stateNode,s=t.memoizedProps;i.props=s;var l=i.context,c=n.contextType;"object"==typeof c&&null!==c?c=Co(c):c=ja(t,c=Ra(n)?Na:Aa.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==r||l!==c)&&Ho(t,i,r,c),jo=!1;var f=t.memoizedState;i.state=f,Fo(t,r,i,a),l=t.memoizedState,s!==r||f!==l||Pa.current||jo?("function"==typeof u&&(qo(t,n,u,r),l=t.memoizedState),(s=jo||Uo(t,n,s,r,f,l,c))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),i.props=r,i.state=l,i.context=c,r=s):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Lo(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:bo(t.type,s),i.props=c,d=t.pendingProps,f=i.context,"object"==typeof(l=n.contextType)&&null!==l?l=Co(l):l=ja(t,l=Ra(n)?Na:Aa.current);var p=n.getDerivedStateFromProps;(u="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==d||f!==l)&&Ho(t,i,r,l),jo=!1,f=t.memoizedState,i.state=f,Fo(t,r,i,a);var h=t.memoizedState;s!==d||f!==h||Pa.current||jo?("function"==typeof p&&(qo(t,n,p,r),h=t.memoizedState),(c=jo||Uo(t,n,c,r,f,h,l)||!1)?(u||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,l),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,i.context=l,r=c):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Ps(e,t,n,r,o,a)}function Ps(e,t,n,r,a,o){Cs(e,t);var i=!!(128&t.flags);if(!r&&!i)return a&&Da(t,n,!1),Hs(e,t,o);r=t.stateNode,vs.current=t;var s=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Zo(t,e.child,null,o),t.child=Zo(t,null,s,o)):ws(e,t,s,o),t.memoizedState=r.state,a&&Da(t,n,!0),t.child}function Ns(e){var t=e.stateNode;t.pendingContext?Oa(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Oa(0,t.context,!1),ai(e,t.containerInfo)}function js(e,t,n,r,a){return ho(),go(a),t.flags|=256,ws(e,t,n,r),t.child}var Rs,Ls,Os,Ms,Is={dehydrated:null,treeContext:null,retryLane:0};function Ds(e){return{baseLanes:e,cachePool:null,transitions:null}}function Fs(e,t,n){var r,a=t.pendingProps,i=li.current,s=!1,l=!!(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&!!(2&i)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Ca(li,1&i),null===e)return co(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=a.children,e=a.fallback,s?(a=t.mode,s=t.child,l={mode:"hidden",children:l},1&a||null===s?s=Dc(l,a,0,null):(s.childLanes=0,s.pendingProps=l),e=Ic(e,a,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Ds(n),t.memoizedState=Is,e):Bs(t,l));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,a,i,s){if(n)return 256&t.flags?(t.flags&=-257,zs(e,t,s,r=ds(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,a=t.mode,r=Dc({mode:"visible",children:r.children},a,0,null),(i=Ic(i,a,s,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,1&t.mode&&Zo(t,e.child,null,s),t.child.memoizedState=Ds(s),t.memoizedState=Is,i);if(!(1&t.mode))return zs(e,t,s,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var l=r.dgst;return r=l,zs(e,t,s,r=ds(i=Error(o(419)),r,void 0))}if(l=!!(s&e.childLanes),xs||l){if(null!==(r=Nl)){switch(s&-s){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=a&(r.suspendedLanes|s)?0:a)&&a!==i.retryLane&&(i.retryLane=a,No(e,a),rc(r,e,a,-1))}return mc(),zs(e,t,s,r=ds(Error(o(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=Ac.bind(null,e),a._reactRetry=t,null):(e=i.treeContext,ro=ca(a.nextSibling),no=t,ao=!0,oo=null,null!==e&&(Ga[Qa++]=Ya,Ga[Qa++]=Za,Ga[Qa++]=Ka,Ya=e.id,Za=e.overflow,Ka=t),t=Bs(t,r.children),t.flags|=4096,t)}(e,t,l,a,r,i,n);if(s){s=a.fallback,l=t.mode,r=(i=e.child).sibling;var c={mode:"hidden",children:a.children};return 1&l||t.child===i?(a=Oc(i,c)).subtreeFlags=14680064&i.subtreeFlags:((a=t.child).childLanes=0,a.pendingProps=c,t.deletions=null),null!==r?s=Oc(r,s):(s=Ic(s,l,n,null)).flags|=2,s.return=t,a.return=t,a.sibling=s,t.child=a,a=s,s=t.child,l=null===(l=e.child.memoizedState)?Ds(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Is,a}return e=(s=e.child).sibling,a=Oc(s,{mode:"visible",children:a.children}),!(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function Bs(e,t){return(t=Dc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function zs(e,t,n,r){return null!==r&&go(r),Zo(t,e.child,null,n),(e=Bs(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function qs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),_o(e.return,t,n)}function $s(e,t,n,r,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a)}function Us(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(ws(e,t,r.children,n),2&(r=li.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&qs(e,n,t);else if(19===e.tag)qs(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ca(li,r),1&t.mode)switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===ci(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),$s(t,!1,a,n,o);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===ci(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}$s(t,!0,n,null,o);break;case"together":$s(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Ws(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Hs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Dl|=t.lanes,!(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Oc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Oc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Vs(e,t){if(!ao)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Gs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=14680064&a.subtreeFlags,r|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Qs(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Gs(t),null;case 1:case 17:return Ra(t.type)&&La(),Gs(t),null;case 3:return r=t.stateNode,oi(),Ea(Pa),Ea(Aa),di(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fo(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==oo&&(sc(oo),oo=null))),Ls(e,t),Gs(t),null;case 5:si(t);var a=ri(ni.current);if(n=t.type,null!==e&&null!=t.stateNode)Os(e,t,n,r,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return Gs(t),null}if(e=ri(ei.current),fo(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[fa]=t,r[pa]=i,e=!!(1&t.mode),n){case"dialog":Br("cancel",r),Br("close",r);break;case"iframe":case"object":case"embed":Br("load",r);break;case"video":case"audio":for(a=0;a<Mr.length;a++)Br(Mr[a],r);break;case"source":Br("error",r);break;case"img":case"image":case"link":Br("error",r),Br("load",r);break;case"details":Br("toggle",r);break;case"input":Y(r,i),Br("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Br("invalid",r);break;case"textarea":ae(r,i),Br("invalid",r)}for(var l in ye(n,i),a=null,i)if(i.hasOwnProperty(l)){var c=i[l];"children"===l?"string"==typeof c?r.textContent!==c&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,c,e),a=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,c,e),a=["children",""+c]):s.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&Br("scroll",r)}switch(n){case"input":V(r),J(r,i,!0);break;case"textarea":V(r),ie(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=Jr)}r=a,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[fa]=t,e[pa]=r,Rs(e,t,!1,!1),t.stateNode=e;e:{switch(l=ve(n,r),n){case"dialog":Br("cancel",e),Br("close",e),a=r;break;case"iframe":case"object":case"embed":Br("load",e),a=r;break;case"video":case"audio":for(a=0;a<Mr.length;a++)Br(Mr[a],e);a=r;break;case"source":Br("error",e),a=r;break;case"img":case"image":case"link":Br("error",e),Br("load",e),a=r;break;case"details":Br("toggle",e),a=r;break;case"input":Y(e,r),a=K(e,r),Br("invalid",e);break;case"option":default:a=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=D({},r,{value:void 0}),Br("invalid",e);break;case"textarea":ae(e,r),a=re(e,r),Br("invalid",e)}for(i in ye(n,a),c=a)if(c.hasOwnProperty(i)){var u=c[i];"style"===i?me(e,u):"dangerouslySetInnerHTML"===i?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===i?"string"==typeof u?("textarea"!==n||""!==u)&&fe(e,u):"number"==typeof u&&fe(e,""+u):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(s.hasOwnProperty(i)?null!=u&&"onScroll"===i&&Br("scroll",e):null!=u&&v(e,i,u,l))}switch(n){case"input":V(e),J(e,r,!1);break;case"textarea":V(e),ie(e);break;case"option":null!=r.value&&e.setAttribute("value",""+W(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?ne(e,!!r.multiple,i,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof a.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Gs(t),null;case 6:if(e&&null!=t.stateNode)Ms(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(o(166));if(n=ri(ni.current),ri(ei.current),fo(t)){if(r=t.stateNode,n=t.memoizedProps,r[fa]=t,(i=r.nodeValue!==n)&&null!==(e=no))switch(e.tag){case 3:Xr(r.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xr(r.nodeValue,n,!!(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[fa]=t,t.stateNode=r}return Gs(t),null;case 13:if(Ea(li),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ao&&null!==ro&&1&t.mode&&!(128&t.flags))po(),ho(),t.flags|=98560,i=!1;else if(i=fo(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(o(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(o(317));i[fa]=t}else ho(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Gs(t),i=!1}else null!==oo&&(sc(oo),oo=null),i=!0;if(!i)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,1&t.mode&&(null===e||1&li.current?0===Ml&&(Ml=3):mc())),null!==t.updateQueue&&(t.flags|=4),Gs(t),null);case 4:return oi(),Ls(e,t),null===e&&$r(t.stateNode.containerInfo),Gs(t),null;case 10:return So(t.type._context),Gs(t),null;case 19:if(Ea(li),null===(i=t.memoizedState))return Gs(t),null;if(r=!!(128&t.flags),null===(l=i.rendering))if(r)Vs(i,!1);else{if(0!==Ml||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(l=ci(e))){for(t.flags|=128,Vs(i,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(l=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=l.childLanes,i.lanes=l.lanes,i.child=l.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=l.memoizedProps,i.memoizedState=l.memoizedState,i.updateQueue=l.updateQueue,i.type=l.type,e=l.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ca(li,1&li.current|2),t.child}e=e.sibling}null!==i.tail&&Ze()>Ul&&(t.flags|=128,r=!0,Vs(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ci(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Vs(i,!0),null===i.tail&&"hidden"===i.tailMode&&!l.alternate&&!ao)return Gs(t),null}else 2*Ze()-i.renderingStartTime>Ul&&1073741824!==n&&(t.flags|=128,r=!0,Vs(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=i.last)?n.sibling=l:t.child=l,i.last=l)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ze(),t.sibling=null,n=li.current,Ca(li,r?1&n|2:1&n),t):(Gs(t),null);case 22:case 23:return fc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?!!(1073741824&Ll)&&(Gs(t),6&t.subtreeFlags&&(t.flags|=8192)):Gs(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Ks(e,t){switch(to(t),t.tag){case 1:return Ra(t.type)&&La(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return oi(),Ea(Pa),Ea(Aa),di(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return si(t),null;case 13:if(Ea(li),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));ho()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ea(li),null;case 4:return oi(),null;case 10:return So(t.type._context),null;case 22:case 23:return fc(),null;default:return null}}Rs=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ls=function(){},Os=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,ri(ei.current);var o,i=null;switch(n){case"input":a=K(e,a),r=K(e,r),i=[];break;case"select":a=D({},a,{value:void 0}),r=D({},r,{value:void 0}),i=[];break;case"textarea":a=re(e,a),r=re(e,r),i=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=Jr)}for(u in ye(n,r),n=null,a)if(!r.hasOwnProperty(u)&&a.hasOwnProperty(u)&&null!=a[u])if("style"===u){var l=a[u];for(o in l)l.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(s.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var c=r[u];if(l=null!=a?a[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(null!=c||null!=l))if("style"===u)if(l){for(o in l)!l.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in c)c.hasOwnProperty(o)&&l[o]!==c[o]&&(n||(n={}),n[o]=c[o])}else n||(i||(i=[]),i.push(u,n)),n=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(i=i||[]).push(u,c)):"children"===u?"string"!=typeof c&&"number"!=typeof c||(i=i||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(s.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&Br("scroll",e),i||l===c||(i=[])):(i=i||[]).push(u,c))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}},Ms=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ys=!1,Zs=!1,Xs="function"==typeof WeakSet?WeakSet:Set,Js=null;function el(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(r){Ec(e,t,r)}else n.current=null}function tl(e,t,n){try{n()}catch(r){Ec(e,t,r)}}var nl=!1;function rl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,void 0!==o&&tl(t,n,o)}a=a.next}while(a!==r)}}function al(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ol(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function il(e){var t=e.alternate;null!==t&&(e.alternate=null,il(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[fa],delete t[pa],delete t[ga],delete t[ma],delete t[ba])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sl(e){return 5===e.tag||3===e.tag||4===e.tag}function ll(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||sl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function cl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}function ul(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(ul(e,t,n),e=e.sibling;null!==e;)ul(e,t,n),e=e.sibling}var dl=null,fl=!1;function pl(e,t,n){for(n=n.child;null!==n;)hl(e,t,n),n=n.sibling}function hl(e,t,n){if(ot&&"function"==typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(at,n)}catch(s){}switch(n.tag){case 5:Zs||el(n,t);case 6:var r=dl,a=fl;dl=null,pl(e,t,n),fl=a,null!==(dl=r)&&(fl?(e=dl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):dl.removeChild(n.stateNode));break;case 18:null!==dl&&(fl?(e=dl,n=n.stateNode,8===e.nodeType?la(e.parentNode,n):1===e.nodeType&&la(e,n),$t(e)):la(dl,n.stateNode));break;case 4:r=dl,a=fl,dl=n.stateNode.containerInfo,fl=!0,pl(e,t,n),dl=r,fl=a;break;case 0:case 11:case 14:case 15:if(!Zs&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){a=r=r.next;do{var o=a,i=o.destroy;o=o.tag,void 0!==i&&(2&o||4&o)&&tl(n,t,i),a=a.next}while(a!==r)}pl(e,t,n);break;case 1:if(!Zs&&(el(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Ec(n,t,s)}pl(e,t,n);break;case 21:pl(e,t,n);break;case 22:1&n.mode?(Zs=(r=Zs)||null!==n.memoizedState,pl(e,t,n),Zs=r):pl(e,t,n);break;default:pl(e,t,n)}}function gl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Xs),t.forEach((function(t){var r=Pc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function ml(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];try{var i=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:dl=l.stateNode,fl=!1;break e;case 3:case 4:dl=l.stateNode.containerInfo,fl=!0;break e}l=l.return}if(null===dl)throw Error(o(160));hl(i,s,a),dl=null,fl=!1;var c=a.alternate;null!==c&&(c.return=null),a.return=null}catch(u){Ec(a,t,u)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)bl(t,e),t=t.sibling}function bl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ml(t,e),yl(e),4&r){try{rl(3,e,e.return),al(3,e)}catch(m){Ec(e,e.return,m)}try{rl(5,e,e.return)}catch(m){Ec(e,e.return,m)}}break;case 1:ml(t,e),yl(e),512&r&&null!==n&&el(n,n.return);break;case 5:if(ml(t,e),yl(e),512&r&&null!==n&&el(n,n.return),32&e.flags){var a=e.stateNode;try{fe(a,"")}catch(m){Ec(e,e.return,m)}}if(4&r&&null!=(a=e.stateNode)){var i=e.memoizedProps,s=null!==n?n.memoizedProps:i,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===i.type&&null!=i.name&&Z(a,i),ve(l,s);var u=ve(l,i);for(s=0;s<c.length;s+=2){var d=c[s],f=c[s+1];"style"===d?me(a,f):"dangerouslySetInnerHTML"===d?de(a,f):"children"===d?fe(a,f):v(a,d,f,u)}switch(l){case"input":X(a,i);break;case"textarea":oe(a,i);break;case"select":var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!i.multiple;var h=i.value;null!=h?ne(a,!!i.multiple,h,!1):p!==!!i.multiple&&(null!=i.defaultValue?ne(a,!!i.multiple,i.defaultValue,!0):ne(a,!!i.multiple,i.multiple?[]:"",!1))}a[pa]=i}catch(m){Ec(e,e.return,m)}}break;case 6:if(ml(t,e),yl(e),4&r){if(null===e.stateNode)throw Error(o(162));a=e.stateNode,i=e.memoizedProps;try{a.nodeValue=i}catch(m){Ec(e,e.return,m)}}break;case 3:if(ml(t,e),yl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{$t(t.containerInfo)}catch(m){Ec(e,e.return,m)}break;case 4:default:ml(t,e),yl(e);break;case 13:ml(t,e),yl(e),8192&(a=e.child).flags&&(i=null!==a.memoizedState,a.stateNode.isHidden=i,!i||null!==a.alternate&&null!==a.alternate.memoizedState||($l=Ze())),4&r&&gl(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Zs=(u=Zs)||d,ml(t,e),Zs=u):ml(t,e),yl(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&1&e.mode)for(Js=e,d=e.child;null!==d;){for(f=Js=d;null!==Js;){switch(h=(p=Js).child,p.tag){case 0:case 11:case 14:case 15:rl(4,p,p.return);break;case 1:el(p,p.return);var g=p.stateNode;if("function"==typeof g.componentWillUnmount){r=p,n=p.return;try{t=r,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(m){Ec(r,n,m)}}break;case 5:el(p,p.return);break;case 22:if(null!==p.memoizedState){kl(f);continue}}null!==h?(h.return=p,Js=h):kl(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{a=f.stateNode,u?"function"==typeof(i=a.style).setProperty?i.setProperty("display","none","important"):i.display="none":(l=f.stateNode,s=null!=(c=f.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,l.style.display=ge("display",s))}catch(m){Ec(e,e.return,m)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(m){Ec(e,e.return,m)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:ml(t,e),yl(e),4&r&&gl(e);case 21:}}function yl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(sl(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var a=r.stateNode;32&r.flags&&(fe(a,""),r.flags&=-33),ul(e,ll(e),a);break;case 3:case 4:var i=r.stateNode.containerInfo;cl(e,ll(e),i);break;default:throw Error(o(161))}}catch(s){Ec(e,e.return,s)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function vl(e,t,n){Js=e,xl(e,t,n)}function xl(e,t,n){for(var r=!!(1&e.mode);null!==Js;){var a=Js,o=a.child;if(22===a.tag&&r){var i=null!==a.memoizedState||Ys;if(!i){var s=a.alternate,l=null!==s&&null!==s.memoizedState||Zs;s=Ys;var c=Zs;if(Ys=i,(Zs=l)&&!c)for(Js=a;null!==Js;)l=(i=Js).child,22===i.tag&&null!==i.memoizedState?Sl(a):null!==l?(l.return=i,Js=l):Sl(a);for(;null!==o;)Js=o,xl(o,t,n),o=o.sibling;Js=a,Ys=s,Zs=c}wl(e)}else 8772&a.subtreeFlags&&null!==o?(o.return=a,Js=o):wl(e)}}function wl(e){for(;null!==Js;){var t=Js;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Zs||al(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Zs)if(null===n)r.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:bo(t.type,n.memoizedProps);r.componentDidUpdate(a,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Bo(t,i,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Bo(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&$t(f)}}}break;default:throw Error(o(163))}Zs||512&t.flags&&ol(t)}catch(p){Ec(t,t.return,p)}}if(t===e){Js=null;break}if(null!==(n=t.sibling)){n.return=t.return,Js=n;break}Js=t.return}}function kl(e){for(;null!==Js;){var t=Js;if(t===e){Js=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Js=n;break}Js=t.return}}function Sl(e){for(;null!==Js;){var t=Js;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{al(4,t)}catch(l){Ec(t,n,l)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var a=t.return;try{r.componentDidMount()}catch(l){Ec(t,a,l)}}var o=t.return;try{ol(t)}catch(l){Ec(t,o,l)}break;case 5:var i=t.return;try{ol(t)}catch(l){Ec(t,i,l)}}}catch(l){Ec(t,t.return,l)}if(t===e){Js=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Js=s;break}Js=t.return}}var _l,El=Math.ceil,Cl=x.ReactCurrentDispatcher,Tl=x.ReactCurrentOwner,Al=x.ReactCurrentBatchConfig,Pl=0,Nl=null,jl=null,Rl=0,Ll=0,Ol=_a(0),Ml=0,Il=null,Dl=0,Fl=0,Bl=0,zl=null,ql=null,$l=0,Ul=1/0,Wl=null,Hl=!1,Vl=null,Gl=null,Ql=!1,Kl=null,Yl=0,Zl=0,Xl=null,Jl=-1,ec=0;function tc(){return 6&Pl?Ze():-1!==Jl?Jl:Jl=Ze()}function nc(e){return 1&e.mode?2&Pl&&0!==Rl?Rl&-Rl:null!==mo.transition?(0===ec&&(ec=gt()),ec):0!==(e=vt)?e:e=void 0===(e=window.event)?16:Yt(e.type):1}function rc(e,t,n,r){if(50<Zl)throw Zl=0,Xl=null,Error(o(185));bt(e,n,r),2&Pl&&e===Nl||(e===Nl&&(!(2&Pl)&&(Fl|=n),4===Ml&&lc(e,Rl)),ac(e,r),1===n&&0===Pl&&!(1&t.mode)&&(Ul=Ze()+500,Ba&&$a()))}function ac(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-it(o),s=1<<i,l=a[i];-1===l?s&n&&!(s&r)||(a[i]=pt(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}}(e,t);var r=ft(e,e===Nl?Rl:0);if(0===r)null!==n&&Qe(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Qe(n),1===t)0===e.tag?function(e){Ba=!0,qa(e)}(cc.bind(null,e)):qa(cc.bind(null,e)),ia((function(){!(6&Pl)&&$a()})),n=null;else{switch(xt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Nc(n,oc.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function oc(e,t){if(Jl=-1,ec=0,6&Pl)throw Error(o(327));var n=e.callbackNode;if(Sc()&&e.callbackNode!==n)return null;var r=ft(e,e===Nl?Rl:0);if(0===r)return null;if(30&r||r&e.expiredLanes||t)t=bc(e,r);else{t=r;var a=Pl;Pl|=2;var i=gc();for(Nl===e&&Rl===t||(Wl=null,Ul=Ze()+500,pc(e,t));;)try{vc();break}catch(l){hc(e,l)}ko(),Cl.current=i,Pl=a,null!==jl?t=0:(Nl=null,Rl=0,t=Ml)}if(0!==t){if(2===t&&(0!==(a=ht(e))&&(r=a,t=ic(e,a))),1===t)throw n=Il,pc(e,0),lc(e,r),ac(e,Ze()),n;if(6===t)lc(e,r);else{if(a=e.current.alternate,!(30&r||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],o=a.getSnapshot;a=a.value;try{if(!sr(o(),a))return!1}catch(s){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)||(t=bc(e,r),2===t&&(i=ht(e),0!==i&&(r=i,t=ic(e,i))),1!==t)))throw n=Il,pc(e,0),lc(e,r),ac(e,Ze()),n;switch(e.finishedWork=a,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:kc(e,ql,Wl);break;case 3:if(lc(e,r),(130023424&r)===r&&10<(t=$l+500-Ze())){if(0!==ft(e,0))break;if(((a=e.suspendedLanes)&r)!==r){tc(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=ra(kc.bind(null,e,ql,Wl),t);break}kc(e,ql,Wl);break;case 4:if(lc(e,r),(4194240&r)===r)break;for(t=e.eventTimes,a=-1;0<r;){var s=31-it(r);i=1<<s,(s=t[s])>a&&(a=s),r&=~i}if(r=a,10<(r=(120>(r=Ze()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*El(r/1960))-r)){e.timeoutHandle=ra(kc.bind(null,e,ql,Wl),r);break}kc(e,ql,Wl);break;default:throw Error(o(329))}}}return ac(e,Ze()),e.callbackNode===n?oc.bind(null,e):null}function ic(e,t){var n=zl;return e.current.memoizedState.isDehydrated&&(pc(e,t).flags|=256),2!==(e=bc(e,t))&&(t=ql,ql=n,null!==t&&sc(t)),e}function sc(e){null===ql?ql=e:ql.push.apply(ql,e)}function lc(e,t){for(t&=~Bl,t&=~Fl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-it(t),r=1<<n;e[n]=-1,t&=~r}}function cc(e){if(6&Pl)throw Error(o(327));Sc();var t=ft(e,0);if(!(1&t))return ac(e,Ze()),null;var n=bc(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=ic(e,r))}if(1===n)throw n=Il,pc(e,0),lc(e,t),ac(e,Ze()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,kc(e,ql,Wl),ac(e,Ze()),null}function uc(e,t){var n=Pl;Pl|=1;try{return e(t)}finally{0===(Pl=n)&&(Ul=Ze()+500,Ba&&$a())}}function dc(e){null!==Kl&&0===Kl.tag&&!(6&Pl)&&Sc();var t=Pl;Pl|=1;var n=Al.transition,r=vt;try{if(Al.transition=null,vt=1,e)return e()}finally{vt=r,Al.transition=n,!(6&(Pl=t))&&$a()}}function fc(){Ll=Ol.current,Ea(Ol)}function pc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,aa(n)),null!==jl)for(n=jl.return;null!==n;){var r=n;switch(to(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&La();break;case 3:oi(),Ea(Pa),Ea(Aa),di();break;case 5:si(r);break;case 4:oi();break;case 13:case 19:Ea(li);break;case 10:So(r.type._context);break;case 22:case 23:fc()}n=n.return}if(Nl=e,jl=e=Oc(e.current,null),Rl=Ll=t,Ml=0,Il=null,Bl=Fl=Dl=0,ql=zl=null,null!==To){for(t=0;t<To.length;t++)if(null!==(r=(n=To[t]).interleaved)){n.interleaved=null;var a=r.next,o=n.pending;if(null!==o){var i=o.next;o.next=a,r.next=i}n.pending=r}To=null}return e}function hc(e,t){for(;;){var n=jl;try{if(ko(),fi.current=is,yi){for(var r=gi.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}yi=!1}if(hi=0,bi=mi=gi=null,vi=!1,xi=0,Tl.current=null,null===n||null===n.return){Ml=1,Il=t,jl=null;break}e:{var i=e,s=n.return,l=n,c=t;if(t=Rl,l.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var u=c,d=l,f=d.tag;if(!(1&d.mode||0!==f&&11!==f&&15!==f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=bs(s);if(null!==h){h.flags&=-257,ys(h,s,l,0,t),1&h.mode&&ms(i,u,t),c=u;var g=(t=h).updateQueue;if(null===g){var m=new Set;m.add(c),t.updateQueue=m}else g.add(c);break e}if(!(1&t)){ms(i,u,t),mc();break e}c=Error(o(426))}else if(ao&&1&l.mode){var b=bs(s);if(null!==b){!(65536&b.flags)&&(b.flags|=256),ys(b,s,l,0,t),go(us(c,l));break e}}i=c=us(c,l),4!==Ml&&(Ml=2),null===zl?zl=[i]:zl.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Do(i,hs(0,c,t));break e;case 1:l=c;var y=i.type,v=i.stateNode;if(!(128&i.flags||"function"!=typeof y.getDerivedStateFromError&&(null===v||"function"!=typeof v.componentDidCatch||null!==Gl&&Gl.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t,Do(i,gs(i,l,t));break e}}i=i.return}while(null!==i)}wc(n)}catch(x){t=x,jl===n&&null!==n&&(jl=n=n.return);continue}break}}function gc(){var e=Cl.current;return Cl.current=is,null===e?is:e}function mc(){0!==Ml&&3!==Ml&&2!==Ml||(Ml=4),null===Nl||!(268435455&Dl)&&!(268435455&Fl)||lc(Nl,Rl)}function bc(e,t){var n=Pl;Pl|=2;var r=gc();for(Nl===e&&Rl===t||(Wl=null,pc(e,t));;)try{yc();break}catch(a){hc(e,a)}if(ko(),Pl=n,Cl.current=r,null!==jl)throw Error(o(261));return Nl=null,Rl=0,Ml}function yc(){for(;null!==jl;)xc(jl)}function vc(){for(;null!==jl&&!Ke();)xc(jl)}function xc(e){var t=_l(e.alternate,e,Ll);e.memoizedProps=e.pendingProps,null===t?wc(e):jl=t,Tl.current=null}function wc(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Ks(n,t)))return n.flags&=32767,void(jl=n);if(null===e)return Ml=6,void(jl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=Qs(n,t,Ll)))return void(jl=n);if(null!==(t=t.sibling))return void(jl=t);jl=t=e}while(null!==t);0===Ml&&(Ml=5)}function kc(e,t,n){var r=vt,a=Al.transition;try{Al.transition=null,vt=1,function(e,t,n,r){do{Sc()}while(null!==Kl);if(6&Pl)throw Error(o(327));n=e.finishedWork;var a=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var a=31-it(n),o=1<<a;t[a]=0,r[a]=-1,e[a]=-1,n&=~o}}(e,i),e===Nl&&(jl=Nl=null,Rl=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||Ql||(Ql=!0,Nc(tt,(function(){return Sc(),null}))),i=!!(15990&n.flags),!!(15990&n.subtreeFlags)||i){i=Al.transition,Al.transition=null;var s=vt;vt=1;var l=Pl;Pl|=4,Tl.current=null,function(e,t){if(ea=Wt,pr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(w){n=null;break e}var s=0,l=-1,c=-1,u=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||0!==a&&3!==f.nodeType||(l=s+a),f!==i||0!==r&&3!==f.nodeType||(c=s+r),3===f.nodeType&&(s+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++u===a&&(l=s),p===i&&++d===r&&(c=s),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(ta={focusedElem:e,selectionRange:n},Wt=!1,Js=t;null!==Js;)if(e=(t=Js).child,1028&t.subtreeFlags&&null!==e)e.return=t,Js=e;else for(;null!==Js;){t=Js;try{var g=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==g){var m=g.memoizedProps,b=g.memoizedState,y=t.stateNode,v=y.getSnapshotBeforeUpdate(t.elementType===t.type?m:bo(t.type,m),b);y.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var x=t.stateNode.containerInfo;1===x.nodeType?x.textContent="":9===x.nodeType&&x.documentElement&&x.removeChild(x.documentElement);break;default:throw Error(o(163))}}catch(w){Ec(t,t.return,w)}if(null!==(e=t.sibling)){e.return=t.return,Js=e;break}Js=t.return}g=nl,nl=!1}(e,n),bl(n,e),hr(ta),Wt=!!ea,ta=ea=null,e.current=n,vl(n,e,a),Ye(),Pl=l,vt=s,Al.transition=i}else e.current=n;if(Ql&&(Ql=!1,Kl=e,Yl=a),i=e.pendingLanes,0===i&&(Gl=null),function(e){if(ot&&"function"==typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(at,e,void 0,!(128&~e.current.flags))}catch(t){}}(n.stateNode),ac(e,Ze()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],r(a.value,{componentStack:a.stack,digest:a.digest});if(Hl)throw Hl=!1,e=Vl,Vl=null,e;!!(1&Yl)&&0!==e.tag&&Sc(),i=e.pendingLanes,1&i?e===Xl?Zl++:(Zl=0,Xl=e):Zl=0,$a()}(e,t,n,r)}finally{Al.transition=a,vt=r}return null}function Sc(){if(null!==Kl){var e=xt(Yl),t=Al.transition,n=vt;try{if(Al.transition=null,vt=16>e?16:e,null===Kl)var r=!1;else{if(e=Kl,Kl=null,Yl=0,6&Pl)throw Error(o(331));var a=Pl;for(Pl|=4,Js=e.current;null!==Js;){var i=Js,s=i.child;if(16&Js.flags){var l=i.deletions;if(null!==l){for(var c=0;c<l.length;c++){var u=l[c];for(Js=u;null!==Js;){var d=Js;switch(d.tag){case 0:case 11:case 15:rl(8,d,i)}var f=d.child;if(null!==f)f.return=d,Js=f;else for(;null!==Js;){var p=(d=Js).sibling,h=d.return;if(il(d),d===u){Js=null;break}if(null!==p){p.return=h,Js=p;break}Js=h}}}var g=i.alternate;if(null!==g){var m=g.child;if(null!==m){g.child=null;do{var b=m.sibling;m.sibling=null,m=b}while(null!==m)}}Js=i}}if(2064&i.subtreeFlags&&null!==s)s.return=i,Js=s;else e:for(;null!==Js;){if(2048&(i=Js).flags)switch(i.tag){case 0:case 11:case 15:rl(9,i,i.return)}var y=i.sibling;if(null!==y){y.return=i.return,Js=y;break e}Js=i.return}}var v=e.current;for(Js=v;null!==Js;){var x=(s=Js).child;if(2064&s.subtreeFlags&&null!==x)x.return=s,Js=x;else e:for(s=v;null!==Js;){if(2048&(l=Js).flags)try{switch(l.tag){case 0:case 11:case 15:al(9,l)}}catch(k){Ec(l,l.return,k)}if(l===s){Js=null;break e}var w=l.sibling;if(null!==w){w.return=l.return,Js=w;break e}Js=l.return}}if(Pl=a,$a(),ot&&"function"==typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(at,e)}catch(k){}r=!0}return r}finally{vt=n,Al.transition=t}}return!1}function _c(e,t,n){e=Mo(e,t=hs(0,t=us(n,t),1),1),t=tc(),null!==e&&(bt(e,1,t),ac(e,t))}function Ec(e,t,n){if(3===e.tag)_c(e,e,n);else for(;null!==t;){if(3===t.tag){_c(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Gl||!Gl.has(r))){t=Mo(t,e=gs(t,e=us(n,e),1),1),e=tc(),null!==t&&(bt(t,1,e),ac(t,e));break}}t=t.return}}function Cc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tc(),e.pingedLanes|=e.suspendedLanes&n,Nl===e&&(Rl&n)===n&&(4===Ml||3===Ml&&(130023424&Rl)===Rl&&500>Ze()-$l?pc(e,0):Bl|=n),ac(e,t)}function Tc(e,t){0===t&&(1&e.mode?(t=ut,!(130023424&(ut<<=1))&&(ut=4194304)):t=1);var n=tc();null!==(e=No(e,t))&&(bt(e,t,n),ac(e,n))}function Ac(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Tc(e,n)}function Pc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),Tc(e,n)}function Nc(e,t){return Ge(e,t)}function jc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Rc(e,t,n,r){return new jc(e,t,n,r)}function Lc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Oc(e,t){var n=e.alternate;return null===n?((n=Rc(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Mc(e,t,n,r,a,i){var s=2;if(r=e,"function"==typeof e)Lc(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case S:return Ic(n.children,a,i,t);case _:s=8,a|=8;break;case E:return(e=Rc(12,n,t,2|a)).elementType=E,e.lanes=i,e;case P:return(e=Rc(13,n,t,a)).elementType=P,e.lanes=i,e;case N:return(e=Rc(19,n,t,a)).elementType=N,e.lanes=i,e;case L:return Dc(n,a,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case C:s=10;break e;case T:s=9;break e;case A:s=11;break e;case j:s=14;break e;case R:s=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Rc(s,n,t,a)).elementType=e,t.type=r,t.lanes=i,t}function Ic(e,t,n,r){return(e=Rc(7,e,r,t)).lanes=n,e}function Dc(e,t,n,r){return(e=Rc(22,e,r,t)).elementType=L,e.lanes=n,e.stateNode={isHidden:!1},e}function Fc(e,t,n){return(e=Rc(6,e,null,t)).lanes=n,e}function Bc(e,t,n){return(t=Rc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zc(e,t,n,r,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=mt(0),this.expirationTimes=mt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mt(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function qc(e,t,n,r,a,o,i,s,l){return e=new zc(e,t,n,s,l),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Rc(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ro(o),e}function $c(e){if(!e)return Ta;e:{if($e(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ra(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(Ra(n))return Ma(e,n,t)}return t}function Uc(e,t,n,r,a,o,i,s,l){return(e=qc(n,r,!0,e,0,o,0,s,l)).context=$c(null),n=e.current,(o=Oo(r=tc(),a=nc(n))).callback=null!=t?t:null,Mo(n,o,a),e.current.lanes=a,bt(e,a,r),ac(e,r),e}function Wc(e,t,n,r){var a=t.current,o=tc(),i=nc(a);return n=$c(n),null===t.context?t.context=n:t.pendingContext=n,(t=Oo(o,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Mo(a,t,i))&&(rc(e,a,i,o),Io(e,a,i)),i}function Hc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Vc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Gc(e,t){Vc(e,t),(e=e.alternate)&&Vc(e,t)}_l=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Pa.current)xs=!0;else{if(!(e.lanes&n||128&t.flags))return xs=!1,function(e,t,n){switch(t.tag){case 3:Ns(t),ho();break;case 5:ii(t);break;case 1:Ra(t.type)&&Ia(t);break;case 4:ai(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;Ca(yo,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Ca(li,1&li.current),t.flags|=128,null):n&t.child.childLanes?Fs(e,t,n):(Ca(li,1&li.current),null!==(e=Hs(e,t,n))?e.sibling:null);Ca(li,1&li.current);break;case 19:if(r=!!(n&t.childLanes),128&e.flags){if(r)return Us(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),Ca(li,li.current),r)break;return null;case 22:case 23:return t.lanes=0,Es(e,t,n)}return Hs(e,t,n)}(e,t,n);xs=!!(131072&e.flags)}else xs=!1,ao&&1048576&t.flags&&Ja(t,Va,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ws(e,t),e=t.pendingProps;var a=ja(t,Aa.current);Eo(t,n),a=_i(null,t,r,e,a,n);var i=Ei();return t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ra(r)?(i=!0,Ia(t)):i=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,Ro(t),a.updater=$o,t.stateNode=a,a._reactInternals=t,Vo(t,r,e,n),t=Ps(null,t,r,!0,i,n)):(t.tag=0,ao&&i&&eo(t),ws(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ws(e,t),e=t.pendingProps,r=(a=r._init)(r._payload),t.type=r,a=t.tag=function(e){if("function"==typeof e)return Lc(e)?1:0;if(null!=e){if((e=e.$$typeof)===A)return 11;if(e===j)return 14}return 2}(r),e=bo(r,e),a){case 0:t=Ts(null,t,r,e,n);break e;case 1:t=As(null,t,r,e,n);break e;case 11:t=ks(null,t,r,e,n);break e;case 14:t=Ss(null,t,r,bo(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,Ts(e,t,r,a=t.elementType===r?a:bo(r,a),n);case 1:return r=t.type,a=t.pendingProps,As(e,t,r,a=t.elementType===r?a:bo(r,a),n);case 3:e:{if(Ns(t),null===e)throw Error(o(387));r=t.pendingProps,a=(i=t.memoizedState).element,Lo(e,t),Fo(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=js(e,t,r,n,a=us(Error(o(423)),t));break e}if(r!==a){t=js(e,t,r,n,a=us(Error(o(424)),t));break e}for(ro=ca(t.stateNode.containerInfo.firstChild),no=t,ao=!0,oo=null,n=Xo(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(ho(),r===a){t=Hs(e,t,n);break e}ws(e,t,r,n)}t=t.child}return t;case 5:return ii(t),null===e&&co(t),r=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,s=a.children,na(r,a)?s=null:null!==i&&na(r,i)&&(t.flags|=32),Cs(e,t),ws(e,t,s,n),t.child;case 6:return null===e&&co(t),null;case 13:return Fs(e,t,n);case 4:return ai(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Zo(t,null,r,n):ws(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,ks(e,t,r,a=t.elementType===r?a:bo(r,a),n);case 7:return ws(e,t,t.pendingProps,n),t.child;case 8:case 12:return ws(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,i=t.memoizedProps,s=a.value,Ca(yo,r._currentValue),r._currentValue=s,null!==i)if(sr(i.value,s)){if(i.children===a.children&&!Pa.current){t=Hs(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var l=i.dependencies;if(null!==l){s=i.child;for(var c=l.firstContext;null!==c;){if(c.context===r){if(1===i.tag){(c=Oo(-1,n&-n)).tag=2;var u=i.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}i.lanes|=n,null!==(c=i.alternate)&&(c.lanes|=n),_o(i.return,n,t),l.lanes|=n;break}c=c.next}}else if(10===i.tag)s=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(s=i.return))throw Error(o(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),_o(s,n,t),s=i.sibling}else s=i.child;if(null!==s)s.return=i;else for(s=i;null!==s;){if(s===t){s=null;break}if(null!==(i=s.sibling)){i.return=s.return,s=i;break}s=s.return}i=s}ws(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,Eo(t,n),r=r(a=Co(a)),t.flags|=1,ws(e,t,r,n),t.child;case 14:return a=bo(r=t.type,t.pendingProps),Ss(e,t,r,a=bo(r.type,a),n);case 15:return _s(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:bo(r,a),Ws(e,t),t.tag=1,Ra(r)?(e=!0,Ia(t)):e=!1,Eo(t,n),Wo(t,r,a),Vo(t,r,a,n),Ps(null,t,r,!0,e,n);case 19:return Us(e,t,n);case 22:return Es(e,t,n)}throw Error(o(156,t.tag))};var Qc="function"==typeof reportError?reportError:function(e){console.error(e)};function Kc(e){this._internalRoot=e}function Yc(e){this._internalRoot=e}function Zc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Xc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Jc(){}function eu(e,t,n,r,a){var o=n._reactRootContainer;if(o){var i=o;if("function"==typeof a){var s=a;a=function(){var e=Hc(i);s.call(e)}}Wc(t,i,e,a)}else i=function(e,t,n,r,a){if(a){if("function"==typeof r){var o=r;r=function(){var e=Hc(i);o.call(e)}}var i=Uc(t,r,e,0,null,!1,0,"",Jc);return e._reactRootContainer=i,e[ha]=i.current,$r(8===e.nodeType?e.parentNode:e),dc(),i}for(;a=e.lastChild;)e.removeChild(a);if("function"==typeof r){var s=r;r=function(){var e=Hc(l);s.call(e)}}var l=qc(e,0,!1,null,0,!1,0,"",Jc);return e._reactRootContainer=l,e[ha]=l.current,$r(8===e.nodeType?e.parentNode:e),dc((function(){Wc(t,l,n,r)})),l}(n,t,e,a,r);return Hc(i)}Yc.prototype.render=Kc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));Wc(e,t,null,null)},Yc.prototype.unmount=Kc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;dc((function(){Wc(null,e,null,null)})),t[ha]=null}},Yc.prototype.unstable_scheduleHydration=function(e){if(e){var t=_t();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Lt.length&&0!==t&&t<Lt[n].priority;n++);Lt.splice(n,0,e),0===n&&Dt(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(yt(t,1|n),ac(t,Ze()),!(6&Pl)&&(Ul=Ze()+500,$a()))}break;case 13:dc((function(){var t=No(e,1);if(null!==t){var n=tc();rc(t,e,1,n)}})),Gc(e,1)}},kt=function(e){if(13===e.tag){var t=No(e,134217728);if(null!==t)rc(t,e,134217728,tc());Gc(e,134217728)}},St=function(e){if(13===e.tag){var t=nc(e),n=No(e,t);if(null!==n)rc(n,e,t,tc());Gc(e,t)}},_t=function(){return vt},Et=function(e,t){var n=vt;try{return vt=e,t()}finally{vt=n}},ke=function(e,t,n){switch(t){case"input":if(X(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=wa(r);if(!a)throw Error(o(90));G(r),X(r,a)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Ae=uc,Pe=dc;var tu={usingClientEntryPoint:!1,Events:[va,xa,wa,Ce,Te,uc]},nu={findFiberByHostInstance:ya,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},ru={bundleType:nu.bundleType,version:nu.version,rendererPackageName:nu.rendererPackageName,rendererConfig:nu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=He(e))?null:e.stateNode},findFiberByHostInstance:nu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var au=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!au.isDisabled&&au.supportsFiber)try{at=au.inject(ru),ot=au}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tu,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Zc(t))throw Error(o(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:k,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Zc(e))throw Error(o(299));var n=!1,r="",a=Qc;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=qc(e,1,!1,null,0,n,0,r,a),e[ha]=t.current,$r(8===e.nodeType?e.parentNode:e),new Kc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return e=null===(e=He(t))?null:e.stateNode},t.flushSync=function(e){return dc(e)},t.hydrate=function(e,t,n){if(!Xc(t))throw Error(o(200));return eu(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Zc(e))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,a=!1,i="",s=Qc;if(null!=n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Uc(t,null,e,1,null!=n?n:null,a,0,i,s),e[ha]=t.current,$r(e),r)for(e=0;e<r.length;e++)a=(a=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new Yc(t)},t.render=function(e,t,n){if(!Xc(t))throw Error(o(200));return eu(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Xc(e))throw Error(o(40));return!!e._reactRootContainer&&(dc((function(){eu(null,null,e,!1,(function(){e._reactRootContainer=null,e[ha]=null}))})),!0)},t.unstable_batchedUpdates=uc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Xc(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return eu(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},5338:(e,t,n)=>{"use strict";var r=n(961);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},961:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(2551)},115:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var s,l,c,u;if(Array.isArray(e)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(!o(e[l],i[l]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!i.has(l.value[0]))return!1;for(u=e.entries();!(l=u.next()).done;)if(!o(l.value[1],i.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!i.has(l.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((s=e.length)!=i.length)return!1;for(l=s;0!=l--;)if(e[l]!==i[l])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof i.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof i.toString)return e.toString()===i.toString();if((s=(c=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(i,c[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!e.$$typeof)&&!o(e[c[l]],i[c[l]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return o(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},545:(e,t,n)=>{"use strict";n.d(t,{mg:()=>J,vd:()=>H});var r=n(6540),a=n(5556),o=n.n(a),i=n(115),s=n.n(i),l=n(311),c=n.n(l),u=n(2833),d=n.n(u);function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}function p(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function g(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(a[n]=e[n]);return a}var m={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},b={rel:["amphtml","canonical","alternate"]},y={type:["application/ld+json"]},v={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},x=Object.keys(m).map((function(e){return m[e]})),w={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},k=Object.keys(w).reduce((function(e,t){return e[w[t]]=t,e}),{}),S=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},_=function(e){var t=S(e,m.TITLE),n=S(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,(function(){return t}));var r=S(e,"defaultTitle");return t||r||void 0},E=function(e){return S(e,"onChangeClientState")||function(){}},C=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return f({},e,t)}),{})},T=function(e,t){return t.filter((function(e){return void 0!==e[m.BASE]})).map((function(e){return e[m.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),a=0;a<r.length;a+=1){var o=r[a].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t}),[])},A=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var a={};n.filter((function(e){for(var n,o=Object.keys(e),i=0;i<o.length;i+=1){var s=o[i],l=s.toLowerCase();-1===t.indexOf(l)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===l&&"stylesheet"===e[l].toLowerCase()||(n=l),-1===t.indexOf(s)||"innerHTML"!==s&&"cssText"!==s&&"itemprop"!==s||(n=s)}if(!n||!e[n])return!1;var c=e[n].toLowerCase();return r[n]||(r[n]={}),a[n]||(a[n]={}),!r[n][c]&&(a[n][c]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(a),i=0;i<o.length;i+=1){var s=o[i],l=f({},r[s],a[s]);r[s]=l}return e}),[]).reverse()},P=function(e,t){if(Array.isArray(e)&&e.length)for(var n=0;n<e.length;n+=1)if(e[n][t])return!0;return!1},N=function(e){return Array.isArray(e)?e.join(""):e},j=function(e,t){return Array.isArray(e)?e.reduce((function(e,n){return function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1}(n,t)?e.priority.push(n):e.default.push(n),e}),{priority:[],default:[]}):{default:e}},R=function(e,t){var n;return f({},e,((n={})[t]=void 0,n))},L=[m.NOSCRIPT,m.SCRIPT,m.STYLE],O=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},M=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},I=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,n){return t[w[n]||n]=e[n],t}),t)},D=function(e,t){return t.map((function(t,n){var a,o=((a={key:n})["data-rh"]=!0,a);return Object.keys(t).forEach((function(e){var n=w[e]||e;"innerHTML"===n||"cssText"===n?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]})),r.createElement(e,o)}))},F=function(e,t,n){switch(e){case m.TITLE:return{toComponent:function(){return n=t.titleAttributes,(a={key:e=t.title})["data-rh"]=!0,o=I(n,a),[r.createElement(m.TITLE,o,e)];var e,n,a,o},toString:function(){return function(e,t,n,r){var a=M(n),o=N(t);return a?"<"+e+' data-rh="true" '+a+">"+O(o,r)+"</"+e+">":"<"+e+' data-rh="true">'+O(o,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return I(t)},toString:function(){return M(t)}};default:return{toComponent:function(){return D(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var a=Object.keys(r).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var a=void 0===r[t]?t:t+'="'+O(r[t],n)+'"';return e?e+" "+a:a}),""),o=r.innerHTML||r.cssText||"",i=-1===L.indexOf(e);return t+"<"+e+' data-rh="true" '+a+(i?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}},B=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,a=e.htmlAttributes,o=e.noscriptTags,i=e.styleTags,s=e.title,l=void 0===s?"":s,c=e.titleAttributes,u=e.linkTags,d=e.metaTags,f=e.scriptTags,p={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var h=function(e){var t=e.linkTags,n=e.scriptTags,r=e.encode,a=j(e.metaTags,v),o=j(t,b),i=j(n,y);return{priorityMethods:{toComponent:function(){return[].concat(D(m.META,a.priority),D(m.LINK,o.priority),D(m.SCRIPT,i.priority))},toString:function(){return F(m.META,a.priority,r)+" "+F(m.LINK,o.priority,r)+" "+F(m.SCRIPT,i.priority,r)}},metaTags:a.default,linkTags:o.default,scriptTags:i.default}}(e);p=h.priorityMethods,u=h.linkTags,d=h.metaTags,f=h.scriptTags}return{priority:p,base:F(m.BASE,t,r),bodyAttributes:F("bodyAttributes",n,r),htmlAttributes:F("htmlAttributes",a,r),link:F(m.LINK,u,r),meta:F(m.META,d,r),noscript:F(m.NOSCRIPT,o,r),script:F(m.SCRIPT,f,r),style:F(m.STYLE,i,r),title:F(m.TITLE,{title:l,titleAttributes:c},r)}},z=[],q=function(e,t){var n=this;void 0===t&&(t="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?z:n.instances},add:function(e){(n.canUseDOM?z:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?z:n.instances).indexOf(e);(n.canUseDOM?z:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=B({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},$=r.createContext({}),U=o().shape({setHelmet:o().func,helmetInstances:o().shape({get:o().func,add:o().func,remove:o().func})}),W="undefined"!=typeof document,H=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new q(r.props.context,t.canUseDOM),r}return p(t,e),t.prototype.render=function(){return r.createElement($.Provider,{value:this.helmetData.value},this.props.children)},t}(r.Component);H.canUseDOM=W,H.propTypes={context:o().shape({helmet:o().shape()}),children:o().node.isRequired},H.defaultProps={context:{}},H.displayName="HelmetProvider";var V=function(e,t){var n,r=document.head||document.querySelector(m.HEAD),a=r.querySelectorAll(e+"[data-rh]"),o=[].slice.call(a),i=[];return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&("innerHTML"===a?r.innerHTML=t.innerHTML:"cssText"===a?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(a,void 0===t[a]?"":t[a]));r.setAttribute("data-rh","true"),o.some((function(e,t){return n=t,r.isEqualNode(e)}))?o.splice(n,1):i.push(r)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return r.appendChild(e)})),{oldTags:o,newTags:i}},G=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),a=r?r.split(","):[],o=[].concat(a),i=Object.keys(t),s=0;s<i.length;s+=1){var l=i[s],c=t[l]||"";n.getAttribute(l)!==c&&n.setAttribute(l,c),-1===a.indexOf(l)&&a.push(l);var u=o.indexOf(l);-1!==u&&o.splice(u,1)}for(var d=o.length-1;d>=0;d-=1)n.removeAttribute(o[d]);a.length===o.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==i.join(",")&&n.setAttribute("data-rh",i.join(","))}},Q=function(e,t){var n=e.baseTag,r=e.htmlAttributes,a=e.linkTags,o=e.metaTags,i=e.noscriptTags,s=e.onChangeClientState,l=e.scriptTags,c=e.styleTags,u=e.title,d=e.titleAttributes;G(m.BODY,e.bodyAttributes),G(m.HTML,r),function(e,t){void 0!==e&&document.title!==e&&(document.title=N(e)),G(m.TITLE,t)}(u,d);var f={baseTag:V(m.BASE,n),linkTags:V(m.LINK,a),metaTags:V(m.META,o),noscriptTags:V(m.NOSCRIPT,i),scriptTags:V(m.SCRIPT,l),styleTags:V(m.STYLE,c)},p={},h={};Object.keys(f).forEach((function(e){var t=f[e],n=t.newTags,r=t.oldTags;n.length&&(p[e]=n),r.length&&(h[e]=f[e].oldTags)})),t&&t(),s(e,p,h)},K=null,Y=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).rendered=!1,t}p(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!d()(e,this.props)},n.componentDidUpdate=function(){this.emitChange()},n.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},n.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,a=null,o=(e=n.helmetInstances.get().map((function(e){var t=f({},e.props);return delete t.context,t})),{baseTag:T(["href"],e),bodyAttributes:C("bodyAttributes",e),defer:S(e,"defer"),encode:S(e,"encodeSpecialCharacters"),htmlAttributes:C("htmlAttributes",e),linkTags:A(m.LINK,["rel","href"],e),metaTags:A(m.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:A(m.NOSCRIPT,["innerHTML"],e),onChangeClientState:E(e),scriptTags:A(m.SCRIPT,["src","innerHTML"],e),styleTags:A(m.STYLE,["cssText"],e),title:_(e),titleAttributes:C("titleAttributes",e),prioritizeSeoTags:P(e,"prioritizeSeoTags")});H.canUseDOM?(t=o,K&&cancelAnimationFrame(K),t.defer?K=requestAnimationFrame((function(){Q(t,(function(){K=null}))})):(Q(t),K=null)):B&&(a=B(o)),r(a)},n.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},n.render=function(){return this.init(),null},t}(r.Component);Y.propTypes={context:U.isRequired},Y.displayName="HelmetDispatcher";var Z=["children"],X=["children"],J=function(e){function t(){return e.apply(this,arguments)||this}p(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!s()(R(this.props,"helmetData"),R(e,"helmetData"))},n.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case m.SCRIPT:case m.NOSCRIPT:return{innerHTML:t};case m.STYLE:return{cssText:t};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return f({},r,((t={})[n.type]=[].concat(r[n.type]||[],[f({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,a=e.newProps,o=e.newChildProps,i=e.nestedChildren;switch(r.type){case m.TITLE:return f({},a,((t={})[r.type]=i,t.titleAttributes=f({},o),t));case m.BODY:return f({},a,{bodyAttributes:f({},o)});case m.HTML:return f({},a,{htmlAttributes:f({},o)});default:return f({},a,((n={})[r.type]=f({},o),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=f({},t);return Object.keys(e).forEach((function(t){var r;n=f({},n,((r={})[t]=e[t],r))})),n},n.warnOnInvalidChildren=function(e,t){return c()(x.some((function(t){return e.type===t})),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+x.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),c()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(e,t){var n=this,a={};return r.Children.forEach(e,(function(e){if(e&&e.props){var r=e.props,o=r.children,i=g(r,Z),s=Object.keys(i).reduce((function(e,t){return e[k[t]||t]=i[t],e}),{}),l=e.type;switch("symbol"==typeof l?l=l.toString():n.warnOnInvalidChildren(e,o),l){case m.FRAGMENT:t=n.mapChildrenToProps(o,t);break;case m.LINK:case m.META:case m.NOSCRIPT:case m.SCRIPT:case m.STYLE:a=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:a,newChildProps:s,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:s,nestedChildren:o})}}})),this.mapArrayTypeChildrenToProps(a,t)},n.render=function(){var e=this.props,t=e.children,n=g(e,X),a=f({},n),o=n.helmetData;return t&&(a=this.mapChildrenToProps(t,a)),!o||o instanceof q||(o=new q(o.context,o.instances)),o?r.createElement(Y,f({},a,{context:o.value,helmetData:void 0})):r.createElement($.Consumer,null,(function(e){return r.createElement(Y,f({},a,{context:e}))}))},t}(r.Component);J.propTypes={base:o().object,bodyAttributes:o().object,children:o().oneOfType([o().arrayOf(o().node),o().node]),defaultTitle:o().string,defer:o().bool,encodeSpecialCharacters:o().bool,htmlAttributes:o().object,link:o().arrayOf(o().object),meta:o().arrayOf(o().object),noscript:o().arrayOf(o().object),onChangeClientState:o().func,script:o().arrayOf(o().object),style:o().arrayOf(o().object),title:o().string,titleAttributes:o().object,titleTemplate:o().string,prioritizeSeoTags:o().bool,helmetData:o().object},J.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},J.displayName="Helmet"},2799:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,b=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case o:case s:case i:case p:return e;default:switch(e=e&&e.$$typeof){case c:case f:case m:case g:case l:return e;default:return t}}case a:return t}}}function k(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=m,t.Memo=g,t.Portal=a,t.Profiler=s,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return k(e)||w(e)===u},t.isConcurrentMode=k,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===o},t.isLazy=function(e){return w(e)===m},t.isMemo=function(e){return w(e)===g},t.isPortal=function(e){return w(e)===a},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===i||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===y||e.$$typeof===v||e.$$typeof===x||e.$$typeof===b)},t.typeOf=w},4363:(e,t,n)=>{"use strict";e.exports=n(2799)},3259:(e,t,n)=>{"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}var s=n(6540),l=n(5556),c=[],u=[];function d(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}function f(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var a=d(e[r]);a.loading?t.loading=!0:(t.loaded[r]=a.loaded,t.error=a.error),n.push(a.promise),a.promise.then((function(e){t.loaded[r]=e})).catch((function(e){t.error=e}))}))}catch(r){t.error=r}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e})).catch((function(e){throw t.loading=!1,e})),t}function p(e,t){return s.createElement((n=e)&&n.__esModule?n.default:n,t);var n}function h(e,t){var d,f;if(!t.loading)throw new Error("react-loadable requires a `loading` component");var h=i({loader:null,loading:null,delay:200,timeout:null,render:p,webpack:null,modules:null},t),g=null;function m(){return g||(g=e(h.loader)),g.promise}return c.push(m),"function"==typeof h.webpack&&u.push((function(){if((0,h.webpack)().every((function(e){return void 0!==e&&void 0!==n.m[e]})))return m()})),f=d=function(t){function n(n){var r;return o(a(a(r=t.call(this,n)||this)),"retry",(function(){r.setState({error:null,loading:!0,timedOut:!1}),g=e(h.loader),r._loadModule()})),m(),r.state={error:g.error,pastDelay:!1,timedOut:!1,loading:g.loading,loaded:g.loaded},r}r(n,t),n.preload=function(){return m()};var i=n.prototype;return i.UNSAFE_componentWillMount=function(){this._loadModule()},i.componentDidMount=function(){this._mounted=!0},i._loadModule=function(){var e=this;if(this.context.loadable&&Array.isArray(h.modules)&&h.modules.forEach((function(t){e.context.loadable.report(t)})),g.loading){var t=function(t){e._mounted&&e.setState(t)};"number"==typeof h.delay&&(0===h.delay?this.setState({pastDelay:!0}):this._delay=setTimeout((function(){t({pastDelay:!0})}),h.delay)),"number"==typeof h.timeout&&(this._timeout=setTimeout((function(){t({timedOut:!0})}),h.timeout));var n=function(){t({error:g.error,loaded:g.loaded,loading:g.loading}),e._clearTimeouts()};g.promise.then((function(){return n(),null})).catch((function(e){return n(),null}))}},i.componentWillUnmount=function(){this._mounted=!1,this._clearTimeouts()},i._clearTimeouts=function(){clearTimeout(this._delay),clearTimeout(this._timeout)},i.render=function(){return this.state.loading||this.state.error?s.createElement(h.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?h.render(this.state.loaded,this.props):null},n}(s.Component),o(d,"contextTypes",{loadable:l.shape({report:l.func.isRequired})}),f}function g(e){return h(d,e)}g.Map=function(e){if("function"!=typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return h(f,e)};var m=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var n=t.prototype;return n.getChildContext=function(){return{loadable:{report:this.props.report}}},n.render=function(){return s.Children.only(this.props.children)},t}(s.Component);function b(e){for(var t=[];e.length;){var n=e.pop();t.push(n())}return Promise.all(t).then((function(){if(e.length)return b(e)}))}o(m,"propTypes",{report:l.func.isRequired}),o(m,"childContextTypes",{loadable:l.shape({report:l.func.isRequired}).isRequired}),g.Capture=m,g.preloadAll=function(){return new Promise((function(e,t){b(c).then(e,t)}))},g.preloadReady=function(){return new Promise((function(e,t){b(u).then(e,e)}))},e.exports=g},2831:(e,t,n)=>{"use strict";n.d(t,{u:()=>i,v:()=>s});var r=n(6347),a=n(8168),o=n(6540);function i(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var a=e.path?(0,r.B6)(t,e):n.length?n[n.length-1].match:r.Ix.computeRootMatch(t);return a&&(n.push({route:e,match:a}),e.routes&&i(e.routes,t,n)),a})),n}function s(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?o.createElement(r.dO,n,e.map((function(e,n){return o.createElement(r.qh,{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render((0,a.A)({},n,{},t,{route:e})):o.createElement(e.component,(0,a.A)({},n,t,{route:e}))}})}))):null}},4625:(e,t,n)=>{"use strict";n.d(t,{Kd:()=>u,N_:()=>m,k2:()=>v});var r=n(6347),a=n(2892),o=n(6540),i=n(1513),s=n(8168),l=n(8587),c=n(1561),u=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.zR)(t.props),t}return(0,a.A)(t,e),t.prototype.render=function(){return o.createElement(r.Ix,{history:this.history,children:this.props.children})},t}(o.Component);o.Component;var d=function(e,t){return"function"==typeof e?e(t):e},f=function(e,t){return"string"==typeof e?(0,i.yJ)(e,null,null,t):e},p=function(e){return e},h=o.forwardRef;void 0===h&&(h=p);var g=h((function(e,t){var n=e.innerRef,r=e.navigate,a=e.onClick,i=(0,l.A)(e,["innerRef","navigate","onClick"]),c=i.target,u=(0,s.A)({},i,{onClick:function(e){try{a&&a(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||c&&"_self"!==c||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return u.ref=p!==h&&t||n,o.createElement("a",u)}));var m=h((function(e,t){var n=e.component,a=void 0===n?g:n,u=e.replace,m=e.to,b=e.innerRef,y=(0,l.A)(e,["component","replace","to","innerRef"]);return o.createElement(r.XZ.Consumer,null,(function(e){e||(0,c.A)(!1);var n=e.history,r=f(d(m,e.location),e.location),l=r?n.createHref(r):"",g=(0,s.A)({},y,{href:l,navigate:function(){var t=d(m,e.location),r=(0,i.AO)(e.location)===(0,i.AO)(f(t));(u||r?n.replace:n.push)(t)}});return p!==h?g.ref=t||b:g.innerRef=b,o.createElement(a,g)}))})),b=function(e){return e},y=o.forwardRef;void 0===y&&(y=b);var v=y((function(e,t){var n=e["aria-current"],a=void 0===n?"page":n,i=e.activeClassName,u=void 0===i?"active":i,p=e.activeStyle,h=e.className,g=e.exact,v=e.isActive,x=e.location,w=e.sensitive,k=e.strict,S=e.style,_=e.to,E=e.innerRef,C=(0,l.A)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return o.createElement(r.XZ.Consumer,null,(function(e){e||(0,c.A)(!1);var n=x||e.location,i=f(d(_,n),n),l=i.pathname,T=l&&l.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),A=T?(0,r.B6)(n.pathname,{path:T,exact:g,sensitive:w,strict:k}):null,P=!!(v?v(A,n):A),N="function"==typeof h?h(P):h,j="function"==typeof S?S(P):S;P&&(N=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(N,u),j=(0,s.A)({},j,p));var R=(0,s.A)({"aria-current":P&&a||null,className:N,style:j,to:i},C);return b!==y?R.ref=t||E:R.innerRef=E,o.createElement(m,R)}))}))},6347:(e,t,n)=>{"use strict";n.d(t,{B6:()=>S,Ix:()=>v,W6:()=>R,XZ:()=>y,dO:()=>N,qh:()=>_,zy:()=>L});var r=n(2892),a=n(6540),o=n(5556),i=n.n(o),s=n(1513),l=n(1561),c=n(8168),u=n(5302),d=n.n(u),f=(n(4363),n(8587)),p=(n(4146),1073741823),h="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};var g=a.createContext||function(e,t){var n,o,s="__create-react-context-"+function(){var e="__global_unique_id__";return h[e]=(h[e]||0)+1}()+"__",l=function(e){function n(){for(var t,n,r,a=arguments.length,o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];return(t=e.call.apply(e,[this].concat(o))||this).emitter=(n=t.props.value,r=[],{on:function(e){r.push(e)},off:function(e){r=r.filter((function(t){return t!==e}))},get:function(){return n},set:function(e,t){n=e,r.forEach((function(e){return e(n,t)}))}}),t}(0,r.A)(n,e);var a=n.prototype;return a.getChildContext=function(){var e;return(e={})[s]=this.emitter,e},a.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,a=e.value;((o=r)===(i=a)?0!==o||1/o==1/i:o!=o&&i!=i)?n=0:(n="function"==typeof t?t(r,a):p,0!==(n|=0)&&this.emitter.set(e.value,n))}var o,i},a.render=function(){return this.props.children},n}(a.Component);l.childContextTypes=((n={})[s]=i().object.isRequired,n);var c=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){(0|e.observedBits)&n&&e.setState({value:e.getValue()})},e}(0,r.A)(n,t);var a=n.prototype;return a.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?p:t},a.componentDidMount=function(){this.context[s]&&this.context[s].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?p:e},a.componentWillUnmount=function(){this.context[s]&&this.context[s].off(this.onUpdate)},a.getValue=function(){return this.context[s]?this.context[s].get():e},a.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(a.Component);return c.contextTypes=((o={})[s]=i().object,o),{Provider:l,Consumer:c}},m=function(e){var t=g();return t.displayName=e,t},b=m("Router-History"),y=m("Router"),v=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._pendingLocation=e}))),n}(0,r.A)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return a.createElement(y.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.createElement(b.Provider,{children:this.props.children||null,value:this.props.history}))},t}(a.Component);a.Component;a.Component;var x={},w=1e4,k=0;function S(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,a=n.exact,o=void 0!==a&&a,i=n.strict,s=void 0!==i&&i,l=n.sensitive,c=void 0!==l&&l;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=x[n]||(x[n]={});if(r[e])return r[e];var a=[],o={regexp:d()(e,a,t),keys:a};return k<w&&(r[e]=o,k++),o}(n,{end:o,strict:s,sensitive:c}),a=r.regexp,i=r.keys,l=a.exec(e);if(!l)return null;var u=l[0],f=l.slice(1),p=e===u;return o&&!p?null:{path:n,url:"/"===n&&""===u?"/":u,isExact:p,params:i.reduce((function(e,t,n){return e[t.name]=f[n],e}),{})}}),null)}var _=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){var e=this;return a.createElement(y.Consumer,null,(function(t){t||(0,l.A)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?S(n.pathname,e.props):t.match,o=(0,c.A)({},t,{location:n,match:r}),i=e.props,s=i.children,u=i.component,d=i.render;return Array.isArray(s)&&function(e){return 0===a.Children.count(e)}(s)&&(s=null),a.createElement(y.Provider,{value:o},o.match?s?"function"==typeof s?s(o):s:u?a.createElement(u,o):d?d(o):null:"function"==typeof s?s(o):null)}))},t}(a.Component);function E(e){return"/"===e.charAt(0)?e:"/"+e}function C(e,t){if(!e)return t;var n=E(e);return 0!==t.pathname.indexOf(n)?t:(0,c.A)({},t,{pathname:t.pathname.substr(n.length)})}function T(e){return"string"==typeof e?e:(0,s.AO)(e)}function A(e){return function(){(0,l.A)(!1)}}function P(){}a.Component;var N=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){var e=this;return a.createElement(y.Consumer,null,(function(t){t||(0,l.A)(!1);var n,r,o=e.props.location||t.location;return a.Children.forEach(e.props.children,(function(e){if(null==r&&a.isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?S(o.pathname,(0,c.A)({},e.props,{path:i})):t.match}})),r?a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(a.Component);var j=a.useContext;function R(){return j(b)}function L(){return j(y).location}},1020:(e,t,n)=>{"use strict";var r=n(6540),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:a,type:e,key:c,ref:u,props:o,_owner:s.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},5287:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,m={};function b(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}function y(){}function v(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=b.prototype;var x=v.prototype=new y;x.constructor=v,g(x,b.prototype),x.isPureReactComponent=!0;var w=Array.isArray,k=Object.prototype.hasOwnProperty,S={current:null},_={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,r){var a,o={},i=null,s=null;if(null!=t)for(a in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(i=""+t.key),t)k.call(t,a)&&!_.hasOwnProperty(a)&&(o[a]=t[a]);var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(a in l=e.defaultProps)void 0===o[a]&&(o[a]=l[a]);return{$$typeof:n,type:e,key:i,ref:s,props:o,_owner:S.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var T=/\/+/g;function A(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function P(e,t,a,o,i){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return i=i(l=e),e=""===o?"."+A(l,0):o,w(i)?(a="",null!=e&&(a=e.replace(T,"$&/")+"/"),P(i,t,a,"",(function(e){return e}))):null!=i&&(C(i)&&(i=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,a+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(T,"$&/")+"/")+e)),t.push(i)),1;if(l=0,o=""===o?".":o+":",w(e))for(var c=0;c<e.length;c++){var u=o+A(s=e[c],c);l+=P(s,t,a,u,i)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(s=e.next()).done;)l+=P(s=s.value,t,a,u=o+A(s,c++),i);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function N(e,t,n){if(null==e)return e;var r=[],a=0;return P(e,r,"","",(function(e){return t.call(n,e,a++)})),r}function j(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var R={current:null},L={transition:null},O={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:L,ReactCurrentOwner:S};t.Children={map:N,forEach:function(e,t,n){N(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return N(e,(function(){t++})),t},toArray:function(e){return N(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=b,t.Fragment=a,t.Profiler=i,t.PureComponent=v,t.StrictMode=o,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=O,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=g({},e.props),o=e.key,i=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,s=S.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)k.call(t,c)&&!_.hasOwnProperty(c)&&(a[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)a.children=r;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];a.children=l}return{$$typeof:n,type:e.type,key:o,ref:i,props:a,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:j}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=L.transition;L.transition={};try{e()}finally{L.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return R.current.useCallback(e,t)},t.useContext=function(e){return R.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return R.current.useDeferredValue(e)},t.useEffect=function(e,t){return R.current.useEffect(e,t)},t.useId=function(){return R.current.useId()},t.useImperativeHandle=function(e,t,n){return R.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return R.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return R.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return R.current.useMemo(e,t)},t.useReducer=function(e,t,n){return R.current.useReducer(e,t,n)},t.useRef=function(e){return R.current.useRef(e)},t.useState=function(e){return R.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return R.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return R.current.useTransition()},t.version="18.2.0"},6540:(e,t,n)=>{"use strict";e.exports=n(5287)},4848:(e,t,n)=>{"use strict";e.exports=n(1020)},7463:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<o(a,t)))break e;e[r]=t,e[n]=a,n=r}}function r(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,i=a>>>1;r<i;){var s=2*(r+1)-1,l=e[s],c=s+1,u=e[c];if(0>o(l,n))c<a&&0>o(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(c<a&&0>o(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],u=[],d=1,f=null,p=3,h=!1,g=!1,m=!1,b="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function x(e){for(var t=r(u);null!==t;){if(null===t.callback)a(u);else{if(!(t.startTime<=e))break;a(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function w(e){if(m=!1,x(e),!g)if(null!==r(c))g=!0,L(k);else{var t=r(u);null!==t&&O(w,t.startTime-e)}}function k(e,n){g=!1,m&&(m=!1,y(C),C=-1),h=!0;var o=p;try{for(x(n),f=r(c);null!==f&&(!(f.expirationTime>n)||e&&!P());){var i=f.callback;if("function"==typeof i){f.callback=null,p=f.priorityLevel;var s=i(f.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?f.callback=s:f===r(c)&&a(c),x(n)}else a(c);f=r(c)}if(null!==f)var l=!0;else{var d=r(u);null!==d&&O(w,d.startTime-n),l=!1}return l}finally{f=null,p=o,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,_=!1,E=null,C=-1,T=5,A=-1;function P(){return!(t.unstable_now()-A<T)}function N(){if(null!==E){var e=t.unstable_now();A=e;var n=!0;try{n=E(!0,e)}finally{n?S():(_=!1,E=null)}}else _=!1}if("function"==typeof v)S=function(){v(N)};else if("undefined"!=typeof MessageChannel){var j=new MessageChannel,R=j.port2;j.port1.onmessage=N,S=function(){R.postMessage(null)}}else S=function(){b(N,0)};function L(e){E=e,_||(_=!0,S())}function O(e,n){C=b((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){g||h||(g=!0,L(k))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,a,o){var i=t.unstable_now();switch("object"==typeof o&&null!==o?o="number"==typeof(o=o.delay)&&0<o?i+o:i:o=i,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:a,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>i?(e.sortIndex=o,n(u,e),null===r(c)&&e===r(u)&&(m?(y(C),C=-1):m=!0,O(w,o-i))):(e.sortIndex=s,n(c,e),g||h||(g=!0,L(k))),e},t.unstable_shouldYield=P,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},9982:(e,t,n)=>{"use strict";e.exports=n(7463)},2833:e=>{e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<o.length;l++){var c=o[l];if(!s(c))return!1;var u=e[c],d=t[c];if(!1===(a=n?n.call(r,u,d,c):void 0)||void 0===a&&u!==d)return!1}return!0}},4784:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={title:"FHIR Dosage Utils",tagline:"From Data to Understandable Text and More",favicon:"img/favicon.ico",url:"https://jy95.github.io",baseUrl:"/fhir-dosage-utils/",organizationName:"jy95",projectName:"fhir-dosage-utils",onBrokenLinks:"throw",onBrokenMarkdownLinks:"warn",trailingSlash:!1,i18n:{defaultLocale:"en",locales:["en"],path:"i18n",localeConfigs:{}},plugins:[["docusaurus-plugin-typedoc-api",{projectRoot:"/home/runner/work/fhir-dosage-utils/fhir-dosage-utils",packages:["."]}],"./src/plugins/monacco.ts"],presets:[["classic",{docs:{remarkPlugins:[[null,{sync:!0}]],sidebarPath:"./sidebars.ts",editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/"},blog:{showReadingTime:!0,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/"},theme:{customCss:"./src/css/custom.css"}}]],themeConfig:{algolia:{appId:"A0H5ESUA6U",apiKey:"ed5931b0de2e3754e2da8e0f843443bd",indexName:"jy95io",contextualSearch:!0,searchParameters:{},searchPagePath:"search"},navbar:{title:"FHIR Dosage utils",logo:{alt:"FHIR Dosage utils Logo",src:"img/logo.svg"},items:[{type:"docSidebar",sidebarId:"tutorialSidebar",position:"left",label:"Tutorial"},{to:"api",label:"API",position:"left"},{to:"playground",label:"Playground",position:"left"},{to:"/blog",label:"Blog",position:"right"},{href:"https://github.com/jy95/fhir-dosage-utils",label:"GitHub",position:"right"}],hideOnScroll:!1},footer:{style:"dark",links:[],copyright:"Copyright \xa9 2024 Jacques Yakoub. Built with Docusaurus."},prism:{theme:{plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},darkTheme:{plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},additionalLanguages:["json"],magicComments:[{className:"theme-code-block-highlighted-line",line:"highlight-next-line",block:{start:"highlight-start",end:"highlight-end"}}]},colorMode:{defaultMode:"light",disableSwitch:!1,respectPrefersColorScheme:!1},docs:{versionPersistence:"localStorage",sidebar:{hideable:!1,autoCollapseCategories:!1}},metadata:[],tableOfContents:{minHeadingLevel:2,maxHeadingLevel:3}},baseUrlIssueBanner:!0,onBrokenAnchors:"warn",onDuplicateRoutes:"warn",staticDirectories:["static"],customFields:{},themes:[],scripts:[],headTags:[],stylesheets:[],clientModules:[],titleDelimiter:"|",noIndex:!1,markdown:{format:"mdx",mermaid:!1,mdx1Compat:{comments:!0,admonitions:!0,headingIds:!0}}}},8168:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},2892:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{A:()=>a})},8587:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}n.d(t,{A:()=>r})},4164:(e,t,n)=>{"use strict";function r(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=r(e[t]))&&(a&&(a+=" "),a+=n)}else for(n in e)e[n]&&(a&&(a+=" "),a+=n);return a}n.d(t,{A:()=>a});const a=function(){for(var e,t,n=0,a="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=r(e))&&(a&&(a+=" "),a+=t);return a}},1765:(e,t,n)=>{"use strict";n.d(t,{My:()=>T,f4:()=>ee});var r,a,o,i,s,l,c,u=n(6540),d=n(4164),f=Object.create,p=Object.defineProperty,h=Object.defineProperties,g=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertyNames,y=Object.getOwnPropertySymbols,v=Object.getPrototypeOf,x=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,k=(e,t,n)=>t in e?p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,S=(e,t)=>{for(var n in t||(t={}))x.call(t,n)&&k(e,n,t[n]);if(y)for(var n of y(t))w.call(t,n)&&k(e,n,t[n]);return e},_=(e,t)=>h(e,m(t)),E=(e,t)=>{var n={};for(var r in e)x.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&y)for(var r of y(e))t.indexOf(r)<0&&w.call(e,r)&&(n[r]=e[r]);return n},C=(r={"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var n=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function e(t,n){var a,o;switch(n=n||{},r.util.type(t)){case"Object":if(o=r.util.objId(t),n[o])return n[o];for(var i in a={},n[o]=a,t)t.hasOwnProperty(i)&&(a[i]=e(t[i],n));return a;case"Array":return o=r.util.objId(t),n[o]?n[o]:(a=[],n[o]=a,t.forEach((function(t,r){a[r]=e(t,n)})),a);default:return t}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},isActive:function(e,t,n){for(var r="no-"+t;e;){var a=e.classList;if(a.contains(t))return!0;if(a.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var a in t)n[a]=t[a];return n},insertBefore:function(e,t,n,a){var o=(a=a||r.languages)[e],i={};for(var s in o)if(o.hasOwnProperty(s)){if(s==t)for(var l in n)n.hasOwnProperty(l)&&(i[l]=n[l]);n.hasOwnProperty(s)||(i[s]=o[s])}var c=a[e];return a[e]=i,r.languages.DFS(r.languages,(function(t,n){n===c&&t!=e&&(this[t]=i)})),i},DFS:function e(t,n,a,o){o=o||{};var i=r.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],a||s);var l=t[s],c=r.util.type(l);"Object"!==c||o[i(l)]?"Array"!==c||o[i(l)]||(o[i(l)]=!0,e(l,n,s,o)):(o[i(l)]=!0,e(l,n,null,o))}}},plugins:{},highlight:function(e,t,n){var o={code:e,grammar:t,language:n};if(r.hooks.run("before-tokenize",o),!o.grammar)throw new Error('The language "'+o.language+'" has no grammar.');return o.tokens=r.tokenize(o.code,o.grammar),r.hooks.run("after-tokenize",o),a.stringify(r.util.encode(o.tokens),o.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var a=new s;return l(a,a.head,e),i(e,a,t,a.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(a)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var a,o=0;a=n[o++];)a(t)}},Token:a};function a(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var o=a[1].length;a.index+=o,a[0]=a[0].slice(o)}return a}function i(e,t,n,s,u,d){for(var f in n)if(n.hasOwnProperty(f)&&n[f]){var p=n[f];p=Array.isArray(p)?p:[p];for(var h=0;h<p.length;++h){if(d&&d.cause==f+","+h)return;var g=p[h],m=g.inside,b=!!g.lookbehind,y=!!g.greedy,v=g.alias;if(y&&!g.pattern.global){var x=g.pattern.toString().match(/[imsuy]*$/)[0];g.pattern=RegExp(g.pattern.source,x+"g")}for(var w=g.pattern||g,k=s.next,S=u;k!==t.tail&&!(d&&S>=d.reach);S+=k.value.length,k=k.next){var _=k.value;if(t.length>e.length)return;if(!(_ instanceof a)){var E,C=1;if(y){if(!(E=o(w,S,e,b))||E.index>=e.length)break;var T=E.index,A=E.index+E[0].length,P=S;for(P+=k.value.length;T>=P;)P+=(k=k.next).value.length;if(S=P-=k.value.length,k.value instanceof a)continue;for(var N=k;N!==t.tail&&(P<A||"string"==typeof N.value);N=N.next)C++,P+=N.value.length;C--,_=e.slice(S,P),E.index-=S}else if(!(E=o(w,0,_,b)))continue;T=E.index;var j=E[0],R=_.slice(0,T),L=_.slice(T+j.length),O=S+_.length;d&&O>d.reach&&(d.reach=O);var M=k.prev;if(R&&(M=l(t,M,R),S+=R.length),c(t,M,C),k=l(t,M,new a(f,m?r.tokenize(j,m):j,v,j)),L&&l(t,k,L),C>1){var I={cause:f+","+h,reach:O};i(e,t,n,k.prev,S,I),d&&I.reach>d.reach&&(d.reach=I.reach)}}}}}}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}function c(e,t,n){for(var r=t.next,a=0;a<n&&r!==e.tail;a++)r=r.next;t.next=r,r.prev=t,e.length-=a}return a.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var a="";return t.forEach((function(t){a+=e(t,n)})),a}var o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(o.classes,i):o.classes.push(i)),r.hooks.run("wrap",o);var s="";for(var l in o.attributes)s+=" "+l+'="'+(o.attributes[l]||"").replace(/"/g,""")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+s+">"+o.content+"</"+o.tag+">"},r}();t.exports=n,n.default=n}},function(){return a||(0,r[b(r)[0]])((a={exports:{}}).exports,a),a.exports}),T=((e,t,n)=>(n=null!=e?f(v(e)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of b(t))x.call(e,a)||a===n||p(e,a,{get:()=>t[a],enumerable:!(r=g(t,a))||r.enumerable});return e})(!t&&e&&e.__esModule?n:p(n,"default",{value:e,enumerable:!0}),e)))(C());T.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},T.languages.markup.tag.inside["attr-value"].inside.entity=T.languages.markup.entity,T.languages.markup.doctype.inside["internal-subset"].inside=T.languages.markup,T.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(T.languages.markup.tag,"addInlined",{value:function(e,t){var n;(t=((n=((n={})["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:T.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}}))["language-"+t]={pattern:/[\s\S]+/,inside:T.languages[t]},{}))[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:n},T.languages.insertBefore("markup","cdata",t)}}),Object.defineProperty(T.languages.markup.tag,"addAttribute",{value:function(e,t){T.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:T.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),T.languages.html=T.languages.markup,T.languages.mathml=T.languages.markup,T.languages.svg=T.languages.markup,T.languages.xml=T.languages.extend("markup",{}),T.languages.ssml=T.languages.xml,T.languages.atom=T.languages.xml,T.languages.rss=T.languages.xml,o=T,i={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},l="(?:[^\\\\-]|"+(s=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")",l=RegExp(l+"-"+l),c={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},o.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:l,inside:{escape:s,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":i,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:s}},"special-escape":i,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":c}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:s,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":c}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}},T.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},T.languages.javascript=T.languages.extend("clike",{"class-name":[T.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),T.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,T.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:T.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:T.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:T.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:T.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:T.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),T.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:T.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),T.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),T.languages.markup&&(T.languages.markup.tag.addInlined("script","javascript"),T.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),T.languages.js=T.languages.javascript,T.languages.actionscript=T.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),T.languages.actionscript["class-name"].alias="function",delete T.languages.actionscript.parameter,delete T.languages.actionscript["literal-property"],T.languages.markup&&T.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:T.languages.markup}}),function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(T),function(e){var t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(t,"addSupport",{value:function(t,n){(t="string"==typeof t?[t]:t).forEach((function(t){var r=function(e){e.inside||(e.inside={}),e.inside.rest=n},a="doc-comment";if(o=e.languages[t]){var o,i=o[a];if((i=i||(o=e.languages.insertBefore(t,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[a])instanceof RegExp&&(i=o[a]={pattern:i}),Array.isArray(i))for(var s=0,l=i.length;s<l;s++)i[s]instanceof RegExp&&(i[s]={pattern:i[s]}),r(i[s]);else r(i)}}))}}),t.addSupport(["java","javascript","php"],t)}(T),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;(t=(e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,e.languages.markup))&&(t.tag.addInlined("style","css"),t.tag.addAttribute("style","css"))}(T),function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=(t=(e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+t.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[t,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),{pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0});e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:n})}(T),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<value>>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<key>>/g,(function(){return"(?:"+a+"|"+o+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(o),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(T),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,i=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var a,o=t[n];"code"!==o.type?e(o.content):(a=o.content[1],o=o.content[3],a&&o&&"code-language"===a.type&&"code-block"===o.type&&"string"==typeof a.content&&(a=a.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),a="language-"+(a=(/[a-z][\w-]*/i.exec(a)||[""])[0].toLowerCase()),o.alias?"string"==typeof o.alias?o.alias=[o.alias,a]:o.alias.push(a):o.alias=[a]))}}(e.tokens)})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var n="",r=0,a=t.classes.length;r<a;r++){var o=t.classes[r];if(o=/language-(.+)/.exec(o)){n=o[1];break}}var c,u=e.languages[n];u?t.content=e.highlight(t.content.replace(i,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;return"#"===(t=t.toLowerCase())[0]?(n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),l(n)):s[t]||e})),u,n):n&&"none"!==n&&e.plugins.autoloader&&(c="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random()),t.attributes.id=c,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(c);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))})))}})),RegExp(e.languages.markup.tag.pattern.source,"gi")),s={amp:"&",lt:"<",gt:">",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(T),T.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:T.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},T.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n<t.length;){var r=t[n++];if("keyword"===r.type&&"mutation"===r.content){var a=[];if(d(["definition-mutation","punctuation"])&&"("===u(1).content){n+=2;var o=f(/^\($/,/^\)$/);if(-1===o)continue;for(;n<o;n++){var i=u(0);"variable"===i.type&&(p(i,"variable-input"),a.push(i.content))}n=o+1}if(d(["punctuation","property-query"])&&"{"===u(0).content&&(n++,p(u(0),"property-mutation"),0<a.length)){var s=f(/^\{$/,/^\}$/);if(-1!==s)for(var l=n;l<s;l++){var c=t[l];"variable"===c.type&&0<=a.indexOf(c.content)&&p(c,"variable-input")}}}}function u(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n<e.length;n++){var r=u(n+t);if(!r||r.type!==e[n])return}return 1}function f(e,r){for(var a=1,o=n;o<t.length;o++){var i=t[o],s=i.content;if("punctuation"===i.type&&"string"==typeof s)if(e.test(s))a++;else if(r.test(s)&&0==--a)return o}return-1}function p(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}})),T.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function s(t,n,r){return t={code:t,grammar:n,language:r},e.hooks.run("before-tokenize",t),t.tokens=e.tokenize(t.code,t.grammar),e.hooks.run("after-tokenize",t),t.tokens}function l(t,n,i){var l=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),c=0,u={},d=(l=s(l.map((function(e){if("string"==typeof e)return e;var n,r;for(e=e.content;-1!==t.indexOf((r=c++,n="___"+i.toUpperCase()+"_"+r+"___")););return u[n]=e,n})).join(""),n,i),Object.keys(u));return c=0,function t(n){for(var o=0;o<n.length;o++){if(c>=d.length)return;var i,l,f,p,h,g,m,b=n[o];"string"==typeof b||"string"==typeof b.content?(i=d[c],-1!==(m=(g="string"==typeof b?b:b.content).indexOf(i))&&(++c,l=g.substring(0,m),h=u[i],f=void 0,(p={})["interpolation-punctuation"]=a,3===(p=e.tokenize(h,p)).length&&((f=[1,1]).push.apply(f,s(p[1],e.languages.javascript,"javascript")),p.splice.apply(p,f)),f=new e.Token("interpolation",p,r.alias,h),p=g.substring(m+i.length),h=[],l&&h.push(l),h.push(f),p&&(t(g=[p]),h.push.apply(h,g)),"string"==typeof b?(n.splice.apply(n,[o,1].concat(h)),o+=h.length-1):b.content=h)):(m=b.content,Array.isArray(m)?t(m):t([m]))}}(l),new e.Token(i,l,"language-"+i,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var c={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function u(e){return"string"==typeof e?e:Array.isArray(e)?e.map(u).join(""):u(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in c&&function t(n){for(var r=0,a=n.length;r<a;r++){var o,i,s,c=n[r];"string"!=typeof c&&(o=c.content,Array.isArray(o)?"template-string"===c.type?(c=o[1],3===o.length&&"string"!=typeof c&&"embedded-code"===c.type&&(i=u(c),c=c.alias,c=Array.isArray(c)?c[0]:c,s=e.languages[c])&&(o[1]=l(i,s,c))):t(o):"string"!=typeof o&&t([o]))}}(t.tokens)}))}(T),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(T),function(e){var t=e.languages.javascript,n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,r="(@(?:arg|argument|param|property)\\s+(?:"+n+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(r+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(r+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,(function(){return n}))),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(T),function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(T),T.languages.n4js=T.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),T.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),T.languages.n4jsd=T.languages.n4js,function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r<n.length;r++){var a=n[r],o=e.languages.javascript[a];a=(o="RegExp"===e.util.type(o)?e.languages.javascript[a]={pattern:o}:o).inside||{};(o.inside=a)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(T),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,a=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function o(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return a})),RegExp(e,t)}function i(t){for(var n=[],r=0;r<t.length;r++){var a=t[r],o=!1;"string"!=typeof a&&("tag"===a.type&&a.content[0]&&"tag"===a.content[0].type?"</"===a.content[0].content[0].content?0<n.length&&n[n.length-1].tagName===s(a.content[0].content[1])&&n.pop():"/>"!==a.content[a.content.length-1].content&&n.push({tagName:s(a.content[0].content[1]),openedBraces:0}):0<n.length&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:0<n.length&&0<n[n.length-1].openedBraces&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:o=!0),(o||"string"==typeof a)&&0<n.length&&0===n[n.length-1].openedBraces&&(o=s(a),r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(o+=s(t[r+1]),t.splice(r+1,1)),0<r&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(o=s(t[r-1])+o,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",o,null,o)),a.content&&"string"!=typeof a.content&&i(a.content)}}a=o(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var s=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(s).join(""):""};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||i(e.tokens)}))}(T),function(e){var t=e.util.clone(e.languages.typescript);(t=(e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],e.languages.tsx.tag)).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+t.pattern.source+")",t.pattern.flags),t.lookbehind=!0}(T),T.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ \t]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},T.languages.swift["string-literal"].forEach((function(e){e.inside.interpolation.inside=T.languages.swift})),function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(T),T.languages.c=T.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),T.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),T.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},T.languages.c.string],char:T.languages.c.char,comment:T.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:T.languages.c}}}}),T.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete T.languages.c.boolean,T.languages.objectivec=T.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete T.languages.objectivec["class-name"],T.languages.objc=T.languages.objectivec,T.languages.reason=T.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),T.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete T.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,(function(){return t}));t=t.replace(/<self>/g,(function(){return/[^\s\S]/.source})),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(T),T.languages.go=T.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),T.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete T.languages.go["class-name"],function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(T),T.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},T.languages.python["string-interpolation"].inside.interpolation.inside.rest=T.languages.python,T.languages.py=T.languages.python;((e,t)=>{for(var n in t)p(e,n,{get:t[n],enumerable:!0})})({},{dracula:()=>A,duotoneDark:()=>P,duotoneLight:()=>N,github:()=>j,jettwaveDark:()=>W,jettwaveLight:()=>H,nightOwl:()=>R,nightOwlLight:()=>L,oceanicNext:()=>I,okaidia:()=>D,oneDark:()=>V,oneLight:()=>G,palenight:()=>F,shadesOfPurple:()=>B,synthwave84:()=>z,ultramin:()=>q,vsDark:()=>$,vsLight:()=>U});var A={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},P={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},N={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},j={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},R={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},L={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},O="#c5a5c5",M="#8dc891",I={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:O}},{types:["attr-value"],style:{color:M}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:"#999999"}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:"#5a9bcf"}},{types:["boolean"],style:{color:"#ff8b50"}},{types:["tag"],style:{color:"#fc929e"}},{types:["string"],style:{color:M}},{types:["punctuation"],style:{color:M}},{types:["selector","char","builtin","inserted"],style:{color:"#D8DEE9"}},{types:["function"],style:{color:"#79b6f2"}},{types:["operator","entity","url","variable"],style:{color:"#d7deea"}},{types:["keyword"],style:{color:O}},{types:["atrule","class-name"],style:{color:"#FAC863"}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},D={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},F={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},B={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},z={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},q={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},$={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},U={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},W={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},H={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},V={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},G={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},Q=(e,t)=>{const{plain:n}=e,r=e.styles.reduce(((e,n)=>{const{languages:r,style:a}=n;return r&&!r.includes(t)||n.types.forEach((t=>{const n=S(S({},e[t]),a);e[t]=n})),e}),{});return r.root=n,r.plain=_(S({},n),{backgroundColor:void 0}),r},K=/\r\n|\r|\n/,Y=e=>{0===e.length?e.push({types:["plain"],content:"\n",empty:!0}):1===e.length&&""===e[0].content&&(e[0].content="\n",e[0].empty=!0)},Z=(e,t)=>{const n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},X=e=>{const t=[[]],n=[e],r=[0],a=[e.length];let o=0,i=0,s=[];const l=[s];for(;i>-1;){for(;(o=r[i]++)<a[i];){let e,c=t[i];const u=n[i][o];if("string"==typeof u?(c=i>0?c:["plain"],e=u):(c=Z(c,u.type),u.alias&&(c=Z(c,u.alias)),e=u.content),"string"!=typeof e){i++,t.push(c),n.push(e),r.push(0),a.push(e.length);continue}const d=e.split(K),f=d.length;s.push({types:c,content:d[0]});for(let t=1;t<f;t++)Y(s),l.push(s=[]),s.push({types:c,content:d[t]})}i--,t.pop(),n.pop(),r.pop(),a.pop()}return Y(s),l},J=({children:e,language:t,code:n,theme:r,prism:a})=>{const o=t.toLowerCase(),i=((e,t)=>{const[n,r]=(0,u.useState)(Q(t,e)),a=(0,u.useRef)(),o=(0,u.useRef)();return(0,u.useEffect)((()=>{t===a.current&&e===o.current||(a.current=t,o.current=e,r(Q(t,e)))}),[e,t]),n})(o,r),s=(e=>(0,u.useCallback)((t=>{var n=t,{className:r,style:a,line:o}=n,i=E(n,["className","style","line"]);const s=_(S({},i),{className:(0,d.A)("token-line",r)});return"object"==typeof e&&"plain"in e&&(s.style=e.plain),"object"==typeof a&&(s.style=S(S({},s.style||{}),a)),s}),[e]))(i),l=(e=>{const t=(0,u.useCallback)((({types:t,empty:n})=>{if(null!=e)return 1===t.length&&"plain"===t[0]?null!=n?{display:"inline-block"}:void 0:1===t.length&&null!=n?e[t[0]]:Object.assign(null!=n?{display:"inline-block"}:{},...t.map((t=>e[t])))}),[e]);return(0,u.useCallback)((e=>{var n=e,{token:r,className:a,style:o}=n,i=E(n,["token","className","style"]);const s=_(S({},i),{className:(0,d.A)("token",...r.types,a),children:r.content,style:t(r)});return null!=o&&(s.style=S(S({},s.style||{}),o)),s}),[t])})(i),c=(({prism:e,code:t,grammar:n,language:r})=>{const a=(0,u.useRef)(e);return(0,u.useMemo)((()=>{if(null==n)return X([t]);const e={code:t,grammar:n,language:r,tokens:[]};return a.current.hooks.run("before-tokenize",e),e.tokens=a.current.tokenize(t,n),a.current.hooks.run("after-tokenize",e),X(e.tokens)}),[t,n,r])})({prism:a,language:o,code:n,grammar:a.languages[o]});return e({tokens:c,className:`prism-code language-${o}`,style:null!=i?i.root:{},getLineProps:s,getTokenProps:l})},ee=e=>(0,u.createElement)(J,_(S({},e),{prism:e.prism||T,theme:e.theme||$,code:e.code,language:e.language}))},1561:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=!0,a="Invariant failed";function o(e,t){if(!e){if(r)throw new Error(a);var n="function"==typeof t?t():t,o=n?"".concat(a,": ").concat(n):a;throw new Error(o)}}},2654:e=>{"use strict";e.exports={}},4054:e=>{"use strict";e.exports=JSON.parse('{"/fhir-dosage-utils/blog-557":{"__comp":"a6aa9e1f","__context":{"plugin":"3a65aa90"},"sidebar":"814f3328","items":[{"content":"d026f85a"},{"content":"f71da0e1"}],"metadata":"c6db0fe6"},"/fhir-dosage-utils/blog/archive-62b":{"__comp":"9e4087bc","__context":{"plugin":"3a65aa90"},"archive":"091b5925"},"/fhir-dosage-utils/blog/empowerment-d89":{"__comp":"ccc49370","__context":{"plugin":"3a65aa90"},"sidebar":"814f3328","content":"e3948197"},"/fhir-dosage-utils/blog/tags-127":{"__comp":"01a85c17","__context":{"plugin":"3a65aa90"},"sidebar":"814f3328","tags":"30320f60"},"/fhir-dosage-utils/blog/tags/features-fb1":{"__comp":"6875c492","__context":{"plugin":"3a65aa90"},"sidebar":"814f3328","items":[{"content":"d026f85a"}],"tag":"3663b37e","listMetadata":"b21f49cb"},"/fhir-dosage-utils/blog/tags/welcome-7ca":{"__comp":"6875c492","__context":{"plugin":"3a65aa90"},"sidebar":"814f3328","items":[{"content":"f71da0e1"}],"tag":"2e7d5b3b","listMetadata":"8472a9bd"},"/fhir-dosage-utils/blog/welcome-f9e":{"__comp":"ccc49370","__context":{"plugin":"3a65aa90"},"sidebar":"814f3328","content":"aa8d6d0b"},"/fhir-dosage-utils/examples/timing-e70":{"__comp":"d5205798","__context":{"plugin":"90795d4d"},"config":"5e9f5e1a"},"/fhir-dosage-utils/playground-b93":{"__comp":"8926b418","__context":{"plugin":"90795d4d"},"config":"5e9f5e1a"},"/fhir-dosage-utils/search-898":{"__comp":"1a4e3797","__context":{"plugin":"8cbc1f65"}},"/fhir-dosage-utils/api-98e":{"__comp":"5e95c892","__context":{"plugin":"bcc42c6c"}},"/fhir-dosage-utils/api-438":{"__comp":"a7bd4aaa","version":"933cb006"},"/fhir-dosage-utils/api-027":{"__comp":"04baef29","options":"667c56e4","packages":"1cae87f6"},"/fhir-dosage-utils/api-72f":{"__comp":"c578995c"},"/fhir-dosage-utils/api/class/default-79a":{"__comp":"c578995c"},"/fhir-dosage-utils/api/enum/DisplayOrderEnum-c2f":{"__comp":"c578995c"},"/fhir-dosage-utils/api/interface/Params-bdc":{"__comp":"c578995c"},"/fhir-dosage-utils/docs-08d":{"__comp":"5e95c892","__context":{"plugin":"4246bee9"}},"/fhir-dosage-utils/docs-17d":{"__comp":"a7bd4aaa","version":"935f2afb"},"/fhir-dosage-utils/docs-5a3":{"__comp":"a94703ab"},"/fhir-dosage-utils/docs/category/-additionalinstruction-742":{"__comp":"14eb3368","categoryGeneratedIndex":"28886c38"},"/fhir-dosage-utils/docs/category/-asneeded-b99":{"__comp":"14eb3368","categoryGeneratedIndex":"b3272642"},"/fhir-dosage-utils/docs/category/\ufe0f-boundsduration-5a2":{"__comp":"14eb3368","categoryGeneratedIndex":"634f877e"},"/fhir-dosage-utils/docs/category/-boundsperiod-064":{"__comp":"14eb3368","categoryGeneratedIndex":"01e1ca65"},"/fhir-dosage-utils/docs/category/-boundsrange-7af":{"__comp":"14eb3368","categoryGeneratedIndex":"b83c006f"},"/fhir-dosage-utils/docs/category/-code-67e":{"__comp":"14eb3368","categoryGeneratedIndex":"c20bb7f9"},"/fhir-dosage-utils/docs/category/-count--countmax-759":{"__comp":"14eb3368","categoryGeneratedIndex":"79da1881"},"/fhir-dosage-utils/docs/category/-dayofweek-5e7":{"__comp":"14eb3368","categoryGeneratedIndex":"0931abdb"},"/fhir-dosage-utils/docs/category/-dosequantity-724":{"__comp":"14eb3368","categoryGeneratedIndex":"92f3c933"},"/fhir-dosage-utils/docs/category/-doserange-b54":{"__comp":"14eb3368","categoryGeneratedIndex":"41e66423"},"/fhir-dosage-utils/docs/category/-durationdurationmax-256":{"__comp":"14eb3368","categoryGeneratedIndex":"a6743c64"},"/fhir-dosage-utils/docs/category/-event-336":{"__comp":"14eb3368","categoryGeneratedIndex":"74cb3b1c"},"/fhir-dosage-utils/docs/category/-frequencyfrequencymax-a92":{"__comp":"14eb3368","categoryGeneratedIndex":"3c4bff03"},"/fhir-dosage-utils/docs/category/-maxdoseperadministration-a78":{"__comp":"14eb3368","categoryGeneratedIndex":"c0f1940f"},"/fhir-dosage-utils/docs/category/-maxdoseperlifetime-7bc":{"__comp":"14eb3368","categoryGeneratedIndex":"447f614c"},"/fhir-dosage-utils/docs/category/-maxdoseperperiod-0fb":{"__comp":"14eb3368","categoryGeneratedIndex":"da14fb93"},"/fhir-dosage-utils/docs/category/\ufe0f-method-e28":{"__comp":"14eb3368","categoryGeneratedIndex":"e388e5ed"},"/fhir-dosage-utils/docs/category/-offset-d99":{"__comp":"14eb3368","categoryGeneratedIndex":"2b9b0bac"},"/fhir-dosage-utils/docs/category/-offset-when-f85":{"__comp":"14eb3368","categoryGeneratedIndex":"91e5c259"},"/fhir-dosage-utils/docs/category/-patientinstruction-f71":{"__comp":"14eb3368","categoryGeneratedIndex":"6eeea2b6"},"/fhir-dosage-utils/docs/category/\ufe0f-periodperiodmax-25d":{"__comp":"14eb3368","categoryGeneratedIndex":"5d75ee92"},"/fhir-dosage-utils/docs/category/\ufe0f-ratequantity-1d3":{"__comp":"14eb3368","categoryGeneratedIndex":"5c187a43"},"/fhir-dosage-utils/docs/category/\ufe0f-raterange-ff7":{"__comp":"14eb3368","categoryGeneratedIndex":"052ceecb"},"/fhir-dosage-utils/docs/category/-rateratio-972":{"__comp":"14eb3368","categoryGeneratedIndex":"1b34e59a"},"/fhir-dosage-utils/docs/category/\ufe0f-route-66b":{"__comp":"14eb3368","categoryGeneratedIndex":"1d61667d"},"/fhir-dosage-utils/docs/category/\ufe0f-sequence-30e":{"__comp":"14eb3368","categoryGeneratedIndex":"4ed72121"},"/fhir-dosage-utils/docs/category/-site-2a9":{"__comp":"14eb3368","categoryGeneratedIndex":"b6b32736"},"/fhir-dosage-utils/docs/category/-text-100":{"__comp":"14eb3368","categoryGeneratedIndex":"14b7973a"},"/fhir-dosage-utils/docs/category/-timeofday-a63":{"__comp":"14eb3368","categoryGeneratedIndex":"4d15c614"},"/fhir-dosage-utils/docs/category/-when-bac":{"__comp":"14eb3368","categoryGeneratedIndex":"7ff2ef1f"},"/fhir-dosage-utils/docs/contributing-6d0":{"__comp":"17896441","content":"72a427b3"},"/fhir-dosage-utils/docs/custom/dateTimeFormatOptions-174":{"__comp":"17896441","content":"c9387e11"},"/fhir-dosage-utils/docs/custom/displayOrder-87d":{"__comp":"17896441","content":"78f84b63"},"/fhir-dosage-utils/docs/custom/displaySeparator-26e":{"__comp":"17896441","content":"a5e5ec5a"},"/fhir-dosage-utils/docs/custom/fromCodeableConceptToString-025":{"__comp":"17896441","content":"533a8e17"},"/fhir-dosage-utils/docs/custom/fromExtensionsToString-435":{"__comp":"17896441","content":"cd12752c"},"/fhir-dosage-utils/docs/custom/fromFHIRQuantityUnitToString-57f":{"__comp":"17896441","content":"430bd102"},"/fhir-dosage-utils/docs/custom/i18nConfig-68c":{"__comp":"17896441","content":"026611d2"},"/fhir-dosage-utils/docs/demo-b12":{"__comp":"14eb3368","categoryGeneratedIndex":"6f133880"},"/fhir-dosage-utils/docs/demo/custom-f72":{"__comp":"14eb3368","categoryGeneratedIndex":"f2d946fd"},"/fhir-dosage-utils/docs/demo/examples-611":{"__comp":"14eb3368","categoryGeneratedIndex":"ce6de2dc"},"/fhir-dosage-utils/docs/demo/examples/medicationrequest-e6b":{"__comp":"14eb3368","categoryGeneratedIndex":"4287e57f"},"/fhir-dosage-utils/docs/demo/specs-3fd":{"__comp":"14eb3368","categoryGeneratedIndex":"4f5b57b4"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx002-b9f":{"__comp":"17896441","content":"d9a0709a"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx003-24a":{"__comp":"17896441","content":"fdba5499"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx004-15b":{"__comp":"17896441","content":"ef54304a"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0301-4cc":{"__comp":"17896441","content":"36cdde70"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0302-ed1":{"__comp":"17896441","content":"4faaf014"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0303-fcd":{"__comp":"17896441","content":"9caecde7"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0305-283":{"__comp":"17896441","content":"4628893b"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0307-295":{"__comp":"17896441","content":"4e847481"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0308-767":{"__comp":"17896441","content":"20a65861"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0310-7f2":{"__comp":"17896441","content":"3766ff12"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0313-17c":{"__comp":"17896441","content":"6a4d8b82"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0314-312":{"__comp":"17896441","content":"01aca802"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0315-cd0":{"__comp":"17896441","content":"c0086ef4"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0317-511":{"__comp":"17896441","content":"21119077"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0319-264":{"__comp":"17896441","content":"265a61ea"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0321-cf4":{"__comp":"17896441","content":"201e0385"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0331-be5":{"__comp":"17896441","content":"4eb59f15"},"/fhir-dosage-utils/docs/examples/medicationrequest/medrx0339-b74":{"__comp":"17896441","content":"ebb1249f"},"/fhir-dosage-utils/docs/faq-377":{"__comp":"17896441","content":"ea313555"},"/fhir-dosage-utils/docs/next-steps-609":{"__comp":"17896441","content":"ec99730f"},"/fhir-dosage-utils/docs/quick-start-887":{"__comp":"17896441","content":"c179f821"},"/fhir-dosage-utils/docs/specs/additionalInstruction/multiple_items-6cc":{"__comp":"17896441","content":"17baba0b"},"/fhir-dosage-utils/docs/specs/additionalInstruction/single_item-c14":{"__comp":"17896441","content":"12564d99"},"/fhir-dosage-utils/docs/specs/asNeeded-93e":{"__comp":"17896441","content":"5c2c208f"},"/fhir-dosage-utils/docs/specs/asNeeded/asNeededBoolean-558":{"__comp":"17896441","content":"55373fd9"},"/fhir-dosage-utils/docs/specs/asNeeded/asNeededCodeableConcept-05d":{"__comp":"17896441","content":"118e00e5"},"/fhir-dosage-utils/docs/specs/asNeeded/asNeededFor-ed5":{"__comp":"17896441","content":"3903b0d4"},"/fhir-dosage-utils/docs/specs/boundsDuration-2f2":{"__comp":"17896441","content":"f7adbe59"},"/fhir-dosage-utils/docs/specs/boundsPeriod/end_only-907":{"__comp":"17896441","content":"1668a7c3"},"/fhir-dosage-utils/docs/specs/boundsPeriod/start_and_end-d91":{"__comp":"17896441","content":"254404d2"},"/fhir-dosage-utils/docs/specs/boundsPeriod/start_only-e93":{"__comp":"17896441","content":"40c0f713"},"/fhir-dosage-utils/docs/specs/boundsRange/high_only-91c":{"__comp":"17896441","content":"162bd28d"},"/fhir-dosage-utils/docs/specs/boundsRange/low_and_high-a6b":{"__comp":"17896441","content":"2c4b321a"},"/fhir-dosage-utils/docs/specs/boundsRange/low_only-682":{"__comp":"17896441","content":"04716c54"},"/fhir-dosage-utils/docs/specs/code-cb2":{"__comp":"17896441","content":"883bfc27"},"/fhir-dosage-utils/docs/specs/countCountMax/count-7b1":{"__comp":"17896441","content":"2a331aeb"},"/fhir-dosage-utils/docs/specs/countCountMax/count_and_countMax-b6c":{"__comp":"17896441","content":"38ae24f3"},"/fhir-dosage-utils/docs/specs/countCountMax/countMax_only-4e2":{"__comp":"17896441","content":"829c17da"},"/fhir-dosage-utils/docs/specs/dayOfWeek/multiple_items-56a":{"__comp":"17896441","content":"49044b90"},"/fhir-dosage-utils/docs/specs/dayOfWeek/single_item-6bc":{"__comp":"17896441","content":"915d2175"},"/fhir-dosage-utils/docs/specs/doseQuantity-5f5":{"__comp":"17896441","content":"7ebf62b0"},"/fhir-dosage-utils/docs/specs/doseRange/high_only-856":{"__comp":"17896441","content":"e8ce008f"},"/fhir-dosage-utils/docs/specs/doseRange/low_and_high-9a6":{"__comp":"17896441","content":"96e7b265"},"/fhir-dosage-utils/docs/specs/doseRange/low_only-43a":{"__comp":"17896441","content":"b30e43e1"},"/fhir-dosage-utils/docs/specs/durationDurationMax/duration_and_durationMax-5d3":{"__comp":"17896441","content":"460a5c5b"},"/fhir-dosage-utils/docs/specs/durationDurationMax/duration_only-1f9":{"__comp":"17896441","content":"6bccb6a0"},"/fhir-dosage-utils/docs/specs/durationDurationMax/durationMax_only-b96":{"__comp":"17896441","content":"87294416"},"/fhir-dosage-utils/docs/specs/event/multiple_items-98a":{"__comp":"17896441","content":"ece64983"},"/fhir-dosage-utils/docs/specs/event/single_item-1c8":{"__comp":"17896441","content":"bc0994c2"},"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_and_frequencyMax-2dc":{"__comp":"17896441","content":"97031957"},"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_only-ca7":{"__comp":"17896441","content":"774b774e"},"/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequencyMax_only-657":{"__comp":"17896441","content":"133d1207"},"/fhir-dosage-utils/docs/specs/maxDosePerAdministration-a2e":{"__comp":"17896441","content":"06a006fb"},"/fhir-dosage-utils/docs/specs/maxDosePerLifetime-43e":{"__comp":"17896441","content":"7614ce18"},"/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r4-e7f":{"__comp":"17896441","content":"afe92c27"},"/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r5-ef5":{"__comp":"17896441","content":"3fb26655"},"/fhir-dosage-utils/docs/specs/method-b9f":{"__comp":"17896441","content":"3216d4c8"},"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_days-88d":{"__comp":"17896441","content":"20b5be5c"},"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_hours-541":{"__comp":"17896441","content":"0530b1c5"},"/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_minutes-eec":{"__comp":"17896441","content":"fa572d46"},"/fhir-dosage-utils/docs/specs/offsetWhen/when_and_offset-04e":{"__comp":"17896441","content":"1f927e7e"},"/fhir-dosage-utils/docs/specs/offsetWhen/when/multiple_items-d44":{"__comp":"17896441","content":"1c1d0071"},"/fhir-dosage-utils/docs/specs/offsetWhen/when/single_item-ad0":{"__comp":"17896441","content":"d0a7fa20"},"/fhir-dosage-utils/docs/specs/patientInstruction-614":{"__comp":"17896441","content":"aa77b6a8"},"/fhir-dosage-utils/docs/specs/periodPeriodMax/period_and_periodMax-e71":{"__comp":"17896441","content":"ab10b176"},"/fhir-dosage-utils/docs/specs/periodPeriodMax/period_only-091":{"__comp":"17896441","content":"139f9fbc"},"/fhir-dosage-utils/docs/specs/periodPeriodMax/periodMax_only-8b4":{"__comp":"17896441","content":"e9832d3c"},"/fhir-dosage-utils/docs/specs/rateQuantity-77a":{"__comp":"17896441","content":"ad90b1c0"},"/fhir-dosage-utils/docs/specs/rateRange/high_only-d95":{"__comp":"17896441","content":"03620de3"},"/fhir-dosage-utils/docs/specs/rateRange/low_and_high-ec3":{"__comp":"17896441","content":"3f237283"},"/fhir-dosage-utils/docs/specs/rateRange/low_only-3ec":{"__comp":"17896441","content":"b52bbddc"},"/fhir-dosage-utils/docs/specs/rateRatio-ff8":{"__comp":"17896441","content":"ee929032"},"/fhir-dosage-utils/docs/specs/route-ad7":{"__comp":"17896441","content":"5f46c019"},"/fhir-dosage-utils/docs/specs/sequence/concurrent_instructions-f09":{"__comp":"17896441","content":"3d23bc21"},"/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_1-9ee":{"__comp":"17896441","content":"76aa043d"},"/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_2-c7b":{"__comp":"17896441","content":"4cbe19c8"},"/fhir-dosage-utils/docs/specs/site-d67":{"__comp":"17896441","content":"1cd656ab"},"/fhir-dosage-utils/docs/specs/text-5d5":{"__comp":"17896441","content":"c36217b7"},"/fhir-dosage-utils/docs/specs/timeOfDay/multiple_items-29c":{"__comp":"17896441","content":"f58af7d8"},"/fhir-dosage-utils/docs/specs/timeOfDay/single_item-f7b":{"__comp":"17896441","content":"124c4f9d"},"/fhir-dosage-utils/-3e2":{"__comp":"1df93b7f","__context":{"plugin":"90795d4d"},"config":"5e9f5e1a"}}')}},e=>{e.O(0,[1869],(()=>{return t=8536,e(e.s=t);var t}));e.O()}]); \ No newline at end of file diff --git a/assets/js/main.71497cf7.js.LICENSE.txt b/assets/js/main.a07d52ec.js.LICENSE.txt similarity index 100% rename from assets/js/main.71497cf7.js.LICENSE.txt rename to assets/js/main.a07d52ec.js.LICENSE.txt diff --git a/assets/js/runtime~main.71f5188d.js b/assets/js/runtime~main.71f5188d.js deleted file mode 100644 index edb06667..00000000 --- a/assets/js/runtime~main.71f5188d.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{"use strict";var e,a,c,b,f,d={},t={};function r(e){var a=t[e];if(void 0!==a)return a.exports;var c=t[e]={exports:{}};return d[e].call(c.exports,c,c.exports,r),c.exports}r.m=d,r.amdO={},e=[],r.O=(a,c,b,f)=>{if(!c){var d=1/0;for(i=0;i<e.length;i++){c=e[i][0],b=e[i][1],f=e[i][2];for(var t=!0,o=0;o<c.length;o++)(!1&f||d>=f)&&Object.keys(r.O).every((e=>r.O[e](c[o])))?c.splice(o--,1):(t=!1,f<d&&(d=f));if(t){e.splice(i--,1);var n=b();void 0!==n&&(a=n)}}return a}f=f||0;for(var i=e.length;i>0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[c,b,f]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},c=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,b){if(1&b&&(e=this(e)),8&b)return e;if("object"==typeof e&&e){if(4&b&&e.__esModule)return e;if(16&b&&"function"==typeof e.then)return e}var f=Object.create(null);r.r(f);var d={};a=a||[null,c({}),c([]),c(c)];for(var t=2&b&&e;"object"==typeof t&&!~a.indexOf(t);t=c(t))Object.getOwnPropertyNames(t).forEach((a=>d[a]=()=>e[a]));return d.default=()=>e,r.d(f,d),f},r.d=(e,a)=>{for(var c in a)r.o(a,c)&&!r.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:a[c]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,c)=>(r.f[c](e,a),a)),[])),r.u=e=>"assets/js/"+({57:"4ed72121",85:"3d23bc21",397:"4d15c614",417:"7ebf62b0",513:"ad90b1c0",554:"1cae87f6",578:"139f9fbc",581:"933cb006",585:"2c4b321a",743:"fdba5499",779:"634f877e",947:"5d75ee92",962:"935f2afb",980:"9caecde7",1011:"ea313555",1085:"b3272642",1110:"c179f821",1146:"b30e43e1",1250:"87294416",1286:"6bccb6a0",1290:"533a8e17",1444:"7614ce18",1539:"01e1ca65",1616:"fa572d46",1659:"49044b90",1664:"b6b32736",1740:"162bd28d",1796:"20a65861",1932:"ece64983",2076:"common",2079:"01aca802",2122:"e8ce008f",2138:"1a4e3797",2188:"124c4f9d",2209:"ec99730f",2215:"8cbc1f65",2229:"36cdde70",2279:"6eeea2b6",2309:"3f237283",2453:"460a5c5b",2460:"03620de3",2485:"430bd102",2495:"c0086ef4",2711:"9e4087bc",2857:"4628893b",2914:"118e00e5",3140:"c9387e11",3143:"b83c006f",3157:"ef54304a",3244:"c0f1940f",3249:"ccc49370",3281:"aa8d6d0b",3301:"96e7b265",3361:"b52bbddc",3421:"ab10b176",3426:"6f133880",3462:"d0a7fa20",3534:"1d61667d",3585:"da14fb93",3663:"8926b418",3678:"ebb1249f",3709:"17baba0b",3790:"1668a7c3",3809:"28886c38",3843:"667c56e4",3906:"74cb3b1c",3920:"d5205798",3970:"5c2c208f",4004:"41e66423",4048:"aa77b6a8",4052:"2b9b0bac",4056:"f58af7d8",4071:"bcc42c6c",4081:"201e0385",4088:"afe92c27",4093:"3a65aa90",4222:"97031957",4234:"f2d946fd",4294:"052ceecb",4386:"091b5925",4471:"1f927e7e",4574:"4f5b57b4",4583:"1df93b7f",4697:"1cd656ab",4726:"3903b0d4",4812:"883bfc27",4813:"6875c492",4892:"3216d4c8",4936:"06a006fb",5184:"265a61ea",5236:"ee929032",5251:"40c0f713",5276:"133d1207",5308:"c20bb7f9",5317:"2a331aeb",5411:"1b34e59a",5461:"55373fd9",5643:"72a427b3",5648:"774b774e",5772:"c578995c",5826:"4246bee9",5970:"91e5c259",6016:"c36217b7",6193:"20b5be5c",6499:"21119077",6547:"5c187a43",6554:"e9832d3c",6614:"cd12752c",6720:"f71da0e1",6734:"4faaf014",6745:"0931abdb",6751:"76aa043d",6969:"14eb3368",7003:"90795d4d",7032:"0530b1c5",7098:"a7bd4aaa",7157:"30320f60",7275:"a6743c64",7368:"7ff2ef1f",7472:"814f3328",7498:"04baef29",7643:"a6aa9e1f",7762:"254404d2",7806:"e388e5ed",7829:"915d2175",7956:"447f614c",8035:"38ae24f3",8147:"ce6de2dc",8154:"d9a0709a",8209:"01a85c17",8401:"17896441",8441:"14b7973a",8516:"829c17da",8581:"92f3c933",8637:"c6db0fe6",8678:"3fb26655",8937:"12564d99",8945:"04716c54",8952:"3766ff12",9048:"a94703ab",9059:"5f46c019",9218:"4eb59f15",9232:"6a4d8b82",9243:"4287e57f",9280:"f7adbe59",9588:"79da1881",9603:"2e7d5b3b",9643:"bc0994c2",9646:"4e847481",9647:"5e95c892",9748:"1c1d0071",9812:"3c4bff03",9832:"4cbe19c8",9848:"8472a9bd"}[e]||e)+"."+{47:"c8c1f609",57:"9a72a8d0",85:"5e0bf178",397:"001d4f63",404:"0369d1a2",416:"57dd8ed7",417:"187f7c73",513:"d6c98dd7",554:"7cbcf97e",578:"e755f5df",581:"51c226dc",585:"f3fc9f9a",743:"af488abb",779:"e1e9fcf8",947:"00e3b5df",962:"f862a3ba",980:"7706ba74",1011:"54300ea8",1085:"e08b3ba1",1092:"ee35e97a",1110:"11a781b4",1146:"8a5fcee1",1250:"02c65165",1286:"1d6a85cf",1290:"c2752d37",1293:"6213e494",1444:"aa514fad",1465:"550149a6",1539:"41120ea2",1611:"f7599f36",1616:"92258ec5",1659:"fb7e7067",1664:"12aa2489",1740:"9aea435b",1796:"602cc60f",1932:"7f542022",2031:"a7c28802",2076:"c89f493b",2079:"c60ad7c2",2122:"eae78d58",2138:"083449da",2188:"b7d86268",2209:"6d1937d5",2215:"003155b1",2229:"0584777f",2237:"d5903cb3",2279:"d6d7f4c1",2309:"f1d67349",2335:"2e3627ea",2453:"fd1c34cc",2460:"840d9cd7",2485:"4628877c",2495:"3860f1ed",2711:"48d17381",2857:"26be870a",2914:"a38aec1e",3140:"31fc4d1d",3143:"0ea782f0",3157:"09a84e1e",3244:"763a11e4",3249:"1e5f502d",3281:"3e13e67b",3301:"f0d5d106",3361:"2d8a616c",3421:"6e445c5a",3426:"d4f4c75f",3462:"1a3095ad",3534:"2b6e692a",3585:"691aeed1",3663:"4f16c6f6",3678:"b77a8037",3709:"c0067e54",3790:"49c81dcf",3809:"1589d2dc",3843:"f60e7c1d",3906:"28b09bb9",3920:"64b0a49a",3970:"c4ee040e",4004:"9855dac5",4048:"e147833a",4052:"69827de1",4056:"31a053b4",4071:"e3eca8bd",4081:"d2b4a6a1",4088:"71677dee",4093:"b0bac770",4222:"f8026130",4234:"cb8acc75",4294:"cbf1c65e",4305:"82b6dcc1",4386:"6c2164cb",4471:"4d78595f",4574:"e3d8e267",4583:"75452b45",4697:"3e9feb11",4726:"2b3f0f1e",4812:"bd9e2746",4813:"31e5356a",4839:"c32276d1",4858:"472928ba",4892:"8d3f66b4",4936:"5a461b09",5184:"67a25dcd",5236:"4d2a176f",5251:"ba394e41",5276:"5be6c95e",5308:"be43b768",5317:"c15fb78b",5411:"a8a14abd",5461:"629c28e0",5643:"fb4d1e9f",5648:"04b3b688",5772:"61ef642b",5826:"70de8606",5970:"a75c3f61",6016:"74fa5221",6193:"82070443",6492:"9f6a4ee1",6499:"d34bbcfc",6547:"3440158f",6554:"3789b8c5",6614:"800db6d6",6616:"a560ce3c",6689:"7d8e8912",6720:"e4804045",6734:"9f6e9015",6745:"b37b733c",6751:"9351c5c7",6891:"f407d5b8",6969:"3caa234c",7003:"57acc7bb",7032:"dc247836",7098:"e7890ed9",7157:"ed4f5e87",7275:"92c5310c",7368:"ecf2789b",7472:"90c4b9b9",7498:"aae3aa16",7643:"63f05628",7680:"34d87f99",7748:"502340d4",7762:"f899f112",7806:"cb20a8cc",7829:"98ef8c38",7956:"6f116a8a",8035:"d258dbe9",8147:"043db7dd",8154:"87052afd",8209:"8233513f",8382:"70117343",8401:"dd8f31ed",8441:"6712e010",8516:"3c302d75",8581:"49e6dc98",8637:"229a4ba4",8678:"3b709f6d",8842:"812707d4",8913:"29c3d400",8937:"6f595bf8",8945:"187f1a45",8952:"842bba52",9048:"677f1a3b",9059:"8c3deac6",9218:"f14723f4",9232:"a8d4b8a8",9243:"b2508ef5",9280:"31a806bf",9333:"35bc15e6",9462:"5f49b399",9588:"eed4eca3",9603:"13808d4a",9643:"d0ec935d",9646:"41f2ff68",9647:"a3162a88",9748:"8f41a2f6",9761:"c9b30e0e",9812:"5a6da103",9832:"22e686fd",9848:"14c49b9b"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),b={},f="documentation:",r.l=(e,a,c,d)=>{if(b[e])b[e].push(a);else{var t,o;if(void 0!==c)for(var n=document.getElementsByTagName("script"),i=0;i<n.length;i++){var u=n[i];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==f+c){t=u;break}}t||(o=!0,(t=document.createElement("script")).charset="utf-8",t.timeout=120,r.nc&&t.setAttribute("nonce",r.nc),t.setAttribute("data-webpack",f+c),t.src=e),b[e]=[a];var l=(a,c)=>{t.onerror=t.onload=null,clearTimeout(s);var f=b[e];if(delete b[e],t.parentNode&&t.parentNode.removeChild(t),f&&f.forEach((e=>e(c))),a)return a(c)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=l.bind(null,t.onerror),t.onload=l.bind(null,t.onload),o&&document.head.appendChild(t)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="/fhir-dosage-utils/",r.gca=function(e){return e={17896441:"8401",21119077:"6499",87294416:"1250",97031957:"4222","4ed72121":"57","3d23bc21":"85","4d15c614":"397","7ebf62b0":"417",ad90b1c0:"513","1cae87f6":"554","139f9fbc":"578","933cb006":"581","2c4b321a":"585",fdba5499:"743","634f877e":"779","5d75ee92":"947","935f2afb":"962","9caecde7":"980",ea313555:"1011",b3272642:"1085",c179f821:"1110",b30e43e1:"1146","6bccb6a0":"1286","533a8e17":"1290","7614ce18":"1444","01e1ca65":"1539",fa572d46:"1616","49044b90":"1659",b6b32736:"1664","162bd28d":"1740","20a65861":"1796",ece64983:"1932",common:"2076","01aca802":"2079",e8ce008f:"2122","1a4e3797":"2138","124c4f9d":"2188",ec99730f:"2209","8cbc1f65":"2215","36cdde70":"2229","6eeea2b6":"2279","3f237283":"2309","460a5c5b":"2453","03620de3":"2460","430bd102":"2485",c0086ef4:"2495","9e4087bc":"2711","4628893b":"2857","118e00e5":"2914",c9387e11:"3140",b83c006f:"3143",ef54304a:"3157",c0f1940f:"3244",ccc49370:"3249",aa8d6d0b:"3281","96e7b265":"3301",b52bbddc:"3361",ab10b176:"3421","6f133880":"3426",d0a7fa20:"3462","1d61667d":"3534",da14fb93:"3585","8926b418":"3663",ebb1249f:"3678","17baba0b":"3709","1668a7c3":"3790","28886c38":"3809","667c56e4":"3843","74cb3b1c":"3906",d5205798:"3920","5c2c208f":"3970","41e66423":"4004",aa77b6a8:"4048","2b9b0bac":"4052",f58af7d8:"4056",bcc42c6c:"4071","201e0385":"4081",afe92c27:"4088","3a65aa90":"4093",f2d946fd:"4234","052ceecb":"4294","091b5925":"4386","1f927e7e":"4471","4f5b57b4":"4574","1df93b7f":"4583","1cd656ab":"4697","3903b0d4":"4726","883bfc27":"4812","6875c492":"4813","3216d4c8":"4892","06a006fb":"4936","265a61ea":"5184",ee929032:"5236","40c0f713":"5251","133d1207":"5276",c20bb7f9:"5308","2a331aeb":"5317","1b34e59a":"5411","55373fd9":"5461","72a427b3":"5643","774b774e":"5648",c578995c:"5772","4246bee9":"5826","91e5c259":"5970",c36217b7:"6016","20b5be5c":"6193","5c187a43":"6547",e9832d3c:"6554",cd12752c:"6614",f71da0e1:"6720","4faaf014":"6734","0931abdb":"6745","76aa043d":"6751","14eb3368":"6969","90795d4d":"7003","0530b1c5":"7032",a7bd4aaa:"7098","30320f60":"7157",a6743c64:"7275","7ff2ef1f":"7368","814f3328":"7472","04baef29":"7498",a6aa9e1f:"7643","254404d2":"7762",e388e5ed:"7806","915d2175":"7829","447f614c":"7956","38ae24f3":"8035",ce6de2dc:"8147",d9a0709a:"8154","01a85c17":"8209","14b7973a":"8441","829c17da":"8516","92f3c933":"8581",c6db0fe6:"8637","3fb26655":"8678","12564d99":"8937","04716c54":"8945","3766ff12":"8952",a94703ab:"9048","5f46c019":"9059","4eb59f15":"9218","6a4d8b82":"9232","4287e57f":"9243",f7adbe59:"9280","79da1881":"9588","2e7d5b3b":"9603",bc0994c2:"9643","4e847481":"9646","5e95c892":"9647","1c1d0071":"9748","3c4bff03":"9812","4cbe19c8":"9832","8472a9bd":"9848"}[e]||e,r.p+r.u(e)},(()=>{var e={5354:0,1869:0};r.f.j=(a,c)=>{var b=r.o(e,a)?e[a]:void 0;if(0!==b)if(b)c.push(b[2]);else if(/^(1869|5354)$/.test(a))e[a]=0;else{var f=new Promise(((c,f)=>b=e[a]=[c,f]));c.push(b[2]=f);var d=r.p+r.u(a),t=new Error;r.l(d,(c=>{if(r.o(e,a)&&(0!==(b=e[a])&&(e[a]=void 0),b)){var f=c&&("load"===c.type?"missing":c.type),d=c&&c.target&&c.target.src;t.message="Loading chunk "+a+" failed.\n("+f+": "+d+")",t.name="ChunkLoadError",t.type=f,t.request=d,b[1](t)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,c)=>{var b,f,d=c[0],t=c[1],o=c[2],n=0;if(d.some((a=>0!==e[a]))){for(b in t)r.o(t,b)&&(r.m[b]=t[b]);if(o)var i=o(r)}for(a&&a(c);n<d.length;n++)f=d[n],r.o(e,f)&&e[f]&&e[f][0](),e[f]=0;return r.O(i)},c=self.webpackChunkdocumentation=self.webpackChunkdocumentation||[];c.forEach(a.bind(null,0)),c.push=a.bind(null,c.push.bind(c))})()})(); \ No newline at end of file diff --git a/assets/js/runtime~main.b96375a3.js b/assets/js/runtime~main.b96375a3.js new file mode 100644 index 00000000..908504d9 --- /dev/null +++ b/assets/js/runtime~main.b96375a3.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,a,c,b,f,d={},t={};function r(e){var a=t[e];if(void 0!==a)return a.exports;var c=t[e]={exports:{}};return d[e].call(c.exports,c,c.exports,r),c.exports}r.m=d,r.amdO={},e=[],r.O=(a,c,b,f)=>{if(!c){var d=1/0;for(i=0;i<e.length;i++){c=e[i][0],b=e[i][1],f=e[i][2];for(var t=!0,o=0;o<c.length;o++)(!1&f||d>=f)&&Object.keys(r.O).every((e=>r.O[e](c[o])))?c.splice(o--,1):(t=!1,f<d&&(d=f));if(t){e.splice(i--,1);var n=b();void 0!==n&&(a=n)}}return a}f=f||0;for(var i=e.length;i>0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[c,b,f]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},c=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,b){if(1&b&&(e=this(e)),8&b)return e;if("object"==typeof e&&e){if(4&b&&e.__esModule)return e;if(16&b&&"function"==typeof e.then)return e}var f=Object.create(null);r.r(f);var d={};a=a||[null,c({}),c([]),c(c)];for(var t=2&b&&e;"object"==typeof t&&!~a.indexOf(t);t=c(t))Object.getOwnPropertyNames(t).forEach((a=>d[a]=()=>e[a]));return d.default=()=>e,r.d(f,d),f},r.d=(e,a)=>{for(var c in a)r.o(a,c)&&!r.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:a[c]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,c)=>(r.f[c](e,a),a)),[])),r.u=e=>"assets/js/"+({57:"4ed72121",85:"3d23bc21",397:"4d15c614",417:"7ebf62b0",513:"ad90b1c0",554:"1cae87f6",578:"139f9fbc",581:"933cb006",585:"2c4b321a",743:"fdba5499",779:"634f877e",947:"5d75ee92",962:"935f2afb",980:"9caecde7",1011:"ea313555",1085:"b3272642",1110:"c179f821",1146:"b30e43e1",1250:"87294416",1286:"6bccb6a0",1290:"533a8e17",1444:"7614ce18",1539:"01e1ca65",1616:"fa572d46",1659:"49044b90",1664:"b6b32736",1740:"162bd28d",1796:"20a65861",1932:"ece64983",2076:"common",2079:"01aca802",2122:"e8ce008f",2138:"1a4e3797",2188:"124c4f9d",2209:"ec99730f",2215:"8cbc1f65",2229:"36cdde70",2279:"6eeea2b6",2309:"3f237283",2453:"460a5c5b",2460:"03620de3",2485:"430bd102",2495:"c0086ef4",2683:"78f84b63",2711:"9e4087bc",2857:"4628893b",2896:"b21f49cb",2914:"118e00e5",3140:"c9387e11",3143:"b83c006f",3157:"ef54304a",3244:"c0f1940f",3249:"ccc49370",3253:"a5e5ec5a",3281:"aa8d6d0b",3301:"96e7b265",3361:"b52bbddc",3421:"ab10b176",3426:"6f133880",3462:"d0a7fa20",3534:"1d61667d",3585:"da14fb93",3663:"8926b418",3678:"ebb1249f",3709:"17baba0b",3733:"e3948197",3790:"1668a7c3",3809:"28886c38",3843:"667c56e4",3906:"74cb3b1c",3920:"d5205798",3970:"5c2c208f",4004:"41e66423",4048:"aa77b6a8",4052:"2b9b0bac",4056:"f58af7d8",4071:"bcc42c6c",4081:"201e0385",4088:"afe92c27",4093:"3a65aa90",4222:"97031957",4234:"f2d946fd",4294:"052ceecb",4386:"091b5925",4471:"1f927e7e",4574:"4f5b57b4",4583:"1df93b7f",4697:"1cd656ab",4726:"3903b0d4",4812:"883bfc27",4813:"6875c492",4892:"3216d4c8",4936:"06a006fb",5184:"265a61ea",5236:"ee929032",5251:"40c0f713",5276:"133d1207",5308:"c20bb7f9",5317:"2a331aeb",5411:"1b34e59a",5461:"55373fd9",5643:"72a427b3",5648:"774b774e",5772:"c578995c",5826:"4246bee9",5970:"91e5c259",6016:"c36217b7",6193:"20b5be5c",6499:"21119077",6547:"5c187a43",6554:"e9832d3c",6614:"cd12752c",6720:"f71da0e1",6734:"4faaf014",6745:"0931abdb",6751:"76aa043d",6969:"14eb3368",7003:"90795d4d",7032:"0530b1c5",7098:"a7bd4aaa",7157:"30320f60",7275:"a6743c64",7368:"7ff2ef1f",7472:"814f3328",7498:"04baef29",7643:"a6aa9e1f",7762:"254404d2",7806:"e388e5ed",7829:"915d2175",7956:"447f614c",8035:"38ae24f3",8147:"ce6de2dc",8154:"d9a0709a",8209:"01a85c17",8401:"17896441",8441:"14b7973a",8516:"829c17da",8581:"92f3c933",8637:"c6db0fe6",8678:"3fb26655",8937:"12564d99",8945:"04716c54",8952:"3766ff12",9048:"a94703ab",9059:"5f46c019",9218:"4eb59f15",9232:"6a4d8b82",9243:"4287e57f",9276:"3663b37e",9280:"f7adbe59",9301:"026611d2",9307:"d026f85a",9588:"79da1881",9603:"2e7d5b3b",9643:"bc0994c2",9646:"4e847481",9647:"5e95c892",9748:"1c1d0071",9812:"3c4bff03",9832:"4cbe19c8",9848:"8472a9bd"}[e]||e)+"."+{47:"c8c1f609",57:"9a72a8d0",85:"eae29f54",397:"001d4f63",404:"0369d1a2",416:"57dd8ed7",417:"9da044c5",513:"bdab94b2",554:"6ab6abc7",578:"0d839473",581:"a79dbb13",585:"e0b0dffd",743:"52f5d4e0",779:"e1e9fcf8",947:"00e3b5df",962:"802c108a",980:"e51a04c0",1011:"54300ea8",1085:"e08b3ba1",1092:"ee35e97a",1110:"11a781b4",1146:"ca945d29",1250:"e20288c2",1286:"09a31071",1290:"5d934a5f",1293:"6213e494",1444:"fee997e2",1465:"550149a6",1539:"41120ea2",1611:"f7599f36",1616:"960f8560",1659:"9d078def",1664:"12aa2489",1740:"1f2d64d4",1796:"a01d5a95",1932:"6fe88848",2031:"a7c28802",2076:"2d3afba5",2079:"00ca397b",2122:"51992a1e",2138:"083449da",2188:"2c984b00",2209:"6d1937d5",2215:"003155b1",2229:"35912c5d",2237:"d5903cb3",2279:"d6d7f4c1",2309:"7120cfd6",2335:"2e3627ea",2453:"12220cf3",2460:"30f6acce",2485:"4225414f",2495:"72cdf050",2683:"39b2af5e",2711:"48d17381",2857:"6251b86e",2896:"9e12b018",2914:"67d9b973",3140:"50fd3a5f",3143:"0ea782f0",3157:"1e2dbed9",3244:"763a11e4",3249:"1e5f502d",3253:"545468d6",3281:"f0aa3964",3301:"5a850e79",3361:"2966e35f",3421:"0f3319b5",3426:"d4f4c75f",3462:"7778fb49",3534:"2b6e692a",3585:"691aeed1",3663:"6a4df707",3678:"f394ca10",3709:"3d2ac1a2",3733:"c323cc8c",3790:"cc09ca6a",3809:"1589d2dc",3843:"f60e7c1d",3906:"28b09bb9",3920:"dd9dfda2",3970:"07810b1e",4004:"9855dac5",4048:"d613690d",4052:"69827de1",4056:"741d1f90",4071:"e3eca8bd",4081:"f93e38ed",4088:"7debc254",4093:"b0bac770",4222:"4f4e4f95",4234:"cb8acc75",4294:"cbf1c65e",4305:"82b6dcc1",4386:"8e16ead6",4471:"cded6b75",4574:"e3d8e267",4583:"75452b45",4697:"5e013c43",4726:"c121ad70",4812:"f4af5691",4813:"31e5356a",4839:"c32276d1",4858:"472928ba",4892:"bb5edfd9",4936:"f0f16f3e",5184:"48f873f6",5236:"57c0c6ef",5251:"d3865322",5276:"6b5eed78",5308:"be43b768",5317:"fe824162",5411:"a8a14abd",5461:"1a968f99",5643:"fb4d1e9f",5648:"e313eb5a",5772:"61ef642b",5826:"70de8606",5970:"a75c3f61",6016:"cf235a26",6193:"48a2fc86",6492:"9f6a4ee1",6499:"2656966a",6547:"3440158f",6554:"930adc88",6614:"0310de61",6616:"a560ce3c",6689:"7d8e8912",6720:"22b12679",6734:"011e8c65",6745:"b37b733c",6751:"8e1516fb",6891:"f407d5b8",6969:"3caa234c",7003:"57acc7bb",7032:"6ecb9b9d",7098:"e7890ed9",7157:"0863173f",7275:"92c5310c",7368:"ecf2789b",7472:"2983cb96",7498:"aae3aa16",7643:"63f05628",7680:"34d87f99",7748:"502340d4",7762:"b7bfc856",7806:"cb20a8cc",7829:"1ab31656",7956:"6f116a8a",8035:"a5591665",8147:"c16f4d89",8154:"e9b12c89",8209:"8233513f",8382:"70117343",8401:"dd8f31ed",8441:"6712e010",8516:"d89b4bbb",8581:"49e6dc98",8637:"26ccdf40",8678:"8bd48b17",8842:"812707d4",8913:"29c3d400",8937:"d5638e32",8945:"907ba12d",8952:"fec53e3c",9048:"677f1a3b",9059:"5ee38f4e",9218:"3a9d224f",9232:"c06e8aef",9243:"b2508ef5",9276:"220c41d3",9280:"25ccf043",9301:"8c44342f",9307:"cf00f2b3",9333:"35bc15e6",9462:"5f49b399",9588:"eed4eca3",9603:"13808d4a",9643:"eed7a378",9646:"ac176639",9647:"a3162a88",9748:"5e58e581",9761:"c9b30e0e",9812:"5a6da103",9832:"aa704a26",9848:"14c49b9b"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),b={},f="documentation:",r.l=(e,a,c,d)=>{if(b[e])b[e].push(a);else{var t,o;if(void 0!==c)for(var n=document.getElementsByTagName("script"),i=0;i<n.length;i++){var u=n[i];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==f+c){t=u;break}}t||(o=!0,(t=document.createElement("script")).charset="utf-8",t.timeout=120,r.nc&&t.setAttribute("nonce",r.nc),t.setAttribute("data-webpack",f+c),t.src=e),b[e]=[a];var l=(a,c)=>{t.onerror=t.onload=null,clearTimeout(s);var f=b[e];if(delete b[e],t.parentNode&&t.parentNode.removeChild(t),f&&f.forEach((e=>e(c))),a)return a(c)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=l.bind(null,t.onerror),t.onload=l.bind(null,t.onload),o&&document.head.appendChild(t)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="/fhir-dosage-utils/",r.gca=function(e){return e={17896441:"8401",21119077:"6499",87294416:"1250",97031957:"4222","4ed72121":"57","3d23bc21":"85","4d15c614":"397","7ebf62b0":"417",ad90b1c0:"513","1cae87f6":"554","139f9fbc":"578","933cb006":"581","2c4b321a":"585",fdba5499:"743","634f877e":"779","5d75ee92":"947","935f2afb":"962","9caecde7":"980",ea313555:"1011",b3272642:"1085",c179f821:"1110",b30e43e1:"1146","6bccb6a0":"1286","533a8e17":"1290","7614ce18":"1444","01e1ca65":"1539",fa572d46:"1616","49044b90":"1659",b6b32736:"1664","162bd28d":"1740","20a65861":"1796",ece64983:"1932",common:"2076","01aca802":"2079",e8ce008f:"2122","1a4e3797":"2138","124c4f9d":"2188",ec99730f:"2209","8cbc1f65":"2215","36cdde70":"2229","6eeea2b6":"2279","3f237283":"2309","460a5c5b":"2453","03620de3":"2460","430bd102":"2485",c0086ef4:"2495","78f84b63":"2683","9e4087bc":"2711","4628893b":"2857",b21f49cb:"2896","118e00e5":"2914",c9387e11:"3140",b83c006f:"3143",ef54304a:"3157",c0f1940f:"3244",ccc49370:"3249",a5e5ec5a:"3253",aa8d6d0b:"3281","96e7b265":"3301",b52bbddc:"3361",ab10b176:"3421","6f133880":"3426",d0a7fa20:"3462","1d61667d":"3534",da14fb93:"3585","8926b418":"3663",ebb1249f:"3678","17baba0b":"3709",e3948197:"3733","1668a7c3":"3790","28886c38":"3809","667c56e4":"3843","74cb3b1c":"3906",d5205798:"3920","5c2c208f":"3970","41e66423":"4004",aa77b6a8:"4048","2b9b0bac":"4052",f58af7d8:"4056",bcc42c6c:"4071","201e0385":"4081",afe92c27:"4088","3a65aa90":"4093",f2d946fd:"4234","052ceecb":"4294","091b5925":"4386","1f927e7e":"4471","4f5b57b4":"4574","1df93b7f":"4583","1cd656ab":"4697","3903b0d4":"4726","883bfc27":"4812","6875c492":"4813","3216d4c8":"4892","06a006fb":"4936","265a61ea":"5184",ee929032:"5236","40c0f713":"5251","133d1207":"5276",c20bb7f9:"5308","2a331aeb":"5317","1b34e59a":"5411","55373fd9":"5461","72a427b3":"5643","774b774e":"5648",c578995c:"5772","4246bee9":"5826","91e5c259":"5970",c36217b7:"6016","20b5be5c":"6193","5c187a43":"6547",e9832d3c:"6554",cd12752c:"6614",f71da0e1:"6720","4faaf014":"6734","0931abdb":"6745","76aa043d":"6751","14eb3368":"6969","90795d4d":"7003","0530b1c5":"7032",a7bd4aaa:"7098","30320f60":"7157",a6743c64:"7275","7ff2ef1f":"7368","814f3328":"7472","04baef29":"7498",a6aa9e1f:"7643","254404d2":"7762",e388e5ed:"7806","915d2175":"7829","447f614c":"7956","38ae24f3":"8035",ce6de2dc:"8147",d9a0709a:"8154","01a85c17":"8209","14b7973a":"8441","829c17da":"8516","92f3c933":"8581",c6db0fe6:"8637","3fb26655":"8678","12564d99":"8937","04716c54":"8945","3766ff12":"8952",a94703ab:"9048","5f46c019":"9059","4eb59f15":"9218","6a4d8b82":"9232","4287e57f":"9243","3663b37e":"9276",f7adbe59:"9280","026611d2":"9301",d026f85a:"9307","79da1881":"9588","2e7d5b3b":"9603",bc0994c2:"9643","4e847481":"9646","5e95c892":"9647","1c1d0071":"9748","3c4bff03":"9812","4cbe19c8":"9832","8472a9bd":"9848"}[e]||e,r.p+r.u(e)},(()=>{var e={5354:0,1869:0};r.f.j=(a,c)=>{var b=r.o(e,a)?e[a]:void 0;if(0!==b)if(b)c.push(b[2]);else if(/^(1869|5354)$/.test(a))e[a]=0;else{var f=new Promise(((c,f)=>b=e[a]=[c,f]));c.push(b[2]=f);var d=r.p+r.u(a),t=new Error;r.l(d,(c=>{if(r.o(e,a)&&(0!==(b=e[a])&&(e[a]=void 0),b)){var f=c&&("load"===c.type?"missing":c.type),d=c&&c.target&&c.target.src;t.message="Loading chunk "+a+" failed.\n("+f+": "+d+")",t.name="ChunkLoadError",t.type=f,t.request=d,b[1](t)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,c)=>{var b,f,d=c[0],t=c[1],o=c[2],n=0;if(d.some((a=>0!==e[a]))){for(b in t)r.o(t,b)&&(r.m[b]=t[b]);if(o)var i=o(r)}for(a&&a(c);n<d.length;n++)f=d[n],r.o(e,f)&&e[f]&&e[f][0](),e[f]=0;return r.O(i)},c=self.webpackChunkdocumentation=self.webpackChunkdocumentation||[];c.forEach(a.bind(null,0)),c.push=a.bind(null,c.push.bind(c))})()})(); \ No newline at end of file diff --git a/blog.html b/blog.html index e64aa06e..eb960119 100644 --- a/blog.html +++ b/blog.html @@ -9,11 +9,18 @@ <link rel="search" type="application/opensearchdescription+xml" title="FHIR Dosage Utils" href="/fhir-dosage-utils/opensearch.xml"><link rel="stylesheet" href="/fhir-dosage-utils/assets/css/styles.0029b907.css"> -<script src="/fhir-dosage-utils/assets/js/runtime~main.71f5188d.js" defer="defer"></script> -<script src="/fhir-dosage-utils/assets/js/main.71497cf7.js" defer="defer"></script> +<script src="/fhir-dosage-utils/assets/js/runtime~main.b96375a3.js" defer="defer"></script> +<script src="/fhir-dosage-utils/assets/js/main.a07d52ec.js" defer="defer"></script> </head> <body class="navigation-with-keyboard"> -<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return localStorage.getItem("theme")}catch(t){}}();t(null!==e?e:"light")}(),function(){try{const c=new URLSearchParams(window.location.search).entries();for(var[t,e]of c)if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id="__docusaurus"><div role="region" aria-label="Skip to main content"><a class="skipToContent_fXgn" href="#__docusaurus_skipToContent_fallback">Skip to main content</a></div><nav aria-label="Main" class="navbar navbar--fixed-top"><div class="navbar__inner"><div class="navbar__items"><button aria-label="Toggle navigation bar" aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/fhir-dosage-utils/"><div class="navbar__logo"><img src="/fhir-dosage-utils/img/logo.svg" alt="FHIR Dosage utils Logo" class="themedComponent_mlkZ themedComponent--light_NVdE"><img src="/fhir-dosage-utils/img/logo.svg" alt="FHIR Dosage utils Logo" class="themedComponent_mlkZ themedComponent--dark_xIcU"></div><b class="navbar__title text--truncate">FHIR Dosage utils</b></a><a class="navbar__item navbar__link" href="/fhir-dosage-utils/docs/quick-start">Tutorial</a><a class="navbar__item navbar__link" href="/fhir-dosage-utils/api">API</a><a class="navbar__item navbar__link" href="/fhir-dosage-utils/playground">Playground</a></div><div class="navbar__items navbar__items--right"><a aria-current="page" class="navbar__item navbar__link navbar__link--active" href="/fhir-dosage-utils/blog">Blog</a><a href="https://github.com/jy95/fhir-dosage-utils" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type="button" disabled="" title="Switch between dark and light mode (currently light mode)" aria-label="Switch between dark and light mode (currently light mode)" aria-live="polite"><svg viewBox="0 0 24 24" width="24" height="24" class="lightToggleIcon_pyhR"><path fill="currentColor" d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"></path></svg><svg viewBox="0 0 24 24" width="24" height="24" class="darkToggleIcon_wfgR"><path fill="currentColor" d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"></path></svg></button></div><div class="navbarSearchContainer_Bca1"><button type="button" class="DocSearch DocSearch-Button" aria-label="Search"><span class="DocSearch-Button-Container"><svg width="20" height="20" class="DocSearch-Search-Icon" viewBox="0 0 20 20" aria-hidden="true"><path d="M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"></path></svg><span class="DocSearch-Button-Placeholder">Search</span></span><span class="DocSearch-Button-Keys"></span></button></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div id="__docusaurus_skipToContent_fallback" class="main-wrapper mainWrapper_z2l0"><div class="container margin-vert--lg"><div class="row"><aside class="col col--3"><nav class="sidebar_re4s thin-scrollbar" aria-label="Blog recent posts navigation"><div class="sidebarItemTitle_pO2u margin-bottom--md">Recent posts</div><ul class="sidebarItemList_Yudw clean-list"><li class="sidebarItem__DBe"><a class="sidebarItemLink_mo7H" href="/fhir-dosage-utils/blog/welcome">Welcome</a></li></ul></nav></aside><main class="col col--7" itemscope="" itemtype="https://schema.org/Blog"><article class="margin-bottom--xl" itemprop="blogPost" itemscope="" itemtype="https://schema.org/BlogPosting"><meta itemprop="description" content="Welcome to fhir-dosage-utils."><header><h2 class="title_f1Hy" itemprop="headline"><a itemprop="url" href="/fhir-dosage-utils/blog/welcome">Welcome</a></h2><div class="container_mt6G margin-vert--md"><time datetime="2024-03-29T00:00:00.000Z" itemprop="datePublished">March 29, 2024</time> · <!-- -->One min read</div><div class="margin-top--md margin-bottom--sm row"><div class="col col--6 authorCol_Hf19"><div class="avatar margin-bottom--sm"><a href="https://github.com/jy95" target="_blank" rel="noopener noreferrer" class="avatar__photo-link"><img class="avatar__photo" src="https://avatars.githubusercontent.com/u/9306961?v=4" alt="Jacques Yakoub" itemprop="image"></a><div class="avatar__intro" itemprop="author" itemscope="" itemtype="https://schema.org/Person"><div class="avatar__name"><a href="https://github.com/jy95" target="_blank" rel="noopener noreferrer" itemprop="url"><span itemprop="name">Jacques Yakoub</span></a></div><small class="avatar__subtitle" itemprop="description">Creator</small></div></div></div></div></header><div class="markdown" itemprop="articleBody"><p>Welcome to <code>fhir-dosage-utils</code>.<br> +<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return localStorage.getItem("theme")}catch(t){}}();t(null!==e?e:"light")}(),function(){try{const c=new URLSearchParams(window.location.search).entries();for(var[t,e]of c)if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id="__docusaurus"><div role="region" aria-label="Skip to main content"><a class="skipToContent_fXgn" href="#__docusaurus_skipToContent_fallback">Skip to main content</a></div><nav aria-label="Main" class="navbar navbar--fixed-top"><div class="navbar__inner"><div class="navbar__items"><button aria-label="Toggle navigation bar" aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/fhir-dosage-utils/"><div class="navbar__logo"><img src="/fhir-dosage-utils/img/logo.svg" alt="FHIR Dosage utils Logo" class="themedComponent_mlkZ themedComponent--light_NVdE"><img src="/fhir-dosage-utils/img/logo.svg" alt="FHIR Dosage utils Logo" class="themedComponent_mlkZ themedComponent--dark_xIcU"></div><b class="navbar__title text--truncate">FHIR Dosage utils</b></a><a class="navbar__item navbar__link" href="/fhir-dosage-utils/docs/quick-start">Tutorial</a><a class="navbar__item navbar__link" href="/fhir-dosage-utils/api">API</a><a class="navbar__item navbar__link" href="/fhir-dosage-utils/playground">Playground</a></div><div class="navbar__items navbar__items--right"><a aria-current="page" class="navbar__item navbar__link navbar__link--active" href="/fhir-dosage-utils/blog">Blog</a><a href="https://github.com/jy95/fhir-dosage-utils" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type="button" disabled="" title="Switch between dark and light mode (currently light mode)" aria-label="Switch between dark and light mode (currently light mode)" aria-live="polite"><svg viewBox="0 0 24 24" width="24" height="24" class="lightToggleIcon_pyhR"><path fill="currentColor" d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"></path></svg><svg viewBox="0 0 24 24" width="24" height="24" class="darkToggleIcon_wfgR"><path fill="currentColor" d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"></path></svg></button></div><div class="navbarSearchContainer_Bca1"><button type="button" class="DocSearch DocSearch-Button" aria-label="Search"><span class="DocSearch-Button-Container"><svg width="20" height="20" class="DocSearch-Search-Icon" viewBox="0 0 20 20" aria-hidden="true"><path d="M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"></path></svg><span class="DocSearch-Button-Placeholder">Search</span></span><span class="DocSearch-Button-Keys"></span></button></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div id="__docusaurus_skipToContent_fallback" class="main-wrapper mainWrapper_z2l0"><div class="container margin-vert--lg"><div class="row"><aside class="col col--3"><nav class="sidebar_re4s thin-scrollbar" aria-label="Blog recent posts navigation"><div class="sidebarItemTitle_pO2u margin-bottom--md">Recent posts</div><ul class="sidebarItemList_Yudw clean-list"><li class="sidebarItem__DBe"><a class="sidebarItemLink_mo7H" href="/fhir-dosage-utils/blog/empowerment">Customizing i18next Configuration in Our Library</a></li><li class="sidebarItem__DBe"><a class="sidebarItemLink_mo7H" href="/fhir-dosage-utils/blog/welcome">Welcome</a></li></ul></nav></aside><main class="col col--7" itemscope="" itemtype="https://schema.org/Blog"><article class="margin-bottom--xl" itemprop="blogPost" itemscope="" itemtype="https://schema.org/BlogPosting"><meta itemprop="description" content="We're thrilled to announce a new feature in our library that empowers users to tailor i18next configuration to their preferences."><header><h2 class="title_f1Hy" itemprop="headline"><a itemprop="url" href="/fhir-dosage-utils/blog/empowerment">Customizing i18next Configuration in Our Library</a></h2><div class="container_mt6G margin-vert--md"><time datetime="2024-04-20T00:00:00.000Z" itemprop="datePublished">April 20, 2024</time> · <!-- -->One min read</div><div class="margin-top--md margin-bottom--sm row"><div class="col col--6 authorCol_Hf19"><div class="avatar margin-bottom--sm"><a href="https://github.com/jy95" target="_blank" rel="noopener noreferrer" class="avatar__photo-link"><img class="avatar__photo" src="https://avatars.githubusercontent.com/u/9306961?v=4" alt="Jacques Yakoub" itemprop="image"></a><div class="avatar__intro" itemprop="author" itemscope="" itemtype="https://schema.org/Person"><div class="avatar__name"><a href="https://github.com/jy95" target="_blank" rel="noopener noreferrer" itemprop="url"><span itemprop="name">Jacques Yakoub</span></a></div><small class="avatar__subtitle" itemprop="description">Creator</small></div></div></div></div></header><div class="markdown" itemprop="articleBody"><p>We're thrilled to announce a new feature in our library that empowers users to tailor i18next configuration to their preferences. +i18next, the internationalization framework, plays a crucial role in facilitating multilingual support. Now, with this enhancement, users have greater control over how i18next behaves within our system.</p> +<p>Benefits :</p> +<ul> +<li><strong>Flexibility</strong> : Users can adapt i18next settings to suit their project's needs, ensuring a seamless internationalization experience.</li> +<li><strong>Customization</strong> : Fine-tune language-related functionalities, such as pluralization rules or date formatting, to match project specifications.</li> +<li><strong>Ease of Integration</strong> : Our library seamlessly integrates with existing i18next workflows, minimizing implementation hurdles.</li> +</ul></div><footer class="row docusaurus-mt-lg"><div class="col"><b>Tags:</b><ul class="tags_jXut padding--none margin-left--sm"><li class="tag_QGVx"><a class="tag_zVej tagRegular_sFm0" href="/fhir-dosage-utils/blog/tags/features">features</a></li></ul></div></footer></article><article class="margin-bottom--xl" itemprop="blogPost" itemscope="" itemtype="https://schema.org/BlogPosting"><meta itemprop="description" content="Welcome to fhir-dosage-utils."><header><h2 class="title_f1Hy" itemprop="headline"><a itemprop="url" href="/fhir-dosage-utils/blog/welcome">Welcome</a></h2><div class="container_mt6G margin-vert--md"><time datetime="2024-03-29T00:00:00.000Z" itemprop="datePublished">March 29, 2024</time> · <!-- -->One min read</div><div class="margin-top--md margin-bottom--sm row"><div class="col col--6 authorCol_Hf19"><div class="avatar margin-bottom--sm"><a href="https://github.com/jy95" target="_blank" rel="noopener noreferrer" class="avatar__photo-link"><img class="avatar__photo" src="https://avatars.githubusercontent.com/u/9306961?v=4" alt="Jacques Yakoub" itemprop="image"></a><div class="avatar__intro" itemprop="author" itemscope="" itemtype="https://schema.org/Person"><div class="avatar__name"><a href="https://github.com/jy95" target="_blank" rel="noopener noreferrer" itemprop="url"><span itemprop="name">Jacques Yakoub</span></a></div><small class="avatar__subtitle" itemprop="description">Creator</small></div></div></div></div></header><div class="markdown" itemprop="articleBody"><p>Welcome to <code>fhir-dosage-utils</code>.<br> <!-- -->Key Features:</p> <ul> <li><strong>Compatible:</strong> Works with <a href="https://hl7.org/fhir/R4/dosage.html" target="_blank" rel="noopener noreferrer">Dosage R4</a> and <a href="https://hl7.org/fhir/R5/dosage.html" target="_blank" rel="noopener noreferrer">Dosage R5</a></li> diff --git a/blog/archive.html b/blog/archive.html index cb77581f..ab9507cb 100644 --- a/blog/archive.html +++ b/blog/archive.html @@ -9,10 +9,10 @@ <link rel="search" type="application/opensearchdescription+xml" title="FHIR Dosage Utils" href="/fhir-dosage-utils/opensearch.xml"><link rel="stylesheet" href="/fhir-dosage-utils/assets/css/styles.0029b907.css"> -<script src="/fhir-dosage-utils/assets/js/runtime~main.71f5188d.js" defer="defer"></script> -<script src="/fhir-dosage-utils/assets/js/main.71497cf7.js" defer="defer"></script> +<script src="/fhir-dosage-utils/assets/js/runtime~main.b96375a3.js" defer="defer"></script> +<script src="/fhir-dosage-utils/assets/js/main.a07d52ec.js" defer="defer"></script> </head> <body class="navigation-with-keyboard"> -<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return localStorage.getItem("theme")}catch(t){}}();t(null!==e?e:"light")}(),function(){try{const c=new URLSearchParams(window.location.search).entries();for(var[t,e]of c)if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id="__docusaurus"><div role="region" aria-label="Skip to main content"><a class="skipToContent_fXgn" href="#__docusaurus_skipToContent_fallback">Skip to main content</a></div><nav aria-label="Main" class="navbar navbar--fixed-top"><div class="navbar__inner"><div class="navbar__items"><button aria-label="Toggle navigation bar" aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/fhir-dosage-utils/"><div class="navbar__logo"><img src="/fhir-dosage-utils/img/logo.svg" alt="FHIR Dosage utils Logo" class="themedComponent_mlkZ themedComponent--light_NVdE"><img src="/fhir-dosage-utils/img/logo.svg" alt="FHIR Dosage utils Logo" class="themedComponent_mlkZ themedComponent--dark_xIcU"></div><b class="navbar__title text--truncate">FHIR Dosage utils</b></a><a class="navbar__item navbar__link" href="/fhir-dosage-utils/docs/quick-start">Tutorial</a><a class="navbar__item navbar__link" href="/fhir-dosage-utils/api">API</a><a class="navbar__item navbar__link" href="/fhir-dosage-utils/playground">Playground</a></div><div class="navbar__items navbar__items--right"><a aria-current="page" class="navbar__item navbar__link navbar__link--active" href="/fhir-dosage-utils/blog">Blog</a><a href="https://github.com/jy95/fhir-dosage-utils" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type="button" disabled="" title="Switch between dark and light mode (currently light mode)" aria-label="Switch between dark and light mode (currently light mode)" aria-live="polite"><svg viewBox="0 0 24 24" width="24" height="24" class="lightToggleIcon_pyhR"><path fill="currentColor" d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"></path></svg><svg viewBox="0 0 24 24" width="24" height="24" class="darkToggleIcon_wfgR"><path fill="currentColor" d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"></path></svg></button></div><div class="navbarSearchContainer_Bca1"><button type="button" class="DocSearch DocSearch-Button" aria-label="Search"><span class="DocSearch-Button-Container"><svg width="20" height="20" class="DocSearch-Search-Icon" viewBox="0 0 20 20" aria-hidden="true"><path d="M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"></path></svg><span class="DocSearch-Button-Placeholder">Search</span></span><span class="DocSearch-Button-Keys"></span></button></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div id="__docusaurus_skipToContent_fallback" class="main-wrapper mainWrapper_z2l0"><header class="hero hero--primary"><div class="container"><h1 class="hero__title">Archive</h1><p class="hero__subtitle">Archive</p></div></header><main><section class="margin-vert--lg"><div class="container"><div class="row"><div class="col col--4 margin-vert--lg"><h3 class="anchor anchorWithStickyNavbar_LWe7" id="2024">2024<a href="#2024" class="hash-link" aria-label="Direct link to 2024" title="Direct link to 2024">​</a></h3><ul><li><a href="/fhir-dosage-utils/blog/welcome">March 29, 2024<!-- --> - <!-- -->Welcome</a></li></ul></div></div></div></section></main></div><footer class="footer footer--dark"><div class="container container-fluid"><div class="footer__bottom text--center"><div class="footer__copyright">Copyright © 2024 Jacques Yakoub. Built with Docusaurus.</div></div></div></footer></div> +<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return localStorage.getItem("theme")}catch(t){}}();t(null!==e?e:"light")}(),function(){try{const c=new URLSearchParams(window.location.search).entries();for(var[t,e]of c)if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id="__docusaurus"><div role="region" aria-label="Skip to main content"><a class="skipToContent_fXgn" href="#__docusaurus_skipToContent_fallback">Skip to main content</a></div><nav aria-label="Main" class="navbar navbar--fixed-top"><div class="navbar__inner"><div class="navbar__items"><button aria-label="Toggle navigation bar" aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/fhir-dosage-utils/"><div class="navbar__logo"><img src="/fhir-dosage-utils/img/logo.svg" alt="FHIR Dosage utils Logo" class="themedComponent_mlkZ themedComponent--light_NVdE"><img src="/fhir-dosage-utils/img/logo.svg" alt="FHIR Dosage utils Logo" class="themedComponent_mlkZ themedComponent--dark_xIcU"></div><b class="navbar__title text--truncate">FHIR Dosage utils</b></a><a class="navbar__item navbar__link" href="/fhir-dosage-utils/docs/quick-start">Tutorial</a><a class="navbar__item navbar__link" href="/fhir-dosage-utils/api">API</a><a class="navbar__item navbar__link" href="/fhir-dosage-utils/playground">Playground</a></div><div class="navbar__items navbar__items--right"><a aria-current="page" class="navbar__item navbar__link navbar__link--active" href="/fhir-dosage-utils/blog">Blog</a><a href="https://github.com/jy95/fhir-dosage-utils" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type="button" disabled="" title="Switch between dark and light mode (currently light mode)" aria-label="Switch between dark and light mode (currently light mode)" aria-live="polite"><svg viewBox="0 0 24 24" width="24" height="24" class="lightToggleIcon_pyhR"><path fill="currentColor" d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"></path></svg><svg viewBox="0 0 24 24" width="24" height="24" class="darkToggleIcon_wfgR"><path fill="currentColor" d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"></path></svg></button></div><div class="navbarSearchContainer_Bca1"><button type="button" class="DocSearch DocSearch-Button" aria-label="Search"><span class="DocSearch-Button-Container"><svg width="20" height="20" class="DocSearch-Search-Icon" viewBox="0 0 20 20" aria-hidden="true"><path d="M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"></path></svg><span class="DocSearch-Button-Placeholder">Search</span></span><span class="DocSearch-Button-Keys"></span></button></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div id="__docusaurus_skipToContent_fallback" class="main-wrapper mainWrapper_z2l0"><header class="hero hero--primary"><div class="container"><h1 class="hero__title">Archive</h1><p class="hero__subtitle">Archive</p></div></header><main><section class="margin-vert--lg"><div class="container"><div class="row"><div class="col col--4 margin-vert--lg"><h3 class="anchor anchorWithStickyNavbar_LWe7" id="2024">2024<a href="#2024" class="hash-link" aria-label="Direct link to 2024" title="Direct link to 2024">​</a></h3><ul><li><a href="/fhir-dosage-utils/blog/welcome">March 29, 2024<!-- --> - <!-- -->Welcome</a></li><li><a href="/fhir-dosage-utils/blog/empowerment">April 20, 2024<!-- --> - <!-- -->Customizing i18next Configuration in Our Library</a></li></ul></div></div></div></section></main></div><footer class="footer footer--dark"><div class="container container-fluid"><div class="footer__bottom text--center"><div class="footer__copyright">Copyright © 2024 Jacques Yakoub. Built with Docusaurus.</div></div></div></footer></div> </body> </html> \ No newline at end of file diff --git a/blog/atom.xml b/blog/atom.xml index 15252b24..5425a973 100644 --- a/blog/atom.xml +++ b/blog/atom.xml @@ -2,11 +2,31 @@ <feed xmlns="http://www.w3.org/2005/Atom"> <id>https://jy95.github.io/fhir-dosage-utils/blog</id> <title>FHIR Dosage Utils Blog - 2024-03-29T00:00:00.000Z + 2024-04-20T00:00:00.000Z https://github.com/jpmonette/feed FHIR Dosage Utils Blog https://jy95.github.io/fhir-dosage-utils/img/favicon.ico + + <![CDATA[Customizing i18next Configuration in Our Library]]> + https://jy95.github.io/fhir-dosage-utils/blog/empowerment + + 2024-04-20T00:00:00.000Z + + We're thrilled to announce a new feature in our library that empowers users to tailor i18next configuration to their preferences. +i18next, the internationalization framework, plays a crucial role in facilitating multilingual support. Now, with this enhancement, users have greater control over how i18next behaves within our system.

+

Benefits :

+
    +
  • Flexibility : Users can adapt i18next settings to suit their project's needs, ensuring a seamless internationalization experience.
  • +
  • Customization : Fine-tune language-related functionalities, such as pluralization rules or date formatting, to match project specifications.
  • +
  • Ease of Integration : Our library seamlessly integrates with existing i18next workflows, minimizing implementation hurdles.
  • +
]]>
+ + Jacques Yakoub + https://github.com/jy95 + + +
<![CDATA[Welcome]]> https://jy95.github.io/fhir-dosage-utils/blog/welcome diff --git a/blog/empowerment.html b/blog/empowerment.html new file mode 100644 index 00000000..c317d281 --- /dev/null +++ b/blog/empowerment.html @@ -0,0 +1,25 @@ + + + + + +Customizing i18next Configuration in Our Library | FHIR Dosage Utils + + + + + + + + + +

Customizing i18next Configuration in Our Library

· One min read

We're thrilled to announce a new feature in our library that empowers users to tailor i18next configuration to their preferences. +i18next, the internationalization framework, plays a crucial role in facilitating multilingual support. Now, with this enhancement, users have greater control over how i18next behaves within our system.

+

Benefits :

+
    +
  • Flexibility : Users can adapt i18next settings to suit their project's needs, ensuring a seamless internationalization experience.
  • +
  • Customization : Fine-tune language-related functionalities, such as pluralization rules or date formatting, to match project specifications.
  • +
  • Ease of Integration : Our library seamlessly integrates with existing i18next workflows, minimizing implementation hurdles.
  • +
+ + \ No newline at end of file diff --git a/blog/rss.xml b/blog/rss.xml index a1071f66..4a569673 100644 --- a/blog/rss.xml +++ b/blog/rss.xml @@ -4,10 +4,26 @@ FHIR Dosage Utils Blog https://jy95.github.io/fhir-dosage-utils/blog FHIR Dosage Utils Blog - Fri, 29 Mar 2024 00:00:00 GMT + Sat, 20 Apr 2024 00:00:00 GMT https://validator.w3.org/feed/docs/rss2.html https://github.com/jpmonette/feed en + + <![CDATA[Customizing i18next Configuration in Our Library]]> + https://jy95.github.io/fhir-dosage-utils/blog/empowerment + https://jy95.github.io/fhir-dosage-utils/blog/empowerment + Sat, 20 Apr 2024 00:00:00 GMT + + We're thrilled to announce a new feature in our library that empowers users to tailor i18next configuration to their preferences. +i18next, the internationalization framework, plays a crucial role in facilitating multilingual support. Now, with this enhancement, users have greater control over how i18next behaves within our system.

+

Benefits :

+
    +
  • Flexibility : Users can adapt i18next settings to suit their project's needs, ensuring a seamless internationalization experience.
  • +
  • Customization : Fine-tune language-related functionalities, such as pluralization rules or date formatting, to match project specifications.
  • +
  • Ease of Integration : Our library seamlessly integrates with existing i18next workflows, minimizing implementation hurdles.
  • +
]]>
+ features +
<![CDATA[Welcome]]> https://jy95.github.io/fhir-dosage-utils/blog/welcome diff --git a/blog/tags.html b/blog/tags.html index 7cf16e22..c41ec120 100644 --- a/blog/tags.html +++ b/blog/tags.html @@ -9,10 +9,10 @@ - - + + -

Tags

+ \ No newline at end of file diff --git a/blog/tags/features.html b/blog/tags/features.html new file mode 100644 index 00000000..f2e03259 --- /dev/null +++ b/blog/tags/features.html @@ -0,0 +1,25 @@ + + + + + +One post tagged with "features" | FHIR Dosage Utils + + + + + + + + + +

One post tagged with "features"

View All Tags

· One min read

We're thrilled to announce a new feature in our library that empowers users to tailor i18next configuration to their preferences. +i18next, the internationalization framework, plays a crucial role in facilitating multilingual support. Now, with this enhancement, users have greater control over how i18next behaves within our system.

+

Benefits :

+
    +
  • Flexibility : Users can adapt i18next settings to suit their project's needs, ensuring a seamless internationalization experience.
  • +
  • Customization : Fine-tune language-related functionalities, such as pluralization rules or date formatting, to match project specifications.
  • +
  • Ease of Integration : Our library seamlessly integrates with existing i18next workflows, minimizing implementation hurdles.
  • +
+ + \ No newline at end of file diff --git a/blog/tags/welcome.html b/blog/tags/welcome.html index d140aa20..368359b2 100644 --- a/blog/tags/welcome.html +++ b/blog/tags/welcome.html @@ -9,11 +9,11 @@ - - + + -

One post tagged with "welcome"

View All Tags

· One min read

Welcome to fhir-dosage-utils.
+

One post tagged with "welcome"

View All Tags

· One min read

Welcome to fhir-dosage-utils.
Key Features:

  • Compatible: Works with Dosage R4 and Dosage R5
  • diff --git a/blog/welcome.html b/blog/welcome.html index bfcfab8a..7da6c871 100644 --- a/blog/welcome.html +++ b/blog/welcome.html @@ -9,17 +9,17 @@ - - + + -

    Welcome

    · One min read

    Welcome to fhir-dosage-utils.
    +

    Welcome

    · One min read

    Welcome to fhir-dosage-utils.
    Key Features:

    • Compatible: Works with Dosage R4 and Dosage R5
    • Extensibility Easily adaptable and extendable to accommodate your requirements
    • Internationalization Seamlessly extendable to other languages with i18next
    • Integration Ease Works effortlessly in various environments like the browser, Node.js, ...
    • -
    +
\ No newline at end of file diff --git a/docs/category/-additionalinstruction.html b/docs/category/-additionalinstruction.html index d93bcc7d..cfd33259 100644 --- a/docs/category/-additionalinstruction.html +++ b/docs/category/-additionalinstruction.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/category/-asneeded.html b/docs/category/-asneeded.html index 48e6b12a..ac048f09 100644 --- a/docs/category/-asneeded.html +++ b/docs/category/-asneeded.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/category/-boundsperiod.html b/docs/category/-boundsperiod.html index a10c983f..e08b914c 100644 --- a/docs/category/-boundsperiod.html +++ b/docs/category/-boundsperiod.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/category/-boundsrange.html b/docs/category/-boundsrange.html index bf33e122..cf4c8642 100644 --- a/docs/category/-boundsrange.html +++ b/docs/category/-boundsrange.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/category/-code.html b/docs/category/-code.html index 6bb08379..e15bdbab 100644 --- a/docs/category/-code.html +++ b/docs/category/-code.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/category/-count--countmax.html b/docs/category/-count--countmax.html index 32b28fbe..2dbae467 100644 --- a/docs/category/-count--countmax.html +++ b/docs/category/-count--countmax.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/category/-dayofweek.html b/docs/category/-dayofweek.html index 5c0c64f6..405ef4cd 100644 --- a/docs/category/-dayofweek.html +++ b/docs/category/-dayofweek.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/category/-dosequantity.html b/docs/category/-dosequantity.html index 54d5ab0c..92a190a4 100644 --- a/docs/category/-dosequantity.html +++ b/docs/category/-dosequantity.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/category/-doserange.html b/docs/category/-doserange.html index 42cd660b..95217e8a 100644 --- a/docs/category/-doserange.html +++ b/docs/category/-doserange.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/category/-durationdurationmax.html b/docs/category/-durationdurationmax.html index 1dce8eee..43adefd6 100644 --- a/docs/category/-durationdurationmax.html +++ b/docs/category/-durationdurationmax.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/category/-event.html b/docs/category/-event.html index 6440b1d9..11d55a35 100644 --- a/docs/category/-event.html +++ b/docs/category/-event.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/category/-frequencyfrequencymax.html b/docs/category/-frequencyfrequencymax.html index 7a1b71f9..df725031 100644 --- a/docs/category/-frequencyfrequencymax.html +++ b/docs/category/-frequencyfrequencymax.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/category/-maxdoseperadministration.html b/docs/category/-maxdoseperadministration.html index ebf50c9a..4c70a8a6 100644 --- a/docs/category/-maxdoseperadministration.html +++ b/docs/category/-maxdoseperadministration.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/category/-maxdoseperlifetime.html b/docs/category/-maxdoseperlifetime.html index 4a99eee1..adcf0cf3 100644 --- a/docs/category/-maxdoseperlifetime.html +++ b/docs/category/-maxdoseperlifetime.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/category/-maxdoseperperiod.html b/docs/category/-maxdoseperperiod.html index a1220ba4..485bf4ad 100644 --- a/docs/category/-maxdoseperperiod.html +++ b/docs/category/-maxdoseperperiod.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/category/-offset-when.html b/docs/category/-offset-when.html index 0e86463d..4205aa31 100644 --- a/docs/category/-offset-when.html +++ b/docs/category/-offset-when.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/category/-offset.html b/docs/category/-offset.html index b860d275..413bcf66 100644 --- a/docs/category/-offset.html +++ b/docs/category/-offset.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/category/-patientinstruction.html b/docs/category/-patientinstruction.html index 4f8f8d2a..bb393dd1 100644 --- a/docs/category/-patientinstruction.html +++ b/docs/category/-patientinstruction.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/category/-rateratio.html b/docs/category/-rateratio.html index aeda8764..8867605a 100644 --- a/docs/category/-rateratio.html +++ b/docs/category/-rateratio.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/category/-site.html b/docs/category/-site.html index cffaeab3..48c83187 100644 --- a/docs/category/-site.html +++ b/docs/category/-site.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/category/-text.html b/docs/category/-text.html index 9df481ff..6d0e6679 100644 --- a/docs/category/-text.html +++ b/docs/category/-text.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/category/-timeofday.html b/docs/category/-timeofday.html index c0da061b..883fd805 100644 --- a/docs/category/-timeofday.html +++ b/docs/category/-timeofday.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/category/-when.html b/docs/category/-when.html index 22bc3270..cce6c387 100644 --- a/docs/category/-when.html +++ b/docs/category/-when.html @@ -9,8 +9,8 @@ - - + + diff --git "a/docs/category/\357\270\217-boundsduration.html" "b/docs/category/\357\270\217-boundsduration.html" index a4a8c8e0..d0ec3e64 100644 --- "a/docs/category/\357\270\217-boundsduration.html" +++ "b/docs/category/\357\270\217-boundsduration.html" @@ -9,8 +9,8 @@ - - + + diff --git "a/docs/category/\357\270\217-method.html" "b/docs/category/\357\270\217-method.html" index 3a1786f3..532df19e 100644 --- "a/docs/category/\357\270\217-method.html" +++ "b/docs/category/\357\270\217-method.html" @@ -9,8 +9,8 @@ - - + + diff --git "a/docs/category/\357\270\217-periodperiodmax.html" "b/docs/category/\357\270\217-periodperiodmax.html" index 36d39617..de1cacff 100644 --- "a/docs/category/\357\270\217-periodperiodmax.html" +++ "b/docs/category/\357\270\217-periodperiodmax.html" @@ -9,8 +9,8 @@ - - + + diff --git "a/docs/category/\357\270\217-ratequantity.html" "b/docs/category/\357\270\217-ratequantity.html" index 82f39143..8096d26d 100644 --- "a/docs/category/\357\270\217-ratequantity.html" +++ "b/docs/category/\357\270\217-ratequantity.html" @@ -9,8 +9,8 @@ - - + + diff --git "a/docs/category/\357\270\217-raterange.html" "b/docs/category/\357\270\217-raterange.html" index a8174f03..d9a690dd 100644 --- "a/docs/category/\357\270\217-raterange.html" +++ "b/docs/category/\357\270\217-raterange.html" @@ -9,8 +9,8 @@ - - + + diff --git "a/docs/category/\357\270\217-route.html" "b/docs/category/\357\270\217-route.html" index a7aab769..147b0135 100644 --- "a/docs/category/\357\270\217-route.html" +++ "b/docs/category/\357\270\217-route.html" @@ -9,8 +9,8 @@ - - + + diff --git "a/docs/category/\357\270\217-sequence.html" "b/docs/category/\357\270\217-sequence.html" index 4bf72a5f..1a3911cb 100644 --- "a/docs/category/\357\270\217-sequence.html" +++ "b/docs/category/\357\270\217-sequence.html" @@ -9,8 +9,8 @@ - - + + diff --git a/docs/contributing.html b/docs/contributing.html index b150a0ae..8d90a4c7 100644 --- a/docs/contributing.html +++ b/docs/contributing.html @@ -9,8 +9,8 @@ - - + +

🧩 Contributing

Since project is completly open source, any kind of contribution is welcome and highly appreciated.

diff --git a/docs/custom/dateTimeFormatOptions.html b/docs/custom/dateTimeFormatOptions.html index 414e9409..f8cbaa15 100644 --- a/docs/custom/dateTimeFormatOptions.html +++ b/docs/custom/dateTimeFormatOptions.html @@ -9,10 +9,10 @@ - - + + -

🎉 dateTimeFormatOptions


+
\ No newline at end of file diff --git a/docs/custom/displayOrder.html b/docs/custom/displayOrder.html new file mode 100644 index 00000000..55d5cbcd --- /dev/null +++ b/docs/custom/displayOrder.html @@ -0,0 +1,18 @@ + + + + + +🔢 displayOrder | FHIR Dosage Utils + + + + + + + + + +

🔢 displayOrder


+ + \ No newline at end of file diff --git a/docs/custom/displaySeparator.html b/docs/custom/displaySeparator.html new file mode 100644 index 00000000..25558901 --- /dev/null +++ b/docs/custom/displaySeparator.html @@ -0,0 +1,18 @@ + + + + + +➖ displaySeparator | FHIR Dosage Utils + + + + + + + + + +

➖ displaySeparator


+ + \ No newline at end of file diff --git a/docs/custom/fromCodeableConceptToString.html b/docs/custom/fromCodeableConceptToString.html index bc4ef122..7511d2b1 100644 --- a/docs/custom/fromCodeableConceptToString.html +++ b/docs/custom/fromCodeableConceptToString.html @@ -9,10 +9,10 @@ - - + + -

💻 fromCodeableConceptToString


+

💻 fromCodeableConceptToString


\ No newline at end of file diff --git a/docs/custom/fromExtensionsToString.html b/docs/custom/fromExtensionsToString.html index 2f3a3d59..c7b73f35 100644 --- a/docs/custom/fromExtensionsToString.html +++ b/docs/custom/fromExtensionsToString.html @@ -9,10 +9,10 @@ - - + + -

🔌 fromExtensionsToString


+

🔌 fromExtensionsToString


\ No newline at end of file diff --git a/docs/custom/fromFHIRQuantityUnitToString.html b/docs/custom/fromFHIRQuantityUnitToString.html index ad0adef6..ca4b2670 100644 --- a/docs/custom/fromFHIRQuantityUnitToString.html +++ b/docs/custom/fromFHIRQuantityUnitToString.html @@ -9,10 +9,10 @@ - - + + -

📏 fromFHIRQuantityUnitToString


+

📏 fromFHIRQuantityUnitToString


\ No newline at end of file diff --git a/docs/custom/i18nConfig.html b/docs/custom/i18nConfig.html new file mode 100644 index 00000000..70aba35f --- /dev/null +++ b/docs/custom/i18nConfig.html @@ -0,0 +1,18 @@ + + + + + +🌐 i18nConfig | FHIR Dosage Utils + + + + + + + + + +

🌐 i18nConfig


+ + \ No newline at end of file diff --git a/docs/demo.html b/docs/demo.html index 925889a0..5d2be97e 100644 --- a/docs/demo.html +++ b/docs/demo.html @@ -9,10 +9,10 @@ - - + + - + \ No newline at end of file diff --git a/docs/demo/custom.html b/docs/demo/custom.html index 17d99638..d71ac580 100644 --- a/docs/demo/custom.html +++ b/docs/demo/custom.html @@ -9,10 +9,10 @@ - - + + - + \ No newline at end of file diff --git a/docs/demo/examples.html b/docs/demo/examples.html index 98c080cb..ebda2671 100644 --- a/docs/demo/examples.html +++ b/docs/demo/examples.html @@ -9,10 +9,10 @@ - - + + - + \ No newline at end of file diff --git a/docs/demo/examples/medicationrequest.html b/docs/demo/examples/medicationrequest.html index 52d1ac62..8e2d9ddd 100644 --- a/docs/demo/examples/medicationrequest.html +++ b/docs/demo/examples/medicationrequest.html @@ -9,8 +9,8 @@ - - + +

🌌 MedicationRequest examples

diff --git a/docs/demo/specs.html b/docs/demo/specs.html index 5dbca209..39087fc0 100644 --- a/docs/demo/specs.html +++ b/docs/demo/specs.html @@ -9,8 +9,8 @@ - - + +
diff --git a/docs/examples/medicationrequest/medrx002.html b/docs/examples/medicationrequest/medrx002.html index 4e0f47b2..72d0be61 100644 --- a/docs/examples/medicationrequest/medrx002.html +++ b/docs/examples/medicationrequest/medrx002.html @@ -9,8 +9,8 @@ - - + +

medrx002

info

Source: HL7 - "Order for a medication that includes the dosage of a prescription in text"

diff --git a/docs/examples/medicationrequest/medrx003.html b/docs/examples/medicationrequest/medrx003.html index f44a0309..5d74f91e 100644 --- a/docs/examples/medicationrequest/medrx003.html +++ b/docs/examples/medicationrequest/medrx003.html @@ -9,8 +9,8 @@ - - + +

medrx003

info

Source: HL7 - "Request that uses both calculated and ordered dosage"

diff --git a/docs/examples/medicationrequest/medrx004.html b/docs/examples/medicationrequest/medrx004.html index d99de68d..d0880dc2 100644 --- a/docs/examples/medicationrequest/medrx004.html +++ b/docs/examples/medicationrequest/medrx004.html @@ -9,8 +9,8 @@ - - + +

medrx004

info

Source: HL7 - "Request with multiple dosages and timings"

diff --git a/docs/examples/medicationrequest/medrx0301.html b/docs/examples/medicationrequest/medrx0301.html index b11d817a..dfc68736 100644 --- a/docs/examples/medicationrequest/medrx0301.html +++ b/docs/examples/medicationrequest/medrx0301.html @@ -9,8 +9,8 @@ - - + +

medrx0301

info

Source: HL7 - "Order with as needed (PRN) dosage with pre-condition - Oxycodone - active with reasonCode, note, dispenseRequest and substitution"

diff --git a/docs/examples/medicationrequest/medrx0302.html b/docs/examples/medicationrequest/medrx0302.html index d06414ec..c27b6cf1 100644 --- a/docs/examples/medicationrequest/medrx0302.html +++ b/docs/examples/medicationrequest/medrx0302.html @@ -9,8 +9,8 @@ - - + +

medrx0302

info

Source: HL7 - "Active Order with link to encounter, reasonCode, note multiple dosage lines, dispenseRequest and substitution - Azithromycin"

diff --git a/docs/examples/medicationrequest/medrx0303.html b/docs/examples/medicationrequest/medrx0303.html index 5dcd940f..20b24bae 100644 --- a/docs/examples/medicationrequest/medrx0303.html +++ b/docs/examples/medicationrequest/medrx0303.html @@ -9,8 +9,8 @@ - - + +

medrx0303

info

Source: HL7 - "Order for Tapering Dose - Prednisone - active with note and multiple DosageInstructions with boundsPeriod"

diff --git a/docs/examples/medicationrequest/medrx0305.html b/docs/examples/medicationrequest/medrx0305.html index c34d4316..9fff8c46 100644 --- a/docs/examples/medicationrequest/medrx0305.html +++ b/docs/examples/medicationrequest/medrx0305.html @@ -9,8 +9,8 @@ - - + +

medrx0305

info

Source: HL7 - "Order with Dosage with a Pre-Condition - Alprazolam - dosageInstructions includes boundsPeriod with periodMax and asNeededCodeableConcept"

diff --git a/docs/examples/medicationrequest/medrx0307.html b/docs/examples/medicationrequest/medrx0307.html index e7679d11..d76a4e79 100644 --- a/docs/examples/medicationrequest/medrx0307.html +++ b/docs/examples/medicationrequest/medrx0307.html @@ -9,8 +9,8 @@ - - + +

medrx0307

info

Source: HL7 - "Order with as needed (PRN) dosage - Percocet - completed with link to encounter, dispenseRequest and substitution"

diff --git a/docs/examples/medicationrequest/medrx0308.html b/docs/examples/medicationrequest/medrx0308.html index 9e6f11b9..4e8077aa 100644 --- a/docs/examples/medicationrequest/medrx0308.html +++ b/docs/examples/medicationrequest/medrx0308.html @@ -9,8 +9,8 @@ - - + +

medrx0308

info

Source: HL7 - "Order for as needed (PRN) dosage - Vicodin - completed with dosageInstruction with additionalInstruction (coded) and as needed with reason, dispenseRequest and substitution"

diff --git a/docs/examples/medicationrequest/medrx0310.html b/docs/examples/medicationrequest/medrx0310.html index d3576819..4d7b04b7 100644 --- a/docs/examples/medicationrequest/medrx0310.html +++ b/docs/examples/medicationrequest/medrx0310.html @@ -9,8 +9,8 @@ - - + +

medrx0310

info

Source: HL7 - "Request for Over the Counter Medication - Tylenol PM - with dosage range as needed with pre-condition for use"

diff --git a/docs/examples/medicationrequest/medrx0313.html b/docs/examples/medicationrequest/medrx0313.html index 20b9be89..7902abd0 100644 --- a/docs/examples/medicationrequest/medrx0313.html +++ b/docs/examples/medicationrequest/medrx0313.html @@ -9,8 +9,8 @@ - - + +

medrx0313

info

Source: HL7 - "Request with a single dosage line - Azithromycin - completed - with link to prior prescription and reason code"

diff --git a/docs/examples/medicationrequest/medrx0314.html b/docs/examples/medicationrequest/medrx0314.html index 1cb203da..ec7293e8 100644 --- a/docs/examples/medicationrequest/medrx0314.html +++ b/docs/examples/medicationrequest/medrx0314.html @@ -9,8 +9,8 @@ - - + +

medrx0314

info

Source: HL7 - "Request - Levothyroxine - completed with reasonCode, dosageInstructions and dispenseRequest"

diff --git a/docs/examples/medicationrequest/medrx0315.html b/docs/examples/medicationrequest/medrx0315.html index 70991d90..5b1378cb 100644 --- a/docs/examples/medicationrequest/medrx0315.html +++ b/docs/examples/medicationrequest/medrx0315.html @@ -9,8 +9,8 @@ - - + +

medrx0315

info

Source: HL7 - "Request for an injectable medication - Lorazepam - active - with link to encounter, reasonCode and dosageInstruction"

diff --git a/docs/examples/medicationrequest/medrx0317.html b/docs/examples/medicationrequest/medrx0317.html index 671d232f..08ef5c2c 100644 --- a/docs/examples/medicationrequest/medrx0317.html +++ b/docs/examples/medicationrequest/medrx0317.html @@ -9,8 +9,8 @@ - - + +

medrx0317

info

Source: HL7 - "Request for Intravenous Chemotherapy (inpatient order) - Alemtuzumab - completed with multiple dosageInstruction lines"

diff --git a/docs/examples/medicationrequest/medrx0319.html b/docs/examples/medicationrequest/medrx0319.html index 497f04f4..0ee062f7 100644 --- a/docs/examples/medicationrequest/medrx0319.html +++ b/docs/examples/medicationrequest/medrx0319.html @@ -9,8 +9,8 @@ - - + +

medrx0319

info

Source: HL7 - "Request for Intravenous Antibiotic with a Dosage Rate - Piperacillin - completed with reason code"

diff --git a/docs/examples/medicationrequest/medrx0321.html b/docs/examples/medicationrequest/medrx0321.html index 68489b0b..e960b179 100644 --- a/docs/examples/medicationrequest/medrx0321.html +++ b/docs/examples/medicationrequest/medrx0321.html @@ -9,8 +9,8 @@ - - + +

medrx0321

info

Source: HL7 - "Request for Subcutaneous injection with multiple dosage lines - Insulin - Novolog - active - includes reasonCode and note. Dosage includes additionalInstructions as text"

diff --git a/docs/examples/medicationrequest/medrx0331.html b/docs/examples/medicationrequest/medrx0331.html index 2018e1e5..4acaa5c5 100644 --- a/docs/examples/medicationrequest/medrx0331.html +++ b/docs/examples/medicationrequest/medrx0331.html @@ -9,8 +9,8 @@ - - + +

medrx0331

info

Source: HL7 - "Request for a Dosage that needs to be dispensed as different strength tablets - Warfarin - active"

diff --git a/docs/examples/medicationrequest/medrx0339.html b/docs/examples/medicationrequest/medrx0339.html index ec413161..5d4bbeab 100644 --- a/docs/examples/medicationrequest/medrx0339.html +++ b/docs/examples/medicationrequest/medrx0339.html @@ -9,8 +9,8 @@ - - + +

medrx0339

info

Source: HL7 - "Request for a product that contains multiple dosage forms"

diff --git a/docs/faq.html b/docs/faq.html index 00d4d013..e3dd1c34 100644 --- a/docs/faq.html +++ b/docs/faq.html @@ -9,8 +9,8 @@ - - + +

❓ FAQ

diff --git a/docs/next-steps.html b/docs/next-steps.html index b52db98b..ffe0556d 100644 --- a/docs/next-steps.html +++ b/docs/next-steps.html @@ -9,8 +9,8 @@ - - + +

🚧 Roadmap

Feedback Gathering

diff --git a/docs/quick-start.html b/docs/quick-start.html index 8206c663..441ef099 100644 --- a/docs/quick-start.html +++ b/docs/quick-start.html @@ -9,8 +9,8 @@ - - + +

⚡ Quick Start

diff --git a/docs/specs/additionalInstruction/multiple_items.html b/docs/specs/additionalInstruction/multiple_items.html index 9a195a71..efe26508 100644 --- a/docs/specs/additionalInstruction/multiple_items.html +++ b/docs/specs/additionalInstruction/multiple_items.html @@ -9,8 +9,8 @@ - - + +

➕ Multiple items


diff --git a/docs/specs/additionalInstruction/single_item.html b/docs/specs/additionalInstruction/single_item.html index def02439..94184637 100644 --- a/docs/specs/additionalInstruction/single_item.html +++ b/docs/specs/additionalInstruction/single_item.html @@ -9,8 +9,8 @@ - - + +

❌ Single item


diff --git a/docs/specs/asNeeded.html b/docs/specs/asNeeded.html index 7aa11af0..8f6eac60 100644 --- a/docs/specs/asNeeded.html +++ b/docs/specs/asNeeded.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/specs/asNeeded/asNeededBoolean.html b/docs/specs/asNeeded/asNeededBoolean.html index 51e58d31..d2b35de9 100644 --- a/docs/specs/asNeeded/asNeededBoolean.html +++ b/docs/specs/asNeeded/asNeededBoolean.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/specs/asNeeded/asNeededCodeableConcept.html b/docs/specs/asNeeded/asNeededCodeableConcept.html index 82a408fa..77829499 100644 --- a/docs/specs/asNeeded/asNeededCodeableConcept.html +++ b/docs/specs/asNeeded/asNeededCodeableConcept.html @@ -9,8 +9,8 @@ - - + +

📌 asNeededCodeableConcept


diff --git a/docs/specs/asNeeded/asNeededFor.html b/docs/specs/asNeeded/asNeededFor.html index d746a469..0c8e0fba 100644 --- a/docs/specs/asNeeded/asNeededFor.html +++ b/docs/specs/asNeeded/asNeededFor.html @@ -9,8 +9,8 @@ - - + +

🧬 asNeededFor


diff --git a/docs/specs/boundsDuration.html b/docs/specs/boundsDuration.html index 726a93db..08f0bb8b 100644 --- a/docs/specs/boundsDuration.html +++ b/docs/specs/boundsDuration.html @@ -9,8 +9,8 @@ - - + +

🕰️ boundsDuration


diff --git a/docs/specs/boundsPeriod/end_only.html b/docs/specs/boundsPeriod/end_only.html index 3dc20de3..c0d67481 100644 --- a/docs/specs/boundsPeriod/end_only.html +++ b/docs/specs/boundsPeriod/end_only.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/specs/boundsPeriod/start_and_end.html b/docs/specs/boundsPeriod/start_and_end.html index 43281383..8ad6539b 100644 --- a/docs/specs/boundsPeriod/start_and_end.html +++ b/docs/specs/boundsPeriod/start_and_end.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/specs/boundsPeriod/start_only.html b/docs/specs/boundsPeriod/start_only.html index 814a5a78..dbad57ac 100644 --- a/docs/specs/boundsPeriod/start_only.html +++ b/docs/specs/boundsPeriod/start_only.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/specs/boundsRange/high_only.html b/docs/specs/boundsRange/high_only.html index efc296c3..05162c49 100644 --- a/docs/specs/boundsRange/high_only.html +++ b/docs/specs/boundsRange/high_only.html @@ -9,8 +9,8 @@ - - + +

📐 boundsDuration (High only)


diff --git a/docs/specs/boundsRange/low_and_high.html b/docs/specs/boundsRange/low_and_high.html index 7e25fb16..4c9552df 100644 --- a/docs/specs/boundsRange/low_and_high.html +++ b/docs/specs/boundsRange/low_and_high.html @@ -9,8 +9,8 @@ - - + +

📐 boundsDuration (Low & High)


diff --git a/docs/specs/boundsRange/low_only.html b/docs/specs/boundsRange/low_only.html index 51c04533..c786ffd2 100644 --- a/docs/specs/boundsRange/low_only.html +++ b/docs/specs/boundsRange/low_only.html @@ -9,8 +9,8 @@ - - + +

📐 boundsDuration (Low only)


diff --git a/docs/specs/code.html b/docs/specs/code.html index 72e9c1f0..5831cde9 100644 --- a/docs/specs/code.html +++ b/docs/specs/code.html @@ -9,8 +9,8 @@ - - + +

💻 code


diff --git a/docs/specs/countCountMax/count.html b/docs/specs/countCountMax/count.html index afedcb8c..35c65680 100644 --- a/docs/specs/countCountMax/count.html +++ b/docs/specs/countCountMax/count.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/specs/countCountMax/countMax_only.html b/docs/specs/countCountMax/countMax_only.html index 9a7c500e..0e3e5b32 100644 --- a/docs/specs/countCountMax/countMax_only.html +++ b/docs/specs/countCountMax/countMax_only.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/specs/countCountMax/count_and_countMax.html b/docs/specs/countCountMax/count_and_countMax.html index 34f99faf..b0b18ecc 100644 --- a/docs/specs/countCountMax/count_and_countMax.html +++ b/docs/specs/countCountMax/count_and_countMax.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/specs/dayOfWeek/multiple_items.html b/docs/specs/dayOfWeek/multiple_items.html index 72caa4ae..72da10c1 100644 --- a/docs/specs/dayOfWeek/multiple_items.html +++ b/docs/specs/dayOfWeek/multiple_items.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/specs/dayOfWeek/single_item.html b/docs/specs/dayOfWeek/single_item.html index 03c1e78d..57ab5a08 100644 --- a/docs/specs/dayOfWeek/single_item.html +++ b/docs/specs/dayOfWeek/single_item.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/specs/doseQuantity.html b/docs/specs/doseQuantity.html index 79410ece..221de1eb 100644 --- a/docs/specs/doseQuantity.html +++ b/docs/specs/doseQuantity.html @@ -9,8 +9,8 @@ - - + +

💊 doseQuantity


diff --git a/docs/specs/doseRange/high_only.html b/docs/specs/doseRange/high_only.html index 67bd73b0..12153b9c 100644 --- a/docs/specs/doseRange/high_only.html +++ b/docs/specs/doseRange/high_only.html @@ -9,8 +9,8 @@ - - + +

📏 doseRange (High only)


diff --git a/docs/specs/doseRange/low_and_high.html b/docs/specs/doseRange/low_and_high.html index e2827ac3..b4cf7c15 100644 --- a/docs/specs/doseRange/low_and_high.html +++ b/docs/specs/doseRange/low_and_high.html @@ -9,8 +9,8 @@ - - + +

📏 doseRange (Low & High)


diff --git a/docs/specs/doseRange/low_only.html b/docs/specs/doseRange/low_only.html index e3eaff45..7c5737b0 100644 --- a/docs/specs/doseRange/low_only.html +++ b/docs/specs/doseRange/low_only.html @@ -9,8 +9,8 @@ - - + +

📏 doseRange (Low only)


diff --git a/docs/specs/durationDurationMax/durationMax_only.html b/docs/specs/durationDurationMax/durationMax_only.html index 8fcc019e..2581a47b 100644 --- a/docs/specs/durationDurationMax/durationMax_only.html +++ b/docs/specs/durationDurationMax/durationMax_only.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/specs/durationDurationMax/duration_and_durationMax.html b/docs/specs/durationDurationMax/duration_and_durationMax.html index 6175ec8b..b90b80a0 100644 --- a/docs/specs/durationDurationMax/duration_and_durationMax.html +++ b/docs/specs/durationDurationMax/duration_and_durationMax.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/specs/durationDurationMax/duration_only.html b/docs/specs/durationDurationMax/duration_only.html index dfe97d7a..63237450 100644 --- a/docs/specs/durationDurationMax/duration_only.html +++ b/docs/specs/durationDurationMax/duration_only.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/specs/event/multiple_items.html b/docs/specs/event/multiple_items.html index 826c4b6e..2de17fbe 100644 --- a/docs/specs/event/multiple_items.html +++ b/docs/specs/event/multiple_items.html @@ -9,8 +9,8 @@ - - + +

➕ Multiple items


diff --git a/docs/specs/event/single_item.html b/docs/specs/event/single_item.html index 4cfae324..805468ac 100644 --- a/docs/specs/event/single_item.html +++ b/docs/specs/event/single_item.html @@ -9,8 +9,8 @@ - - + +

❌ Single item


diff --git a/docs/specs/frequencyFrequencyMax/frequencyMax_only.html b/docs/specs/frequencyFrequencyMax/frequencyMax_only.html index 25cae2b7..f1f388a0 100644 --- a/docs/specs/frequencyFrequencyMax/frequencyMax_only.html +++ b/docs/specs/frequencyFrequencyMax/frequencyMax_only.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/specs/frequencyFrequencyMax/frequency_and_frequencyMax.html b/docs/specs/frequencyFrequencyMax/frequency_and_frequencyMax.html index 7cf5e039..550208db 100644 --- a/docs/specs/frequencyFrequencyMax/frequency_and_frequencyMax.html +++ b/docs/specs/frequencyFrequencyMax/frequency_and_frequencyMax.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/specs/frequencyFrequencyMax/frequency_only.html b/docs/specs/frequencyFrequencyMax/frequency_only.html index ed522547..8d2fcd28 100644 --- a/docs/specs/frequencyFrequencyMax/frequency_only.html +++ b/docs/specs/frequencyFrequencyMax/frequency_only.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/specs/maxDosePerAdministration.html b/docs/specs/maxDosePerAdministration.html index b9799124..38fc9e88 100644 --- a/docs/specs/maxDosePerAdministration.html +++ b/docs/specs/maxDosePerAdministration.html @@ -9,8 +9,8 @@ - - + +

💉 maxDosePerAdministration


diff --git a/docs/specs/maxDosePerLifetime.html b/docs/specs/maxDosePerLifetime.html index f5d4c925..62286be7 100644 --- a/docs/specs/maxDosePerLifetime.html +++ b/docs/specs/maxDosePerLifetime.html @@ -9,8 +9,8 @@ - - + +

💖 maxDosePerLifetime


diff --git a/docs/specs/maxDosePerPeriod/r4.html b/docs/specs/maxDosePerPeriod/r4.html index 8031d5f6..b8820dd2 100644 --- a/docs/specs/maxDosePerPeriod/r4.html +++ b/docs/specs/maxDosePerPeriod/r4.html @@ -9,8 +9,8 @@ - - + +

⏳ maxDosePerPeriod (R4)


diff --git a/docs/specs/maxDosePerPeriod/r5.html b/docs/specs/maxDosePerPeriod/r5.html index ef2b9775..70120085 100644 --- a/docs/specs/maxDosePerPeriod/r5.html +++ b/docs/specs/maxDosePerPeriod/r5.html @@ -9,8 +9,8 @@ - - + +

⏳ maxDosePerPeriod (R5)


diff --git a/docs/specs/method.html b/docs/specs/method.html index 294599d4..993c53b1 100644 --- a/docs/specs/method.html +++ b/docs/specs/method.html @@ -9,8 +9,8 @@ - - + +

🛠️ method


diff --git a/docs/specs/offsetWhen/offset/offset_days.html b/docs/specs/offsetWhen/offset/offset_days.html index 1feb9aa0..b0dcac33 100644 --- a/docs/specs/offsetWhen/offset/offset_days.html +++ b/docs/specs/offsetWhen/offset/offset_days.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/specs/offsetWhen/offset/offset_hours.html b/docs/specs/offsetWhen/offset/offset_hours.html index 5e293965..bd7a0a8c 100644 --- a/docs/specs/offsetWhen/offset/offset_hours.html +++ b/docs/specs/offsetWhen/offset/offset_hours.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/specs/offsetWhen/offset/offset_minutes.html b/docs/specs/offsetWhen/offset/offset_minutes.html index d3152064..ca194e27 100644 --- a/docs/specs/offsetWhen/offset/offset_minutes.html +++ b/docs/specs/offsetWhen/offset/offset_minutes.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/specs/offsetWhen/when/multiple_items.html b/docs/specs/offsetWhen/when/multiple_items.html index 66d76078..8d644b85 100644 --- a/docs/specs/offsetWhen/when/multiple_items.html +++ b/docs/specs/offsetWhen/when/multiple_items.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/specs/offsetWhen/when/single_item.html b/docs/specs/offsetWhen/when/single_item.html index 454b5dfa..c5f1f625 100644 --- a/docs/specs/offsetWhen/when/single_item.html +++ b/docs/specs/offsetWhen/when/single_item.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/specs/offsetWhen/when_and_offset.html b/docs/specs/offsetWhen/when_and_offset.html index 95909fe4..4322eb14 100644 --- a/docs/specs/offsetWhen/when_and_offset.html +++ b/docs/specs/offsetWhen/when_and_offset.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/specs/patientInstruction.html b/docs/specs/patientInstruction.html index 086875ab..3ac44c70 100644 --- a/docs/specs/patientInstruction.html +++ b/docs/specs/patientInstruction.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/specs/periodPeriodMax/periodMax_only.html b/docs/specs/periodPeriodMax/periodMax_only.html index 3d9e2e64..82525a96 100644 --- a/docs/specs/periodPeriodMax/periodMax_only.html +++ b/docs/specs/periodPeriodMax/periodMax_only.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/specs/periodPeriodMax/period_and_periodMax.html b/docs/specs/periodPeriodMax/period_and_periodMax.html index a0c8417c..34f21843 100644 --- a/docs/specs/periodPeriodMax/period_and_periodMax.html +++ b/docs/specs/periodPeriodMax/period_and_periodMax.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/specs/periodPeriodMax/period_only.html b/docs/specs/periodPeriodMax/period_only.html index 929957c2..d72ea597 100644 --- a/docs/specs/periodPeriodMax/period_only.html +++ b/docs/specs/periodPeriodMax/period_only.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/specs/rateQuantity.html b/docs/specs/rateQuantity.html index ca791b68..7c847b02 100644 --- a/docs/specs/rateQuantity.html +++ b/docs/specs/rateQuantity.html @@ -9,8 +9,8 @@ - - + +

⏲️ rateQuantity


diff --git a/docs/specs/rateRange/high_only.html b/docs/specs/rateRange/high_only.html index 238ba1a4..cfe43716 100644 --- a/docs/specs/rateRange/high_only.html +++ b/docs/specs/rateRange/high_only.html @@ -9,8 +9,8 @@ - - + +

⚖️ rateRange (High only)


diff --git a/docs/specs/rateRange/low_and_high.html b/docs/specs/rateRange/low_and_high.html index 75ad0b04..ae027086 100644 --- a/docs/specs/rateRange/low_and_high.html +++ b/docs/specs/rateRange/low_and_high.html @@ -9,8 +9,8 @@ - - + +

⚖️ rateRange (Low & High)


diff --git a/docs/specs/rateRange/low_only.html b/docs/specs/rateRange/low_only.html index e365c929..05749bad 100644 --- a/docs/specs/rateRange/low_only.html +++ b/docs/specs/rateRange/low_only.html @@ -9,8 +9,8 @@ - - + +

⚖️ rateRange (Low only)


diff --git a/docs/specs/rateRatio.html b/docs/specs/rateRatio.html index 9c9f0781..31e712e2 100644 --- a/docs/specs/rateRatio.html +++ b/docs/specs/rateRatio.html @@ -9,8 +9,8 @@ - - + +

📈 rateRatio


diff --git a/docs/specs/route.html b/docs/specs/route.html index 595d813b..6cb8ea5c 100644 --- a/docs/specs/route.html +++ b/docs/specs/route.html @@ -9,8 +9,8 @@ - - + +

🛣️ route


diff --git a/docs/specs/sequence/concurrent_instructions.html b/docs/specs/sequence/concurrent_instructions.html index 2b91984b..b415cb3e 100644 --- a/docs/specs/sequence/concurrent_instructions.html +++ b/docs/specs/sequence/concurrent_instructions.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/specs/sequence/sequential_instructions_1.html b/docs/specs/sequence/sequential_instructions_1.html index bb4c3537..e6eed994 100644 --- a/docs/specs/sequence/sequential_instructions_1.html +++ b/docs/specs/sequence/sequential_instructions_1.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/specs/sequence/sequential_instructions_2.html b/docs/specs/sequence/sequential_instructions_2.html index 9efd1a4c..f0f29fc4 100644 --- a/docs/specs/sequence/sequential_instructions_2.html +++ b/docs/specs/sequence/sequential_instructions_2.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/specs/site.html b/docs/specs/site.html index c2a512c9..80305a51 100644 --- a/docs/specs/site.html +++ b/docs/specs/site.html @@ -9,8 +9,8 @@ - - + +

📍 site


diff --git a/docs/specs/text.html b/docs/specs/text.html index 4a6b9e2e..3a8bdb62 100644 --- a/docs/specs/text.html +++ b/docs/specs/text.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/specs/timeOfDay/multiple_items.html b/docs/specs/timeOfDay/multiple_items.html index 60488d77..7f4c425c 100644 --- a/docs/specs/timeOfDay/multiple_items.html +++ b/docs/specs/timeOfDay/multiple_items.html @@ -9,8 +9,8 @@ - - + + diff --git a/docs/specs/timeOfDay/single_item.html b/docs/specs/timeOfDay/single_item.html index b3077f78..6ed0d4d9 100644 --- a/docs/specs/timeOfDay/single_item.html +++ b/docs/specs/timeOfDay/single_item.html @@ -9,8 +9,8 @@ - - + + diff --git a/examples/timing.html b/examples/timing.html index bfcda2b9..77e97467 100644 --- a/examples/timing.html +++ b/examples/timing.html @@ -9,8 +9,8 @@ - - + +
info

Thanks to FHIR HL7 for the examples

Summary
Every 8 hours

Every 7 days

3 times a day

3-4 times a day

Every 4-6 hours

Every 21 days for 1 hour

Three times a week for 0.5 hour

With breakfast

For 5 minutes, 10 minutes before meals

1 tablet 3 times daily, 30 minutes before meals

BID, 30 mins before meal, for next 10 days

TID, for 14 days

BID, start on 7/1/2015 at 1:00 PM

Mon, Wed, Fri Morning

Every day at 10am

Take once, at any time

Take every second day, in the morning, until 20 have been taken

diff --git a/index.html b/index.html index fc5938e4..589ed298 100644 --- a/index.html +++ b/index.html @@ -9,8 +9,8 @@ - - + +

FHIR Dosage Utils

From Data to Understandable Text and More

User-Centered Approach

User-Centered Approach

Turn FHIR Dosage into human readable text in your wanted language, and much more

Configurable

Configurable

Internationalization, easily adaptable and extendable to accommodate your requirements, ...

Open source

Open source

Want to improve this plugin ? We welcome your contributions !

diff --git a/playground.html b/playground.html index 3dcc96e5..dff9e38e 100644 --- a/playground.html +++ b/playground.html @@ -9,8 +9,8 @@ - - + +
Loading...
diff --git a/search.html b/search.html index a5c3956e..1a0af761 100644 --- a/search.html +++ b/search.html @@ -9,8 +9,8 @@ - - + +

Search the documentation

diff --git a/sitemap.xml b/sitemap.xml index 23f9ffb1..aae8116b 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1 +1 @@ -https://jy95.github.io/fhir-dosage-utils/blogweekly0.5https://jy95.github.io/fhir-dosage-utils/blog/archiveweekly0.5https://jy95.github.io/fhir-dosage-utils/blog/tagsweekly0.5https://jy95.github.io/fhir-dosage-utils/blog/tags/welcomeweekly0.5https://jy95.github.io/fhir-dosage-utils/blog/welcomeweekly0.5https://jy95.github.io/fhir-dosage-utils/examples/timingweekly0.5https://jy95.github.io/fhir-dosage-utils/playgroundweekly0.5https://jy95.github.io/fhir-dosage-utils/searchweekly0.5https://jy95.github.io/fhir-dosage-utils/apiweekly0.5https://jy95.github.io/fhir-dosage-utils/api/class/defaultweekly0.5https://jy95.github.io/fhir-dosage-utils/api/enum/DisplayOrderEnumweekly0.5https://jy95.github.io/fhir-dosage-utils/api/interface/Paramsweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-additionalinstructionweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-asneededweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/%EF%B8%8F-boundsdurationweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-boundsperiodweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-boundsrangeweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-codeweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-count--countmaxweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-dayofweekweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-dosequantityweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-doserangeweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-durationdurationmaxweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-eventweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-frequencyfrequencymaxweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-maxdoseperadministrationweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-maxdoseperlifetimeweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-maxdoseperperiodweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/%EF%B8%8F-methodweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-offsetweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-offset-whenweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-patientinstructionweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/%EF%B8%8F-periodperiodmaxweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/%EF%B8%8F-ratequantityweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/%EF%B8%8F-raterangeweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-rateratioweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/%EF%B8%8F-routeweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/%EF%B8%8F-sequenceweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-siteweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-textweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-timeofdayweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-whenweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/contributingweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/custom/dateTimeFormatOptionsweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/custom/fromCodeableConceptToStringweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/custom/fromExtensionsToStringweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/custom/fromFHIRQuantityUnitToStringweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/demoweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/demo/customweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/demo/examplesweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/demo/examples/medicationrequestweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/demo/specsweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx002weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx003weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx004weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx0301weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx0302weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx0303weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx0305weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx0307weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx0308weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx0310weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx0313weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx0314weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx0315weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx0317weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx0319weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx0321weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx0331weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx0339weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/faqweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/next-stepsweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/quick-startweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/additionalInstruction/multiple_itemsweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/additionalInstruction/single_itemweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/asNeededweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/asNeeded/asNeededBooleanweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/asNeeded/asNeededCodeableConceptweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/asNeeded/asNeededForweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/boundsDurationweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/boundsPeriod/end_onlyweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/boundsPeriod/start_and_endweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/boundsPeriod/start_onlyweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/boundsRange/high_onlyweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/boundsRange/low_and_highweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/boundsRange/low_onlyweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/codeweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/countCountMax/countweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/countCountMax/count_and_countMaxweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/countCountMax/countMax_onlyweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/dayOfWeek/multiple_itemsweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/dayOfWeek/single_itemweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/doseQuantityweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/doseRange/high_onlyweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/doseRange/low_and_highweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/doseRange/low_onlyweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/durationDurationMax/duration_and_durationMaxweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/durationDurationMax/duration_onlyweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/durationDurationMax/durationMax_onlyweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/event/multiple_itemsweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/event/single_itemweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_and_frequencyMaxweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_onlyweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequencyMax_onlyweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/maxDosePerAdministrationweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/maxDosePerLifetimeweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r4weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r5weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/methodweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_daysweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_hoursweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_minutesweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/offsetWhen/when_and_offsetweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/offsetWhen/when/multiple_itemsweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/offsetWhen/when/single_itemweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/patientInstructionweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/periodPeriodMax/period_and_periodMaxweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/periodPeriodMax/period_onlyweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/periodPeriodMax/periodMax_onlyweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/rateQuantityweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/rateRange/high_onlyweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/rateRange/low_and_highweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/rateRange/low_onlyweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/rateRatioweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/routeweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/sequence/concurrent_instructionsweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_1weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_2weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/siteweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/textweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/timeOfDay/multiple_itemsweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/timeOfDay/single_itemweekly0.5https://jy95.github.io/fhir-dosage-utils/weekly0.5 \ No newline at end of file +https://jy95.github.io/fhir-dosage-utils/blogweekly0.5https://jy95.github.io/fhir-dosage-utils/blog/archiveweekly0.5https://jy95.github.io/fhir-dosage-utils/blog/empowermentweekly0.5https://jy95.github.io/fhir-dosage-utils/blog/tagsweekly0.5https://jy95.github.io/fhir-dosage-utils/blog/tags/featuresweekly0.5https://jy95.github.io/fhir-dosage-utils/blog/tags/welcomeweekly0.5https://jy95.github.io/fhir-dosage-utils/blog/welcomeweekly0.5https://jy95.github.io/fhir-dosage-utils/examples/timingweekly0.5https://jy95.github.io/fhir-dosage-utils/playgroundweekly0.5https://jy95.github.io/fhir-dosage-utils/searchweekly0.5https://jy95.github.io/fhir-dosage-utils/apiweekly0.5https://jy95.github.io/fhir-dosage-utils/api/class/defaultweekly0.5https://jy95.github.io/fhir-dosage-utils/api/enum/DisplayOrderEnumweekly0.5https://jy95.github.io/fhir-dosage-utils/api/interface/Paramsweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-additionalinstructionweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-asneededweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/%EF%B8%8F-boundsdurationweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-boundsperiodweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-boundsrangeweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-codeweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-count--countmaxweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-dayofweekweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-dosequantityweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-doserangeweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-durationdurationmaxweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-eventweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-frequencyfrequencymaxweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-maxdoseperadministrationweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-maxdoseperlifetimeweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-maxdoseperperiodweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/%EF%B8%8F-methodweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-offsetweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-offset-whenweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-patientinstructionweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/%EF%B8%8F-periodperiodmaxweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/%EF%B8%8F-ratequantityweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/%EF%B8%8F-raterangeweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-rateratioweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/%EF%B8%8F-routeweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/%EF%B8%8F-sequenceweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-siteweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-textweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-timeofdayweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/category/-whenweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/contributingweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/custom/dateTimeFormatOptionsweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/custom/displayOrderweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/custom/displaySeparatorweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/custom/fromCodeableConceptToStringweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/custom/fromExtensionsToStringweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/custom/fromFHIRQuantityUnitToStringweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/custom/i18nConfigweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/demoweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/demo/customweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/demo/examplesweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/demo/examples/medicationrequestweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/demo/specsweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx002weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx003weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx004weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx0301weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx0302weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx0303weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx0305weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx0307weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx0308weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx0310weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx0313weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx0314weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx0315weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx0317weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx0319weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx0321weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx0331weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/examples/medicationrequest/medrx0339weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/faqweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/next-stepsweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/quick-startweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/additionalInstruction/multiple_itemsweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/additionalInstruction/single_itemweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/asNeededweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/asNeeded/asNeededBooleanweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/asNeeded/asNeededCodeableConceptweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/asNeeded/asNeededForweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/boundsDurationweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/boundsPeriod/end_onlyweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/boundsPeriod/start_and_endweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/boundsPeriod/start_onlyweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/boundsRange/high_onlyweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/boundsRange/low_and_highweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/boundsRange/low_onlyweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/codeweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/countCountMax/countweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/countCountMax/count_and_countMaxweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/countCountMax/countMax_onlyweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/dayOfWeek/multiple_itemsweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/dayOfWeek/single_itemweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/doseQuantityweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/doseRange/high_onlyweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/doseRange/low_and_highweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/doseRange/low_onlyweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/durationDurationMax/duration_and_durationMaxweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/durationDurationMax/duration_onlyweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/durationDurationMax/durationMax_onlyweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/event/multiple_itemsweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/event/single_itemweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_and_frequencyMaxweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequency_onlyweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/frequencyFrequencyMax/frequencyMax_onlyweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/maxDosePerAdministrationweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/maxDosePerLifetimeweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r4weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/maxDosePerPeriod/r5weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/methodweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_daysweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_hoursweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/offsetWhen/offset/offset_minutesweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/offsetWhen/when_and_offsetweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/offsetWhen/when/multiple_itemsweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/offsetWhen/when/single_itemweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/patientInstructionweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/periodPeriodMax/period_and_periodMaxweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/periodPeriodMax/period_onlyweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/periodPeriodMax/periodMax_onlyweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/rateQuantityweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/rateRange/high_onlyweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/rateRange/low_and_highweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/rateRange/low_onlyweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/rateRatioweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/routeweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/sequence/concurrent_instructionsweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_1weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/sequence/sequential_instructions_2weekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/siteweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/textweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/timeOfDay/multiple_itemsweekly0.5https://jy95.github.io/fhir-dosage-utils/docs/specs/timeOfDay/single_itemweekly0.5https://jy95.github.io/fhir-dosage-utils/weekly0.5 \ No newline at end of file